Socket
Socket
Sign inDemoInstall

@antfu/ni

Package Overview
Dependencies
0
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.7 to 0.5.8

dist/chunk-HORULVTV.mjs

4

dist/index.js

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

var _chunkJDBAN7ALjs = require('./chunk-JDBAN7AL.js');
var _chunkRSW6MLYIjs = require('./chunk-RSW6MLYI.js');

@@ -31,2 +31,2 @@

exports.cmdExists = _chunkJDBAN7ALjs.cmdExists; exports.detect = _chunkJDBAN7ALjs.detect; exports.exclude = _chunkJDBAN7ALjs.exclude; exports.getCommand = _chunkJDBAN7ALjs.getCommand; exports.getConfig = _chunkJDBAN7ALjs.getConfig; exports.getDefaultAgent = _chunkJDBAN7ALjs.getDefaultAgent; exports.getGlobalAgent = _chunkJDBAN7ALjs.getGlobalAgent; exports.parseNi = _chunkJDBAN7ALjs.parseNi; exports.parseNr = _chunkJDBAN7ALjs.parseNr; exports.parseNu = _chunkJDBAN7ALjs.parseNu; exports.remove = _chunkJDBAN7ALjs.remove; exports.run = _chunkJDBAN7ALjs.run; exports.runCli = _chunkJDBAN7ALjs.runCli;
exports.cmdExists = _chunkRSW6MLYIjs.cmdExists; exports.detect = _chunkRSW6MLYIjs.detect; exports.exclude = _chunkRSW6MLYIjs.exclude; exports.getCommand = _chunkRSW6MLYIjs.getCommand; exports.getConfig = _chunkRSW6MLYIjs.getConfig; exports.getDefaultAgent = _chunkRSW6MLYIjs.getDefaultAgent; exports.getGlobalAgent = _chunkRSW6MLYIjs.getGlobalAgent; exports.parseNi = _chunkRSW6MLYIjs.parseNi; exports.parseNr = _chunkRSW6MLYIjs.parseNr; exports.parseNu = _chunkRSW6MLYIjs.parseNu; exports.remove = _chunkRSW6MLYIjs.remove; exports.run = _chunkRSW6MLYIjs.run; exports.runCli = _chunkRSW6MLYIjs.runCli;
"use strict";
var _chunkJDBAN7ALjs = require('./chunk-JDBAN7AL.js');
var _chunkRSW6MLYIjs = require('./chunk-RSW6MLYI.js');
// src/nci.ts
_chunkJDBAN7ALjs.runCli.call(void 0, (agent, _, hasLock) => _chunkJDBAN7ALjs.parseNi.call(void 0, agent, ["--frozen-if-present"], hasLock), {autoInstall: true});
_chunkRSW6MLYIjs.runCli.call(void 0, (agent, _, hasLock) => _chunkRSW6MLYIjs.parseNi.call(void 0, agent, ["--frozen-if-present"], hasLock), {autoInstall: true});
"use strict";
var _chunkJDBAN7ALjs = require('./chunk-JDBAN7AL.js');
var _chunkRSW6MLYIjs = require('./chunk-RSW6MLYI.js');
// src/ni.ts
_chunkJDBAN7ALjs.runCli.call(void 0, _chunkJDBAN7ALjs.parseNi);
_chunkRSW6MLYIjs.runCli.call(void 0, _chunkRSW6MLYIjs.parseNi);
"use strict"; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _chunkJDBAN7ALjs = require('./chunk-JDBAN7AL.js');
var _chunkRSW6MLYIjs = require('./chunk-RSW6MLYI.js');
// src/nr.ts
var _prompts = require('prompts'); var _prompts2 = _interopRequireDefault(_prompts);
var import_prompts = _chunkRSW6MLYIjs.__toModule.call(void 0, _chunkRSW6MLYIjs.require_prompts.call(void 0, ));

@@ -27,3 +29,3 @@ // src/fs.ts

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

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

try {
const {fn} = await _prompts2.default.call(void 0, {
const {fn} = await (0, import_prompts.default)({
name: "fn",

@@ -49,3 +51,3 @@ message: "script to run",

}
return _chunkJDBAN7ALjs.parseNr.call(void 0, agent, args);
return _chunkRSW6MLYIjs.parseNr.call(void 0, agent, args);
});
"use strict";
var _chunkJDBAN7ALjs = require('./chunk-JDBAN7AL.js');
var _chunkRSW6MLYIjs = require('./chunk-RSW6MLYI.js');
// src/nu.ts
_chunkJDBAN7ALjs.runCli.call(void 0, _chunkJDBAN7ALjs.parseNu);
_chunkRSW6MLYIjs.runCli.call(void 0, _chunkRSW6MLYIjs.parseNu);
{
"name": "@antfu/ni",
"version": "0.5.7",
"version": "0.5.8",
"description": "Use the right package manager",

@@ -42,23 +42,21 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

},
"dependencies": {
"execa": "^5.0.0",
"find-up": "^5.0.0",
"ini": "^2.0.0",
"prompts": "^2.4.1",
"terminal-link": "^2.1.1"
},
"devDependencies": {
"@antfu/eslint-config-ts": "^0.6.2",
"@types/ini": "^1.3.30",
"@types/node": "^14.14.37",
"@types/node": "^14.14.41",
"@types/prompts": "^2.4.0",
"ava": "^3.15.0",
"c8": "^7.7.0",
"esbuild-register": "^2.3.0",
"eslint": "^7.23.0",
"c8": "^7.7.1",
"esbuild-register": "^2.4.0",
"eslint": "^7.24.0",
"esm": "^3.2.25",
"esno": "^0.5.0",
"execa": "^5.0.0",
"find-up": "^5.0.0",
"ini": "^2.0.0",
"prompts": "^2.4.1",
"rimraf": "^3.0.2",
"terminal-link": "^2.1.1",
"tsup": "^4.8.21",
"typescript": "^4.2.3"
"typescript": "^4.2.4"
},

@@ -65,0 +63,0 @@ "eslintConfig": {

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc