babel-plugin-wrap-modules-amd
Advanced tools
Comparing version 2.28.2 to 2.28.3
@@ -103,3 +103,3 @@ "use strict"; | ||
'module', 'exports', 'require' | ||
${dependencies.length > 0 ? ',' : ''} | ||
${dependencies.length ? ',' : ''} | ||
${dependencies.join()} | ||
@@ -116,3 +116,3 @@ ]`); | ||
node.body = defineNode; | ||
if (dependencies.length === 0) { | ||
if (!dependencies.length) { | ||
log.info('wrap-modules-amd', 'No dependencies detected'); | ||
@@ -119,0 +119,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"babel-template": "^6.26.0", | ||
"liferay-npm-build-tools-common": "2.28.2", | ||
"liferay-npm-build-tools-common": "2.28.3", | ||
"read-json-sync": "^2.0.1" | ||
@@ -22,3 +22,4 @@ }, | ||
}, | ||
"version": "2.28.2" | ||
"version": "2.28.3", | ||
"gitHead": "2461499e910efc1e17557d68cfa096191524bae2" | ||
} |
@@ -116,3 +116,3 @@ /** | ||
'module', 'exports', 'require' | ||
${dependencies.length > 0 ? ',' : ''} | ||
${dependencies.length ? ',' : ''} | ||
${dependencies.join()} | ||
@@ -138,3 +138,3 @@ ]`); | ||
if (dependencies.length === 0) { | ||
if (!dependencies.length) { | ||
log.info( | ||
@@ -141,0 +141,0 @@ 'wrap-modules-amd', |
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
13146
6511
+ Addedbabel-plugin-add-module-metadata@2.28.3(transitive)
+ Addedbabel-plugin-alias-modules@2.28.3(transitive)
+ Addedbabel-plugin-name-amd-modules@2.28.3(transitive)
+ Addedbabel-plugin-namespace-amd-define@2.28.3(transitive)
+ Addedbabel-plugin-namespace-modules@2.28.3(transitive)
+ Addedbabel-plugin-normalize-requires@2.28.3(transitive)
+ Addedbabel-preset-liferay-standard@2.28.3(transitive)
+ Addedliferay-npm-build-tools-common@2.28.3(transitive)
+ Addedliferay-npm-bundler-plugin-exclude-imports@2.28.3(transitive)
+ Addedliferay-npm-bundler-plugin-inject-imports-dependencies@2.28.3(transitive)
+ Addedliferay-npm-bundler-plugin-inject-peer-dependencies@2.28.3(transitive)
+ Addedliferay-npm-bundler-plugin-namespace-packages@2.28.3(transitive)
+ Addedliferay-npm-bundler-plugin-replace-browser-modules@2.28.3(transitive)
+ Addedliferay-npm-bundler-plugin-resolve-linked-dependencies@2.28.3(transitive)
+ Addedliferay-npm-bundler-preset-standard@2.28.3(transitive)
- Removedbabel-plugin-add-module-metadata@2.28.2(transitive)
- Removedbabel-plugin-alias-modules@2.28.2(transitive)
- Removedbabel-plugin-name-amd-modules@2.28.2(transitive)
- Removedbabel-plugin-namespace-amd-define@2.28.2(transitive)
- Removedbabel-plugin-namespace-modules@2.28.2(transitive)
- Removedbabel-plugin-normalize-requires@2.28.2(transitive)
- Removedbabel-preset-liferay-standard@2.28.2(transitive)
- Removedliferay-npm-build-tools-common@2.28.2(transitive)
- Removedliferay-npm-bundler-plugin-exclude-imports@2.28.2(transitive)
- Removedliferay-npm-bundler-plugin-inject-imports-dependencies@2.28.2(transitive)
- Removedliferay-npm-bundler-plugin-inject-peer-dependencies@2.28.2(transitive)
- Removedliferay-npm-bundler-plugin-namespace-packages@2.28.2(transitive)
- Removedliferay-npm-bundler-plugin-replace-browser-modules@2.28.2(transitive)
- Removedliferay-npm-bundler-plugin-resolve-linked-dependencies@2.28.2(transitive)
- Removedliferay-npm-bundler-preset-standard@2.28.2(transitive)