broccoli-replace
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"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 [](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. |
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
13855
46
1