mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
adding @astrojs/webapi for the TransformStream polyfill
This commit is contained in:
parent
1145ee1e09
commit
39e5b845a5
3 changed files with 5 additions and 5 deletions
|
@ -43,6 +43,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@altano/tiny-async-pool": "^1.0.2",
|
||||
"@astrojs/webapi": "^1.0.0",
|
||||
"image-size": "^1.0.2",
|
||||
"magic-string": "^0.25.9",
|
||||
"mime": "^3.0.0"
|
||||
|
@ -52,7 +53,6 @@
|
|||
"astro": "workspace:*",
|
||||
"astro-scripts": "workspace:*",
|
||||
"kleur": "^4.1.4",
|
||||
"rollup-plugin-copy": "^3.4.0",
|
||||
"web-streams-polyfill": "^3.2.1"
|
||||
"rollup-plugin-copy": "^3.4.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Worker, parentPort } from 'worker_threads';
|
||||
import { TransformStream } from 'web-streams-polyfill';
|
||||
import { TransformStream } from '@astrojs/webapi';
|
||||
|
||||
function uuid() {
|
||||
return Array.from({ length: 16 }, () =>
|
||||
|
|
|
@ -2227,6 +2227,7 @@ importers:
|
|||
packages/integrations/image:
|
||||
specifiers:
|
||||
'@altano/tiny-async-pool': ^1.0.2
|
||||
'@astrojs/webapi': ^1.0.0
|
||||
'@types/sharp': ^0.30.5
|
||||
astro: workspace:*
|
||||
astro-scripts: workspace:*
|
||||
|
@ -2235,9 +2236,9 @@ importers:
|
|||
magic-string: ^0.25.9
|
||||
mime: ^3.0.0
|
||||
rollup-plugin-copy: ^3.4.0
|
||||
web-streams-polyfill: ^3.2.1
|
||||
dependencies:
|
||||
'@altano/tiny-async-pool': 1.0.2
|
||||
'@astrojs/webapi': link:../../webapi
|
||||
image-size: 1.0.2
|
||||
magic-string: 0.25.9
|
||||
mime: 3.0.0
|
||||
|
@ -2247,7 +2248,6 @@ importers:
|
|||
astro-scripts: link:../../../scripts
|
||||
kleur: 4.1.5
|
||||
rollup-plugin-copy: 3.4.0
|
||||
web-streams-polyfill: 3.2.1
|
||||
|
||||
packages/integrations/image/test/fixtures/background-color-image:
|
||||
specifiers:
|
||||
|
|
Loading…
Reference in a new issue