diff --git a/cli/plasmo/package.json b/cli/plasmo/package.json index 9fec3d71c..4d37fb94e 100644 --- a/cli/plasmo/package.json +++ b/cli/plasmo/package.json @@ -6,7 +6,7 @@ "types": "dist/type.d.ts" }, "types": "src/type.ts", - "module": "dist/index.js", + "main": "dist/index.js", "bin": "bin/index.mjs", "type": "module", "files": [ diff --git a/core/parcel-bundler/.gitignore b/core/parcel-bundler/.gitignore new file mode 100644 index 000000000..c7df64ac6 --- /dev/null +++ b/core/parcel-bundler/.gitignore @@ -0,0 +1,3 @@ +node_modules + +dist/ \ No newline at end of file diff --git a/core/parcel-bundler/package.json b/core/parcel-bundler/package.json new file mode 100644 index 000000000..e1df23e5e --- /dev/null +++ b/core/parcel-bundler/package.json @@ -0,0 +1,35 @@ +{ + "name": "@plasmohq/parcel-bundler", + "version": "0.7.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/PlasmoHQ/plasmo.git" + }, + "main": "dist/index.js", + "source": "src/index.ts", + "scripts": { + "prepublishOnly": "pnpm build", + "build": "tsup src/index.ts --minify --clean", + "dev": "tsup src/index.ts --sourcemap --watch" + }, + "engines": { + "node": ">= 16.0.0", + "parcel": ">= 2.7.0" + }, + "dependencies": { + "@parcel/diagnostic": "2.10.2", + "@parcel/graph": "3.0.2", + "@parcel/plugin": "2.10.2", + "@parcel/rust": "2.10.2", + "@parcel/utils": "2.10.2", + "nullthrows": "1.1.1" + }, + "devDependencies": { + "@parcel/bundler-default": "2.10.2", + "@parcel/types": "2.10.2", + "@plasmo/config": "workspace:*", + "@plasmo/utils": "workspace:*", + "tsup": "7.2.0" + } +} diff --git a/core/parcel-bundler/src/index.ts b/core/parcel-bundler/src/index.ts new file mode 100644 index 000000000..f62126387 --- /dev/null +++ b/core/parcel-bundler/src/index.ts @@ -0,0 +1,11 @@ +/** + * Copyright (c) 2023 Plasmo Corp. (https://www.plasmo.com) and contributors + * MIT License + * + * Based on: https://github.com/parcel-bundler/parcel/blob/v2/packages/bundlers/default/package.json + * MIT License + */ + +import Bundler from "@parcel/bundler-default" + +export default Bundler diff --git a/core/parcel-bundler/tsconfig.json b/core/parcel-bundler/tsconfig.json new file mode 100644 index 000000000..477d2b6e0 --- /dev/null +++ b/core/parcel-bundler/tsconfig.json @@ -0,0 +1,5 @@ +{ + "extends": "@plasmo/config/ts/framework", + "include": ["src/**/*.ts"], + "exclude": ["dist", "node_modules"] +} diff --git a/core/parcel-config/index.json b/core/parcel-config/index.json index 961717939..afc2b6d68 100644 --- a/core/parcel-config/index.json +++ b/core/parcel-config/index.json @@ -1,6 +1,6 @@ { "extends": "@parcel/config-default", - "bundler": "@parcel/bundler-default", + "bundler": "@plasmohq/parcel-bundler", "resolvers": [ "@plasmohq/parcel-resolver", "@parcel/resolver-default", diff --git a/core/parcel-config/package.json b/core/parcel-config/package.json index 20aa30c0d..5c98c4056 100644 --- a/core/parcel-config/package.json +++ b/core/parcel-config/package.json @@ -8,14 +8,13 @@ }, "main": "index.json", "dependencies": { - "@parcel/bundler-default": "2.10.2", "@parcel/compressor-raw": "2.10.2", "@parcel/config-default": "2.10.2", "@parcel/core": "2.10.2", "@parcel/optimizer-data-url": "2.10.2", "@parcel/reporter-bundle-buddy": "2.10.2", "@parcel/resolver-default": "2.10.2", - "@parcel/runtime-js": "2.10.2", + "@parcel/runtime-js": "2.8.3", "@parcel/runtime-service-worker": "2.10.2", "@parcel/source-map": "2.1.1", "@parcel/transformer-babel": "2.10.2", @@ -30,6 +29,7 @@ "@parcel/transformer-sass": "2.10.2", "@parcel/transformer-svg-react": "2.10.2", "@parcel/transformer-worklet": "2.10.2", + "@plasmohq/parcel-bundler": "workspace:*", "@plasmohq/parcel-compressor-utf8": "workspace:*", "@plasmohq/parcel-namer-manifest": "workspace:*", "@plasmohq/parcel-optimizer-encapsulate": "workspace:*", diff --git a/core/parcel-runtime/src/index.ts b/core/parcel-runtime/src/index.ts index d048bd77e..5a0c39eb2 100644 --- a/core/parcel-runtime/src/index.ts +++ b/core/parcel-runtime/src/index.ts @@ -76,15 +76,15 @@ export default new Runtime({ return } - const manifest = bundleGraph - .getBundles() - .find((b) => b.getMainEntry()?.meta.webextEntry === true) + // const manifest = bundleGraph + // .getBundles() + // .find((b) => b.getMainEntry()?.meta.webextEntry === true) - const entry = manifest?.getMainEntry() - const insertDep = entry?.meta.webextBGInsert - if (!manifest || !entry || insertDep === null) { - return - } + // const entry = manifest?.getMainEntry() + // const insertDep = entry?.meta.webextBGInsert + // if (!manifest || !entry || insertDep === null) { + // return + // } const entryFilePath = bundle.getMainEntry()?.filePath if (!entryFilePath) { @@ -169,37 +169,6 @@ export default new Runtime({ sourceType: "module" } } - } else { - let firstInsertableBundle - const insertBundle = bundleGraph.getReferencedBundle( - entry?.getDependencies().find((dep) => dep.id === insertDep), - manifest - ) - bundleGraph.traverseBundles((b, _, actions) => { - if (b.type == "js") { - firstInsertableBundle = b - actions.stop() - } - }, insertBundle) - - if (bundle === firstInsertableBundle) { - return { - filePath: __filename, - code: `JSON.parse(${JSON.stringify( - JSON.stringify( - JSON.parse( - replaceURLReferences({ - bundle: manifest, - bundleGraph, - contents: await entry.getCode(), - getReplacement: () => "" - }).contents - ) - ) - )})`, - isEntry: true - } - } } } }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0d620c4b3..780a065e5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -403,6 +403,43 @@ importers: specifier: 3.3.8 version: 3.3.8(typescript@5.2.2) + core/parcel-bundler: + dependencies: + '@parcel/diagnostic': + specifier: 2.10.2 + version: 2.10.2 + '@parcel/graph': + specifier: 3.0.2 + version: 3.0.2 + '@parcel/plugin': + specifier: 2.10.2 + version: 2.10.2(@parcel/core@2.10.2) + '@parcel/rust': + specifier: 2.10.2 + version: 2.10.2 + '@parcel/utils': + specifier: 2.10.2 + version: 2.10.2 + nullthrows: + specifier: ^1.1.1 + version: 1.1.1 + devDependencies: + '@parcel/bundler-default': + specifier: 2.10.2 + version: 2.10.2(patch_hash=g5vra6dvyjgmh75x3ewfdh7vle)(@parcel/core@2.10.2) + '@parcel/types': + specifier: 2.10.2 + version: 2.10.2(@parcel/core@2.10.2) + '@plasmo/config': + specifier: workspace:* + version: link:../../packages/config + '@plasmo/utils': + specifier: workspace:* + version: link:../../packages/utils + tsup: + specifier: 7.2.0 + version: 7.2.0(@swc/core@1.3.96) + core/parcel-compressor-utf8: dependencies: '@parcel/plugin': @@ -421,9 +458,6 @@ importers: core/parcel-config: dependencies: - '@parcel/bundler-default': - specifier: 2.10.2 - version: 2.10.2(patch_hash=g5vra6dvyjgmh75x3ewfdh7vle)(@parcel/core@2.10.2) '@parcel/compressor-raw': specifier: 2.10.2 version: 2.10.2(@parcel/core@2.10.2) @@ -443,8 +477,8 @@ importers: specifier: 2.10.2 version: 2.10.2(@parcel/core@2.10.2) '@parcel/runtime-js': - specifier: 2.10.2 - version: 2.10.2(@parcel/core@2.10.2) + specifier: 2.8.3 + version: 2.8.3(@parcel/core@2.10.2) '@parcel/runtime-service-worker': specifier: 2.10.2 version: 2.10.2(@parcel/core@2.10.2) @@ -487,6 +521,9 @@ importers: '@parcel/transformer-worklet': specifier: 2.10.2 version: 2.10.2(@parcel/core@2.10.2) + '@plasmohq/parcel-bundler': + specifier: workspace:* + version: link:../parcel-bundler '@plasmohq/parcel-compressor-utf8': specifier: workspace:* version: link:../parcel-compressor-utf8 @@ -6246,13 +6283,11 @@ packages: /@lezer/common@1.1.0: resolution: {integrity: sha512-XPIN3cYDXsoJI/oDWoR2tD++juVrhgIago9xyKhZ7IhGlzdDM9QgC8D8saKNCz5pindGcznFr2HBSsEQSWnSjw==} - dev: false /@lezer/lr@1.3.14: resolution: {integrity: sha512-z5mY4LStlA3yL7aHT/rqgG614cfcvklS+8oFRFBYrs4YaWLJyKKM4+nN6KopToX0o9Hj6zmH6M5kinOYuy06ug==} dependencies: '@lezer/common': 1.1.0 - dev: false /@ljharb/through@2.3.11: resolution: {integrity: sha512-ccfcIDlogiXNq5KcbAwbaO7lMh3Tm1i3khMPYpxlK8hH/W53zN81KM9coerRLOnTGu3nfXIniAmQbRI9OxbC0w==} @@ -6261,11 +6296,26 @@ packages: call-bind: 1.0.5 dev: false + /@lmdb/lmdb-darwin-arm64@2.5.2: + resolution: {integrity: sha512-+F8ioQIUN68B4UFiIBYu0QQvgb9FmlKw2ctQMSBfW2QBrZIxz9vD9jCGqTCPqZBRbPHAS/vG1zSXnKqnS2ch/A==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: false + optional: true + /@lmdb/lmdb-darwin-arm64@2.8.5: resolution: {integrity: sha512-KPDeVScZgA1oq0CiPBcOa3kHIqU+pTOwRFDIhxvmf8CTNvqdZQYp5cCKW0bUk69VygB2PuTiINFWbY78aR2pQw==} cpu: [arm64] os: [darwin] requiresBuild: true + optional: true + + /@lmdb/lmdb-darwin-x64@2.5.2: + resolution: {integrity: sha512-KvPH56KRLLx4KSfKBx0m1r7GGGUMXm0jrKmNE7plbHlesZMuPJICtn07HYgQhj1LNsK7Yqwuvnqh1QxhJnF1EA==} + cpu: [x64] + os: [darwin] + requiresBuild: true dev: false optional: true @@ -6274,6 +6324,13 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true + optional: true + + /@lmdb/lmdb-linux-arm64@2.5.2: + resolution: {integrity: sha512-aLl89VHL/wjhievEOlPocoefUyWdvzVrcQ/MHQYZm2JfV1jUsrbr/ZfkPPUFvZBf+VSE+Q0clWs9l29PCX1hTQ==} + cpu: [arm64] + os: [linux] + requiresBuild: true dev: false optional: true @@ -6282,6 +6339,13 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + optional: true + + /@lmdb/lmdb-linux-arm@2.5.2: + resolution: {integrity: sha512-5kQAP21hAkfW5Bl+e0P57dV4dGYnkNIpR7f/GAh6QHlgXx+vp/teVj4PGRZaKAvt0GX6++N6hF8NnGElLDuIDw==} + cpu: [arm] + os: [linux] + requiresBuild: true dev: false optional: true @@ -6290,6 +6354,13 @@ packages: cpu: [arm] os: [linux] requiresBuild: true + optional: true + + /@lmdb/lmdb-linux-x64@2.5.2: + resolution: {integrity: sha512-xUdUfwDJLGjOUPH3BuPBt0NlIrR7f/QHKgu3GZIXswMMIihAekj2i97oI0iWG5Bok/b+OBjHPfa8IU9velnP/Q==} + cpu: [x64] + os: [linux] + requiresBuild: true dev: false optional: true @@ -6298,6 +6369,13 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + optional: true + + /@lmdb/lmdb-win32-x64@2.5.2: + resolution: {integrity: sha512-zrBczSbXKxEyK2ijtbRdICDygRqWSRPpZMN5dD1T8VMEW5RIhIbwFWw2phDRXuBQdVDpSjalCIUMWMV2h3JaZA==} + cpu: [x64] + os: [win32] + requiresBuild: true dev: false optional: true @@ -6306,7 +6384,6 @@ packages: cpu: [x64] os: [win32] requiresBuild: true - dev: false optional: true /@mantine/core@6.0.19(@emotion/react@11.11.1)(@mantine/hooks@6.0.19)(@types/react@18.2.37)(react-dom@18.2.0)(react@18.2.0): @@ -6367,14 +6444,12 @@ packages: '@lezer/common': 1.1.0 '@lezer/lr': 1.3.14 json5: 2.2.3 - dev: false /@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.2: resolution: {integrity: sha512-9bfjwDxIDWmmOKusUcqdS4Rw+SETlp9Dy39Xui9BEGEk19dDwH0jhipwFzEff/pFg95NKymc6TOTbRKcWeRqyQ==} cpu: [arm64] os: [darwin] requiresBuild: true - dev: false optional: true /@msgpackr-extract/msgpackr-extract-darwin-x64@3.0.2: @@ -6382,7 +6457,6 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true - dev: false optional: true /@msgpackr-extract/msgpackr-extract-linux-arm64@3.0.2: @@ -6390,7 +6464,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: false optional: true /@msgpackr-extract/msgpackr-extract-linux-arm@3.0.2: @@ -6398,7 +6471,6 @@ packages: cpu: [arm] os: [linux] requiresBuild: true - dev: false optional: true /@msgpackr-extract/msgpackr-extract-linux-x64@3.0.2: @@ -6406,7 +6478,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: false optional: true /@msgpackr-extract/msgpackr-extract-win32-x64@3.0.2: @@ -6414,7 +6485,6 @@ packages: cpu: [x64] os: [win32] requiresBuild: true - dev: false optional: true /@mui/base@5.0.0-beta.23(@types/react@18.2.37)(react-dom@18.2.0)(react@18.2.0): @@ -6697,7 +6767,6 @@ packages: nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' - dev: false patched: true /@parcel/cache@2.10.2(@parcel/core@2.10.2): @@ -6711,6 +6780,18 @@ packages: '@parcel/logger': 2.10.2 '@parcel/utils': 2.10.2 lmdb: 2.8.5 + + /@parcel/cache@2.8.3(@parcel/core@2.10.2): + resolution: {integrity: sha512-k7xv5vSQrJLdXuglo+Hv3yF4BCSs1tQ/8Vbd6CHTkOhf7LcGg6CPtLw053R/KdMpd/4GPn0QrAsOLdATm1ELtQ==} + engines: {node: '>= 12.0.0'} + peerDependencies: + '@parcel/core': ^2.8.3 + dependencies: + '@parcel/core': 2.10.2 + '@parcel/fs': 2.8.3(@parcel/core@2.10.2) + '@parcel/logger': 2.8.3 + '@parcel/utils': 2.8.3 + lmdb: 2.5.2 dev: false /@parcel/codeframe@2.10.2: @@ -6718,6 +6799,12 @@ packages: engines: {node: '>= 12.0.0'} dependencies: chalk: 4.1.2 + + /@parcel/codeframe@2.8.3: + resolution: {integrity: sha512-FE7sY53D6n/+2Pgg6M9iuEC6F5fvmyBkRE4d9VdnOoxhTXtkEqpqYgX7RJ12FAQwNlxKq4suBJQMgQHMF2Kjeg==} + engines: {node: '>= 12.0.0'} + dependencies: + chalk: 4.1.2 dev: false /@parcel/compressor-raw@2.10.2(@parcel/core@2.10.2): @@ -6807,7 +6894,6 @@ packages: msgpackr: 1.9.9 nullthrows: 1.1.1 semver: 7.5.4 - dev: false /@parcel/diagnostic@2.10.2: resolution: {integrity: sha512-FwtphyiV/TJEiYIRYXBOloXp7XhTW37ifRSLr7RdLbDVyn/P9q/7l0+ORlnOL+WuKwbDQtY+dXYLh/ijTsq7qQ==} @@ -6815,11 +6901,29 @@ packages: dependencies: '@mischnic/json-sourcemap': 0.1.1 nullthrows: 1.1.1 + + /@parcel/diagnostic@2.8.3: + resolution: {integrity: sha512-u7wSzuMhLGWZjVNYJZq/SOViS3uFG0xwIcqXw12w54Uozd6BH8JlhVtVyAsq9kqnn7YFkw6pXHqAo5Tzh4FqsQ==} + engines: {node: '>= 12.0.0'} + dependencies: + '@mischnic/json-sourcemap': 0.1.1 + nullthrows: 1.1.1 dev: false /@parcel/events@2.10.2: resolution: {integrity: sha512-Dp8Oqh5UvSuIASfiHP8jrEtdtzzmTKiOG/RkSL3mtp2tK3mu6dZLJZbcdJXrvBTg7smtRiznkrIOJCawALC7AQ==} engines: {node: '>= 12.0.0'} + + /@parcel/events@2.8.3: + resolution: {integrity: sha512-hoIS4tAxWp8FJk3628bsgKxEvR7bq2scCVYHSqZ4fTi/s0+VymEATrRCUqf+12e5H47uw1/ZjoqrGtBI02pz4w==} + engines: {node: '>= 12.0.0'} + dev: false + + /@parcel/fs-search@2.8.3: + resolution: {integrity: sha512-DJBT2N8knfN7Na6PP2mett3spQLTqxFrvl0gv+TJRp61T8Ljc4VuUTb0hqBj+belaASIp3Q+e8+SgaFQu7wLiQ==} + engines: {node: '>= 12.0.0'} + dependencies: + detect-libc: 1.0.3 dev: false /@parcel/fs@2.10.2(@parcel/core@2.10.2): @@ -6834,6 +6938,19 @@ packages: '@parcel/utils': 2.10.2 '@parcel/watcher': 2.3.0 '@parcel/workers': 2.10.2(@parcel/core@2.10.2) + + /@parcel/fs@2.8.3(@parcel/core@2.10.2): + resolution: {integrity: sha512-y+i+oXbT7lP0e0pJZi/YSm1vg0LDsbycFuHZIL80pNwdEppUAtibfJZCp606B7HOjMAlNZOBo48e3hPG3d8jgQ==} + engines: {node: '>= 12.0.0'} + peerDependencies: + '@parcel/core': ^2.8.3 + dependencies: + '@parcel/core': 2.10.2 + '@parcel/fs-search': 2.8.3 + '@parcel/types': 2.8.3(@parcel/core@2.10.2) + '@parcel/utils': 2.8.3 + '@parcel/watcher': 2.3.0 + '@parcel/workers': 2.8.3(@parcel/core@2.10.2) dev: false /@parcel/graph@3.0.2: @@ -6841,6 +6958,13 @@ packages: engines: {node: '>= 12.0.0'} dependencies: nullthrows: 1.1.1 + + /@parcel/hash@2.8.3: + resolution: {integrity: sha512-FVItqzjWmnyP4ZsVgX+G00+6U2IzOvqDtdwQIWisCcVoXJFCqZJDy6oa2qDDFz96xCCCynjRjPdQx2jYBCpfYw==} + engines: {node: '>= 12.0.0'} + dependencies: + detect-libc: 1.0.3 + xxhash-wasm: 0.4.2 dev: false /@parcel/hash@2.9.3: @@ -6856,6 +6980,13 @@ packages: dependencies: '@parcel/diagnostic': 2.10.2 '@parcel/events': 2.10.2 + + /@parcel/logger@2.8.3: + resolution: {integrity: sha512-Kpxd3O/Vs7nYJIzkdmB6Bvp3l/85ydIxaZaPfGSGTYOfaffSOTkhcW9l6WemsxUrlts4za6CaEWcc4DOvaMOPA==} + engines: {node: '>= 12.0.0'} + dependencies: + '@parcel/diagnostic': 2.8.3 + '@parcel/events': 2.8.3 dev: false /@parcel/markdown-ansi@2.10.2: @@ -6863,6 +6994,12 @@ packages: engines: {node: '>= 12.0.0'} dependencies: chalk: 4.1.2 + + /@parcel/markdown-ansi@2.8.3: + resolution: {integrity: sha512-4v+pjyoh9f5zuU/gJlNvNFGEAb6J90sOBwpKJYJhdWXLZMNFCVzSigxrYO+vCsi8G4rl6/B2c0LcwIMjGPHmFQ==} + engines: {node: '>= 12.0.0'} + dependencies: + chalk: 4.1.2 dev: false /@parcel/namer-default@2.10.2(@parcel/core@2.10.2): @@ -6889,7 +7026,6 @@ packages: semver: 7.5.4 transitivePeerDependencies: - '@parcel/core' - dev: false /@parcel/optimizer-css@2.10.2(@parcel/core@2.10.2): resolution: {integrity: sha512-05H/Ng90TErSFZkNaUwi7gNCf2gLWi3/w07oIzHu1wjRjjKjZidqaQqZtHTEYoO9ffmhK14Xwh9q4IpOTa0sbQ==} @@ -6995,6 +7131,21 @@ packages: '@parcel/utils': 2.10.2 '@parcel/workers': 2.10.2(@parcel/core@2.10.2) semver: 7.5.4 + + /@parcel/package-manager@2.8.3(@parcel/core@2.10.2): + resolution: {integrity: sha512-tIpY5pD2lH53p9hpi++GsODy6V3khSTX4pLEGuMpeSYbHthnOViobqIlFLsjni+QA1pfc8NNNIQwSNdGjYflVA==} + engines: {node: '>= 12.0.0'} + peerDependencies: + '@parcel/core': ^2.8.3 + dependencies: + '@parcel/core': 2.10.2 + '@parcel/diagnostic': 2.8.3 + '@parcel/fs': 2.8.3(@parcel/core@2.10.2) + '@parcel/logger': 2.8.3 + '@parcel/types': 2.8.3(@parcel/core@2.10.2) + '@parcel/utils': 2.8.3 + '@parcel/workers': 2.8.3(@parcel/core@2.10.2) + semver: 5.7.2 dev: false /@parcel/packager-css@2.10.2(@parcel/core@2.10.2): @@ -7076,6 +7227,14 @@ packages: '@parcel/types': 2.10.2(@parcel/core@2.10.2) transitivePeerDependencies: - '@parcel/core' + + /@parcel/plugin@2.8.3(@parcel/core@2.10.2): + resolution: {integrity: sha512-jZ6mnsS4D9X9GaNnvrixDQwlUQJCohDX2hGyM0U0bY2NWU8Km97SjtoCpWjq+XBCx/gpC4g58+fk9VQeZq2vlw==} + engines: {node: '>= 12.0.0'} + dependencies: + '@parcel/types': 2.8.3(@parcel/core@2.10.2) + transitivePeerDependencies: + - '@parcel/core' dev: false /@parcel/profiler@2.10.2: @@ -7085,7 +7244,6 @@ packages: '@parcel/diagnostic': 2.10.2 '@parcel/events': 2.10.2 chrome-trace-event: 1.0.3 - dev: false /@parcel/reporter-bundle-buddy@2.10.2(@parcel/core@2.10.2): resolution: {integrity: sha512-LMQIIM1SsFPPv2SGkZ7R4UY3Q0FWuvWZ+dKrZSsn7SdWrFjgmwdtk1TNp9/jn/68FDYyouJtBcfVNLVopRM44Q==} @@ -7138,6 +7296,17 @@ packages: - '@parcel/core' dev: false + /@parcel/runtime-js@2.8.3(@parcel/core@2.10.2): + resolution: {integrity: sha512-IRja0vNKwvMtPgIqkBQh0QtRn0XcxNC8HU1jrgWGRckzu10qJWO+5ULgtOeR4pv9krffmMPqywGXw6l/gvJKYQ==} + engines: {node: '>= 12.0.0', parcel: ^2.8.3} + dependencies: + '@parcel/plugin': 2.8.3(@parcel/core@2.10.2) + '@parcel/utils': 2.8.3 + nullthrows: 1.1.1 + transitivePeerDependencies: + - '@parcel/core' + dev: false + /@parcel/runtime-react-refresh@2.10.2(@parcel/core@2.10.2): resolution: {integrity: sha512-9xW3g4FH9iizHWscHD2yEWJOCfYkIYMbWsZoj0EOMILqrRd1OZxHH8FbLYBQKT6swRbZI2mM19veVVBBfxco/Q==} engines: {node: '>= 12.0.0', parcel: ^2.10.2} @@ -7164,14 +7333,12 @@ packages: /@parcel/rust@2.10.2: resolution: {integrity: sha512-v/Cyf3iXlzSc6vgvPiEZzqdKAZ1jJ/aZX7y1YSupDh3RoqJI2bZ93kAOyEi+S7P3kshJkQM0px3YveJFOAMUOA==} engines: {node: '>= 12.0.0'} - dev: false /@parcel/source-map@2.1.1: resolution: {integrity: sha512-Ejx1P/mj+kMjQb8/y5XxDUn4reGdr+WyKYloBljpppUy8gs42T+BNoEOuRYqDVdgPc6NxduzIDoJS9pOFfV5Ew==} engines: {node: ^12.18.3 || >=14} dependencies: detect-libc: 1.0.3 - dev: false /@parcel/transformer-babel@2.10.2(@parcel/core@2.10.2): resolution: {integrity: sha512-lmuksSzEBdPL1nVTznsQi5hQ+4mJ7GP+jvOv/Tvx3MjnzIu1G6Fs5MvNpAwBRXmG/F1+0aw/Wa8J38HYfN05dA==} @@ -7408,6 +7575,19 @@ packages: utility-types: 3.10.0 transitivePeerDependencies: - '@parcel/core' + + /@parcel/types@2.8.3(@parcel/core@2.10.2): + resolution: {integrity: sha512-FECA1FB7+0UpITKU0D6TgGBpGxYpVSMNEENZbSJxFSajNy3wrko+zwBKQmFOLOiPcEtnGikxNs+jkFWbPlUAtw==} + dependencies: + '@parcel/cache': 2.8.3(@parcel/core@2.10.2) + '@parcel/diagnostic': 2.8.3 + '@parcel/fs': 2.8.3(@parcel/core@2.10.2) + '@parcel/package-manager': 2.8.3(@parcel/core@2.10.2) + '@parcel/source-map': 2.1.1 + '@parcel/workers': 2.8.3(@parcel/core@2.10.2) + utility-types: 3.10.0 + transitivePeerDependencies: + - '@parcel/core' dev: false /@parcel/utils@2.10.2: @@ -7422,6 +7602,18 @@ packages: '@parcel/source-map': 2.1.1 chalk: 4.1.2 nullthrows: 1.1.1 + + /@parcel/utils@2.8.3: + resolution: {integrity: sha512-IhVrmNiJ+LOKHcCivG5dnuLGjhPYxQ/IzbnF2DKNQXWBTsYlHkJZpmz7THoeLtLliGmSOZ3ZCsbR8/tJJKmxjA==} + engines: {node: '>= 12.0.0'} + dependencies: + '@parcel/codeframe': 2.8.3 + '@parcel/diagnostic': 2.8.3 + '@parcel/hash': 2.8.3 + '@parcel/logger': 2.8.3 + '@parcel/markdown-ansi': 2.8.3 + '@parcel/source-map': 2.1.1 + chalk: 4.1.2 dev: false /@parcel/watcher-android-arm64@2.3.0: @@ -7555,6 +7747,20 @@ packages: '@parcel/types': 2.10.2(@parcel/core@2.10.2) '@parcel/utils': 2.10.2 nullthrows: 1.1.1 + + /@parcel/workers@2.8.3(@parcel/core@2.10.2): + resolution: {integrity: sha512-+AxBnKgjqVpUHBcHLWIHcjYgKIvHIpZjN33mG5LG9XXvrZiqdWvouEzqEXlVLq5VzzVbKIQQcmsvRy138YErkg==} + engines: {node: '>= 12.0.0'} + peerDependencies: + '@parcel/core': ^2.8.3 + dependencies: + '@parcel/core': 2.10.2 + '@parcel/diagnostic': 2.8.3 + '@parcel/logger': 2.8.3 + '@parcel/types': 2.8.3(@parcel/core@2.10.2) + '@parcel/utils': 2.8.3 + chrome-trace-event: 1.0.3 + nullthrows: 1.1.1 dev: false /@pkgjs/parseargs@0.11.0: @@ -9149,7 +9355,6 @@ packages: /abortcontroller-polyfill@1.7.5: resolution: {integrity: sha512-JMJ5soJWP18htbbxJjG7bG6yuI6pRhgJ0scHHTfkUjf6wjP912xZWvM+A4sJK3gqd9E8fcPbDnOefbA9Th/FIQ==} - dev: false /accepts@1.3.8: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} @@ -9701,7 +9906,6 @@ packages: resolution: {integrity: sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==} dependencies: safe-buffer: 5.2.1 - dev: false /base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} @@ -10063,7 +10267,6 @@ packages: /chrome-trace-event@1.0.3: resolution: {integrity: sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==} engines: {node: '>=6.0'} - dev: false /ci-info@2.0.0: resolution: {integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==} @@ -10147,7 +10350,6 @@ packages: /clone@2.1.2: resolution: {integrity: sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==} engines: {node: '>=0.8'} - dev: false /clsx@1.1.1: resolution: {integrity: sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==} @@ -10904,7 +11106,6 @@ packages: /dotenv-expand@5.1.0: resolution: {integrity: sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==} - dev: false /dotenv@16.3.1: resolution: {integrity: sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==} @@ -10914,7 +11115,6 @@ packages: /dotenv@7.0.0: resolution: {integrity: sha512-M3NhsLbV1i6HuGzBUH8vXrtxOk+tWmzWKDMbAVSUp3Zsjm7ywFeuwrUXhmhQyRK1q5B5GGy7hcXPbj3bnfZg2g==} engines: {node: '>=6'} - dev: false /eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} @@ -13698,6 +13898,24 @@ packages: zen-observable: 0.8.15 dev: false + /lmdb@2.5.2: + resolution: {integrity: sha512-V5V5Xa2Hp9i2XsbDALkBTeHXnBXh/lEmk9p22zdr7jtuOIY9TGhjK6vAvTpOOx9IKU4hJkRWZxn/HsvR1ELLtA==} + requiresBuild: true + dependencies: + msgpackr: 1.9.9 + node-addon-api: 4.3.0 + node-gyp-build-optional-packages: 5.0.3 + ordered-binary: 1.4.1 + weak-lru-cache: 1.2.2 + optionalDependencies: + '@lmdb/lmdb-darwin-arm64': 2.5.2 + '@lmdb/lmdb-darwin-x64': 2.5.2 + '@lmdb/lmdb-linux-arm': 2.5.2 + '@lmdb/lmdb-linux-arm64': 2.5.2 + '@lmdb/lmdb-linux-x64': 2.5.2 + '@lmdb/lmdb-win32-x64': 2.5.2 + dev: false + /lmdb@2.8.5: resolution: {integrity: sha512-9bMdFfc80S+vSldBmG3HOuLVHnxRdNTlpzR6QDnzqCQtCzGUEAGTzBKYMeIM+I/sU4oZfgbcbS7X7F65/z/oxQ==} hasBin: true @@ -13715,7 +13933,6 @@ packages: '@lmdb/lmdb-linux-arm64': 2.8.5 '@lmdb/lmdb-linux-x64': 2.8.5 '@lmdb/lmdb-win32-x64': 2.8.5 - dev: false /load-tsconfig@0.2.5: resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} @@ -14327,14 +14544,12 @@ packages: '@msgpackr-extract/msgpackr-extract-linux-arm64': 3.0.2 '@msgpackr-extract/msgpackr-extract-linux-x64': 3.0.2 '@msgpackr-extract/msgpackr-extract-win32-x64': 3.0.2 - dev: false optional: true /msgpackr@1.9.9: resolution: {integrity: sha512-sbn6mioS2w0lq1O6PpGtsv6Gy8roWM+o3o4Sqjd6DudrL/nOugY+KyJUimoWzHnf9OkO0T6broHFnYE/R05t9A==} optionalDependencies: msgpackr-extract: 3.0.2 - dev: false /mute-stream@1.0.0: resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} @@ -14447,6 +14662,10 @@ packages: resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==} dev: false + /node-addon-api@4.3.0: + resolution: {integrity: sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==} + dev: false + /node-addon-api@6.1.0: resolution: {integrity: sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==} @@ -14484,11 +14703,15 @@ packages: whatwg-url: 5.0.0 dev: false + /node-gyp-build-optional-packages@5.0.3: + resolution: {integrity: sha512-k75jcVzk5wnnc/FMxsf4udAoTEUv2jY3ycfdSd3yWu6Cnd1oee6/CfZJApyscA4FJOmdoixWwiwOyf16RzD5JA==} + hasBin: true + dev: false + /node-gyp-build-optional-packages@5.0.7: resolution: {integrity: sha512-YlCCc6Wffkx0kHkmam79GKvDQ6x+QZkMjFGrIMxgFNILFvGSbCp2fCBC55pGTT9gVaz8Na5CLmxt/urtzRv36w==} hasBin: true requiresBuild: true - dev: false optional: true /node-gyp-build-optional-packages@5.1.1: @@ -14496,7 +14719,6 @@ packages: hasBin: true dependencies: detect-libc: 2.0.2 - dev: false /node-gyp-build@4.6.1: resolution: {integrity: sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==} @@ -14564,7 +14786,6 @@ packages: /nullthrows@1.1.1: resolution: {integrity: sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==} - dev: false /nwsapi@2.2.7: resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==} @@ -14726,7 +14947,6 @@ packages: /ordered-binary@1.4.1: resolution: {integrity: sha512-9LtiGlPy982CsgxZvJGNNp2/NnrgEr6EAyN3iIEP3/8vd3YLgAZQHbQ75ZrkfBRGrNg37Dk3U6tuVb+B4Xfslg==} - dev: false /os-browserify@0.3.0: resolution: {integrity: sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A==} @@ -15001,7 +15221,7 @@ packages: dependencies: lilconfig: 2.1.0 postcss: 8.4.31 - yaml: 2.3.1 + yaml: 2.3.4 /postcss-nested@6.0.1(postcss@8.4.31): resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} @@ -17908,7 +18128,6 @@ packages: /utility-types@3.10.0: resolution: {integrity: sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==} engines: {node: '>= 4'} - dev: false /utils-merge@1.0.1: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} @@ -17987,7 +18206,6 @@ packages: /weak-lru-cache@1.2.2: resolution: {integrity: sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw==} - dev: false /webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} @@ -18284,14 +18502,9 @@ packages: engines: {node: '>= 6'} dev: false - /yaml@2.3.1: - resolution: {integrity: sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==} - engines: {node: '>= 14'} - /yaml@2.3.4: resolution: {integrity: sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==} engines: {node: '>= 14'} - dev: false /yargs-parser@18.1.3: resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==}