browserify
Advanced tools
Comparing version 13.3.0 to 14.0.0
{ | ||
"name": "browserify", | ||
"version": "13.3.0", | ||
"version": "14.0.0", | ||
"description": "browser-side require() the node way", | ||
@@ -28,3 +28,3 @@ "main": "index.js", | ||
"browserify-zlib": "~0.1.2", | ||
"buffer": "^4.1.0", | ||
"buffer": "^5.0.2", | ||
"cached-path-relative": "^1.0.0", | ||
@@ -31,0 +31,0 @@ "concat-stream": "~1.5.1", |
@@ -12,4 +12,4 @@ var browserify = require('../'); | ||
if (err) return t.fail(err); | ||
vm.runInNewContext(src, { t: t }); | ||
vm.runInNewContext(src, { t: t, Uint8Array: Uint8Array }); | ||
}); | ||
}); |
@@ -29,3 +29,3 @@ var browserify = require('../'); | ||
b.bundle(function (err, src) { | ||
var c = {}; | ||
var c = { Uint8Array: Uint8Array }; | ||
c.self = c; | ||
@@ -32,0 +32,0 @@ vm.runInNewContext(src, c); |
@@ -55,4 +55,4 @@ var browserify = require('../'); | ||
t.equal(src.indexOf('/home'), -1, 'home directory visible'); | ||
vm.runInNewContext(src, { t: t, setTimeout: setTimeout }); | ||
vm.runInNewContext(src, { t: t, setTimeout: setTimeout, Uint8Array: Uint8Array }); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
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
245885
+ Addedbuffer@5.7.1(transitive)
- Removedbuffer@4.9.2(transitive)
Updatedbuffer@^5.0.2