fis-postprocessor-jswrapper
Advanced tools
Comparing version
@@ -21,3 +21,3 @@ /* | ||
} else if(type === 'amd') { | ||
if(!/^\s*define\s*\(/.test(content)){ | ||
if(!/(^|[^.])\bdefine\s*\(/.test(content)){ | ||
content = 'define(\'' + file.getId() + '\', function(require, exports, module){ ' + content + ' \r\n});'; | ||
@@ -24,0 +24,0 @@ } |
{ | ||
"name" : "fis-postprocessor-jswrapper", | ||
"description" : "A postprocessor plugin for fis to wrap javascript with closure or amd define.", | ||
"version" : "0.0.10", | ||
"version" : "0.0.11", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3855
0.16%1
Infinity%