├── .clang-format ├── .github └── workflows │ ├── ci.yml │ └── publish.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── README.md ├── package-lock.json ├── package.json ├── src └── index.ts ├── test ├── assets │ ├── apple-clangd-5 │ │ └── clangd │ ├── fake-clangd-10.zip │ ├── fake-clangd-15 │ │ └── clangd │ ├── fake-clangd-16 │ │ └── clangd │ ├── fake-clangd-5 │ │ └── clangd │ ├── fake-clangd-unversioned │ │ └── clangd │ ├── ldd │ │ ├── exact │ │ ├── new │ │ ├── not-glibc │ │ └── old │ ├── release-incompatible.json │ ├── release-wrong-url.json │ └── release.json └── index.ts └── tsconfig.json /.clang-format: -------------------------------------------------------------------------------- 1 | BasedOnStyle: LLVM 2 | # Objects like {a: 0}, not { a : 0 }. 3 | SpacesInContainerLiterals: false 4 | JavaScriptQuotes: Single 5 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | on: 3 | push: 4 | branches: [master] 5 | pull_request: 6 | branches: [master] 7 | jobs: 8 | build: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - uses: actions/checkout@v4 12 | - run: npm ci 13 | - run: npm test 14 | - run: npx prettier . --check 15 | -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- 1 | on: push 2 | 3 | jobs: 4 | publish: 5 | runs-on: ubuntu-latest 6 | steps: 7 | - uses: actions/checkout@v4 8 | - uses: actions/setup-node@v4 9 | - run: npm ci 10 | - run: npm test 11 | - uses: JS-DevTools/npm-publish@v3 12 | with: 13 | token: ${{ secrets.NPM_TOKEN }} 14 | access: public 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | out/ 3 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | out 2 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "bracketSpacing": false, 3 | "singleQuote": true 4 | } 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # node-clangd 2 | 3 | Shared features of vscode-clangd and coc-clangd 4 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@clangd/install", 3 | "version": "0.1.20", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "@clangd/install", 9 | "version": "0.1.20", 10 | "license": "Apache-2.0 WITH LLVM-exception", 11 | "dependencies": { 12 | "node-fetch": "^2.7.0", 13 | "readdirp": "^4.1.1", 14 | "rimraf": "^6.0.1", 15 | "semver": "^7.6.3", 16 | "unzipper": "^0.12.3", 17 | "which": "^5.0.0" 18 | }, 19 | "devDependencies": { 20 | "@types/node": "^22.0.2", 21 | "@types/node-fetch": "^2.6.11", 22 | "@types/node-static": "^0.7.11", 23 | "@types/semver": "^7.5.8", 24 | "@types/tape": "^5.6.4", 25 | "@types/tmp": "^0.2.6", 26 | "@types/unzipper": "^0.10.11", 27 | "@types/which": "^3.0.4", 28 | "node-static": "^0.7.11", 29 | "prettier": "^3.3.3", 30 | "tap-spec": "^5.0.0", 31 | "tape": "^5.8.1", 32 | "tmp-promise": "^3.0.3", 33 | "typescript": "^5.5.4" 34 | } 35 | }, 36 | "node_modules/@isaacs/cliui": { 37 | "version": "8.0.2", 38 | "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", 39 | "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", 40 | "license": "ISC", 41 | "dependencies": { 42 | "string-width": "^5.1.2", 43 | "string-width-cjs": "npm:string-width@^4.2.0", 44 | "strip-ansi": "^7.0.1", 45 | "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", 46 | "wrap-ansi": "^8.1.0", 47 | "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" 48 | }, 49 | "engines": { 50 | "node": ">=12" 51 | } 52 | }, 53 | "node_modules/@ljharb/resumer": { 54 | "version": "0.1.3", 55 | "resolved": "https://registry.npmjs.org/@ljharb/resumer/-/resumer-0.1.3.tgz", 56 | "integrity": "sha512-d+tsDgfkj9X5QTriqM4lKesCkMMJC3IrbPKHvayP00ELx2axdXvDfWkqjxrLXIzGcQzmj7VAUT1wopqARTvafw==", 57 | "dev": true, 58 | "license": "MIT", 59 | "dependencies": { 60 | "@ljharb/through": "^2.3.13", 61 | "call-bind": "^1.0.7" 62 | }, 63 | "engines": { 64 | "node": ">= 0.4" 65 | } 66 | }, 67 | "node_modules/@ljharb/through": { 68 | "version": "2.3.14", 69 | "resolved": "https://registry.npmjs.org/@ljharb/through/-/through-2.3.14.tgz", 70 | "integrity": "sha512-ajBvlKpWucBB17FuQYUShqpqy8GRgYEpJW0vWJbUu1CV9lWyrDCapy0lScU8T8Z6qn49sSwJB3+M+evYIdGg+A==", 71 | "dev": true, 72 | "license": "MIT", 73 | "dependencies": { 74 | "call-bind": "^1.0.8" 75 | }, 76 | "engines": { 77 | "node": ">= 0.4" 78 | } 79 | }, 80 | "node_modules/@types/mime": { 81 | "version": "1.3.5", 82 | "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", 83 | "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", 84 | "dev": true, 85 | "license": "MIT" 86 | }, 87 | "node_modules/@types/node": { 88 | "version": "22.13.1", 89 | "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.1.tgz", 90 | "integrity": "sha512-jK8uzQlrvXqEU91UxiK5J7pKHyzgnI1Qnl0QDHIgVGuolJhRb9EEl28Cj9b3rGR8B2lhFCtvIm5os8lFnO/1Ew==", 91 | "dev": true, 92 | "license": "MIT", 93 | "dependencies": { 94 | "undici-types": "~6.20.0" 95 | } 96 | }, 97 | "node_modules/@types/node-fetch": { 98 | "version": "2.6.12", 99 | "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.12.tgz", 100 | "integrity": "sha512-8nneRWKCg3rMtF69nLQJnOYUcbafYeFSjqkw3jCRLsqkWFlHaoQrr5mXmofFGOx3DKn7UfmBMyov8ySvLRVldA==", 101 | "dev": true, 102 | "license": "MIT", 103 | "dependencies": { 104 | "@types/node": "*", 105 | "form-data": "^4.0.0" 106 | } 107 | }, 108 | "node_modules/@types/node-static": { 109 | "version": "0.7.11", 110 | "resolved": "https://registry.npmjs.org/@types/node-static/-/node-static-0.7.11.tgz", 111 | "integrity": "sha512-1LrpKh6oftSpO2T7gUtUjT/flRdJt9Dp7IZVuNiTOXtgYVQgb/UJBLMNRUQb/Z+WCRP5OotmrUT3S3PfQn0igQ==", 112 | "dev": true, 113 | "license": "MIT", 114 | "dependencies": { 115 | "@types/mime": "^1", 116 | "@types/node": "*" 117 | } 118 | }, 119 | "node_modules/@types/semver": { 120 | "version": "7.5.8", 121 | "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", 122 | "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", 123 | "dev": true, 124 | "license": "MIT" 125 | }, 126 | "node_modules/@types/tape": { 127 | "version": "5.8.1", 128 | "resolved": "https://registry.npmjs.org/@types/tape/-/tape-5.8.1.tgz", 129 | "integrity": "sha512-vRjK+E1c+I4WRDSXcYfgepPjz2Knh+gulU3359LrR9H2KM8AyiMbNmX7W5aMlw7JFoXMpVOhq3bEIm78qakGbQ==", 130 | "dev": true, 131 | "license": "MIT", 132 | "dependencies": { 133 | "@ljharb/through": "*", 134 | "@types/node": "*", 135 | "mock-property": "*" 136 | } 137 | }, 138 | "node_modules/@types/tmp": { 139 | "version": "0.2.6", 140 | "resolved": "https://registry.npmjs.org/@types/tmp/-/tmp-0.2.6.tgz", 141 | "integrity": "sha512-chhaNf2oKHlRkDGt+tiKE2Z5aJ6qalm7Z9rlLdBwmOiAAf09YQvvoLXjWK4HWPF1xU/fqvMgfNfpVoBscA/tKA==", 142 | "dev": true, 143 | "license": "MIT" 144 | }, 145 | "node_modules/@types/unzipper": { 146 | "version": "0.10.11", 147 | "resolved": "https://registry.npmjs.org/@types/unzipper/-/unzipper-0.10.11.tgz", 148 | "integrity": "sha512-D25im2zjyMCcgL9ag6N46+wbtJBnXIr7SI4zHf9eJD2Dw2tEB5e+p5MYkrxKIVRscs5QV0EhtU9rgXSPx90oJg==", 149 | "dev": true, 150 | "dependencies": { 151 | "@types/node": "*" 152 | } 153 | }, 154 | "node_modules/@types/which": { 155 | "version": "3.0.4", 156 | "resolved": "https://registry.npmjs.org/@types/which/-/which-3.0.4.tgz", 157 | "integrity": "sha512-liyfuo/106JdlgSchJzXEQCVArk0CvevqPote8F8HgWgJ3dRCcTHgJIsLDuee0kxk/mhbInzIZk3QWSZJ8R+2w==", 158 | "dev": true, 159 | "license": "MIT" 160 | }, 161 | "node_modules/ansi-regex": { 162 | "version": "6.1.0", 163 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", 164 | "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", 165 | "license": "MIT", 166 | "engines": { 167 | "node": ">=12" 168 | }, 169 | "funding": { 170 | "url": "https://github.com/chalk/ansi-regex?sponsor=1" 171 | } 172 | }, 173 | "node_modules/ansi-styles": { 174 | "version": "2.2.1", 175 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", 176 | "integrity": "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==", 177 | "dev": true, 178 | "license": "MIT", 179 | "engines": { 180 | "node": ">=0.10.0" 181 | } 182 | }, 183 | "node_modules/array-buffer-byte-length": { 184 | "version": "1.0.2", 185 | "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz", 186 | "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==", 187 | "dev": true, 188 | "license": "MIT", 189 | "dependencies": { 190 | "call-bound": "^1.0.3", 191 | "is-array-buffer": "^3.0.5" 192 | }, 193 | "engines": { 194 | "node": ">= 0.4" 195 | }, 196 | "funding": { 197 | "url": "https://github.com/sponsors/ljharb" 198 | } 199 | }, 200 | "node_modules/array.prototype.every": { 201 | "version": "1.1.7", 202 | "resolved": "https://registry.npmjs.org/array.prototype.every/-/array.prototype.every-1.1.7.tgz", 203 | "integrity": "sha512-BIP72rKvrKd08ptbetLb4qvrlGjkv30yOKgKcTtOIbHyQt3shr/jyOzdApiCOh3LPYrpJo5M6i0zmVldOF2pUw==", 204 | "dev": true, 205 | "license": "MIT", 206 | "dependencies": { 207 | "call-bound": "^1.0.2", 208 | "define-properties": "^1.2.1", 209 | "es-abstract": "^1.23.5", 210 | "es-object-atoms": "^1.0.0", 211 | "is-string": "^1.1.0" 212 | }, 213 | "engines": { 214 | "node": ">= 0.4" 215 | }, 216 | "funding": { 217 | "url": "https://github.com/sponsors/ljharb" 218 | } 219 | }, 220 | "node_modules/arraybuffer.prototype.slice": { 221 | "version": "1.0.4", 222 | "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz", 223 | "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==", 224 | "dev": true, 225 | "license": "MIT", 226 | "dependencies": { 227 | "array-buffer-byte-length": "^1.0.1", 228 | "call-bind": "^1.0.8", 229 | "define-properties": "^1.2.1", 230 | "es-abstract": "^1.23.5", 231 | "es-errors": "^1.3.0", 232 | "get-intrinsic": "^1.2.6", 233 | "is-array-buffer": "^3.0.4" 234 | }, 235 | "engines": { 236 | "node": ">= 0.4" 237 | }, 238 | "funding": { 239 | "url": "https://github.com/sponsors/ljharb" 240 | } 241 | }, 242 | "node_modules/async-function": { 243 | "version": "1.0.0", 244 | "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz", 245 | "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==", 246 | "dev": true, 247 | "license": "MIT", 248 | "engines": { 249 | "node": ">= 0.4" 250 | } 251 | }, 252 | "node_modules/asynckit": { 253 | "version": "0.4.0", 254 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 255 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", 256 | "dev": true, 257 | "license": "MIT" 258 | }, 259 | "node_modules/available-typed-arrays": { 260 | "version": "1.0.7", 261 | "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", 262 | "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", 263 | "dev": true, 264 | "license": "MIT", 265 | "dependencies": { 266 | "possible-typed-array-names": "^1.0.0" 267 | }, 268 | "engines": { 269 | "node": ">= 0.4" 270 | }, 271 | "funding": { 272 | "url": "https://github.com/sponsors/ljharb" 273 | } 274 | }, 275 | "node_modules/balanced-match": { 276 | "version": "1.0.2", 277 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 278 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 279 | "license": "MIT" 280 | }, 281 | "node_modules/bluebird": { 282 | "version": "3.7.2", 283 | "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", 284 | "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" 285 | }, 286 | "node_modules/brace-expansion": { 287 | "version": "2.0.1", 288 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 289 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 290 | "license": "MIT", 291 | "dependencies": { 292 | "balanced-match": "^1.0.0" 293 | } 294 | }, 295 | "node_modules/buffer-shims": { 296 | "version": "1.0.0", 297 | "resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz", 298 | "integrity": "sha512-Zy8ZXMyxIT6RMTeY7OP/bDndfj6bwCan7SS98CEndS6deHwWPpseeHlwarNcBim+etXnF9HBc1non5JgDaJU1g==", 299 | "license": "MIT" 300 | }, 301 | "node_modules/call-bind": { 302 | "version": "1.0.8", 303 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz", 304 | "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==", 305 | "dev": true, 306 | "license": "MIT", 307 | "dependencies": { 308 | "call-bind-apply-helpers": "^1.0.0", 309 | "es-define-property": "^1.0.0", 310 | "get-intrinsic": "^1.2.4", 311 | "set-function-length": "^1.2.2" 312 | }, 313 | "engines": { 314 | "node": ">= 0.4" 315 | }, 316 | "funding": { 317 | "url": "https://github.com/sponsors/ljharb" 318 | } 319 | }, 320 | "node_modules/call-bind-apply-helpers": { 321 | "version": "1.0.1", 322 | "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz", 323 | "integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==", 324 | "dev": true, 325 | "license": "MIT", 326 | "dependencies": { 327 | "es-errors": "^1.3.0", 328 | "function-bind": "^1.1.2" 329 | }, 330 | "engines": { 331 | "node": ">= 0.4" 332 | } 333 | }, 334 | "node_modules/call-bound": { 335 | "version": "1.0.3", 336 | "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.3.tgz", 337 | "integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==", 338 | "dev": true, 339 | "license": "MIT", 340 | "dependencies": { 341 | "call-bind-apply-helpers": "^1.0.1", 342 | "get-intrinsic": "^1.2.6" 343 | }, 344 | "engines": { 345 | "node": ">= 0.4" 346 | }, 347 | "funding": { 348 | "url": "https://github.com/sponsors/ljharb" 349 | } 350 | }, 351 | "node_modules/chalk": { 352 | "version": "1.1.3", 353 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", 354 | "integrity": "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==", 355 | "dev": true, 356 | "license": "MIT", 357 | "dependencies": { 358 | "ansi-styles": "^2.2.1", 359 | "escape-string-regexp": "^1.0.2", 360 | "has-ansi": "^2.0.0", 361 | "strip-ansi": "^3.0.0", 362 | "supports-color": "^2.0.0" 363 | }, 364 | "engines": { 365 | "node": ">=0.10.0" 366 | } 367 | }, 368 | "node_modules/chalk/node_modules/ansi-regex": { 369 | "version": "2.1.1", 370 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 371 | "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", 372 | "dev": true, 373 | "license": "MIT", 374 | "engines": { 375 | "node": ">=0.10.0" 376 | } 377 | }, 378 | "node_modules/chalk/node_modules/strip-ansi": { 379 | "version": "3.0.1", 380 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", 381 | "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", 382 | "dev": true, 383 | "license": "MIT", 384 | "dependencies": { 385 | "ansi-regex": "^2.0.0" 386 | }, 387 | "engines": { 388 | "node": ">=0.10.0" 389 | } 390 | }, 391 | "node_modules/color-convert": { 392 | "version": "2.0.1", 393 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 394 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 395 | "license": "MIT", 396 | "dependencies": { 397 | "color-name": "~1.1.4" 398 | }, 399 | "engines": { 400 | "node": ">=7.0.0" 401 | } 402 | }, 403 | "node_modules/color-name": { 404 | "version": "1.1.4", 405 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 406 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 407 | "license": "MIT" 408 | }, 409 | "node_modules/colors": { 410 | "version": "1.4.0", 411 | "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", 412 | "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", 413 | "dev": true, 414 | "license": "MIT", 415 | "engines": { 416 | "node": ">=0.1.90" 417 | } 418 | }, 419 | "node_modules/combined-stream": { 420 | "version": "1.0.8", 421 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 422 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 423 | "dev": true, 424 | "license": "MIT", 425 | "dependencies": { 426 | "delayed-stream": "~1.0.0" 427 | }, 428 | "engines": { 429 | "node": ">= 0.8" 430 | } 431 | }, 432 | "node_modules/concat-map": { 433 | "version": "0.0.1", 434 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 435 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 436 | "dev": true, 437 | "license": "MIT" 438 | }, 439 | "node_modules/core-util-is": { 440 | "version": "1.0.3", 441 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", 442 | "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", 443 | "license": "MIT" 444 | }, 445 | "node_modules/cross-spawn": { 446 | "version": "7.0.6", 447 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", 448 | "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", 449 | "license": "MIT", 450 | "dependencies": { 451 | "path-key": "^3.1.0", 452 | "shebang-command": "^2.0.0", 453 | "which": "^2.0.1" 454 | }, 455 | "engines": { 456 | "node": ">= 8" 457 | } 458 | }, 459 | "node_modules/cross-spawn/node_modules/isexe": { 460 | "version": "2.0.0", 461 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 462 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 463 | "license": "ISC" 464 | }, 465 | "node_modules/cross-spawn/node_modules/which": { 466 | "version": "2.0.2", 467 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 468 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 469 | "license": "ISC", 470 | "dependencies": { 471 | "isexe": "^2.0.0" 472 | }, 473 | "bin": { 474 | "node-which": "bin/node-which" 475 | }, 476 | "engines": { 477 | "node": ">= 8" 478 | } 479 | }, 480 | "node_modules/data-view-buffer": { 481 | "version": "1.0.2", 482 | "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz", 483 | "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==", 484 | "dev": true, 485 | "license": "MIT", 486 | "dependencies": { 487 | "call-bound": "^1.0.3", 488 | "es-errors": "^1.3.0", 489 | "is-data-view": "^1.0.2" 490 | }, 491 | "engines": { 492 | "node": ">= 0.4" 493 | }, 494 | "funding": { 495 | "url": "https://github.com/sponsors/ljharb" 496 | } 497 | }, 498 | "node_modules/data-view-byte-length": { 499 | "version": "1.0.2", 500 | "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz", 501 | "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==", 502 | "dev": true, 503 | "license": "MIT", 504 | "dependencies": { 505 | "call-bound": "^1.0.3", 506 | "es-errors": "^1.3.0", 507 | "is-data-view": "^1.0.2" 508 | }, 509 | "engines": { 510 | "node": ">= 0.4" 511 | }, 512 | "funding": { 513 | "url": "https://github.com/sponsors/inspect-js" 514 | } 515 | }, 516 | "node_modules/data-view-byte-offset": { 517 | "version": "1.0.1", 518 | "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz", 519 | "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==", 520 | "dev": true, 521 | "license": "MIT", 522 | "dependencies": { 523 | "call-bound": "^1.0.2", 524 | "es-errors": "^1.3.0", 525 | "is-data-view": "^1.0.1" 526 | }, 527 | "engines": { 528 | "node": ">= 0.4" 529 | }, 530 | "funding": { 531 | "url": "https://github.com/sponsors/ljharb" 532 | } 533 | }, 534 | "node_modules/deep-equal": { 535 | "version": "2.2.3", 536 | "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.2.3.tgz", 537 | "integrity": "sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==", 538 | "dev": true, 539 | "license": "MIT", 540 | "dependencies": { 541 | "array-buffer-byte-length": "^1.0.0", 542 | "call-bind": "^1.0.5", 543 | "es-get-iterator": "^1.1.3", 544 | "get-intrinsic": "^1.2.2", 545 | "is-arguments": "^1.1.1", 546 | "is-array-buffer": "^3.0.2", 547 | "is-date-object": "^1.0.5", 548 | "is-regex": "^1.1.4", 549 | "is-shared-array-buffer": "^1.0.2", 550 | "isarray": "^2.0.5", 551 | "object-is": "^1.1.5", 552 | "object-keys": "^1.1.1", 553 | "object.assign": "^4.1.4", 554 | "regexp.prototype.flags": "^1.5.1", 555 | "side-channel": "^1.0.4", 556 | "which-boxed-primitive": "^1.0.2", 557 | "which-collection": "^1.0.1", 558 | "which-typed-array": "^1.1.13" 559 | }, 560 | "engines": { 561 | "node": ">= 0.4" 562 | }, 563 | "funding": { 564 | "url": "https://github.com/sponsors/ljharb" 565 | } 566 | }, 567 | "node_modules/define-data-property": { 568 | "version": "1.1.4", 569 | "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", 570 | "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", 571 | "dev": true, 572 | "license": "MIT", 573 | "dependencies": { 574 | "es-define-property": "^1.0.0", 575 | "es-errors": "^1.3.0", 576 | "gopd": "^1.0.1" 577 | }, 578 | "engines": { 579 | "node": ">= 0.4" 580 | }, 581 | "funding": { 582 | "url": "https://github.com/sponsors/ljharb" 583 | } 584 | }, 585 | "node_modules/define-properties": { 586 | "version": "1.2.1", 587 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", 588 | "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", 589 | "dev": true, 590 | "license": "MIT", 591 | "dependencies": { 592 | "define-data-property": "^1.0.1", 593 | "has-property-descriptors": "^1.0.0", 594 | "object-keys": "^1.1.1" 595 | }, 596 | "engines": { 597 | "node": ">= 0.4" 598 | }, 599 | "funding": { 600 | "url": "https://github.com/sponsors/ljharb" 601 | } 602 | }, 603 | "node_modules/defined": { 604 | "version": "1.0.1", 605 | "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.1.tgz", 606 | "integrity": "sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==", 607 | "dev": true, 608 | "license": "MIT", 609 | "funding": { 610 | "url": "https://github.com/sponsors/ljharb" 611 | } 612 | }, 613 | "node_modules/delayed-stream": { 614 | "version": "1.0.0", 615 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 616 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", 617 | "dev": true, 618 | "license": "MIT", 619 | "engines": { 620 | "node": ">=0.4.0" 621 | } 622 | }, 623 | "node_modules/dotignore": { 624 | "version": "0.1.2", 625 | "resolved": "https://registry.npmjs.org/dotignore/-/dotignore-0.1.2.tgz", 626 | "integrity": "sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==", 627 | "dev": true, 628 | "license": "MIT", 629 | "dependencies": { 630 | "minimatch": "^3.0.4" 631 | }, 632 | "bin": { 633 | "ignored": "bin/ignored" 634 | } 635 | }, 636 | "node_modules/dotignore/node_modules/brace-expansion": { 637 | "version": "1.1.11", 638 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 639 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 640 | "dev": true, 641 | "license": "MIT", 642 | "dependencies": { 643 | "balanced-match": "^1.0.0", 644 | "concat-map": "0.0.1" 645 | } 646 | }, 647 | "node_modules/dotignore/node_modules/minimatch": { 648 | "version": "3.1.2", 649 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 650 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 651 | "dev": true, 652 | "license": "ISC", 653 | "dependencies": { 654 | "brace-expansion": "^1.1.7" 655 | }, 656 | "engines": { 657 | "node": "*" 658 | } 659 | }, 660 | "node_modules/dunder-proto": { 661 | "version": "1.0.1", 662 | "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", 663 | "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", 664 | "dev": true, 665 | "license": "MIT", 666 | "dependencies": { 667 | "call-bind-apply-helpers": "^1.0.1", 668 | "es-errors": "^1.3.0", 669 | "gopd": "^1.2.0" 670 | }, 671 | "engines": { 672 | "node": ">= 0.4" 673 | } 674 | }, 675 | "node_modules/duplexer": { 676 | "version": "0.1.2", 677 | "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", 678 | "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", 679 | "dev": true, 680 | "license": "MIT" 681 | }, 682 | "node_modules/duplexer2": { 683 | "version": "0.1.4", 684 | "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", 685 | "integrity": "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==", 686 | "dependencies": { 687 | "readable-stream": "^2.0.2" 688 | } 689 | }, 690 | "node_modules/eastasianwidth": { 691 | "version": "0.2.0", 692 | "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", 693 | "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", 694 | "license": "MIT" 695 | }, 696 | "node_modules/emoji-regex": { 697 | "version": "9.2.2", 698 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", 699 | "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", 700 | "license": "MIT" 701 | }, 702 | "node_modules/es-abstract": { 703 | "version": "1.23.9", 704 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.9.tgz", 705 | "integrity": "sha512-py07lI0wjxAC/DcfK1S6G7iANonniZwTISvdPzk9hzeH0IZIshbuuFxLIU96OyF89Yb9hiqWn8M/bY83KY5vzA==", 706 | "dev": true, 707 | "license": "MIT", 708 | "dependencies": { 709 | "array-buffer-byte-length": "^1.0.2", 710 | "arraybuffer.prototype.slice": "^1.0.4", 711 | "available-typed-arrays": "^1.0.7", 712 | "call-bind": "^1.0.8", 713 | "call-bound": "^1.0.3", 714 | "data-view-buffer": "^1.0.2", 715 | "data-view-byte-length": "^1.0.2", 716 | "data-view-byte-offset": "^1.0.1", 717 | "es-define-property": "^1.0.1", 718 | "es-errors": "^1.3.0", 719 | "es-object-atoms": "^1.0.0", 720 | "es-set-tostringtag": "^2.1.0", 721 | "es-to-primitive": "^1.3.0", 722 | "function.prototype.name": "^1.1.8", 723 | "get-intrinsic": "^1.2.7", 724 | "get-proto": "^1.0.0", 725 | "get-symbol-description": "^1.1.0", 726 | "globalthis": "^1.0.4", 727 | "gopd": "^1.2.0", 728 | "has-property-descriptors": "^1.0.2", 729 | "has-proto": "^1.2.0", 730 | "has-symbols": "^1.1.0", 731 | "hasown": "^2.0.2", 732 | "internal-slot": "^1.1.0", 733 | "is-array-buffer": "^3.0.5", 734 | "is-callable": "^1.2.7", 735 | "is-data-view": "^1.0.2", 736 | "is-regex": "^1.2.1", 737 | "is-shared-array-buffer": "^1.0.4", 738 | "is-string": "^1.1.1", 739 | "is-typed-array": "^1.1.15", 740 | "is-weakref": "^1.1.0", 741 | "math-intrinsics": "^1.1.0", 742 | "object-inspect": "^1.13.3", 743 | "object-keys": "^1.1.1", 744 | "object.assign": "^4.1.7", 745 | "own-keys": "^1.0.1", 746 | "regexp.prototype.flags": "^1.5.3", 747 | "safe-array-concat": "^1.1.3", 748 | "safe-push-apply": "^1.0.0", 749 | "safe-regex-test": "^1.1.0", 750 | "set-proto": "^1.0.0", 751 | "string.prototype.trim": "^1.2.10", 752 | "string.prototype.trimend": "^1.0.9", 753 | "string.prototype.trimstart": "^1.0.8", 754 | "typed-array-buffer": "^1.0.3", 755 | "typed-array-byte-length": "^1.0.3", 756 | "typed-array-byte-offset": "^1.0.4", 757 | "typed-array-length": "^1.0.7", 758 | "unbox-primitive": "^1.1.0", 759 | "which-typed-array": "^1.1.18" 760 | }, 761 | "engines": { 762 | "node": ">= 0.4" 763 | }, 764 | "funding": { 765 | "url": "https://github.com/sponsors/ljharb" 766 | } 767 | }, 768 | "node_modules/es-define-property": { 769 | "version": "1.0.1", 770 | "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", 771 | "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", 772 | "dev": true, 773 | "license": "MIT", 774 | "engines": { 775 | "node": ">= 0.4" 776 | } 777 | }, 778 | "node_modules/es-errors": { 779 | "version": "1.3.0", 780 | "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", 781 | "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", 782 | "dev": true, 783 | "license": "MIT", 784 | "engines": { 785 | "node": ">= 0.4" 786 | } 787 | }, 788 | "node_modules/es-get-iterator": { 789 | "version": "1.1.3", 790 | "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz", 791 | "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==", 792 | "dev": true, 793 | "license": "MIT", 794 | "dependencies": { 795 | "call-bind": "^1.0.2", 796 | "get-intrinsic": "^1.1.3", 797 | "has-symbols": "^1.0.3", 798 | "is-arguments": "^1.1.1", 799 | "is-map": "^2.0.2", 800 | "is-set": "^2.0.2", 801 | "is-string": "^1.0.7", 802 | "isarray": "^2.0.5", 803 | "stop-iteration-iterator": "^1.0.0" 804 | }, 805 | "funding": { 806 | "url": "https://github.com/sponsors/ljharb" 807 | } 808 | }, 809 | "node_modules/es-object-atoms": { 810 | "version": "1.1.1", 811 | "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", 812 | "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", 813 | "dev": true, 814 | "license": "MIT", 815 | "dependencies": { 816 | "es-errors": "^1.3.0" 817 | }, 818 | "engines": { 819 | "node": ">= 0.4" 820 | } 821 | }, 822 | "node_modules/es-set-tostringtag": { 823 | "version": "2.1.0", 824 | "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", 825 | "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", 826 | "dev": true, 827 | "license": "MIT", 828 | "dependencies": { 829 | "es-errors": "^1.3.0", 830 | "get-intrinsic": "^1.2.6", 831 | "has-tostringtag": "^1.0.2", 832 | "hasown": "^2.0.2" 833 | }, 834 | "engines": { 835 | "node": ">= 0.4" 836 | } 837 | }, 838 | "node_modules/es-to-primitive": { 839 | "version": "1.3.0", 840 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz", 841 | "integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==", 842 | "dev": true, 843 | "license": "MIT", 844 | "dependencies": { 845 | "is-callable": "^1.2.7", 846 | "is-date-object": "^1.0.5", 847 | "is-symbol": "^1.0.4" 848 | }, 849 | "engines": { 850 | "node": ">= 0.4" 851 | }, 852 | "funding": { 853 | "url": "https://github.com/sponsors/ljharb" 854 | } 855 | }, 856 | "node_modules/escape-string-regexp": { 857 | "version": "1.0.5", 858 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 859 | "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", 860 | "dev": true, 861 | "license": "MIT", 862 | "engines": { 863 | "node": ">=0.8.0" 864 | } 865 | }, 866 | "node_modules/figures": { 867 | "version": "1.7.0", 868 | "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", 869 | "integrity": "sha512-UxKlfCRuCBxSXU4C6t9scbDyWZ4VlaFFdojKtzJuSkuOBQ5CNFum+zZXFwHjo+CxBC1t6zlYPgHIgFjL8ggoEQ==", 870 | "dev": true, 871 | "license": "MIT", 872 | "dependencies": { 873 | "escape-string-regexp": "^1.0.5", 874 | "object-assign": "^4.1.0" 875 | }, 876 | "engines": { 877 | "node": ">=0.10.0" 878 | } 879 | }, 880 | "node_modules/for-each": { 881 | "version": "0.3.4", 882 | "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.4.tgz", 883 | "integrity": "sha512-kKaIINnFpzW6ffJNDjjyjrk21BkDx38c0xa/klsT8VzLCaMEefv4ZTacrcVR4DmgTeBra++jMDAfS/tS799YDw==", 884 | "dev": true, 885 | "license": "MIT", 886 | "dependencies": { 887 | "is-callable": "^1.2.7" 888 | }, 889 | "engines": { 890 | "node": ">= 0.4" 891 | }, 892 | "funding": { 893 | "url": "https://github.com/sponsors/ljharb" 894 | } 895 | }, 896 | "node_modules/foreground-child": { 897 | "version": "3.3.0", 898 | "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", 899 | "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", 900 | "license": "ISC", 901 | "dependencies": { 902 | "cross-spawn": "^7.0.0", 903 | "signal-exit": "^4.0.1" 904 | }, 905 | "engines": { 906 | "node": ">=14" 907 | }, 908 | "funding": { 909 | "url": "https://github.com/sponsors/isaacs" 910 | } 911 | }, 912 | "node_modules/form-data": { 913 | "version": "4.0.1", 914 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", 915 | "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", 916 | "dev": true, 917 | "license": "MIT", 918 | "dependencies": { 919 | "asynckit": "^0.4.0", 920 | "combined-stream": "^1.0.8", 921 | "mime-types": "^2.1.12" 922 | }, 923 | "engines": { 924 | "node": ">= 6" 925 | } 926 | }, 927 | "node_modules/fs-extra": { 928 | "version": "11.3.0", 929 | "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", 930 | "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", 931 | "dependencies": { 932 | "graceful-fs": "^4.2.0", 933 | "jsonfile": "^6.0.1", 934 | "universalify": "^2.0.0" 935 | }, 936 | "engines": { 937 | "node": ">=14.14" 938 | } 939 | }, 940 | "node_modules/fs.realpath": { 941 | "version": "1.0.0", 942 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 943 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 944 | "dev": true, 945 | "license": "ISC" 946 | }, 947 | "node_modules/function-bind": { 948 | "version": "1.1.2", 949 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", 950 | "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", 951 | "dev": true, 952 | "license": "MIT", 953 | "funding": { 954 | "url": "https://github.com/sponsors/ljharb" 955 | } 956 | }, 957 | "node_modules/function.prototype.name": { 958 | "version": "1.1.8", 959 | "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.8.tgz", 960 | "integrity": "sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==", 961 | "dev": true, 962 | "license": "MIT", 963 | "dependencies": { 964 | "call-bind": "^1.0.8", 965 | "call-bound": "^1.0.3", 966 | "define-properties": "^1.2.1", 967 | "functions-have-names": "^1.2.3", 968 | "hasown": "^2.0.2", 969 | "is-callable": "^1.2.7" 970 | }, 971 | "engines": { 972 | "node": ">= 0.4" 973 | }, 974 | "funding": { 975 | "url": "https://github.com/sponsors/ljharb" 976 | } 977 | }, 978 | "node_modules/functions-have-names": { 979 | "version": "1.2.3", 980 | "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", 981 | "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", 982 | "dev": true, 983 | "license": "MIT", 984 | "funding": { 985 | "url": "https://github.com/sponsors/ljharb" 986 | } 987 | }, 988 | "node_modules/get-intrinsic": { 989 | "version": "1.2.7", 990 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.7.tgz", 991 | "integrity": "sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==", 992 | "dev": true, 993 | "license": "MIT", 994 | "dependencies": { 995 | "call-bind-apply-helpers": "^1.0.1", 996 | "es-define-property": "^1.0.1", 997 | "es-errors": "^1.3.0", 998 | "es-object-atoms": "^1.0.0", 999 | "function-bind": "^1.1.2", 1000 | "get-proto": "^1.0.0", 1001 | "gopd": "^1.2.0", 1002 | "has-symbols": "^1.1.0", 1003 | "hasown": "^2.0.2", 1004 | "math-intrinsics": "^1.1.0" 1005 | }, 1006 | "engines": { 1007 | "node": ">= 0.4" 1008 | }, 1009 | "funding": { 1010 | "url": "https://github.com/sponsors/ljharb" 1011 | } 1012 | }, 1013 | "node_modules/get-package-type": { 1014 | "version": "0.1.0", 1015 | "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", 1016 | "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", 1017 | "dev": true, 1018 | "license": "MIT", 1019 | "engines": { 1020 | "node": ">=8.0.0" 1021 | } 1022 | }, 1023 | "node_modules/get-proto": { 1024 | "version": "1.0.1", 1025 | "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", 1026 | "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", 1027 | "dev": true, 1028 | "license": "MIT", 1029 | "dependencies": { 1030 | "dunder-proto": "^1.0.1", 1031 | "es-object-atoms": "^1.0.0" 1032 | }, 1033 | "engines": { 1034 | "node": ">= 0.4" 1035 | } 1036 | }, 1037 | "node_modules/get-symbol-description": { 1038 | "version": "1.1.0", 1039 | "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz", 1040 | "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==", 1041 | "dev": true, 1042 | "license": "MIT", 1043 | "dependencies": { 1044 | "call-bound": "^1.0.3", 1045 | "es-errors": "^1.3.0", 1046 | "get-intrinsic": "^1.2.6" 1047 | }, 1048 | "engines": { 1049 | "node": ">= 0.4" 1050 | }, 1051 | "funding": { 1052 | "url": "https://github.com/sponsors/ljharb" 1053 | } 1054 | }, 1055 | "node_modules/glob": { 1056 | "version": "11.0.1", 1057 | "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.1.tgz", 1058 | "integrity": "sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw==", 1059 | "license": "ISC", 1060 | "dependencies": { 1061 | "foreground-child": "^3.1.0", 1062 | "jackspeak": "^4.0.1", 1063 | "minimatch": "^10.0.0", 1064 | "minipass": "^7.1.2", 1065 | "package-json-from-dist": "^1.0.0", 1066 | "path-scurry": "^2.0.0" 1067 | }, 1068 | "bin": { 1069 | "glob": "dist/esm/bin.mjs" 1070 | }, 1071 | "engines": { 1072 | "node": "20 || >=22" 1073 | }, 1074 | "funding": { 1075 | "url": "https://github.com/sponsors/isaacs" 1076 | } 1077 | }, 1078 | "node_modules/globalthis": { 1079 | "version": "1.0.4", 1080 | "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", 1081 | "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", 1082 | "dev": true, 1083 | "license": "MIT", 1084 | "dependencies": { 1085 | "define-properties": "^1.2.1", 1086 | "gopd": "^1.0.1" 1087 | }, 1088 | "engines": { 1089 | "node": ">= 0.4" 1090 | }, 1091 | "funding": { 1092 | "url": "https://github.com/sponsors/ljharb" 1093 | } 1094 | }, 1095 | "node_modules/gopd": { 1096 | "version": "1.2.0", 1097 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", 1098 | "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", 1099 | "dev": true, 1100 | "license": "MIT", 1101 | "engines": { 1102 | "node": ">= 0.4" 1103 | }, 1104 | "funding": { 1105 | "url": "https://github.com/sponsors/ljharb" 1106 | } 1107 | }, 1108 | "node_modules/graceful-fs": { 1109 | "version": "4.2.11", 1110 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", 1111 | "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" 1112 | }, 1113 | "node_modules/has-ansi": { 1114 | "version": "2.0.0", 1115 | "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", 1116 | "integrity": "sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==", 1117 | "dev": true, 1118 | "license": "MIT", 1119 | "dependencies": { 1120 | "ansi-regex": "^2.0.0" 1121 | }, 1122 | "engines": { 1123 | "node": ">=0.10.0" 1124 | } 1125 | }, 1126 | "node_modules/has-ansi/node_modules/ansi-regex": { 1127 | "version": "2.1.1", 1128 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 1129 | "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", 1130 | "dev": true, 1131 | "license": "MIT", 1132 | "engines": { 1133 | "node": ">=0.10.0" 1134 | } 1135 | }, 1136 | "node_modules/has-bigints": { 1137 | "version": "1.1.0", 1138 | "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz", 1139 | "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==", 1140 | "dev": true, 1141 | "license": "MIT", 1142 | "engines": { 1143 | "node": ">= 0.4" 1144 | }, 1145 | "funding": { 1146 | "url": "https://github.com/sponsors/ljharb" 1147 | } 1148 | }, 1149 | "node_modules/has-dynamic-import": { 1150 | "version": "2.1.1", 1151 | "resolved": "https://registry.npmjs.org/has-dynamic-import/-/has-dynamic-import-2.1.1.tgz", 1152 | "integrity": "sha512-DuTCn6K/RW8S27npDMumGKsjG6HE7MxzedZka5tJP+9dqfxks+UMqKBmeCijHtIhsBEZPlbMg0qMHi2nKYVtKQ==", 1153 | "dev": true, 1154 | "license": "MIT", 1155 | "dependencies": { 1156 | "call-bind": "^1.0.8", 1157 | "call-bound": "^1.0.3", 1158 | "get-intrinsic": "^1.2.6" 1159 | }, 1160 | "engines": { 1161 | "node": ">= 0.4" 1162 | }, 1163 | "funding": { 1164 | "url": "https://github.com/sponsors/ljharb" 1165 | } 1166 | }, 1167 | "node_modules/has-property-descriptors": { 1168 | "version": "1.0.2", 1169 | "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", 1170 | "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", 1171 | "dev": true, 1172 | "license": "MIT", 1173 | "dependencies": { 1174 | "es-define-property": "^1.0.0" 1175 | }, 1176 | "funding": { 1177 | "url": "https://github.com/sponsors/ljharb" 1178 | } 1179 | }, 1180 | "node_modules/has-proto": { 1181 | "version": "1.2.0", 1182 | "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz", 1183 | "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==", 1184 | "dev": true, 1185 | "license": "MIT", 1186 | "dependencies": { 1187 | "dunder-proto": "^1.0.0" 1188 | }, 1189 | "engines": { 1190 | "node": ">= 0.4" 1191 | }, 1192 | "funding": { 1193 | "url": "https://github.com/sponsors/ljharb" 1194 | } 1195 | }, 1196 | "node_modules/has-symbols": { 1197 | "version": "1.1.0", 1198 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", 1199 | "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", 1200 | "dev": true, 1201 | "license": "MIT", 1202 | "engines": { 1203 | "node": ">= 0.4" 1204 | }, 1205 | "funding": { 1206 | "url": "https://github.com/sponsors/ljharb" 1207 | } 1208 | }, 1209 | "node_modules/has-tostringtag": { 1210 | "version": "1.0.2", 1211 | "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", 1212 | "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", 1213 | "dev": true, 1214 | "license": "MIT", 1215 | "dependencies": { 1216 | "has-symbols": "^1.0.3" 1217 | }, 1218 | "engines": { 1219 | "node": ">= 0.4" 1220 | }, 1221 | "funding": { 1222 | "url": "https://github.com/sponsors/ljharb" 1223 | } 1224 | }, 1225 | "node_modules/hasown": { 1226 | "version": "2.0.2", 1227 | "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", 1228 | "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", 1229 | "dev": true, 1230 | "license": "MIT", 1231 | "dependencies": { 1232 | "function-bind": "^1.1.2" 1233 | }, 1234 | "engines": { 1235 | "node": ">= 0.4" 1236 | } 1237 | }, 1238 | "node_modules/inflight": { 1239 | "version": "1.0.6", 1240 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1241 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 1242 | "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", 1243 | "dev": true, 1244 | "license": "ISC", 1245 | "dependencies": { 1246 | "once": "^1.3.0", 1247 | "wrappy": "1" 1248 | } 1249 | }, 1250 | "node_modules/inherits": { 1251 | "version": "2.0.4", 1252 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1253 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1254 | "license": "ISC" 1255 | }, 1256 | "node_modules/internal-slot": { 1257 | "version": "1.1.0", 1258 | "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz", 1259 | "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==", 1260 | "dev": true, 1261 | "license": "MIT", 1262 | "dependencies": { 1263 | "es-errors": "^1.3.0", 1264 | "hasown": "^2.0.2", 1265 | "side-channel": "^1.1.0" 1266 | }, 1267 | "engines": { 1268 | "node": ">= 0.4" 1269 | } 1270 | }, 1271 | "node_modules/is-arguments": { 1272 | "version": "1.2.0", 1273 | "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.2.0.tgz", 1274 | "integrity": "sha512-7bVbi0huj/wrIAOzb8U1aszg9kdi3KN/CyU19CTI7tAoZYEZoL9yCDXpbXN+uPsuWnP02cyug1gleqq+TU+YCA==", 1275 | "dev": true, 1276 | "license": "MIT", 1277 | "dependencies": { 1278 | "call-bound": "^1.0.2", 1279 | "has-tostringtag": "^1.0.2" 1280 | }, 1281 | "engines": { 1282 | "node": ">= 0.4" 1283 | }, 1284 | "funding": { 1285 | "url": "https://github.com/sponsors/ljharb" 1286 | } 1287 | }, 1288 | "node_modules/is-array-buffer": { 1289 | "version": "3.0.5", 1290 | "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz", 1291 | "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==", 1292 | "dev": true, 1293 | "license": "MIT", 1294 | "dependencies": { 1295 | "call-bind": "^1.0.8", 1296 | "call-bound": "^1.0.3", 1297 | "get-intrinsic": "^1.2.6" 1298 | }, 1299 | "engines": { 1300 | "node": ">= 0.4" 1301 | }, 1302 | "funding": { 1303 | "url": "https://github.com/sponsors/ljharb" 1304 | } 1305 | }, 1306 | "node_modules/is-async-function": { 1307 | "version": "2.1.1", 1308 | "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz", 1309 | "integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==", 1310 | "dev": true, 1311 | "license": "MIT", 1312 | "dependencies": { 1313 | "async-function": "^1.0.0", 1314 | "call-bound": "^1.0.3", 1315 | "get-proto": "^1.0.1", 1316 | "has-tostringtag": "^1.0.2", 1317 | "safe-regex-test": "^1.1.0" 1318 | }, 1319 | "engines": { 1320 | "node": ">= 0.4" 1321 | }, 1322 | "funding": { 1323 | "url": "https://github.com/sponsors/ljharb" 1324 | } 1325 | }, 1326 | "node_modules/is-bigint": { 1327 | "version": "1.1.0", 1328 | "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz", 1329 | "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==", 1330 | "dev": true, 1331 | "license": "MIT", 1332 | "dependencies": { 1333 | "has-bigints": "^1.0.2" 1334 | }, 1335 | "engines": { 1336 | "node": ">= 0.4" 1337 | }, 1338 | "funding": { 1339 | "url": "https://github.com/sponsors/ljharb" 1340 | } 1341 | }, 1342 | "node_modules/is-boolean-object": { 1343 | "version": "1.2.2", 1344 | "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz", 1345 | "integrity": "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==", 1346 | "dev": true, 1347 | "license": "MIT", 1348 | "dependencies": { 1349 | "call-bound": "^1.0.3", 1350 | "has-tostringtag": "^1.0.2" 1351 | }, 1352 | "engines": { 1353 | "node": ">= 0.4" 1354 | }, 1355 | "funding": { 1356 | "url": "https://github.com/sponsors/ljharb" 1357 | } 1358 | }, 1359 | "node_modules/is-callable": { 1360 | "version": "1.2.7", 1361 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", 1362 | "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", 1363 | "dev": true, 1364 | "license": "MIT", 1365 | "engines": { 1366 | "node": ">= 0.4" 1367 | }, 1368 | "funding": { 1369 | "url": "https://github.com/sponsors/ljharb" 1370 | } 1371 | }, 1372 | "node_modules/is-core-module": { 1373 | "version": "2.16.1", 1374 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", 1375 | "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", 1376 | "dev": true, 1377 | "license": "MIT", 1378 | "dependencies": { 1379 | "hasown": "^2.0.2" 1380 | }, 1381 | "engines": { 1382 | "node": ">= 0.4" 1383 | }, 1384 | "funding": { 1385 | "url": "https://github.com/sponsors/ljharb" 1386 | } 1387 | }, 1388 | "node_modules/is-data-view": { 1389 | "version": "1.0.2", 1390 | "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz", 1391 | "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==", 1392 | "dev": true, 1393 | "license": "MIT", 1394 | "dependencies": { 1395 | "call-bound": "^1.0.2", 1396 | "get-intrinsic": "^1.2.6", 1397 | "is-typed-array": "^1.1.13" 1398 | }, 1399 | "engines": { 1400 | "node": ">= 0.4" 1401 | }, 1402 | "funding": { 1403 | "url": "https://github.com/sponsors/ljharb" 1404 | } 1405 | }, 1406 | "node_modules/is-date-object": { 1407 | "version": "1.1.0", 1408 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz", 1409 | "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==", 1410 | "dev": true, 1411 | "license": "MIT", 1412 | "dependencies": { 1413 | "call-bound": "^1.0.2", 1414 | "has-tostringtag": "^1.0.2" 1415 | }, 1416 | "engines": { 1417 | "node": ">= 0.4" 1418 | }, 1419 | "funding": { 1420 | "url": "https://github.com/sponsors/ljharb" 1421 | } 1422 | }, 1423 | "node_modules/is-finalizationregistry": { 1424 | "version": "1.1.1", 1425 | "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz", 1426 | "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==", 1427 | "dev": true, 1428 | "license": "MIT", 1429 | "dependencies": { 1430 | "call-bound": "^1.0.3" 1431 | }, 1432 | "engines": { 1433 | "node": ">= 0.4" 1434 | }, 1435 | "funding": { 1436 | "url": "https://github.com/sponsors/ljharb" 1437 | } 1438 | }, 1439 | "node_modules/is-finite": { 1440 | "version": "1.1.0", 1441 | "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", 1442 | "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", 1443 | "dev": true, 1444 | "license": "MIT", 1445 | "engines": { 1446 | "node": ">=0.10.0" 1447 | }, 1448 | "funding": { 1449 | "url": "https://github.com/sponsors/sindresorhus" 1450 | } 1451 | }, 1452 | "node_modules/is-fullwidth-code-point": { 1453 | "version": "3.0.0", 1454 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1455 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 1456 | "license": "MIT", 1457 | "engines": { 1458 | "node": ">=8" 1459 | } 1460 | }, 1461 | "node_modules/is-generator-function": { 1462 | "version": "1.1.0", 1463 | "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.0.tgz", 1464 | "integrity": "sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==", 1465 | "dev": true, 1466 | "license": "MIT", 1467 | "dependencies": { 1468 | "call-bound": "^1.0.3", 1469 | "get-proto": "^1.0.0", 1470 | "has-tostringtag": "^1.0.2", 1471 | "safe-regex-test": "^1.1.0" 1472 | }, 1473 | "engines": { 1474 | "node": ">= 0.4" 1475 | }, 1476 | "funding": { 1477 | "url": "https://github.com/sponsors/ljharb" 1478 | } 1479 | }, 1480 | "node_modules/is-map": { 1481 | "version": "2.0.3", 1482 | "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", 1483 | "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", 1484 | "dev": true, 1485 | "license": "MIT", 1486 | "engines": { 1487 | "node": ">= 0.4" 1488 | }, 1489 | "funding": { 1490 | "url": "https://github.com/sponsors/ljharb" 1491 | } 1492 | }, 1493 | "node_modules/is-number-object": { 1494 | "version": "1.1.1", 1495 | "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz", 1496 | "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==", 1497 | "dev": true, 1498 | "license": "MIT", 1499 | "dependencies": { 1500 | "call-bound": "^1.0.3", 1501 | "has-tostringtag": "^1.0.2" 1502 | }, 1503 | "engines": { 1504 | "node": ">= 0.4" 1505 | }, 1506 | "funding": { 1507 | "url": "https://github.com/sponsors/ljharb" 1508 | } 1509 | }, 1510 | "node_modules/is-regex": { 1511 | "version": "1.2.1", 1512 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz", 1513 | "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==", 1514 | "dev": true, 1515 | "license": "MIT", 1516 | "dependencies": { 1517 | "call-bound": "^1.0.2", 1518 | "gopd": "^1.2.0", 1519 | "has-tostringtag": "^1.0.2", 1520 | "hasown": "^2.0.2" 1521 | }, 1522 | "engines": { 1523 | "node": ">= 0.4" 1524 | }, 1525 | "funding": { 1526 | "url": "https://github.com/sponsors/ljharb" 1527 | } 1528 | }, 1529 | "node_modules/is-set": { 1530 | "version": "2.0.3", 1531 | "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz", 1532 | "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", 1533 | "dev": true, 1534 | "license": "MIT", 1535 | "engines": { 1536 | "node": ">= 0.4" 1537 | }, 1538 | "funding": { 1539 | "url": "https://github.com/sponsors/ljharb" 1540 | } 1541 | }, 1542 | "node_modules/is-shared-array-buffer": { 1543 | "version": "1.0.4", 1544 | "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz", 1545 | "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==", 1546 | "dev": true, 1547 | "license": "MIT", 1548 | "dependencies": { 1549 | "call-bound": "^1.0.3" 1550 | }, 1551 | "engines": { 1552 | "node": ">= 0.4" 1553 | }, 1554 | "funding": { 1555 | "url": "https://github.com/sponsors/ljharb" 1556 | } 1557 | }, 1558 | "node_modules/is-string": { 1559 | "version": "1.1.1", 1560 | "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz", 1561 | "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==", 1562 | "dev": true, 1563 | "license": "MIT", 1564 | "dependencies": { 1565 | "call-bound": "^1.0.3", 1566 | "has-tostringtag": "^1.0.2" 1567 | }, 1568 | "engines": { 1569 | "node": ">= 0.4" 1570 | }, 1571 | "funding": { 1572 | "url": "https://github.com/sponsors/ljharb" 1573 | } 1574 | }, 1575 | "node_modules/is-symbol": { 1576 | "version": "1.1.1", 1577 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz", 1578 | "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==", 1579 | "dev": true, 1580 | "license": "MIT", 1581 | "dependencies": { 1582 | "call-bound": "^1.0.2", 1583 | "has-symbols": "^1.1.0", 1584 | "safe-regex-test": "^1.1.0" 1585 | }, 1586 | "engines": { 1587 | "node": ">= 0.4" 1588 | }, 1589 | "funding": { 1590 | "url": "https://github.com/sponsors/ljharb" 1591 | } 1592 | }, 1593 | "node_modules/is-typed-array": { 1594 | "version": "1.1.15", 1595 | "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz", 1596 | "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==", 1597 | "dev": true, 1598 | "license": "MIT", 1599 | "dependencies": { 1600 | "which-typed-array": "^1.1.16" 1601 | }, 1602 | "engines": { 1603 | "node": ">= 0.4" 1604 | }, 1605 | "funding": { 1606 | "url": "https://github.com/sponsors/ljharb" 1607 | } 1608 | }, 1609 | "node_modules/is-weakmap": { 1610 | "version": "2.0.2", 1611 | "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz", 1612 | "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", 1613 | "dev": true, 1614 | "license": "MIT", 1615 | "engines": { 1616 | "node": ">= 0.4" 1617 | }, 1618 | "funding": { 1619 | "url": "https://github.com/sponsors/ljharb" 1620 | } 1621 | }, 1622 | "node_modules/is-weakref": { 1623 | "version": "1.1.1", 1624 | "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz", 1625 | "integrity": "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==", 1626 | "dev": true, 1627 | "license": "MIT", 1628 | "dependencies": { 1629 | "call-bound": "^1.0.3" 1630 | }, 1631 | "engines": { 1632 | "node": ">= 0.4" 1633 | }, 1634 | "funding": { 1635 | "url": "https://github.com/sponsors/ljharb" 1636 | } 1637 | }, 1638 | "node_modules/is-weakset": { 1639 | "version": "2.0.4", 1640 | "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz", 1641 | "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==", 1642 | "dev": true, 1643 | "license": "MIT", 1644 | "dependencies": { 1645 | "call-bound": "^1.0.3", 1646 | "get-intrinsic": "^1.2.6" 1647 | }, 1648 | "engines": { 1649 | "node": ">= 0.4" 1650 | }, 1651 | "funding": { 1652 | "url": "https://github.com/sponsors/ljharb" 1653 | } 1654 | }, 1655 | "node_modules/isarray": { 1656 | "version": "2.0.5", 1657 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", 1658 | "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", 1659 | "dev": true, 1660 | "license": "MIT" 1661 | }, 1662 | "node_modules/isexe": { 1663 | "version": "3.1.1", 1664 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", 1665 | "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==", 1666 | "license": "ISC", 1667 | "engines": { 1668 | "node": ">=16" 1669 | } 1670 | }, 1671 | "node_modules/jackspeak": { 1672 | "version": "4.0.2", 1673 | "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.2.tgz", 1674 | "integrity": "sha512-bZsjR/iRjl1Nk1UkjGpAzLNfQtzuijhn2g+pbZb98HQ1Gk8vM9hfbxeMBP+M2/UUdwj0RqGG3mlvk2MsAqwvEw==", 1675 | "license": "BlueOak-1.0.0", 1676 | "dependencies": { 1677 | "@isaacs/cliui": "^8.0.2" 1678 | }, 1679 | "engines": { 1680 | "node": "20 || >=22" 1681 | }, 1682 | "funding": { 1683 | "url": "https://github.com/sponsors/isaacs" 1684 | } 1685 | }, 1686 | "node_modules/jsonfile": { 1687 | "version": "6.1.0", 1688 | "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", 1689 | "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", 1690 | "dependencies": { 1691 | "universalify": "^2.0.0" 1692 | }, 1693 | "optionalDependencies": { 1694 | "graceful-fs": "^4.1.6" 1695 | } 1696 | }, 1697 | "node_modules/lodash": { 1698 | "version": "4.17.21", 1699 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", 1700 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", 1701 | "dev": true, 1702 | "license": "MIT" 1703 | }, 1704 | "node_modules/lru-cache": { 1705 | "version": "11.0.2", 1706 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.2.tgz", 1707 | "integrity": "sha512-123qHRfJBmo2jXDbo/a5YOQrJoHF/GNQTLzQ5+IdK5pWpceK17yRc6ozlWd25FxvGKQbIUs91fDFkXmDHTKcyA==", 1708 | "license": "ISC", 1709 | "engines": { 1710 | "node": "20 || >=22" 1711 | } 1712 | }, 1713 | "node_modules/math-intrinsics": { 1714 | "version": "1.1.0", 1715 | "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", 1716 | "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", 1717 | "dev": true, 1718 | "license": "MIT", 1719 | "engines": { 1720 | "node": ">= 0.4" 1721 | } 1722 | }, 1723 | "node_modules/mime": { 1724 | "version": "1.6.0", 1725 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 1726 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", 1727 | "dev": true, 1728 | "license": "MIT", 1729 | "bin": { 1730 | "mime": "cli.js" 1731 | }, 1732 | "engines": { 1733 | "node": ">=4" 1734 | } 1735 | }, 1736 | "node_modules/mime-db": { 1737 | "version": "1.52.0", 1738 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 1739 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 1740 | "dev": true, 1741 | "license": "MIT", 1742 | "engines": { 1743 | "node": ">= 0.6" 1744 | } 1745 | }, 1746 | "node_modules/mime-types": { 1747 | "version": "2.1.35", 1748 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 1749 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 1750 | "dev": true, 1751 | "license": "MIT", 1752 | "dependencies": { 1753 | "mime-db": "1.52.0" 1754 | }, 1755 | "engines": { 1756 | "node": ">= 0.6" 1757 | } 1758 | }, 1759 | "node_modules/minimatch": { 1760 | "version": "10.0.1", 1761 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz", 1762 | "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", 1763 | "license": "ISC", 1764 | "dependencies": { 1765 | "brace-expansion": "^2.0.1" 1766 | }, 1767 | "engines": { 1768 | "node": "20 || >=22" 1769 | }, 1770 | "funding": { 1771 | "url": "https://github.com/sponsors/isaacs" 1772 | } 1773 | }, 1774 | "node_modules/minimist": { 1775 | "version": "0.0.10", 1776 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", 1777 | "integrity": "sha512-iotkTvxc+TwOm5Ieim8VnSNvCDjCK9S8G3scJ50ZthspSxa7jx50jkhYduuAtAjvfDUwSgOwf8+If99AlOEhyw==", 1778 | "dev": true, 1779 | "license": "MIT" 1780 | }, 1781 | "node_modules/minipass": { 1782 | "version": "7.1.2", 1783 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", 1784 | "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", 1785 | "license": "ISC", 1786 | "engines": { 1787 | "node": ">=16 || 14 >=14.17" 1788 | } 1789 | }, 1790 | "node_modules/mock-property": { 1791 | "version": "1.1.0", 1792 | "resolved": "https://registry.npmjs.org/mock-property/-/mock-property-1.1.0.tgz", 1793 | "integrity": "sha512-1/JjbLoGwv87xVsutkX0XJc0M0W4kb40cZl/K41xtTViBOD9JuFPKfyMNTrLJ/ivYAd0aPqu/vduamXO0emTFQ==", 1794 | "dev": true, 1795 | "license": "MIT", 1796 | "dependencies": { 1797 | "define-data-property": "^1.1.4", 1798 | "functions-have-names": "^1.2.3", 1799 | "gopd": "^1.0.1", 1800 | "has-property-descriptors": "^1.0.2", 1801 | "hasown": "^2.0.2", 1802 | "isarray": "^2.0.5", 1803 | "object-inspect": "^1.13.2" 1804 | }, 1805 | "engines": { 1806 | "node": ">= 0.4" 1807 | }, 1808 | "funding": { 1809 | "url": "https://github.com/sponsors/ljharb" 1810 | } 1811 | }, 1812 | "node_modules/node-fetch": { 1813 | "version": "2.7.0", 1814 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", 1815 | "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", 1816 | "license": "MIT", 1817 | "dependencies": { 1818 | "whatwg-url": "^5.0.0" 1819 | }, 1820 | "engines": { 1821 | "node": "4.x || >=6.0.0" 1822 | }, 1823 | "peerDependencies": { 1824 | "encoding": "^0.1.0" 1825 | }, 1826 | "peerDependenciesMeta": { 1827 | "encoding": { 1828 | "optional": true 1829 | } 1830 | } 1831 | }, 1832 | "node_modules/node-int64": { 1833 | "version": "0.4.0", 1834 | "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", 1835 | "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==" 1836 | }, 1837 | "node_modules/node-static": { 1838 | "version": "0.7.11", 1839 | "resolved": "https://registry.npmjs.org/node-static/-/node-static-0.7.11.tgz", 1840 | "integrity": "sha512-zfWC/gICcqb74D9ndyvxZWaI1jzcoHmf4UTHWQchBNuNMxdBLJMDiUgZ1tjGLEIe/BMhj2DxKD8HOuc2062pDQ==", 1841 | "dev": true, 1842 | "license": "MIT", 1843 | "dependencies": { 1844 | "colors": ">=0.6.0", 1845 | "mime": "^1.2.9", 1846 | "optimist": ">=0.3.4" 1847 | }, 1848 | "bin": { 1849 | "static": "bin/cli.js" 1850 | }, 1851 | "engines": { 1852 | "node": ">= 0.4.1" 1853 | } 1854 | }, 1855 | "node_modules/object-assign": { 1856 | "version": "4.1.1", 1857 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 1858 | "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", 1859 | "dev": true, 1860 | "license": "MIT", 1861 | "engines": { 1862 | "node": ">=0.10.0" 1863 | } 1864 | }, 1865 | "node_modules/object-inspect": { 1866 | "version": "1.13.4", 1867 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", 1868 | "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", 1869 | "dev": true, 1870 | "license": "MIT", 1871 | "engines": { 1872 | "node": ">= 0.4" 1873 | }, 1874 | "funding": { 1875 | "url": "https://github.com/sponsors/ljharb" 1876 | } 1877 | }, 1878 | "node_modules/object-is": { 1879 | "version": "1.1.6", 1880 | "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.6.tgz", 1881 | "integrity": "sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==", 1882 | "dev": true, 1883 | "license": "MIT", 1884 | "dependencies": { 1885 | "call-bind": "^1.0.7", 1886 | "define-properties": "^1.2.1" 1887 | }, 1888 | "engines": { 1889 | "node": ">= 0.4" 1890 | }, 1891 | "funding": { 1892 | "url": "https://github.com/sponsors/ljharb" 1893 | } 1894 | }, 1895 | "node_modules/object-keys": { 1896 | "version": "1.1.1", 1897 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", 1898 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", 1899 | "dev": true, 1900 | "license": "MIT", 1901 | "engines": { 1902 | "node": ">= 0.4" 1903 | } 1904 | }, 1905 | "node_modules/object.assign": { 1906 | "version": "4.1.7", 1907 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz", 1908 | "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==", 1909 | "dev": true, 1910 | "license": "MIT", 1911 | "dependencies": { 1912 | "call-bind": "^1.0.8", 1913 | "call-bound": "^1.0.3", 1914 | "define-properties": "^1.2.1", 1915 | "es-object-atoms": "^1.0.0", 1916 | "has-symbols": "^1.1.0", 1917 | "object-keys": "^1.1.1" 1918 | }, 1919 | "engines": { 1920 | "node": ">= 0.4" 1921 | }, 1922 | "funding": { 1923 | "url": "https://github.com/sponsors/ljharb" 1924 | } 1925 | }, 1926 | "node_modules/once": { 1927 | "version": "1.4.0", 1928 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1929 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 1930 | "dev": true, 1931 | "license": "ISC", 1932 | "dependencies": { 1933 | "wrappy": "1" 1934 | } 1935 | }, 1936 | "node_modules/optimist": { 1937 | "version": "0.6.1", 1938 | "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", 1939 | "integrity": "sha512-snN4O4TkigujZphWLN0E//nQmm7790RYaE53DdL7ZYwee2D8DDo9/EyYiKUfN3rneWUjhJnueija3G9I2i0h3g==", 1940 | "dev": true, 1941 | "license": "MIT/X11", 1942 | "dependencies": { 1943 | "minimist": "~0.0.1", 1944 | "wordwrap": "~0.0.2" 1945 | } 1946 | }, 1947 | "node_modules/own-keys": { 1948 | "version": "1.0.1", 1949 | "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.1.tgz", 1950 | "integrity": "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==", 1951 | "dev": true, 1952 | "license": "MIT", 1953 | "dependencies": { 1954 | "get-intrinsic": "^1.2.6", 1955 | "object-keys": "^1.1.1", 1956 | "safe-push-apply": "^1.0.0" 1957 | }, 1958 | "engines": { 1959 | "node": ">= 0.4" 1960 | }, 1961 | "funding": { 1962 | "url": "https://github.com/sponsors/ljharb" 1963 | } 1964 | }, 1965 | "node_modules/package-json-from-dist": { 1966 | "version": "1.0.1", 1967 | "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", 1968 | "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", 1969 | "license": "BlueOak-1.0.0" 1970 | }, 1971 | "node_modules/parse-ms": { 1972 | "version": "1.0.1", 1973 | "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-1.0.1.tgz", 1974 | "integrity": "sha512-LpH1Cf5EYuVjkBvCDBYvkUPh+iv2bk3FHflxHkpCYT0/FZ1d3N3uJaLiHr4yGuMcFUhv6eAivitTvWZI4B/chg==", 1975 | "dev": true, 1976 | "license": "MIT", 1977 | "engines": { 1978 | "node": ">=0.10.0" 1979 | } 1980 | }, 1981 | "node_modules/path-is-absolute": { 1982 | "version": "1.0.1", 1983 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1984 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 1985 | "dev": true, 1986 | "license": "MIT", 1987 | "engines": { 1988 | "node": ">=0.10.0" 1989 | } 1990 | }, 1991 | "node_modules/path-key": { 1992 | "version": "3.1.1", 1993 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 1994 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 1995 | "license": "MIT", 1996 | "engines": { 1997 | "node": ">=8" 1998 | } 1999 | }, 2000 | "node_modules/path-parse": { 2001 | "version": "1.0.7", 2002 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 2003 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 2004 | "dev": true, 2005 | "license": "MIT" 2006 | }, 2007 | "node_modules/path-scurry": { 2008 | "version": "2.0.0", 2009 | "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", 2010 | "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", 2011 | "license": "BlueOak-1.0.0", 2012 | "dependencies": { 2013 | "lru-cache": "^11.0.0", 2014 | "minipass": "^7.1.2" 2015 | }, 2016 | "engines": { 2017 | "node": "20 || >=22" 2018 | }, 2019 | "funding": { 2020 | "url": "https://github.com/sponsors/isaacs" 2021 | } 2022 | }, 2023 | "node_modules/plur": { 2024 | "version": "1.0.0", 2025 | "resolved": "https://registry.npmjs.org/plur/-/plur-1.0.0.tgz", 2026 | "integrity": "sha512-qSnKBSZeDY8ApxwhfVIwKwF36KVJqb1/9nzYYq3j3vdwocULCXT8f8fQGkiw1Nk9BGfxiDagEe/pwakA+bOBqw==", 2027 | "dev": true, 2028 | "license": "MIT", 2029 | "engines": { 2030 | "node": ">=0.10.0" 2031 | } 2032 | }, 2033 | "node_modules/possible-typed-array-names": { 2034 | "version": "1.1.0", 2035 | "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz", 2036 | "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==", 2037 | "dev": true, 2038 | "license": "MIT", 2039 | "engines": { 2040 | "node": ">= 0.4" 2041 | } 2042 | }, 2043 | "node_modules/prettier": { 2044 | "version": "3.5.0", 2045 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.0.tgz", 2046 | "integrity": "sha512-quyMrVt6svPS7CjQ9gKb3GLEX/rl3BCL2oa/QkNcXv4YNVBC9olt3s+H7ukto06q7B1Qz46PbrKLO34PR6vXcA==", 2047 | "dev": true, 2048 | "license": "MIT", 2049 | "bin": { 2050 | "prettier": "bin/prettier.cjs" 2051 | }, 2052 | "engines": { 2053 | "node": ">=14" 2054 | }, 2055 | "funding": { 2056 | "url": "https://github.com/prettier/prettier?sponsor=1" 2057 | } 2058 | }, 2059 | "node_modules/pretty-ms": { 2060 | "version": "2.1.0", 2061 | "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-2.1.0.tgz", 2062 | "integrity": "sha512-H2enpsxzDhuzRl3zeSQpQMirn8dB0Z/gxW96j06tMfTviUWvX14gjKb7qd1gtkUyYhDPuoNe00K5PqNvy2oQNg==", 2063 | "dev": true, 2064 | "license": "MIT", 2065 | "dependencies": { 2066 | "is-finite": "^1.0.1", 2067 | "parse-ms": "^1.0.0", 2068 | "plur": "^1.0.0" 2069 | }, 2070 | "engines": { 2071 | "node": ">=0.10.0" 2072 | } 2073 | }, 2074 | "node_modules/process-nextick-args": { 2075 | "version": "1.0.7", 2076 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", 2077 | "integrity": "sha512-yN0WQmuCX63LP/TMvAg31nvT6m4vDqJEiiv2CAZqWOGNWutc9DfDk1NPYYmKUFmaVM2UwDowH4u5AHWYP/jxKw==", 2078 | "license": "MIT" 2079 | }, 2080 | "node_modules/re-emitter": { 2081 | "version": "1.1.3", 2082 | "resolved": "https://registry.npmjs.org/re-emitter/-/re-emitter-1.1.3.tgz", 2083 | "integrity": "sha512-bHJul9CWcocrS+w5e5QrKYXV9NkbSA9hxSEyhYuctwm6keY9NXR2Xt/4A0vbMP0QvuwyfEyb4bkowYXv1ziEbg==", 2084 | "dev": true, 2085 | "license": "MIT" 2086 | }, 2087 | "node_modules/readable-stream": { 2088 | "version": "2.2.9", 2089 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.9.tgz", 2090 | "integrity": "sha512-iuxqX7b7FYt08AriYECxUsK9KTXE3A/FenxIa3IPmvANHxaTP/wGIwwf+IidvvIDk/MsCp/oEV6A8CXo4SDcCg==", 2091 | "license": "MIT", 2092 | "dependencies": { 2093 | "buffer-shims": "~1.0.0", 2094 | "core-util-is": "~1.0.0", 2095 | "inherits": "~2.0.1", 2096 | "isarray": "~1.0.0", 2097 | "process-nextick-args": "~1.0.6", 2098 | "string_decoder": "~1.0.0", 2099 | "util-deprecate": "~1.0.1" 2100 | } 2101 | }, 2102 | "node_modules/readable-stream/node_modules/isarray": { 2103 | "version": "1.0.0", 2104 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 2105 | "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", 2106 | "license": "MIT" 2107 | }, 2108 | "node_modules/readdirp": { 2109 | "version": "4.1.1", 2110 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.1.tgz", 2111 | "integrity": "sha512-h80JrZu/MHUZCyHu5ciuoI0+WxsCxzxJTILn6Fs8rxSnFPh+UVHYfeIxK1nVGugMqkfC4vJcBOYbkfkwYK0+gw==", 2112 | "license": "MIT", 2113 | "engines": { 2114 | "node": ">= 14.18.0" 2115 | }, 2116 | "funding": { 2117 | "type": "individual", 2118 | "url": "https://paulmillr.com/funding/" 2119 | } 2120 | }, 2121 | "node_modules/reflect.getprototypeof": { 2122 | "version": "1.0.10", 2123 | "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz", 2124 | "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==", 2125 | "dev": true, 2126 | "license": "MIT", 2127 | "dependencies": { 2128 | "call-bind": "^1.0.8", 2129 | "define-properties": "^1.2.1", 2130 | "es-abstract": "^1.23.9", 2131 | "es-errors": "^1.3.0", 2132 | "es-object-atoms": "^1.0.0", 2133 | "get-intrinsic": "^1.2.7", 2134 | "get-proto": "^1.0.1", 2135 | "which-builtin-type": "^1.2.1" 2136 | }, 2137 | "engines": { 2138 | "node": ">= 0.4" 2139 | }, 2140 | "funding": { 2141 | "url": "https://github.com/sponsors/ljharb" 2142 | } 2143 | }, 2144 | "node_modules/regexp.prototype.flags": { 2145 | "version": "1.5.4", 2146 | "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz", 2147 | "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==", 2148 | "dev": true, 2149 | "license": "MIT", 2150 | "dependencies": { 2151 | "call-bind": "^1.0.8", 2152 | "define-properties": "^1.2.1", 2153 | "es-errors": "^1.3.0", 2154 | "get-proto": "^1.0.1", 2155 | "gopd": "^1.2.0", 2156 | "set-function-name": "^2.0.2" 2157 | }, 2158 | "engines": { 2159 | "node": ">= 0.4" 2160 | }, 2161 | "funding": { 2162 | "url": "https://github.com/sponsors/ljharb" 2163 | } 2164 | }, 2165 | "node_modules/repeat-string": { 2166 | "version": "1.6.1", 2167 | "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", 2168 | "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", 2169 | "dev": true, 2170 | "license": "MIT", 2171 | "engines": { 2172 | "node": ">=0.10" 2173 | } 2174 | }, 2175 | "node_modules/resolve": { 2176 | "version": "2.0.0-next.5", 2177 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz", 2178 | "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==", 2179 | "dev": true, 2180 | "license": "MIT", 2181 | "dependencies": { 2182 | "is-core-module": "^2.13.0", 2183 | "path-parse": "^1.0.7", 2184 | "supports-preserve-symlinks-flag": "^1.0.0" 2185 | }, 2186 | "bin": { 2187 | "resolve": "bin/resolve" 2188 | }, 2189 | "funding": { 2190 | "url": "https://github.com/sponsors/ljharb" 2191 | } 2192 | }, 2193 | "node_modules/rimraf": { 2194 | "version": "6.0.1", 2195 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.0.1.tgz", 2196 | "integrity": "sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==", 2197 | "license": "ISC", 2198 | "dependencies": { 2199 | "glob": "^11.0.0", 2200 | "package-json-from-dist": "^1.0.0" 2201 | }, 2202 | "bin": { 2203 | "rimraf": "dist/esm/bin.mjs" 2204 | }, 2205 | "engines": { 2206 | "node": "20 || >=22" 2207 | }, 2208 | "funding": { 2209 | "url": "https://github.com/sponsors/isaacs" 2210 | } 2211 | }, 2212 | "node_modules/safe-array-concat": { 2213 | "version": "1.1.3", 2214 | "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz", 2215 | "integrity": "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==", 2216 | "dev": true, 2217 | "license": "MIT", 2218 | "dependencies": { 2219 | "call-bind": "^1.0.8", 2220 | "call-bound": "^1.0.2", 2221 | "get-intrinsic": "^1.2.6", 2222 | "has-symbols": "^1.1.0", 2223 | "isarray": "^2.0.5" 2224 | }, 2225 | "engines": { 2226 | "node": ">=0.4" 2227 | }, 2228 | "funding": { 2229 | "url": "https://github.com/sponsors/ljharb" 2230 | } 2231 | }, 2232 | "node_modules/safe-buffer": { 2233 | "version": "5.1.2", 2234 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 2235 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 2236 | "license": "MIT" 2237 | }, 2238 | "node_modules/safe-push-apply": { 2239 | "version": "1.0.0", 2240 | "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz", 2241 | "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==", 2242 | "dev": true, 2243 | "license": "MIT", 2244 | "dependencies": { 2245 | "es-errors": "^1.3.0", 2246 | "isarray": "^2.0.5" 2247 | }, 2248 | "engines": { 2249 | "node": ">= 0.4" 2250 | }, 2251 | "funding": { 2252 | "url": "https://github.com/sponsors/ljharb" 2253 | } 2254 | }, 2255 | "node_modules/safe-regex-test": { 2256 | "version": "1.1.0", 2257 | "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz", 2258 | "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==", 2259 | "dev": true, 2260 | "license": "MIT", 2261 | "dependencies": { 2262 | "call-bound": "^1.0.2", 2263 | "es-errors": "^1.3.0", 2264 | "is-regex": "^1.2.1" 2265 | }, 2266 | "engines": { 2267 | "node": ">= 0.4" 2268 | }, 2269 | "funding": { 2270 | "url": "https://github.com/sponsors/ljharb" 2271 | } 2272 | }, 2273 | "node_modules/semver": { 2274 | "version": "7.7.1", 2275 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", 2276 | "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", 2277 | "license": "ISC", 2278 | "bin": { 2279 | "semver": "bin/semver.js" 2280 | }, 2281 | "engines": { 2282 | "node": ">=10" 2283 | } 2284 | }, 2285 | "node_modules/set-function-length": { 2286 | "version": "1.2.2", 2287 | "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", 2288 | "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", 2289 | "dev": true, 2290 | "license": "MIT", 2291 | "dependencies": { 2292 | "define-data-property": "^1.1.4", 2293 | "es-errors": "^1.3.0", 2294 | "function-bind": "^1.1.2", 2295 | "get-intrinsic": "^1.2.4", 2296 | "gopd": "^1.0.1", 2297 | "has-property-descriptors": "^1.0.2" 2298 | }, 2299 | "engines": { 2300 | "node": ">= 0.4" 2301 | } 2302 | }, 2303 | "node_modules/set-function-name": { 2304 | "version": "2.0.2", 2305 | "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", 2306 | "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", 2307 | "dev": true, 2308 | "license": "MIT", 2309 | "dependencies": { 2310 | "define-data-property": "^1.1.4", 2311 | "es-errors": "^1.3.0", 2312 | "functions-have-names": "^1.2.3", 2313 | "has-property-descriptors": "^1.0.2" 2314 | }, 2315 | "engines": { 2316 | "node": ">= 0.4" 2317 | } 2318 | }, 2319 | "node_modules/set-proto": { 2320 | "version": "1.0.0", 2321 | "resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz", 2322 | "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==", 2323 | "dev": true, 2324 | "license": "MIT", 2325 | "dependencies": { 2326 | "dunder-proto": "^1.0.1", 2327 | "es-errors": "^1.3.0", 2328 | "es-object-atoms": "^1.0.0" 2329 | }, 2330 | "engines": { 2331 | "node": ">= 0.4" 2332 | } 2333 | }, 2334 | "node_modules/shebang-command": { 2335 | "version": "2.0.0", 2336 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 2337 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 2338 | "license": "MIT", 2339 | "dependencies": { 2340 | "shebang-regex": "^3.0.0" 2341 | }, 2342 | "engines": { 2343 | "node": ">=8" 2344 | } 2345 | }, 2346 | "node_modules/shebang-regex": { 2347 | "version": "3.0.0", 2348 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 2349 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 2350 | "license": "MIT", 2351 | "engines": { 2352 | "node": ">=8" 2353 | } 2354 | }, 2355 | "node_modules/side-channel": { 2356 | "version": "1.1.0", 2357 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", 2358 | "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", 2359 | "dev": true, 2360 | "license": "MIT", 2361 | "dependencies": { 2362 | "es-errors": "^1.3.0", 2363 | "object-inspect": "^1.13.3", 2364 | "side-channel-list": "^1.0.0", 2365 | "side-channel-map": "^1.0.1", 2366 | "side-channel-weakmap": "^1.0.2" 2367 | }, 2368 | "engines": { 2369 | "node": ">= 0.4" 2370 | }, 2371 | "funding": { 2372 | "url": "https://github.com/sponsors/ljharb" 2373 | } 2374 | }, 2375 | "node_modules/side-channel-list": { 2376 | "version": "1.0.0", 2377 | "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", 2378 | "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", 2379 | "dev": true, 2380 | "license": "MIT", 2381 | "dependencies": { 2382 | "es-errors": "^1.3.0", 2383 | "object-inspect": "^1.13.3" 2384 | }, 2385 | "engines": { 2386 | "node": ">= 0.4" 2387 | }, 2388 | "funding": { 2389 | "url": "https://github.com/sponsors/ljharb" 2390 | } 2391 | }, 2392 | "node_modules/side-channel-map": { 2393 | "version": "1.0.1", 2394 | "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", 2395 | "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", 2396 | "dev": true, 2397 | "license": "MIT", 2398 | "dependencies": { 2399 | "call-bound": "^1.0.2", 2400 | "es-errors": "^1.3.0", 2401 | "get-intrinsic": "^1.2.5", 2402 | "object-inspect": "^1.13.3" 2403 | }, 2404 | "engines": { 2405 | "node": ">= 0.4" 2406 | }, 2407 | "funding": { 2408 | "url": "https://github.com/sponsors/ljharb" 2409 | } 2410 | }, 2411 | "node_modules/side-channel-weakmap": { 2412 | "version": "1.0.2", 2413 | "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", 2414 | "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", 2415 | "dev": true, 2416 | "license": "MIT", 2417 | "dependencies": { 2418 | "call-bound": "^1.0.2", 2419 | "es-errors": "^1.3.0", 2420 | "get-intrinsic": "^1.2.5", 2421 | "object-inspect": "^1.13.3", 2422 | "side-channel-map": "^1.0.1" 2423 | }, 2424 | "engines": { 2425 | "node": ">= 0.4" 2426 | }, 2427 | "funding": { 2428 | "url": "https://github.com/sponsors/ljharb" 2429 | } 2430 | }, 2431 | "node_modules/signal-exit": { 2432 | "version": "4.1.0", 2433 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", 2434 | "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", 2435 | "license": "ISC", 2436 | "engines": { 2437 | "node": ">=14" 2438 | }, 2439 | "funding": { 2440 | "url": "https://github.com/sponsors/isaacs" 2441 | } 2442 | }, 2443 | "node_modules/split": { 2444 | "version": "1.0.0", 2445 | "resolved": "https://registry.npmjs.org/split/-/split-1.0.0.tgz", 2446 | "integrity": "sha512-3SVfJe2A0WZg3D+ZEtXqYkvpSGAVaZ1MgufNCeHioBESCqQFsuT1VcQufiopBfJZqh92ZwQ6ddL378iUSbqVNQ==", 2447 | "dev": true, 2448 | "license": "MIT", 2449 | "dependencies": { 2450 | "through": "2" 2451 | }, 2452 | "engines": { 2453 | "node": "*" 2454 | } 2455 | }, 2456 | "node_modules/stop-iteration-iterator": { 2457 | "version": "1.1.0", 2458 | "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz", 2459 | "integrity": "sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==", 2460 | "dev": true, 2461 | "license": "MIT", 2462 | "dependencies": { 2463 | "es-errors": "^1.3.0", 2464 | "internal-slot": "^1.1.0" 2465 | }, 2466 | "engines": { 2467 | "node": ">= 0.4" 2468 | } 2469 | }, 2470 | "node_modules/string_decoder": { 2471 | "version": "1.0.3", 2472 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", 2473 | "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", 2474 | "license": "MIT", 2475 | "dependencies": { 2476 | "safe-buffer": "~5.1.0" 2477 | } 2478 | }, 2479 | "node_modules/string-width": { 2480 | "version": "5.1.2", 2481 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", 2482 | "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", 2483 | "license": "MIT", 2484 | "dependencies": { 2485 | "eastasianwidth": "^0.2.0", 2486 | "emoji-regex": "^9.2.2", 2487 | "strip-ansi": "^7.0.1" 2488 | }, 2489 | "engines": { 2490 | "node": ">=12" 2491 | }, 2492 | "funding": { 2493 | "url": "https://github.com/sponsors/sindresorhus" 2494 | } 2495 | }, 2496 | "node_modules/string-width-cjs": { 2497 | "name": "string-width", 2498 | "version": "4.2.3", 2499 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 2500 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 2501 | "license": "MIT", 2502 | "dependencies": { 2503 | "emoji-regex": "^8.0.0", 2504 | "is-fullwidth-code-point": "^3.0.0", 2505 | "strip-ansi": "^6.0.1" 2506 | }, 2507 | "engines": { 2508 | "node": ">=8" 2509 | } 2510 | }, 2511 | "node_modules/string-width-cjs/node_modules/ansi-regex": { 2512 | "version": "5.0.1", 2513 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 2514 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 2515 | "license": "MIT", 2516 | "engines": { 2517 | "node": ">=8" 2518 | } 2519 | }, 2520 | "node_modules/string-width-cjs/node_modules/emoji-regex": { 2521 | "version": "8.0.0", 2522 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 2523 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 2524 | "license": "MIT" 2525 | }, 2526 | "node_modules/string-width-cjs/node_modules/strip-ansi": { 2527 | "version": "6.0.1", 2528 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 2529 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 2530 | "license": "MIT", 2531 | "dependencies": { 2532 | "ansi-regex": "^5.0.1" 2533 | }, 2534 | "engines": { 2535 | "node": ">=8" 2536 | } 2537 | }, 2538 | "node_modules/string.prototype.trim": { 2539 | "version": "1.2.10", 2540 | "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz", 2541 | "integrity": "sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==", 2542 | "dev": true, 2543 | "license": "MIT", 2544 | "dependencies": { 2545 | "call-bind": "^1.0.8", 2546 | "call-bound": "^1.0.2", 2547 | "define-data-property": "^1.1.4", 2548 | "define-properties": "^1.2.1", 2549 | "es-abstract": "^1.23.5", 2550 | "es-object-atoms": "^1.0.0", 2551 | "has-property-descriptors": "^1.0.2" 2552 | }, 2553 | "engines": { 2554 | "node": ">= 0.4" 2555 | }, 2556 | "funding": { 2557 | "url": "https://github.com/sponsors/ljharb" 2558 | } 2559 | }, 2560 | "node_modules/string.prototype.trimend": { 2561 | "version": "1.0.9", 2562 | "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz", 2563 | "integrity": "sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==", 2564 | "dev": true, 2565 | "license": "MIT", 2566 | "dependencies": { 2567 | "call-bind": "^1.0.8", 2568 | "call-bound": "^1.0.2", 2569 | "define-properties": "^1.2.1", 2570 | "es-object-atoms": "^1.0.0" 2571 | }, 2572 | "engines": { 2573 | "node": ">= 0.4" 2574 | }, 2575 | "funding": { 2576 | "url": "https://github.com/sponsors/ljharb" 2577 | } 2578 | }, 2579 | "node_modules/string.prototype.trimstart": { 2580 | "version": "1.0.8", 2581 | "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", 2582 | "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", 2583 | "dev": true, 2584 | "license": "MIT", 2585 | "dependencies": { 2586 | "call-bind": "^1.0.7", 2587 | "define-properties": "^1.2.1", 2588 | "es-object-atoms": "^1.0.0" 2589 | }, 2590 | "engines": { 2591 | "node": ">= 0.4" 2592 | }, 2593 | "funding": { 2594 | "url": "https://github.com/sponsors/ljharb" 2595 | } 2596 | }, 2597 | "node_modules/strip-ansi": { 2598 | "version": "7.1.0", 2599 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", 2600 | "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", 2601 | "license": "MIT", 2602 | "dependencies": { 2603 | "ansi-regex": "^6.0.1" 2604 | }, 2605 | "engines": { 2606 | "node": ">=12" 2607 | }, 2608 | "funding": { 2609 | "url": "https://github.com/chalk/strip-ansi?sponsor=1" 2610 | } 2611 | }, 2612 | "node_modules/strip-ansi-cjs": { 2613 | "name": "strip-ansi", 2614 | "version": "6.0.1", 2615 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 2616 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 2617 | "license": "MIT", 2618 | "dependencies": { 2619 | "ansi-regex": "^5.0.1" 2620 | }, 2621 | "engines": { 2622 | "node": ">=8" 2623 | } 2624 | }, 2625 | "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { 2626 | "version": "5.0.1", 2627 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 2628 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 2629 | "license": "MIT", 2630 | "engines": { 2631 | "node": ">=8" 2632 | } 2633 | }, 2634 | "node_modules/supports-color": { 2635 | "version": "2.0.0", 2636 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", 2637 | "integrity": "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==", 2638 | "dev": true, 2639 | "license": "MIT", 2640 | "engines": { 2641 | "node": ">=0.8.0" 2642 | } 2643 | }, 2644 | "node_modules/supports-preserve-symlinks-flag": { 2645 | "version": "1.0.0", 2646 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 2647 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", 2648 | "dev": true, 2649 | "license": "MIT", 2650 | "engines": { 2651 | "node": ">= 0.4" 2652 | }, 2653 | "funding": { 2654 | "url": "https://github.com/sponsors/ljharb" 2655 | } 2656 | }, 2657 | "node_modules/tap-out": { 2658 | "version": "2.1.0", 2659 | "resolved": "https://registry.npmjs.org/tap-out/-/tap-out-2.1.0.tgz", 2660 | "integrity": "sha512-LJE+TBoVbOWhwdz4+FQk40nmbIuxJLqaGvj3WauQw3NYYU5TdjoV3C0x/yq37YAvVyi+oeBXmWnxWSjJ7IEyUw==", 2661 | "dev": true, 2662 | "license": "MIT", 2663 | "dependencies": { 2664 | "re-emitter": "1.1.3", 2665 | "readable-stream": "2.2.9", 2666 | "split": "1.0.0", 2667 | "trim": "0.0.1" 2668 | }, 2669 | "bin": { 2670 | "tap-out": "bin/cmd.js" 2671 | } 2672 | }, 2673 | "node_modules/tap-spec": { 2674 | "version": "5.0.0", 2675 | "resolved": "https://registry.npmjs.org/tap-spec/-/tap-spec-5.0.0.tgz", 2676 | "integrity": "sha512-zMDVJiE5I6Y4XGjlueGXJIX2YIkbDN44broZlnypT38Hj/czfOXrszHNNJBF/DXR8n+x6gbfSx68x04kIEHdrw==", 2677 | "dev": true, 2678 | "license": "MIT", 2679 | "dependencies": { 2680 | "chalk": "^1.0.0", 2681 | "duplexer": "^0.1.1", 2682 | "figures": "^1.4.0", 2683 | "lodash": "^4.17.10", 2684 | "pretty-ms": "^2.1.0", 2685 | "repeat-string": "^1.5.2", 2686 | "tap-out": "^2.1.0", 2687 | "through2": "^2.0.0" 2688 | }, 2689 | "bin": { 2690 | "tap-spec": "bin/cmd.js", 2691 | "tspec": "bin/cmd.js" 2692 | } 2693 | }, 2694 | "node_modules/tape": { 2695 | "version": "5.9.0", 2696 | "resolved": "https://registry.npmjs.org/tape/-/tape-5.9.0.tgz", 2697 | "integrity": "sha512-czbGgxSVwRlbB3Ly/aqQrNwrDAzKHDW/kVXegp4hSFmR2c8qqm3hCgZbUy1+3QAQFGhPDG7J56UsV1uNilBFCA==", 2698 | "dev": true, 2699 | "license": "MIT", 2700 | "dependencies": { 2701 | "@ljharb/resumer": "^0.1.3", 2702 | "@ljharb/through": "^2.3.13", 2703 | "array.prototype.every": "^1.1.6", 2704 | "call-bind": "^1.0.7", 2705 | "deep-equal": "^2.2.3", 2706 | "defined": "^1.0.1", 2707 | "dotignore": "^0.1.2", 2708 | "for-each": "^0.3.3", 2709 | "get-package-type": "^0.1.0", 2710 | "glob": "^7.2.3", 2711 | "has-dynamic-import": "^2.1.0", 2712 | "hasown": "^2.0.2", 2713 | "inherits": "^2.0.4", 2714 | "is-regex": "^1.1.4", 2715 | "minimist": "^1.2.8", 2716 | "mock-property": "^1.1.0", 2717 | "object-inspect": "^1.13.2", 2718 | "object-is": "^1.1.6", 2719 | "object-keys": "^1.1.1", 2720 | "object.assign": "^4.1.5", 2721 | "resolve": "^2.0.0-next.5", 2722 | "string.prototype.trim": "^1.2.9" 2723 | }, 2724 | "bin": { 2725 | "tape": "bin/tape" 2726 | }, 2727 | "funding": { 2728 | "url": "https://github.com/sponsors/ljharb" 2729 | } 2730 | }, 2731 | "node_modules/tape/node_modules/brace-expansion": { 2732 | "version": "1.1.11", 2733 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 2734 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 2735 | "dev": true, 2736 | "license": "MIT", 2737 | "dependencies": { 2738 | "balanced-match": "^1.0.0", 2739 | "concat-map": "0.0.1" 2740 | } 2741 | }, 2742 | "node_modules/tape/node_modules/glob": { 2743 | "version": "7.2.3", 2744 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 2745 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 2746 | "deprecated": "Glob versions prior to v9 are no longer supported", 2747 | "dev": true, 2748 | "license": "ISC", 2749 | "dependencies": { 2750 | "fs.realpath": "^1.0.0", 2751 | "inflight": "^1.0.4", 2752 | "inherits": "2", 2753 | "minimatch": "^3.1.1", 2754 | "once": "^1.3.0", 2755 | "path-is-absolute": "^1.0.0" 2756 | }, 2757 | "engines": { 2758 | "node": "*" 2759 | }, 2760 | "funding": { 2761 | "url": "https://github.com/sponsors/isaacs" 2762 | } 2763 | }, 2764 | "node_modules/tape/node_modules/minimatch": { 2765 | "version": "3.1.2", 2766 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 2767 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 2768 | "dev": true, 2769 | "license": "ISC", 2770 | "dependencies": { 2771 | "brace-expansion": "^1.1.7" 2772 | }, 2773 | "engines": { 2774 | "node": "*" 2775 | } 2776 | }, 2777 | "node_modules/tape/node_modules/minimist": { 2778 | "version": "1.2.8", 2779 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", 2780 | "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", 2781 | "dev": true, 2782 | "license": "MIT", 2783 | "funding": { 2784 | "url": "https://github.com/sponsors/ljharb" 2785 | } 2786 | }, 2787 | "node_modules/through": { 2788 | "version": "2.3.8", 2789 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 2790 | "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", 2791 | "dev": true, 2792 | "license": "MIT" 2793 | }, 2794 | "node_modules/through2": { 2795 | "version": "2.0.5", 2796 | "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", 2797 | "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", 2798 | "dev": true, 2799 | "license": "MIT", 2800 | "dependencies": { 2801 | "readable-stream": "~2.3.6", 2802 | "xtend": "~4.0.1" 2803 | } 2804 | }, 2805 | "node_modules/through2/node_modules/isarray": { 2806 | "version": "1.0.0", 2807 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 2808 | "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", 2809 | "dev": true, 2810 | "license": "MIT" 2811 | }, 2812 | "node_modules/through2/node_modules/process-nextick-args": { 2813 | "version": "2.0.1", 2814 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 2815 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", 2816 | "dev": true, 2817 | "license": "MIT" 2818 | }, 2819 | "node_modules/through2/node_modules/readable-stream": { 2820 | "version": "2.3.8", 2821 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", 2822 | "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", 2823 | "dev": true, 2824 | "license": "MIT", 2825 | "dependencies": { 2826 | "core-util-is": "~1.0.0", 2827 | "inherits": "~2.0.3", 2828 | "isarray": "~1.0.0", 2829 | "process-nextick-args": "~2.0.0", 2830 | "safe-buffer": "~5.1.1", 2831 | "string_decoder": "~1.1.1", 2832 | "util-deprecate": "~1.0.1" 2833 | } 2834 | }, 2835 | "node_modules/through2/node_modules/string_decoder": { 2836 | "version": "1.1.1", 2837 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 2838 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 2839 | "dev": true, 2840 | "license": "MIT", 2841 | "dependencies": { 2842 | "safe-buffer": "~5.1.0" 2843 | } 2844 | }, 2845 | "node_modules/tmp": { 2846 | "version": "0.2.3", 2847 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", 2848 | "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==", 2849 | "dev": true, 2850 | "license": "MIT", 2851 | "engines": { 2852 | "node": ">=14.14" 2853 | } 2854 | }, 2855 | "node_modules/tmp-promise": { 2856 | "version": "3.0.3", 2857 | "resolved": "https://registry.npmjs.org/tmp-promise/-/tmp-promise-3.0.3.tgz", 2858 | "integrity": "sha512-RwM7MoPojPxsOBYnyd2hy0bxtIlVrihNs9pj5SUvY8Zz1sQcQG2tG1hSr8PDxfgEB8RNKDhqbIlroIarSNDNsQ==", 2859 | "dev": true, 2860 | "license": "MIT", 2861 | "dependencies": { 2862 | "tmp": "^0.2.0" 2863 | } 2864 | }, 2865 | "node_modules/tr46": { 2866 | "version": "0.0.3", 2867 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", 2868 | "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", 2869 | "license": "MIT" 2870 | }, 2871 | "node_modules/trim": { 2872 | "version": "0.0.1", 2873 | "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", 2874 | "integrity": "sha512-YzQV+TZg4AxpKxaTHK3c3D+kRDCGVEE7LemdlQZoQXn0iennk10RsIoY6ikzAqJTc9Xjl9C1/waHom/J86ziAQ==", 2875 | "deprecated": "Use String.prototype.trim() instead", 2876 | "dev": true 2877 | }, 2878 | "node_modules/typed-array-buffer": { 2879 | "version": "1.0.3", 2880 | "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz", 2881 | "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==", 2882 | "dev": true, 2883 | "license": "MIT", 2884 | "dependencies": { 2885 | "call-bound": "^1.0.3", 2886 | "es-errors": "^1.3.0", 2887 | "is-typed-array": "^1.1.14" 2888 | }, 2889 | "engines": { 2890 | "node": ">= 0.4" 2891 | } 2892 | }, 2893 | "node_modules/typed-array-byte-length": { 2894 | "version": "1.0.3", 2895 | "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz", 2896 | "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==", 2897 | "dev": true, 2898 | "license": "MIT", 2899 | "dependencies": { 2900 | "call-bind": "^1.0.8", 2901 | "for-each": "^0.3.3", 2902 | "gopd": "^1.2.0", 2903 | "has-proto": "^1.2.0", 2904 | "is-typed-array": "^1.1.14" 2905 | }, 2906 | "engines": { 2907 | "node": ">= 0.4" 2908 | }, 2909 | "funding": { 2910 | "url": "https://github.com/sponsors/ljharb" 2911 | } 2912 | }, 2913 | "node_modules/typed-array-byte-offset": { 2914 | "version": "1.0.4", 2915 | "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz", 2916 | "integrity": "sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==", 2917 | "dev": true, 2918 | "license": "MIT", 2919 | "dependencies": { 2920 | "available-typed-arrays": "^1.0.7", 2921 | "call-bind": "^1.0.8", 2922 | "for-each": "^0.3.3", 2923 | "gopd": "^1.2.0", 2924 | "has-proto": "^1.2.0", 2925 | "is-typed-array": "^1.1.15", 2926 | "reflect.getprototypeof": "^1.0.9" 2927 | }, 2928 | "engines": { 2929 | "node": ">= 0.4" 2930 | }, 2931 | "funding": { 2932 | "url": "https://github.com/sponsors/ljharb" 2933 | } 2934 | }, 2935 | "node_modules/typed-array-length": { 2936 | "version": "1.0.7", 2937 | "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz", 2938 | "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==", 2939 | "dev": true, 2940 | "license": "MIT", 2941 | "dependencies": { 2942 | "call-bind": "^1.0.7", 2943 | "for-each": "^0.3.3", 2944 | "gopd": "^1.0.1", 2945 | "is-typed-array": "^1.1.13", 2946 | "possible-typed-array-names": "^1.0.0", 2947 | "reflect.getprototypeof": "^1.0.6" 2948 | }, 2949 | "engines": { 2950 | "node": ">= 0.4" 2951 | }, 2952 | "funding": { 2953 | "url": "https://github.com/sponsors/ljharb" 2954 | } 2955 | }, 2956 | "node_modules/typescript": { 2957 | "version": "5.7.3", 2958 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", 2959 | "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", 2960 | "dev": true, 2961 | "license": "Apache-2.0", 2962 | "bin": { 2963 | "tsc": "bin/tsc", 2964 | "tsserver": "bin/tsserver" 2965 | }, 2966 | "engines": { 2967 | "node": ">=14.17" 2968 | } 2969 | }, 2970 | "node_modules/unbox-primitive": { 2971 | "version": "1.1.0", 2972 | "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz", 2973 | "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==", 2974 | "dev": true, 2975 | "license": "MIT", 2976 | "dependencies": { 2977 | "call-bound": "^1.0.3", 2978 | "has-bigints": "^1.0.2", 2979 | "has-symbols": "^1.1.0", 2980 | "which-boxed-primitive": "^1.1.1" 2981 | }, 2982 | "engines": { 2983 | "node": ">= 0.4" 2984 | }, 2985 | "funding": { 2986 | "url": "https://github.com/sponsors/ljharb" 2987 | } 2988 | }, 2989 | "node_modules/undici-types": { 2990 | "version": "6.20.0", 2991 | "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", 2992 | "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", 2993 | "dev": true, 2994 | "license": "MIT" 2995 | }, 2996 | "node_modules/universalify": { 2997 | "version": "2.0.1", 2998 | "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", 2999 | "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", 3000 | "engines": { 3001 | "node": ">= 10.0.0" 3002 | } 3003 | }, 3004 | "node_modules/unzipper": { 3005 | "version": "0.12.3", 3006 | "resolved": "https://registry.npmjs.org/unzipper/-/unzipper-0.12.3.tgz", 3007 | "integrity": "sha512-PZ8hTS+AqcGxsaQntl3IRBw65QrBI6lxzqDEL7IAo/XCEqRTKGfOX56Vea5TH9SZczRVxuzk1re04z/YjuYCJA==", 3008 | "dependencies": { 3009 | "bluebird": "~3.7.2", 3010 | "duplexer2": "~0.1.4", 3011 | "fs-extra": "^11.2.0", 3012 | "graceful-fs": "^4.2.2", 3013 | "node-int64": "^0.4.0" 3014 | } 3015 | }, 3016 | "node_modules/util-deprecate": { 3017 | "version": "1.0.2", 3018 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 3019 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", 3020 | "license": "MIT" 3021 | }, 3022 | "node_modules/webidl-conversions": { 3023 | "version": "3.0.1", 3024 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", 3025 | "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", 3026 | "license": "BSD-2-Clause" 3027 | }, 3028 | "node_modules/whatwg-url": { 3029 | "version": "5.0.0", 3030 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", 3031 | "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", 3032 | "license": "MIT", 3033 | "dependencies": { 3034 | "tr46": "~0.0.3", 3035 | "webidl-conversions": "^3.0.0" 3036 | } 3037 | }, 3038 | "node_modules/which": { 3039 | "version": "5.0.0", 3040 | "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz", 3041 | "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", 3042 | "license": "ISC", 3043 | "dependencies": { 3044 | "isexe": "^3.1.1" 3045 | }, 3046 | "bin": { 3047 | "node-which": "bin/which.js" 3048 | }, 3049 | "engines": { 3050 | "node": "^18.17.0 || >=20.5.0" 3051 | } 3052 | }, 3053 | "node_modules/which-boxed-primitive": { 3054 | "version": "1.1.1", 3055 | "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz", 3056 | "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==", 3057 | "dev": true, 3058 | "license": "MIT", 3059 | "dependencies": { 3060 | "is-bigint": "^1.1.0", 3061 | "is-boolean-object": "^1.2.1", 3062 | "is-number-object": "^1.1.1", 3063 | "is-string": "^1.1.1", 3064 | "is-symbol": "^1.1.1" 3065 | }, 3066 | "engines": { 3067 | "node": ">= 0.4" 3068 | }, 3069 | "funding": { 3070 | "url": "https://github.com/sponsors/ljharb" 3071 | } 3072 | }, 3073 | "node_modules/which-builtin-type": { 3074 | "version": "1.2.1", 3075 | "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz", 3076 | "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==", 3077 | "dev": true, 3078 | "license": "MIT", 3079 | "dependencies": { 3080 | "call-bound": "^1.0.2", 3081 | "function.prototype.name": "^1.1.6", 3082 | "has-tostringtag": "^1.0.2", 3083 | "is-async-function": "^2.0.0", 3084 | "is-date-object": "^1.1.0", 3085 | "is-finalizationregistry": "^1.1.0", 3086 | "is-generator-function": "^1.0.10", 3087 | "is-regex": "^1.2.1", 3088 | "is-weakref": "^1.0.2", 3089 | "isarray": "^2.0.5", 3090 | "which-boxed-primitive": "^1.1.0", 3091 | "which-collection": "^1.0.2", 3092 | "which-typed-array": "^1.1.16" 3093 | }, 3094 | "engines": { 3095 | "node": ">= 0.4" 3096 | }, 3097 | "funding": { 3098 | "url": "https://github.com/sponsors/ljharb" 3099 | } 3100 | }, 3101 | "node_modules/which-collection": { 3102 | "version": "1.0.2", 3103 | "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz", 3104 | "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", 3105 | "dev": true, 3106 | "license": "MIT", 3107 | "dependencies": { 3108 | "is-map": "^2.0.3", 3109 | "is-set": "^2.0.3", 3110 | "is-weakmap": "^2.0.2", 3111 | "is-weakset": "^2.0.3" 3112 | }, 3113 | "engines": { 3114 | "node": ">= 0.4" 3115 | }, 3116 | "funding": { 3117 | "url": "https://github.com/sponsors/ljharb" 3118 | } 3119 | }, 3120 | "node_modules/which-typed-array": { 3121 | "version": "1.1.18", 3122 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.18.tgz", 3123 | "integrity": "sha512-qEcY+KJYlWyLH9vNbsr6/5j59AXk5ni5aakf8ldzBvGde6Iz4sxZGkJyWSAueTG7QhOvNRYb1lDdFmL5Td0QKA==", 3124 | "dev": true, 3125 | "license": "MIT", 3126 | "dependencies": { 3127 | "available-typed-arrays": "^1.0.7", 3128 | "call-bind": "^1.0.8", 3129 | "call-bound": "^1.0.3", 3130 | "for-each": "^0.3.3", 3131 | "gopd": "^1.2.0", 3132 | "has-tostringtag": "^1.0.2" 3133 | }, 3134 | "engines": { 3135 | "node": ">= 0.4" 3136 | }, 3137 | "funding": { 3138 | "url": "https://github.com/sponsors/ljharb" 3139 | } 3140 | }, 3141 | "node_modules/wordwrap": { 3142 | "version": "0.0.3", 3143 | "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", 3144 | "integrity": "sha512-1tMA907+V4QmxV7dbRvb4/8MaRALK6q9Abid3ndMYnbyo8piisCmeONVqVSXqQA3KaP4SLt5b7ud6E2sqP8TFw==", 3145 | "dev": true, 3146 | "license": "MIT", 3147 | "engines": { 3148 | "node": ">=0.4.0" 3149 | } 3150 | }, 3151 | "node_modules/wrap-ansi": { 3152 | "version": "8.1.0", 3153 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", 3154 | "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", 3155 | "license": "MIT", 3156 | "dependencies": { 3157 | "ansi-styles": "^6.1.0", 3158 | "string-width": "^5.0.1", 3159 | "strip-ansi": "^7.0.1" 3160 | }, 3161 | "engines": { 3162 | "node": ">=12" 3163 | }, 3164 | "funding": { 3165 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 3166 | } 3167 | }, 3168 | "node_modules/wrap-ansi-cjs": { 3169 | "name": "wrap-ansi", 3170 | "version": "7.0.0", 3171 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 3172 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 3173 | "license": "MIT", 3174 | "dependencies": { 3175 | "ansi-styles": "^4.0.0", 3176 | "string-width": "^4.1.0", 3177 | "strip-ansi": "^6.0.0" 3178 | }, 3179 | "engines": { 3180 | "node": ">=10" 3181 | }, 3182 | "funding": { 3183 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 3184 | } 3185 | }, 3186 | "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { 3187 | "version": "5.0.1", 3188 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 3189 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 3190 | "license": "MIT", 3191 | "engines": { 3192 | "node": ">=8" 3193 | } 3194 | }, 3195 | "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { 3196 | "version": "4.3.0", 3197 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 3198 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 3199 | "license": "MIT", 3200 | "dependencies": { 3201 | "color-convert": "^2.0.1" 3202 | }, 3203 | "engines": { 3204 | "node": ">=8" 3205 | }, 3206 | "funding": { 3207 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 3208 | } 3209 | }, 3210 | "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { 3211 | "version": "8.0.0", 3212 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 3213 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 3214 | "license": "MIT" 3215 | }, 3216 | "node_modules/wrap-ansi-cjs/node_modules/string-width": { 3217 | "version": "4.2.3", 3218 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 3219 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 3220 | "license": "MIT", 3221 | "dependencies": { 3222 | "emoji-regex": "^8.0.0", 3223 | "is-fullwidth-code-point": "^3.0.0", 3224 | "strip-ansi": "^6.0.1" 3225 | }, 3226 | "engines": { 3227 | "node": ">=8" 3228 | } 3229 | }, 3230 | "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { 3231 | "version": "6.0.1", 3232 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 3233 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 3234 | "license": "MIT", 3235 | "dependencies": { 3236 | "ansi-regex": "^5.0.1" 3237 | }, 3238 | "engines": { 3239 | "node": ">=8" 3240 | } 3241 | }, 3242 | "node_modules/wrap-ansi/node_modules/ansi-styles": { 3243 | "version": "6.2.1", 3244 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", 3245 | "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", 3246 | "license": "MIT", 3247 | "engines": { 3248 | "node": ">=12" 3249 | }, 3250 | "funding": { 3251 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 3252 | } 3253 | }, 3254 | "node_modules/wrappy": { 3255 | "version": "1.0.2", 3256 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 3257 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 3258 | "dev": true, 3259 | "license": "ISC" 3260 | }, 3261 | "node_modules/xtend": { 3262 | "version": "4.0.2", 3263 | "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", 3264 | "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", 3265 | "dev": true, 3266 | "license": "MIT", 3267 | "engines": { 3268 | "node": ">=0.4" 3269 | } 3270 | } 3271 | } 3272 | } 3273 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@clangd/install", 3 | "version": "0.1.20", 4 | "description": "Installing clangd binaries from editor plugins.", 5 | "main": "out/src/index.js", 6 | "files": [ 7 | "out/src/index.d.ts" 8 | ], 9 | "scripts": { 10 | "compile": "tsc -watch -p ./", 11 | "test": "tsc -p ./ && NODE_OPTIONS='--enable-source-maps' tape 'out/test/**/*.js' | tap-spec", 12 | "format": "prettier . --write", 13 | "prepare": "tsc -p ./" 14 | }, 15 | "repository": { 16 | "type": "git", 17 | "url": "git+https://github.com/clangd/node-clangd.git" 18 | }, 19 | "keywords": [ 20 | "clangd", 21 | "coc", 22 | "vscode" 23 | ], 24 | "license": "Apache-2.0 WITH LLVM-exception", 25 | "bugs": { 26 | "url": "https://github.com/clangd/node-clangd/issues" 27 | }, 28 | "dependencies": { 29 | "node-fetch": "^2.7.0", 30 | "readdirp": "^4.1.1", 31 | "rimraf": "^6.0.1", 32 | "semver": "^7.6.3", 33 | "unzipper": "^0.12.3", 34 | "which": "^5.0.0" 35 | }, 36 | "devDependencies": { 37 | "@types/node": "^22.0.2", 38 | "@types/node-fetch": "^2.6.11", 39 | "@types/node-static": "^0.7.11", 40 | "@types/semver": "^7.5.8", 41 | "@types/tape": "^5.6.4", 42 | "@types/tmp": "^0.2.6", 43 | "@types/unzipper": "^0.10.11", 44 | "@types/which": "^3.0.4", 45 | "node-static": "^0.7.11", 46 | "prettier": "^3.3.3", 47 | "tap-spec": "^5.0.0", 48 | "tape": "^5.8.1", 49 | "tmp-promise": "^3.0.3", 50 | "typescript": "^5.5.4" 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | // Automatically install clangd binary releases from GitHub. 2 | // 3 | // We don't bundle them with the package because they're big; we'd have to 4 | // include all OS versions, and download them again with every extension update. 5 | // 6 | // There are several entry points: 7 | // - installation explicitly requested 8 | // - checking for updates (manual or automatic) 9 | // - no usable clangd found, try to recover 10 | // These have different flows, but the same underlying mechanisms. 11 | import * as child_process from 'child_process'; 12 | import * as fs from 'fs'; 13 | import fetch from 'node-fetch'; 14 | import * as os from 'os'; 15 | import * as path from 'path'; 16 | import {readdirpPromise} from 'readdirp'; 17 | import {rimraf} from 'rimraf'; 18 | import * as semver from 'semver'; 19 | import * as stream from 'stream'; 20 | import * as unzipper from 'unzipper'; 21 | import which from 'which'; 22 | 23 | // Abstracts the editor UI and configuration. 24 | // This allows the core installation flows to be shared across editors, by 25 | // implementing a UI class for each. 26 | type UI = { 27 | // Root where we should placed downloaded/installed files. 28 | readonly storagePath: string; 29 | // Configured clangd location. 30 | clangdPath: string; 31 | 32 | // Show a generic message to the user. 33 | info(s: string): void; 34 | // Show a generic error message to the user. 35 | error(s: string): void; 36 | // Show a message and direct the user to a website. 37 | showHelp(message: string, url: string): void; 38 | 39 | // Ask the user to reload the plugin. 40 | promptReload(message: string): void; 41 | // Ask the user to run installLatest() to upgrade clangd. 42 | promptUpdate(oldVersion: string, newVersion: string): void; 43 | // Ask the user to run installLatest() to install missing clangd. 44 | promptInstall(version: string): void; 45 | // Ask whether to reuse rather than overwrite an existing clangd installation. 46 | // Undefined means no choice was made, so we shouldn't do either. 47 | shouldReuse(path: string): Promise; 48 | 49 | // `work` may take a while to resolve, indicate we're doing something. 50 | slow(title: string, work: Promise): Promise; 51 | // `work` will take a while to run and can indicate fractional progress. 52 | progress( 53 | title: string, 54 | cancel: AbortController | null, 55 | work: (progress: (fraction: number) => void) => Promise, 56 | ): Promise; 57 | 58 | /** 59 | * Get localization string. 60 | * @param message - The message to localize. Supports index templating where 61 | * strings like `{0}` and `{1}` are 62 | * replaced by the item at that index in the {@link args} array. 63 | * @param args - The arguments to be used in the localized string. The index 64 | * of the argument is used to 65 | * match the template placeholder in the localized string. 66 | * @returns localized string with injected arguments. 67 | * @example `localize('Hello {0}!', 'World');` 68 | */ 69 | localize(message: string, ...args: Array): string; 70 | }; 71 | 72 | type InstallStatus = { 73 | // Absolute path to clangd, or null if no valid clangd binary is configured. 74 | clangdPath: string | null; 75 | // Background tasks that were started, exposed for testing. 76 | background: Promise; 77 | }; 78 | 79 | // Main startup workflow: check whether the configured clangd binary us usable. 80 | // If not, offer to install one. If so, check for updates. 81 | export async function prepare( 82 | ui: UI, 83 | checkUpdate: boolean, 84 | ): Promise { 85 | let clangdPath: string | null = ui.clangdPath; 86 | if (path.isAbsolute(clangdPath)) { 87 | try { 88 | await fs.promises.access(clangdPath); 89 | } catch (e) { 90 | console.error('fs.access() failed: ', e); 91 | clangdPath = null; 92 | } 93 | } else { 94 | clangdPath = await which(clangdPath, {nothrow: true}); 95 | } 96 | return { 97 | clangdPath, 98 | background: 99 | clangdPath === null 100 | ? // Couldn't find clangd - start recovery flow and stop extension loading. 101 | recover(ui) 102 | : // Allow extension to load, asynchronously check for updates. 103 | checkUpdate 104 | ? checkUpdates(/*requested=*/ false, ui) 105 | : Promise.resolve(), 106 | }; 107 | } 108 | 109 | // The user has explicitly asked to install the latest clangd. 110 | // Do so without further prompting, or report an error. 111 | export async function installLatest(ui: UI) { 112 | const abort = new AbortController(); 113 | try { 114 | const release = await Github.latestRelease(); 115 | const asset = await Github.chooseAsset(release); 116 | ui.clangdPath = await Install.install(release, asset, abort, ui); 117 | ui.promptReload(ui.localize('clangd {0} is now installed.', release.name)); 118 | } catch (e) { 119 | if (!abort.signal.aborted) { 120 | console.error('Failed to install clangd: ', e); 121 | const message = ui.localize( 122 | 'Failed to install clangd language server: {0}\nYou may want to install it manually.', 123 | e as string, 124 | ); 125 | ui.showHelp(message, installURL); 126 | } 127 | } 128 | } 129 | 130 | // We have an apparently-valid clangd (`clangdPath`), check for updates. 131 | export async function checkUpdates(requested: boolean, ui: UI) { 132 | // Gather all the version information to see if there's an upgrade. 133 | try { 134 | var release = await Github.latestRelease(); 135 | await Github.chooseAsset(release); // Ensure a binary for this platform. 136 | var upgrade = await Version.upgrade(release, ui.clangdPath); 137 | } catch (e) { 138 | console.error('Failed to check for clangd update: ', e); 139 | // We're not sure whether there's an upgrade: stay quiet unless asked. 140 | if (requested) 141 | ui.error( 142 | ui.localize('Failed to check for clangd update: {0}', e as string), 143 | ); 144 | return; 145 | } 146 | console.info( 147 | 'Checking for clangd update: available=', 148 | upgrade.new, 149 | ' installed=', 150 | upgrade.old, 151 | ); 152 | // Bail out if the new version is better or comparable. 153 | if (!upgrade.upgrade) { 154 | if (requested) 155 | ui.info( 156 | ui.localize( 157 | 'clangd is up-to-date (you have {0}, latest is {1})', 158 | upgrade.old, 159 | upgrade.new, 160 | ), 161 | ); 162 | return; 163 | } 164 | ui.promptUpdate(upgrade.old, upgrade.new); 165 | } 166 | 167 | // The extension has detected clangd isn't available. 168 | // Inform the user, and if possible offer to install or adjust the path. 169 | // Unlike installLatest(), we've had no explicit user request or consent yet. 170 | async function recover(ui: UI) { 171 | try { 172 | const release = await Github.latestRelease(); 173 | await Github.chooseAsset(release); // Ensure a binary for this platform. 174 | ui.promptInstall(release.name); 175 | } catch (e) { 176 | console.error('Auto-install failed: ', e); 177 | ui.showHelp( 178 | ui.localize('The clangd language server is not installed.'), 179 | installURL, 180 | ); 181 | } 182 | } 183 | 184 | const installURL = 'https://clangd.llvm.org/installation.html'; 185 | // The GitHub API endpoint for the latest binary clangd release. 186 | let githubReleaseURL = 187 | 'https://api.github.com/repos/clangd/clangd/releases/latest'; 188 | // Set a fake URL for testing. 189 | export function fakeGitHubReleaseURL(u: string) { 190 | githubReleaseURL = u; 191 | } 192 | let lddCommand = 'ldd'; 193 | export function fakeLddCommand(l: string) { 194 | lddCommand = l; 195 | } 196 | 197 | // Bits for talking to github's release API 198 | namespace Github { 199 | export interface Release { 200 | name: string; 201 | tag_name: string; 202 | assets: Array; 203 | } 204 | export interface Asset { 205 | name: string; 206 | browser_download_url: string; 207 | } 208 | 209 | // Fetch the metadata for the latest stable clangd release. 210 | export async function latestRelease(): Promise { 211 | const timeoutController = new AbortController(); 212 | const timeout = setTimeout(() => { 213 | timeoutController.abort(); 214 | }, 5000); 215 | try { 216 | const response = await fetch(githubReleaseURL, { 217 | signal: timeoutController.signal, 218 | }); 219 | if (!response.ok) { 220 | console.error(response.url, response.status, response.statusText); 221 | throw new Error(`Can't fetch release: ${response.statusText}`); 222 | } 223 | return (await response.json()) as Release; 224 | } finally { 225 | clearTimeout(timeout); 226 | } 227 | } 228 | 229 | // Determine which release asset should be installed for this machine. 230 | export async function chooseAsset( 231 | release: Github.Release, 232 | ): Promise { 233 | const variants: {[key: string]: string} = { 234 | win32: 'windows', 235 | linux: 'linux', 236 | darwin: 'mac', 237 | }; 238 | const variant = variants[os.platform()]; 239 | if (variant == 'linux') { 240 | // Hardcoding this here is sad, but we'd like to offer a nice error message 241 | // without making the user download the package first. 242 | const minGlibc = new semver.Range('2.18'); 243 | const oldGlibc = await Version.oldGlibc(minGlibc); 244 | if (oldGlibc) { 245 | throw new Error( 246 | 'The clangd release is not compatible with your system ' + 247 | `(glibc ${oldGlibc.raw} < ${minGlibc.raw}). ` + 248 | 'Try to install it using your package manager instead.', 249 | ); 250 | } 251 | } 252 | // 32-bit vscode is still common on 64-bit windows, so don't reject that. 253 | if ( 254 | variant && 255 | (os.arch() == 'x64' || 256 | variant == 'windows' || 257 | // Mac distribution contains a fat binary working on both x64 258 | // and arm64s. 259 | (os.arch() == 'arm64' && variant == 'mac')) 260 | ) { 261 | const substr = 'clangd-' + variant; 262 | const asset = release.assets.find((a) => a.name.indexOf(substr) >= 0); 263 | if (asset) return asset; 264 | } 265 | throw new Error( 266 | `No clangd ${release.name} binary available for ${os.platform()}/${os.arch()}`, 267 | ); 268 | } 269 | } 270 | 271 | // Functions to download and install the releases, and manage the files on disk. 272 | // 273 | // File layout: 274 | // / 275 | // install/ 276 | // / 277 | // clangd_/ (outer director from zip file) 278 | // bin/clangd 279 | // lib/clang/... 280 | // download/ 281 | // clangd-platform-.zip (deleted after extraction) 282 | namespace Install { 283 | // Download the binary archive `asset` from a github `release` and extract it 284 | // to the extension's global storage location. 285 | // The `abort` controller is signaled if the user cancels the installation. 286 | // Returns the absolute path to the installed clangd executable. 287 | export async function install( 288 | release: Github.Release, 289 | asset: Github.Asset, 290 | abort: AbortController, 291 | ui: UI, 292 | ): Promise { 293 | const dirs = await createDirs(ui); 294 | const extractRoot = path.join(dirs.install, release.tag_name); 295 | // readdirp returns an empty array if the directory doesn't exist. 296 | const entries = await readdirpPromise(extractRoot); 297 | if (entries.length !== 0) { 298 | const reuse = await ui.shouldReuse(release.name); 299 | if (reuse === undefined) { 300 | // User dismissed prompt, bail out. 301 | abort.abort(); 302 | throw new Error(`clangd ${release.name} already installed!`); 303 | } 304 | if (reuse) { 305 | // Find clangd within the existing directory. 306 | const executable = entries.find((e) => e.basename == clangdFilename); 307 | if (executable === undefined) { 308 | throw new Error(`Didn't find ${clangdFilename} in ${extractRoot}`); 309 | } 310 | return executable.fullPath; 311 | } else { 312 | // Delete the old version. 313 | await rimraf(extractRoot); 314 | // continue with installation. 315 | } 316 | } 317 | const zipFile = path.join(dirs.download, asset.name); 318 | await download(asset.browser_download_url, zipFile, abort, ui); 319 | const archive = await unzipper.Open.file(zipFile); 320 | const executable = archive.files.find( 321 | (file) => path.basename(file.path) == clangdFilename, 322 | ); 323 | if (executable === undefined) { 324 | throw new Error(`Didn't find ${clangdFilename} in ${zipFile}`); 325 | } 326 | await ui.slow( 327 | ui.localize('Extracting {0}', asset.name), 328 | archive.extract({path: extractRoot}), 329 | ); 330 | const clangdPath = path.join(extractRoot, executable.path); 331 | await fs.promises.chmod(clangdPath, 0o755); 332 | await fs.promises.unlink(zipFile); 333 | return clangdPath; 334 | } 335 | 336 | // Create the 'install' and 'download' directories, and return absolute paths. 337 | async function createDirs(ui: UI) { 338 | const install = path.join(ui.storagePath, 'install'); 339 | const download = path.join(ui.storagePath, 'download'); 340 | for (const dir of [install, download]) 341 | await fs.promises.mkdir(dir, {recursive: true}); 342 | return {install: install, download: download}; 343 | } 344 | 345 | const clangdFilename = os.platform() == 'win32' ? 'clangd.exe' : 'clangd'; 346 | 347 | // Downloads `url` to a local file `dest` (whose parent should exist). 348 | // A progress dialog is shown, if it is cancelled then `abort` is signaled. 349 | async function download( 350 | url: string, 351 | dest: string, 352 | abort: AbortController, 353 | ui: UI, 354 | ): Promise { 355 | console.info('Downloading ', url, ' to ', dest); 356 | return ui.progress( 357 | ui.localize('Downloading {0}', path.basename(dest)), 358 | abort, 359 | async (progress) => { 360 | const response = await fetch(url, {signal: abort.signal}); 361 | if (!response.ok || response.body === null) 362 | throw new Error(`Can't fetch ${url}: ${response.statusText}`); 363 | const size = Number(response.headers.get('content-length')); 364 | let read = 0; 365 | response.body.on('data', (chunk: Buffer) => { 366 | read += chunk.length; 367 | progress(read / size); 368 | }); 369 | const out = fs.createWriteStream(dest); 370 | try { 371 | await stream.promises.pipeline(response.body, out); 372 | } catch (e) { 373 | // Clean up the partial file if the download failed. 374 | fs.unlink(dest, (_) => null); // Don't wait, and ignore error. 375 | throw e; 376 | } 377 | }, 378 | ); 379 | } 380 | } 381 | 382 | // Functions dealing with clangd versions. 383 | // 384 | // We parse both github release numbers and installed `clangd --version` output 385 | // by treating them as SemVer ranges, and offer an upgrade if the version 386 | // is unambiguously newer. 387 | // 388 | // These functions throw if versions can't be parsed (e.g. installed clangd 389 | // is a vendor-modified version). 390 | namespace Version { 391 | export async function upgrade(release: Github.Release, clangdPath: string) { 392 | const releasedVer = released(release); 393 | const installedVer = await installed(clangdPath); 394 | return { 395 | old: installedVer.raw, 396 | new: releasedVer.raw, 397 | upgrade: rangeGreater(releasedVer, installedVer), 398 | }; 399 | } 400 | 401 | const loose: semver.Options = { 402 | loose: true, 403 | }; 404 | 405 | // Get the version of an installed clangd binary using `clangd --version`. 406 | async function installed(clangdPath: string): Promise { 407 | const output = await run(clangdPath, ['--version']); 408 | console.info(clangdPath, ' --version output: ', output); 409 | const prefix = 'clangd version '; 410 | const pos = output.indexOf(prefix); 411 | if (pos < 0) 412 | throw new Error(`Couldn't parse clangd --version output: ${output}`); 413 | if (pos > 0) { 414 | const vendor = output.substring(0, pos).trim(); 415 | if (vendor == 'Apple') 416 | throw new Error(`Cannot compare vendor's clangd version: ${output}`); 417 | } 418 | // Some vendors add trailing ~patchlevel, ignore this. 419 | const rawVersion = output.substr(pos + prefix.length).split(/\s|~/, 1)[0]; 420 | return new semver.Range(rawVersion, loose); 421 | } 422 | 423 | // Get the version of a github release, by parsing the tag or name. 424 | function released(release: Github.Release): semver.Range { 425 | // Prefer the tag name, but fall back to the release name. 426 | return !semver.validRange(release.tag_name, loose) && 427 | semver.validRange(release.name, loose) 428 | ? new semver.Range(release.name, loose) 429 | : new semver.Range(release.tag_name, loose); 430 | } 431 | 432 | // Detect the (linux) system's glibc version. If older than `min`, return it. 433 | export async function oldGlibc( 434 | min: semver.Range, 435 | ): Promise { 436 | // ldd is distributed with glibc, so ldd --version should be a good proxy. 437 | const output = await run(lddCommand, ['--version']); 438 | // The first line is e.g. "ldd (Debian GLIBC 2.29-9) 2.29". 439 | const line = output.split('\n', 1)[0]; 440 | // Require some confirmation this is [e]glibc, and a plausible 441 | // version number. 442 | const match = line.match(/^ldd .*glibc.* (\d+(?:\.\d+)+)[^ ]*$/i); 443 | if (!match || !semver.validRange(match[1], loose)) { 444 | console.error(`Can't glibc version from ldd --version output: ${line}`); 445 | return null; 446 | } 447 | const version = new semver.Range(match[1], loose); 448 | console.info('glibc is', version.raw, 'min is', min.raw); 449 | return rangeGreater(min, version) ? version : null; 450 | } 451 | 452 | // Run a system command and capture any stdout produced. 453 | async function run(command: string, flags: string[]): Promise { 454 | const child = child_process.spawn(command, flags, { 455 | stdio: ['ignore', 'pipe', 'ignore'], 456 | }); 457 | let output = ''; 458 | for await (const chunk of child.stdout) output += chunk; 459 | return output; 460 | } 461 | 462 | function rangeGreater(newVer: semver.Range, oldVer: semver.Range) { 463 | const minVersion = semver.minVersion(newVer); 464 | if (minVersion === null) { 465 | throw new Error(`Couldn't parse version range: ${newVer}`); 466 | } 467 | return semver.gtr(minVersion, oldVer); 468 | } 469 | } 470 | -------------------------------------------------------------------------------- /test/assets/apple-clangd-5/clangd: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ X"$1" = X"--version" ]; then 3 | # Vendor significant because Apple clang has a different version scheme. 4 | echo "Apple clangd version 5.0.0 (fake)" 5 | else 6 | echo "Unexpected usage" 7 | exit 1 8 | fi 9 | -------------------------------------------------------------------------------- /test/assets/fake-clangd-10.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clangd/node-clangd/6641c63f3b106c69f2ffd7fd552236b3313833a3/test/assets/fake-clangd-10.zip -------------------------------------------------------------------------------- /test/assets/fake-clangd-15/clangd: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ X"$1" = X"--version" ]; then 3 | echo "clangd version 15.0.0 (fake)" 4 | else 5 | echo "Unexpected usage" 6 | exit 1 7 | fi 8 | -------------------------------------------------------------------------------- /test/assets/fake-clangd-16/clangd: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ X"$1" = X"--version" ]; then 3 | echo "clangd version 16.0.0" 4 | echo "Features: linux" 5 | else 6 | echo "Unexpected usage" 7 | exit 1 8 | fi 9 | -------------------------------------------------------------------------------- /test/assets/fake-clangd-5/clangd: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ X"$1" = X"--version" ]; then 3 | # Vendor prefix is acceptable. 4 | echo "Ubuntu clangd version 5.0.0~1 (fake)" 5 | else 6 | echo "Unexpected usage" 7 | exit 1 8 | fi 9 | -------------------------------------------------------------------------------- /test/assets/fake-clangd-unversioned/clangd: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ X"$1" = X"--version" ]; then 3 | echo "clangd version Infinity Plus One (fake)" 4 | else 5 | echo "Unexpected usage" 6 | exit 1 7 | fi 8 | -------------------------------------------------------------------------------- /test/assets/ldd/exact: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ X"$1" = X"--version" ]; then 3 | echo "ldd (glibc) 2.18" 4 | echo "And here is a copyright notice." 5 | else 6 | echo "Unexpected usage" 7 | exit 1 8 | fi 9 | -------------------------------------------------------------------------------- /test/assets/ldd/new: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ X"$1" = X"--version" ]; then 3 | echo "ldd (Debian GLIBC 2.29-9) 2.29" 4 | echo "And here is a copyright notice." 5 | else 6 | echo "Unexpected usage" 7 | exit 1 8 | fi 9 | -------------------------------------------------------------------------------- /test/assets/ldd/not-glibc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ X"$1" = X"--version" ]; then 3 | echo "musl libc (x86_64)" 4 | echo "And here is a copyright notice." 5 | else 6 | echo "Unexpected usage" 7 | exit 1 8 | fi 9 | -------------------------------------------------------------------------------- /test/assets/ldd/old: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if [ X"$1" = X"--version" ]; then 3 | echo "ldd (Ancient EGLIBC 2.15) 2.15-old" 4 | echo "And here is a copyright notice." 5 | else 6 | echo "Unexpected usage" 7 | exit 1 8 | fi 9 | -------------------------------------------------------------------------------- /test/assets/release-incompatible.json: -------------------------------------------------------------------------------- 1 | { 2 | "url": "https://api.github.com/repos/clangd/clangd/releases/24377200", 3 | "assets_url": "https://api.github.com/repos/clangd/clangd/releases/24377200/assets", 4 | "upload_url": "https://uploads.github.com/repos/clangd/clangd/releases/24377200/assets{?name,label}", 5 | "html_url": "https://github.com/clangd/clangd/releases/tag/10rc3", 6 | "id": 24377200, 7 | "node_id": "MDc6UmVsZWFzZTI0Mzc3MjAw", 8 | "tag_name": "10.0", 9 | "target_commitish": "master", 10 | "name": "10.0", 11 | "draft": false, 12 | "author": { 13 | "login": "sam-mccall", 14 | "id": 548993, 15 | "node_id": "MDQ6VXNlcjU0ODk5Mw==", 16 | "avatar_url": "https://avatars1.githubusercontent.com/u/548993?v=4", 17 | "gravatar_id": "", 18 | "url": "https://api.github.com/users/sam-mccall", 19 | "html_url": "https://github.com/sam-mccall", 20 | "followers_url": "https://api.github.com/users/sam-mccall/followers", 21 | "following_url": "https://api.github.com/users/sam-mccall/following{/other_user}", 22 | "gists_url": "https://api.github.com/users/sam-mccall/gists{/gist_id}", 23 | "starred_url": "https://api.github.com/users/sam-mccall/starred{/owner}{/repo}", 24 | "subscriptions_url": "https://api.github.com/users/sam-mccall/subscriptions", 25 | "organizations_url": "https://api.github.com/users/sam-mccall/orgs", 26 | "repos_url": "https://api.github.com/users/sam-mccall/repos", 27 | "events_url": "https://api.github.com/users/sam-mccall/events{/privacy}", 28 | "received_events_url": "https://api.github.com/users/sam-mccall/received_events", 29 | "type": "User", 30 | "site_admin": false 31 | }, 32 | "prerelease": false, 33 | "created_at": "2020-02-20T12:44:25Z", 34 | "published_at": "2020-03-10T09:42:12Z", 35 | "assets": [ 36 | { 37 | "url": "http://api.github.com/repos/clangd/clangd/releases/assets/18600444", 38 | "id": 18600444, 39 | "node_id": "MDEyOlJlbGVhc2VBc3NldDE4NjAwNDQ0", 40 | "name": "clangd-amiga-10.zip", 41 | "label": "", 42 | "uploader": { 43 | "login": "clangd-build", 44 | "id": 60678011, 45 | "node_id": "MDQ6VXNlcjYwNjc4MDEx", 46 | "avatar_url": "https://avatars2.githubusercontent.com/u/60678011?v=4", 47 | "gravatar_id": "", 48 | "url": "https://api.github.com/users/clangd-build", 49 | "html_url": "https://github.com/clangd-build", 50 | "followers_url": "https://api.github.com/users/clangd-build/followers", 51 | "following_url": "https://api.github.com/users/clangd-build/following{/other_user}", 52 | "gists_url": "https://api.github.com/users/clangd-build/gists{/gist_id}", 53 | "starred_url": "https://api.github.com/users/clangd-build/starred{/owner}{/repo}", 54 | "subscriptions_url": "https://api.github.com/users/clangd-build/subscriptions", 55 | "organizations_url": "https://api.github.com/users/clangd-build/orgs", 56 | "repos_url": "https://api.github.com/users/clangd-build/repos", 57 | "events_url": "https://api.github.com/users/clangd-build/events{/privacy}", 58 | "received_events_url": "https://api.github.com/users/clangd-build/received_events", 59 | "type": "User", 60 | "site_admin": false 61 | }, 62 | "content_type": "application/zip", 63 | "state": "uploaded", 64 | "size": 46545010, 65 | "download_count": 615, 66 | "created_at": "2020-03-10T09:22:40Z", 67 | "updated_at": "2020-03-10T09:22:41Z", 68 | "browser_download_url": "http://localhost:9999/fake-clangd-10.zip" 69 | }, 70 | { 71 | "url": "https://api.github.com/repos/clangd/clangd/releases/assets/18600056", 72 | "id": 18600056, 73 | "node_id": "MDEyOlJlbGVhc2VBc3NldDE4NjAwMDU2", 74 | "name": "clangd-palmpilot-10.zip", 75 | "label": "", 76 | "uploader": { 77 | "login": "clangd-build", 78 | "id": 60678011, 79 | "node_id": "MDQ6VXNlcjYwNjc4MDEx", 80 | "avatar_url": "https://avatars2.githubusercontent.com/u/60678011?v=4", 81 | "gravatar_id": "", 82 | "url": "https://api.github.com/users/clangd-build", 83 | "html_url": "https://github.com/clangd-build", 84 | "followers_url": "https://api.github.com/users/clangd-build/followers", 85 | "following_url": "https://api.github.com/users/clangd-build/following{/other_user}", 86 | "gists_url": "https://api.github.com/users/clangd-build/gists{/gist_id}", 87 | "starred_url": "https://api.github.com/users/clangd-build/starred{/owner}{/repo}", 88 | "subscriptions_url": "https://api.github.com/users/clangd-build/subscriptions", 89 | "organizations_url": "https://api.github.com/users/clangd-build/orgs", 90 | "repos_url": "https://api.github.com/users/clangd-build/repos", 91 | "events_url": "https://api.github.com/users/clangd-build/events{/privacy}", 92 | "received_events_url": "https://api.github.com/users/clangd-build/received_events", 93 | "type": "User", 94 | "site_admin": false 95 | }, 96 | "content_type": "application/zip", 97 | "state": "uploaded", 98 | "size": 12445168, 99 | "download_count": 163, 100 | "created_at": "2020-03-10T09:11:51Z", 101 | "updated_at": "2020-03-10T09:11:52Z", 102 | "browser_download_url": "http://localhost:9999/fake-clangd-10.zip" 103 | }, 104 | { 105 | "url": "https://api.github.com/repos/clangd/clangd/releases/assets/18600887", 106 | "id": 18600887, 107 | "node_id": "MDEyOlJlbGVhc2VBc3NldDE4NjAwODg3", 108 | "name": "clangd-pdp11-10.zip", 109 | "label": "", 110 | "uploader": { 111 | "login": "clangd-build", 112 | "id": 60678011, 113 | "node_id": "MDQ6VXNlcjYwNjc4MDEx", 114 | "avatar_url": "https://avatars2.githubusercontent.com/u/60678011?v=4", 115 | "gravatar_id": "", 116 | "url": "https://api.github.com/users/clangd-build", 117 | "html_url": "https://github.com/clangd-build", 118 | "followers_url": "https://api.github.com/users/clangd-build/followers", 119 | "following_url": "https://api.github.com/users/clangd-build/following{/other_user}", 120 | "gists_url": "https://api.github.com/users/clangd-build/gists{/gist_id}", 121 | "starred_url": "https://api.github.com/users/clangd-build/starred{/owner}{/repo}", 122 | "subscriptions_url": "https://api.github.com/users/clangd-build/subscriptions", 123 | "organizations_url": "https://api.github.com/users/clangd-build/orgs", 124 | "repos_url": "https://api.github.com/users/clangd-build/repos", 125 | "events_url": "https://api.github.com/users/clangd-build/events{/privacy}", 126 | "received_events_url": "https://api.github.com/users/clangd-build/received_events", 127 | "type": "User", 128 | "site_admin": false 129 | }, 130 | "content_type": "application/zip", 131 | "state": "uploaded", 132 | "size": 10703398, 133 | "download_count": 138, 134 | "created_at": "2020-03-10T09:41:58Z", 135 | "updated_at": "2020-03-10T09:41:59Z", 136 | "browser_download_url": "http://localhost:9999/fake-clangd-10.zip" 137 | } 138 | ], 139 | "tarball_url": "https://api.github.com/repos/clangd/clangd/tarball/10rc3", 140 | "zipball_url": "https://api.github.com/repos/clangd/clangd/zipball/10rc3", 141 | "body": "Built at llvm/llvm-project@3a843031a5ad83a00d2603f623881cb2b2bf719d, i.e. llvmorg-10.0.0-rc3.\r\n\r\n(There are no outstanding release blockers for clangd, so this should be identical to the final 10.0 release)." 142 | } 143 | -------------------------------------------------------------------------------- /test/assets/release-wrong-url.json: -------------------------------------------------------------------------------- 1 | { 2 | "url": "https://api.github.com/repos/clangd/clangd/releases/24377200", 3 | "assets_url": "https://api.github.com/repos/clangd/clangd/releases/24377200/assets", 4 | "upload_url": "https://uploads.github.com/repos/clangd/clangd/releases/24377200/assets{?name,label}", 5 | "html_url": "https://github.com/clangd/clangd/releases/tag/10rc3", 6 | "id": 24377200, 7 | "node_id": "MDc6UmVsZWFzZTI0Mzc3MjAw", 8 | "tag_name": "10.0", 9 | "target_commitish": "master", 10 | "name": "10.0", 11 | "draft": false, 12 | "author": { 13 | "login": "sam-mccall", 14 | "id": 548993, 15 | "node_id": "MDQ6VXNlcjU0ODk5Mw==", 16 | "avatar_url": "https://avatars1.githubusercontent.com/u/548993?v=4", 17 | "gravatar_id": "", 18 | "url": "https://api.github.com/users/sam-mccall", 19 | "html_url": "https://github.com/sam-mccall", 20 | "followers_url": "https://api.github.com/users/sam-mccall/followers", 21 | "following_url": "https://api.github.com/users/sam-mccall/following{/other_user}", 22 | "gists_url": "https://api.github.com/users/sam-mccall/gists{/gist_id}", 23 | "starred_url": "https://api.github.com/users/sam-mccall/starred{/owner}{/repo}", 24 | "subscriptions_url": "https://api.github.com/users/sam-mccall/subscriptions", 25 | "organizations_url": "https://api.github.com/users/sam-mccall/orgs", 26 | "repos_url": "https://api.github.com/users/sam-mccall/repos", 27 | "events_url": "https://api.github.com/users/sam-mccall/events{/privacy}", 28 | "received_events_url": "https://api.github.com/users/sam-mccall/received_events", 29 | "type": "User", 30 | "site_admin": false 31 | }, 32 | "prerelease": false, 33 | "created_at": "2020-02-20T12:44:25Z", 34 | "published_at": "2020-03-10T09:42:12Z", 35 | "assets": [ 36 | { 37 | "url": "http://api.github.com/repos/clangd/clangd/releases/assets/18600444", 38 | "id": 18600444, 39 | "node_id": "MDEyOlJlbGVhc2VBc3NldDE4NjAwNDQ0", 40 | "name": "clangd-indexing-tools-linux-10.zip", 41 | "label": "", 42 | "uploader": { 43 | "login": "clangd-build", 44 | "id": 60678011, 45 | "node_id": "MDQ6VXNlcjYwNjc4MDEx", 46 | "avatar_url": "https://avatars2.githubusercontent.com/u/60678011?v=4", 47 | "gravatar_id": "", 48 | "url": "https://api.github.com/users/clangd-build", 49 | "html_url": "https://github.com/clangd-build", 50 | "followers_url": "https://api.github.com/users/clangd-build/followers", 51 | "following_url": "https://api.github.com/users/clangd-build/following{/other_user}", 52 | "gists_url": "https://api.github.com/users/clangd-build/gists{/gist_id}", 53 | "starred_url": "https://api.github.com/users/clangd-build/starred{/owner}{/repo}", 54 | "subscriptions_url": "https://api.github.com/users/clangd-build/subscriptions", 55 | "organizations_url": "https://api.github.com/users/clangd-build/orgs", 56 | "repos_url": "https://api.github.com/users/clangd-build/repos", 57 | "events_url": "https://api.github.com/users/clangd-build/events{/privacy}", 58 | "received_events_url": "https://api.github.com/users/clangd-build/received_events", 59 | "type": "User", 60 | "site_admin": false 61 | }, 62 | "content_type": "application/zip", 63 | "state": "uploaded", 64 | "size": 46545010, 65 | "download_count": 615, 66 | "created_at": "2020-03-10T09:22:40Z", 67 | "updated_at": "2020-03-10T09:22:41Z", 68 | "browser_download_url": "http://localhost:9999/does-not-exist.zip" 69 | }, 70 | { 71 | "url": "http://api.github.com/repos/clangd/clangd/releases/assets/18600444", 72 | "id": 18600444, 73 | "node_id": "MDEyOlJlbGVhc2VBc3NldDE4NjAwNDQ0", 74 | "name": "clangd-linux-10.zip", 75 | "label": "", 76 | "uploader": { 77 | "login": "clangd-build", 78 | "id": 60678011, 79 | "node_id": "MDQ6VXNlcjYwNjc4MDEx", 80 | "avatar_url": "https://avatars2.githubusercontent.com/u/60678011?v=4", 81 | "gravatar_id": "", 82 | "url": "https://api.github.com/users/clangd-build", 83 | "html_url": "https://github.com/clangd-build", 84 | "followers_url": "https://api.github.com/users/clangd-build/followers", 85 | "following_url": "https://api.github.com/users/clangd-build/following{/other_user}", 86 | "gists_url": "https://api.github.com/users/clangd-build/gists{/gist_id}", 87 | "starred_url": "https://api.github.com/users/clangd-build/starred{/owner}{/repo}", 88 | "subscriptions_url": "https://api.github.com/users/clangd-build/subscriptions", 89 | "organizations_url": "https://api.github.com/users/clangd-build/orgs", 90 | "repos_url": "https://api.github.com/users/clangd-build/repos", 91 | "events_url": "https://api.github.com/users/clangd-build/events{/privacy}", 92 | "received_events_url": "https://api.github.com/users/clangd-build/received_events", 93 | "type": "User", 94 | "site_admin": false 95 | }, 96 | "content_type": "application/zip", 97 | "state": "uploaded", 98 | "size": 46545010, 99 | "download_count": 615, 100 | "created_at": "2020-03-10T09:22:40Z", 101 | "updated_at": "2020-03-10T09:22:41Z", 102 | "browser_download_url": "http://localhost:9999/does-not-exist.zip" 103 | }, 104 | { 105 | "url": "https://api.github.com/repos/clangd/clangd/releases/assets/18600056", 106 | "id": 18600056, 107 | "node_id": "MDEyOlJlbGVhc2VBc3NldDE4NjAwMDU2", 108 | "name": "clangd-mac-10.zip", 109 | "label": "", 110 | "uploader": { 111 | "login": "clangd-build", 112 | "id": 60678011, 113 | "node_id": "MDQ6VXNlcjYwNjc4MDEx", 114 | "avatar_url": "https://avatars2.githubusercontent.com/u/60678011?v=4", 115 | "gravatar_id": "", 116 | "url": "https://api.github.com/users/clangd-build", 117 | "html_url": "https://github.com/clangd-build", 118 | "followers_url": "https://api.github.com/users/clangd-build/followers", 119 | "following_url": "https://api.github.com/users/clangd-build/following{/other_user}", 120 | "gists_url": "https://api.github.com/users/clangd-build/gists{/gist_id}", 121 | "starred_url": "https://api.github.com/users/clangd-build/starred{/owner}{/repo}", 122 | "subscriptions_url": "https://api.github.com/users/clangd-build/subscriptions", 123 | "organizations_url": "https://api.github.com/users/clangd-build/orgs", 124 | "repos_url": "https://api.github.com/users/clangd-build/repos", 125 | "events_url": "https://api.github.com/users/clangd-build/events{/privacy}", 126 | "received_events_url": "https://api.github.com/users/clangd-build/received_events", 127 | "type": "User", 128 | "site_admin": false 129 | }, 130 | "content_type": "application/zip", 131 | "state": "uploaded", 132 | "size": 12445168, 133 | "download_count": 163, 134 | "created_at": "2020-03-10T09:11:51Z", 135 | "updated_at": "2020-03-10T09:11:52Z", 136 | "browser_download_url": "http://localhost:9999/does-not-exist.zip" 137 | }, 138 | { 139 | "url": "https://api.github.com/repos/clangd/clangd/releases/assets/18600887", 140 | "id": 18600887, 141 | "node_id": "MDEyOlJlbGVhc2VBc3NldDE4NjAwODg3", 142 | "name": "clangd-windows-10.zip", 143 | "label": "", 144 | "uploader": { 145 | "login": "clangd-build", 146 | "id": 60678011, 147 | "node_id": "MDQ6VXNlcjYwNjc4MDEx", 148 | "avatar_url": "https://avatars2.githubusercontent.com/u/60678011?v=4", 149 | "gravatar_id": "", 150 | "url": "https://api.github.com/users/clangd-build", 151 | "html_url": "https://github.com/clangd-build", 152 | "followers_url": "https://api.github.com/users/clangd-build/followers", 153 | "following_url": "https://api.github.com/users/clangd-build/following{/other_user}", 154 | "gists_url": "https://api.github.com/users/clangd-build/gists{/gist_id}", 155 | "starred_url": "https://api.github.com/users/clangd-build/starred{/owner}{/repo}", 156 | "subscriptions_url": "https://api.github.com/users/clangd-build/subscriptions", 157 | "organizations_url": "https://api.github.com/users/clangd-build/orgs", 158 | "repos_url": "https://api.github.com/users/clangd-build/repos", 159 | "events_url": "https://api.github.com/users/clangd-build/events{/privacy}", 160 | "received_events_url": "https://api.github.com/users/clangd-build/received_events", 161 | "type": "User", 162 | "site_admin": false 163 | }, 164 | "content_type": "application/zip", 165 | "state": "uploaded", 166 | "size": 10703398, 167 | "download_count": 138, 168 | "created_at": "2020-03-10T09:41:58Z", 169 | "updated_at": "2020-03-10T09:41:59Z", 170 | "browser_download_url": "http://localhost:9999/does-not-exist.zip" 171 | } 172 | ], 173 | "tarball_url": "https://api.github.com/repos/clangd/clangd/tarball/10rc3", 174 | "zipball_url": "https://api.github.com/repos/clangd/clangd/zipball/10rc3", 175 | "body": "Built at llvm/llvm-project@3a843031a5ad83a00d2603f623881cb2b2bf719d, i.e. llvmorg-10.0.0-rc3.\r\n\r\n(There are no outstanding release blockers for clangd, so this should be identical to the final 10.0 release)." 176 | } 177 | -------------------------------------------------------------------------------- /test/assets/release.json: -------------------------------------------------------------------------------- 1 | { 2 | "url": "https://api.github.com/repos/clangd/clangd/releases/24377200", 3 | "assets_url": "https://api.github.com/repos/clangd/clangd/releases/24377200/assets", 4 | "upload_url": "https://uploads.github.com/repos/clangd/clangd/releases/24377200/assets{?name,label}", 5 | "html_url": "https://github.com/clangd/clangd/releases/tag/10rc3", 6 | "id": 24377200, 7 | "node_id": "MDc6UmVsZWFzZTI0Mzc3MjAw", 8 | "tag_name": "10.0", 9 | "target_commitish": "master", 10 | "name": "10.0", 11 | "draft": false, 12 | "author": { 13 | "login": "sam-mccall", 14 | "id": 548993, 15 | "node_id": "MDQ6VXNlcjU0ODk5Mw==", 16 | "avatar_url": "https://avatars1.githubusercontent.com/u/548993?v=4", 17 | "gravatar_id": "", 18 | "url": "https://api.github.com/users/sam-mccall", 19 | "html_url": "https://github.com/sam-mccall", 20 | "followers_url": "https://api.github.com/users/sam-mccall/followers", 21 | "following_url": "https://api.github.com/users/sam-mccall/following{/other_user}", 22 | "gists_url": "https://api.github.com/users/sam-mccall/gists{/gist_id}", 23 | "starred_url": "https://api.github.com/users/sam-mccall/starred{/owner}{/repo}", 24 | "subscriptions_url": "https://api.github.com/users/sam-mccall/subscriptions", 25 | "organizations_url": "https://api.github.com/users/sam-mccall/orgs", 26 | "repos_url": "https://api.github.com/users/sam-mccall/repos", 27 | "events_url": "https://api.github.com/users/sam-mccall/events{/privacy}", 28 | "received_events_url": "https://api.github.com/users/sam-mccall/received_events", 29 | "type": "User", 30 | "site_admin": false 31 | }, 32 | "prerelease": false, 33 | "created_at": "2020-02-20T12:44:25Z", 34 | "published_at": "2020-03-10T09:42:12Z", 35 | "assets": [ 36 | { 37 | "url": "http://api.github.com/repos/clangd/clangd/releases/assets/18600444", 38 | "id": 18600444, 39 | "node_id": "MDEyOlJlbGVhc2VBc3NldDE4NjAwNDQ0", 40 | "name": "clangd-indexing-tools-linux-10.zip", 41 | "label": "", 42 | "uploader": { 43 | "login": "clangd-build", 44 | "id": 60678011, 45 | "node_id": "MDQ6VXNlcjYwNjc4MDEx", 46 | "avatar_url": "https://avatars2.githubusercontent.com/u/60678011?v=4", 47 | "gravatar_id": "", 48 | "url": "https://api.github.com/users/clangd-build", 49 | "html_url": "https://github.com/clangd-build", 50 | "followers_url": "https://api.github.com/users/clangd-build/followers", 51 | "following_url": "https://api.github.com/users/clangd-build/following{/other_user}", 52 | "gists_url": "https://api.github.com/users/clangd-build/gists{/gist_id}", 53 | "starred_url": "https://api.github.com/users/clangd-build/starred{/owner}{/repo}", 54 | "subscriptions_url": "https://api.github.com/users/clangd-build/subscriptions", 55 | "organizations_url": "https://api.github.com/users/clangd-build/orgs", 56 | "repos_url": "https://api.github.com/users/clangd-build/repos", 57 | "events_url": "https://api.github.com/users/clangd-build/events{/privacy}", 58 | "received_events_url": "https://api.github.com/users/clangd-build/received_events", 59 | "type": "User", 60 | "site_admin": false 61 | }, 62 | "content_type": "application/zip", 63 | "state": "uploaded", 64 | "size": 46545010, 65 | "download_count": 615, 66 | "created_at": "2020-03-10T09:22:40Z", 67 | "updated_at": "2020-03-10T09:22:41Z", 68 | "browser_download_url": "http://localhost:9999/does-not-exist.zip" 69 | }, 70 | { 71 | "url": "http://api.github.com/repos/clangd/clangd/releases/assets/18600444", 72 | "id": 18600444, 73 | "node_id": "MDEyOlJlbGVhc2VBc3NldDE4NjAwNDQ0", 74 | "name": "clangd-linux-10.zip", 75 | "label": "", 76 | "uploader": { 77 | "login": "clangd-build", 78 | "id": 60678011, 79 | "node_id": "MDQ6VXNlcjYwNjc4MDEx", 80 | "avatar_url": "https://avatars2.githubusercontent.com/u/60678011?v=4", 81 | "gravatar_id": "", 82 | "url": "https://api.github.com/users/clangd-build", 83 | "html_url": "https://github.com/clangd-build", 84 | "followers_url": "https://api.github.com/users/clangd-build/followers", 85 | "following_url": "https://api.github.com/users/clangd-build/following{/other_user}", 86 | "gists_url": "https://api.github.com/users/clangd-build/gists{/gist_id}", 87 | "starred_url": "https://api.github.com/users/clangd-build/starred{/owner}{/repo}", 88 | "subscriptions_url": "https://api.github.com/users/clangd-build/subscriptions", 89 | "organizations_url": "https://api.github.com/users/clangd-build/orgs", 90 | "repos_url": "https://api.github.com/users/clangd-build/repos", 91 | "events_url": "https://api.github.com/users/clangd-build/events{/privacy}", 92 | "received_events_url": "https://api.github.com/users/clangd-build/received_events", 93 | "type": "User", 94 | "site_admin": false 95 | }, 96 | "content_type": "application/zip", 97 | "state": "uploaded", 98 | "size": 46545010, 99 | "download_count": 615, 100 | "created_at": "2020-03-10T09:22:40Z", 101 | "updated_at": "2020-03-10T09:22:41Z", 102 | "browser_download_url": "http://localhost:9999/fake-clangd-10.zip" 103 | }, 104 | { 105 | "url": "https://api.github.com/repos/clangd/clangd/releases/assets/18600056", 106 | "id": 18600056, 107 | "node_id": "MDEyOlJlbGVhc2VBc3NldDE4NjAwMDU2", 108 | "name": "clangd-mac-10.zip", 109 | "label": "", 110 | "uploader": { 111 | "login": "clangd-build", 112 | "id": 60678011, 113 | "node_id": "MDQ6VXNlcjYwNjc4MDEx", 114 | "avatar_url": "https://avatars2.githubusercontent.com/u/60678011?v=4", 115 | "gravatar_id": "", 116 | "url": "https://api.github.com/users/clangd-build", 117 | "html_url": "https://github.com/clangd-build", 118 | "followers_url": "https://api.github.com/users/clangd-build/followers", 119 | "following_url": "https://api.github.com/users/clangd-build/following{/other_user}", 120 | "gists_url": "https://api.github.com/users/clangd-build/gists{/gist_id}", 121 | "starred_url": "https://api.github.com/users/clangd-build/starred{/owner}{/repo}", 122 | "subscriptions_url": "https://api.github.com/users/clangd-build/subscriptions", 123 | "organizations_url": "https://api.github.com/users/clangd-build/orgs", 124 | "repos_url": "https://api.github.com/users/clangd-build/repos", 125 | "events_url": "https://api.github.com/users/clangd-build/events{/privacy}", 126 | "received_events_url": "https://api.github.com/users/clangd-build/received_events", 127 | "type": "User", 128 | "site_admin": false 129 | }, 130 | "content_type": "application/zip", 131 | "state": "uploaded", 132 | "size": 12445168, 133 | "download_count": 163, 134 | "created_at": "2020-03-10T09:11:51Z", 135 | "updated_at": "2020-03-10T09:11:52Z", 136 | "browser_download_url": "http://localhost:9999/fake-clangd-10.zip" 137 | }, 138 | { 139 | "url": "https://api.github.com/repos/clangd/clangd/releases/assets/18600887", 140 | "id": 18600887, 141 | "node_id": "MDEyOlJlbGVhc2VBc3NldDE4NjAwODg3", 142 | "name": "clangd-windows-10.zip", 143 | "label": "", 144 | "uploader": { 145 | "login": "clangd-build", 146 | "id": 60678011, 147 | "node_id": "MDQ6VXNlcjYwNjc4MDEx", 148 | "avatar_url": "https://avatars2.githubusercontent.com/u/60678011?v=4", 149 | "gravatar_id": "", 150 | "url": "https://api.github.com/users/clangd-build", 151 | "html_url": "https://github.com/clangd-build", 152 | "followers_url": "https://api.github.com/users/clangd-build/followers", 153 | "following_url": "https://api.github.com/users/clangd-build/following{/other_user}", 154 | "gists_url": "https://api.github.com/users/clangd-build/gists{/gist_id}", 155 | "starred_url": "https://api.github.com/users/clangd-build/starred{/owner}{/repo}", 156 | "subscriptions_url": "https://api.github.com/users/clangd-build/subscriptions", 157 | "organizations_url": "https://api.github.com/users/clangd-build/orgs", 158 | "repos_url": "https://api.github.com/users/clangd-build/repos", 159 | "events_url": "https://api.github.com/users/clangd-build/events{/privacy}", 160 | "received_events_url": "https://api.github.com/users/clangd-build/received_events", 161 | "type": "User", 162 | "site_admin": false 163 | }, 164 | "content_type": "application/zip", 165 | "state": "uploaded", 166 | "size": 10703398, 167 | "download_count": 138, 168 | "created_at": "2020-03-10T09:41:58Z", 169 | "updated_at": "2020-03-10T09:41:59Z", 170 | "browser_download_url": "http://localhost:9999/fake-clangd-10.zip" 171 | } 172 | ], 173 | "tarball_url": "https://api.github.com/repos/clangd/clangd/tarball/10rc3", 174 | "zipball_url": "https://api.github.com/repos/clangd/clangd/zipball/10rc3", 175 | "body": "Built at llvm/llvm-project@3a843031a5ad83a00d2603f623881cb2b2bf719d, i.e. llvmorg-10.0.0-rc3.\r\n\r\n(There are no outstanding release blockers for clangd, so this should be identical to the final 10.0 release)." 176 | } 177 | -------------------------------------------------------------------------------- /test/index.ts: -------------------------------------------------------------------------------- 1 | import * as fs from 'fs'; 2 | import * as http from 'http'; 3 | import * as nodeStatic from 'node-static'; 4 | import * as os from 'os'; 5 | import * as path from 'path'; 6 | import tape from 'tape'; 7 | import * as tmp from 'tmp-promise'; 8 | 9 | import * as install from '../src/index'; 10 | 11 | const oldClangd = process.cwd() + '/test/assets/fake-clangd-5/clangd'; 12 | const newClangdV15 = process.cwd() + '/test/assets/fake-clangd-15/clangd'; 13 | const newClangdV16 = process.cwd() + '/test/assets/fake-clangd-16/clangd'; 14 | const unversionedClangd = 15 | process.cwd() + '/test/assets/fake-clangd-unversioned/clangd'; 16 | const appleClangd = process.cwd() + '/test/assets/apple-clangd-5/clangd'; 17 | const exactLdd = process.cwd() + '/test/assets/ldd/exact'; 18 | const oldLdd = process.cwd() + '/test/assets/ldd/old'; 19 | const newLdd = process.cwd() + '/test/assets/ldd/new'; 20 | const notGlibcLdd = process.cwd() + '/test/assets/ldd/not-glibc'; 21 | const missingClangd = process.cwd() + '/test/assets/missing/clangd'; 22 | const releases = 'http://127.0.0.1:9999/release.json'; 23 | const incompatibleReleases = 'http://127.0.0.1:9999/release-incompatible.json'; 24 | const wrongUrlReleases = 'http://127.0.0.1:9999/release-wrong-url.json'; 25 | 26 | // A fake editor that records interactions. 27 | class FakeUI { 28 | constructor(public readonly storagePath: string) { 29 | console.log('Storage is', this.storagePath); 30 | } 31 | readonly events: string[] = []; 32 | private event(s: string) { 33 | console.log(s); 34 | this.events.push(s); 35 | } 36 | 37 | clangdPath = oldClangd; 38 | 39 | info(s: string) { 40 | this.event('info'); 41 | console.log(s); 42 | } 43 | error(s: string) { 44 | this.event('error'); 45 | console.error(s); 46 | } 47 | showHelp(msg: string, url: string) { 48 | this.event('showHelp'); 49 | console.info(msg, url); 50 | } 51 | 52 | promptReload() { 53 | this.event('promptReload'); 54 | } 55 | promptUpdate() { 56 | this.event('promptUpdate'); 57 | } 58 | promptInstall() { 59 | this.event('promptInstall'); 60 | } 61 | public shouldReuseValue = true; 62 | async shouldReuse() { 63 | this.event('shouldReuse'); 64 | return this.shouldReuseValue; 65 | } 66 | 67 | slow(_title: string, work: Promise) { 68 | this.event('slow'); 69 | return work; 70 | } 71 | progress( 72 | _title: string, 73 | _cancel: any, 74 | work: (progress: (fraction: number) => void) => Promise, 75 | ) { 76 | this.event('progress'); 77 | return work((fraction) => console.log('progress% ', 100 * fraction)); 78 | } 79 | localize(message: string, ...args: Array): string { 80 | let ret = message; 81 | for (const i in args) { 82 | ret.replace(`{${i}}`, args[i].toString()); 83 | } 84 | return ret; 85 | } 86 | } 87 | 88 | function test( 89 | name: string, 90 | body: (assert: tape.Test, ui: FakeUI) => Promise, 91 | ) { 92 | tape(name, async (assert) => 93 | tmp.withDir( 94 | async (dir) => { 95 | const ui = new FakeUI(dir.path); 96 | const files = new nodeStatic.Server('test/assets/'); 97 | return new Promise((resolve, _reject) => { 98 | const server = http 99 | .createServer((req, res) => { 100 | console.log('Fake github:', req.method, req.url); 101 | req.on('end', () => files.serve(req, res)).resume(); 102 | }) 103 | .listen(9999, '::', async () => { 104 | console.log('Fake github serving...'); 105 | install.fakeGitHubReleaseURL(releases); 106 | install.fakeLddCommand(exactLdd); 107 | try { 108 | await body(assert, ui); 109 | } catch (e) { 110 | assert.fail(e as string); 111 | } 112 | console.log('Fake github stopping...'); 113 | server.close(); 114 | resolve(); 115 | }); 116 | }); 117 | }, 118 | {unsafeCleanup: true}, 119 | ), 120 | ); 121 | } 122 | 123 | // Test the actual installation, typically the clangd.install command. 124 | 125 | test('install', async (assert, ui) => { 126 | await install.installLatest(ui); 127 | 128 | const installedClangd = path.join( 129 | ui.storagePath, 130 | 'install', 131 | '10.0', 132 | 'fake-clangd-10', 133 | 'clangd', 134 | ); 135 | assert.true( 136 | fs.existsSync(installedClangd), 137 | `Extracted clangd exists: ${installedClangd}`, 138 | ); 139 | assert.equal(ui.clangdPath, installedClangd); 140 | assert.deepEqual(ui.events, [ 141 | /*download*/ 'progress', 142 | /*extract*/ 'slow', 143 | 'promptReload', 144 | ]); 145 | }); 146 | 147 | test('install: no binary for platform', async (assert, ui) => { 148 | install.fakeGitHubReleaseURL(incompatibleReleases); 149 | await install.installLatest(ui); 150 | 151 | const installedClangd = path.join( 152 | ui.storagePath, 153 | 'install', 154 | '10.0', 155 | 'fake-clangd-10', 156 | 'clangd', 157 | ); 158 | assert.false( 159 | fs.existsSync(installedClangd), 160 | `Extracted clangd exists: ${installedClangd}`, 161 | ); 162 | assert.true( 163 | ui.clangdPath.endsWith('fake-clangd-5/clangd'), 164 | 'clangdPath unmodified', 165 | ); 166 | assert.deepEqual(ui.events, ['showHelp']); 167 | }); 168 | 169 | test('install: wrong url', async (assert, ui) => { 170 | install.fakeGitHubReleaseURL(wrongUrlReleases); 171 | await install.installLatest(ui); 172 | 173 | const installedClangd = path.join( 174 | ui.storagePath, 175 | 'install', 176 | '10.0', 177 | 'fake-clangd-10', 178 | 'clangd', 179 | ); 180 | assert.false( 181 | fs.existsSync(installedClangd), 182 | `Extracted clangd exists: ${installedClangd}`, 183 | ); 184 | assert.true( 185 | ui.clangdPath.endsWith('fake-clangd-5/clangd'), 186 | 'clangdPath unmodified', 187 | ); 188 | assert.deepEqual(ui.events, [ 189 | /*download*/ 'progress', 190 | /*download-fails*/ 'showHelp', 191 | ]); 192 | }); 193 | 194 | if (os.platform() == 'linux') { 195 | test('install: new glibc', async (assert, ui) => { 196 | install.fakeLddCommand(newLdd); 197 | await install.installLatest(ui); 198 | 199 | assert.deepEqual(ui.events, ['progress', 'slow', 'promptReload']); 200 | }); 201 | 202 | test('install: old glibc', async (assert, ui) => { 203 | install.fakeLddCommand(oldLdd); 204 | await install.installLatest(ui); 205 | 206 | assert.deepEqual(ui.events, ['showHelp'], 'not installed due to old glibc'); 207 | }); 208 | 209 | test('install: unknown glibc', async (assert, ui) => { 210 | install.fakeLddCommand(notGlibcLdd); 211 | await install.installLatest(ui); 212 | 213 | // Installed. It may not work, but also maybe our detection just failed. 214 | assert.deepEqual(ui.events, ['progress', 'slow', 'promptReload']); 215 | }); 216 | } 217 | 218 | test('install: reuse existing install', async (assert, ui) => { 219 | const existing = path.join(ui.storagePath, 'install', '10.0', 'weird-dir'); 220 | await fs.promises.mkdir(existing, {recursive: true}); 221 | const existingClangd = path.join(existing, 'clangd'); 222 | await fs.promises.writeFile(existingClangd, ''); 223 | 224 | ui.shouldReuseValue = true; 225 | await install.installLatest(ui); 226 | 227 | const installedClangd = path.join( 228 | ui.storagePath, 229 | 'install', 230 | '10.0', 231 | 'fake-clangd-10', 232 | 'clangd', 233 | ); 234 | assert.false(fs.existsSync(installedClangd), 'Not extracted'); 235 | assert.true(fs.existsSync(existingClangd), 'Not erased'); 236 | assert.equal(existingClangd, ui.clangdPath, 'clangdPath is existing install'); 237 | assert.deepEqual(ui.events, ['shouldReuse', 'promptReload']); 238 | }); 239 | 240 | test('install: overwrite existing install', async (assert, ui) => { 241 | const existing = path.join(ui.storagePath, 'install', '10.0', 'weird-dir'); 242 | await fs.promises.mkdir(existing, {recursive: true}); 243 | const existingClangd = path.join(existing, 'clangd'); 244 | await fs.promises.writeFile(existingClangd, ''); 245 | 246 | ui.shouldReuseValue = false; 247 | await install.installLatest(ui); 248 | 249 | const installedClangd = path.join( 250 | ui.storagePath, 251 | 'install', 252 | '10.0', 253 | 'fake-clangd-10', 254 | 'clangd', 255 | ); 256 | assert.true(fs.existsSync(installedClangd), 'Extracted'); 257 | assert.false(fs.existsSync(existingClangd), 'Erased'); 258 | assert.equal(installedClangd, ui.clangdPath, 'clangdPath is new install'); 259 | assert.deepEqual(ui.events, [ 260 | 'shouldReuse', 261 | /*download*/ 'progress', 262 | /*extract*/ 'slow', 263 | 'promptReload', 264 | ]); 265 | }); 266 | 267 | // Test the update check, typically the clangd.update command. 268 | // This doesn't actually install anything (editors must call install()). 269 | 270 | test('update: from 5 to 10', async (assert, ui) => { 271 | ui.clangdPath = oldClangd; 272 | await install.checkUpdates(true, ui); 273 | 274 | assert.deepEqual(ui.events, ['promptUpdate']); 275 | }); 276 | 277 | test('update: from 15 to 10', async (assert, ui) => { 278 | ui.clangdPath = newClangdV15; 279 | await install.checkUpdates(true, ui); 280 | 281 | assert.deepEqual(ui.events, [/*up-to-date*/ 'info']); 282 | }); 283 | 284 | test('update: from 16 to 10', async (assert, ui) => { 285 | ui.clangdPath = newClangdV16; 286 | await install.checkUpdates(true, ui); 287 | 288 | assert.deepEqual(ui.events, [/*up-to-date*/ 'info']); 289 | }); 290 | 291 | test('update: from apple to 10', async (assert, ui) => { 292 | ui.clangdPath = appleClangd; 293 | await install.checkUpdates(true, ui); 294 | 295 | assert.deepEqual(ui.events, [/*cant-compare*/ 'error']); 296 | }); 297 | 298 | // Test the generic on-startup flow which: 299 | // - locates configured clangd if available 300 | // - suggests installing it if missing, and checks for updates if present 301 | // This handles lots of permutations but never installs anything, either. 302 | 303 | test('prepare: no clangd installed', async (assert, ui) => { 304 | ui.clangdPath = missingClangd; 305 | const status = await install.prepare(ui, true); 306 | await status.background; 307 | 308 | assert.equal(status.clangdPath, null); 309 | assert.deepEqual(ui.events, ['promptInstall']); 310 | }); 311 | 312 | test('prepare: not installed, unavailable', async (assert, ui) => { 313 | ui.clangdPath = missingClangd; 314 | install.fakeGitHubReleaseURL(incompatibleReleases); 315 | const status = await install.prepare(ui, true); 316 | await status.background; 317 | 318 | assert.equal(status.clangdPath, null); 319 | assert.deepEqual(ui.events, ['showHelp']); 320 | }); 321 | 322 | test('prepare: old clangd installed', async (assert, ui) => { 323 | ui.clangdPath = oldClangd; 324 | const status = await install.prepare(ui, true); 325 | await status.background; 326 | 327 | assert.equal(status.clangdPath, oldClangd); 328 | assert.deepEqual(ui.events, ['promptUpdate']); 329 | }); 330 | 331 | test('prepare: updates disabled', async (assert, ui) => { 332 | ui.clangdPath = oldClangd; 333 | const status = await install.prepare(ui, false); 334 | await status.background; 335 | 336 | assert.equal(status.clangdPath, oldClangd); 337 | assert.deepEqual(ui.events, []); 338 | }); 339 | 340 | test('prepare: old clangd installed, new unavailable', async (assert, ui) => { 341 | ui.clangdPath = oldClangd; 342 | install.fakeGitHubReleaseURL(incompatibleReleases); 343 | const status = await install.prepare(ui, true); 344 | await status.background; 345 | 346 | assert.equal(status.clangdPath, oldClangd); 347 | assert.deepEqual(ui.events, []); 348 | }); 349 | 350 | test('prepare: new clangd installed', async (assert, ui) => { 351 | ui.clangdPath = newClangdV15; 352 | const status = await install.prepare(ui, true); 353 | await status.background; 354 | 355 | assert.deepEqual(ui.events, []); // unsolicited, so no "up-to-date" message. 356 | }); 357 | 358 | test('prepare: unversioned clangd installed', async (assert, ui) => { 359 | ui.clangdPath = unversionedClangd; 360 | const status = await install.prepare(ui, true); 361 | await status.background; 362 | // We assume any custom-installed clangd is desired. 363 | assert.deepEqual(ui.events, []); 364 | }); 365 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es6", 5 | "outDir": "out", 6 | "lib": [ 7 | "es6", 8 | "es2015.core", 9 | "es2015.collection", 10 | "es2015.generator", 11 | "es2015.iterable", 12 | "es2015.promise", 13 | "es2015.symbol" 14 | ], 15 | "sourceMap": true, 16 | "declaration": true, 17 | "rootDir": ".", 18 | "alwaysStrict": true, 19 | "strict": true, 20 | "esModuleInterop": true, 21 | "noEmitOnError": true, 22 | "noFallthroughCasesInSwitch": true, 23 | "noImplicitAny": true, 24 | "noImplicitReturns": true, 25 | "noImplicitThis": true 26 | }, 27 | "exclude": ["out", "node_modules"] 28 | } 29 | --------------------------------------------------------------------------------