Comparing version 0.0.0 to 0.1.0
{ | ||
"name": "grunt-sed", | ||
"description": "Grunt task for search and replace.", | ||
"version": "0.0.0", | ||
"version": "0.1.0", | ||
"homepage": "https://github.com/jharding/grunt-sed", | ||
@@ -26,8 +26,14 @@ "author": { | ||
}, | ||
"scripts": { | ||
"test": "/usr/bin/env node test/test.js" | ||
}, | ||
"dependencies": { | ||
"replace": "~0.2" | ||
"replace": "git://github.com/jharding/replace.git#support-regex-values-for-regex" | ||
}, | ||
"peerDependencies": { | ||
"grunt": "~0.4" | ||
}, | ||
"devDependencies": { | ||
"grunt": "0.4.0rc7", | ||
"grunt-contrib-jshint": "0.1.1rc6" | ||
"grunt": "~0.4", | ||
"grunt-contrib-jshint": "~0.1" | ||
}, | ||
@@ -34,0 +40,0 @@ "keywords": [ |
@@ -15,4 +15,4 @@ // grunt-sed | ||
if (!data.regex) { | ||
log.error('Missing regex property.'); | ||
if (!data.pattern) { | ||
log.error('Missing pattern property.'); | ||
return; | ||
@@ -29,11 +29,6 @@ } | ||
replace({ | ||
regex: data.regex | ||
regex: data.pattern | ||
, replacement: data.replacement | ||
, path: _.isArray(data.path) ? data.path : [data.path] | ||
, recursive: data.recursive | ||
, preview: data.preview | ||
, ignoreCase: data.ignoreCase | ||
, multiline: _.isUndefined(data.multiline) ? true : data.multiline | ||
, include: data.include | ||
, exclude: data.exclude | ||
, quiet: grunt.option('verbose') ? false : true | ||
@@ -40,0 +35,0 @@ , silent: false |
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
6814
9
102
1
89
2
1
2
+ Addedabbrev@1.1.1(transitive)
+ Addedargparse@0.1.16(transitive)
+ Addedasync@0.1.22(transitive)
+ Addedcoffee-script@1.3.3(transitive)
+ Addedcolors@0.6.2(transitive)
+ Addeddateformat@1.0.2-1.2.3(transitive)
+ Addedesprima@1.0.4(transitive)
+ Addedeventemitter2@0.4.14(transitive)
+ Addedexit@0.1.2(transitive)
+ Addedfindup-sync@0.1.3(transitive)
+ Addedgetobject@0.1.0(transitive)
+ Addedglob@3.1.213.2.11(transitive)
+ Addedgraceful-fs@1.2.3(transitive)
+ Addedgrunt@0.4.5(transitive)
+ Addedgrunt-legacy-log@0.1.3(transitive)
+ Addedgrunt-legacy-log-utils@0.1.1(transitive)
+ Addedgrunt-legacy-util@0.2.0(transitive)
+ Addedhooker@0.2.3(transitive)
+ Addediconv-lite@0.2.11(transitive)
+ Addedinherits@1.0.22.0.4(transitive)
+ Addedjs-yaml@2.0.5(transitive)
+ Addedlodash@0.9.22.4.2(transitive)
+ Addedminimatch@0.3.0(transitive)
+ Addednopt@1.0.10(transitive)
+ Addedrimraf@2.2.8(transitive)
+ Addedunderscore@1.7.0(transitive)
+ Addedunderscore.string@2.2.12.3.32.4.0(transitive)
+ Addedwhich@1.0.9(transitive)
- Removedcolors@0.5.1(transitive)
- Removednomnom@1.6.2(transitive)
- Removedreplace@0.2.10(transitive)
- Removedunderscore@1.4.4(transitive)
Updatedreplace@git://github.com/jharding/replace.git#support-regex-values-for-regex