Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@yao-pkg/pkg

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yao-pkg/pkg - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

2

package.json
{
"name": "@yao-pkg/pkg",
"version": "6.1.0",
"version": "6.1.1",
"description": "Package your Node.js project into an executable",

@@ -5,0 +5,0 @@ "main": "lib-es5/index.js",

@@ -83,3 +83,3 @@ /* eslint-disable global-require */

function wrap(obj, name) {
const f = fs[name];
const f = obj[name];
obj[name] = (...args) => {

@@ -115,2 +115,3 @@ const args1 = Object.values(args);

wrap(fs, 'read');
wrap(fs, 'readFile');
wrap(fs, 'writeSync');

@@ -136,4 +137,16 @@ wrap(fs, 'write');

wrap(fs, 'access');
wrap(fs.promises, 'open');
wrap(fs.promises, 'read');
wrap(fs.promises, 'readFile');
wrap(fs.promises, 'write');
wrap(fs.promises, 'readdir');
wrap(fs.promises, 'realpath');
wrap(fs.promises, 'stat');
wrap(fs.promises, 'lstat');
wrap(fs.promises, 'fstat');
wrap(fs.promises, 'access');
wrap(fs.promises, 'copyFile');
}
}
})();

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc