@taskcluster/client-web 103.0.0 → 104.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taskcluster/client-web",
3
- "version": "103.0.0",
3
+ "version": "104.0.0",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "exports": "./src/index.js",
@@ -17,17 +17,17 @@
17
17
  "test": "vitest run"
18
18
  },
19
19
  "devDependencies": {
20
- "@biomejs/biome": "^2.4.15",
20
+ "@biomejs/biome": "^2.5.5",
21
21
  "@vitest/browser": "^4.1.10",
22
- "@vitest/browser-playwright": "^4.1.9",
23
- "playwright": "1.61.1",
22
+ "@vitest/browser-playwright": "^4.1.10",
23
+ "playwright": "1.62.1",
24
24
  "vite-plugin-node-polyfills": "^0.28.0",
25
- "vitest": "^4.1.9"
25
+ "vitest": "^4.1.10"
26
26
  },
27
27
  "dependencies": {
28
28
  "crypto-js": "^4.2.0",
29
29
  "hawk": "^9.0.2",
30
- "query-string": "^9.0.0",
30
+ "query-string": "^9.4.1",
31
31
  "taskcluster-lib-urls": "^13.0.2"
32
32
  },
33
33
  "publishConfig": {
@@ -157,6 +157,10 @@ export default class Queue extends Client {
157
157
  // Seal task group to prevent creation of new tasks.
158
158
  // Task group can be sealed once and is irreversible. Calling it multiple times
159
159
  // will return same result and will not update it again.
160
+ // Sealing makes `cancelTaskGroup` meaningful by stopping task creators
161
+ // from adding more tasks to a group being cancelled. It is not a
162
+ // security feature: the check is not atomic with task creation, so a
163
+ // `createTask` racing this call may still succeed.
160
164
  sealTaskGroup(...args) {
161
165
  this.validate(this.sealTaskGroup.entry, args);
162
166
 
@@ -45,7 +45,7 @@ export default class WebServer extends Client {
45
45
 
46
46
  return this.request(this.taskGroupProfile.entry, args);
47
47
  }
48
- // Generate a Firefox Profiler–compatible profile from a task's log output.
48
+ // Generate a Firefox Profiler–compatible profile from a task's log output for resolved tasks.
49
49
  // Parses `public/logs/live.log` (or `live_backing.log`) for timing data.
50
50
  taskProfile(...args) {
51
51
  this.validate(this.taskProfile.entry, args);