broccoli-replace
Advanced tools
Comparing version 0.10.1 to 0.11.0
{ | ||
"name": "broccoli-replace", | ||
"description": "Replace text patterns with applause.", | ||
"version": "0.10.1", | ||
"version": "0.11.0", | ||
"author": { | ||
@@ -21,3 +21,3 @@ "name": "outaTiME", | ||
"minimatch": "^2.0.0", | ||
"applause": "1.0.4" | ||
"applause": "1.1.0" | ||
}, | ||
@@ -24,0 +24,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
# broccoli-replace [](https://travis-ci.org/outaTiME/broccoli-replace) [](http://badge.fury.io/js/broccoli-replace) | ||
# broccoli-replace [](https://travis-ci.org/outaTiME/broccoli-replace) [](https://npmjs.org/package/broccoli-replace) | ||
@@ -100,4 +100,7 @@ > Replace text patterns with [applause](https://github.com/outaTiME/applause). | ||
> The replacement only resolve the [special replacement patterns] when using regexp for matching. | ||
[String.replace]: http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace | ||
[JSON.stringify]: http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify | ||
[special replacement patterns]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#Specifying_a_string_as_a_parameter | ||
@@ -107,3 +110,3 @@ #### patterns.json | ||
If an attribute `json` found in pattern definition we flatten the object using `delimiter` concatenation and each key–value pair will be used for the replacement (simple variable lookup mechanism and no regexp support). | ||
If an attribute `json` is found in pattern definition we flatten the object using `delimiter` concatenation and each key–value pair will be used for the replacement (simple variable lookup mechanism and no regexp support). | ||
@@ -158,3 +161,3 @@ ```javascript | ||
If an attribute `yaml` found in pattern definition will be converted and then processed like [json attribute](#patternsjson). | ||
If an attribute `yaml` found in pattern definition it will be converted and then processed like [json attribute](#patternsjson). | ||
@@ -188,3 +191,3 @@ ```javascript | ||
If an attribute `cson` found in pattern definition will be converted and then processed like [json attribute](#patternsjson). | ||
If an attribute `cson` is found in pattern definition it will be converted and then processed like [json attribute](#patternsjson). | ||
@@ -240,3 +243,3 @@ ```javascript | ||
If set to `false`, we match the pattern without `prefix` concatenation (useful when you want to lookup an simple string). | ||
If set to `false`, we match the pattern without `prefix` concatenation (useful when you want to lookup a simple string). | ||
@@ -251,3 +254,3 @@ > This only applies for simple variable lookup mechanism. | ||
> This only applies for simple variable lookup mechanism and `patterns.replacement` is an string. | ||
> This only applies for simple variable lookup mechanism and when `patterns.replacement` is a string. | ||
@@ -270,3 +273,3 @@ #### delimiter | ||
If set to `true`, return a object response with the `content` and `detail` of replace operation. | ||
If set to `true`, return an object response with the `content` and `detail` of replace operation. | ||
@@ -507,2 +510,3 @@ | ||
* 2015-09-09 v0.11.0 Improvements in handling patterns. Fix plain object representation issue. More test cases. | ||
* 2015-08-19 v0.10.0 Last [applause](https://github.com/outaTiME/applause) integration and package.json update. | ||
@@ -509,0 +513,0 @@ * 2015-08-06 v0.3.3 Fix issue with special characters attributes ($$, $&, $`, $', $n or $nn) on JSON, YAML and CSON. |
13496
523
+ Addedapplause@1.1.0(transitive)
- Removedapplause@1.0.4(transitive)
Updatedapplause@1.1.0