New:Socket for Asana Is Now Available.Learn more
Get Started

nypm

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nypm - npm Package Compare versions

Comparing version
0.6.8
to
0.6.9
+1
-1
dist/cli.d.mts

@@ -1,1 +0,1 @@

export { };
export {}

@@ -11,3 +11,3 @@ #!/usr/bin/env node

var name = "nypm";
var version = "0.6.7";
var version = "0.6.8";
var description = "Unified Package Manager for Node.js";

@@ -27,3 +27,4 @@ const packageManagers = [

name: "nub",
command: "nub"
command: "nub",
lockFile: "nub.lock"
},

@@ -163,6 +164,16 @@ {

const xArgs = command !== "npm" && command !== "bun" && command !== "deno" && command !== "aube" && command !== "nub" && options.corepack !== false && await hasCorepack() ? ["corepack", [command, ...args]] : [command, args];
const stdin = process.stdin.isTTY ? "inherit" : "ignore";
const stdio = options.silent ? [
stdin,
"pipe",
"pipe"
] : [
stdin,
"inherit",
"inherit"
];
const { exitCode, stdout, stderr } = await x(xArgs[0], xArgs[1], { nodeOptions: {
cwd: resolve(options.cwd || process.cwd()),
env: options.env,
stdio: options.silent ? "pipe" : "inherit"
stdio
} });

@@ -169,0 +180,0 @@ if (exitCode !== 0) throw new Error(`\`${xArgs.flat().join(" ")}\` failed.${options.silent ? [

@@ -20,3 +20,4 @@ type PackageManagerName = "npm" | "yarn" | "pnpm" | "bun" | "deno" | "aube" | "nub";

global?: boolean;
corepack?: boolean; /** Do not execute actual command */
corepack?: boolean;
/** Do not execute actual command */
dry?: boolean;

@@ -23,0 +24,0 @@ };

@@ -64,6 +64,16 @@ import { createRequire } from "node:module";

const xArgs = command !== "npm" && command !== "bun" && command !== "deno" && command !== "aube" && command !== "nub" && options.corepack !== false && await hasCorepack() ? ["corepack", [command, ...args]] : [command, args];
const stdin = process.stdin.isTTY ? "inherit" : "ignore";
const stdio = options.silent ? [
stdin,
"pipe",
"pipe"
] : [
stdin,
"inherit",
"inherit"
];
const { exitCode, stdout, stderr } = await x(xArgs[0], xArgs[1], { nodeOptions: {
cwd: resolve(options.cwd || process.cwd()),
env: options.env,
stdio: options.silent ? "pipe" : "inherit"
stdio
} });

@@ -175,3 +185,4 @@ if (exitCode !== 0) throw new Error(`\`${xArgs.flat().join(" ")}\` failed.${options.silent ? [

name: "nub",
command: "nub"
command: "nub",
lockFile: "nub.lock"
},

@@ -288,3 +299,3 @@ {

}),
options.dev ? options.short ? "-D" : packageManager === "aube" || packageManager === "nub" ? "--save-dev" : "--dev" : "",
options.dev ? options.short ? "-D" : packageManager === "npm" || packageManager === "pnpm" || packageManager === "aube" || packageManager === "nub" ? "--save-dev" : "--dev" : "",
options.global ? "-g" : "",

@@ -291,0 +302,0 @@ ...names

{
"name": "nypm",
"version": "0.6.8",
"version": "0.6.9",
"description": "Unified Package Manager for Node.js",

@@ -29,5 +29,6 @@ "license": "MIT",

"devDependencies": {
"@types/node": "^26.0.1",
"@typescript/native-preview": "7.0.0-dev.20260627.2",
"@vitest/coverage-v8": "^4.1.9",
"@types/node": "^26.1.1",
"@vitest/coverage-v8": "^4.1.10",
"@volar/language-service": "^2.4.28",
"@volar/typescript": "^2.4.28",
"automd": "^0.4.3",

@@ -37,10 +38,10 @@ "changelogen": "^0.6.2",

"expect-type": "^1.4.0",
"obuild": "^0.4.37",
"oxfmt": "^0.56.0",
"oxlint": "^1.71.0",
"obuild": "^0.4.38",
"oxfmt": ">=0.60.0",
"oxlint": "^1.75.0",
"pkg-types": "^2.3.1",
"std-env": "^4.1.0",
"std-env": "^4.2.0",
"typescript": "^6.0.3",
"ufo": "^1.6.4",
"vitest": "^4.1.9"
"vitest": "^4.1.10"
},

@@ -58,4 +59,4 @@ "engines": {

"test": "pnpm lint && pnpm test:types && vitest run --coverage",
"test:types": "tsgo --noEmit"
"test:types": "tsc --noEmit"
}
}