diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 775add4..7909275 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -201,8 +201,26 @@ jobs: - name: Unit tests run: yarn test + # `vscode:prepublish` bundles the extension (scripts/bundle.mjs) and + # prints every package that went into the bundle. - name: Test packaging (without binaries) - run: npx vsce package --yarn + run: npx vsce package --no-dependencies + + - name: The package is the bundle, with no node_modules + run: scripts/check-package.sh comline-vscode-*.vsix + + - name: Unpack the package + run: unzip -q comline-vscode-*.vsix -d "$RUNNER_TEMP/vsix" + + # The oldest editor package.json allows (engines.vscode ^1.75.0) runs + # extensions on Node 16. + - name: Setup Node.js 16, the oldest extension host + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + with: + node-version: 16.20.2 + + - name: The bundle loads on Node 16 + run: node scripts/check-bundle.cjs "$RUNNER_TEMP/vsix" - name: Upload test package uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ff78b1..b6d33d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -283,9 +283,9 @@ jobs: run: | chmod +x bin/*/comline-lsp 2>/dev/null || true if [ "$TARGET" = universal ]; then - npx vsce package --yarn -o "$VSIX" + npx vsce package --no-dependencies -o "$VSIX" else - npx vsce package --yarn --target "$TARGET" -o "$VSIX" + npx vsce package --no-dependencies --target "$TARGET" -o "$VSIX" fi - name: Verify the package holds exactly its own binary @@ -302,6 +302,9 @@ jobs: || { echo "::error::expected exactly extension/bin/$TARGET/$name"; exit 1; } fi + - name: Verify the package is the bundle, with no node_modules + run: scripts/check-package.sh "$VSIX" + - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: vsix-${{ matrix.target }} diff --git a/.gitignore b/.gitignore index bedf085..008e365 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ node_modules out +dist *.vsix .vscode-test/ *.log diff --git a/.vscode/launch.json b/.vscode/launch.json index 720c71f..ff8ceed 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,7 @@ "${workspaceFolder}/test-workspace" ], "outFiles": [ - "${workspaceFolder}/out/**/*.js" + "${workspaceFolder}/dist/**/*.js" ], "preLaunchTask": "${defaultBuildTask}" } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 6c50e84..13d65df 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -3,7 +3,7 @@ "tasks": [ { "type": "npm", - "script": "compile", + "script": "bundle", "group": { "kind": "build", "isDefault": true diff --git a/.vscodeignore b/.vscodeignore index febce1b..64bbd74 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -16,4 +16,9 @@ scripts/** test-workspace/** bin/README.md RELEASING.md -out/**/*.test.js + +# The bundle (dist/extension.js) holds the code and every dependency it needs +# (scripts/bundle.mjs), so neither the dependencies nor the tsc output that the +# unit tests and the Flatpak e2e use ship. +node_modules/** +out/** diff --git a/CHANGELOG.md b/CHANGELOG.md index ed930eb..41e2bec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -93,6 +93,17 @@ All notable changes to the "comline-vscode" extension will be documented in this held by vsce's old `markdown-it`, `linkify-it` and `uuid` with it. ### Fixed +- The extension is bundled (esbuild) into one file, `dist/extension.js`, and the + `.vsix` no longer carries `node_modules`. `vsce` had been copying the + top-level `node_modules/` of each dependency, which is whichever copy + the development dependencies made most common, not the one the dependency + asked for: the packages held `minimatch` 3 and `brace-expansion` 2 for + `vscode-languageclient`, which wants `minimatch` ^5.1.0, whose own + `brace-expansion` is ^2. The bundle resolves every `require` from the file + that makes it, so `vscode-languageclient` gets its own `minimatch` 5.1.x. The + bundle targets Node 16, the extension host of VS Code 1.75, and CI loads it + on Node 16. `tsc` stays as the type check and builds `out/` for the unit + tests (`yarn bundle` makes the bundle). - `comline.server.mode: "path"` never worked: the extension passed the bare name `comline-lsp` to a file-existence check, which looks in the current directory, not on `PATH`. The name is now looked up on `PATH` (with diff --git a/QUICKSTART.md b/QUICKSTART.md index db3f684..83d0347 100644 --- a/QUICKSTART.md +++ b/QUICKSTART.md @@ -68,8 +68,9 @@ pinned language server for every platform, smoke-tests each binary, packages one | Command | Description | |---------|-------------| -| `yarn compile` | Compile TypeScript | -| `yarn watch` | Watch mode for development | +| `yarn compile` | Type-check with tsc (also builds `out/` for the tests) | +| `yarn bundle` | Bundle the extension into `dist/extension.js`, which the editor runs | +| `yarn watch` | Watch mode for tsc | | `yarn lint` | Run ESLint | | `yarn package` | Package extension for this machine | | `yarn link-binary` | Run symlink helper script | @@ -89,7 +90,7 @@ yarn compile **Want to rebuild?** ```bash -yarn compile && code --install-extension *.vsix +yarn package && code --install-extension *.vsix ``` --- diff --git a/README.md b/README.md index 51256ba..613ab58 100644 --- a/README.md +++ b/README.md @@ -288,9 +288,12 @@ yarn install # see TESTING.md) yarn link-binary -# Compile TypeScript +# Type-check (tsc; also builds out/ for the unit tests) yarn compile +# Bundle the extension into dist/extension.js (what the editor runs) +yarn bundle + # Package the extension yarn package ``` diff --git a/package.json b/package.json index f7c07a7..113cbe5 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "workspaceContains:**/config.idp", "workspaceContains:**/comline.toml" ], - "main": "./out/extension.js", + "main": "./dist/extension.js", "contributes": { "commands": [ { @@ -267,8 +267,10 @@ } }, "scripts": { - "vscode:prepublish": "yarn compile", + "vscode:prepublish": "yarn compile && yarn bundle:production", "compile": "tsc -p ./", + "bundle": "node scripts/bundle.mjs", + "bundle:production": "node scripts/bundle.mjs --production --report", "watch": "tsc -watch -p ./", "pretest": "yarn compile", "test": "node --test out/resolve.test.js out/coreRev.test.js out/idpSchema.test.js", @@ -283,6 +285,7 @@ "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "@vscode/vsce": "^4.1.1", + "esbuild": "0.28.2", "eslint": "^8.0.0", "typescript": "^5.0.0" }, diff --git a/scripts/bundle.mjs b/scripts/bundle.mjs new file mode 100644 index 0000000..14d7810 --- /dev/null +++ b/scripts/bundle.mjs @@ -0,0 +1,51 @@ +// Bundles src/extension.ts into dist/extension.js: the one JavaScript file the +// .vsix carries (`main` in package.json), with every dependency resolved the +// way Node resolves it from the file that requires it, so +// vscode-languageclient gets the minimatch it asks for and no node_modules +// ships. +// +// node scripts/bundle.mjs development: unminified, with a source map +// node scripts/bundle.mjs --production minified, no map (what `vsce package` runs) +// node scripts/bundle.mjs --report also print every package in the bundle +// +// `tsc` (yarn compile) stays the type check and builds out/ for the unit tests +// and the Flatpak e2e; it does not produce what the editor runs. +import { build } from 'esbuild'; +import { readFileSync } from 'node:fs'; +import path from 'node:path'; + +const production = process.argv.includes('--production'); +const report = process.argv.includes('--report'); + +const result = await build({ + entryPoints: ['src/extension.ts'], + outfile: 'dist/extension.js', + bundle: true, + // The editor provides `vscode`. + external: ['vscode'], + format: 'cjs', + platform: 'node', + // The extension host of the oldest editor package.json allows (engines.vscode + // ^1.75.0) is Electron 19, Node 16.14. + target: 'node16', + minify: production, + sourcemap: !production, + metafile: true, + logLevel: 'info', +}); + +if (report) { + // name@version, and where it came from, for every package that went in. + const found = new Map(); + for (const input of Object.keys(result.metafile.inputs)) { + const m = /^((?:.*\/)?node_modules\/(?:@[^/]+\/)?[^/]+)\//.exec(input); + if (m && !found.has(m[1])) { + const { name, version } = JSON.parse(readFileSync(path.join(m[1], 'package.json'), 'utf8')); + found.set(m[1], `${name}@${version}`); + } + } + console.log('Packages in the bundle:'); + for (const [dir, id] of [...found].sort((a, b) => a[1].localeCompare(b[1]))) { + console.log(` ${id} (${dir})`); + } +} diff --git a/scripts/check-bundle.cjs b/scripts/check-bundle.cjs new file mode 100644 index 0000000..e6acb22 --- /dev/null +++ b/scripts/check-bundle.cjs @@ -0,0 +1,40 @@ +// Loads the bundled extension the way the editor does, with `vscode` stubbed, +// and checks it exports activate and deactivate. Run it under the oldest Node +// an editor the extension supports uses (16): a module the bundle needs but +// lacks, or syntax that Node cannot parse, fails here and not at a user's +// first activation. +// +// node scripts/check-bundle.cjs +// +// It does not call activate(): that needs an editor. +'use strict'; +const Module = require('module'); +const path = require('path'); + +const dir = process.argv[2]; +if (!dir) { + console.error('usage: check-bundle.cjs '); + process.exit(2); +} +const file = path.resolve(dir, 'extension', 'dist', 'extension.js'); + +// Any property, call or construction on it answers with itself. +const stub = new Proxy(function () {}, { + get: (_t, prop) => (prop === 'then' || prop === '__esModule' ? undefined : prop === Symbol.toPrimitive ? () => '' : stub), + apply: () => stub, + construct: () => stub, +}); +const load = Module._load; +Module._load = function (request, ...rest) { + return request === 'vscode' ? stub : load.call(this, request, ...rest); +}; + +console.log(`node ${process.version}: loading ${file}`); +const ext = require(file); +for (const name of ['activate', 'deactivate']) { + if (typeof ext[name] !== 'function') { + console.error(`::error::the bundle does not export ${name}()`); + process.exit(1); + } +} +console.log('loaded: exports activate() and deactivate()'); diff --git a/scripts/check-package.sh b/scripts/check-package.sh new file mode 100755 index 0000000..bc1c42c --- /dev/null +++ b/scripts/check-package.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash +# Checks a .vsix is what the bundled build makes: the bundle, no node_modules, +# no compiled-for-the-tests out/. Usage: scripts/check-package.sh +set -euo pipefail + +vsix=${1:?usage: check-package.sh } +entries=$(unzip -Z1 "$vsix") + +fail() { echo "::error::$vsix: $1"; exit 1; } + +grep -qx 'extension/dist/extension.js' <<<"$entries" || fail "extension/dist/extension.js is missing" +if grep -q '^extension/node_modules/' <<<"$entries"; then + fail "it holds node_modules: $(grep '^extension/node_modules/' <<<"$entries" | head -3 | tr '\n' ' ')..." +fi +if grep -q '^extension/out/' <<<"$entries"; then + fail "it holds out/, the tsc output for the tests" +fi +main=$(unzip -p "$vsix" extension/package.json | node -p 'JSON.parse(require("fs").readFileSync(0, "utf8")).main') +[ "$main" = "./dist/extension.js" ] || fail "main is $main, not ./dist/extension.js" + +echo "$vsix: $(wc -l <<<"$entries") files, no node_modules, main is $main" +unzip -Zl "$vsix" | grep -E 'extension/dist/|extension/package.json' || true diff --git a/scripts/package.sh b/scripts/package.sh index a1fcd08..e40facb 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -36,7 +36,7 @@ fi echo "" echo "📦 Packaging extension..." -npx vsce package --yarn +npx vsce package --no-dependencies VSIX_FILE=$(ls -t *.vsix 2>/dev/null | head -n1) if [ -n "$VSIX_FILE" ]; then diff --git a/yarn.lock b/yarn.lock index 7f49fc9..ec4d05e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -111,6 +111,136 @@ "@azure/msal-common" "16.16.2" jsonwebtoken "^9.0.0" +"@esbuild/aix-ppc64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz#bf6e10303bcf2e7c686975fa52f937ec2728d8bc" + integrity sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ== + +"@esbuild/android-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz#0c6246bc8d2c4d172aac2db3fb1190d72bd65504" + integrity sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A== + +"@esbuild/android-arm@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.28.2.tgz#2d84ece6a4e2684d92be26ee13d42757d831c381" + integrity sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg== + +"@esbuild/android-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.28.2.tgz#fc38d4d6358d8dc1cf53f09f7589fe436eb64801" + integrity sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q== + +"@esbuild/darwin-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz#f83afeeac1d7dac01c7a2fd012b3e451a0591fcc" + integrity sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw== + +"@esbuild/darwin-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz#510147c055a795588dbbe14fd6b1b8ad0a2f30de" + integrity sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw== + +"@esbuild/freebsd-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz#093b9200ecf0b115ba4e5e248a7485c9c5f8bd5e" + integrity sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw== + +"@esbuild/freebsd-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz#0be22b6df925d213e841ea87123af5df80b0faf7" + integrity sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg== + +"@esbuild/linux-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz#1bdbc651cda9ba9995c53ed9c71ceaa65094762d" + integrity sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug== + +"@esbuild/linux-arm@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz#beb12ad72b84f72d28488cc1b8ee9f7eb141d753" + integrity sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w== + +"@esbuild/linux-ia32@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz#b81f9d55529b45c206a46a138214b1aa6879696b" + integrity sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ== + +"@esbuild/linux-loong64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz#598667241a04c99b76ed6ef940ac50038c419f98" + integrity sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ== + +"@esbuild/linux-mips64el@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz#1c51eb9cea903f53d97b5af3b1841db70f5596ca" + integrity sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA== + +"@esbuild/linux-ppc64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz#63dd61f17ceb31a81227f413feac8a71bc2c51f2" + integrity sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ== + +"@esbuild/linux-riscv64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz#3763b08fde5cf25ab1facb8e7752edfe45fbfc27" + integrity sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA== + +"@esbuild/linux-s390x@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz#1a137ff293a82906eb3176385bd7e8e0e5cfb7cb" + integrity sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg== + +"@esbuild/linux-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz#268b36211c146ca54f8fe12c578a8d6ef8979485" + integrity sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ== + +"@esbuild/netbsd-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz#22571ad951d62bb6accc82d8d1fad5c8c1ac0ba1" + integrity sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw== + +"@esbuild/netbsd-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz#42fcc57297eb0a0ca3f5fc475291f4c1a3f7c0de" + integrity sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw== + +"@esbuild/openbsd-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz#9eb32af104ac3dacf4edca01f596664aab0c73ef" + integrity sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ== + +"@esbuild/openbsd-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz#febed2402d6088225e91f20fb4ce2522ad0a4efd" + integrity sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw== + +"@esbuild/openharmony-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz#85641c3d466428bfbccea5f21c26836663fef5ce" + integrity sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q== + +"@esbuild/sunos-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz#a736f9d8962481045fc4c3e54f5479f22c870fb4" + integrity sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g== + +"@esbuild/win32-arm64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz#ee5ab40fad186201b652a33f8a5eb149e9e42532" + integrity sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ== + +"@esbuild/win32-ia32@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz#c40d28a6d99a127da6711f2afd74b11cb63b06a7" + integrity sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA== + +"@esbuild/win32-x64@0.28.2": + version "0.28.2" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz#b21affb804cc167c133d95f45b3a1dc1323b9a87" + integrity sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g== + "@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": version "4.9.1" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz#4e90af67bc51ddee6cdef5284edf572ec376b595" @@ -792,6 +922,38 @@ es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: dependencies: es-errors "^1.3.0" +esbuild@0.28.2: + version "0.28.2" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.28.2.tgz#0f43bd1bad955b72d24e2261e3abe5957ccf0816" + integrity sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA== + optionalDependencies: + "@esbuild/aix-ppc64" "0.28.2" + "@esbuild/android-arm" "0.28.2" + "@esbuild/android-arm64" "0.28.2" + "@esbuild/android-x64" "0.28.2" + "@esbuild/darwin-arm64" "0.28.2" + "@esbuild/darwin-x64" "0.28.2" + "@esbuild/freebsd-arm64" "0.28.2" + "@esbuild/freebsd-x64" "0.28.2" + "@esbuild/linux-arm" "0.28.2" + "@esbuild/linux-arm64" "0.28.2" + "@esbuild/linux-ia32" "0.28.2" + "@esbuild/linux-loong64" "0.28.2" + "@esbuild/linux-mips64el" "0.28.2" + "@esbuild/linux-ppc64" "0.28.2" + "@esbuild/linux-riscv64" "0.28.2" + "@esbuild/linux-s390x" "0.28.2" + "@esbuild/linux-x64" "0.28.2" + "@esbuild/netbsd-arm64" "0.28.2" + "@esbuild/netbsd-x64" "0.28.2" + "@esbuild/openbsd-arm64" "0.28.2" + "@esbuild/openbsd-x64" "0.28.2" + "@esbuild/openharmony-arm64" "0.28.2" + "@esbuild/sunos-x64" "0.28.2" + "@esbuild/win32-arm64" "0.28.2" + "@esbuild/win32-ia32" "0.28.2" + "@esbuild/win32-x64" "0.28.2" + escape-string-regexp@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"