Socket
Socket
Sign inDemoInstall

is-core-module

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

index.js

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

var modules = require('./lib/modules.json');
var modules = Object.keys(process.binding('natives'));

@@ -3,0 +3,0 @@ module.exports = function(packageName) {

{
"name": "is-core-module",
"version": "1.0.0",
"version": "1.0.1",
"description": "check if packageName is a core module",

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

@@ -7,4 +7,5 @@ # is-core-module

module list pulled from [nodejs repo](https://github.com/joyent/node/tree/master/lib)
Look at the source, you probably just want to use that function.
# Usage

@@ -11,0 +12,0 @@

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