Skip to content

Commit

Permalink
fix: update runtime compat data (#172)
Browse files Browse the repository at this point in the history
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and ascorbic authored Nov 17, 2024
1 parent 6f32cdb commit face1f4
Show file tree
Hide file tree
Showing 10 changed files with 2,854 additions and 2,259 deletions.
194 changes: 130 additions & 64 deletions generator/runtimes/bun/data.json

Large diffs are not rendered by default.

2,056 changes: 1,148 additions & 908 deletions generator/runtimes/deno/data.json

Large diffs are not rendered by default.

184 changes: 125 additions & 59 deletions generator/runtimes/edge-light/data.json

Large diffs are not rendered by default.

110 changes: 88 additions & 22 deletions generator/runtimes/fastly/data.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"__version": "10.12.4",
"__version": "10.12.6",
"results": {
".": [
{
Expand Down Expand Up @@ -28718,6 +28718,14 @@
},
"result": false
},
{
"name": "api.Fence.notifyEvent",
"info": {
"code": "\"Fence\" in self && \"notifyEvent\" in Fence.prototype",
"exposure": "Window"
},
"result": false
},
{
"name": "api.Fence.reportEvent",
"info": {
Expand Down Expand Up @@ -31407,6 +31415,14 @@
},
"result": false
},
{
"name": "api.GPUCanvasContext.getConfiguration",
"info": {
"code": "\"GPUCanvasContext\" in self && \"getConfiguration\" in GPUCanvasContext.prototype",
"exposure": "Window"
},
"result": false
},
{
"name": "api.GPUCanvasContext.getCurrentTexture",
"info": {
Expand Down Expand Up @@ -37539,6 +37555,15 @@
"result": null,
"message": "threw ReferenceError: document is not defined"
},
{
"name": "api.HTMLInputElement.alpha",
"info": {
"code": "(function () {\n var instance = document.createElement(\"input\");\n return !!instance && \"alpha\" in instance;\n})();\n",
"exposure": "Window"
},
"result": null,
"message": "threw ReferenceError: document is not defined"
},
{
"name": "api.HTMLInputElement.alt",
"info": {
Expand Down Expand Up @@ -37584,6 +37609,15 @@
"result": null,
"message": "threw ReferenceError: document is not defined"
},
{
"name": "api.HTMLInputElement.colorSpace",
"info": {
"code": "(function () {\n var instance = document.createElement(\"input\");\n return !!instance && \"colorSpace\" in instance;\n})();\n",
"exposure": "Window"
},
"result": null,
"message": "threw ReferenceError: document is not defined"
},
{
"name": "api.HTMLInputElement.defaultChecked",
"info": {
Expand Down Expand Up @@ -54597,6 +54631,15 @@
"result": null,
"message": "threw TypeError: performance.getEntriesByType is not a function"
},
{
"name": "api.PerformanceResourceTiming.finalResponseHeadersStart",
"info": {
"code": "(function () {\n var instance = performance.getEntriesByType(\"resource\")[0];\n return !!instance && \"finalResponseHeadersStart\" in instance;\n})();\n",
"exposure": "Window"
},
"result": null,
"message": "threw TypeError: performance.getEntriesByType is not a function"
},
{
"name": "api.PerformanceResourceTiming.firstInterimResponseStart",
"info": {
Expand Down Expand Up @@ -76368,6 +76411,14 @@
},
"result": false
},
{
"name": "api.VideoFrame.flip",
"info": {
"code": "\"VideoFrame\" in self && \"flip\" in VideoFrame.prototype",
"exposure": "Window"
},
"result": false
},
{
"name": "api.VideoFrame.format",
"info": {
Expand All @@ -76384,6 +76435,14 @@
},
"result": false
},
{
"name": "api.VideoFrame.rotation",
"info": {
"code": "\"VideoFrame\" in self && \"rotation\" in VideoFrame.prototype",
"exposure": "Window"
},
"result": false
},
{
"name": "api.VideoFrame.timestamp",
"info": {
Expand Down Expand Up @@ -85971,6 +86030,14 @@
},
"result": false
},
{
"name": "api.XRSession.trackedSources",
"info": {
"code": "\"XRSession\" in self && \"trackedSources\" in XRSession.prototype",
"exposure": "Window"
},
"result": false
},
{
"name": "api.XRSession.updateRenderState",
"info": {
Expand Down Expand Up @@ -87226,7 +87293,7 @@
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
},
{
"name": "api.ReadableStream.@@asyncIterator",
Expand All @@ -87235,7 +87302,7 @@
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
},
{
"name": "api.ReadableStream.cancel",
Expand All @@ -87244,7 +87311,7 @@
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
},
{
"name": "api.ReadableStream.getReader",
Expand All @@ -87253,7 +87320,7 @@
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
},
{
"name": "api.ReadableStream.locked",
Expand All @@ -87262,7 +87329,7 @@
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
},
{
"name": "api.ReadableStream.pipeThrough",
Expand All @@ -87271,7 +87338,7 @@
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
},
{
"name": "api.ReadableStream.pipeTo",
Expand All @@ -87280,7 +87347,7 @@
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
},
{
"name": "api.ReadableStream.tee",
Expand All @@ -87289,25 +87356,24 @@
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
},
{
"name": "api.ReadableStream.values",
"name": "api.ReadableStream.pipeThrough",
"info": {
"code": "(function () {\n if (!(\"fetch\" in self)) {\n return { result: false, message: \"fetch is not defined\" };\n }\n var promise = fetch(\"/favicon/favicon.ico\")\n .then(function (response) {\n return response.body;\n })\n .catch(function () {\n // Browsers need a relative path for CORS, but JS runtimes need an absolute path to reference\n return fetch(\n \"https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico\"\n ).then(function (response) {\n return response.body;\n });\n });\n if (!promise) {\n return { result: false, message: \"Promise variable is falsy\" };\n }\n return promise.then(function (instance) {\n return !!instance && \"values\" in instance;\n });\n})();\n",
"code": "(function () {\n if (!(\"fetch\" in self)) {\n return { result: false, message: \"fetch is not defined\" };\n }\n var promise = fetch(\"/favicon/favicon.ico\")\n .then(function (response) {\n return response.body;\n })\n .catch(function () {\n // Browsers need a relative path for CORS, but JS runtimes need an absolute path to reference\n return fetch(\n \"https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico\"\n ).then(function (response) {\n return response.body;\n });\n });\n if (!promise) {\n return { result: false, message: \"Promise variable is falsy\" };\n }\n return promise.then(function (instance) {\n return !!instance && \"pipeThrough\" in instance;\n });\n})();\n",
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"result": true
},
{
"name": "api.Response.Response.accept_readablestream",
"name": "api.ReadableStream.values",
"info": {
"code": "(function () {\n if (!(\"Response\" in self)) {\n return { result: false, message: \"Response is not defined\" };\n }\n var instance = new Response(\"\");\n if (!(\"fetch\" in self)) {\n return { result: false, message: \"fetch is not defined\" };\n }\n var rsPromise = fetch(\"/favicon/favicon.ico\")\n .then(function (response) {\n return response.body;\n })\n .catch(function () {\n // Browsers need a relative path for CORS, but JS runtimes need an absolute path to reference\n return fetch(\n \"https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico\"\n ).then(function (response) {\n return response.body;\n });\n });\n if (!rsPromise) {\n return { result: false, message: \"rsPromise is falsy\" };\n }\n return rsPromise.then(function (readableStream) {\n try {\n new Response(readableStream);\n return true;\n } catch (e) {\n return { result: false, message: e.message };\n }\n });\n})();\n",
"code": "(function () {\n if (!(\"fetch\" in self)) {\n return { result: false, message: \"fetch is not defined\" };\n }\n var promise = fetch(\"/favicon/favicon.ico\")\n .then(function (response) {\n return response.body;\n })\n .catch(function () {\n // Browsers need a relative path for CORS, but JS runtimes need an absolute path to reference\n return fetch(\n \"https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico\"\n ).then(function (response) {\n return response.body;\n });\n });\n if (!promise) {\n return { result: false, message: \"Promise variable is falsy\" };\n }\n return promise.then(function (instance) {\n return !!instance && \"values\" in instance;\n });\n})();\n",
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
},
{
"name": "api.ReadableStreamDefaultReader",
Expand All @@ -87316,7 +87382,7 @@
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
},
{
"name": "api.ReadableStreamDefaultReader.cancel",
Expand All @@ -87325,7 +87391,7 @@
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
},
{
"name": "api.ReadableStreamDefaultReader.closed",
Expand All @@ -87334,7 +87400,7 @@
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
},
{
"name": "api.ReadableStreamDefaultReader.read",
Expand All @@ -87343,7 +87409,7 @@
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
},
{
"name": "api.ReadableStreamDefaultReader.releaseLock",
Expand All @@ -87352,10 +87418,10 @@
"exposure": "Window"
},
"result": null,
"message": "threw Error: No backend specified for request with url https://mdn-bcd-collector.gooborg.com/favicon/favicon.ico. Must provide a `backend` property on the `init` object passed to either `new Request()` or `fetch`"
"message": "threw Error: Timed out"
}
]
},
"extensions": [],
"userAgent": "!! fastly/3.22.4"
"userAgent": "!! fastly/3.26.0"
}
Loading

0 comments on commit face1f4

Please sign in to comment.