update
This commit is contained in:
55
package/node_modules/jackspeak/LICENSE.md
generated
vendored
Normal file
55
package/node_modules/jackspeak/LICENSE.md
generated
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
# Blue Oak Model License
|
||||
|
||||
Version 1.0.0
|
||||
|
||||
## Purpose
|
||||
|
||||
This license gives everyone as much permission to work with
|
||||
this software as possible, while protecting contributors
|
||||
from liability.
|
||||
|
||||
## Acceptance
|
||||
|
||||
In order to receive this license, you must agree to its
|
||||
rules. The rules of this license are both obligations
|
||||
under that agreement and conditions to your license.
|
||||
You must not do anything with this software that triggers
|
||||
a rule that you cannot or will not follow.
|
||||
|
||||
## Copyright
|
||||
|
||||
Each contributor licenses you to do everything with this
|
||||
software that would otherwise infringe that contributor's
|
||||
copyright in it.
|
||||
|
||||
## Notices
|
||||
|
||||
You must ensure that everyone who gets a copy of
|
||||
any part of this software from you, with or without
|
||||
changes, also gets the text of this license or a link to
|
||||
<https://blueoakcouncil.org/license/1.0.0>.
|
||||
|
||||
## Excuse
|
||||
|
||||
If anyone notifies you in writing that you have not
|
||||
complied with [Notices](#notices), you can keep your
|
||||
license by taking all practical steps to comply within 30
|
||||
days after the notice. If you do not do so, your license
|
||||
ends immediately.
|
||||
|
||||
## Patent
|
||||
|
||||
Each contributor licenses you to do everything with this
|
||||
software that would otherwise infringe any patent claims
|
||||
they can license or become able to license.
|
||||
|
||||
## Reliability
|
||||
|
||||
No contributor can revoke this license.
|
||||
|
||||
## No Liability
|
||||
|
||||
**_As far as the law allows, this software comes as is,
|
||||
without any warranty or condition, and no contributor
|
||||
will be liable to anyone for any damages related to this
|
||||
software or this license, under any kind of legal claim._**
|
||||
1010
package/node_modules/jackspeak/dist/commonjs/index.js
generated
vendored
Normal file
1010
package/node_modules/jackspeak/dist/commonjs/index.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3
package/node_modules/jackspeak/dist/commonjs/package.json
generated
vendored
Normal file
3
package/node_modules/jackspeak/dist/commonjs/package.json
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "commonjs"
|
||||
}
|
||||
50
package/node_modules/jackspeak/dist/commonjs/parse-args.js
generated
vendored
Normal file
50
package/node_modules/jackspeak/dist/commonjs/parse-args.js
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.parseArgs = void 0;
|
||||
const util = __importStar(require("util"));
|
||||
const pv = (typeof process === 'object' &&
|
||||
!!process &&
|
||||
typeof process.version === 'string') ?
|
||||
process.version
|
||||
: 'v0.0.0';
|
||||
const pvs = pv
|
||||
.replace(/^v/, '')
|
||||
.split('.')
|
||||
.map(s => parseInt(s, 10));
|
||||
/* c8 ignore start */
|
||||
const [major = 0, minor = 0] = pvs;
|
||||
/* c8 ignore stop */
|
||||
let { parseArgs: pa } = util;
|
||||
/* c8 ignore start */
|
||||
if (!pa ||
|
||||
major < 16 ||
|
||||
(major === 18 && minor < 11) ||
|
||||
(major === 16 && minor < 19)) {
|
||||
/* c8 ignore stop */
|
||||
pa = require('@pkgjs/parseargs').parseArgs;
|
||||
}
|
||||
exports.parseArgs = pa;
|
||||
//# sourceMappingURL=parse-args-cjs.cjs.map
|
||||
1000
package/node_modules/jackspeak/dist/esm/index.js
generated
vendored
Normal file
1000
package/node_modules/jackspeak/dist/esm/index.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3
package/node_modules/jackspeak/dist/esm/package.json
generated
vendored
Normal file
3
package/node_modules/jackspeak/dist/esm/package.json
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "module"
|
||||
}
|
||||
26
package/node_modules/jackspeak/dist/esm/parse-args.js
generated
vendored
Normal file
26
package/node_modules/jackspeak/dist/esm/parse-args.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
import * as util from 'util';
|
||||
const pv = (typeof process === 'object' &&
|
||||
!!process &&
|
||||
typeof process.version === 'string') ?
|
||||
process.version
|
||||
: 'v0.0.0';
|
||||
const pvs = pv
|
||||
.replace(/^v/, '')
|
||||
.split('.')
|
||||
.map(s => parseInt(s, 10));
|
||||
/* c8 ignore start */
|
||||
const [major = 0, minor = 0] = pvs;
|
||||
/* c8 ignore stop */
|
||||
let { parseArgs: pa, } = util;
|
||||
/* c8 ignore start - version specific */
|
||||
if (!pa ||
|
||||
major < 16 ||
|
||||
(major === 18 && minor < 11) ||
|
||||
(major === 16 && minor < 19)) {
|
||||
// Ignore because we will clobber it for commonjs
|
||||
//@ts-ignore
|
||||
pa = (await import('@pkgjs/parseargs')).parseArgs;
|
||||
}
|
||||
/* c8 ignore stop */
|
||||
export const parseArgs = pa;
|
||||
//# sourceMappingURL=parse-args.js.map
|
||||
95
package/node_modules/jackspeak/package.json
generated
vendored
Normal file
95
package/node_modules/jackspeak/package.json
generated
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
{
|
||||
"name": "jackspeak",
|
||||
"version": "3.4.0",
|
||||
"description": "A very strict and proper argument parser.",
|
||||
"tshy": {
|
||||
"main": true,
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": "./src/index.js"
|
||||
}
|
||||
},
|
||||
"main": "./dist/commonjs/index.js",
|
||||
"types": "./dist/commonjs/index.d.ts",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./dist/esm/index.d.ts",
|
||||
"default": "./dist/esm/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/commonjs/index.d.ts",
|
||||
"default": "./dist/commonjs/index.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build-examples": "for i in examples/*.js ; do node $i -h > ${i/.js/.txt}; done",
|
||||
"preversion": "npm test",
|
||||
"postversion": "npm publish",
|
||||
"prepublishOnly": "git push origin --follow-tags",
|
||||
"prepare": "tshy",
|
||||
"pretest": "npm run prepare",
|
||||
"presnap": "npm run prepare",
|
||||
"test": "tap",
|
||||
"snap": "tap",
|
||||
"format": "prettier --write . --log-level warn",
|
||||
"typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts"
|
||||
},
|
||||
"license": "BlueOak-1.0.0",
|
||||
"prettier": {
|
||||
"experimentalTernaries": true,
|
||||
"semi": false,
|
||||
"printWidth": 75,
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"singleQuote": true,
|
||||
"jsxSingleQuote": false,
|
||||
"bracketSameLine": true,
|
||||
"arrowParens": "avoid",
|
||||
"endOfLine": "lf"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.7.0",
|
||||
"@types/pkgjs__parseargs": "^0.10.1",
|
||||
"prettier": "^3.2.5",
|
||||
"tap": "^18.8.0",
|
||||
"tshy": "^1.14.0",
|
||||
"typedoc": "^0.25.1",
|
||||
"typescript": "^5.2.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@isaacs/cliui": "^8.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/isaacs/jackspeak.git"
|
||||
},
|
||||
"keywords": [
|
||||
"argument",
|
||||
"parser",
|
||||
"args",
|
||||
"option",
|
||||
"flag",
|
||||
"cli",
|
||||
"command",
|
||||
"line",
|
||||
"parse",
|
||||
"parsing"
|
||||
],
|
||||
"author": "Isaac Z. Schlueter <i@izs.me>",
|
||||
"optionalDependencies": {
|
||||
"@pkgjs/parseargs": "^0.11.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user