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

module-lookup-amd

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

module-lookup-amd - npm Package Compare versions

Comparing version 8.0.5 to 9.0.0

2

bin/cli.js

@@ -5,3 +5,3 @@ #!/usr/bin/env node

const program = require('commander');
const { program } = require('commander');
const lookup = require('../index.js');

@@ -8,0 +8,0 @@ const { name, description, version } = require('../package.json');

@@ -71,3 +71,3 @@ 'use strict';

debug('baseUrl with a leading slash detected');
resolutionDirectory = resolutionDirectory.replace(/\\/g, '/').replace(config.baseUrl, '');
resolutionDirectory = resolutionDirectory.replaceAll('\\', '/').replace(config.baseUrl, '');
debug(`new resolution directory: ${resolutionDirectory}`);

@@ -77,3 +77,3 @@ }

if (normalizedModuleId[0] === '/') {
normalizedModuleId = normalizedModuleId.replace(/^\/+/g, '');
normalizedModuleId = normalizedModuleId.replaceAll(/^\/+/g, '');
}

@@ -80,0 +80,0 @@

{
"name": "module-lookup-amd",
"version": "8.0.5",
"version": "9.0.0",
"description": "Resolve aliased dependency paths using a RequireJS config",

@@ -40,3 +40,3 @@ "main": "index.js",

"dependencies": {
"commander": "^10.0.1",
"commander": "^12.0.0",
"glob": "^7.2.3",

@@ -47,5 +47,5 @@ "requirejs": "^2.3.6",

"devDependencies": {
"c8": "^7.13.0",
"mocha": "^10.2.0",
"xo": "^0.54.2"
"c8": "^9.1.0",
"mocha": "^10.4.0",
"xo": "^0.58.0"
},

@@ -52,0 +52,0 @@ "xo": {

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