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

module-lens

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

module-lens - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

5

bld/library/resolve.js

@@ -7,3 +7,4 @@ "use strict";

const _utils_1 = require("./@utils");
const BUILT_IN_MODULE_NAME_SET = new Set(module_1.default.builtinModules || Object.keys(process.binding('natives')));
const BUILT_IN_MODULE_NAME_SET = new Set(module_1.default.builtinModules ||
/* istanbul ignore next */ Object.keys(process.binding('natives')));
function resolveWithCategory(specifier, { sourceFileName, baseUrlDirName, extensions = ['.js', '.jsx', '.ts', '.tsx'], }) {

@@ -16,3 +17,3 @@ if (isNodeBuiltIn(specifier)) {

}
if (/^\//.test(specifier)) {
if (Path.isAbsolute(specifier)) {
return {

@@ -19,0 +20,0 @@ category: 'absolute',

2

package.json
{
"name": "module-lens",
"version": "0.1.3",
"version": "0.1.4",
"description": "Simple module specifier utilities.",

@@ -5,0 +5,0 @@ "license": "MIT",

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