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

@zkochan/cmd-shim

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zkochan/cmd-shim - npm Package Compare versions

Comparing version 5.2.1 to 5.2.2

0

index.d.ts

@@ -0,0 +0,0 @@ declare namespace cmdShim {

14

index.js

@@ -310,3 +310,3 @@ 'use strict';

`;
if (opts.nodePath) {
if (shNodePath) {
sh += `\

@@ -404,3 +404,3 @@ if [ -z "$NODE_PATH" ]; then

$exe=""
${opts.nodePath ? `\
${nodePath ? `\
$pathsep=":"

@@ -414,5 +414,5 @@ $env_node_path=$env:NODE_PATH

$exe=".exe"
${opts.nodePath ? ' $pathsep=";"\n' : ''}\
${nodePath ? ' $pathsep=";"\n' : ''}\
}`;
if (opts.nodePath) {
if (shNodePath) {
pwsh += `\

@@ -449,3 +449,3 @@ else {

}
${opts.nodePath ? '$env:NODE_PATH=$env_node_path\n' : ''}\
${nodePath ? '$env:NODE_PATH=$env_node_path\n' : ''}\
exit $ret

@@ -462,3 +462,3 @@ `;

}
${opts.nodePath ? '$env:NODE_PATH=$env_node_path\n' : ''}\
${nodePath ? '$env:NODE_PATH=$env_node_path\n' : ''}\
exit $LASTEXITCODE

@@ -478,3 +478,3 @@ `;

function normalizePathEnvVar(nodePath) {
if (!nodePath) {
if (!nodePath || !nodePath.length) {
return {

@@ -481,0 +481,0 @@ win32: '',

{
"name": "@zkochan/cmd-shim",
"version": "5.2.1",
"version": "5.2.2",
"description": "Used in pnpm for command line application support",

@@ -5,0 +5,0 @@ "author": {

@@ -0,0 +0,0 @@ # @zkochan/cmd-shim

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