google-closure-compiler 20261025.0.0 → 20261026.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2622,6 +2622,13 @@ HTMLMediaElement.prototype.crossOrigin;
2622
2622
  */
2623
2623
  HTMLMediaElement.prototype.currentTime;
2624
2624
 
2625
+ /**
2626
+ * @param {number} time
2627
+ * @return {undefined}
2628
+ * @see https://html.spec.whatwg.org/multipage/media.html#dom-media-fastseek-dev
2629
+ */
2630
+ HTMLMediaElement.prototype.fastSeek = function(time) {};
2631
+
2625
2632
  /**
2626
2633
  * The absolute timeline offset.
2627
2634
  * @return {!Date}
@@ -37,13 +37,47 @@ MediaImage.prototype.sizes;
37
37
  MediaImage.prototype.type;
38
38
 
39
39
 
40
+ /**
41
+ * @see https://wicg.github.io/mediasession/#the-chapterinformation-interface
42
+ * @interface
43
+ * @struct
44
+ */
45
+ function ChapterInformation() {}
46
+
47
+ /** @const {string} */
48
+ ChapterInformation.prototype.title;
49
+
50
+ /** @const {number} */
51
+ ChapterInformation.prototype.startTime;
52
+
53
+ /** @const {!Array<!MediaImage>} */
54
+ ChapterInformation.prototype.artwork;
55
+
56
+
57
+ /**
58
+ * @see https://wicg.github.io/mediasession/#dictdef-chapterinformationinit
59
+ * @record
60
+ * @struct
61
+ */
62
+ function ChapterInformationInit() {}
63
+
64
+ /** @type {(string|undefined)} */
65
+ ChapterInformationInit.prototype.title;
66
+
67
+ /** @type {(number|undefined)} */
68
+ ChapterInformationInit.prototype.startTime;
69
+
70
+ /** @type {(!Array<!MediaImage>|undefined)} */
71
+ ChapterInformationInit.prototype.artwork;
72
+
73
+
40
74
  /**
41
75
  * A MediaMetadata object is a representation of the metadata associated with a
42
76
  * MediaSession that can be used by user agents to provide customized user
43
77
  * interface.
44
78
  * @see https://wicg.github.io/mediasession/#the-mediametadata-interface
45
79
  * @constructor
46
- * @param {?MediaMetadataInit} init
80
+ * @param {?MediaMetadataInit=} init
47
81
  */
48
82
  function MediaMetadata(init) {}
49
83
 
@@ -59,6 +93,9 @@ MediaMetadata.prototype.artwork;
59
93
  /** @type {string} */
60
94
  MediaMetadata.prototype.title;
61
95
 
96
+ /** @const {!Array<!ChapterInformation>} */
97
+ MediaMetadata.prototype.chapterInfo;
98
+
62
99
 
63
100
  /**
64
101
  * @see https://wicg.github.io/mediasession/#the-mediametadata-interface
@@ -79,6 +116,9 @@ MediaMetadataInit.prototype.artwork;
79
116
  /** @type {(string|undefined)} */
80
117
  MediaMetadataInit.prototype.title;
81
118
 
119
+ /** @type {(!Array<!ChapterInformationInit>|undefined)} */
120
+ MediaMetadataInit.prototype.chapterInfo;
121
+
82
122
 
83
123
  /**
84
124
  * A MediaSession objects represents a media session for a given document and
@@ -109,16 +149,23 @@ MediaSession.prototype.setPositionState;
109
149
 
110
150
  /**
111
151
  * @param {boolean} active
112
- * @return {void}
152
+ * @return {!Promise<void>}
113
153
  */
114
154
  MediaSession.prototype.setCameraActive = function(active) {};
115
155
 
116
156
  /**
117
157
  * @param {boolean} active
118
- * @return {void}
158
+ * @return {!Promise<void>}
119
159
  */
120
160
  MediaSession.prototype.setMicrophoneActive = function(active) {};
121
161
 
162
+ /**
163
+ * @param {boolean} active
164
+ * @return {!Promise<void>}
165
+ * @see https://wicg.github.io/mediasession/#dom-mediasession-setscreenshareactive
166
+ */
167
+ MediaSession.prototype.setScreenshareActive = function(active) {};
168
+
122
169
  /** @type {?MediaSession} */
123
170
  Navigator.prototype.mediaSession;
124
171
 
@@ -129,9 +176,15 @@ var MediaSessionPlaybackState;
129
176
  /** @typedef {string} */
130
177
  var MediaSessionAction;
131
178
 
179
+ /**
180
+ * @typedef {string}
181
+ * @see https://wicg.github.io/mediasession/#enumdef-mediasessionenterpictureinpicturereason
182
+ */
183
+ var MediaSessionEnterPictureInPictureReason;
184
+
132
185
 
133
186
  /**
134
- * @see https://w3c.github.io/mediasession/#the-mediapositionstate-dictionary
187
+ * @see https://wicg.github.io/mediasession/#the-mediapositionstate-dictionary
135
188
  * @record
136
189
  * @struct
137
190
  */
@@ -146,7 +199,7 @@ MediaPositionState.prototype.position;
146
199
 
147
200
 
148
201
  /**
149
- * @see https://w3c.github.io/mediasession/#the-mediasessionactiondetails-dictionary
202
+ * @see https://wicg.github.io/mediasession/#the-mediasessionactiondetails-dictionary
150
203
  * @record
151
204
  * @struct
152
205
  */
@@ -159,4 +212,8 @@ MediaSessionActionDetails.prototype.seekOffset;
159
212
  /** @type {(undefined|null|number)} */
160
213
  MediaSessionActionDetails.prototype.seekTime;
161
214
  /** @type {(undefined|null|boolean)} */
162
- MediaSessionActionDetails.prototype.fastSeek;
215
+ MediaSessionActionDetails.prototype.fastSeek;
216
+ /** @type {(undefined|null|boolean)} */
217
+ MediaSessionActionDetails.prototype.isActivating;
218
+ /** @type {(undefined|null|MediaSessionEnterPictureInPictureReason)} */
219
+ MediaSessionActionDetails.prototype.enterPictureInPictureReason;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "google-closure-compiler",
3
- "version": "20261025.0.0",
3
+ "version": "20261026.0.0",
4
4
  "description": "Check, compile, optimize and compress Javascript with Closure-Compiler",
5
5
  "type": "module",
6
6
  "repository": {
@@ -41,16 +41,16 @@
41
41
  "homepage": "https://developers.google.com/closure/compiler/",
42
42
  "dependencies": {
43
43
  "chalk": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 <5.6.1 || ^5.6.2 >5.6.1",
44
- "google-closure-compiler-java": "^20261025.0.0",
44
+ "google-closure-compiler-java": "^20261026.0.0",
45
45
  "minimist": "^1.0.0",
46
46
  "vinyl": "^3.0.1",
47
47
  "vinyl-sourcemaps-apply": "^0.2.0"
48
48
  },
49
49
  "optionalDependencies": {
50
- "google-closure-compiler-linux": "^20261025.0.0",
51
- "google-closure-compiler-linux-arm64": "^20261025.0.0",
52
- "google-closure-compiler-macos": "^20261025.0.0",
53
- "google-closure-compiler-windows": "^20261025.0.0"
50
+ "google-closure-compiler-linux": "^20261026.0.0",
51
+ "google-closure-compiler-linux-arm64": "^20261026.0.0",
52
+ "google-closure-compiler-macos": "^20261026.0.0",
53
+ "google-closure-compiler-windows": "^20261026.0.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "gulp": "^5.0.1",