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.10.0 to 0.10.1

dist/chunk-CN754DMD.mjs

4

dist/index.js

@@ -17,3 +17,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunk2CETRAVMjs = require('./chunk-2CETRAVM.js');
var _chunkGWJNTS2Kjs = require('./chunk-GWJNTS2K.js');

@@ -35,2 +35,2 @@

exports.cmdExists = _chunk2CETRAVMjs.cmdExists; exports.detect = _chunk2CETRAVMjs.detect; exports.exclude = _chunk2CETRAVMjs.exclude; exports.getCommand = _chunk2CETRAVMjs.getCommand; exports.getConfig = _chunk2CETRAVMjs.getConfig; exports.getDefaultAgent = _chunk2CETRAVMjs.getDefaultAgent; exports.getGlobalAgent = _chunk2CETRAVMjs.getGlobalAgent; exports.parseNi = _chunk2CETRAVMjs.parseNi; exports.parseNr = _chunk2CETRAVMjs.parseNr; exports.parseNrm = _chunk2CETRAVMjs.parseNrm; exports.parseNu = _chunk2CETRAVMjs.parseNu; exports.parseNx = _chunk2CETRAVMjs.parseNx; exports.remove = _chunk2CETRAVMjs.remove; exports.run = _chunk2CETRAVMjs.run; exports.runCli = _chunk2CETRAVMjs.runCli;
exports.cmdExists = _chunkGWJNTS2Kjs.cmdExists; exports.detect = _chunkGWJNTS2Kjs.detect; exports.exclude = _chunkGWJNTS2Kjs.exclude; exports.getCommand = _chunkGWJNTS2Kjs.getCommand; exports.getConfig = _chunkGWJNTS2Kjs.getConfig; exports.getDefaultAgent = _chunkGWJNTS2Kjs.getDefaultAgent; exports.getGlobalAgent = _chunkGWJNTS2Kjs.getGlobalAgent; exports.parseNi = _chunkGWJNTS2Kjs.parseNi; exports.parseNr = _chunkGWJNTS2Kjs.parseNr; exports.parseNrm = _chunkGWJNTS2Kjs.parseNrm; exports.parseNu = _chunkGWJNTS2Kjs.parseNu; exports.parseNx = _chunkGWJNTS2Kjs.parseNx; exports.remove = _chunkGWJNTS2Kjs.remove; exports.run = _chunkGWJNTS2Kjs.run; exports.runCli = _chunkGWJNTS2Kjs.runCli;
"use strict";
var _chunk2CETRAVMjs = require('./chunk-2CETRAVM.js');
var _chunkGWJNTS2Kjs = require('./chunk-GWJNTS2K.js');
// src/nci.ts
_chunk2CETRAVMjs.runCli.call(void 0, (agent, _, hasLock) => _chunk2CETRAVMjs.parseNi.call(void 0, agent, ["--frozen-if-present"], hasLock), { autoInstall: true });
_chunkGWJNTS2Kjs.runCli.call(void 0, (agent, _, hasLock) => _chunkGWJNTS2Kjs.parseNi.call(void 0, agent, ["--frozen-if-present"], hasLock), { autoInstall: true });
"use strict";
var _chunk2CETRAVMjs = require('./chunk-2CETRAVM.js');
var _chunkGWJNTS2Kjs = require('./chunk-GWJNTS2K.js');
// src/ni.ts
_chunk2CETRAVMjs.runCli.call(void 0, _chunk2CETRAVMjs.parseNi);
_chunkGWJNTS2Kjs.runCli.call(void 0, _chunkGWJNTS2Kjs.parseNi);

@@ -6,6 +6,6 @@ "use strict"; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var _chunk2CETRAVMjs = require('./chunk-2CETRAVM.js');
var _chunkGWJNTS2Kjs = require('./chunk-GWJNTS2K.js');
// src/nr.ts
var import_prompts = _chunk2CETRAVMjs.__toModule.call(void 0, _chunk2CETRAVMjs.require_prompts.call(void 0, ));
var import_prompts = _chunkGWJNTS2Kjs.__toModule.call(void 0, _chunkGWJNTS2Kjs.require_prompts.call(void 0, ));

@@ -50,3 +50,3 @@ // src/storage.ts

// src/nr.ts
_chunk2CETRAVMjs.runCli.call(void 0, async (agent, args, ctx) => {
_chunkGWJNTS2Kjs.runCli.call(void 0, async (agent, args, ctx) => {
const storage2 = await load();

@@ -95,3 +95,3 @@ if (args[0] === "-") {

}
return _chunk2CETRAVMjs.parseNr.call(void 0, agent, args);
return _chunkGWJNTS2Kjs.parseNr.call(void 0, agent, args);
});
"use strict";
var _chunk2CETRAVMjs = require('./chunk-2CETRAVM.js');
var _chunkGWJNTS2Kjs = require('./chunk-GWJNTS2K.js');
// src/nrm.ts
_chunk2CETRAVMjs.runCli.call(void 0, _chunk2CETRAVMjs.parseNrm);
_chunkGWJNTS2Kjs.runCli.call(void 0, _chunkGWJNTS2Kjs.parseNrm);
"use strict";
var _chunk2CETRAVMjs = require('./chunk-2CETRAVM.js');
var _chunkGWJNTS2Kjs = require('./chunk-GWJNTS2K.js');
// src/nu.ts
_chunk2CETRAVMjs.runCli.call(void 0, _chunk2CETRAVMjs.parseNu);
_chunkGWJNTS2Kjs.runCli.call(void 0, _chunkGWJNTS2Kjs.parseNu);
"use strict";
var _chunk2CETRAVMjs = require('./chunk-2CETRAVM.js');
var _chunkGWJNTS2Kjs = require('./chunk-GWJNTS2K.js');
// src/nx.ts
_chunk2CETRAVMjs.runCli.call(void 0, _chunk2CETRAVMjs.parseNx);
_chunkGWJNTS2Kjs.runCli.call(void 0, _chunkGWJNTS2Kjs.parseNx);
{
"name": "@antfu/ni",
"version": "0.10.0",
"version": "0.10.1",
"description": "Use the right package manager",

@@ -42,3 +42,3 @@ "license": "MIT",

"build": "rimraf dist && tsup src/ni.ts src/nci.ts src/nr.ts src/nu.ts src/nx.ts src/nrm.ts src/index.ts --format cjs,esm --dts",
"release": "npx git-ensure && npx bumpp --commit --push --tag",
"release": "npx bumpp --commit --push --tag",
"lint": "eslint \"**/*.ts\"",

@@ -45,0 +45,0 @@ "lint:fix": "npm run lint -- --fix",

@@ -98,3 +98,3 @@ # ni

# npx jest
# yarn dls jest
# yarn dlx jest
# pnpm dlx jest

@@ -101,0 +101,0 @@ ```

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

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