Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📦 Release @webref/[email protected] #1407

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 12, 2024

⚠ NEVER add commits to this pull request.

🤖 This pull request was automatically created to facilitate human review of @webref/idl changes triggered by curated data at 700b09d.

🧐 Please review the diff below and version numbers. If all looks good, merge this pull request to release the changes to npm.

📦 Latest released @webref/idl package was v3.57.0. Merging this pull request will release v3.58.0. Make sure that the bump is the right one for the changes.

✍ If any change needs to be made before release, do not add a commit to this pull request. Changes should rather be handled in a separate pull request and pushed to the main branch. You may leave this pull request open in the meantime, or close it. The pre-release job will automatically update this pull request or create a new one once the updates have made their way to the main branch.

🛈 The actual change introduced by this pull request is a version bump in packages/idl/package.json. You do not need to review that change. The bumped version is not the version that will be released when this pull request is merged, but rather the version that will be released next time.

New repo files that are not yet in the released package:
+ login-status.idl

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/dom.idl packages/idl/dom.idl
--- webref/node_modules/@webref/idl/dom.idl
+++ packages/idl/dom.idl
@@ -237,7 +237,7 @@
   [CEReactions] attribute DOMString? textContent;
   [CEReactions] undefined normalize();
 
-  [CEReactions, NewObject] Node cloneNode(optional boolean deep = false);
+  [CEReactions, NewObject] Node cloneNode(optional boolean subtree = false);
   boolean isEqualNode(Node? otherNode);
   boolean isSameNode(Node? otherNode); // legacy alias of ===
 
@@ -291,7 +291,7 @@
   [NewObject] Comment createComment(DOMString data);
   [NewObject] ProcessingInstruction createProcessingInstruction(DOMString target, DOMString data);
 
-  [CEReactions, NewObject] Node importNode(Node node, optional boolean deep = false);
+  [CEReactions, NewObject] Node importNode(Node node, optional boolean subtree = false);
   [CEReactions] Node adoptNode(Node node);
 
   [NewObject] Attr createAttribute(DOMString localName);

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/element-timing.idl packages/idl/element-timing.idl
--- webref/node_modules/@webref/idl/element-timing.idl
+++ packages/idl/element-timing.idl
@@ -17,6 +17,8 @@
     [Default] object toJSON();
 };
 
+PerformanceElementTiming includes PaintTimingMixin;
+
 partial interface Element {
     [CEReactions] attribute DOMString elementTiming;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/observable.idl packages/idl/observable.idl
--- webref/node_modules/@webref/idl/observable.idl
+++ packages/idl/observable.idl
@@ -18,7 +18,7 @@
   readonly attribute AbortSignal signal;
 };
 
-// SubscribeCallback is where the Observable "creator’s" code lives. It’s
+// SubscribeCallback is where the Observable "creator's" code lives. It's
 // called when subscribe() is called, to set up a new subscription.
 callback SubscribeCallback = undefined (Subscriber subscriber);
 callback ObservableSubscriptionCallback = undefined (any value);
@@ -63,7 +63,7 @@
   constructor(SubscribeCallback callback);
   undefined subscribe(optional ObserverUnion observer = {}, optional SubscribeOptions options = {});
 
-  // Constructs a native Observable from value if it’s any of the following:
+  // Constructs a native Observable from value if it's any of the following:
   //   - Observable
   //   - AsyncIterable
   //   - Iterable

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/sanitizer-api.idl packages/idl/sanitizer-api.idl
--- webref/node_modules/@webref/idl/sanitizer-api.idl
+++ packages/idl/sanitizer-api.idl
@@ -3,13 +3,17 @@
 // (https://github.com/w3c/webref)
 // Source: HTML Sanitizer API (https://wicg.github.io/sanitizer-api/)
 
+enum SanitizerPresets { "default" };
 dictionary SetHTMLOptions {
-  (Sanitizer or SanitizerConfig) sanitizer = {};
+  (Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = "default";
+};
+dictionary SetHTMLUnsafeOptions {
+  (Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = {};
 };
 
 [Exposed=(Window,Worker)]
 interface Sanitizer {
-  constructor(optional SanitizerConfig configuration = {});
+  constructor(optional (SanitizerConfig or SanitizerPresets) configuration = "default");
 
   // Query configuration:
   SanitizerConfig get();

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/shared-storage.idl packages/idl/shared-storage.idl
--- webref/node_modules/@webref/idl/shared-storage.idl
+++ packages/idl/shared-storage.idl
@@ -25,6 +25,8 @@
   readonly attribute PrivateAggregation privateAggregation;
 
   Promise<sequence<StorageInterestGroup>> interestGroups();
+
+  readonly attribute SharedStorageWorkletNavigator navigator;
 };
 
 dictionary SharedStorageUrlWithMetadata {
@@ -106,3 +108,9 @@
 partial dictionary RequestInit {
   boolean sharedStorageWritable;
 };
+
+[
+  Exposed=SharedStorageWorklet
+] interface SharedStorageWorkletNavigator {};
+
+SharedStorageWorkletNavigator includes NavigatorLocks;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/web-locks.idl packages/idl/web-locks.idl
--- webref/node_modules/@webref/idl/web-locks.idl
+++ packages/idl/web-locks.idl
@@ -10,7 +10,7 @@
 Navigator includes NavigatorLocks;
 WorkerNavigator includes NavigatorLocks;
 
-[SecureContext, Exposed=(Window,Worker)]
+[SecureContext, Exposed=(Window,Worker,SharedStorageWorklet)]
 interface LockManager {
   Promise<any> request(DOMString name,
                        LockGrantedCallback callback);
@@ -43,7 +43,7 @@
   DOMString clientId;
 };
 
-[SecureContext, Exposed=(Window,Worker)]
+[SecureContext, Exposed=(Window,Worker,SharedStorageWorklet)]
 interface Lock {
   readonly attribute DOMString name;
   readonly attribute LockMode mode;

@github-actions github-actions bot force-pushed the release-idl-20241212064714879 branch 17 times, most recently from 3c4c74e to 745d9d4 Compare December 17, 2024 16:15
@github-actions github-actions bot changed the title 📦 Release @webref/[email protected] 📦 Release @webref/[email protected] Dec 17, 2024
@github-actions github-actions bot force-pushed the release-idl-20241212064714879 branch 6 times, most recently from 74b09a9 to ac06762 Compare December 18, 2024 01:01
@github-actions github-actions bot force-pushed the release-idl-20241212064714879 branch from ac06762 to c52a7b0 Compare December 18, 2024 06:46
@tidoust tidoust merged commit c4f6bb4 into main Dec 18, 2024
@tidoust tidoust deleted the release-idl-20241212064714879 branch December 18, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant