@gunshi/bone 0.29.2 → 0.29.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +2 -2
- package/lib/index.js +4 -4
- package/package.json +8 -8
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/args-tokens@0.24.
|
|
1
|
+
//#region ../../node_modules/.pnpm/args-tokens@0.24.3/node_modules/args-tokens/lib/parser-D95CJBHr.d.ts
|
|
2
2
|
//#region src/parser.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Entry point of argument parser.
|
|
@@ -55,7 +55,7 @@ interface ArgToken {
|
|
|
55
55
|
* Parser Options.
|
|
56
56
|
*/
|
|
57
57
|
//#endregion
|
|
58
|
-
//#region ../../node_modules/.pnpm/args-tokens@0.24.
|
|
58
|
+
//#region ../../node_modules/.pnpm/args-tokens@0.24.3/node_modules/args-tokens/lib/resolver.d.ts
|
|
59
59
|
//#region src/resolver.d.ts
|
|
60
60
|
/**
|
|
61
61
|
* An argument schema definition for command-line argument parsing.
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/args-tokens@0.24.
|
|
1
|
+
//#region ../../node_modules/.pnpm/args-tokens@0.24.3/node_modules/args-tokens/lib/parser.js
|
|
2
2
|
const HYPHEN_CHAR = "-";
|
|
3
3
|
const HYPHEN_CODE = HYPHEN_CHAR.codePointAt(0);
|
|
4
4
|
const EQUAL_CHAR = "=";
|
|
@@ -183,7 +183,7 @@ function isLongOptionAndValue(arg) {
|
|
|
183
183
|
* @returns Whether `arg` is a long option prefix.
|
|
184
184
|
*/
|
|
185
185
|
function hasLongOptionPrefix(arg) {
|
|
186
|
-
return arg.length > 2
|
|
186
|
+
return arg.startsWith(LONG_OPTION_PREFIX) && arg.length > 2;
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
189
189
|
* Check if a `value` is an option value.
|
|
@@ -196,7 +196,7 @@ function hasOptionValue(value) {
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
//#endregion
|
|
199
|
-
//#region ../../node_modules/.pnpm/args-tokens@0.24.
|
|
199
|
+
//#region ../../node_modules/.pnpm/args-tokens@0.24.3/node_modules/args-tokens/lib/utils.js
|
|
200
200
|
/**
|
|
201
201
|
* Entry point of utils.
|
|
202
202
|
*
|
|
@@ -219,7 +219,7 @@ function kebabnize(str) {
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
//#endregion
|
|
222
|
-
//#region ../../node_modules/.pnpm/args-tokens@0.24.
|
|
222
|
+
//#region ../../node_modules/.pnpm/args-tokens@0.24.3/node_modules/args-tokens/lib/resolver.js
|
|
223
223
|
/**
|
|
224
224
|
* Entry point of argument options resolver.
|
|
225
225
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gunshi/bone",
|
|
3
3
|
"description": "gunshi minimum",
|
|
4
|
-
"version": "0.29.
|
|
4
|
+
"version": "0.29.3",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "kazuya kawaguchi",
|
|
7
7
|
"email": "kawakazu80@gmail.com"
|
|
@@ -51,15 +51,15 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"deno": "^2.
|
|
54
|
+
"deno": "^2.7.4",
|
|
55
55
|
"jsr": "^0.13.5",
|
|
56
|
-
"jsr-exports-lint": "^0.4.
|
|
57
|
-
"publint": "^0.3.
|
|
56
|
+
"jsr-exports-lint": "^0.4.2",
|
|
57
|
+
"publint": "^0.3.18",
|
|
58
58
|
"tsdown": "0.15.12",
|
|
59
|
-
"@gunshi/definition": "0.29.
|
|
60
|
-
"@gunshi/plugin-global": "0.29.
|
|
61
|
-
"
|
|
62
|
-
"gunshi": "0.29.
|
|
59
|
+
"@gunshi/definition": "0.29.3",
|
|
60
|
+
"@gunshi/plugin-global": "0.29.3",
|
|
61
|
+
"gunshi": "0.29.3",
|
|
62
|
+
"@gunshi/plugin-renderer": "0.29.3"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "tsdown",
|