Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-sed

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-sed - npm Package Compare versions

Comparing version 0.0.0 to 0.1.0

README.md

14

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc