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

liferay-npm-build-tools-common

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liferay-npm-build-tools-common - npm Package Compare versions

Comparing version 2.5.0-alpha.05bef2c1 to 2.5.0-alpha.eefe28fb

6

lib/__tests__/imports.test.js

@@ -20,3 +20,4 @@ 'use strict';

'depB': {
'/': '4.0.0'
'/': '4.0.0',
'depC': '5.0.0'
}

@@ -42,3 +43,4 @@ });

'depB': {
'/': '4.0.0'
'/': '4.0.0',
'depC': '5.0.0'
}

@@ -45,0 +47,0 @@ }, true);

@@ -23,10 +23,11 @@ 'use strict';

var version = importsConfig[namespace][pkgName];
var normalizedSpace = namespace;
if (pkgName === '/') {
pkgName = namespace;
namespace = '';
normalizedSpace = '';
}
normalized[namespace] = normalized[namespace] || {};
normalized[namespace][pkgName] = version;
normalized[normalizedSpace] = normalized[normalizedSpace] || {};
normalized[normalizedSpace][pkgName] = version;
});

@@ -33,0 +34,0 @@ });

{
"name": "liferay-npm-build-tools-common",
"version": "2.5.0-alpha.05bef2c1",
"version": "2.5.0-alpha.eefe28fb",
"description": "Utility library for Liferay NPM Build Tools.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -19,2 +19,3 @@ import {normalizeImportsConfig, unrollImportsConfig} from '../imports';

'/': '4.0.0',
'depC': '5.0.0',
},

@@ -42,2 +43,3 @@ });

'/': '4.0.0',
'depC': '5.0.0',
},

@@ -44,0 +46,0 @@ },

@@ -14,10 +14,11 @@ /**

const version = importsConfig[namespace][pkgName];
let normalizedSpace = namespace;
if (pkgName === '/') {
pkgName = namespace;
namespace = '';
normalizedSpace = '';
}
normalized[namespace] = normalized[namespace] || {};
normalized[namespace][pkgName] = version;
normalized[normalizedSpace] = normalized[normalizedSpace] || {};
normalized[normalizedSpace][pkgName] = version;
});

@@ -24,0 +25,0 @@ });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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