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

rapid-replace

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rapid-replace - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

6

lib/rapid-replace.js

@@ -65,5 +65,7 @@

// fs.renameSync();
// 删除文件
// 删除原文件
fs.unlinkSync(originFile);
fs.rename(newFile, originFile);
// 复制新文件
fs.createReadStream(newFile).pipe(fs.createWriteStream(originFile));
// fs.rename(newFile, originFile);
console.log('文件替换完成:',newFile, originFile);

@@ -70,0 +72,0 @@ }

{
"name": "rapid-replace",
"version": "0.0.23",
"version": "0.0.24",
"description": "repid replace node modules file",

@@ -5,0 +5,0 @@ "main": "index.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