diff --git a/apps/desktop/package.json b/apps/desktop/package.json index d3b6e62a..f9f7e0e4 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -47,6 +47,7 @@ "@tauri-apps/plugin-window-state": "2.0.0-rc.0", "class-variance-authority": "^0.7.0", "clsx": "^2.1.0", + "core-js": "^3.38.1", "date-fns": "^2.30.0", "immer": "^10.0.4", "lucide-react": "^0.292.0", diff --git a/apps/desktop/src/main.tsx b/apps/desktop/src/main.tsx index 27154cfb..d198d5fd 100644 --- a/apps/desktop/src/main.tsx +++ b/apps/desktop/src/main.tsx @@ -1,3 +1,6 @@ +// shim some stuff +import 'core-js/actual/promise'; + import React from "react"; import ReactDOM from "react-dom/client"; import App from "./App"; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 60e80222..c95f94cd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,7 +16,7 @@ importers: version: 3.592.0 '@types/github-script': specifier: github:actions/github-script - version: github-script@https://codeload.github.com/actions/github-script/tar.gz/58d7008c60bc638cd07845c89db844ed32ee7014 + version: github-script@https://codeload.github.com/actions/github-script/tar.gz/660ec11d825b714d112a6bb9727086bc2cc500b2 dotenv: specifier: ^16.4.5 version: 16.4.5 @@ -199,6 +199,9 @@ importers: clsx: specifier: ^2.1.0 version: 2.1.1 + core-js: + specifier: ^3.38.1 + version: 3.38.1 date-fns: specifier: ^2.30.0 version: 2.30.0 @@ -3481,6 +3484,9 @@ packages: resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} engines: {node: '>= 0.6'} + core-js@3.38.1: + resolution: {integrity: sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==} + cross-env@7.0.3: resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==} engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'} @@ -3899,8 +3905,8 @@ packages: get-tsconfig@4.7.5: resolution: {integrity: sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==} - github-script@https://codeload.github.com/actions/github-script/tar.gz/58d7008c60bc638cd07845c89db844ed32ee7014: - resolution: {tarball: https://codeload.github.com/actions/github-script/tar.gz/58d7008c60bc638cd07845c89db844ed32ee7014} + github-script@https://codeload.github.com/actions/github-script/tar.gz/660ec11d825b714d112a6bb9727086bc2cc500b2: + resolution: {tarball: https://codeload.github.com/actions/github-script/tar.gz/660ec11d825b714d112a6bb9727086bc2cc500b2} version: 7.0.1 engines: {node: '>=20.0.0 <21.0.0'} @@ -6192,8 +6198,8 @@ snapshots: '@aws-crypto/sha1-browser': 3.0.0 '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sso-oidc': 3.592.0 - '@aws-sdk/client-sts': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0) + '@aws-sdk/client-sso-oidc': 3.592.0(@aws-sdk/client-sts@3.592.0) + '@aws-sdk/client-sts': 3.592.0 '@aws-sdk/core': 3.592.0 '@aws-sdk/credential-provider-node': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0)(@aws-sdk/client-sts@3.592.0) '@aws-sdk/middleware-bucket-endpoint': 3.587.0 @@ -6250,11 +6256,11 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-sso-oidc@3.592.0': + '@aws-sdk/client-sso-oidc@3.592.0(@aws-sdk/client-sts@3.592.0)': dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0) + '@aws-sdk/client-sts': 3.592.0 '@aws-sdk/core': 3.592.0 '@aws-sdk/credential-provider-node': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0)(@aws-sdk/client-sts@3.592.0) '@aws-sdk/middleware-host-header': 3.577.0 @@ -6293,6 +6299,7 @@ snapshots: '@smithy/util-utf8': 3.0.0 tslib: 2.6.3 transitivePeerDependencies: + - '@aws-sdk/client-sts' - aws-crt '@aws-sdk/client-sso@3.592.0': @@ -6338,11 +6345,11 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-sts@3.592.0(@aws-sdk/client-sso-oidc@3.592.0)': + '@aws-sdk/client-sts@3.592.0': dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sso-oidc': 3.592.0 + '@aws-sdk/client-sso-oidc': 3.592.0(@aws-sdk/client-sts@3.592.0) '@aws-sdk/core': 3.592.0 '@aws-sdk/credential-provider-node': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0)(@aws-sdk/client-sts@3.592.0) '@aws-sdk/middleware-host-header': 3.577.0 @@ -6381,7 +6388,6 @@ snapshots: '@smithy/util-utf8': 3.0.0 tslib: 2.6.3 transitivePeerDependencies: - - '@aws-sdk/client-sso-oidc' - aws-crt '@aws-sdk/core@3.592.0': @@ -6415,7 +6421,7 @@ snapshots: '@aws-sdk/credential-provider-ini@3.592.0(@aws-sdk/client-sso-oidc@3.592.0)(@aws-sdk/client-sts@3.592.0)': dependencies: - '@aws-sdk/client-sts': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0) + '@aws-sdk/client-sts': 3.592.0 '@aws-sdk/credential-provider-env': 3.587.0 '@aws-sdk/credential-provider-http': 3.587.0 '@aws-sdk/credential-provider-process': 3.587.0 @@ -6473,7 +6479,7 @@ snapshots: '@aws-sdk/credential-provider-web-identity@3.587.0(@aws-sdk/client-sts@3.592.0)': dependencies: - '@aws-sdk/client-sts': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0) + '@aws-sdk/client-sts': 3.592.0 '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.1.0 '@smithy/types': 3.0.0 @@ -6589,7 +6595,7 @@ snapshots: '@aws-sdk/token-providers@3.587.0(@aws-sdk/client-sso-oidc@3.592.0)': dependencies: - '@aws-sdk/client-sso-oidc': 3.592.0 + '@aws-sdk/client-sso-oidc': 3.592.0(@aws-sdk/client-sts@3.592.0) '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.1.0 '@smithy/shared-ini-file-loader': 3.1.0 @@ -9657,6 +9663,8 @@ snapshots: cookie@0.6.0: {} + core-js@3.38.1: {} + cross-env@7.0.3: dependencies: cross-spawn: 7.0.3 @@ -10155,7 +10163,7 @@ snapshots: dependencies: resolve-pkg-maps: 1.0.0 - github-script@https://codeload.github.com/actions/github-script/tar.gz/58d7008c60bc638cd07845c89db844ed32ee7014: + github-script@https://codeload.github.com/actions/github-script/tar.gz/660ec11d825b714d112a6bb9727086bc2cc500b2: dependencies: '@actions/core': 1.10.1 '@actions/exec': 1.1.1