spec-controller 0.1.75 → 0.1.77
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/LICENSE +21 -0
- package/dist/{THIRD-PARTY-LICENSES.txt → THIRD-PARTY-NOTICES.txt} +26 -0
- package/dist/cli.js +4 -21
- package/package.json +5 -7
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 3F Consulting Ltd
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -380,3 +380,29 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
|
380
380
|
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
381
381
|
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|
382
382
|
THIS SOFTWARE.
|
|
383
|
+
|
|
384
|
+
------------------------------------------------------------------------
|
|
385
|
+
|
|
386
|
+
@3f-consulting/spec-controller-core (MIT)
|
|
387
|
+
|
|
388
|
+
MIT License
|
|
389
|
+
|
|
390
|
+
Copyright (c) 2026 3F Consulting Ltd
|
|
391
|
+
|
|
392
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
393
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
394
|
+
in the Software without restriction, including without limitation the rights
|
|
395
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
396
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
397
|
+
furnished to do so, subject to the following conditions:
|
|
398
|
+
|
|
399
|
+
The above copyright notice and this permission notice shall be included in all
|
|
400
|
+
copies or substantial portions of the Software.
|
|
401
|
+
|
|
402
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
403
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
404
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
405
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
406
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
407
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
408
|
+
SOFTWARE.
|
package/dist/cli.js
CHANGED
|
@@ -12878,7 +12878,7 @@ function commandHeads(line) {
|
|
|
12878
12878
|
});
|
|
12879
12879
|
}
|
|
12880
12880
|
function handedOn(words) {
|
|
12881
|
-
const prefix = LAUNCHERS.find((row) =>
|
|
12881
|
+
const prefix = LAUNCHERS.find((row) => opensWithWords(words, row.words));
|
|
12882
12882
|
return prefix === void 0 ? void 0 : words.slice(prefix.words.length + prefix.operands);
|
|
12883
12883
|
}
|
|
12884
12884
|
function launched(words) {
|
|
@@ -12914,7 +12914,7 @@ function pastOptions(words, at, prefix) {
|
|
|
12914
12914
|
return pastOptions(words, at + (prefix.valued.includes(word) ? 2 : 1), prefix);
|
|
12915
12915
|
}
|
|
12916
12916
|
function passedOn(words) {
|
|
12917
|
-
const prefix = COMMAND_PREFIXES.find((row) =>
|
|
12917
|
+
const prefix = COMMAND_PREFIXES.find((row) => opensWithWords(words, row.words));
|
|
12918
12918
|
return prefix === void 0 ? void 0 : words.slice(pastOptions(words, prefix.words.length, prefix) + prefix.operands);
|
|
12919
12919
|
}
|
|
12920
12920
|
function runsScript(head, script) {
|
|
@@ -12942,7 +12942,7 @@ function runsBy(lineRuns) {
|
|
|
12942
12942
|
function finalStages(command) {
|
|
12943
12943
|
return command.replace(/\\\r?\n/g, " ").split(/\r?\n/).map((line) => line.replace(UP_TO_LAST_PIPE, "")).join("\n");
|
|
12944
12944
|
}
|
|
12945
|
-
var SCRIPT_CHAIN_DEPTH, UP_TO_LAST_PIPE, COMMAND_SEPARATOR, BACKGROUND, ASSIGNMENT, launcher, runsNext, SHELL_WORDS, COMMAND_PREFIXES, LAUNCHERS, SCRIPT_INVOCATIONS, anywhere, isOneOf, asCommand, commandRuns, commandRunsAsCommand, shellReading;
|
|
12945
|
+
var SCRIPT_CHAIN_DEPTH, UP_TO_LAST_PIPE, COMMAND_SEPARATOR, BACKGROUND, ASSIGNMENT, launcher, runsNext, SHELL_WORDS, COMMAND_PREFIXES, LAUNCHERS, SCRIPT_INVOCATIONS, opensWithWords, anywhere, isOneOf, asCommand, commandRuns, commandRunsAsCommand, shellReading;
|
|
12946
12946
|
var init_commandRuns = __esm({
|
|
12947
12947
|
"../core/dist/parse/commandRuns.js"() {
|
|
12948
12948
|
"use strict";
|
|
@@ -13033,6 +13033,7 @@ var init_commandRuns = __esm({
|
|
|
13033
13033
|
}
|
|
13034
13034
|
]
|
|
13035
13035
|
]);
|
|
13036
|
+
opensWithWords = (words, prefix) => prefix.every((word, at) => words[at] === word);
|
|
13036
13037
|
anywhere = (line, invocation) => {
|
|
13037
13038
|
const words = wordsOf(line);
|
|
13038
13039
|
return words.some((_, at) => opensWith(words.slice(at), invocation));
|
|
@@ -28979,21 +28980,3 @@ var init_main = __esm({
|
|
|
28979
28980
|
// src/cli.ts
|
|
28980
28981
|
init_crashGuards();
|
|
28981
28982
|
void boot(process, process.stdout, process.stderr, process.argv.slice(2), () => Promise.resolve().then(() => (init_main(), main_exports)));
|
|
28982
|
-
/*! Bundled license information:
|
|
28983
|
-
|
|
28984
|
-
reflect-metadata/Reflect.js:
|
|
28985
|
-
(*! *****************************************************************************
|
|
28986
|
-
Copyright (C) Microsoft. All rights reserved.
|
|
28987
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
28988
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
28989
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
28990
|
-
|
|
28991
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
28992
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
28993
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
28994
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
28995
|
-
|
|
28996
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
28997
|
-
and limitations under the License.
|
|
28998
|
-
***************************************************************************** *)
|
|
28999
|
-
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spec-controller",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.77",
|
|
4
4
|
"description": "Reconcile the behaviour your scenarios name against the evidence that actually ran — the deterministic `balance` CLI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"reconciliation",
|
|
@@ -21,18 +21,16 @@
|
|
|
21
21
|
"files": [
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
|
-
"
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"esbuild": "0.28.1",
|
|
25
26
|
"fast-xml-parser": "^5.11.2",
|
|
26
27
|
"yaml": "^2.9.0",
|
|
27
|
-
"@3f-consulting/spec-controller-core": "0.1.
|
|
28
|
-
},
|
|
29
|
-
"devDependencies": {
|
|
30
|
-
"esbuild": "0.28.1"
|
|
28
|
+
"@3f-consulting/spec-controller-core": "0.1.77"
|
|
31
29
|
},
|
|
32
30
|
"publishConfig": {
|
|
33
31
|
"access": "public"
|
|
34
32
|
},
|
|
35
33
|
"scripts": {
|
|
36
|
-
"build": "
|
|
34
|
+
"build": "node bundle.mjs"
|
|
37
35
|
}
|
|
38
36
|
}
|