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.0.2 to 1.0.3

2

dist/copypack.d.ts
#!/usr/bin/env node
export declare function run(context: string, relativeProjectPath: string, sourcePackages: string[]): void;
export declare function run(context: string, relativeProjectPath: string, sourcePackagesFilter: string[]): void;
//# sourceMappingURL=copypack.d.ts.map

@@ -5,6 +5,9 @@ #!/usr/bin/env node

import path from "node:path";
export function run(context, relativeProjectPath, sourcePackages) {
export function run(context, relativeProjectPath, sourcePackagesFilter) {
const targetProjectPath = path.join(context, relativeProjectPath);
const targetNodeModulesPath = validateProjectNoduleModules(targetProjectPath);
const packageJsonPaths = ts.sys.readDirectory(context, undefined, undefined, sourcePackages);
const packageJsonPaths = ts.sys.readDirectory(context, undefined, undefined, sourcePackagesFilter);
if (packageJsonPaths.length === 0) {
throw new Error(`No package.json files found for the given pattern [${sourcePackagesFilter}]`);
}
for (const filePath of packageJsonPaths) {

@@ -11,0 +14,0 @@ try {

{
"name": "copypack",
"version": "1.0.2",
"version": "1.0.3",
"description": "like links but copies",

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

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