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

@antfu/ni

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antfu/ni - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

dist/chunk.4ERTKFB4.js

2

dist/index.d.ts

@@ -57,4 +57,4 @@ declare const AGENTS: {

declare function exclude<T>(arr: T[], v: T): T[];
declare function cmdExists(cmd: string): Promise<boolean>;
declare function cmdExists(cmd: string): boolean;
export { DetectOptions, Runner, cmdExists, detect, exclude, getCommand, getConfig, getDefaultAgent, getGlobalAgent, parseNi, parseNr, parseNu, remove, run, runCli };
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkLKUK34YFjs = require('./chunk.LKUK34YF.js');
var _chunkRI6ZR2BNjs = require('./chunk.RI6ZR2BN.js');
var _chunkBPQ7DOOAjs = require('./chunk.BPQ7DOOA.js');
var _chunk4ERTKFB4js = require('./chunk.4ERTKFB4.js');
var _chunk5JODMHW7js = require('./chunk.5JODMHW7.js');
var _chunkSBGDVWQ2js = require('./chunk.SBGDVWQ2.js');
var _chunkDUM4BEDWjs = require('./chunk.DUM4BEDW.js');
var _chunkMCNRCGYUjs = require('./chunk.MCNRCGYU.js');

@@ -23,3 +23,3 @@

var _chunkJ2PXFKIYjs = require('./chunk.J2PXFKIY.js');
var _chunkOKXWUZZQjs = require('./chunk.OKXWUZZQ.js');

@@ -39,2 +39,2 @@

exports.cmdExists = _chunkJ2PXFKIYjs.cmdExists; exports.detect = _chunkJ2PXFKIYjs.detect; exports.exclude = _chunkDUM4BEDWjs.exclude; exports.getCommand = _chunkJ2PXFKIYjs.getCommand; exports.getConfig = _chunkJ2PXFKIYjs.getConfig; exports.getDefaultAgent = _chunkJ2PXFKIYjs.getDefaultAgent; exports.getGlobalAgent = _chunkJ2PXFKIYjs.getGlobalAgent; exports.parseNi = _chunkLKUK34YFjs.parseNi; exports.parseNr = _chunkBPQ7DOOAjs.parseNr; exports.parseNu = _chunk5JODMHW7js.parseNu; exports.remove = _chunkJ2PXFKIYjs.remove; exports.run = _chunkJ2PXFKIYjs.run; exports.runCli = _chunkJ2PXFKIYjs.runCli;
exports.cmdExists = _chunkOKXWUZZQjs.cmdExists; exports.detect = _chunkOKXWUZZQjs.detect; exports.exclude = _chunkMCNRCGYUjs.exclude; exports.getCommand = _chunkOKXWUZZQjs.getCommand; exports.getConfig = _chunkOKXWUZZQjs.getConfig; exports.getDefaultAgent = _chunkOKXWUZZQjs.getDefaultAgent; exports.getGlobalAgent = _chunkOKXWUZZQjs.getGlobalAgent; exports.parseNi = _chunkRI6ZR2BNjs.parseNi; exports.parseNr = _chunk4ERTKFB4js.parseNr; exports.parseNu = _chunkSBGDVWQ2js.parseNu; exports.remove = _chunkOKXWUZZQjs.remove; exports.run = _chunkOKXWUZZQjs.run; exports.runCli = _chunkOKXWUZZQjs.runCli;
"use strict";
var _chunkLKUK34YFjs = require('./chunk.LKUK34YF.js');
require('./chunk.DUM4BEDW.js');
var _chunkRI6ZR2BNjs = require('./chunk.RI6ZR2BN.js');
require('./chunk.MCNRCGYU.js');
var _chunkJ2PXFKIYjs = require('./chunk.J2PXFKIY.js');
var _chunkOKXWUZZQjs = require('./chunk.OKXWUZZQ.js');
// src/nci.ts
_chunkJ2PXFKIYjs.runCli.call(void 0, (agent, _, hasLock) => _chunkLKUK34YFjs.parseNi.call(void 0, agent, ["--frozen-if-present"], hasLock), {autoInstall: true});
_chunkOKXWUZZQjs.runCli.call(void 0, (agent, _, hasLock) => _chunkRI6ZR2BNjs.parseNi.call(void 0, agent, ["--frozen-if-present"], hasLock), {autoInstall: true});
"use strict";
var _chunkLKUK34YFjs = require('./chunk.LKUK34YF.js');
require('./chunk.DUM4BEDW.js');
var _chunkRI6ZR2BNjs = require('./chunk.RI6ZR2BN.js');
require('./chunk.MCNRCGYU.js');
var _chunkJ2PXFKIYjs = require('./chunk.J2PXFKIY.js');
var _chunkOKXWUZZQjs = require('./chunk.OKXWUZZQ.js');
// src/ni.ts
_chunkJ2PXFKIYjs.runCli.call(void 0, _chunkLKUK34YFjs.parseNi);
_chunkOKXWUZZQjs.runCli.call(void 0, _chunkRI6ZR2BNjs.parseNi);
"use strict"; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _chunkBPQ7DOOAjs = require('./chunk.BPQ7DOOA.js');
var _chunk4ERTKFB4js = require('./chunk.4ERTKFB4.js');
var _chunkJ2PXFKIYjs = require('./chunk.J2PXFKIY.js');
var _chunkOKXWUZZQjs = require('./chunk.OKXWUZZQ.js');

@@ -29,3 +29,3 @@ // src/nr.ts

// src/nr.ts
_chunkJ2PXFKIYjs.runCli.call(void 0, async (agent, args) => {
_chunkOKXWUZZQjs.runCli.call(void 0, async (agent, args) => {
if (args.length === 0) {

@@ -50,3 +50,3 @@ const scripts = getPackageJSON().scripts || {};

}
return _chunkBPQ7DOOAjs.parseNr.call(void 0, agent, args);
return _chunk4ERTKFB4js.parseNr.call(void 0, agent, args);
});
"use strict";
var _chunk5JODMHW7js = require('./chunk.5JODMHW7.js');
require('./chunk.DUM4BEDW.js');
var _chunkSBGDVWQ2js = require('./chunk.SBGDVWQ2.js');
require('./chunk.MCNRCGYU.js');
var _chunkJ2PXFKIYjs = require('./chunk.J2PXFKIY.js');
var _chunkOKXWUZZQjs = require('./chunk.OKXWUZZQ.js');
// src/nu.ts
_chunkJ2PXFKIYjs.runCli.call(void 0, _chunk5JODMHW7js.parseNu);
_chunkOKXWUZZQjs.runCli.call(void 0, _chunkSBGDVWQ2js.parseNu);
{
"name": "@antfu/ni",
"version": "0.5.2",
"version": "0.5.3",
"description": "Use the right package manager",

@@ -5,0 +5,0 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc