From a829ce8c67ef6cc5bbd33b25e93dd3a9c8e68360 Mon Sep 17 00:00:00 2001 From: orta <49038+orta@users.noreply.github.com> Date: Fri, 13 Sep 2024 08:10:25 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Update=20core=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- baselines/dom.generated.d.ts | 59 ------------------------------ baselines/ts5.5/dom.generated.d.ts | 59 ------------------------------ package-lock.json | 33 +++++++++-------- 3 files changed, 17 insertions(+), 134 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index c883ec972..914101a3b 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -7409,8 +7409,6 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve createEvent(eventInterface: "MessageEvent"): MessageEvent; createEvent(eventInterface: "MouseEvent"): MouseEvent; createEvent(eventInterface: "MouseEvents"): MouseEvent; - createEvent(eventInterface: "MutationEvent"): MutationEvent; - createEvent(eventInterface: "MutationEvents"): MutationEvent; createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent; createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent; @@ -15715,63 +15713,6 @@ declare var MouseEvent: { new(type: string, eventInitDict?: MouseEventInit): MouseEvent; }; -/** - * Provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes. - * @deprecated DOM4 [DOM] provides a new mechanism using a MutationObserver interface which addresses the use cases that mutation events solve, but in a more performant manner. Thus, this specification describes mutation events for reference and completeness of legacy behavior, but deprecates the use of the MutationEvent interface. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent) - */ -interface MutationEvent extends Event { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrChange) - */ - readonly attrChange: number; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrName) - */ - readonly attrName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/newValue) - */ - readonly newValue: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/prevValue) - */ - readonly prevValue: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/relatedNode) - */ - readonly relatedNode: Node | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/initMutationEvent) - */ - initMutationEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, relatedNodeArg?: Node | null, prevValueArg?: string, newValueArg?: string, attrNameArg?: string, attrChangeArg?: number): void; - readonly MODIFICATION: 1; - readonly ADDITION: 2; - readonly REMOVAL: 3; -} - -/** @deprecated */ -declare var MutationEvent: { - prototype: MutationEvent; - new(): MutationEvent; - readonly MODIFICATION: 1; - readonly ADDITION: 2; - readonly REMOVAL: 3; -}; - /** * Provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification. * diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index c883ec972..914101a3b 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -7409,8 +7409,6 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve createEvent(eventInterface: "MessageEvent"): MessageEvent; createEvent(eventInterface: "MouseEvent"): MouseEvent; createEvent(eventInterface: "MouseEvents"): MouseEvent; - createEvent(eventInterface: "MutationEvent"): MutationEvent; - createEvent(eventInterface: "MutationEvents"): MutationEvent; createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent; createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent; @@ -15715,63 +15713,6 @@ declare var MouseEvent: { new(type: string, eventInitDict?: MouseEventInit): MouseEvent; }; -/** - * Provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes. - * @deprecated DOM4 [DOM] provides a new mechanism using a MutationObserver interface which addresses the use cases that mutation events solve, but in a more performant manner. Thus, this specification describes mutation events for reference and completeness of legacy behavior, but deprecates the use of the MutationEvent interface. - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent) - */ -interface MutationEvent extends Event { - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrChange) - */ - readonly attrChange: number; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrName) - */ - readonly attrName: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/newValue) - */ - readonly newValue: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/prevValue) - */ - readonly prevValue: string; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/relatedNode) - */ - readonly relatedNode: Node | null; - /** - * @deprecated - * - * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/initMutationEvent) - */ - initMutationEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, relatedNodeArg?: Node | null, prevValueArg?: string, newValueArg?: string, attrNameArg?: string, attrChangeArg?: number): void; - readonly MODIFICATION: 1; - readonly ADDITION: 2; - readonly REMOVAL: 3; -} - -/** @deprecated */ -declare var MutationEvent: { - prototype: MutationEvent; - new(): MutationEvent; - readonly MODIFICATION: 1; - readonly ADDITION: 2; - readonly REMOVAL: 3; -}; - /** * Provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification. * diff --git a/package-lock.json b/package-lock.json index f61f8c314..45e01bf01 100644 --- a/package-lock.json +++ b/package-lock.json @@ -293,9 +293,9 @@ } }, "node_modules/@mdn/browser-compat-data": { - "version": "5.5.50", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.5.50.tgz", - "integrity": "sha512-7Vlybx9Vao3kQNJGps2sFnBSq5uWcUsZtlwU2bUzeeKbwzKO507V7K+vv0TlfQ1qunDy1PiRz6BGtdxyMMD5tQ==", + "version": "5.5.51", + "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-5.5.51.tgz", + "integrity": "sha512-17L3+/oqX+sgSyucNKSipri1LkI/d8pwPQI4Vv2ejRVZLZr1WGxcEGBnglqFhdlislQBceJiHAdQnWEE+YJE3A==", "dev": true, "license": "CC0-1.0" }, @@ -844,9 +844,9 @@ } }, "node_modules/@webref/css": { - "version": "6.15.1", - "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.15.1.tgz", - "integrity": "sha512-sK6/HqoIpTPbCleDiHc5eXis4EYBz/111rL7pzAotYCgv6vEjEjBEDJmEjGhHP5sRbadHIGLTqlCsQ65FG0wag==", + "version": "6.15.2", + "resolved": "https://registry.npmjs.org/@webref/css/-/css-6.15.2.tgz", + "integrity": "sha512-Y1UOqVPU4vVWi5DLEauYOZXGbaP8oJbZ0/SFKticz4e79uOsZFz8wuAPb0Ys6/2D5dJ2v6Gq6XFx0wC5LwSeMQ==", "dev": true, "license": "MIT", "peerDependencies": { @@ -854,22 +854,23 @@ } }, "node_modules/@webref/elements": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@webref/elements/-/elements-2.3.0.tgz", - "integrity": "sha512-Xx1kWwL1v/rnexfZ8GMsXYHYtoYYpBmdlDEzr6yAdpIf6REd6GTitPvr+AOsOT+t+FSeuvAsgPJgFFel0ghrrQ==", - "dev": true + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@webref/elements/-/elements-2.4.0.tgz", + "integrity": "sha512-KRD9xK9Wx6N1L0cVf1KiScmoyR5OCrM/tSCgJKFi5WdBZQ+aaIjqtkhU+STO2O9k2X1YiSRMC/+P4gNM1n4v9w==", + "dev": true, + "license": "MIT" }, "node_modules/@webref/events": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/@webref/events/-/events-1.12.0.tgz", - "integrity": "sha512-maKBJuGqz8ebJY9G3Bu5js+nbSUyXfIzJZ5zByD1toNR2Yyebm5d4lPY309xpp+BerWnrTuVhMcShaOtKhRgxg==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@webref/events/-/events-1.13.0.tgz", + "integrity": "sha512-QCul8gEDVeY9tzOxsBJaV7slpDWDyS78fMeW2jUdnlRbxYmYU4E5Ay8rZ6m2SlJfsbyDyqTtsQ3FWX24Pl37fw==", "dev": true, "license": "MIT" }, "node_modules/@webref/idl": { - "version": "3.53.1", - "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.53.1.tgz", - "integrity": "sha512-hSQXAwT3kYc9bwS0gjMjbt/ObIvwZbMy6wN8+TpoLx7waQvF/LBD3ZeQIh0kbbusVm2szlmhtiBnUtzlkZUqHg==", + "version": "3.54.0", + "resolved": "https://registry.npmjs.org/@webref/idl/-/idl-3.54.0.tgz", + "integrity": "sha512-0fXDnyT1NYBc4Emeu6ntMC89HXLCw+3YzEBibSVxhgv6iXMddGC/xek4pR9fcVuUudC/QByKpnsJvcszY3BxeA==", "dev": true, "license": "MIT", "peerDependencies": {