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

copypack

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copypack - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

dist/cli.js

@@ -31,3 +31,3 @@ #!/usr/bin/env node

}
run(resolve(source), resolve(target), matchers);
run(resolve(source), resolve(target), matchers, forceCopy);
if (watchMode) {

@@ -34,0 +34,0 @@ watch(resolve(source), resolve(target), matchers);

@@ -49,3 +49,10 @@ import ts from "typescript";

reportPackageDependencyChanges(targetPackageJsonPath, pkg);
fs.rmSync(targetPackagePath, { recursive: true });
try {
fs.rmSync(targetPackagePath, { recursive: true });
}
catch (e) {
if (!forceCopy) {
throw e;
}
}
fs.mkdirSync(targetPackagePath, { recursive: true });

@@ -52,0 +59,0 @@ fs.cpSync(currentPackageDirPath, targetPackagePath, {

{
"name": "copypack",
"version": "1.1.0",
"version": "1.1.1",
"description": "like links but copies",

@@ -5,0 +5,0 @@ "type": "module",

@@ -50,3 +50,3 @@ #!/usr/bin/env node

run(resolve(source), resolve(target), matchers);
run(resolve(source), resolve(target), matchers, forceCopy);

@@ -53,0 +53,0 @@ if (watchMode) {

@@ -77,3 +77,9 @@ import ts from "typescript";

reportPackageDependencyChanges(targetPackageJsonPath, pkg);
fs.rmSync(targetPackagePath, { recursive: true });
try {
fs.rmSync(targetPackagePath, { recursive: true });
} catch (e) {
if (!forceCopy) {
throw e;
}
}
fs.mkdirSync(targetPackagePath, { recursive: true });

@@ -80,0 +86,0 @@ fs.cpSync(currentPackageDirPath, targetPackagePath, {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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