Skip to content

Commit f4fe09e

Browse files
remove structuredClone polyfill
1 parent d3ab667 commit f4fe09e

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
"@types/tar": "4.0.0",
5050
"@types/uuid": "8.3.1",
5151
"@types/yauzl-promise": "2.1.0",
52-
"@ungap/structured-clone": "1.3.0",
5352
"codecov": "3.7.1",
5453
"cpy-cli": "2.0.0",
5554
"lint-staged": "9.2.5",

pnpm-lock.yaml

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vitest.config.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
import { defineConfig } from 'vitest/config';
2-
import structuredClone from '@ungap/structured-clone';
3-
4-
if (!("structuredClone" in globalThis)) {
5-
globalThis.structuredClone = structuredClone;
6-
}
72

83
export default defineConfig({
94
test: {
@@ -13,4 +8,4 @@ export default defineConfig({
138
include: ['dist/test/test.js'],
149
exclude: ['**/node_modules/**','**/.{idea,git,cache,output,temp}/**']
1510
}
16-
});
11+
});

0 commit comments

Comments
 (0)