@antfu/ni
Advanced tools
Comparing version 0.11.0 to 0.11.1
@@ -67,5 +67,5 @@ declare const AGENTS: { | ||
} | ||
declare function getConfig(): Config; | ||
declare function getDefaultAgent(): "npm" | "pnpm" | "yarn" | "prompt"; | ||
declare function getGlobalAgent(): "npm" | "pnpm" | "yarn"; | ||
declare function getConfig(): Promise<Config>; | ||
declare function getDefaultAgent(): Promise<"npm" | "pnpm" | "yarn" | "prompt">; | ||
declare function getGlobalAgent(): Promise<"npm" | "pnpm" | "yarn">; | ||
@@ -72,0 +72,0 @@ declare function remove<T>(arr: T[], v: T): T[]; |
@@ -17,3 +17,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkDRFU2ZKCjs = require('./chunk-DRFU2ZKC.js'); | ||
var _chunkQA3G2Q5Cjs = require('./chunk-QA3G2Q5C.js'); | ||
@@ -35,2 +35,2 @@ | ||
exports.cmdExists = _chunkDRFU2ZKCjs.cmdExists; exports.detect = _chunkDRFU2ZKCjs.detect; exports.exclude = _chunkDRFU2ZKCjs.exclude; exports.getCommand = _chunkDRFU2ZKCjs.getCommand; exports.getConfig = _chunkDRFU2ZKCjs.getConfig; exports.getDefaultAgent = _chunkDRFU2ZKCjs.getDefaultAgent; exports.getGlobalAgent = _chunkDRFU2ZKCjs.getGlobalAgent; exports.parseNi = _chunkDRFU2ZKCjs.parseNi; exports.parseNr = _chunkDRFU2ZKCjs.parseNr; exports.parseNrm = _chunkDRFU2ZKCjs.parseNrm; exports.parseNu = _chunkDRFU2ZKCjs.parseNu; exports.parseNx = _chunkDRFU2ZKCjs.parseNx; exports.remove = _chunkDRFU2ZKCjs.remove; exports.run = _chunkDRFU2ZKCjs.run; exports.runCli = _chunkDRFU2ZKCjs.runCli; | ||
exports.cmdExists = _chunkQA3G2Q5Cjs.cmdExists; exports.detect = _chunkQA3G2Q5Cjs.detect; exports.exclude = _chunkQA3G2Q5Cjs.exclude; exports.getCommand = _chunkQA3G2Q5Cjs.getCommand; exports.getConfig = _chunkQA3G2Q5Cjs.getConfig; exports.getDefaultAgent = _chunkQA3G2Q5Cjs.getDefaultAgent; exports.getGlobalAgent = _chunkQA3G2Q5Cjs.getGlobalAgent; exports.parseNi = _chunkQA3G2Q5Cjs.parseNi; exports.parseNr = _chunkQA3G2Q5Cjs.parseNr; exports.parseNrm = _chunkQA3G2Q5Cjs.parseNrm; exports.parseNu = _chunkQA3G2Q5Cjs.parseNu; exports.parseNx = _chunkQA3G2Q5Cjs.parseNx; exports.remove = _chunkQA3G2Q5Cjs.remove; exports.run = _chunkQA3G2Q5Cjs.run; exports.runCli = _chunkQA3G2Q5Cjs.runCli; |
"use strict"; | ||
var _chunkDRFU2ZKCjs = require('./chunk-DRFU2ZKC.js'); | ||
var _chunkQA3G2Q5Cjs = require('./chunk-QA3G2Q5C.js'); | ||
// src/nci.ts | ||
_chunkDRFU2ZKCjs.runCli.call(void 0, (agent, _, hasLock) => _chunkDRFU2ZKCjs.parseNi.call(void 0, agent, ["--frozen-if-present"], hasLock), { autoInstall: true }); | ||
_chunkQA3G2Q5Cjs.runCli.call(void 0, (agent, _, hasLock) => _chunkQA3G2Q5Cjs.parseNi.call(void 0, agent, ["--frozen-if-present"], hasLock), { autoInstall: true }); |
"use strict"; | ||
var _chunkDRFU2ZKCjs = require('./chunk-DRFU2ZKC.js'); | ||
var _chunkQA3G2Q5Cjs = require('./chunk-QA3G2Q5C.js'); | ||
// src/ni.ts | ||
_chunkDRFU2ZKCjs.runCli.call(void 0, _chunkDRFU2ZKCjs.parseNi); | ||
_chunkQA3G2Q5Cjs.runCli.call(void 0, _chunkQA3G2Q5Cjs.parseNi); |
@@ -6,6 +6,6 @@ "use strict"; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var _chunkDRFU2ZKCjs = require('./chunk-DRFU2ZKC.js'); | ||
var _chunkQA3G2Q5Cjs = require('./chunk-QA3G2Q5C.js'); | ||
// src/nr.ts | ||
var import_prompts = _chunkDRFU2ZKCjs.__toModule.call(void 0, _chunkDRFU2ZKCjs.require_prompts.call(void 0, )); | ||
var import_prompts = _chunkQA3G2Q5Cjs.__toModule.call(void 0, _chunkQA3G2Q5Cjs.require_prompts.call(void 0, )); | ||
@@ -50,3 +50,3 @@ // src/storage.ts | ||
// src/nr.ts | ||
_chunkDRFU2ZKCjs.runCli.call(void 0, async (agent, args, ctx) => { | ||
_chunkQA3G2Q5Cjs.runCli.call(void 0, async (agent, args, ctx) => { | ||
const storage2 = await load(); | ||
@@ -95,3 +95,3 @@ if (args[0] === "-") { | ||
} | ||
return _chunkDRFU2ZKCjs.parseNr.call(void 0, agent, args); | ||
return _chunkQA3G2Q5Cjs.parseNr.call(void 0, agent, args); | ||
}); |
"use strict"; | ||
var _chunkDRFU2ZKCjs = require('./chunk-DRFU2ZKC.js'); | ||
var _chunkQA3G2Q5Cjs = require('./chunk-QA3G2Q5C.js'); | ||
// src/nu.ts | ||
_chunkDRFU2ZKCjs.runCli.call(void 0, _chunkDRFU2ZKCjs.parseNu); | ||
_chunkQA3G2Q5Cjs.runCli.call(void 0, _chunkQA3G2Q5Cjs.parseNu); |
"use strict"; | ||
var _chunkDRFU2ZKCjs = require('./chunk-DRFU2ZKC.js'); | ||
var _chunkQA3G2Q5Cjs = require('./chunk-QA3G2Q5C.js'); | ||
// src/nx.ts | ||
_chunkDRFU2ZKCjs.runCli.call(void 0, _chunkDRFU2ZKCjs.parseNx); | ||
_chunkQA3G2Q5Cjs.runCli.call(void 0, _chunkQA3G2Q5Cjs.parseNx); |
{ | ||
"name": "@antfu/ni", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"description": "Use the right package manager", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
541306
16152