Skip to content

Commit

Permalink
structuredClone polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMock committed Nov 30, 2023
1 parent bac5ee9 commit b2dcd09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/unit/errors.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

import { test } from 'tap'
import { inspect } from 'node:util'
// structuredClone is available in the Node.js stdlib starting in v18
// drop this dev dependency when this lib (explicitly) stops supporting v14 and v16
import structuredClone from '@ungap/structured-clone'

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (14.x, ubuntu-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (14.x, windows-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (14.x, macOS-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (16.x, ubuntu-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (16.x, windows-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (16.x, macOS-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (18.x, ubuntu-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (18.x, windows-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (18.x, macOS-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (19.x, ubuntu-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (19.x, windows-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (19.x, macOS-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (20.x, ubuntu-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (20.x, windows-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.

Check failure on line 24 in test/unit/errors.test.ts

View workflow job for this annotation

GitHub Actions / Test (20.x, macOS-latest)

Cannot find module '@ungap/structured-clone' or its corresponding type declarations.
import { errors, DiagnosticResult } from '../../'
import { HttpConnection, UndiciConnection } from '../../'

Expand Down

0 comments on commit b2dcd09

Please sign in to comment.