Comparing version 2.0.1 to 2.0.2
@@ -0,1 +1,8 @@ | ||
## 15 June 2018 | ||
### 2.0.2 | ||
- [doc] use [`documentary`](https://npmjs.org/package/documentary) to generate TOC. | ||
- [doc] better JSDoc for methods. | ||
## 2.0.1 (9 May 2018) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "restream", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Regular Expression Detection & Replacement streams", | ||
"main": "build", | ||
"scripts": { | ||
"test": "zoroaster test/spec --babel", | ||
"test": "zoroaster test/spec -b", | ||
"t": "zoroaster --babel", | ||
"build": "babel src --out-dir build", | ||
"e": "node examples/run", | ||
"doc": "doc -t README-source.md -r -o README.md", | ||
"examples/replace-function.js": "yarn e examples/replace-function", | ||
@@ -40,13 +41,14 @@ "examples/replace-stream.js": "yarn e examples/replace-stream", | ||
"devDependencies": { | ||
"@babel/cli": "7.0.0-beta.46", | ||
"@babel/core": "7.0.0-beta.46", | ||
"@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.46", | ||
"@babel/plugin-transform-modules-commonjs": "7.0.0-beta.46", | ||
"@babel/register": "7.0.0-beta.46", | ||
"@babel/cli": "7.0.0-beta.51", | ||
"@babel/core": "7.0.0-beta.51", | ||
"@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.51", | ||
"@babel/plugin-transform-modules-commonjs": "7.0.0-beta.51", | ||
"@babel/register": "7.0.0-beta.51", | ||
"catchment": "2.0.1", | ||
"snapshot-context": "1.1.0", | ||
"spawncommand": "1.1.0", | ||
"zoroaster": "1.1.0" | ||
"documentary": "1.0.1", | ||
"snapshot-context": "2.0.1", | ||
"spawncommand": "2.0.1", | ||
"zoroaster": "2.1.0" | ||
}, | ||
"dependencies": {} | ||
} |
@@ -15,4 +15,11 @@ # restream | ||
## restream(regex: RegExp) => Transform | ||
## Table of Contents | ||
- [Table of Contents](#table-of-contents) | ||
- [`restream(regex: RegExp) => Transform`](#restreamregex-regexp--transform) | ||
- [`replaceStream({re:RegExp, replacement:string }[]) => Transform`](#replacestreamreregexp-replacementstring---transform) | ||
- [`replaceStream({re:RegExp, replacement: function(match, ...params) }[]) => Transform`](#replacestreamreregexp-replacement-functionmatch-params---transform) | ||
## `restream(regex: RegExp) => Transform` | ||
Create a transform stream which will buffer incoming data and push regex results | ||
@@ -57,3 +64,3 @@ when matches can be made, i.e. when `regex.exec` returns non-null value. You will probably want to | ||
## replaceStream({re:RegExp, replacement:string }[]) => Transform | ||
## `replaceStream({re:RegExp, replacement:string }[]) => Transform` | ||
@@ -104,3 +111,3 @@ Creates a `Transform` stream which will make data available | ||
## replaceStream({re:RegExp, replacement: function(match, ...params) }[]) => Transform | ||
## `replaceStream({re:RegExp, replacement: function(match, ...params) }[]) => Transform` | ||
@@ -107,0 +114,0 @@ You can replace matches using a function. See [MDN][2] for more documentation. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13610
3285
7
153
10