Socket
Socket
Sign inDemoInstall

resolve

Package Overview
Dependencies
Maintainers
0
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

test/core.js

9

index.js

@@ -6,7 +6,10 @@ var fs = require('fs');

var core = [ 'assert', 'buffer', 'child_process', 'crypto', 'dgram', 'dns',
'events', 'fs', 'http', 'https', 'net', 'os', 'path', 'querystring', 'repl',
'stream', 'sys', 'tls', 'tty', 'url', 'util', 'vm'
var core = exports.core = [
'assert', 'buffer', 'child_process', 'crypto', 'dgram', 'dns', 'events',
'fs', 'http', 'https', 'net', 'os', 'path', 'querystring', 'repl', 'stream',
'sys', 'tls', 'tty', 'url', 'util', 'vm'
].reduce(function (acc, x) { acc[x] = true; return acc }, {});
exports.isCore = function (x) { return core[x] };
exports.sync = function (x, opts) {

@@ -13,0 +16,0 @@ if (core[x]) return x;

{
"name" : "resolve",
"description" : "A more hookable require.resolve() implementation",
"version" : "0.0.0",
"version" : "0.0.1",
"repository" : {

@@ -6,0 +6,0 @@ "type" : "git",

Sorry, the diff of this file is not supported yet

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