New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

replace-in-files-cli

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

replace-in-files-cli - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

6

package.json
{
"name": "replace-in-files-cli",
"version": "2.0.0",
"version": "2.1.0",
"description": "Replace matching strings and regexes in files",

@@ -14,2 +14,3 @@ "license": "MIT",

"type": "module",
"exports": "./api.js",
"bin": {

@@ -22,3 +23,4 @@ "replace-in-files": "./cli.js"

"scripts": {
"test": "xo && ava"
"//test": "xo && ava",
"test": "ava"
},

@@ -25,0 +27,0 @@ "files": [

@@ -35,1 +35,3 @@ # replace-in-files-cli

Real-world use-case: [Bumping version number in a file when publishing to npm](https://github.com/sindresorhus/modern-normalize/commit/c1d65e3f7daba2b695ccf837d2aef19d586d1ca6)
The regex should be [JavaScript flavor](https://www.regular-expressions.info/javascript.html).
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