commit node_modules and generated files
This commit is contained in:
parent
6d7a135fea
commit
34b372292b
3379 changed files with 449603 additions and 2029 deletions
12
node_modules/pbkdf2/lib/default-encoding.js
generated
vendored
Normal file
12
node_modules/pbkdf2/lib/default-encoding.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
var defaultEncoding
|
||||
/* istanbul ignore next */
|
||||
if (process.browser) {
|
||||
defaultEncoding = 'utf-8'
|
||||
} else if (process.version) {
|
||||
var pVersionMajor = parseInt(process.version.split('.')[0].slice(1), 10)
|
||||
|
||||
defaultEncoding = pVersionMajor >= 6 ? 'utf-8' : 'binary'
|
||||
} else {
|
||||
defaultEncoding = 'utf-8'
|
||||
}
|
||||
module.exports = defaultEncoding
|
||||
Loading…
Add table
Add a link
Reference in a new issue