native-buffer-browserify
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -0,1 +1,2 @@ | ||
var base64 = require('base64-js') | ||
var TA = require('typedarray') | ||
@@ -362,3 +363,3 @@ | ||
var bytes = buf.slice(start, end) | ||
return require('base64-js').fromByteArray(bytes) | ||
return base64.fromByteArray(bytes) | ||
} | ||
@@ -1094,3 +1095,3 @@ | ||
function base64ToBytes (str) { | ||
return require('base64-js').toByteArray(str) | ||
return base64.toByteArray(str) | ||
} | ||
@@ -1097,0 +1098,0 @@ |
{ | ||
"name": "native-buffer-browserify", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "buffer module compatibility for browserify (backed by ArrayBuffer so its fast!)", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"base64-js": "~0.0.4", | ||
"typedarray": "0.0.3" | ||
"typedarray": "~0.0.5" | ||
}, | ||
@@ -11,0 +11,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
0
57981
1616
+ Addedtypedarray@0.0.7(transitive)
- Removedtypedarray@0.0.3(transitive)
Updatedtypedarray@~0.0.5