New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

natives

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

natives - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

19

index.js

@@ -82,2 +82,21 @@ var natives = process.binding('natives')

}
if (id === 'internal/bootstrap/loaders') {
// Provide just enough to keep `graceful-fs@3` working and tests passing.
// For now.
return {
internalBinding: function(name) {
if (name === 'types') {
return process.binding('util');
} else {
return {};
}
},
NativeModule: {
_source: process.binding('natives'),
nonInternalExists: function(id) {
return !id.startsWith('internal/');
}
}
};
}
return req_(id, cache)

@@ -84,0 +103,0 @@ }

2

package.json
{
"name": "natives",
"version": "1.1.1",
"version": "1.1.2",
"description": "Do stuff with Node.js's native JavaScript modules",

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

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