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

npx-import

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npx-import - npm Package Compare versions

Comparing version 1.0.4-0 to 1.0.5-0

6

lib/index.js

@@ -129,2 +129,8 @@ import semver from 'semver';

console.log({ paths });
const { stdout: env } = await execaCommand(`node -e 'console.log(JSON.stringify(process.env))`, {
shell: true,
});
console.log({ env });
const { stdout: env2 } = await execaCommand(`node -e 'console.log(JSON.stringify(process.env))`);
console.log({ env2 });
throw new Error(`Failed to find temporary install directory. Looking for paths matching '/.npm/_npx/' in:\n${JSON.stringify(paths)}`);

@@ -131,0 +137,0 @@ }

2

package.json
{
"name": "npx-import",
"version": "1.0.4-0",
"version": "1.0.5-0",
"description": "Runtime dependencies, installed as if by magic ✨",

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

@@ -164,5 +164,15 @@ import semver from 'semver'

if (!tempPath) {
console.log({stdout})
console.log({stderr})
console.log({paths})
console.log({ stdout })
console.log({ stderr })
console.log({ paths })
const { stdout: env } = await execaCommand(
`node -e 'console.log(JSON.stringify(process.env))`,
{
shell: true,
}
)
console.log({ env })
const { stdout: env2 } = await execaCommand(`node -e 'console.log(JSON.stringify(process.env))`)
console.log({ env2 })
throw new Error(

@@ -169,0 +179,0 @@ `Failed to find temporary install directory. Looking for paths matching '/.npm/_npx/' in:\n${JSON.stringify(

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