replace-in-file
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -1,4 +0,4 @@ | ||
# 4.0.0 | ||
## 4.0.0 | ||
## Breaking changes | ||
### Breaking changes | ||
The return value is now a results array instead of an array with changed files. The new results array includes each file that was processed, with a flag to indicate whether or not the file was changed, and optionally information about the number of matches and replacements that were made. See the readme for more details. | ||
@@ -15,3 +15,3 @@ | ||
## New features | ||
### New features | ||
- Added `countMatches` flag to count the number of matches and replacements per file [#38](https://github.com/adamreisnz/replace-in-file/issues/38), [#42](https://github.com/adamreisnz/replace-in-file/issues/42), [#61](https://github.com/adamreisnz/replace-in-file/issues/61) | ||
@@ -21,5 +21,5 @@ - Added `--quiet` flag for CLI to suppress success output [#63](https://github.com/adamreisnz/replace-in-file/issues/63) | ||
# 3.0.0 | ||
## 3.0.0 | ||
## Breaking changes | ||
### Breaking changes | ||
From version 3.0.0 onwards, replace in file requires Node 6 or higher. If you need support for Node 4 or 5, please use version 2.x.x. |
{ | ||
"name": "replace-in-file", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "A simple utility to quickly replace text in one or more files.", | ||
@@ -27,2 +27,3 @@ "homepage": "https://github.com/adamreisnz/replace-in-file#readme", | ||
"bin": "./bin/cli.js", | ||
"types": "./types/index.d.ts", | ||
"scripts": { | ||
@@ -29,0 +30,0 @@ "istanbul": "babel-node ./node_modules/istanbul/lib/cli cover ./node_modules/mocha/bin/_mocha lib/**/*.spec.js", |
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
162271
28
1593