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

@akryum/cpx

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@akryum/cpx - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

8

lib/utils/watcher.js

@@ -392,5 +392,7 @@ /**

const sourceContent = fs.readFileSync(sourcePath)
const outputContent = fs.readFileSync(outputPath)
if (Buffer.compare(sourceContent, outputContent) === 0) {
return
if (fs.existsSync(outputPath)) {
const outputContent = fs.readFileSync(outputPath)
if (Buffer.compare(sourceContent, outputContent) === 0) {
return
}
}

@@ -397,0 +399,0 @@

{
"name": "@akryum/cpx",
"version": "1.5.1",
"version": "1.5.2",
"description": "Copy file globs, watching for changes.",

@@ -5,0 +5,0 @@ "engines": {

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