babel-plugin-wrap-modules-amd
Advanced tools
Comparing version 2.18.3 to 2.18.4
@@ -108,3 +108,7 @@ "use strict"; | ||
log.info('wrap-modules-amd', 'Applied user template to wrap file'); | ||
const buildUserTemplate = babel_template_1.default(fs_1.default.readFileSync(templateFile).toString()); | ||
const buildUserTemplate = babel_template_1.default(` | ||
(function() { | ||
${fs_1.default.readFileSync(templateFile).toString()} | ||
})(); | ||
`); | ||
fs_1.default.unlinkSync(templateFile); | ||
@@ -111,0 +115,0 @@ return buildUserTemplate({ |
{ | ||
"name": "babel-plugin-wrap-modules-amd", | ||
"version": "2.18.3", | ||
"version": "2.18.4", | ||
"description": "A Babel plugin to wrap package modules inside AMD define() calls.", | ||
@@ -13,6 +13,6 @@ "main": "lib/index.js", | ||
"babel-template": "^6.26.0", | ||
"liferay-npm-build-tools-common": "2.18.3", | ||
"liferay-npm-build-tools-common": "2.18.4", | ||
"read-json-sync": "^2.0.1" | ||
}, | ||
"gitHead": "9b40cb4354715c0d3c399f414bcd678785131d46" | ||
"gitHead": "4ccb844bd2c431637a67e28a3ef60353104c9dfa" | ||
} |
@@ -138,5 +138,7 @@ /** | ||
const buildUserTemplate = template( | ||
fs.readFileSync(templateFile).toString() | ||
); | ||
const buildUserTemplate = template(` | ||
(function() { | ||
${fs.readFileSync(templateFile).toString()} | ||
})(); | ||
`); | ||
@@ -143,0 +145,0 @@ fs.unlinkSync(templateFile); |
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
18611
287
+ Addedbabel-plugin-add-module-metadata@2.18.4(transitive)
+ Addedbabel-plugin-alias-modules@2.18.4(transitive)
+ Addedbabel-plugin-name-amd-modules@2.18.4(transitive)
+ Addedbabel-plugin-namespace-amd-define@2.18.4(transitive)
+ Addedbabel-plugin-namespace-modules@2.18.4(transitive)
+ Addedbabel-plugin-normalize-requires@2.18.4(transitive)
+ Addedbabel-preset-liferay-standard@2.18.4(transitive)
+ Addedliferay-npm-build-tools-common@2.18.4(transitive)
+ Addedliferay-npm-bundler-plugin-exclude-imports@2.18.4(transitive)
+ Addedliferay-npm-bundler-plugin-inject-imports-dependencies@2.18.4(transitive)
+ Addedliferay-npm-bundler-plugin-inject-peer-dependencies@2.18.4(transitive)
+ Addedliferay-npm-bundler-plugin-namespace-packages@2.18.4(transitive)
+ Addedliferay-npm-bundler-plugin-replace-browser-modules@2.18.4(transitive)
+ Addedliferay-npm-bundler-plugin-resolve-linked-dependencies@2.18.4(transitive)
+ Addedliferay-npm-bundler-preset-standard@2.18.4(transitive)
- Removedbabel-plugin-add-module-metadata@2.18.3(transitive)
- Removedbabel-plugin-alias-modules@2.18.3(transitive)
- Removedbabel-plugin-name-amd-modules@2.18.3(transitive)
- Removedbabel-plugin-namespace-amd-define@2.18.3(transitive)
- Removedbabel-plugin-namespace-modules@2.18.3(transitive)
- Removedbabel-plugin-normalize-requires@2.18.3(transitive)
- Removedbabel-preset-liferay-standard@2.18.3(transitive)
- Removedliferay-npm-build-tools-common@2.18.3(transitive)
- Removedliferay-npm-bundler-plugin-exclude-imports@2.18.3(transitive)
- Removedliferay-npm-bundler-plugin-inject-imports-dependencies@2.18.3(transitive)
- Removedliferay-npm-bundler-plugin-inject-peer-dependencies@2.18.3(transitive)
- Removedliferay-npm-bundler-plugin-namespace-packages@2.18.3(transitive)
- Removedliferay-npm-bundler-plugin-replace-browser-modules@2.18.3(transitive)
- Removedliferay-npm-bundler-plugin-resolve-linked-dependencies@2.18.3(transitive)
- Removedliferay-npm-bundler-preset-standard@2.18.3(transitive)