blockly 11.2.0-beta.0 → 11.2.0-beta.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.
Files changed (41) hide show
  1. package/blockly.min.js +265 -261
  2. package/blockly_compressed.js +236 -233
  3. package/blockly_compressed.js.map +1 -1
  4. package/blocks_compressed.js +29 -28
  5. package/blocks_compressed.js.map +1 -1
  6. package/core/block.d.ts +19 -19
  7. package/core/block_svg.d.ts +3 -10
  8. package/core/bubbles/textinput_bubble.d.ts +5 -0
  9. package/core/component_manager.d.ts +1 -1
  10. package/core/connection.d.ts +3 -3
  11. package/core/contextmenu_registry.d.ts +1 -1
  12. package/core/dragging/block_drag_strategy.d.ts +2 -0
  13. package/core/events/events_block_move.d.ts +1 -1
  14. package/core/field.d.ts +5 -5
  15. package/core/field_checkbox.d.ts +1 -1
  16. package/core/field_dropdown.d.ts +34 -0
  17. package/core/field_input.d.ts +5 -5
  18. package/core/flyout_base.d.ts +1 -1
  19. package/core/flyout_metrics_manager.d.ts +1 -1
  20. package/core/generator.d.ts +1 -1
  21. package/core/gesture.d.ts +1 -1
  22. package/core/icons/comment_icon.d.ts +2 -3
  23. package/core/marker_manager.d.ts +3 -3
  24. package/core/options.d.ts +4 -4
  25. package/core/rendered_connection.d.ts +10 -5
  26. package/core/scrollbar_pair.d.ts +1 -1
  27. package/core/shortcut_registry.d.ts +72 -12
  28. package/core/theme_manager.d.ts +1 -1
  29. package/core/toolbox/category.d.ts +2 -2
  30. package/core/toolbox/collapsible_category.d.ts +1 -1
  31. package/core/toolbox/separator.d.ts +1 -1
  32. package/core/toolbox/toolbox.d.ts +8 -8
  33. package/core/utils/drag.d.ts +33 -0
  34. package/core/utils/rect.d.ts +26 -0
  35. package/core/variable_map.d.ts +2 -2
  36. package/core/variable_model.d.ts +1 -1
  37. package/core/workspace.d.ts +1 -1
  38. package/core/workspace_audio.d.ts +1 -1
  39. package/core/workspace_dragger.d.ts +2 -2
  40. package/core/workspace_svg.d.ts +8 -10
  41. package/package.json +9 -8
@@ -30,13 +30,13 @@ export declare class ShortcutRegistry {
30
30
  * Registers a keyboard shortcut.
31
31
  *
32
32
  * @param shortcut The shortcut for this key code.
33
- * @param opt_allowOverrides True to prevent a warning when overriding an
33
+ * @param allowOverrides True to prevent a warning when overriding an
34
34
  * already registered item.
35
35
  * @throws {Error} if a shortcut with the same name already exists.
36
36
  */
37
- register(shortcut: KeyboardShortcut, opt_allowOverrides?: boolean): void;
37
+ register(shortcut: KeyboardShortcut, allowOverrides?: boolean): void;
38
38
  /**
39
- * Unregisters a keyboard shortcut registered with the given key code. This
39
+ * Unregisters a keyboard shortcut registered with the given name. This
40
40
  * will also remove any key mappings that reference this shortcut.
41
41
  *
42
42
  * @param shortcutName The name of the shortcut to unregister.
@@ -46,16 +46,23 @@ export declare class ShortcutRegistry {
46
46
  /**
47
47
  * Adds a mapping between a keycode and a keyboard shortcut.
48
48
  *
49
+ * Normally only one shortcut can be mapped to any given keycode,
50
+ * but setting allowCollisions to true allows a keyboard to be
51
+ * mapped to multiple shortcuts. In that case, when onKeyDown is
52
+ * called with the given keystroke, it will process the mapped
53
+ * shortcuts in reverse order, from the most- to least-recently
54
+ * mapped).
55
+ *
49
56
  * @param keyCode The key code for the keyboard shortcut. If registering a key
50
57
  * code with a modifier (ex: ctrl+c) use
51
58
  * ShortcutRegistry.registry.createSerializedKey;
52
59
  * @param shortcutName The name of the shortcut to execute when the given
53
60
  * keycode is pressed.
54
- * @param opt_allowCollision True to prevent an error when adding a shortcut
61
+ * @param allowCollision True to prevent an error when adding a shortcut
55
62
  * to a key that is already mapped to a shortcut.
56
63
  * @throws {Error} if the given key code is already mapped to a shortcut.
57
64
  */
58
- addKeyMapping(keyCode: string | number | KeyCodes, shortcutName: string, opt_allowCollision?: boolean): void;
65
+ addKeyMapping(keyCode: string | number | KeyCodes, shortcutName: string, allowCollision?: boolean): void;
59
66
  /**
60
67
  * Removes a mapping between a keycode and a keyboard shortcut.
61
68
  *
@@ -64,11 +71,11 @@ export declare class ShortcutRegistry {
64
71
  * ShortcutRegistry.registry.createSerializedKey;
65
72
  * @param shortcutName The name of the shortcut to execute when the given
66
73
  * keycode is pressed.
67
- * @param opt_quiet True to not console warn when there is no shortcut to
74
+ * @param quiet True to not console warn when there is no shortcut to
68
75
  * remove.
69
76
  * @returns True if a key mapping was removed, false otherwise.
70
77
  */
71
- removeKeyMapping(keyCode: string, shortcutName: string, opt_quiet?: boolean): boolean;
78
+ removeKeyMapping(keyCode: string, shortcutName: string, quiet?: boolean): boolean;
72
79
  /**
73
80
  * Removes all the key mappings for a shortcut with the given name.
74
81
  * Useful when changing the default key mappings and the key codes registered
@@ -105,6 +112,21 @@ export declare class ShortcutRegistry {
105
112
  /**
106
113
  * Handles key down events.
107
114
  *
115
+ * - Any `KeyboardShortcut`(s) mapped to the keycodes that cause
116
+ * event `e` to be fired will be processed, in order from least-
117
+ * to most-recently registered.
118
+ * - If the shortcut's `preconditionFn` exists it will be called.
119
+ * If `preconditionFn` returns false the shortcut's `callback`
120
+ * function will be skipped. Processing will continue with the
121
+ * next shortcut, if any.
122
+ * - The shortcut's `callback` function will then be called. If it
123
+ * returns true, processing will terminate and `onKeyDown` will
124
+ * return true. If it returns false, processing will continue
125
+ * with with the next shortcut, if any.
126
+ * - If all registered shortcuts for the given keycode have been
127
+ * processed without any having returned true, `onKeyDown` will
128
+ * return false.
129
+ *
108
130
  * @param workspace The main workspace where the event was captured.
109
131
  * @param e The key down event.
110
132
  * @returns True if the event was handled, false otherwise.
@@ -132,31 +154,69 @@ export declare class ShortcutRegistry {
132
154
  * @param e A key down event.
133
155
  * @returns The serialized key code for the given event.
134
156
  */
135
- private serializeKeyEvent_;
157
+ private serializeKeyEvent;
136
158
  /**
137
159
  * Checks whether any of the given modifiers are not valid.
138
160
  *
139
161
  * @param modifiers List of modifiers to be used with the key.
140
162
  * @throws {Error} if the modifier is not in the valid modifiers list.
141
163
  */
142
- private checkModifiers_;
164
+ private checkModifiers;
143
165
  /**
144
166
  * Creates the serialized key code that will be used in the key map.
145
167
  *
146
168
  * @param keyCode Number code representing the key.
147
169
  * @param modifiers List of modifier key codes to be used with the key. All
148
- * valid modifiers can be found in the ShortcutRegistry.modifierKeys.
170
+ * valid modifiers can be found in the `ShortcutRegistry.modifierKeys`.
149
171
  * @returns The serialized key code for the given modifiers and key.
150
172
  */
151
173
  createSerializedKey(keyCode: number, modifiers: KeyCodes[] | null): string;
152
174
  }
153
175
  export declare namespace ShortcutRegistry {
176
+ /** Interface defining a keyboard shortcut. */
154
177
  interface KeyboardShortcut {
155
- callback?: (p1: WorkspaceSvg, p2: Event, p3: KeyboardShortcut) => boolean;
178
+ /**
179
+ * The function to be called when the shorctut is invoked.
180
+ *
181
+ * @param workspace The `WorkspaceSvg` when the shortcut was
182
+ * invoked.
183
+ * @param e The event that caused the shortcut to be activated.
184
+ * @param shortcut The `KeyboardShortcut` that was activated
185
+ * (i.e., the one this callback is attached to).
186
+ * @returns Returning true ends processing of the invoked keycode.
187
+ * Returning false causes processing to continue with the
188
+ * next-most-recently registered shortcut for the invoked
189
+ * keycode.
190
+ */
191
+ callback?: (workspace: WorkspaceSvg, e: Event, shortcut: KeyboardShortcut) => boolean;
192
+ /** The name of the shortcut. Should be unique. */
156
193
  name: string;
157
- preconditionFn?: (p1: WorkspaceSvg) => boolean;
194
+ /**
195
+ * A function to be called when the shortcut is invoked, before
196
+ * calling `callback`, to decide if this shortcut is applicable in
197
+ * the current situation.
198
+ *
199
+ * @param workspace The `WorkspaceSvg` where the shortcut was
200
+ * invoked.
201
+ * @returns True iff `callback` function should be called.
202
+ */
203
+ preconditionFn?: (workspace: WorkspaceSvg) => boolean;
204
+ /** Optional arbitray extra data attached to the shortcut. */
158
205
  metadata?: object;
206
+ /**
207
+ * Optional list of key codes to be bound (via
208
+ * ShortcutRegistry.prototype.addKeyMapping) to this shortcut.
209
+ */
159
210
  keyCodes?: (number | string)[];
211
+ /**
212
+ * Value of `allowCollision` to pass to `addKeyMapping` when
213
+ * binding this shortcut's `.keyCodes` (if any).
214
+ *
215
+ * N.B.: this is only used for binding keycodes at the time this
216
+ * shortcut is initially registered, not for any subsequent
217
+ * `addKeyMapping` calls that happen to reference this shortcut's
218
+ * name.
219
+ */
160
220
  allowCollision?: boolean;
161
221
  }
162
222
  /** Supported modifiers. */
@@ -19,7 +19,7 @@ export declare class ThemeManager {
19
19
  private readonly workspace;
20
20
  private theme;
21
21
  /** A list of workspaces that are subscribed to this theme. */
22
- private subscribedWorkspaces_;
22
+ private subscribedWorkspaces;
23
23
  private componentDB;
24
24
  /**
25
25
  * @param workspace The main workspace.
@@ -143,7 +143,7 @@ export declare class ToolboxCategory extends ToolboxItem implements ISelectableT
143
143
  * @param styleName Name of the style.
144
144
  * @returns The hex colour for the category.
145
145
  */
146
- private getColourfromStyle_;
146
+ private getColourfromStyle;
147
147
  /**
148
148
  * Gets the HTML element that is clickable.
149
149
  * The parent toolbox element receives clicks. The parent toolbox will add an
@@ -160,7 +160,7 @@ export declare class ToolboxCategory extends ToolboxItem implements ISelectableT
160
160
  * reference string pointing to one of those two values.
161
161
  * @returns The hex colour for the category.
162
162
  */
163
- private parseColour_;
163
+ private parseColour;
164
164
  /**
165
165
  * Adds appropriate classes to display an open icon.
166
166
  *
@@ -40,7 +40,7 @@ export declare class CollapsibleToolboxCategory extends ToolboxCategory implemen
40
40
  *
41
41
  * @param itemDef The information needed to create a toolbox item.
42
42
  */
43
- private createToolboxItem_;
43
+ private createToolboxItem;
44
44
  init(): void;
45
45
  createDom_(): HTMLDivElement;
46
46
  createIconDom_(): HTMLSpanElement;
@@ -15,7 +15,7 @@ export declare class ToolboxSeparator extends ToolboxItem {
15
15
  static registrationName: string;
16
16
  /** All the CSS class names that are used to create a separator. */
17
17
  protected cssConfig_: CssConfig;
18
- private htmlDiv_;
18
+ private htmlDiv;
19
19
  /**
20
20
  * @param separatorDef The information needed to create a separator.
21
21
  * @param toolbox The parent toolbox for the separator.
@@ -29,7 +29,7 @@ export declare class Toolbox extends DeleteArea implements IAutoHideable, IKeybo
29
29
  */
30
30
  id: string;
31
31
  protected toolboxDef_: toolbox.ToolboxInfo;
32
- private readonly horizontalLayout_;
32
+ private readonly horizontalLayout;
33
33
  /** The HTML container for the toolbox. */
34
34
  HtmlDiv: HTMLDivElement | null;
35
35
  /** The HTML container for the contents of a toolbox. */
@@ -44,7 +44,7 @@ export declare class Toolbox extends DeleteArea implements IAutoHideable, IKeybo
44
44
  protected height_: number;
45
45
  RTL: boolean;
46
46
  /** The flyout for the toolbox. */
47
- private flyout_;
47
+ private flyout;
48
48
  protected contentMap_: {
49
49
  [key: string]: IToolboxItem;
50
50
  };
@@ -140,7 +140,7 @@ export declare class Toolbox extends DeleteArea implements IAutoHideable, IKeybo
140
140
  * the toolbox.
141
141
  * @param fragment The document fragment to add the child toolbox elements to.
142
142
  */
143
- private createToolboxItem_;
143
+ private createToolboxItem;
144
144
  /**
145
145
  * Adds an item to the toolbox.
146
146
  *
@@ -364,32 +364,32 @@ export declare class Toolbox extends DeleteArea implements IAutoHideable, IKeybo
364
364
  * @param oldItem The previously selected toolbox item.
365
365
  * @param newItem The newly selected toolbox item.
366
366
  */
367
- private fireSelectEvent_;
367
+ private fireSelectEvent;
368
368
  /**
369
369
  * Closes the current item if it is expanded, or selects the parent.
370
370
  *
371
371
  * @returns True if a parent category was selected, false otherwise.
372
372
  */
373
- private selectParent_;
373
+ private selectParent;
374
374
  /**
375
375
  * Selects the first child of the currently selected item, or nothing if the
376
376
  * toolbox item has no children.
377
377
  *
378
378
  * @returns True if a child category was selected, false otherwise.
379
379
  */
380
- private selectChild_;
380
+ private selectChild;
381
381
  /**
382
382
  * Selects the next visible toolbox item.
383
383
  *
384
384
  * @returns True if a next category was selected, false otherwise.
385
385
  */
386
- private selectNext_;
386
+ private selectNext;
387
387
  /**
388
388
  * Selects the previous visible toolbox item.
389
389
  *
390
390
  * @returns True if a previous category was selected, false otherwise.
391
391
  */
392
- private selectPrevious_;
392
+ private selectPrevious;
393
393
  /** Disposes of this toolbox. */
394
394
  dispose(): void;
395
395
  }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2024 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import type { WorkspaceSvg } from '../workspace_svg.js';
7
+ import { Coordinate } from './coordinate.js';
8
+ /**
9
+ * Start tracking a drag of an object on this workspace by recording the offset
10
+ * between the pointer's current location and the object's starting location.
11
+ *
12
+ * Used for resizing block comments and workspace comments.
13
+ *
14
+ * @param workspace The workspace where the drag is occurring.
15
+ * @param e Pointer down event.
16
+ * @param xy Starting location of object.
17
+ */
18
+ export declare function start(workspace: WorkspaceSvg, e: PointerEvent, xy: Coordinate): void;
19
+ /**
20
+ * Compute the new position of a dragged object in this workspace based on the
21
+ * current pointer position and the offset between the pointer's starting
22
+ * location and the object's starting location.
23
+ *
24
+ * The start function should have be called previously, when the drag started.
25
+ *
26
+ * Used for resizing block comments and workspace comments.
27
+ *
28
+ * @param workspace The workspace where the drag is occurring.
29
+ * @param e Pointer move event.
30
+ * @returns New location of object.
31
+ */
32
+ export declare function move(workspace: WorkspaceSvg, e: PointerEvent): Coordinate;
33
+ //# sourceMappingURL=drag.d.ts.map
@@ -10,6 +10,7 @@
10
10
  *
11
11
  * @class
12
12
  */
13
+ import { Coordinate } from './coordinate.js';
13
14
  /**
14
15
  * Class for representing rectangular regions.
15
16
  */
@@ -25,7 +26,15 @@ export declare class Rect {
25
26
  * @param right Right.
26
27
  */
27
28
  constructor(top: number, bottom: number, left: number, right: number);
29
+ /**
30
+ * Creates a new copy of this rectangle.
31
+ *
32
+ * @returns A copy of this Rect.
33
+ */
34
+ clone(): Rect;
35
+ /** Returns the height of this rectangle. */
28
36
  getHeight(): number;
37
+ /** Returns the width of this rectangle. */
29
38
  getWidth(): number;
30
39
  /**
31
40
  * Tests whether this rectangle contains a x/y coordinate.
@@ -43,5 +52,22 @@ export declare class Rect {
43
52
  * @returns Whether this rectangle intersects the provided rectangle.
44
53
  */
45
54
  intersects(other: Rect): boolean;
55
+ /**
56
+ * Compares bounding rectangles for equality.
57
+ *
58
+ * @param a A Rect.
59
+ * @param b A Rect.
60
+ * @returns True iff the bounding rectangles are equal, or if both are null.
61
+ */
62
+ static equals(a?: Rect | null, b?: Rect | null): boolean;
63
+ /**
64
+ * Creates a new Rect using a position and supplied dimensions.
65
+ *
66
+ * @param position The upper left coordinate of the new rectangle.
67
+ * @param width The width of the rectangle, in pixels.
68
+ * @param height The height of the rectangle, in pixels.
69
+ * @returns A newly created Rect using the provided Coordinate and dimensions.
70
+ */
71
+ static createFromPoint(position: Coordinate, width: number, height: number): Rect;
46
72
  }
47
73
  //# sourceMappingURL=rect.d.ts.map
@@ -54,7 +54,7 @@ export declare class VariableMap {
54
54
  * @param newName New variable name.
55
55
  * @param blocks The list of all blocks in the workspace.
56
56
  */
57
- private renameVariableAndUses_;
57
+ private renameVariableAndUses;
58
58
  /**
59
59
  * Update the name of the given variable to the same name as an existing
60
60
  * variable. The two variables are coalesced into a single variable with the
@@ -66,7 +66,7 @@ export declare class VariableMap {
66
66
  * @param conflictVar The variable that was already using newName.
67
67
  * @param blocks The list of all blocks in the workspace.
68
68
  */
69
- private renameVariableWithConflict_;
69
+ private renameVariableWithConflict;
70
70
  /**
71
71
  * Create a variable with a given name, optional type, and optional ID.
72
72
  *
@@ -20,7 +20,7 @@ export declare class VariableModel {
20
20
  workspace: Workspace;
21
21
  name: string;
22
22
  type: string;
23
- private readonly id_;
23
+ private readonly id;
24
24
  /**
25
25
  * @param workspace The variable's workspace.
26
26
  * @param name The name of the variable. This is the user-visible name (e.g.
@@ -107,7 +107,7 @@ export declare class Workspace implements IASTNodeLocation {
107
107
  * @returns The comparison value. This tells Array.sort() how to change object
108
108
  * a's index.
109
109
  */
110
- private sortObjects_;
110
+ private sortObjects;
111
111
  /**
112
112
  * Adds a block to the list of top blocks.
113
113
  *
@@ -12,7 +12,7 @@ export declare class WorkspaceAudio {
12
12
  /** Database of pre-loaded sounds. */
13
13
  private sounds;
14
14
  /** Time that the last sound was played. */
15
- private lastSound_;
15
+ private lastSound;
16
16
  /** Whether the audio is muted or not. */
17
17
  private muted;
18
18
  /**
@@ -12,8 +12,8 @@ import type { WorkspaceSvg } from './workspace_svg.js';
12
12
  */
13
13
  export declare class WorkspaceDragger {
14
14
  private workspace;
15
- private readonly horizontalScrollEnabled_;
16
- private readonly verticalScrollEnabled_;
15
+ private readonly horizontalScrollEnabled;
16
+ private readonly verticalScrollEnabled;
17
17
  protected startScrollXY_: Coordinate;
18
18
  /** @param workspace The workspace to drag. */
19
19
  constructor(workspace: WorkspaceSvg);
@@ -66,7 +66,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
66
66
  * Whether the workspace is visible. False if the workspace has been hidden
67
67
  * by calling `setVisible(false)`.
68
68
  */
69
- private isVisible_;
69
+ private visible;
70
70
  /**
71
71
  * Whether this workspace has resizes enabled.
72
72
  * Disable during batch operations for a performance improvement.
@@ -138,8 +138,6 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
138
138
  startScrollX: number;
139
139
  /** Vertical scroll value when scrolling started in pixel units. */
140
140
  startScrollY: number;
141
- /** Distance from mouse to object being dragged. */
142
- private dragDeltaXY;
143
141
  /** Current scale. */
144
142
  scale: number;
145
143
  /** Cached scale value. Used to detect changes in viewport. */
@@ -160,7 +158,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
160
158
  * Category-based toolbox providing blocks which may be dragged into this
161
159
  * workspace.
162
160
  */
163
- private toolbox_;
161
+ private toolbox;
164
162
  /**
165
163
  * The current gesture in progress on this workspace, if any.
166
164
  *
@@ -342,7 +340,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
342
340
  *
343
341
  * @param blocks List of blocks to update the style on.
344
342
  */
345
- private updateBlockStyles_;
343
+ private updateBlockStyles;
346
344
  /**
347
345
  * Getter for the inverted screen CTM.
348
346
  *
@@ -471,7 +469,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
471
469
  * Update items that use screen coordinate calculations
472
470
  * because something has changed (e.g. scroll position, window size).
473
471
  */
474
- private updateScreenCalculations_;
472
+ private updateScreenCalculations;
475
473
  /**
476
474
  * If enabled, resize the parts of the workspace that change when the
477
475
  * workspace contents (e.g. block positions) change. This will also scroll
@@ -639,7 +637,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
639
637
  *
640
638
  * @param e Pointer down event.
641
639
  */
642
- private onMouseDown_;
640
+ private onMouseDown;
643
641
  /**
644
642
  * Start tracking a drag of an object on this workspace.
645
643
  *
@@ -695,7 +693,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
695
693
  *
696
694
  * @param e Mouse wheel event.
697
695
  */
698
- private onMouseWheel_;
696
+ private onMouseWheel;
699
697
  /**
700
698
  * Calculate the bounding box for the blocks on the workspace.
701
699
  * Coordinate system: workspace coordinates.
@@ -704,7 +702,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
704
702
  * blocks on the workspace.
705
703
  */
706
704
  getBlocksBoundingBox(): Rect;
707
- /** Clean up the workspace by ordering all the blocks in a column. */
705
+ /** Clean up the workspace by ordering all the blocks in a column such that none overlap. */
708
706
  cleanUp(): void;
709
707
  /**
710
708
  * Show the context menu for the workspace.
@@ -976,7 +974,7 @@ export declare class WorkspaceSvg extends Workspace implements IASTNodeLocationS
976
974
  * @param xyRatio Contains an x and/or y property which is a float between 0
977
975
  * and 1 specifying the degree of scrolling.
978
976
  */
979
- private static setTopLevelWorkspaceMetrics_;
977
+ private static setTopLevelWorkspaceMetrics;
980
978
  }
981
979
  /**
982
980
  * Size the workspace when the contents change. This also updates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blockly",
3
- "version": "11.2.0-beta.0",
3
+ "version": "11.2.0-beta.2",
4
4
  "description": "Blockly is a library for building visual programming editors.",
5
5
  "keywords": [
6
6
  "blockly"
@@ -74,16 +74,16 @@
74
74
  "@hyperjump/json-schema": "^1.5.0",
75
75
  "@microsoft/api-documenter": "^7.22.4",
76
76
  "@microsoft/api-extractor": "^7.29.5",
77
- "@typescript-eslint/eslint-plugin": "^8.1.0",
78
- "@typescript-eslint/parser": "^8.1.0",
79
77
  "async-done": "^2.0.0",
80
78
  "chai": "^5.1.1",
81
- "concurrently": "^8.0.1",
82
- "eslint": "^8.4.1",
79
+ "concurrently": "^9.0.1",
80
+ "eslint": "^9.15.0",
83
81
  "eslint-config-google": "^0.14.0",
84
- "eslint-config-prettier": "^9.0.0",
85
- "eslint-plugin-jsdoc": "^48.0.2",
82
+ "eslint-config-prettier": "^9.1.0",
83
+ "eslint-plugin-jsdoc": "^50.5.0",
84
+ "eslint-plugin-prettier": "^5.2.1",
86
85
  "glob": "^10.3.4",
86
+ "globals": "^15.12.0",
87
87
  "google-closure-compiler": "^20240317.0.0",
88
88
  "gulp": "^5.0.0",
89
89
  "gulp-concat": "^2.6.1",
@@ -106,11 +106,12 @@
106
106
  "readline-sync": "^1.4.10",
107
107
  "rimraf": "^5.0.0",
108
108
  "typescript": "^5.3.3",
109
+ "typescript-eslint": "^8.16.0",
109
110
  "webdriverio": "^9.0.7",
110
111
  "yargs": "^17.2.1"
111
112
  },
112
113
  "dependencies": {
113
- "jsdom": "25.0.0"
114
+ "jsdom": "25.0.1"
114
115
  },
115
116
  "engines": {
116
117
  "node": ">=18"