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

liferay-npm-bundler-plugin-inject-imports-dependencies

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liferay-npm-bundler-plugin-inject-imports-dependencies - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

lib/index.js

@@ -16,2 +16,4 @@ 'use strict';

imports = (0, _imports.normalizeImportsConfig)(imports);
pkgJson.dependencies = pkgJson.dependencies || {};

@@ -41,3 +43,5 @@

var _imports = require('liferay-npm-build-tools-common/lib/imports');
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
//# sourceMappingURL=index.js.map

4

package.json
{
"name": "liferay-npm-bundler-plugin-inject-imports-dependencies",
"version": "2.0.0",
"version": "2.0.1",
"description": "A liferay-npm-bundler plugin to force injection of declared imports as dependencies.",

@@ -15,4 +15,4 @@ "main": "lib/index.js",

"dependencies": {
"liferay-npm-build-tools-common": "2.0.0"
"liferay-npm-build-tools-common": "2.0.1"
}
}
import * as ns from 'liferay-npm-build-tools-common/lib/namespace';
import {normalizeImportsConfig} from 'liferay-npm-build-tools-common/lib/imports';

@@ -10,4 +11,6 @@ /**

) {
const imports = config.imports || globalConfig.imports || {};
let imports = config.imports || globalConfig.imports || {};
imports = normalizeImportsConfig(imports);
pkgJson.dependencies = pkgJson.dependencies || {};

@@ -14,0 +17,0 @@

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