gulp-amd-wrap
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -0,1 +1,8 @@ | ||
## [1.0.7](https://github.com/searchfe/gulp-amd-wrap/compare/v1.0.6...v1.0.7) (2019-07-29) | ||
### Bug Fixes | ||
* no elements in parser ([46823b3](https://github.com/searchfe/gulp-amd-wrap/commit/46823b3)) | ||
## [1.0.6](https://github.com/searchfe/gulp-amd-wrap/compare/v1.0.5...v1.0.6) (2019-07-04) | ||
@@ -2,0 +9,0 @@ |
@@ -60,6 +60,6 @@ "use strict"; | ||
}); | ||
if (!_this.isHasObj(node.arguments[1].elements, 'require')) { | ||
if (node.arguments[1] && !_this.isHasObj(node.arguments[1].elements, 'require')) { | ||
node.arguments[1].elements.push({ type: 'Literal', value: 'require' }); | ||
} | ||
if (!_this.isHasObj(node.arguments[2].params, 'require')) { | ||
if (node.arguments[2] && !_this.isHasObj(node.arguments[2].params, 'require')) { | ||
node.arguments[2].params.push({ type: 'Identifier', name: 'require' }); | ||
@@ -66,0 +66,0 @@ } |
{ | ||
"name": "gulp-amd-wrap", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"discription": "gulp-amd-wrap", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
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
595915