From 77ecc0bc45a4a043e83df412bad817ebd2774a23 Mon Sep 17 00:00:00 2001 From: Jared Luxenberg Date: Tue, 5 Sep 2023 22:54:51 -0700 Subject: [PATCH] fix: switch to our fork of `goober` This fork of Goober has this PR merged: https://github.com/cristianbote/goober/pull/562 which fixes an issue caused by sites that set "window.target" to some non-undefined value. --- package.json | 2 +- pnpm-lock.yaml | 33 ++++++++++++++++++++------------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 5aa0fb4..6cb698f 100644 --- a/package.json +++ b/package.json @@ -94,8 +94,8 @@ "typescript": "^5.0.4" }, "dependencies": { - "goober": "^2.1.10", "csstype": "^3.1.0", + "goober": "github:tryfoobar/goober#release/v2.1.13-alpha1", "use-sync-external-store": "^1.2.0" }, "peerDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c52b9bb..f2beb3a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,9 +1,16 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + dependencies: + csstype: + specifier: ^3.1.0 + version: 3.1.0 goober: - specifier: ^2.1.10 - version: 2.1.10(csstype@3.1.0) + specifier: github:tryfoobar/goober#release/v2.1.13-alpha1 + version: github.com/tryfoobar/goober/2d465650c265261f65c92b5d1fccdb44a1a6ce93(csstype@3.1.0) use-sync-external-store: specifier: ^1.2.0 version: 1.2.0(react@18.2.0) @@ -36,9 +43,6 @@ devDependencies: '@types/use-sync-external-store': specifier: ^0.0.3 version: 0.0.3 - csstype: - specifier: ^3.1.0 - version: 3.1.0 jest: specifier: ^28.1.3 version: 28.1.3 @@ -2117,14 +2121,6 @@ packages: slash: 3.0.0 dev: true - /goober@2.1.10(csstype@3.1.0): - resolution: {integrity: sha512-7PpuQMH10jaTWm33sQgBQvz45pHR8N4l3Cu3WMGEWmHShAcTuuP7I+5/DwKo39fwti5A80WAjvqgz6SSlgWmGA==} - peerDependencies: - csstype: ^3.0.10 - dependencies: - csstype: 3.1.0 - dev: false - /graceful-fs@4.2.10: resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} dev: true @@ -3889,3 +3885,14 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} dev: true + + github.com/tryfoobar/goober/2d465650c265261f65c92b5d1fccdb44a1a6ce93(csstype@3.1.0): + resolution: {tarball: https://codeload.github.com/tryfoobar/goober/tar.gz/2d465650c265261f65c92b5d1fccdb44a1a6ce93} + id: github.com/tryfoobar/goober/2d465650c265261f65c92b5d1fccdb44a1a6ce93 + name: goober + version: 2.1.13-alpha1 + peerDependencies: + csstype: ^3.0.10 + dependencies: + csstype: 3.1.0 + dev: false