google-closure-compiler 20260824.0.0 → 20260826.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.
package/externs/browser/html5.js
CHANGED
|
@@ -172,12 +172,6 @@ var OffscreenRenderingContextId;
|
|
|
172
172
|
/** @typedef {!CanvasRenderingContext2D|!ImageBitmapRenderingContext|!WebGLRenderingContext|!WebGL2RenderingContext|!GPUCanvasContext} */
|
|
173
173
|
var RenderingContext;
|
|
174
174
|
|
|
175
|
-
/**
|
|
176
|
-
* @interface
|
|
177
|
-
* @see https://gpuweb.github.io/gpuweb/#gpucanvascontext
|
|
178
|
-
*/
|
|
179
|
-
function GPUCanvasContext() {}
|
|
180
|
-
|
|
181
175
|
/**
|
|
182
176
|
* @typedef {string}
|
|
183
177
|
* Valid values: "forward" | "backward" | "none"
|
|
@@ -1780,6 +1780,309 @@ GPUCommandEncoder.prototype.popDebugGroup = function() {};
|
|
|
1780
1780
|
*/
|
|
1781
1781
|
GPUCommandEncoder.prototype.pushDebugGroup = function(groupLabel) {};
|
|
1782
1782
|
|
|
1783
|
+
/**
|
|
1784
|
+
* @record
|
|
1785
|
+
* @extends {GPUObjectDescriptorBase}
|
|
1786
|
+
* @see https://gpuweb.github.io/gpuweb/#dictdef-gpudevicedescriptor
|
|
1787
|
+
*/
|
|
1788
|
+
function GPUDeviceDescriptor() {}
|
|
1789
|
+
/** @type {!GPUQueueDescriptor|undefined} */
|
|
1790
|
+
GPUDeviceDescriptor.prototype.defaultQueue;
|
|
1791
|
+
/** @type {!Array<!GPUFeatureName>|undefined} */
|
|
1792
|
+
GPUDeviceDescriptor.prototype.requiredFeatures;
|
|
1793
|
+
/** @type {!Object<string,!GPUSize64|undefined>|undefined} */
|
|
1794
|
+
GPUDeviceDescriptor.prototype.requiredLimits;
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* @constructor
|
|
1798
|
+
* @see https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo
|
|
1799
|
+
*/
|
|
1800
|
+
function GPUDeviceLostInfo() {}
|
|
1801
|
+
/** @type {string} */
|
|
1802
|
+
GPUDeviceLostInfo.prototype.message;
|
|
1803
|
+
/** @type {!GPUDeviceLostReason} */
|
|
1804
|
+
GPUDeviceLostInfo.prototype.reason;
|
|
1805
|
+
|
|
1806
|
+
/**
|
|
1807
|
+
* @record
|
|
1808
|
+
* @extends {GPUObjectDescriptorBase}
|
|
1809
|
+
* @see https://gpuweb.github.io/gpuweb/#dictdef-gpuqueuedescriptor
|
|
1810
|
+
*/
|
|
1811
|
+
function GPUQueueDescriptor() {}
|
|
1812
|
+
|
|
1813
|
+
/**
|
|
1814
|
+
* @constructor
|
|
1815
|
+
* @extends {GPUObjectBase}
|
|
1816
|
+
* @see https://developer.mozilla.org/docs/Web/API/GPUQueue
|
|
1817
|
+
*/
|
|
1818
|
+
function GPUQueue() {}
|
|
1819
|
+
/**
|
|
1820
|
+
* @param {!GPUCopyExternalImageSourceInfo} source
|
|
1821
|
+
* @param {!GPUCopyExternalImageDestInfo} destination
|
|
1822
|
+
* @param {!GPUExtent3D|!Iterable<!GPUIntegerCoordinate>} copySize
|
|
1823
|
+
* @return {undefined}
|
|
1824
|
+
*/
|
|
1825
|
+
GPUQueue.prototype.copyExternalImageToTexture = function(
|
|
1826
|
+
source, destination, copySize) {};
|
|
1827
|
+
/**
|
|
1828
|
+
* @return {!Promise<undefined>}
|
|
1829
|
+
*/
|
|
1830
|
+
GPUQueue.prototype.onSubmittedWorkDone = function() {};
|
|
1831
|
+
/**
|
|
1832
|
+
* @param {!Array<!GPUCommandBuffer>|!Iterable<!GPUCommandBuffer>}
|
|
1833
|
+
* commandBuffers
|
|
1834
|
+
* @return {undefined}
|
|
1835
|
+
*/
|
|
1836
|
+
GPUQueue.prototype.submit = function(commandBuffers) {};
|
|
1837
|
+
/**
|
|
1838
|
+
* @param {!GPUBuffer} buffer
|
|
1839
|
+
* @param {!GPUSize64} bufferOffset
|
|
1840
|
+
* @param {!AllowSharedBufferSource} data
|
|
1841
|
+
* @param {!GPUSize64=} opt_dataOffset
|
|
1842
|
+
* @param {!GPUSize64=} opt_size
|
|
1843
|
+
* @return {undefined}
|
|
1844
|
+
*/
|
|
1845
|
+
GPUQueue.prototype.writeBuffer = function(
|
|
1846
|
+
buffer, bufferOffset, data, opt_dataOffset, opt_size) {};
|
|
1847
|
+
/**
|
|
1848
|
+
* @param {!GPUTexelCopyTextureInfo} destination
|
|
1849
|
+
* @param {!AllowSharedBufferSource} data
|
|
1850
|
+
* @param {!GPUTexelCopyBufferLayout} dataLayout
|
|
1851
|
+
* @param {!GPUExtent3D|!Iterable<!GPUIntegerCoordinate>} size
|
|
1852
|
+
* @return {undefined}
|
|
1853
|
+
*/
|
|
1854
|
+
GPUQueue.prototype.writeTexture = function(
|
|
1855
|
+
destination, data, dataLayout, size) {};
|
|
1856
|
+
|
|
1857
|
+
/**
|
|
1858
|
+
* @record
|
|
1859
|
+
* @extends {EventInit}
|
|
1860
|
+
* @see https://gpuweb.github.io/gpuweb/#dictdef-gpuuncapturederroreventinit
|
|
1861
|
+
*/
|
|
1862
|
+
function GPUUncapturedErrorEventInit() {}
|
|
1863
|
+
/** @type {!GPUError} */
|
|
1864
|
+
GPUUncapturedErrorEventInit.prototype.error;
|
|
1865
|
+
|
|
1866
|
+
/**
|
|
1867
|
+
* @constructor
|
|
1868
|
+
* @extends {Event}
|
|
1869
|
+
* @see https://developer.mozilla.org/docs/Web/API/GPUUncapturedErrorEvent
|
|
1870
|
+
* @param {string} type
|
|
1871
|
+
* @param {!GPUUncapturedErrorEventInit} gpuUncapturedErrorEventInitDict
|
|
1872
|
+
*/
|
|
1873
|
+
function GPUUncapturedErrorEvent(type, gpuUncapturedErrorEventInitDict) {}
|
|
1874
|
+
/** @type {!GPUError} */
|
|
1875
|
+
GPUUncapturedErrorEvent.prototype.error;
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* @constructor
|
|
1879
|
+
* @extends {GPUObjectBase}
|
|
1880
|
+
* @implements {EventTarget}
|
|
1881
|
+
* @see https://developer.mozilla.org/docs/Web/API/GPUDevice
|
|
1882
|
+
*/
|
|
1883
|
+
function GPUDevice() {}
|
|
1884
|
+
/** @type {!GPUAdapterInfo} */
|
|
1885
|
+
GPUDevice.prototype.adapterInfo;
|
|
1886
|
+
/** @type {!GPUSupportedFeatures} */
|
|
1887
|
+
GPUDevice.prototype.features;
|
|
1888
|
+
/** @type {!GPUSupportedLimits} */
|
|
1889
|
+
GPUDevice.prototype.limits;
|
|
1890
|
+
/** @type {!Promise<!GPUDeviceLostInfo>} */
|
|
1891
|
+
GPUDevice.prototype.lost;
|
|
1892
|
+
/** @type {?function(!GPUUncapturedErrorEvent):*} */
|
|
1893
|
+
GPUDevice.prototype.onuncapturederror;
|
|
1894
|
+
/** @type {!GPUQueue} */
|
|
1895
|
+
GPUDevice.prototype.queue;
|
|
1896
|
+
/**
|
|
1897
|
+
* @param {!GPUBindGroupDescriptor} descriptor
|
|
1898
|
+
* @return {!GPUBindGroup}
|
|
1899
|
+
*/
|
|
1900
|
+
GPUDevice.prototype.createBindGroup = function(descriptor) {};
|
|
1901
|
+
/**
|
|
1902
|
+
* @param {!GPUBindGroupLayoutDescriptor} descriptor
|
|
1903
|
+
* @return {!GPUBindGroupLayout}
|
|
1904
|
+
*/
|
|
1905
|
+
GPUDevice.prototype.createBindGroupLayout = function(descriptor) {};
|
|
1906
|
+
/**
|
|
1907
|
+
* @param {!GPUBufferDescriptor} descriptor
|
|
1908
|
+
* @return {!GPUBuffer}
|
|
1909
|
+
*/
|
|
1910
|
+
GPUDevice.prototype.createBuffer = function(descriptor) {};
|
|
1911
|
+
/**
|
|
1912
|
+
* @param {!GPUCommandEncoderDescriptor=} opt_descriptor
|
|
1913
|
+
* @return {!GPUCommandEncoder}
|
|
1914
|
+
*/
|
|
1915
|
+
GPUDevice.prototype.createCommandEncoder = function(opt_descriptor) {};
|
|
1916
|
+
/**
|
|
1917
|
+
* @param {!GPUComputePipelineDescriptor} descriptor
|
|
1918
|
+
* @return {!GPUComputePipeline}
|
|
1919
|
+
*/
|
|
1920
|
+
GPUDevice.prototype.createComputePipeline = function(descriptor) {};
|
|
1921
|
+
/**
|
|
1922
|
+
* @param {!GPUComputePipelineDescriptor} descriptor
|
|
1923
|
+
* @return {!Promise<!GPUComputePipeline>}
|
|
1924
|
+
*/
|
|
1925
|
+
GPUDevice.prototype.createComputePipelineAsync = function(descriptor) {};
|
|
1926
|
+
/**
|
|
1927
|
+
* @param {!GPUPipelineLayoutDescriptor} descriptor
|
|
1928
|
+
* @return {!GPUPipelineLayout}
|
|
1929
|
+
*/
|
|
1930
|
+
GPUDevice.prototype.createPipelineLayout = function(descriptor) {};
|
|
1931
|
+
/**
|
|
1932
|
+
* @param {!GPUQuerySetDescriptor} descriptor
|
|
1933
|
+
* @return {!GPUQuerySet}
|
|
1934
|
+
*/
|
|
1935
|
+
GPUDevice.prototype.createQuerySet = function(descriptor) {};
|
|
1936
|
+
/**
|
|
1937
|
+
* @param {!GPURenderBundleEncoderDescriptor} descriptor
|
|
1938
|
+
* @return {!GPURenderBundleEncoder}
|
|
1939
|
+
*/
|
|
1940
|
+
GPUDevice.prototype.createRenderBundleEncoder = function(descriptor) {};
|
|
1941
|
+
/**
|
|
1942
|
+
* @param {!GPURenderPipelineDescriptor} descriptor
|
|
1943
|
+
* @return {!GPURenderPipeline}
|
|
1944
|
+
*/
|
|
1945
|
+
GPUDevice.prototype.createRenderPipeline = function(descriptor) {};
|
|
1946
|
+
/**
|
|
1947
|
+
* @param {!GPURenderPipelineDescriptor} descriptor
|
|
1948
|
+
* @return {!Promise<!GPURenderPipeline>}
|
|
1949
|
+
*/
|
|
1950
|
+
GPUDevice.prototype.createRenderPipelineAsync = function(descriptor) {};
|
|
1951
|
+
/**
|
|
1952
|
+
* @param {!GPUSamplerDescriptor=} opt_descriptor
|
|
1953
|
+
* @return {!GPUSampler}
|
|
1954
|
+
*/
|
|
1955
|
+
GPUDevice.prototype.createSampler = function(opt_descriptor) {};
|
|
1956
|
+
/**
|
|
1957
|
+
* @param {!GPUShaderModuleDescriptor} descriptor
|
|
1958
|
+
* @return {!GPUShaderModule}
|
|
1959
|
+
*/
|
|
1960
|
+
GPUDevice.prototype.createShaderModule = function(descriptor) {};
|
|
1961
|
+
/**
|
|
1962
|
+
* @param {!GPUTextureDescriptor} descriptor
|
|
1963
|
+
* @return {!GPUTexture}
|
|
1964
|
+
*/
|
|
1965
|
+
GPUDevice.prototype.createTexture = function(descriptor) {};
|
|
1966
|
+
/**
|
|
1967
|
+
* @return {undefined}
|
|
1968
|
+
*/
|
|
1969
|
+
GPUDevice.prototype.destroy = function() {};
|
|
1970
|
+
/**
|
|
1971
|
+
* @param {!GPUExternalTextureDescriptor} descriptor
|
|
1972
|
+
* @return {!GPUExternalTexture}
|
|
1973
|
+
*/
|
|
1974
|
+
GPUDevice.prototype.importExternalTexture = function(descriptor) {};
|
|
1975
|
+
/**
|
|
1976
|
+
* @return {!Promise<!GPUError|null>}
|
|
1977
|
+
*/
|
|
1978
|
+
GPUDevice.prototype.popErrorScope = function() {};
|
|
1979
|
+
/**
|
|
1980
|
+
* @param {!GPUErrorFilter} filter
|
|
1981
|
+
* @return {undefined}
|
|
1982
|
+
*/
|
|
1983
|
+
GPUDevice.prototype.pushErrorScope = function(filter) {};
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* @record
|
|
1987
|
+
* @see https://gpuweb.github.io/gpuweb/#dictdef-gpucanvastonemapping
|
|
1988
|
+
*/
|
|
1989
|
+
function GPUCanvasToneMapping() {}
|
|
1990
|
+
/** @type {!GPUCanvasToneMappingMode|undefined} */
|
|
1991
|
+
GPUCanvasToneMapping.prototype.mode;
|
|
1992
|
+
|
|
1993
|
+
/**
|
|
1994
|
+
* @record
|
|
1995
|
+
* @see https://gpuweb.github.io/gpuweb/#dictdef-gpucanvasconfiguration
|
|
1996
|
+
*/
|
|
1997
|
+
function GPUCanvasConfiguration() {}
|
|
1998
|
+
/** @type {!GPUCanvasAlphaMode|undefined} */
|
|
1999
|
+
GPUCanvasConfiguration.prototype.alphaMode;
|
|
2000
|
+
/** @type {!PredefinedColorSpace|undefined} */
|
|
2001
|
+
GPUCanvasConfiguration.prototype.colorSpace;
|
|
2002
|
+
/** @type {!GPUDevice} */
|
|
2003
|
+
GPUCanvasConfiguration.prototype.device;
|
|
2004
|
+
/** @type {!GPUTextureFormat} */
|
|
2005
|
+
GPUCanvasConfiguration.prototype.format;
|
|
2006
|
+
/** @type {!GPUCanvasToneMapping|undefined} */
|
|
2007
|
+
GPUCanvasConfiguration.prototype.toneMapping;
|
|
2008
|
+
/** @type {!GPUTextureUsageFlags|undefined} */
|
|
2009
|
+
GPUCanvasConfiguration.prototype.usage;
|
|
2010
|
+
/** @type {!Array<!GPUTextureFormat>|undefined} */
|
|
2011
|
+
GPUCanvasConfiguration.prototype.viewFormats;
|
|
2012
|
+
|
|
2013
|
+
/**
|
|
2014
|
+
* @constructor
|
|
2015
|
+
* @see https://developer.mozilla.org/docs/Web/API/GPUCanvasContext
|
|
2016
|
+
*/
|
|
2017
|
+
function GPUCanvasContext() {}
|
|
2018
|
+
/** @type {!HTMLCanvasElement|!OffscreenCanvas} */
|
|
2019
|
+
GPUCanvasContext.prototype.canvas;
|
|
2020
|
+
/**
|
|
2021
|
+
* @param {!GPUCanvasConfiguration} configuration
|
|
2022
|
+
* @return {undefined}
|
|
2023
|
+
*/
|
|
2024
|
+
GPUCanvasContext.prototype.configure = function(configuration) {};
|
|
2025
|
+
/**
|
|
2026
|
+
* @return {!GPUCanvasConfiguration|null}
|
|
2027
|
+
*/
|
|
2028
|
+
GPUCanvasContext.prototype.getConfiguration = function() {};
|
|
2029
|
+
/**
|
|
2030
|
+
* @return {!GPUTexture}
|
|
2031
|
+
*/
|
|
2032
|
+
GPUCanvasContext.prototype.getCurrentTexture = function() {};
|
|
2033
|
+
/**
|
|
2034
|
+
* @return {undefined}
|
|
2035
|
+
*/
|
|
2036
|
+
GPUCanvasContext.prototype.unconfigure = function() {};
|
|
2037
|
+
|
|
2038
|
+
/**
|
|
2039
|
+
* @record
|
|
2040
|
+
* @see https://gpuweb.github.io/gpuweb/#dictdef-gpurequestadapteroptions
|
|
2041
|
+
*/
|
|
2042
|
+
function GPURequestAdapterOptions() {}
|
|
2043
|
+
/** @type {boolean|undefined} */
|
|
2044
|
+
GPURequestAdapterOptions.prototype.forceFallbackAdapter;
|
|
2045
|
+
/** @type {!GPUPowerPreference|undefined} */
|
|
2046
|
+
GPURequestAdapterOptions.prototype.powerPreference;
|
|
2047
|
+
|
|
2048
|
+
/**
|
|
2049
|
+
* @constructor
|
|
2050
|
+
* @see https://developer.mozilla.org/docs/Web/API/GPUAdapter
|
|
2051
|
+
*/
|
|
2052
|
+
function GPUAdapter() {}
|
|
2053
|
+
/** @type {!GPUSupportedFeatures} */
|
|
2054
|
+
GPUAdapter.prototype.features;
|
|
2055
|
+
/** @type {!GPUAdapterInfo} */
|
|
2056
|
+
GPUAdapter.prototype.info;
|
|
2057
|
+
/** @type {!GPUSupportedLimits} */
|
|
2058
|
+
GPUAdapter.prototype.limits;
|
|
2059
|
+
/**
|
|
2060
|
+
* @param {!GPUDeviceDescriptor=} opt_descriptor
|
|
2061
|
+
* @return {!Promise<!GPUDevice>}
|
|
2062
|
+
*/
|
|
2063
|
+
GPUAdapter.prototype.requestDevice = function(opt_descriptor) {};
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* @constructor
|
|
2067
|
+
* @see https://developer.mozilla.org/docs/Web/API/GPU
|
|
2068
|
+
*/
|
|
2069
|
+
function GPU() {}
|
|
2070
|
+
/** @type {!WGSLLanguageFeatures} */
|
|
2071
|
+
GPU.prototype.wgslLanguageFeatures;
|
|
2072
|
+
/** @return {!GPUTextureFormat} */
|
|
2073
|
+
GPU.prototype.getPreferredCanvasFormat = function() {};
|
|
2074
|
+
/**
|
|
2075
|
+
* @param {!GPURequestAdapterOptions=} opt_options
|
|
2076
|
+
* @return {!Promise<!GPUAdapter|null>}
|
|
2077
|
+
*/
|
|
2078
|
+
GPU.prototype.requestAdapter = function(opt_options) {};
|
|
2079
|
+
|
|
2080
|
+
/** @type {!GPU} */
|
|
2081
|
+
Navigator.prototype.gpu;
|
|
2082
|
+
|
|
2083
|
+
/** @type {!GPU} */
|
|
2084
|
+
WorkerNavigator.prototype.gpu;
|
|
2085
|
+
|
|
1783
2086
|
/** @typedef {number} */
|
|
1784
2087
|
var GPUBufferDynamicOffset;
|
|
1785
2088
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "google-closure-compiler",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20260826.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": "^
|
|
44
|
+
"google-closure-compiler-java": "^20260826.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": "^
|
|
51
|
-
"google-closure-compiler-linux-arm64": "^
|
|
52
|
-
"google-closure-compiler-macos": "^
|
|
53
|
-
"google-closure-compiler-windows": "^
|
|
50
|
+
"google-closure-compiler-linux": "^20260826.0.0",
|
|
51
|
+
"google-closure-compiler-linux-arm64": "^20260826.0.0",
|
|
52
|
+
"google-closure-compiler-macos": "^20260826.0.0",
|
|
53
|
+
"google-closure-compiler-windows": "^20260826.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"gulp": "^5.0.1",
|