You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@antfu/ni

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.11.0 to 0.11.1

dist/chunk-MX3VRWGY.mjs

6

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc