Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

replace-in-file

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

replace-in-file - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

types/index.d.ts

10

CHANGELOG.md

@@ -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",

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