@burdenoff/ui-engine 2026.1202.1 → 2026.1202.2
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/README.md +1 -1
- package/dist/capture.js +2 -2
- package/dist/drivers.js +4 -4
- package/dist/heal.js +3 -3
- package/dist/{index-486zee53.js → index-3hsp44k5.js} +2 -2
- package/dist/{index-8ntwcfb4.js → index-5xqsjeqj.js} +1 -1
- package/dist/{index-s2hge7va.js → index-68x61c7a.js} +1 -1
- package/dist/{index-qepvchf7.js → index-dcs2pe49.js} +2 -3
- package/dist/{index-0vj2y9fd.js → index-eg57f5cf.js} +1 -1
- package/dist/{index-hvdh7yx9.js → index-pfdm8evf.js} +2 -2
- package/dist/{index-nt1xf2w5.js → index-qm9nd548.js} +1 -1
- package/dist/{index-k7wfq22w.js → index-rs3yzt5q.js} +2 -2
- package/dist/index.js +8 -8
- package/dist/interpret.js +5 -5
- package/dist/recording.js +1 -1
- package/dist/replay.js +2 -2
- package/dist/script.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -216,7 +216,7 @@ The modules were copied from `wspace-botmanor-svc` `src/modules/stewards/teach/`
|
|
|
216
216
|
|
|
217
217
|
- A navigation URL that holds a value masked elsewhere in the same demonstration, as written or percent-encoded, loses its query and fragment, or its path when the value is in the path.
|
|
218
218
|
- `maskUrl` also cuts a reset-style link after its reset segment (`/reset/<token>` becomes `/reset`) and drops a path or fragment that holds a recognisable credential. The sensitive values a URL loses (the password, the values of secret-looking parameters, values that may be a token or a code, and the path segments cut from a reset-style link) are masked in the rest of the recording too, so a code from a verification link does not survive in an intent or a label.
|
|
219
|
-
- A path whose last segment is a single ordinary word holding a reset stem (`/orders/confirmed`, `/team/invites`, `/settings/presets`) is not a reset-style link, so such a page keeps its query and path (BOFF-18078), as any ordinary page does
|
|
219
|
+
- A path whose last segment is a single ordinary word holding a reset stem (`/orders/confirmed`, `/team/invites`, `/settings/presets`) is not a reset-style link, so such a page keeps its query and path (BOFF-18078), as any ordinary page does, unless a query or fragment value has 16 or more characters without a space (`/team/invites?invite=<uuid>`). The same word before another segment (`/invites/<token>`) or with anything else in its segment (`/invites-QWERTYAB`) still is a reset link, as are plural and joined forms (`/users/password_resets/<token>`, `/confirmations/<token>`, `/pwreset/<token>`). A kept reset segment holds only clean reset words and side words such as `password`, `email` or `accept` (`reset-password`, `verify-email`, `accept-invite`), with no digit or run of 16 or more letters; any other reset segment (`/pwreset`, `/magic-9f8e7d6c`, `/confirmabcdefghijklmnop`) is dropped too. A trailing slash after a kept reset segment stays. The landing page of an unsubscribe mail is not an ordinary page: `/unsubscribed?email=a@b.com` stays a reset-style link and becomes `/unsubscribed`, with the address scrubbed from the whole recording, as before BOFF-18078 (BOFF-18125).
|
|
220
220
|
- A plain-word user name, and the plain-word values of harmless parameters of a reset-style link (`lang`, `locale`, `source`, `ref`, `utm_*`, `page`, `tab` and similar, for example `?lang=english`), are removed from that URL only, not from the rest of the recording: they are not secret, and scrubbing them from every label stopped those labels resolving. A value under any other name, a value with a digit or a symbol, or one of 16 characters or more may be a token or a code and is still scrubbed everywhere.
|
|
221
221
|
- `parseRecording` refuses a recording whose stored text (intent, target labels, typed text, URL, window app and title) still holds a recognisable credential, with `RecordingError` code `CREDENTIAL_IN_RECORDING`. The Stewards copy documented this check but did not perform it.
|
|
222
222
|
- `parseRecording(value, { enforceCaptureRules: true })` also refuses, with `CREDENTIAL_IN_RECORDING`, a step that holds a value capture would have masked: a code-like typed value, text typed into a field whose label marks it as secret, a masked step that still carries text, a URL whose query, fragment, user info or reset-style path carries a secret, labels and window titles with a credential or a code, and intents with a credential (capture does not mask a code in an intent unless that code was typed in the demonstration, so neither does this check). Use it for every recording that did not come from `captureRecording` (an API, an import, a hand edit). The check is `unmaskedSecretStep` from `./capture`, ported from the Stewards copy at `84fe0aa` (BOFF-17096); markers already in the text are set aside, so every recording capture produces passes. The message names the step and the field, never the value. The default `parseRecording(value)` is unchanged.
|
package/dist/capture.js
CHANGED
package/dist/drivers.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import"./index-
|
|
1
|
+
import"./index-dcs2pe49.js";
|
|
2
2
|
import {
|
|
3
3
|
parseUiScript2
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-68x61c7a.js";
|
|
5
|
+
import"./index-qm9nd548.js";
|
|
6
6
|
import {
|
|
7
7
|
DOM_DRIVER_CAPABILITIES2,
|
|
8
8
|
safePageText2,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./index-8w31tpfq.js";
|
|
12
12
|
import {
|
|
13
13
|
runUiScript2
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-3hsp44k5.js";
|
|
15
15
|
import {
|
|
16
16
|
UiDriverError2,
|
|
17
17
|
createVirtualClock2
|
package/dist/heal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import"./index-
|
|
2
|
-
import"./index-
|
|
1
|
+
import"./index-dcs2pe49.js";
|
|
2
|
+
import"./index-68x61c7a.js";
|
|
3
3
|
import {
|
|
4
4
|
UI_HEAL_MODES2,
|
|
5
5
|
UI_HEAL_MODE_RANK2,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
matchesUrlPattern2,
|
|
18
18
|
HEAL_POSITION_TOLERANCE_PX2,
|
|
19
19
|
verifyHealCandidate2
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-qm9nd548.js";
|
|
21
21
|
import {
|
|
22
22
|
MAX_HEAL_QUESTION_NODES2,
|
|
23
23
|
MAX_HEAL_NODE_NAME2,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
uiTargetSchema2,
|
|
3
3
|
UiScriptError2,
|
|
4
4
|
parseUiScript2
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-68x61c7a.js";
|
|
6
6
|
import {
|
|
7
7
|
UI_CONSEQUENCES2,
|
|
8
8
|
parseHealMode2,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
usablePopupHandlers2,
|
|
11
11
|
matchesUrlPattern2,
|
|
12
12
|
verifyHealCandidate2
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-qm9nd548.js";
|
|
14
14
|
import {
|
|
15
15
|
isActingStep,
|
|
16
16
|
classifyConsequence2,
|
|
@@ -28,12 +28,11 @@ var ORDINARY_WORDS = new Set([
|
|
|
28
28
|
"unverified",
|
|
29
29
|
"activated",
|
|
30
30
|
"deactivated",
|
|
31
|
-
"recovered"
|
|
32
|
-
"unsubscribed"
|
|
31
|
+
"recovered"
|
|
33
32
|
]);
|
|
34
33
|
var RESET_AFFIX_WORDS = "password|passwd|pass|pwd|account|email|mail|user|login|link|token|code|key";
|
|
35
34
|
var RESET_AFFIX = `(?:${RESET_AFFIX_WORDS})`;
|
|
36
|
-
var CLEAN_RESET_WORD = new RegExp(`^${RESET_AFFIX}?(?:reset|recover|recovery|verify|verification|magic|confirm|confirmation|activate|activation|invite|invitation|unsubscribe)(?:s|es)?${RESET_AFFIX}?$`, "i");
|
|
35
|
+
var CLEAN_RESET_WORD = new RegExp(`^${RESET_AFFIX}?(?:reset|recover|recovery|verify|verification|magic|confirm|confirmation|activate|activation|invite|invitation|unsubscribe|unsubscribed)(?:s|es)?${RESET_AFFIX}?$`, "i");
|
|
37
36
|
var SIDE_WORD = new RegExp(`^(?:${RESET_AFFIX_WORDS}|accept|forgot|forgotten|new|change|request|resend|send|my|your|sign|signup|in|up)$`, "i");
|
|
38
37
|
var PLAIN_WORDS = /^\p{L}[\p{L} ._-]{0,14}$/u;
|
|
39
38
|
var HARMLESS_PARAM = /^(?:lang|language|locale|hl|lc|source|src|ref|referrer|utm_[a-z]+|campaign|medium|theme|view|tab|page|mode|step|flow|channel|platform|display|screen)$/i;
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
uiStepFingerprint2,
|
|
8
8
|
UiScriptError2,
|
|
9
9
|
parseUiScript2
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-68x61c7a.js";
|
|
11
11
|
import {
|
|
12
12
|
maskUrl2,
|
|
13
13
|
sha256Hex2,
|
|
14
14
|
RecordingError2,
|
|
15
15
|
parseRecording2
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-dcs2pe49.js";
|
|
17
17
|
import {
|
|
18
18
|
MAX_SCRIPT_STEPS2,
|
|
19
19
|
MAX_SCRIPT_INPUTS2,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sha256Hex2
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-dcs2pe49.js";
|
|
4
4
|
import {
|
|
5
5
|
NAME_PATTERN2,
|
|
6
6
|
STEP_ID_PATTERN2,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
withFingerprint2,
|
|
10
10
|
UiScriptError2,
|
|
11
11
|
parseUiScript2
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-68x61c7a.js";
|
|
13
13
|
import {
|
|
14
14
|
UiRunError2
|
|
15
15
|
} from "./index-yc0jgph6.js";
|
package/dist/index.js
CHANGED
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
RecordingError2,
|
|
14
14
|
parseRecording2,
|
|
15
15
|
isSavedStepAuthor2
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-dcs2pe49.js";
|
|
17
17
|
import {
|
|
18
18
|
captureRecording2
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-5xqsjeqj.js";
|
|
20
20
|
import {
|
|
21
21
|
MAX_SNAPSHOT_NODES2,
|
|
22
22
|
readSnapshotNodes2,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
finishFallback2,
|
|
31
31
|
markFallbackAsked2,
|
|
32
32
|
replayReasons2
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-eg57f5cf.js";
|
|
34
34
|
import {
|
|
35
35
|
uiScriptRegistry2,
|
|
36
36
|
NAME_PATTERN2,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
UI_EXPRESSION_ARITY2,
|
|
51
51
|
parseUiScript2,
|
|
52
52
|
safeParseUiScript2
|
|
53
|
-
} from "./index-
|
|
53
|
+
} from "./index-68x61c7a.js";
|
|
54
54
|
import {
|
|
55
55
|
UI_SCRIPT_SCHEMA_HASH2,
|
|
56
56
|
schemaHashOf2,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
COMPUTER_USE_SKIP_REASONS2,
|
|
72
72
|
targetFromUiFingerprint2,
|
|
73
73
|
scriptFromComputerUseActions2
|
|
74
|
-
} from "./index-
|
|
74
|
+
} from "./index-pfdm8evf.js";
|
|
75
75
|
import {
|
|
76
76
|
UI_HEAL_MODES2,
|
|
77
77
|
UI_HEAL_MODE_RANK2,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
matchesUrlPattern2,
|
|
90
90
|
HEAL_POSITION_TOLERANCE_PX2,
|
|
91
91
|
verifyHealCandidate2
|
|
92
|
-
} from "./index-
|
|
92
|
+
} from "./index-qm9nd548.js";
|
|
93
93
|
import {
|
|
94
94
|
MAX_CALL_DEPTH2,
|
|
95
95
|
COMPILED_NAME_PREFIX2,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
stripBreakpoints2,
|
|
98
98
|
inlineCalls2,
|
|
99
99
|
compileUiScript2
|
|
100
|
-
} from "./index-
|
|
100
|
+
} from "./index-rs3yzt5q.js";
|
|
101
101
|
import {
|
|
102
102
|
MAX_HEAL_QUESTION_NODES2,
|
|
103
103
|
MAX_HEAL_NODE_NAME2,
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
MAX_PAGE_TEXT2,
|
|
130
130
|
DEFAULT_LIST_ITEMS2,
|
|
131
131
|
runUiScript2
|
|
132
|
-
} from "./index-
|
|
132
|
+
} from "./index-3hsp44k5.js";
|
|
133
133
|
import {
|
|
134
134
|
MAX_HEAL_KEYWORDS2,
|
|
135
135
|
MAX_HEAL_KEYWORD_LENGTH2,
|
package/dist/interpret.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import"./index-
|
|
2
|
-
import"./index-
|
|
3
|
-
import"./index-
|
|
1
|
+
import"./index-dcs2pe49.js";
|
|
2
|
+
import"./index-68x61c7a.js";
|
|
3
|
+
import"./index-qm9nd548.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_CALL_DEPTH2,
|
|
6
6
|
COMPILED_NAME_PREFIX2,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
stripBreakpoints2,
|
|
9
9
|
inlineCalls2,
|
|
10
10
|
compileUiScript2
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-rs3yzt5q.js";
|
|
12
12
|
import {
|
|
13
13
|
MAX_VALUE_TEXT2,
|
|
14
14
|
MAX_VALUE_ITEMS2,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
MAX_PAGE_TEXT2,
|
|
32
32
|
DEFAULT_LIST_ITEMS2,
|
|
33
33
|
runUiScript2
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-3hsp44k5.js";
|
|
35
35
|
import {
|
|
36
36
|
UI_ERROR_FAMILIES2,
|
|
37
37
|
UI_ERROR_CODES2,
|
package/dist/recording.js
CHANGED
package/dist/replay.js
CHANGED
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
finishFallback2,
|
|
7
7
|
markFallbackAsked2,
|
|
8
8
|
replayReasons2
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-eg57f5cf.js";
|
|
10
10
|
import"./index-3v887c75.js";
|
|
11
|
-
import"./index-
|
|
11
|
+
import"./index-dcs2pe49.js";
|
|
12
12
|
export {
|
|
13
13
|
afterReplayCall2 as afterReplayCall,
|
|
14
14
|
finishFallback2 as finishFallback,
|
package/dist/script.js
CHANGED
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
UI_EXPRESSION_ARITY2,
|
|
18
18
|
parseUiScript2,
|
|
19
19
|
safeParseUiScript2
|
|
20
|
-
} from "./index-
|
|
21
|
-
import"./index-
|
|
20
|
+
} from "./index-68x61c7a.js";
|
|
21
|
+
import"./index-dcs2pe49.js";
|
|
22
22
|
import {
|
|
23
23
|
UI_SCRIPT_SCHEMA_HASH2,
|
|
24
24
|
schemaHashOf2,
|
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
COMPUTER_USE_SKIP_REASONS2,
|
|
40
40
|
targetFromUiFingerprint2,
|
|
41
41
|
scriptFromComputerUseActions2
|
|
42
|
-
} from "./index-
|
|
43
|
-
import"./index-
|
|
42
|
+
} from "./index-pfdm8evf.js";
|
|
43
|
+
import"./index-5xqsjeqj.js";
|
|
44
44
|
import {
|
|
45
45
|
UI_SCRIPT_STEP_KEY_PREFIX2,
|
|
46
46
|
UI_SCRIPT_STEP_MESSAGES2,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/ui-engine",
|
|
3
|
-
"version": "2026.1202.
|
|
3
|
+
"version": "2026.1202.2",
|
|
4
4
|
"description": "Shared, browser-safe UI automation engine: recordings, capture-time masking, target resolution, replay, the UI script v1 contract, the multi-method web target resolver and DOM runtime, the UI script interpreter, the UI script analyzer and UI step healing for FluidGrids RPA and BotManor Stewards.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Burdenoff Consultancy Services Pvt. Ltd.",
|