Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@jchip/nvm

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jchip/nvm - npm Package Compare versions

Comparing version
1.8.2
to
1.8.3
+41
bin/nvx.cmd
@echo off
setlocal enabledelayedexpansion
REM nvx - Execute commands with local node_modules/.bin in PATH
REM Check for help flag or no arguments
if "%~1"=="" goto :show_error_help
if "%~1"=="--help" goto :show_help
if "%~1"=="-h" goto :show_help
REM Check if .\node_modules\.bin exists
if exist ".\node_modules\.bin" (
REM Add it to PATH for this session
set "PATH=%cd%\node_modules\.bin;%PATH%"
)
REM Execute the command with all arguments
%*
REM Exit with the command's exit code
exit /b %ERRORLEVEL%
:show_error_help
echo Error: nvx requires a command to execute 1>&2
echo.
goto :show_help_content
:show_help
:show_help_content
echo nvx - Execute commands with local node_modules/.bin in PATH
echo.
echo Usage:
echo nvx ^<command^> [args...] Execute command with .\node_modules\.bin in PATH
echo nvx --help, -h Show this help message
echo.
echo Examples:
echo nvx eslint src/ Run eslint from local node_modules
echo nvx prettier --write . Run prettier from local node_modules
if "%~1"=="" exit /b 1
exit /b 0
+1
-1

@@ -6,3 +6,3 @@ param (

$nvmVersion = "1.8.2"
$nvmVersion = "1.8.3"
$nvmVersionV = "v$nvmVersion"

@@ -9,0 +9,0 @@ $DisableInstallNvmFromTgz = $false

#!/usr/bin/env bash
NVM_VERSION="1.8.2"
NVM_VERSION="1.8.3"
NVM_VERSION_V="v${NVM_VERSION}"

@@ -5,0 +5,0 @@

{
"name": "@jchip/nvm",
"description": "nvm: a universal node.js version manager for Windows (no admin) and Unix",
"version": "1.8.2",
"version": "1.8.3",
"author": "Tom.Huang <hzlhu.dargon@gmail.com>",

@@ -6,0 +6,0 @@ "contributors": [

+11
-11

@@ -70,3 +70,3 @@ # @jchip/nvm

cd $Env:USERPROFILE;
Invoke-WebRequest https://raw.githubusercontent.com/jchip/nvm/v1.8.2/install.ps1 -OutFile install.ps1;
Invoke-WebRequest https://raw.githubusercontent.com/jchip/nvm/v1.8.3/install.ps1 -OutFile install.ps1;
.\install.ps1 -nvmhome $Env:USERPROFILE\nvm;

@@ -82,3 +82,3 @@ del install.ps1

cd $Env:USERPROFILE;
Invoke-WebRequest https://unpkg.com/@jchip/nvm@1.8.2/install.ps1 -OutFile install.ps1;
Invoke-WebRequest https://unpkg.com/@jchip/nvm@1.8.3/install.ps1 -OutFile install.ps1;
.\install.ps1 -nvmhome $Env:USERPROFILE\nvm;

@@ -94,3 +94,3 @@ del install.ps1

cd $Env:USERPROFILE;
Invoke-WebRequest https://cdn.jsdelivr.net/npm/@jchip/nvm@1.8.2/install.ps1 -OutFile install.ps1;
Invoke-WebRequest https://cdn.jsdelivr.net/npm/@jchip/nvm@1.8.3/install.ps1 -OutFile install.ps1;
.\install.ps1 -nvmhome $Env:USERPROFILE\nvm;

@@ -140,4 +140,4 @@ del install.ps1

1. Download the package zip file from https://github.com/jchip/nvm/archive/v1.8.2/.zip
1. Extract this file to your home directory. You will get a new directory `nvm-1.8.2`.
1. Download the package zip file from https://github.com/jchip/nvm/archive/v1.8.3/.zip
1. Extract this file to your home directory. You will get a new directory `nvm-1.8.3`.
2. Rename it to `nvm`, for example: `C:\Users\<username>\nvm`

@@ -173,3 +173,3 @@ 2. Download the zipfile https://nodejs.org/dist/v20.12.1/node-v20.12.1-win-x64.zip

```bash
export NVM_HOME=~/nvm; curl -o- https://raw.githubusercontent.com/jchip/nvm/v1.8.2/install.sh | bash
export NVM_HOME=~/nvm; curl -o- https://raw.githubusercontent.com/jchip/nvm/v1.8.3/install.sh | bash
```

@@ -180,3 +180,3 @@

```bash
export NVM_HOME=~/nvm; wget -qO- https://raw.githubusercontent.com/jchip/nvm/v1.8.2/install.sh | bash
export NVM_HOME=~/nvm; wget -qO- https://raw.githubusercontent.com/jchip/nvm/v1.8.3/install.sh | bash
```

@@ -191,3 +191,3 @@

```bash
export NVM_HOME=~/nvm; curl -o- https://unpkg.com/@jchip/nvm@1.8.2/install.sh | bash
export NVM_HOME=~/nvm; curl -o- https://unpkg.com/@jchip/nvm@1.8.3/install.sh | bash
```

@@ -198,3 +198,3 @@

```bash
export NVM_HOME=~/nvm; wget -qO- https://unpkg.com/@jchip/nvm@1.8.2/install.sh | bash
export NVM_HOME=~/nvm; wget -qO- https://unpkg.com/@jchip/nvm@1.8.3/install.sh | bash
```

@@ -209,3 +209,3 @@

```bash
export NVM_HOME=~/nvm; curl -o- https://cdn.jsdelivr.net/npm/@jchip/nvm@1.8.2/install.sh | bash
export NVM_HOME=~/nvm; curl -o- https://cdn.jsdelivr.net/npm/@jchip/nvm@1.8.3/install.sh | bash
```

@@ -216,3 +216,3 @@

```bash
export NVM_HOME=~/nvm; wget -qO- https://cdn.jsdelivr.net/npm/@jchip/nvm@1.8.2/install.sh | bash
export NVM_HOME=~/nvm; wget -qO- https://cdn.jsdelivr.net/npm/@jchip/nvm@1.8.3/install.sh | bash
```

@@ -219,0 +219,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display