Socket
Socket
Sign inDemoInstall

fs-monkey

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

1

lib/patchFs.js

@@ -115,3 +115,2 @@ 'use strict';

return function unpatch() {
console.log(bkp);
for (var key in bkp) {

@@ -118,0 +117,0 @@ fs[key] = bkp[key];

2

package.json

@@ -1,1 +0,1 @@

{"name":"fs-monkey","version":"0.3.0","description":"Monkey patches for file system related things.","main":"lib/index.js","keywords":["fs","file","file system","monkey","fsmonkey","monkeyfs","monkeypatch","patch"],"repository":{"type":"git","url":"https://github.com/streamich/fs-monkey.git"},"scripts":{"build":"babel src --out-dir lib","test":"jest","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"dependencies":{},"devDependencies":{"jest":"21.2.1","babel-jest":"21.2.0","babel-core":"6","babel-cli":"6.24.1","babel-preset-es2015":"6.24.1","source-map-support":"0.4.15","semantic-release":"^8.2.0","@types/jest":"21.1.8","@types/node":"8.0.17"},"jest":{"collectCoverageFrom":["src/**/*.js"],"transform":{"^.+\\.jsx?$":"babel-jest"},"testRegex":".*(__tests__/|/test/unit/).*(test|spec)\\.(t|j)sx?$"}}
{"name":"fs-monkey","version":"0.3.1","description":"Monkey patches for file system related things.","main":"lib/index.js","keywords":["fs","file","file system","monkey","fsmonkey","monkeyfs","monkeypatch","patch"],"repository":{"type":"git","url":"https://github.com/streamich/fs-monkey.git"},"scripts":{"build":"babel src --out-dir lib","test":"jest","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"dependencies":{},"devDependencies":{"jest":"21.2.1","babel-jest":"21.2.0","babel-core":"6","babel-cli":"6.24.1","babel-preset-es2015":"6.24.1","source-map-support":"0.4.15","semantic-release":"^8.2.0","@types/jest":"21.1.8","@types/node":"8.0.17"},"jest":{"collectCoverageFrom":["src/**/*.js"],"transform":{"^.+\\.jsx?$":"babel-jest"},"testRegex":".*(__tests__/|/test/unit/).*(test|spec)\\.(t|j)sx?$"}}

@@ -53,5 +53,4 @@ import {fsProps, fsAsyncMethods, fsSyncMethods} from './util/lists';

return function unpatch () {
console.log(bkp);
for (const key in bkp) fs[key] = bkp[key];
};
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc