@shell-shock/core 0.17.0 → 0.17.1

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.
Files changed (41) hide show
  1. package/dist/components/command-validation-logic.cjs +1 -1
  2. package/dist/components/command-validation-logic.cjs.map +1 -1
  3. package/dist/components/command-validation-logic.mjs +1 -1
  4. package/dist/components/command-validation-logic.mjs.map +1 -1
  5. package/dist/components/exec-builtin.cjs +38 -39
  6. package/dist/components/exec-builtin.cjs.map +1 -1
  7. package/dist/components/exec-builtin.mjs +38 -39
  8. package/dist/components/exec-builtin.mjs.map +1 -1
  9. package/dist/components/options-parser-logic.cjs +14 -6
  10. package/dist/components/options-parser-logic.cjs.map +1 -1
  11. package/dist/components/options-parser-logic.d.cts +2 -5
  12. package/dist/components/options-parser-logic.d.cts.map +1 -1
  13. package/dist/components/options-parser-logic.d.mts +2 -5
  14. package/dist/components/options-parser-logic.d.mts.map +1 -1
  15. package/dist/components/options-parser-logic.mjs +14 -6
  16. package/dist/components/options-parser-logic.mjs.map +1 -1
  17. package/dist/components/state-builtin.cjs +43 -8
  18. package/dist/components/state-builtin.cjs.map +1 -1
  19. package/dist/components/state-builtin.d.cts.map +1 -1
  20. package/dist/components/state-builtin.d.mts.map +1 -1
  21. package/dist/components/state-builtin.mjs +44 -9
  22. package/dist/components/state-builtin.mjs.map +1 -1
  23. package/dist/components/utils-builtin.cjs +10 -3
  24. package/dist/components/utils-builtin.cjs.map +1 -1
  25. package/dist/components/utils-builtin.d.cts.map +1 -1
  26. package/dist/components/utils-builtin.d.mts.map +1 -1
  27. package/dist/components/utils-builtin.mjs +10 -3
  28. package/dist/components/utils-builtin.mjs.map +1 -1
  29. package/dist/resolver/resolve.cjs +1 -1
  30. package/dist/resolver/resolve.cjs.map +1 -1
  31. package/dist/resolver/resolve.mjs +1 -1
  32. package/dist/resolver/resolve.mjs.map +1 -1
  33. package/dist/types/env.cjs +1 -1
  34. package/dist/types/env.cjs.map +1 -1
  35. package/dist/types/env.d.cts +7 -1
  36. package/dist/types/env.d.cts.map +1 -1
  37. package/dist/types/env.d.mts +7 -1
  38. package/dist/types/env.d.mts.map +1 -1
  39. package/dist/types/env.mjs +1 -1
  40. package/dist/types/env.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -6,6 +6,7 @@ interface ShellShockEnv {
6
6
  * @remarks
7
7
  * If not provided, it will default to '.EXE;.CMD;.BAT;.COM' on Windows, and will be ignored on other platforms. This variable is used to locate executable files when running commands, and is only relevant on Windows platforms. On non-Windows platforms, the system's executable file resolution will be used, and this variable will have no effect.
8
8
  *
9
+ * @hidden
9
10
  * @runtime
10
11
  * @internal
11
12
  */
@@ -13,6 +14,7 @@ interface ShellShockEnv {
13
14
  /**
14
15
  * The system PATH variable, used to locate executable files.
15
16
  *
17
+ * @hidden
16
18
  * @runtime
17
19
  * @internal
18
20
  */
@@ -23,6 +25,7 @@ interface ShellShockEnv {
23
25
  * @remarks
24
26
  * This variable is set by npm when running scripts defined in package.json. It can be used to conditionally adjust behavior when running within an npm script context, such as modifying logging output or adjusting command execution. If this variable is not set, it can be assumed that the environment is not running within an npm script.
25
27
  *
28
+ * @hidden
26
29
  * @runtime
27
30
  * @internal
28
31
  */
@@ -33,6 +36,7 @@ interface ShellShockEnv {
33
36
  * @remarks
34
37
  * This variable is set by npm when running scripts defined in package.json, and can be used to control npm's funding behavior. If set to 'false', it will disable npm's funding messages. If not set, npm will use its default funding behavior. This variable is only relevant when running within an npm script context, and has no effect on command execution or behavior outside of that context.
35
38
  *
39
+ * @hidden
36
40
  * @runtime
37
41
  * @internal
38
42
  */
@@ -43,6 +47,7 @@ interface ShellShockEnv {
43
47
  * @remarks
44
48
  * This variable is set by npm when running scripts defined in package.json. It provides the absolute path to the npm executable being used to run the script. This can be useful for resolving the location of npm or for debugging purposes. If this variable is not set, it may indicate that the environment is not running within an npm script context, or that npm is not available in the PATH.
45
49
  *
50
+ * @hidden
46
51
  * @runtime
47
52
  * @internal
48
53
  */
@@ -53,10 +58,11 @@ interface ShellShockEnv {
53
58
  * @remarks
54
59
  * This variable is used on Windows platforms to determine which command-line interpreter to use when executing commands. It typically points to cmd.exe, but can be customized by the user. If this variable is not set on Windows, it will default to 'cmd.exe'. On non-Windows platforms, this variable is ignored and has no effect on command execution.
55
60
  *
61
+ * @hidden
56
62
  * @runtime
57
63
  * @internal
58
64
  */
59
- ComSpec?: string;
65
+ COMSPEC?: string;
60
66
  }
61
67
  //#endregion
62
68
  export { ShellShockEnv };
@@ -1 +1 @@
1
- {"version":3,"file":"env.d.cts","names":[],"sources":["../../src/types/env.ts"],"mappings":";UAkBiB,aAAA;EAAA;;;;;;;;;EAUf,OAAA;EAoDO;;;;;;EA5CP,IAAA;;;;;;;;;;EAWA,qBAAA;;;;;;;;;;EAWA,eAAA;;;;;;;;;;EAWA,YAAA;;;;;;;;;;EAWA,OAAA;AAAA"}
1
+ {"version":3,"file":"env.d.cts","names":[],"sources":["../../src/types/env.ts"],"mappings":";UAkBiB,aAAA;EAAA;;;;;;;;;;EAWf,OAAA;EAyDO;;;;;;;EAhDP,IAAA;;;;;;;;;;;EAYA,qBAAA;;;;;;;;;;;EAYA,eAAA;;;;;;;;;;;EAYA,YAAA;;;;;;;;;;;EAYA,OAAA;AAAA"}
@@ -6,6 +6,7 @@ interface ShellShockEnv {
6
6
  * @remarks
7
7
  * If not provided, it will default to '.EXE;.CMD;.BAT;.COM' on Windows, and will be ignored on other platforms. This variable is used to locate executable files when running commands, and is only relevant on Windows platforms. On non-Windows platforms, the system's executable file resolution will be used, and this variable will have no effect.
8
8
  *
9
+ * @hidden
9
10
  * @runtime
10
11
  * @internal
11
12
  */
@@ -13,6 +14,7 @@ interface ShellShockEnv {
13
14
  /**
14
15
  * The system PATH variable, used to locate executable files.
15
16
  *
17
+ * @hidden
16
18
  * @runtime
17
19
  * @internal
18
20
  */
@@ -23,6 +25,7 @@ interface ShellShockEnv {
23
25
  * @remarks
24
26
  * This variable is set by npm when running scripts defined in package.json. It can be used to conditionally adjust behavior when running within an npm script context, such as modifying logging output or adjusting command execution. If this variable is not set, it can be assumed that the environment is not running within an npm script.
25
27
  *
28
+ * @hidden
26
29
  * @runtime
27
30
  * @internal
28
31
  */
@@ -33,6 +36,7 @@ interface ShellShockEnv {
33
36
  * @remarks
34
37
  * This variable is set by npm when running scripts defined in package.json, and can be used to control npm's funding behavior. If set to 'false', it will disable npm's funding messages. If not set, npm will use its default funding behavior. This variable is only relevant when running within an npm script context, and has no effect on command execution or behavior outside of that context.
35
38
  *
39
+ * @hidden
36
40
  * @runtime
37
41
  * @internal
38
42
  */
@@ -43,6 +47,7 @@ interface ShellShockEnv {
43
47
  * @remarks
44
48
  * This variable is set by npm when running scripts defined in package.json. It provides the absolute path to the npm executable being used to run the script. This can be useful for resolving the location of npm or for debugging purposes. If this variable is not set, it may indicate that the environment is not running within an npm script context, or that npm is not available in the PATH.
45
49
  *
50
+ * @hidden
46
51
  * @runtime
47
52
  * @internal
48
53
  */
@@ -53,10 +58,11 @@ interface ShellShockEnv {
53
58
  * @remarks
54
59
  * This variable is used on Windows platforms to determine which command-line interpreter to use when executing commands. It typically points to cmd.exe, but can be customized by the user. If this variable is not set on Windows, it will default to 'cmd.exe'. On non-Windows platforms, this variable is ignored and has no effect on command execution.
55
60
  *
61
+ * @hidden
56
62
  * @runtime
57
63
  * @internal
58
64
  */
59
- ComSpec?: string;
65
+ COMSPEC?: string;
60
66
  }
61
67
  //#endregion
62
68
  export { ShellShockEnv };
@@ -1 +1 @@
1
- {"version":3,"file":"env.d.mts","names":[],"sources":["../../src/types/env.ts"],"mappings":";UAkBiB,aAAA;EAAA;;;;;;;;;EAUf,OAAA;EAoDO;;;;;;EA5CP,IAAA;;;;;;;;;;EAWA,qBAAA;;;;;;;;;;EAWA,eAAA;;;;;;;;;;EAWA,YAAA;;;;;;;;;;EAWA,OAAA;AAAA"}
1
+ {"version":3,"file":"env.d.mts","names":[],"sources":["../../src/types/env.ts"],"mappings":";UAkBiB,aAAA;EAAA;;;;;;;;;;EAWf,OAAA;EAyDO;;;;;;;EAhDP,IAAA;;;;;;;;;;;EAYA,qBAAA;;;;;;;;;;;EAYA,eAAA;;;;;;;;;;;EAYA,YAAA;;;;;;;;;;;EAYA,OAAA;AAAA"}
@@ -5,7 +5,7 @@ const __ΩShellShockEnv = [
5
5
  "npm_config_user_agent",
6
6
  "npm_config_fund",
7
7
  "npm_execpath",
8
- "ComSpec",
8
+ "COMSPEC",
9
9
  "ShellShockEnv",
10
10
  "P&4!8&4\"8&4#8&4$8&4%8&4&8Mw'y"
11
11
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"env.mjs","names":[],"sources":["../../src/types/env.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport interface ShellShockEnv {\n /**\n * The system PATHEXT variable, used to determine which file extensions are considered executable on Windows.\n *\n * @remarks\n * If not provided, it will default to '.EXE;.CMD;.BAT;.COM' on Windows, and will be ignored on other platforms. This variable is used to locate executable files when running commands, and is only relevant on Windows platforms. On non-Windows platforms, the system's executable file resolution will be used, and this variable will have no effect.\n *\n * @runtime\n * @internal\n */\n PATHEXT?: string;\n\n /**\n * The system PATH variable, used to locate executable files.\n *\n * @runtime\n * @internal\n */\n PATH?: string;\n\n /**\n * The npm user agent string, which can be used to detect if the environment is running within an npm script.\n *\n * @remarks\n * This variable is set by npm when running scripts defined in package.json. It can be used to conditionally adjust behavior when running within an npm script context, such as modifying logging output or adjusting command execution. If this variable is not set, it can be assumed that the environment is not running within an npm script.\n *\n * @runtime\n * @internal\n */\n npm_config_user_agent?: string;\n\n /**\n * The npm_config_fund environment variable, which can be used to control npm's funding behavior.\n *\n * @remarks\n * This variable is set by npm when running scripts defined in package.json, and can be used to control npm's funding behavior. If set to 'false', it will disable npm's funding messages. If not set, npm will use its default funding behavior. This variable is only relevant when running within an npm script context, and has no effect on command execution or behavior outside of that context.\n *\n * @runtime\n * @internal\n */\n npm_config_fund?: string;\n\n /**\n * The npm execution path, which can be used to determine the location of the npm executable.\n *\n * @remarks\n * This variable is set by npm when running scripts defined in package.json. It provides the absolute path to the npm executable being used to run the script. This can be useful for resolving the location of npm or for debugging purposes. If this variable is not set, it may indicate that the environment is not running within an npm script context, or that npm is not available in the PATH.\n *\n * @runtime\n * @internal\n */\n npm_execpath?: string;\n\n /**\n * The COMSPEC environment variable, which specifies the command-line interpreter to use on Windows.\n *\n * @remarks\n * This variable is used on Windows platforms to determine which command-line interpreter to use when executing commands. It typically points to cmd.exe, but can be customized by the user. If this variable is not set on Windows, it will default to 'cmd.exe'. On non-Windows platforms, this variable is ignored and has no effect on command execution.\n *\n * @runtime\n * @internal\n */\n ComSpec?: string;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"env.mjs","names":[],"sources":["../../src/types/env.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport interface ShellShockEnv {\n /**\n * The system PATHEXT variable, used to determine which file extensions are considered executable on Windows.\n *\n * @remarks\n * If not provided, it will default to '.EXE;.CMD;.BAT;.COM' on Windows, and will be ignored on other platforms. This variable is used to locate executable files when running commands, and is only relevant on Windows platforms. On non-Windows platforms, the system's executable file resolution will be used, and this variable will have no effect.\n *\n * @hidden\n * @runtime\n * @internal\n */\n PATHEXT?: string;\n\n /**\n * The system PATH variable, used to locate executable files.\n *\n * @hidden\n * @runtime\n * @internal\n */\n PATH?: string;\n\n /**\n * The npm user agent string, which can be used to detect if the environment is running within an npm script.\n *\n * @remarks\n * This variable is set by npm when running scripts defined in package.json. It can be used to conditionally adjust behavior when running within an npm script context, such as modifying logging output or adjusting command execution. If this variable is not set, it can be assumed that the environment is not running within an npm script.\n *\n * @hidden\n * @runtime\n * @internal\n */\n npm_config_user_agent?: string;\n\n /**\n * The npm_config_fund environment variable, which can be used to control npm's funding behavior.\n *\n * @remarks\n * This variable is set by npm when running scripts defined in package.json, and can be used to control npm's funding behavior. If set to 'false', it will disable npm's funding messages. If not set, npm will use its default funding behavior. This variable is only relevant when running within an npm script context, and has no effect on command execution or behavior outside of that context.\n *\n * @hidden\n * @runtime\n * @internal\n */\n npm_config_fund?: string;\n\n /**\n * The npm execution path, which can be used to determine the location of the npm executable.\n *\n * @remarks\n * This variable is set by npm when running scripts defined in package.json. It provides the absolute path to the npm executable being used to run the script. This can be useful for resolving the location of npm or for debugging purposes. If this variable is not set, it may indicate that the environment is not running within an npm script context, or that npm is not available in the PATH.\n *\n * @hidden\n * @runtime\n * @internal\n */\n npm_execpath?: string;\n\n /**\n * The COMSPEC environment variable, which specifies the command-line interpreter to use on Windows.\n *\n * @remarks\n * This variable is used on Windows platforms to determine which command-line interpreter to use when executing commands. It typically points to cmd.exe, but can be customized by the user. If this variable is not set on Windows, it will default to 'cmd.exe'. On non-Windows platforms, this variable is ignored and has no effect on command execution.\n *\n * @hidden\n * @runtime\n * @internal\n */\n COMSPEC?: string;\n}\n"],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shell-shock/core",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "private": false,
5
5
  "description": "A package containing the core Shell Shock functionality used to build and manage a command-line application.",
6
6
  "keywords": ["shell-shock", "powerlines", "storm-software"],
@@ -398,5 +398,5 @@
398
398
  "peerDependencies": { "powerlines": ">=0.42.10", "zod": "^3.25.0 || ^4.0.0" },
399
399
  "peerDependenciesMeta": { "zod": { "optional": true } },
400
400
  "publishConfig": { "access": "public" },
401
- "gitHead": "8ca409c1453d9722650670c3df4f4da72abdc308"
401
+ "gitHead": "0a96451134431381e1d79f85dceaaafd5cf94cfe"
402
402
  }