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

@electron/build-tools

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electron/build-tools - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "@electron/build-tools",
"version": "1.0.1",
"version": "1.0.2",
"description": "A wrapper toolkit for working with Electron.js source code",

@@ -5,0 +5,0 @@ "main": "index.js",

#!/usr/bin/env node
const { existsSync} = require('fs')
const { execSync } = require('child_process');

@@ -16,5 +17,10 @@ const { homedir } = require('os');

// Install build-tools deps.
execSync('yarn install', { stdio: 'inherit', cwd: installPath });
execSync('npx yarn install', { stdio: 'inherit', cwd: installPath });
} catch (err) {
console.error('Failed to install build-tools: ', err);
// Delete cloned repo to prevent retry failure.
if (existsSync(installPath)) {
execSync(`rm -rf ${installPath}`, { stdio: 'inherit' });
}
}

@@ -21,0 +27,0 @@ }

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