Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ungap/structured-clone
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.1
Choose a base ref
...
head repository: ungap/structured-clone
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.2
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on May 3, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    41eaf8b View commit details
  2. 1.1.2

    WebReflection committed May 3, 2023
    Copy the full SHA
    a7b5f81 View commit details
Showing with 5 additions and 5 deletions.
  1. +1 −1 cjs/index.d.ts
  2. +1 −1 esm/index.d.ts
  3. +2 −2 package-lock.json
  4. +1 −1 package.json
2 changes: 1 addition & 1 deletion cjs/index.d.ts
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ import type { Cloneable } from "./internal.js";
*
* @param options - `transfer` is standard. `json` & `lossy` are not standard.
*/
export default function <T extends Cloneable>(
export default function <T extends any>(
any: T,
options?: {
transfer?: Transferable[]; // Standard
2 changes: 1 addition & 1 deletion esm/index.d.ts
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ import type { Cloneable } from "./internal.js";
*
* @param options - `transfer` is standard. `json` & `lossy` are not standard.
*/
export default function <T extends Cloneable>(
export default function <T extends any>(
any: T,
options?: {
transfer?: Transferable[]; // Standard
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ungap/structured-clone",
"version": "1.1.1",
"version": "1.1.2",
"description": "A structuredClone polyfill",
"main": "./cjs/index.js",
"types": "./esm/index.d.ts",