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.10.1 to 0.11.0

4

package.json
{
"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 [![Build Status](https://travis-ci.org/outaTiME/broccoli-replace.svg?branch=master)](https://travis-ci.org/outaTiME/broccoli-replace) [![npm version](https://badge.fury.io/js/broccoli-replace.svg)](http://badge.fury.io/js/broccoli-replace)
# broccoli-replace [![Build Status](https://img.shields.io/travis/outaTiME/broccoli-replace.svg)](https://travis-ci.org/outaTiME/broccoli-replace) [![NPM Version](https://img.shields.io/npm/v/broccoli-replace.svg)](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.

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