New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-replace

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-replace - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

index.js

10

package.json
{
"name": "broccoli-replace",
"description": "Replace text patterns using pattern-replace.",
"version": "0.1.2",
"version": "0.1.3",
"homepage": "http://github.com/outaTiME/broccoli-replace",

@@ -28,3 +28,3 @@ "author": {

"release": "scripts/release.sh",
"test": "broccoli build temp && nodeunit test/*.js"
"test": "broccoli build temp && mocha"
},

@@ -38,3 +38,3 @@ "dependencies": {

"broccoli": "~0.1.1",
"nodeunit": "~0.8.0",
"mocha": "*",
"rimraf": "~2.2.6"

@@ -57,7 +57,7 @@ },

],
"main": "filters/index.js",
"main": "index.js",
"files": [
"filters",
"index.js",
"LICENSE-MIT"
]
}

@@ -17,3 +17,3 @@ # broccoli-replace [![Build Status](https://secure.travis-ci.org/outaTiME/broccoli-replace.png?branch=master)](http://travis-ci.org/outaTiME/broccoli-replace)

Assuming installation via NPM, you can use `broccoli-replace` in your brocfile like this:
Assuming installation via NPM, you can use `broccoli-replace` in your broccolifile like this:

@@ -275,3 +275,2 @@ ```javascript

File `src/humans.txt`:

@@ -382,3 +381,3 @@

match: 'include',
replacement: fs.readFileSync('./includes/content.html').toString()
replacement: fs.readFileSync('./includes/content.html', 'utf8')
}

@@ -478,2 +477,3 @@ ]

* 2014-03-21   v0.1.3   Test cases in Mocha, readme updated and code cleanup.
* 2014-03-15   v0.1.2   New [pattern-replace](https://github.com/outaTiME/pattern-replace) modular core for replacements.

@@ -480,0 +480,0 @@ * 2014-02-26   v0.0.4   Fix issue when no replacement found.

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