From 1344bddb94b6ba8c773a60412377a8a1223ab96f Mon Sep 17 00:00:00 2001 From: Carlos Rufo Date: Mon, 31 Mar 2025 04:50:06 -0700 Subject: [PATCH 1/2] Improve absolute mode (#6450) * feat: enhance typing for ComponentDrag and Dragger, adding optional parameters for improved drag functionality * feat: add customizable styles for drag guides and containers in ComponentDrag * feat: enhance drag event handling with improved coordinate tracking * feat: add drag spot type and enhance drag event handling in ComponentDrag * feat: add default options for command execution and simplify ComponentDrag styles handling * fix: cleanup * feat: enhance ComponentDrag with customizable style options and improved drag handling * feat: update addStyle method to return style options and enhance drag event data * feat: enhance drag event handling with structured event properties and cleanup unused code * feat: add run and stop command tests * test: improve command run and stop tests with objectContaining assertions * test: update command run and stop tests to use expect.not.objectContaining for options * test: simplify assertions in run and stop command tests by removing unnecessary expect.not.objectContaining checks * test: skip run and stop command tests for default options and add TODOs for future fixes * refactor: rename drag event properties for clarity and consistency * refactor: update drag event properties to include origin component and remove last matched component * refactor: enhance drag event properties to include origin guides and matched guides * refactor: remove drag event type and clean up default options in configuration * feat: add types * refactor: improve guide rendering logic and enhance drag event properties * refactor: update addStyle type definition to accept component and styles parameters * refactor: streamline guide rendering logic and separate matched guides retrieval * refactor: remove unused guidesTarget variable and optimize guide rendering during drag * refactor: optimize guide rendering performance and enhance drag event handling * refactor: simplify guide target retrieval and enhance type safety in ComponentDrag * fix: recalculate guides to prevent issues with initial drag position * refactor: enhance guide matching logic to improve accuracy during drag operations * refactor: rename guide matching functions for clarity and consistency * refactor: clean up deprecated properties in ComponentDrag and improve command test clarity * refactor: update command test expectations * refactor: improve command option handling and test clarity * refactor: remove unused default options and enhance guide matching type definitions * refactor: clarify guide matching type definitions by specifying units in pixels * refactor: enhance guide matching logic to include complementary types --- packages/core/src/canvas/index.ts | 2 +- packages/core/src/commands/config/config.ts | 35 +- packages/core/src/commands/index.ts | 4 + .../core/src/commands/view/ComponentDrag.ts | 623 +++++++++++++----- packages/core/src/utils/Dragger.ts | 2 +- packages/core/test/specs/commands/index.ts | 34 +- 6 files changed, 530 insertions(+), 170 deletions(-) diff --git a/packages/core/src/canvas/index.ts b/packages/core/src/canvas/index.ts index 3e4aca716..9169d565c 100644 --- a/packages/core/src/canvas/index.ts +++ b/packages/core/src/canvas/index.ts @@ -515,7 +515,7 @@ export default class CanvasModule extends Module { * @return {Object} * @private */ - getMouseRelativeCanvas(ev: MouseEvent | { clientX: number; clientY: number }, opts: any) { + getMouseRelativeCanvas(ev: MouseEvent | { clientX: number; clientY: number }, opts?: Record) { const zoom = this.getZoomDecimal(); const canvasView = this.getCanvasView(); const canvasPos = canvasView.getPosition(opts) ?? { top: 0, left: 0 }; diff --git a/packages/core/src/commands/config/config.ts b/packages/core/src/commands/config/config.ts index 9712308cd..3f1822bb3 100644 --- a/packages/core/src/commands/config/config.ts +++ b/packages/core/src/commands/config/config.ts @@ -1,4 +1,9 @@ -import { CommandObject } from '../view/CommandAbstract'; +import type { CommandObject, CommandOptions } from '../view/CommandAbstract'; + +interface CommandConfigDefaultOptions { + run?: (options: CommandOptions) => CommandOptions; + stop?: (options: CommandOptions) => CommandOptions; +} export interface CommandsConfig { /** @@ -19,12 +24,40 @@ export interface CommandsConfig { * @default true */ strict?: boolean; + + /** + * Default options for commands + * These options will be merged with the options passed when the command is run. + * This allows you to define common behavior for commands in one place. + * @default {} + * @example + * defaultOptions: { + * 'core:component-drag': { + * run: (options: Record) => ({ + * ...options, + * skipGuidesRender: true, + * addStyle({ component, styles, partial }) { + * component.addStyle(styles, { partial }); + * }, + * }), + * stop: (options: Record) => ({ + * ...options, + * * skipGuidesRender: true, + * addStyle({ component, styles, partial }) { + * component.addStyle(styles, { partial }); + * }, + * }), + * } + * } + */ + defaultOptions?: Record; } const config: () => CommandsConfig = () => ({ stylePrefix: 'com-', defaults: {}, strict: true, + defaultOptions: {}, }); export default config; diff --git a/packages/core/src/commands/index.ts b/packages/core/src/commands/index.ts index c1cf426c9..a43f88b4f 100644 --- a/packages/core/src/commands/index.ts +++ b/packages/core/src/commands/index.ts @@ -389,6 +389,8 @@ export default class CommandsModule extends Module this.guidesStatic, - guidesTarget: () => this.guidesTarget, - ...dragger, + guidesStatic: () => this.guidesStatic ?? [], + guidesTarget: () => this.guidesTarget ?? [], + ...(opts.dragger ?? {}), }; this.setupGuides(); this.opts = opts; this.editor = editor; this.em = editor.getModel(); - this.target = target; - this.isTran = mode == 'translate'; + this.target = opts.target; + this.isTran = opts.mode == 'translate'; this.guidesContainer = this.getGuidesContainer(); this.guidesTarget = this.getGuidesTarget(); this.guidesStatic = this.getGuidesStatic(); + let drg = this.dragger; if (!drg) { @@ -60,19 +57,22 @@ export default { drg.setOptions(config); } - event && drg.start(event); - this.toggleDrag(1); + opts.event && drg.start(opts.event); + this.toggleDrag(true); this.em.trigger(`${evName}:start`, this.getEventOpts()); return drg; }, getEventOpts() { + const guidesActive = this.guidesTarget?.filter((item) => item.active) ?? []; return { mode: this.opts.mode, + component: this.target, target: this.target, guidesTarget: this.guidesTarget, guidesStatic: this.guidesStatic, + guidesMatched: this.getGuidesMatched(guidesActive), }; }, @@ -81,9 +81,9 @@ export default { }, setupGuides() { - (this.guides || []).forEach((item: any) => { + (this.guides ?? []).forEach((item) => { const { guide } = item; - guide && guide.parentNode.removeChild(guide); + guide?.parentNode?.removeChild(guide); }); this.guides = []; }, @@ -93,7 +93,7 @@ export default { if (!guidesEl) { const { editor, em, opts } = this; - const pfx = editor.getConfig().stylePrefix; + const pfx = editor.getConfig().stylePrefix ?? ''; const elInfoX = document.createElement('div'); const elInfoY = document.createElement('div'); const guideContent = `
@@ -107,18 +107,18 @@ export default { elInfoY.innerHTML = guideContent; guidesEl.appendChild(elInfoX); guidesEl.appendChild(elInfoY); - editor.Canvas.getGlobalToolsEl().appendChild(guidesEl); + editor.Canvas.getGlobalToolsEl()?.appendChild(guidesEl); this.guidesEl = guidesEl; this.elGuideInfoX = elInfoX; this.elGuideInfoY = elInfoY; - this.elGuideInfoContentX = elInfoX.querySelector(`.${pfx}guide-info__content`); - this.elGuideInfoContentY = elInfoY.querySelector(`.${pfx}guide-info__content`); + this.elGuideInfoContentX = elInfoX.querySelector(`.${pfx}guide-info__content`) ?? undefined; + this.elGuideInfoContentY = elInfoY.querySelector(`.${pfx}guide-info__content`) ?? undefined; em.on( 'canvas:update frame:scroll', debounce(() => { this.updateGuides(); - opts.debug && this.guides?.forEach((item: any) => this.renderGuide(item)); + opts.debug && this.guides?.forEach((item) => this.renderGuide(item)); }, 200), ); } @@ -127,32 +127,39 @@ export default { }, getGuidesStatic() { - let result: any = []; + let result: Guide[] = []; const el = this.target.getEl(); - const { parentNode = {} } = el; - each(parentNode.children, (item) => (result = result.concat(el !== item ? this.getElementGuides(item) : []))); + const parentNode = el?.parentElement; + if (!parentNode) return []; + each( + parentNode.children, + (item) => (result = result.concat(el !== item ? this.getElementGuides(item as HTMLElement) : [])), + ); return result.concat(this.getElementGuides(parentNode)); }, getGuidesTarget() { - return this.getElementGuides(this.target.getEl()); + return this.getElementGuides(this.target.getEl()!); }, - updateGuides(guides: any) { - let lastEl: any; - let lastPos: any; - (guides || this.guides).forEach((item: any) => { + updateGuides(guides) { + let lastEl: HTMLElement; + let lastPos: ComponentOrigRect; + const guidesToUpdate = guides ?? this.guides ?? []; + guidesToUpdate.forEach((item) => { const { origin } = item; const pos = lastEl === origin ? lastPos : this.getElementPos(origin); lastEl = origin; lastPos = pos; - each(this.getGuidePosUpdate(item, pos), (val, key) => (item[key] = val)); + each(this.getGuidePosUpdate(item, pos), (val, key) => { + (item as Record)[key] = val; + }); item.originRect = pos; }); }, - getGuidePosUpdate(item: any, rect: any) { + getGuidePosUpdate(item, rect) { const result: { x?: number; y?: number } = {}; const { top, height, left, width } = rect; @@ -180,16 +187,17 @@ export default { return result; }, - renderGuide(item: any = {}) { - const el = item.guide || document.createElement('div'); + renderGuide(item) { + if (this.opts.skipGuidesRender) return; + const el = item.guide ?? document.createElement('div'); const un = 'px'; const guideSize = item.active ? 2 : 1; - let numEl = el.children[0]; - el.style = `position: absolute; background-color: ${item.active ? 'green' : 'red'};`; + + el.style.cssText = `position: absolute; background-color: ${item.active ? 'green' : 'red'};`; if (!el.children.length) { - numEl = document.createElement('div'); - numEl.style = 'position: absolute; color: red; padding: 5px; top: 0; left: 0;'; + const numEl = document.createElement('div'); + numEl.style.cssText = 'position: absolute; color: red; padding: 5px; top: 0; left: 0;'; el.appendChild(numEl); } @@ -197,7 +205,7 @@ export default { el.style.width = '100%'; el.style.height = `${guideSize}${un}`; el.style.top = `${item.y}${un}`; - el.style.left = 0; + el.style.left = '0'; } else { el.style.width = `${guideSize}${un}`; el.style.height = '100%'; @@ -205,38 +213,52 @@ export default { el.style.top = `0${un}`; } - !item.guide && this.guidesContainer.appendChild(el); + !item.guide && this.guidesContainer?.appendChild(el); return el; }, - getElementPos(el: HTMLElement) { + getElementPos(el) { return this.editor.Canvas.getElementPos(el, { noScroll: 1 }); }, - getElementGuides(el: HTMLElement) { + getElementGuides(el) { const { opts } = this; + const origin = el; const originRect = this.getElementPos(el); + const component = getComponentModel(el); + const componentView = getComponentView(el); + const { top, height, left, width } = originRect; - // @ts-ignore - const guides: Guide[] = [ + const guidePoints: { type: string; x?: number; y?: number }[] = [ { type: 't', y: top }, // Top { type: 'b', y: top + height }, // Bottom { type: 'l', x: left }, // Left { type: 'r', x: left + width }, // Right { type: 'x', x: left + width / 2 }, // Mid x { type: 'y', y: top + height / 2 }, // Mid y - ].map((item) => ({ - ...item, - origin: el, - originRect, - guide: opts.debug && this.renderGuide(item), - })); - guides.forEach((item) => this.guides?.push(item)); + ]; + + const guides = guidePoints.map((guidePoint) => { + const guide = opts.debug ? this.renderGuide(guidePoint) : undefined; + return { + ...guidePoint, + component, + componentView, + componentEl: origin, + origin, + componentElRect: originRect, + originRect, + guideEl: guide, + guide, + }; + }) as Guide[]; + + guides.forEach((guidePoint) => this.guides?.push(guidePoint)); return guides; }, - getTranslate(transform: string, axis = 'x') { + getTranslate(transform, axis = 'x') { let result = 0; (transform || '').split(' ').forEach((item) => { const itemStr = item.trim(); @@ -246,7 +268,7 @@ export default { return result; }, - setTranslate(transform: string, axis: string, value: string) { + setTranslate(transform, axis, value) { const fn = `translate${axis.toUpperCase()}(`; const val = `${fn}${value})`; let result = (transform || '') @@ -264,35 +286,39 @@ export default { getPosition() { const { target, isTran } = this; - const { left, top, transform } = target.getStyle(); + const targetStyle = target.getStyle(); + + const transform = targetStyle.transform as string | undefined; + const left = targetStyle.left as string | undefined; + const top = targetStyle.top as string | undefined; + let x = 0; let y = 0; - if (isTran) { + if (isTran && transform) { x = this.getTranslate(transform); y = this.getTranslate(transform, 'y'); } else { - x = parseFloat(left || 0); - y = parseFloat(top || 0); + x = parseFloat(left ?? '0'); + y = parseFloat(top ?? '0'); } return { x, y }; }, - setPosition({ x, y, end, position, width, height }: any) { - const { target, isTran, em } = this; + setPosition({ x, y, end, position, width, height }) { + const { target, isTran, em, opts } = this; const unit = 'px'; const __p = !end; // Indicate if partial change - const left = `${parseInt(x, 10)}${unit}`; - const top = `${parseInt(y, 10)}${unit}`; + const left = `${parseInt(`${x}`, 10)}${unit}`; + const top = `${parseInt(`${y}`, 10)}${unit}`; let styleUp = {}; if (isTran) { - let transform = target.getStyle()['transform'] || ''; + let transform = (target.getStyle()?.transform ?? '') as string; transform = this.setTranslate(transform, 'x', left); transform = this.setTranslate(transform, 'y', top); styleUp = { transform, __p }; - target.addStyle(styleUp, { avoidStore: !end }); } else { const adds: any = { position, width, height }; const style: any = { left, top, __p }; @@ -301,10 +327,15 @@ export default { if (prop) style[add] = prop; }); styleUp = style; + } + + if (opts.addStyle) { + opts.addStyle({ component: target, styles: styleUp, partial: !end }); + } else { target.addStyle(styleUp, { avoidStore: !end }); } - em?.Styles.__emitCmpStyleUpdate(styleUp, { components: em.getSelected() }); + em.Styles.__emitCmpStyleUpdate(styleUp, { components: em.getSelected() }); }, _getDragData() { @@ -316,35 +347,37 @@ export default { }; }, - onStart(event: Event) { + onStart(event) { const { target, editor, isTran, opts } = this; - const { center, onStart } = opts; const { Canvas } = editor; const style = target.getStyle(); const position = 'absolute'; const relPos = [position, 'relative']; - onStart && onStart(this._getDragData()); + opts.onStart?.(this._getDragData()); if (isTran) return; if (style.position !== position) { - let { left, top, width, height } = Canvas.offset(target.getEl()); + let { left, top, width, height } = Canvas.offset(target.getEl()!); let parent = target.parent(); - let parentRel; + let parentRel = null; // Check for the relative parent do { - const pStyle = parent.getStyle(); - parentRel = relPos.indexOf(pStyle.position) >= 0 ? parent : null; - parent = parent.parent(); + const pStyle = parent?.getStyle(); + const position = pStyle?.position as string | undefined; + if (position) { + parentRel = relPos.indexOf(position) >= 0 ? parent : null; + } + parent = parent?.parent(); } while (parent && !parentRel); // Center the target to the pointer position (used in Droppable for Blocks) - if (center) { - const { x, y } = Canvas.getMouseRelativeCanvas(event); + if (opts.center) { + const { x, y } = Canvas.getMouseRelativeCanvas(event as MouseEvent); left = x; top = y; } else if (parentRel) { - const offsetP = Canvas.offset(parentRel.getEl()); + const offsetP = Canvas.offset(parentRel.getEl()!); left = left - offsetP.left; top = top - offsetP.top; } @@ -357,102 +390,167 @@ export default { position, }); } + + // Recalculate guides to avoid issues with the new position durin the first drag + this.guidesStatic = this.getGuidesStatic(); }, - onDrag(...args: any) { + onDrag() { const { guidesTarget, opts } = this; - const { onDrag } = opts; + this.updateGuides(guidesTarget); - opts.debug && guidesTarget.forEach((item: any) => this.renderGuide(item)); - opts.guidesInfo && this.renderGuideInfo(guidesTarget.filter((item: any) => item.active)); - onDrag && onDrag(this._getDragData()); + opts.debug && guidesTarget?.forEach((item) => this.renderGuide(item)); + opts.guidesInfo && this.renderGuideInfo(guidesTarget?.filter((item) => item.active) ?? []); + opts.onDrag?.(this._getDragData()); + + this.em.trigger(`${evName}:move`, this.getEventOpts()); }, - onEnd(ev: Event, dragger: any, opt = {}) { + onEnd(ev, _dragger, opt) { const { editor, opts, id } = this; - const { onEnd } = opts; - onEnd && onEnd(ev, opt, { event: ev, ...opt, ...this._getDragData() }); - editor.stopCommand(id); + opts.onEnd?.(ev, opt, { event: ev, ...opt, ...this._getDragData() }); + editor.stopCommand(`${id}`); this.hideGuidesInfo(); + this.em.trigger(`${evName}:end`, this.getEventOpts()); }, hideGuidesInfo() { ['X', 'Y'].forEach((item) => { - const guide = this[`elGuideInfo${item}`]; + const guide = this[`elGuideInfo${item}` as ElGuideInfoKey]; if (guide) guide.style.display = 'none'; }); }, - /** - * Render guides with spacing information - */ - renderGuideInfo(guides: Guide[] = []) { - const { guidesStatic } = this; + renderGuideInfo(guides = []) { this.hideGuidesInfo(); - guides.forEach((item) => { - const { origin, x } = item; - const rectOrigin = this.getElementPos(origin); - const axis = isUndefined(x) ? 'y' : 'x'; - const isY = axis === 'y'; - const origEdge1 = rectOrigin[isY ? 'left' : 'top']; - const origEdge1Raw = rectOrigin.rect[isY ? 'left' : 'top']; - const origEdge2 = isY ? origEdge1 + rectOrigin.width : origEdge1 + rectOrigin.height; - const origEdge2Raw = isY ? origEdge1Raw + rectOrigin.rect.width : origEdge1Raw + rectOrigin.rect.height; - const elGuideInfo = this[`elGuideInfo${axis.toUpperCase()}`]; - const elGuideInfoCnt = this[`elGuideInfoContent${axis.toUpperCase()}`]; - const guideInfoStyle = elGuideInfo.style; - - // Find the nearest element - const res = guidesStatic - ?.filter((stat) => stat.type === item.type) - .map((stat) => { - const { left, width, top, height } = stat.originRect; + + const guidesMatched = this.getGuidesMatched(guides); + + guidesMatched.forEach((guideMatched) => { + if (!this.opts.skipGuidesRender) { + this.renderSingleGuideInfo(guideMatched); + } + + this.em.trigger(`${evName}:active`, { + ...this.getEventOpts(), + ...guideMatched, + }); + }); + }, + + renderSingleGuideInfo(guideMatched) { + const { posFirst, posSecond, size, sizeRaw, guide, elGuideInfo, elGuideInfoCnt } = guideMatched; + + const axis = isUndefined(guide.x) ? 'y' : 'x'; + const isY = axis === 'y'; + + const guideInfoStyle = elGuideInfo.style; + + guideInfoStyle.display = ''; + guideInfoStyle[isY ? 'top' : 'left'] = `${posFirst}px`; + guideInfoStyle[isY ? 'left' : 'top'] = `${posSecond}px`; + guideInfoStyle[isY ? 'width' : 'height'] = `${size}px`; + + elGuideInfoCnt.innerHTML = `${Math.round(sizeRaw)}px`; + }, + + getGuidesMatched(guides = []) { + const { guidesStatic = [] } = this; + return guides + .map((guide) => { + const { origin, x } = guide; + const rectOrigin = this.getElementPos(origin); + const axis = isUndefined(x) ? 'y' : 'x'; + const isY = axis === 'y'; + + // Calculate the edges of the element + const origEdge1 = rectOrigin[isY ? 'left' : 'top']; + const origEdge1Raw = rectOrigin.rect[isY ? 'left' : 'top']; + const origEdge2 = isY ? origEdge1 + rectOrigin.width : origEdge1 + rectOrigin.height; + const origEdge2Raw = isY ? origEdge1Raw + rectOrigin.rect.width : origEdge1Raw + rectOrigin.rect.height; + + // Find the nearest element + const guidesMatched = guidesStatic + .filter((guideStatic) => { + // Define complementary guide types + const complementaryTypes: Record = { + l: ['r', 'x'], // Left can match with Right or Middle (horizontal) + r: ['l', 'x'], // Right can match with Left or Middle (horizontal) + x: ['l', 'r'], // Middle (horizontal) can match with Left or Right + t: ['b', 'y'], // Top can match with Bottom or Middle (vertical) + b: ['t', 'y'], // Bottom can match with Top or Middle (vertical) + y: ['t', 'b'], // Middle (vertical) can match with Top or Bottom + }; + + // Check if the guide type matches or is complementary + return guideStatic.type === guide.type || complementaryTypes[guide.type]?.includes(guideStatic.type); + }) + .map((guideStatic) => { + const { left, width, top, height } = guideStatic.originRect; + const statEdge1 = isY ? left : top; + const statEdge2 = isY ? left + width : top + height; + return { + gap: statEdge2 < origEdge1 ? origEdge1 - statEdge2 : statEdge1 - origEdge2, + guide: guideStatic, + }; + }) + .filter((item) => item.gap > 0) + .sort((a, b) => a.gap - b.gap) + .map((item) => item.guide) + // Filter the guides that don't match the position of the dragged element + .filter((item) => { + switch (guide.type) { + case 'l': + case 'r': + case 'x': + return Math.abs(item.x - guide.x) < 1; + case 't': + case 'b': + case 'y': + return Math.abs(item.y - guide.y) < 1; + default: + return false; + } + }); + + // TODO: consider supporting multiple guides + const firstGuideMatched = guidesMatched[0]; + + if (firstGuideMatched) { + const { left, width, top, height, rect } = firstGuideMatched.originRect; + const isEdge1 = isY ? left < rectOrigin.left : top < rectOrigin.top; const statEdge1 = isY ? left : top; + const statEdge1Raw = isY ? rect.left : rect.top; const statEdge2 = isY ? left + width : top + height; + const statEdge2Raw = isY ? rect.left + rect.width : rect.top + rect.height; + const posFirst = isY ? guide.y : guide.x; + const posSecond = isEdge1 ? statEdge2 : origEdge2; + const size = isEdge1 ? origEdge1 - statEdge2 : statEdge1 - origEdge2; + const sizeRaw = isEdge1 ? origEdge1Raw - statEdge2Raw : statEdge1Raw - origEdge2Raw; + + const elGuideInfo = this[`elGuideInfo${axis.toUpperCase()}` as ElGuideInfoKey]!; + const elGuideInfoCnt = this[`elGuideInfoContent${axis.toUpperCase()}` as ElGuideInfoContentKey]!; + return { - gap: statEdge2 < origEdge1 ? origEdge1 - statEdge2 : statEdge1 - origEdge2, - guide: stat, + guide, + guidesStatic, + matched: firstGuideMatched, + posFirst, + posSecond, + size, + sizeRaw, + elGuideInfo, + elGuideInfoCnt, }; - }) - .filter((item) => item.gap > 0) - .sort((a, b) => a.gap - b.gap) - .map((item) => item.guide)[0]; - - if (res) { - const { left, width, top, height, rect } = res.originRect; - const isEdge1 = isY ? left < rectOrigin.left : top < rectOrigin.top; - const statEdge1 = isY ? left : top; - const statEdge1Raw = isY ? rect.left : rect.top; - const statEdge2 = isY ? left + width : top + height; - const statEdge2Raw = isY ? rect.left + rect.width : rect.top + rect.height; - const posFirst = isY ? item.y : item.x; - const posSecond = isEdge1 ? statEdge2 : origEdge2; - const pos2 = `${posFirst}px`; - const size = isEdge1 ? origEdge1 - statEdge2 : statEdge1 - origEdge2; - const sizeRaw = isEdge1 ? origEdge1Raw - statEdge2Raw : statEdge1Raw - origEdge2Raw; - guideInfoStyle.display = ''; - guideInfoStyle[isY ? 'top' : 'left'] = pos2; - guideInfoStyle[isY ? 'left' : 'top'] = `${posSecond}px`; - guideInfoStyle[isY ? 'width' : 'height'] = `${size}px`; - elGuideInfoCnt.innerHTML = `${Math.round(sizeRaw)}px`; - this.em.trigger(`${evName}:active`, { - ...this.getEventOpts(), - guide: item, - guidesStatic, - matched: res, - posFirst, - posSecond, - size, - sizeRaw, - elGuideInfo, - elGuideInfoCnt, - }); - } - }); + } else { + return null; + } + }) + .filter(Boolean) as GuideMatched[]; }, - toggleDrag(enable: boolean) { + toggleDrag(enable) { const { ppfx, editor } = this; const methodCls = enable ? 'add' : 'remove'; const classes = [`${ppfx}is__grabbing`]; @@ -461,11 +559,206 @@ export default { classes.forEach((cls) => body.classList[methodCls](cls)); Canvas[enable ? 'startAutoscroll' : 'stopAutoscroll'](); }, -} as CommandObject< - any, - { - guidesStatic?: Guide[]; - guides?: Guide[]; - [k: string]: any; - } ->; + + // These properties values are set in the run method, they need to be initialized here to avoid TS errors + editor: undefined as unknown as Editor, + em: undefined as unknown as EditorModel, + opts: undefined as unknown as ComponentDragOpts, + target: undefined as unknown as Component, +} as CommandObject; + +interface ComponentDragProps { + editor: Editor; + em?: EditorModel; + guides?: Guide[]; + guidesContainer?: HTMLElement; + guidesEl?: HTMLElement; + guidesStatic?: Guide[]; + guidesTarget?: Guide[]; + isTran?: boolean; + opts: ComponentDragOpts; + target: Component; + elGuideInfoX?: HTMLElement; + elGuideInfoY?: HTMLElement; + elGuideInfoContentX?: HTMLElement; + elGuideInfoContentY?: HTMLElement; + dragger?: Dragger; + + getEventOpts: () => ComponentDragEventProps; + stop: () => void; + setupGuides: () => void; + getGuidesContainer: () => HTMLElement; + getGuidesStatic: () => Guide[]; + getGuidesTarget: () => Guide[]; + updateGuides: (guides?: Guide[]) => void; + getGuidePosUpdate: (item: Guide, rect: ComponentOrigRect) => { x?: number; y?: number }; + renderGuide: (item: { active?: boolean; guide?: HTMLElement; x?: number; y?: number }) => HTMLElement; + getElementPos: (el: HTMLElement) => ComponentOrigRect; + getElementGuides: (el: HTMLElement) => Guide[]; + getTranslate: (transform: string, axis?: string) => number; + setTranslate: (transform: string, axis: string, value: string) => string; + getPosition: DraggerOptions['getPosition']; + setPosition: (data: any) => void; // TODO: fix any + _getDragData: () => { target: Component; parent?: Component; index?: number }; + onStart: DraggerOptions['onStart']; + onDrag: DraggerOptions['onDrag']; + onEnd: DraggerOptions['onEnd']; + hideGuidesInfo: () => void; + renderGuideInfo: (guides?: Guide[]) => void; + renderSingleGuideInfo: (guideMatched: GuideMatched) => void; + getGuidesMatched: (guides?: Guide[]) => GuideMatched[]; + toggleDrag: (enable?: boolean) => void; +} + +type ComponentDragOpts = { + target: Component; + center?: number; + debug?: boolean; + dragger?: DraggerOptions; + event?: Event; + guidesInfo?: number; + mode?: 'absolute' | 'translate'; + skipGuidesRender?: boolean; + addStyle?: (data: { component?: Component; styles?: Record; partial?: boolean }) => void; + onStart?: (data: any) => Editor; + onDrag?: (data: any) => Editor; + onEnd?: (ev: Event, opt: any, data: any) => void; +}; + +/** + * Represents the properties of the drag events. + */ +type ComponentDragEventProps = { + /** + * The mode of the drag (absolute or translate). + */ + mode: ComponentDragOpts['mode']; + /** + * The component being dragged. + * @deprecated Use `component` instead. + */ + target: Component; + /** + * The component being dragged. + */ + component: Component; + /** + * The guides of the component being dragged. + * @deprecated Use `guidesMatched` instead. + */ + guidesTarget: Guide[]; + /** + * All the guides except the ones of the component being dragged. + * @deprecated Use `guidesMatched` instead. + */ + guidesStatic: Guide[]; + /** + * The guides that are being matched. + */ + guidesMatched: GuideMatched[]; +}; + +/** + * Represents a guide used during component dragging. + */ +type Guide = { + /** + * The type of the guide (e.g., 't', 'b', 'l', 'r', 'x', 'y'). + */ + type: string; + /** + * The vertical position of the guide. + */ + y: number; + /** + * The horizontal position of the guide. + */ + x: number; + /** + * The component associated with the guide. + */ + component: Component; + /** + * The view of the component associated with the guide. + */ + componentView: ComponentView; + /** + * The HTML element associated with the guide. + * @deprecated Use `componentEl` instead. + */ + origin: HTMLElement; + /** + * The HTML element associated with the guide. + */ + componentEl: HTMLElement; + /** + * The rectangle (position and dimensions) of the guide's element. + * @deprecated Use `componentElRect` instead. + */ + originRect: ComponentOrigRect; + /** + * The rectangle (position and dimensions) of the guide's element. + */ + componentElRect: ComponentOrigRect; + /** + * The HTML element representing the guide. + * @deprecated Use `guideEl` instead. + */ + guide?: HTMLElement; + /** + * The HTML element representing the guide. + */ + guideEl?: HTMLElement; + /** + * Indicates whether the guide is active. + * @todo The `active` property is not set in the code, but the value is changing. + */ + active?: boolean; +}; + +/** + * Represents a matched guide during component dragging. + */ +type GuideMatched = { + /** + * The static guides used for matching. + */ + guidesStatic: Guide[]; + /** + * The origin component guide. + */ + guide: Guide; + /** + * The matched component guide. + */ + matched: Guide; + /** + * The primary position of the guide (either x or y depending on the axis). + */ + posFirst: number; + /** + * The secondary position of the guide (the opposite axis of posFirst). + */ + posSecond: number; + /** + * The distance between the two matched guides in pixels. + */ + size: number; + /** + * The raw distance between the two matched guides in pixels. + */ + sizeRaw: number; + /** + * The HTML element representing the guide info (line between the guides). + */ + elGuideInfo: HTMLElement; + /** + * The container element for the guide info (text content of the line). + */ + elGuideInfoCnt: HTMLElement; +}; + +type ComponentRect = { left: number; width: number; top: number; height: number }; +type ComponentOrigRect = ComponentRect & { rect: ComponentRect }; +type ElGuideInfoKey = 'elGuideInfoX' | 'elGuideInfoY'; +type ElGuideInfoContentKey = 'elGuideInfoContentX' | 'elGuideInfoContentY'; diff --git a/packages/core/src/utils/Dragger.ts b/packages/core/src/utils/Dragger.ts index 23c661cd0..c43afdf56 100644 --- a/packages/core/src/utils/Dragger.ts +++ b/packages/core/src/utils/Dragger.ts @@ -13,7 +13,7 @@ type Guide = { active?: boolean; }; -interface DraggerOptions { +export interface DraggerOptions { /** * Element on which the drag will be executed. By default, the document will be used */ diff --git a/packages/core/test/specs/commands/index.ts b/packages/core/test/specs/commands/index.ts index 310369afa..14651266c 100644 --- a/packages/core/test/specs/commands/index.ts +++ b/packages/core/test/specs/commands/index.ts @@ -1,6 +1,6 @@ -import Commands from '../../../src/commands'; import EditorModel from '../../../src/editor/model/Editor'; -import { Command, CommandFunction } from '../../../src/commands/view/CommandAbstract'; +import type Commands from '../../../src/commands'; +import type { Command, CommandFunction, CommandOptions } from '../../../src/commands/view/CommandAbstract'; describe('Commands', () => { describe('Main', () => { @@ -94,5 +94,35 @@ describe('Commands', () => { expect(obj.isActive(commName)).toBe(false); expect(Object.keys(obj.getActive()).length).toBe(0); }); + + test('Run command and check if none, custom, and default options are passed', () => { + const customOptions = { customValue: 'customValue' }; + const defaultOptions = { defaultValue: 'defaultValue' }; + + // Create a function that returns the options + const runFn = (_editor: any, _sender: any, options: any) => options; + + // Add the command + obj.add(commName, { run: runFn }); + + // Run the command without custom options + let result = obj.run(commName); + expect(result).toEqual({}); + + // Run the command with custom options + result = obj.run(commName, customOptions); + expect(result).toEqual(customOptions); + + // Set default options for the command + obj.config.defaultOptions = { + [commName]: { + run: (options: CommandOptions) => ({ ...options, ...defaultOptions }), + }, + }; + + // Run the command with default options + result = obj.run(commName, customOptions); + expect(result).toEqual({ ...customOptions, ...defaultOptions }); + }); }); }); From f067e3f793ac4721e82b34828d408c07d8761333 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 15:54:17 +0400 Subject: [PATCH 2/2] build(deps): bump @babel/plugin-transform-runtime from 7.25.4 to 7.26.10 (#6461) Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.25.4 to 7.26.10. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-plugin-transform-runtime) --- updated-dependencies: - dependency-name: "@babel/plugin-transform-runtime" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- packages/cli/package.json | 2 +- pnpm-lock.yaml | 574 ++++++++++++++++++++++++++++---------- 2 files changed, 421 insertions(+), 155 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index 03263a04d..ba33a61f1 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -29,7 +29,7 @@ "license": "BSD-3-Clause", "dependencies": { "@babel/core": "7.25.2", - "@babel/plugin-transform-runtime": "7.25.4", + "@babel/plugin-transform-runtime": "7.26.10", "@babel/preset-env": "7.25.4", "@babel/runtime": "7.25.6", "babel-loader": "9.1.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 98942357d..d4a6e1105 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -145,8 +145,8 @@ importers: specifier: 7.25.2 version: 7.25.2 '@babel/plugin-transform-runtime': - specifier: 7.25.4 - version: 7.25.4(@babel/core@7.25.2) + specifier: 7.26.10 + version: 7.26.10(@babel/core@7.25.2) '@babel/preset-env': specifier: 7.25.4 version: 7.25.4(@babel/core@7.25.2) @@ -287,10 +287,18 @@ packages: resolution: {integrity: sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==} engines: {node: '>=6.9.0'} + '@babel/code-frame@7.26.2': + resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==} + engines: {node: '>=6.9.0'} + '@babel/compat-data@7.25.8': resolution: {integrity: sha512-ZsysZyXY4Tlx+Q53XdnOFmqwfB9QDTHYxaZYajWRoBLuLEAwI2UIbtxOjWh/cFaa9IKUlcB+DDuoskLuKu56JA==} engines: {node: '>=6.9.0'} + '@babel/compat-data@7.26.8': + resolution: {integrity: sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==} + engines: {node: '>=6.9.0'} + '@babel/core@7.25.2': resolution: {integrity: sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==} engines: {node: '>=6.9.0'} @@ -299,6 +307,10 @@ packages: resolution: {integrity: sha512-5Dqpl5fyV9pIAD62yK9P7fcA768uVPUyrQmqpqstHWgMma4feF1x/oFysBCVZLY5wJ2GkMUCdsNDnGZrPoR6rA==} engines: {node: '>=6.9.0'} + '@babel/generator@7.26.10': + resolution: {integrity: sha512-rRHT8siFIXQrAYOYqZQVsAr8vJ+cBNqcVAY6m5V8/4QqzaPl+zDBe6cLEPRDuNOUf3ww8RfJVlOyQMoSI+5Ang==} + engines: {node: '>=6.9.0'} + '@babel/helper-annotate-as-pure@7.25.7': resolution: {integrity: sha512-4xwU8StnqnlIhhioZf1tqnVWeQ9pvH/ujS8hRfw/WOza+/a+1qv69BWNy+oY231maTCWgKWhfBU7kDpsds6zAA==} engines: {node: '>=6.9.0'} @@ -311,6 +323,10 @@ packages: resolution: {integrity: sha512-DniTEax0sv6isaw6qSQSfV4gVRNtw2rte8HHM45t9ZR0xILaufBRNkpMifCRiAPyvL4ACD6v0gfCwCmtOQaV4A==} engines: {node: '>=6.9.0'} + '@babel/helper-compilation-targets@7.26.5': + resolution: {integrity: sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA==} + engines: {node: '>=6.9.0'} + '@babel/helper-create-class-features-plugin@7.25.7': resolution: {integrity: sha512-bD4WQhbkx80mAyj/WCm4ZHcF4rDxkoLFO6ph8/5/mQ3z4vAzltQXAmbc7GvVJx5H+lk5Mi5EmbTeox5nMGCsbw==} engines: {node: '>=6.9.0'} @@ -328,12 +344,17 @@ packages: peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + '@babel/helper-define-polyfill-provider@0.6.4': + resolution: {integrity: sha512-jljfR1rGnXXNWnmQg2K3+bvhkxB51Rl32QRaOTuwwjviGrHzIbSc8+x9CpraDtbT7mfyjXObULP4w/adunNwAw==} + peerDependencies: + '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + '@babel/helper-member-expression-to-functions@7.25.7': resolution: {integrity: sha512-O31Ssjd5K6lPbTX9AAYpSKrZmLeagt9uwschJd+Ixo6QiRyfpvgtVQp8qrDR9UNFjZ8+DO34ZkdrN+BnPXemeA==} engines: {node: '>=6.9.0'} - '@babel/helper-module-imports@7.25.7': - resolution: {integrity: sha512-o0xCgpNmRohmnoWKQ0Ij8IdddjyBFE4T2kagL/x6M3+4zUgc+4qTOUBoNe4XxDskt1HPKO007ZPiMgLDq2s7Kw==} + '@babel/helper-module-imports@7.25.9': + resolution: {integrity: sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==} engines: {node: '>=6.9.0'} '@babel/helper-module-transforms@7.25.7': @@ -350,6 +371,10 @@ packages: resolution: {integrity: sha512-eaPZai0PiqCi09pPs3pAFfl/zYgGaE6IdXtYvmf0qlcDTd3WCtO7JWCcRd64e0EQrcYgiHibEZnOGsSY4QSgaw==} engines: {node: '>=6.9.0'} + '@babel/helper-plugin-utils@7.26.5': + resolution: {integrity: sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==} + engines: {node: '>=6.9.0'} + '@babel/helper-remap-async-to-generator@7.25.7': resolution: {integrity: sha512-kRGE89hLnPfcz6fTrlNU+uhgcwv0mBE4Gv3P9Ke9kLVJYpi4AMVVEElXvB5CabrPZW4nCM8P8UyyjrzCM0O2sw==} engines: {node: '>=6.9.0'} @@ -374,14 +399,26 @@ packages: resolution: {integrity: sha512-CbkjYdsJNHFk8uqpEkpCvRs3YRp9tY6FmFY7wLMSYuGYkrdUi7r2lc4/wqsvlHoMznX3WJ9IP8giGPq68T/Y6g==} engines: {node: '>=6.9.0'} + '@babel/helper-string-parser@7.25.9': + resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==} + engines: {node: '>=6.9.0'} + '@babel/helper-validator-identifier@7.25.7': resolution: {integrity: sha512-AM6TzwYqGChO45oiuPqwL2t20/HdMC1rTPAesnBCgPCSF1x3oN9MVUwQV2iyz4xqWrctwK5RNC8LV22kaQCNYg==} engines: {node: '>=6.9.0'} + '@babel/helper-validator-identifier@7.25.9': + resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==} + engines: {node: '>=6.9.0'} + '@babel/helper-validator-option@7.25.7': resolution: {integrity: sha512-ytbPLsm+GjArDYXJ8Ydr1c/KJuutjF2besPNbIZnZ6MKUxi/uTA22t2ymmA4WFjZFpjiAMO0xuuJPqK2nvDVfQ==} engines: {node: '>=6.9.0'} + '@babel/helper-validator-option@7.25.9': + resolution: {integrity: sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==} + engines: {node: '>=6.9.0'} + '@babel/helper-wrap-function@7.25.7': resolution: {integrity: sha512-MA0roW3JF2bD1ptAaJnvcabsVlNQShUaThyJbCDD4bCp8NEgiFvpoqRI2YS22hHlc2thjO/fTg2ShLMC3jygAg==} engines: {node: '>=6.9.0'} @@ -399,6 +436,11 @@ packages: engines: {node: '>=6.0.0'} hasBin: true + '@babel/parser@7.26.10': + resolution: {integrity: sha512-6aQR2zGE/QFi8JpDLjUZEPYOs7+mhKXm86VaKFiLP35JQwQb6bwUE+XbvkH0EptsYhbNBSUGaUBLKqxH1xSgsA==} + engines: {node: '>=6.0.0'} + hasBin: true + '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.7': resolution: {integrity: sha512-UV9Lg53zyebzD1DwQoT9mzkEKa922LNUp5YkTJ6Uta0RbyXaQNUgcvSt7qIu1PpPzVb6rd10OVNTzkyBGeVmxQ==} engines: {node: '>=6.9.0'} @@ -807,8 +849,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-runtime@7.25.4': - resolution: {integrity: sha512-8hsyG+KUYGY0coX6KUCDancA0Vw225KJ2HJO0yCNr1vq5r+lJTleDaJf0K7iOhjw4SWhu03TMBzYTJ9krmzULQ==} + '@babel/plugin-transform-runtime@7.26.10': + resolution: {integrity: sha512-NWaL2qG6HRpONTnj4JvDU6th4jYeZOJgu3QhmFTCihib0ermtOJqktA5BduGm3suhhVe9EMP9c9+mfJ/I9slqw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -898,14 +940,26 @@ packages: resolution: {integrity: sha512-wRwtAgI3bAS+JGU2upWNL9lSlDcRCqD05BZ1n3X2ONLH1WilFP6O1otQjeMK/1g0pvYcXC7b/qVUB1keofjtZA==} engines: {node: '>=6.9.0'} + '@babel/template@7.26.9': + resolution: {integrity: sha512-qyRplbeIpNZhmzOysF/wFMuP9sctmh2cFzRAZOn1YapxBsE1i9bJIY586R/WBLfLcmcBlM8ROBiQURnnNy+zfA==} + engines: {node: '>=6.9.0'} + '@babel/traverse@7.25.7': resolution: {integrity: sha512-jatJPT1Zjqvh/1FyJs6qAHL+Dzb7sTb+xr7Q+gM1b+1oBsMsQQ4FkVKb6dFlJvLlVssqkRzV05Jzervt9yhnzg==} engines: {node: '>=6.9.0'} + '@babel/traverse@7.26.10': + resolution: {integrity: sha512-k8NuDrxr0WrPH5Aupqb2LCVURP/S0vBEn5mK6iH+GIYob66U5EtoZvcdudR2jQ4cmTwhEwW1DLB+Yyas9zjF6A==} + engines: {node: '>=6.9.0'} + '@babel/types@7.25.8': resolution: {integrity: sha512-JWtuCu8VQsMladxVz/P4HzHUGCAwpuqacmowgXFs5XjxIgKuNjnLokQzuVjlTvIzODaDmpjT3oxcC48vyk9EWg==} engines: {node: '>=6.9.0'} + '@babel/types@7.26.10': + resolution: {integrity: sha512-emqcG3vHrpxUKTrxcblR36dcrcoRDvKmnL/dCL6ZsHaShW80qxCAcNhzQZrpeM765VzEos+xOi4s+r4IXzTwdQ==} + engines: {node: '>=6.9.0'} + '@bcoe/v8-coverage@0.2.3': resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} @@ -1030,6 +1084,10 @@ packages: resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} engines: {node: '>=6.0.0'} + '@jridgewell/gen-mapping@0.3.8': + resolution: {integrity: sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==} + engines: {node: '>=6.0.0'} + '@jridgewell/resolve-uri@3.1.2': resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} engines: {node: '>=6.0.0'} @@ -2135,16 +2193,31 @@ packages: peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + babel-plugin-polyfill-corejs2@0.4.13: + resolution: {integrity: sha512-3sX/eOms8kd3q2KZ6DAhKPc0dgm525Gqq5NtWKZ7QYYZEv57OQ54KtblzJzH1lQF/eQxO8KjWGIK9IPUJNus5g==} + peerDependencies: + '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + babel-plugin-polyfill-corejs3@0.10.6: resolution: {integrity: sha512-b37+KR2i/khY5sKmWNVQAnitvquQbNdWy6lJdsr0kmquCKEEUgMKK4SboVM3HtfnZilfjr4MMQ7vY58FVWDtIA==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + babel-plugin-polyfill-corejs3@0.11.1: + resolution: {integrity: sha512-yGCqvBT4rwMczo28xkH/noxJ6MZ4nJfkVYdoDaC/utLtWrXxv27HVrzAeSbqR8SxDsp46n0YF47EbHoixy6rXQ==} + peerDependencies: + '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + babel-plugin-polyfill-regenerator@0.6.2: resolution: {integrity: sha512-2R25rQZWP63nGwaAswvDazbPXfrM3HwVoBXK6HcqeKrSrL/JqcC/rDcf95l4r7LXLyxDXc8uQDa064GubtCABg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + babel-plugin-polyfill-regenerator@0.6.4: + resolution: {integrity: sha512-7gD3pRadPrbjhjLyxebmx/WrFYcuSjZ0XbdUujQMZ/fcE9oeewk2U/7PCvez84UeuK3oSjmPZ0Ch0dlupQvGzw==} + peerDependencies: + '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + babel-preset-current-node-syntax@1.1.0: resolution: {integrity: sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==} peerDependencies: @@ -2270,6 +2343,11 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true + browserslist@4.24.4: + resolution: {integrity: sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + bs-logger@0.2.6: resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} engines: {node: '>= 6'} @@ -2382,6 +2460,9 @@ packages: caniuse-lite@1.0.30001669: resolution: {integrity: sha512-DlWzFDJqstqtIVx1zeSpIMLjunf5SmwOw0N2Ck/QSQdS8PLS4+9HrLaYei4w8BIAL7IB/UEDu889d8vhCTPA0w==} + caniuse-lite@1.0.30001707: + resolution: {integrity: sha512-3qtRjw/HQSMlDWf+X79N206fepf4SOOU6SQLMaq/0KkZLmSjPxAkBOQQ+FxbHKfHmYLZFfdWsO3KA90ceHPSnw==} + caseless@0.12.0: resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} @@ -2850,6 +2931,9 @@ packages: core-js-compat@3.38.1: resolution: {integrity: sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==} + core-js-compat@3.41.0: + resolution: {integrity: sha512-RFsU9LySVue9RTwdDVX/T0e2Y6jRYWXERKElIjpuEOEnxaXffI0X7RUwVzfYLfzuLXSNJDYoRYUAmRUcyln20A==} + core-js@3.38.1: resolution: {integrity: sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==} @@ -3076,6 +3160,15 @@ packages: supports-color: optional: true + debug@4.4.0: + resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + decamelize@1.2.0: resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} engines: {node: '>=0.10.0'} @@ -3337,6 +3430,9 @@ packages: engines: {node: '>=0.10.0'} hasBin: true + electron-to-chromium@1.5.123: + resolution: {integrity: sha512-refir3NlutEZqlKaBLK0tzlVLe5P2wDKS7UQt/3SpibizgsRAPOsqQC3ffw1nlv3ze5gjRQZYHoPymgVZkplFA==} + electron-to-chromium@1.5.41: resolution: {integrity: sha512-dfdv/2xNjX0P8Vzme4cfzHqnPm5xsZXwsolTYr0eyW18IUmNyG08vL+fttvinTfhKfIKdRoqkDIC9e9iWQCNYQ==} @@ -4671,6 +4767,10 @@ packages: resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==} engines: {node: '>= 0.4'} + is-core-module@2.16.1: + resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==} + engines: {node: '>= 0.4'} + is-data-descriptor@1.0.1: resolution: {integrity: sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw==} engines: {node: '>= 0.4'} @@ -5136,6 +5236,11 @@ packages: engines: {node: '>=6'} hasBin: true + jsesc@3.1.0: + resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} + engines: {node: '>=6'} + hasBin: true + json-buffer@3.0.0: resolution: {integrity: sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==} @@ -5326,6 +5431,7 @@ packages: lodash.template@4.5.0: resolution: {integrity: sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==} + deprecated: This package is deprecated. Use https://socket.dev/npm/package/eta instead. lodash.templatesettings@4.2.0: resolution: {integrity: sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==} @@ -5829,6 +5935,9 @@ packages: node-releases@2.0.18: resolution: {integrity: sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==} + node-releases@2.0.19: + resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} + nopt@1.0.10: resolution: {integrity: sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==} hasBin: true @@ -6785,6 +6894,11 @@ packages: resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} engines: {node: '>=10'} + resolve@1.22.10: + resolution: {integrity: sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==} + engines: {node: '>= 0.4'} + hasBin: true + resolve@1.22.8: resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true @@ -6951,6 +7065,11 @@ packages: engines: {node: '>=10'} hasBin: true + semver@7.7.1: + resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} + engines: {node: '>=10'} + hasBin: true + send@0.19.0: resolution: {integrity: sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==} engines: {node: '>= 0.8.0'} @@ -7769,6 +7888,12 @@ packages: peerDependencies: browserslist: '>= 4.21.0' + update-browserslist-db@1.1.3: + resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + update-notifier@4.1.3: resolution: {integrity: sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==} engines: {node: '>=8'} @@ -8326,8 +8451,16 @@ snapshots: '@babel/highlight': 7.25.7 picocolors: 1.1.1 + '@babel/code-frame@7.26.2': + dependencies: + '@babel/helper-validator-identifier': 7.25.9 + js-tokens: 4.0.0 + picocolors: 1.1.1 + '@babel/compat-data@7.25.8': {} + '@babel/compat-data@7.26.8': {} + '@babel/core@7.25.2': dependencies: '@ampproject/remapping': 2.3.0 @@ -8355,14 +8488,22 @@ snapshots: '@jridgewell/trace-mapping': 0.3.25 jsesc: 3.0.2 + '@babel/generator@7.26.10': + dependencies: + '@babel/parser': 7.26.10 + '@babel/types': 7.26.10 + '@jridgewell/gen-mapping': 0.3.8 + '@jridgewell/trace-mapping': 0.3.25 + jsesc: 3.1.0 + '@babel/helper-annotate-as-pure@7.25.7': dependencies: - '@babel/types': 7.25.8 + '@babel/types': 7.26.10 '@babel/helper-builder-binary-assignment-operator-visitor@7.25.7': dependencies: - '@babel/traverse': 7.25.7 - '@babel/types': 7.25.8 + '@babel/traverse': 7.26.10 + '@babel/types': 7.26.10 transitivePeerDependencies: - supports-color @@ -8374,6 +8515,14 @@ snapshots: lru-cache: 5.1.1 semver: 6.3.1 + '@babel/helper-compilation-targets@7.26.5': + dependencies: + '@babel/compat-data': 7.26.8 + '@babel/helper-validator-option': 7.25.9 + browserslist: 4.24.4 + lru-cache: 5.1.1 + semver: 6.3.1 + '@babel/helper-create-class-features-plugin@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 @@ -8382,7 +8531,7 @@ snapshots: '@babel/helper-optimise-call-expression': 7.25.7 '@babel/helper-replace-supers': 7.25.7(@babel/core@7.25.2) '@babel/helper-skip-transparent-expression-wrappers': 7.25.7 - '@babel/traverse': 7.25.7 + '@babel/traverse': 7.26.10 semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -8398,31 +8547,42 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-compilation-targets': 7.25.7 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 debug: 4.3.7(supports-color@6.1.0) lodash.debounce: 4.0.8 resolve: 1.22.8 transitivePeerDependencies: - supports-color + '@babel/helper-define-polyfill-provider@0.6.4(@babel/core@7.25.2)': + dependencies: + '@babel/core': 7.25.2 + '@babel/helper-compilation-targets': 7.26.5 + '@babel/helper-plugin-utils': 7.26.5 + debug: 4.4.0 + lodash.debounce: 4.0.8 + resolve: 1.22.10 + transitivePeerDependencies: + - supports-color + '@babel/helper-member-expression-to-functions@7.25.7': dependencies: - '@babel/traverse': 7.25.7 - '@babel/types': 7.25.8 + '@babel/traverse': 7.26.10 + '@babel/types': 7.26.10 transitivePeerDependencies: - supports-color - '@babel/helper-module-imports@7.25.7': + '@babel/helper-module-imports@7.25.9': dependencies: - '@babel/traverse': 7.25.7 - '@babel/types': 7.25.8 + '@babel/traverse': 7.26.10 + '@babel/types': 7.26.10 transitivePeerDependencies: - supports-color '@babel/helper-module-transforms@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-module-imports': 7.25.7 + '@babel/helper-module-imports': 7.25.9 '@babel/helper-simple-access': 7.25.7 '@babel/helper-validator-identifier': 7.25.7 '@babel/traverse': 7.25.7 @@ -8431,16 +8591,18 @@ snapshots: '@babel/helper-optimise-call-expression@7.25.7': dependencies: - '@babel/types': 7.25.8 + '@babel/types': 7.26.10 '@babel/helper-plugin-utils@7.25.7': {} + '@babel/helper-plugin-utils@7.26.5': {} + '@babel/helper-remap-async-to-generator@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.25.7 '@babel/helper-wrap-function': 7.25.7 - '@babel/traverse': 7.25.7 + '@babel/traverse': 7.26.10 transitivePeerDependencies: - supports-color @@ -8449,7 +8611,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-member-expression-to-functions': 7.25.7 '@babel/helper-optimise-call-expression': 7.25.7 - '@babel/traverse': 7.25.7 + '@babel/traverse': 7.26.10 transitivePeerDependencies: - supports-color @@ -8462,22 +8624,28 @@ snapshots: '@babel/helper-skip-transparent-expression-wrappers@7.25.7': dependencies: - '@babel/traverse': 7.25.7 - '@babel/types': 7.25.8 + '@babel/traverse': 7.26.10 + '@babel/types': 7.26.10 transitivePeerDependencies: - supports-color '@babel/helper-string-parser@7.25.7': {} + '@babel/helper-string-parser@7.25.9': {} + '@babel/helper-validator-identifier@7.25.7': {} + '@babel/helper-validator-identifier@7.25.9': {} + '@babel/helper-validator-option@7.25.7': {} + '@babel/helper-validator-option@7.25.9': {} + '@babel/helper-wrap-function@7.25.7': dependencies: - '@babel/template': 7.25.7 - '@babel/traverse': 7.25.7 - '@babel/types': 7.25.8 + '@babel/template': 7.26.9 + '@babel/traverse': 7.26.10 + '@babel/types': 7.26.10 transitivePeerDependencies: - supports-color @@ -8497,10 +8665,14 @@ snapshots: dependencies: '@babel/types': 7.25.8 + '@babel/parser@7.26.10': + dependencies: + '@babel/types': 7.26.10 + '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/traverse': 7.25.7 transitivePeerDependencies: - supports-color @@ -8508,17 +8680,17 @@ snapshots: '@babel/plugin-bugfix-safari-class-field-initializer-scope@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-skip-transparent-expression-wrappers': 7.25.7 '@babel/plugin-transform-optional-chaining': 7.25.8(@babel/core@7.25.2) transitivePeerDependencies: @@ -8527,7 +8699,7 @@ snapshots: '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/traverse': 7.25.7 transitivePeerDependencies: - supports-color @@ -8536,7 +8708,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-create-class-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color @@ -8544,7 +8716,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-create-class-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-decorators': 7.25.7(@babel/core@7.25.2) transitivePeerDependencies: - supports-color @@ -8556,123 +8728,123 @@ snapshots: '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-decorators@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-import-assertions@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-import-attributes@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-jsx@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-typescript@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-create-regexp-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-arrow-functions@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-async-generator-functions@7.25.8(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-remap-async-to-generator': 7.25.7(@babel/core@7.25.2) '@babel/traverse': 7.25.7 transitivePeerDependencies: @@ -8681,8 +8853,8 @@ snapshots: '@babel/plugin-transform-async-to-generator@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-module-imports': 7.25.7 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-module-imports': 7.25.9 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-remap-async-to-generator': 7.25.7(@babel/core@7.25.2) transitivePeerDependencies: - supports-color @@ -8690,18 +8862,18 @@ snapshots: '@babel/plugin-transform-block-scoped-functions@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-block-scoping@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-class-properties@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-create-class-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color @@ -8709,7 +8881,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-create-class-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color @@ -8718,7 +8890,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.25.7 '@babel/helper-compilation-targets': 7.25.7 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-replace-supers': 7.25.7(@babel/core@7.25.2) '@babel/traverse': 7.25.7 globals: 11.12.0 @@ -8728,53 +8900,53 @@ snapshots: '@babel/plugin-transform-computed-properties@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/template': 7.25.7 '@babel/plugin-transform-destructuring@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-dotall-regex@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-create-regexp-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-duplicate-keys@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-create-regexp-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-dynamic-import@7.25.8(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-exponentiation-operator@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-builder-binary-assignment-operator-visitor': 7.25.7 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color '@babel/plugin-transform-export-namespace-from@7.25.8(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-for-of@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-skip-transparent-expression-wrappers': 7.25.7 transitivePeerDependencies: - supports-color @@ -8783,7 +8955,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-compilation-targets': 7.25.7 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/traverse': 7.25.7 transitivePeerDependencies: - supports-color @@ -8791,28 +8963,28 @@ snapshots: '@babel/plugin-transform-json-strings@7.25.8(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-literals@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-logical-assignment-operators@7.25.8(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-member-expression-literals@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-modules-amd@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-module-transforms': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color @@ -8820,7 +8992,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-module-transforms': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-simple-access': 7.25.7 transitivePeerDependencies: - supports-color @@ -8829,7 +9001,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-module-transforms': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-validator-identifier': 7.25.7 '@babel/traverse': 7.25.7 transitivePeerDependencies: @@ -8839,7 +9011,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-module-transforms': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color @@ -8847,34 +9019,34 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-create-regexp-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-new-target@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-nullish-coalescing-operator@7.25.8(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-numeric-separator@7.25.8(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-object-rest-spread@7.25.8(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-compilation-targets': 7.25.7 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-parameters': 7.25.7(@babel/core@7.25.2) '@babel/plugin-transform-object-super@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-replace-supers': 7.25.7(@babel/core@7.25.2) transitivePeerDependencies: - supports-color @@ -8882,12 +9054,12 @@ snapshots: '@babel/plugin-transform-optional-catch-binding@7.25.8(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-optional-chaining@7.25.8(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-skip-transparent-expression-wrappers': 7.25.7 transitivePeerDependencies: - supports-color @@ -8895,13 +9067,13 @@ snapshots: '@babel/plugin-transform-parameters@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-private-methods@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-create-class-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color @@ -8910,34 +9082,34 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.25.7 '@babel/helper-create-class-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 transitivePeerDependencies: - supports-color '@babel/plugin-transform-property-literals@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-regenerator@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 regenerator-transform: 0.15.2 '@babel/plugin-transform-reserved-words@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 - '@babel/plugin-transform-runtime@7.25.4(@babel/core@7.25.2)': + '@babel/plugin-transform-runtime@7.26.10(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-module-imports': 7.25.7 - '@babel/helper-plugin-utils': 7.25.7 - babel-plugin-polyfill-corejs2: 0.4.11(@babel/core@7.25.2) - babel-plugin-polyfill-corejs3: 0.10.6(@babel/core@7.25.2) - babel-plugin-polyfill-regenerator: 0.6.2(@babel/core@7.25.2) + '@babel/helper-module-imports': 7.25.9 + '@babel/helper-plugin-utils': 7.26.5 + babel-plugin-polyfill-corejs2: 0.4.13(@babel/core@7.25.2) + babel-plugin-polyfill-corejs3: 0.11.1(@babel/core@7.25.2) + babel-plugin-polyfill-regenerator: 0.6.4(@babel/core@7.25.2) semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -8945,12 +9117,12 @@ snapshots: '@babel/plugin-transform-shorthand-properties@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-spread@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-skip-transparent-expression-wrappers': 7.25.7 transitivePeerDependencies: - supports-color @@ -8958,24 +9130,24 @@ snapshots: '@babel/plugin-transform-sticky-regex@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-template-literals@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-typeof-symbol@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-typescript@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.25.7 '@babel/helper-create-class-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/helper-skip-transparent-expression-wrappers': 7.25.7 '@babel/plugin-syntax-typescript': 7.25.7(@babel/core@7.25.2) transitivePeerDependencies: @@ -8984,25 +9156,25 @@ snapshots: '@babel/plugin-transform-unicode-escapes@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-unicode-property-regex@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-create-regexp-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-unicode-regex@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-create-regexp-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-transform-unicode-sets-regex@7.25.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-create-regexp-features-plugin': 7.25.7(@babel/core@7.25.2) - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/preset-env@7.25.4(@babel/core@7.25.2)': dependencies: @@ -9096,7 +9268,7 @@ snapshots: '@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@babel/types': 7.25.8 esutils: 2.0.3 @@ -9121,6 +9293,12 @@ snapshots: '@babel/parser': 7.25.8 '@babel/types': 7.25.8 + '@babel/template@7.26.9': + dependencies: + '@babel/code-frame': 7.26.2 + '@babel/parser': 7.26.10 + '@babel/types': 7.26.10 + '@babel/traverse@7.25.7': dependencies: '@babel/code-frame': 7.25.7 @@ -9133,12 +9311,29 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/traverse@7.26.10': + dependencies: + '@babel/code-frame': 7.26.2 + '@babel/generator': 7.26.10 + '@babel/parser': 7.26.10 + '@babel/template': 7.26.9 + '@babel/types': 7.26.10 + debug: 4.4.0 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + '@babel/types@7.25.8': dependencies: '@babel/helper-string-parser': 7.25.7 '@babel/helper-validator-identifier': 7.25.7 to-fast-properties: 2.0.0 + '@babel/types@7.26.10': + dependencies: + '@babel/helper-string-parser': 7.25.9 + '@babel/helper-validator-identifier': 7.25.9 + '@bcoe/v8-coverage@0.2.3': {} '@cspotcode/source-map-support@0.8.1': @@ -9369,6 +9564,12 @@ snapshots: '@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/gen-mapping@0.3.8': + dependencies: + '@jridgewell/set-array': 1.2.1 + '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/resolve-uri@3.1.2': {} '@jridgewell/set-array@1.2.1': {} @@ -9529,24 +9730,24 @@ snapshots: '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.25.8 - '@babel/types': 7.25.8 + '@babel/parser': 7.26.10 + '@babel/types': 7.26.10 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.6 '@types/babel__generator@7.6.8': dependencies: - '@babel/types': 7.25.8 + '@babel/types': 7.26.10 '@types/babel__template@7.4.4': dependencies: - '@babel/parser': 7.25.8 - '@babel/types': 7.25.8 + '@babel/parser': 7.26.10 + '@babel/types': 7.26.10 '@types/babel__traverse@7.20.6': dependencies: - '@babel/types': 7.25.8 + '@babel/types': 7.26.10 '@types/backbone@1.4.15': dependencies: @@ -9879,7 +10080,7 @@ snapshots: globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.3 - semver: 7.6.3 + semver: 7.7.1 ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 @@ -9894,7 +10095,7 @@ snapshots: fast-glob: 3.3.2 is-glob: 4.0.3 minimatch: 9.0.5 - semver: 7.6.3 + semver: 7.7.1 ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 @@ -9930,12 +10131,12 @@ snapshots: '@vue/babel-plugin-jsx@1.2.5(@babel/core@7.25.2)': dependencies: - '@babel/helper-module-imports': 7.25.7 - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-module-imports': 7.25.9 + '@babel/helper-plugin-utils': 7.26.5 '@babel/plugin-syntax-jsx': 7.25.7(@babel/core@7.25.2) '@babel/template': 7.25.7 - '@babel/traverse': 7.25.7 - '@babel/types': 7.25.8 + '@babel/traverse': 7.26.10 + '@babel/types': 7.26.10 '@vue/babel-helper-vue-transform-on': 1.2.5 '@vue/babel-plugin-resolve-type': 1.2.5(@babel/core@7.25.2) html-tags: 3.3.1 @@ -9947,11 +10148,11 @@ snapshots: '@vue/babel-plugin-resolve-type@1.2.5(@babel/core@7.25.2)': dependencies: - '@babel/code-frame': 7.25.7 + '@babel/code-frame': 7.26.2 '@babel/core': 7.25.2 - '@babel/helper-module-imports': 7.25.7 - '@babel/helper-plugin-utils': 7.25.7 - '@babel/parser': 7.25.8 + '@babel/helper-module-imports': 7.25.9 + '@babel/helper-plugin-utils': 7.26.5 + '@babel/parser': 7.26.10 '@vue/compiler-sfc': 3.5.12 transitivePeerDependencies: - supports-color @@ -9959,7 +10160,7 @@ snapshots: '@vue/babel-plugin-transform-vue-jsx@1.4.0(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-module-imports': 7.25.7 + '@babel/helper-module-imports': 7.25.9 '@babel/plugin-syntax-jsx': 7.25.7(@babel/core@7.25.2) '@vue/babel-helper-vue-jsx-merge-props': 1.4.0 html-tags: 2.0.0 @@ -9972,12 +10173,12 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-compilation-targets': 7.25.7 - '@babel/helper-module-imports': 7.25.7 + '@babel/helper-module-imports': 7.25.9 '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.25.2) '@babel/plugin-proposal-decorators': 7.25.7(@babel/core@7.25.2) '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.25.2) '@babel/plugin-syntax-jsx': 7.25.7(@babel/core@7.25.2) - '@babel/plugin-transform-runtime': 7.25.4(@babel/core@7.25.2) + '@babel/plugin-transform-runtime': 7.26.10(@babel/core@7.25.2) '@babel/preset-env': 7.25.4(@babel/core@7.25.2) '@babel/runtime': 7.25.6 '@vue/babel-plugin-jsx': 1.2.5(@babel/core@7.25.2) @@ -10584,7 +10785,7 @@ snapshots: agent-base@6.0.2: dependencies: - debug: 4.3.7(supports-color@6.1.0) + debug: 4.4.0 transitivePeerDependencies: - supports-color @@ -10888,7 +11089,7 @@ snapshots: babel-plugin-istanbul@6.1.1: dependencies: - '@babel/helper-plugin-utils': 7.25.7 + '@babel/helper-plugin-utils': 7.26.5 '@istanbuljs/load-nyc-config': 1.1.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-instrument: 5.2.1 @@ -10898,8 +11099,8 @@ snapshots: babel-plugin-jest-hoist@29.6.3: dependencies: - '@babel/template': 7.25.7 - '@babel/types': 7.25.8 + '@babel/template': 7.26.9 + '@babel/types': 7.26.10 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.20.6 @@ -10912,6 +11113,15 @@ snapshots: transitivePeerDependencies: - supports-color + babel-plugin-polyfill-corejs2@0.4.13(@babel/core@7.25.2): + dependencies: + '@babel/compat-data': 7.26.8 + '@babel/core': 7.25.2 + '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.25.2) + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + babel-plugin-polyfill-corejs3@0.10.6(@babel/core@7.25.2): dependencies: '@babel/core': 7.25.2 @@ -10920,6 +11130,14 @@ snapshots: transitivePeerDependencies: - supports-color + babel-plugin-polyfill-corejs3@0.11.1(@babel/core@7.25.2): + dependencies: + '@babel/core': 7.25.2 + '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.25.2) + core-js-compat: 3.41.0 + transitivePeerDependencies: + - supports-color + babel-plugin-polyfill-regenerator@0.6.2(@babel/core@7.25.2): dependencies: '@babel/core': 7.25.2 @@ -10927,6 +11145,13 @@ snapshots: transitivePeerDependencies: - supports-color + babel-plugin-polyfill-regenerator@0.6.4(@babel/core@7.25.2): + dependencies: + '@babel/core': 7.25.2 + '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.25.2) + transitivePeerDependencies: + - supports-color + babel-preset-current-node-syntax@1.1.0(@babel/core@7.25.2): dependencies: '@babel/core': 7.25.2 @@ -11134,6 +11359,13 @@ snapshots: node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.0) + browserslist@4.24.4: + dependencies: + caniuse-lite: 1.0.30001707 + electron-to-chromium: 1.5.123 + node-releases: 2.0.19 + update-browserslist-db: 1.1.3(browserslist@4.24.4) + bs-logger@0.2.6: dependencies: fast-json-stable-stringify: 2.1.0 @@ -11281,13 +11513,15 @@ snapshots: caniuse-api@3.0.0: dependencies: - browserslist: 4.24.0 - caniuse-lite: 1.0.30001669 + browserslist: 4.24.4 + caniuse-lite: 1.0.30001707 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 caniuse-lite@1.0.30001669: {} + caniuse-lite@1.0.30001707: {} + caseless@0.12.0: {} ccount@2.0.1: {} @@ -11625,6 +11859,10 @@ snapshots: dependencies: browserslist: 4.24.0 + core-js-compat@3.41.0: + dependencies: + browserslist: 4.24.4 + core-js@3.38.1: {} core-util-is@1.0.2: {} @@ -11927,6 +12165,10 @@ snapshots: optionalDependencies: supports-color: 6.1.0 + debug@4.4.0: + dependencies: + ms: 2.1.3 + decamelize@1.2.0: {} decimal.js@10.4.3: {} @@ -12219,7 +12461,7 @@ snapshots: '@one-ini/wasm': 0.1.1 commander: 10.0.1 minimatch: 9.0.1 - semver: 7.6.3 + semver: 7.7.1 ee-first@1.1.1: {} @@ -12227,6 +12469,8 @@ snapshots: dependencies: jake: 10.9.2 + electron-to-chromium@1.5.123: {} + electron-to-chromium@1.5.41: {} elegant-spinner@1.0.1: {} @@ -12470,7 +12714,7 @@ snapshots: eslint-compat-utils@0.5.1(eslint@8.57.0): dependencies: eslint: 8.57.0 - semver: 7.6.3 + semver: 7.7.1 eslint-config-prettier@9.1.0(eslint@8.57.0): dependencies: @@ -13803,6 +14047,10 @@ snapshots: dependencies: hasown: 2.0.2 + is-core-module@2.16.1: + dependencies: + hasown: 2.0.2 + is-data-descriptor@1.0.1: dependencies: hasown: 2.0.2 @@ -13992,7 +14240,7 @@ snapshots: istanbul-lib-instrument@5.2.1: dependencies: '@babel/core': 7.25.2 - '@babel/parser': 7.25.8 + '@babel/parser': 7.26.10 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -14002,10 +14250,10 @@ snapshots: istanbul-lib-instrument@6.0.3: dependencies: '@babel/core': 7.25.2 - '@babel/parser': 7.25.8 + '@babel/parser': 7.26.10 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 - semver: 7.6.3 + semver: 7.7.1 transitivePeerDependencies: - supports-color @@ -14017,7 +14265,7 @@ snapshots: istanbul-lib-source-maps@4.0.1: dependencies: - debug: 4.3.7(supports-color@6.1.0) + debug: 4.4.0 istanbul-lib-coverage: 3.2.2 source-map: 0.6.1 transitivePeerDependencies: @@ -14302,7 +14550,7 @@ snapshots: '@babel/generator': 7.25.7 '@babel/plugin-syntax-jsx': 7.25.7(@babel/core@7.25.2) '@babel/plugin-syntax-typescript': 7.25.7(@babel/core@7.25.2) - '@babel/types': 7.25.8 + '@babel/types': 7.26.10 '@jest/expect-utils': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 @@ -14317,7 +14565,7 @@ snapshots: jest-util: 29.7.0 natural-compare: 1.4.0 pretty-format: 29.7.0 - semver: 7.6.3 + semver: 7.7.1 transitivePeerDependencies: - supports-color @@ -14461,6 +14709,8 @@ snapshots: jsesc@3.0.2: {} + jsesc@3.1.0: {} + json-buffer@3.0.0: {} json-buffer@3.0.1: {} @@ -14740,7 +14990,7 @@ snapshots: make-dir@4.0.0: dependencies: - semver: 7.6.3 + semver: 7.7.1 make-error@1.3.6: {} @@ -15121,7 +15371,7 @@ snapshots: micromark@3.2.0: dependencies: '@types/debug': 4.1.12 - debug: 4.3.7(supports-color@6.1.0) + debug: 4.4.0 decode-named-character-reference: 1.0.2 micromark-core-commonmark: 1.1.0 micromark-factory-space: 1.1.0 @@ -15376,6 +15626,8 @@ snapshots: node-releases@2.0.18: {} + node-releases@2.0.19: {} + nopt@1.0.10: dependencies: abbrev: 1.1.1 @@ -15395,7 +15647,7 @@ snapshots: dependencies: hosted-git-info: 4.1.0 is-core-module: 2.15.1 - semver: 7.6.3 + semver: 7.7.1 validate-npm-package-license: 3.0.4 normalize-path@2.1.1: @@ -15824,7 +16076,7 @@ snapshots: postcss-colormin@4.0.3: dependencies: - browserslist: 4.24.0 + browserslist: 4.24.4 color: 3.2.1 has: 1.0.4 postcss: 7.0.39 @@ -15872,7 +16124,7 @@ snapshots: postcss-merge-rules@4.0.3: dependencies: - browserslist: 4.24.0 + browserslist: 4.24.4 caniuse-api: 3.0.0 cssnano-util-same-parent: 4.0.1 postcss: 7.0.39 @@ -15894,7 +16146,7 @@ snapshots: postcss-minify-params@4.0.2: dependencies: alphanum-sort: 1.0.2 - browserslist: 4.24.0 + browserslist: 4.24.4 cssnano-util-get-arguments: 4.0.0 postcss: 7.0.39 postcss-value-parser: 3.3.1 @@ -15986,7 +16238,7 @@ snapshots: postcss-normalize-unicode@4.0.1: dependencies: - browserslist: 4.24.0 + browserslist: 4.24.4 postcss: 7.0.39 postcss-value-parser: 3.3.1 @@ -16010,7 +16262,7 @@ snapshots: postcss-reduce-initial@4.0.3: dependencies: - browserslist: 4.24.0 + browserslist: 4.24.4 caniuse-api: 3.0.0 has: 1.0.4 postcss: 7.0.39 @@ -16448,6 +16700,12 @@ snapshots: resolve.exports@2.0.2: {} + resolve@1.22.10: + dependencies: + is-core-module: 2.16.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + resolve@1.22.8: dependencies: is-core-module: 2.15.1 @@ -16615,6 +16873,8 @@ snapshots: semver@7.6.3: {} + semver@7.7.1: {} + send@0.19.0(supports-color@6.1.0): dependencies: debug: 2.6.9(supports-color@6.1.0) @@ -17043,7 +17303,7 @@ snapshots: stylehacks@4.0.3: dependencies: - browserslist: 4.24.0 + browserslist: 4.24.4 postcss: 7.0.39 postcss-selector-parser: 3.1.2 @@ -17524,6 +17784,12 @@ snapshots: escalade: 3.2.0 picocolors: 1.1.1 + update-browserslist-db@1.1.3(browserslist@4.24.4): + dependencies: + browserslist: 4.24.4 + escalade: 3.2.0 + picocolors: 1.1.1 + update-notifier@4.1.3: dependencies: boxen: 4.2.0