liferay-npm-bundler-plugin-resolve-linked-dependencies
Advanced tools
Comparing version 2.27.0 to 2.28.0
@@ -17,6 +17,7 @@ "use strict"; | ||
function default_1({ log }, { pkgJson }) { | ||
if (pkgJson.dependencies != null) { | ||
if (pkgJson.dependencies !== null && pkgJson.dependencies !== undefined) { | ||
Object.keys(pkgJson.dependencies).forEach((name) => { | ||
const link = pkgJson.dependencies[name]; | ||
if (semver_1.default.validRange(link) == null) { | ||
if (semver_1.default.validRange(link) === null || | ||
semver_1.default.validRange(link) === undefined) { | ||
const depPkgJsonPath = path_1.default.join('node_modules', name, 'package.json'); | ||
@@ -23,0 +24,0 @@ const depPkgJson = read_json_sync_1.default(depPkgJsonPath); |
{ | ||
"author": "Liferay Frontend Infrastructure Team <pt-frontend-infrastructure@liferay.com>", | ||
"dependencies": { | ||
"liferay-npm-build-tools-common": "2.27.0", | ||
"liferay-npm-build-tools-common": "2.28.0", | ||
"read-json-sync": "^2.0.1", | ||
@@ -21,4 +21,4 @@ "semver": "^6.3.0" | ||
}, | ||
"version": "2.27.0", | ||
"gitHead": "e19c5b4d5fc7c2196cc37a6e31a30afe1d2c3f74" | ||
"version": "2.28.0", | ||
"gitHead": "c511aeac6b153a560c83c0a0f8bee50efaa5a6a3" | ||
} |
@@ -14,7 +14,10 @@ /** | ||
export default function ({log}, {pkgJson}) { | ||
if (pkgJson.dependencies != null) { | ||
if (pkgJson.dependencies !== null && pkgJson.dependencies !== undefined) { | ||
Object.keys(pkgJson.dependencies).forEach((name) => { | ||
const link = pkgJson.dependencies[name]; | ||
if (semver.validRange(link) == null) { | ||
if ( | ||
semver.validRange(link) === null || | ||
semver.validRange(link) === undefined | ||
) { | ||
const depPkgJsonPath = path.join( | ||
@@ -21,0 +24,0 @@ 'node_modules', |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3784
74
+ Addedbabel-plugin-add-module-metadata@2.28.0(transitive)
+ Addedbabel-plugin-alias-modules@2.28.0(transitive)
+ Addedbabel-plugin-name-amd-modules@2.28.0(transitive)
+ Addedbabel-plugin-namespace-amd-define@2.28.0(transitive)
+ Addedbabel-plugin-namespace-modules@2.28.0(transitive)
+ Addedbabel-plugin-normalize-requires@2.28.0(transitive)
+ Addedbabel-plugin-wrap-modules-amd@2.28.0(transitive)
+ Addedbabel-preset-liferay-standard@2.28.0(transitive)
+ Addedliferay-npm-build-tools-common@2.28.0(transitive)
+ Addedliferay-npm-bundler-plugin-exclude-imports@2.28.0(transitive)
+ Addedliferay-npm-bundler-plugin-inject-imports-dependencies@2.28.0(transitive)
+ Addedliferay-npm-bundler-plugin-inject-peer-dependencies@2.28.0(transitive)
+ Addedliferay-npm-bundler-plugin-namespace-packages@2.28.0(transitive)
+ Addedliferay-npm-bundler-plugin-replace-browser-modules@2.28.0(transitive)
+ Addedliferay-npm-bundler-preset-standard@2.28.0(transitive)
- Removedbabel-plugin-add-module-metadata@2.27.0(transitive)
- Removedbabel-plugin-alias-modules@2.27.0(transitive)
- Removedbabel-plugin-name-amd-modules@2.27.0(transitive)
- Removedbabel-plugin-namespace-amd-define@2.27.0(transitive)
- Removedbabel-plugin-namespace-modules@2.27.0(transitive)
- Removedbabel-plugin-normalize-requires@2.27.0(transitive)
- Removedbabel-plugin-wrap-modules-amd@2.27.0(transitive)
- Removedbabel-preset-liferay-standard@2.27.0(transitive)
- Removedliferay-npm-build-tools-common@2.27.0(transitive)
- Removedliferay-npm-bundler-plugin-exclude-imports@2.27.0(transitive)
- Removedliferay-npm-bundler-plugin-inject-imports-dependencies@2.27.0(transitive)
- Removedliferay-npm-bundler-plugin-inject-peer-dependencies@2.27.0(transitive)
- Removedliferay-npm-bundler-plugin-namespace-packages@2.27.0(transitive)
- Removedliferay-npm-bundler-plugin-replace-browser-modules@2.27.0(transitive)
- Removedliferay-npm-bundler-preset-standard@2.27.0(transitive)