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

@sourcebug/dpdm

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sourcebug/dpdm - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

target/x86_64-apple-darwin/release/dpdm

7

package.json
{
"name": "@sourcebug/dpdm",
"version": "1.0.8",
"version": "1.0.9",
"private": false,

@@ -37,3 +37,3 @@ "description": "Analyze circular dependencies in your JavaScript/TypeScript projects.",

"bin": {
"dpdm": "target/release/dpdm"
"dpdm": "scripts/dpdm.js"
},

@@ -58,4 +58,3 @@ "sideEffects": [

"test": "echo 'Pass'",
"demo": "tsx ./src/bin/dpdm.ts ./example/index.js",
"postinstall": "node scripts/dpdm.js"
"demo": "tsx ./src/bin/dpdm.ts ./example/index.js"
},

@@ -62,0 +61,0 @@ "repository": {

@@ -1,4 +0,4 @@

const fs = require('fs');
const path = require('path');
const os = require('os');
const { spawn } = require('child_process');

@@ -20,17 +20,18 @@ const platform = os.platform();

const sourceDir = path.join(__dirname, '../target', keyStore[key], 'release');
const sourceFile = path.join(sourceDir, 'dpdm');
const targetDir = path.join(__dirname, '../target', 'release');
const targetFile = path.join(
targetDir,
const binFile = path.join(
sourceDir,
platform === 'win32' ? 'dpdm.exe' : 'dpdm',
);
if (!fs.existsSync(targetDir)) {
fs.mkdirSync(targetDir, { recursive: true });
}
fs.copyFile(sourceFile, targetFile, (err) => {
if (err) {
console.error('Copy failed:', err);
}
const args = process.argv.slice(2);
const child = spawn(binFile, args, { stdio: 'inherit' });
child.on('close', (code) => {
process.exit(code);
});
child.on('error', (error) => {
console.error(`Failed to execute ${binFile}: ${error.message}`);
process.exit(1);
});

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

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