Socket
Socket
Sign inDemoInstall

safe-execa

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

safe-execa - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

4

lib/index.js

@@ -18,2 +18,4 @@ "use strict";

var _a, _b;
if (file.includes('\\') || file.includes('/'))
return file;
const path = (_b = (_a = options === null || options === void 0 ? void 0 : options.env) === null || _a === void 0 ? void 0 : _a[path_name_1.default]) !== null && _b !== void 0 ? _b : process.env[path_name_1.default];

@@ -38,2 +40,4 @@ const key = JSON.stringify([path, file]);

var _a, _b;
if (file.includes('\\') || file.includes('/'))
return file;
const path = (_b = (_a = options === null || options === void 0 ? void 0 : options.env) === null || _a === void 0 ? void 0 : _a[path_name_1.default]) !== null && _b !== void 0 ? _b : process.env[path_name_1.default];

@@ -40,0 +44,0 @@ const key = JSON.stringify([path, file]);

2

package.json
{
"name": "safe-execa",
"version": "0.0.1",
"version": "0.1.0",
"description": "Like execa but prevents binary planting attacks on Windows",

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

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