graceful-fs
Advanced tools
Comparing version 3.0.2 to 3.0.3
14
fs.js
@@ -1,11 +0,5 @@ | ||
// eeeeeevvvvviiiiiiillllll | ||
// more evil than monkey-patching the native builtin? | ||
// Not sure. | ||
// extend the builtin so that our monkeypatchery doesn't | ||
// muck with things not using graceful-fs | ||
var mod = require("module") | ||
var pre = '(function (exports, require, module, __filename, __dirname) { ' | ||
var post = '});' | ||
var src = pre + process.binding('natives').fs + post | ||
var vm = require('vm') | ||
var fn = vm.runInThisContext(src) | ||
return fn(exports, require, module, __filename, __dirname) | ||
var util = require('util') | ||
module.exports = util._extend({}, require('fs')) |
@@ -5,3 +5,3 @@ { | ||
"description": "A drop-in replacement for fs, making various improvements.", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -17,3 +17,2 @@ var test = require("tap").test | ||
throw er | ||
console.error(files) | ||
t.same(files, [ "a", "b", "z" ]) | ||
@@ -20,0 +19,0 @@ t.end() |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 2 instances in 1 package
14755
10
427