diff --git a/README.md b/README.md
index 200c2342..03aa150c 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Ace Linters (Ace Language Client)
-Ace linters is lsp client for Ace editor. It comes with large number of preconfigured easy to use in browser servers.
+Ace linters is lsp client for Ace editor. It comes with a large number of preconfigured easy to use in browser servers.
If you're uncertain about integrating ace-linters, consult [our diagram on the GitHub Wiki](https://github.com/mkslanc/ace-linters/wiki/Usage-Scenarios-Overview) for a quick setup guide
tailored to your needs.
@@ -28,6 +28,21 @@ languageProvider.registerEditor(editor);
[Example webworker.js with all services](https://github.com/mkslanc/ace-linters/blob/main/packages/demo/webworker-lsp/webworker.ts)
+## What's New in 2.0.0
+
+### Build System Migration
+- Migrated from webpack to Vite for faster builds and better development experience
+- UMD output format preserved - no changes required for existing integrations
+- Improved development workflow with Vite dev server and HMR support
+
+### For Library Users
+No breaking changes - all existing code using ace-linters via CDN or npm **will continue to work without modifications**.
+
+### For Contributors
+- Development server: `npm run start-dev` (no pre-build required)
+- Individual package builds use Vite instead of webpack
+- Workspace packages are aliased to source files during development for instant HMR
+
## New features in 1.8.1
- add `manualSessionControl` provider option to disable automatic session registration. When enabled, you must manually handle session changes:
```javascript
@@ -51,15 +66,15 @@ editor.on("changeSession", ({session}) => {
```javascript
// Set LSP configuration on session
languageProvider.setSessionLspConfig(editor.session, {
- filePath: 'src/components/MyComponent.tsx',
- joinWorkspaceURI: true
+ filePath: 'src/components/MyComponent.tsx',
+ joinWorkspaceURI: true
});
```
- add `setDocumentOptions` method to replace deprecated `setSessionOptions`:
```javascript
// Configure document-specific options (replaces setSessionOptions)
languageProvider.setDocumentOptions(editor.session, {
- // service-specific options here
+ // service-specific options here
});
```
@@ -116,15 +131,15 @@ LanguageProvider.create(worker, {functionality: {semanticTokens: true}})
some text
```
@@ -144,14 +159,14 @@ import {AceLanguageClient} from "ace-linters/build/ace-language-client";
// Create a web socket
const serverData = {
- module: () => import("ace-linters/build/language-client"),
- modes: "json|json5",
- type: "socket",
- socket: new WebSocket("ws://127.0.0.1:3000/exampleServer"), // address of your websocket server
+ module: () => import("ace-linters/build/language-client"),
+ modes: "json|json5",
+ type: "socket",
+ socket: new WebSocket("ws://127.0.0.1:3000/exampleServer"), // address of your websocket server
}
// Create an Ace editor
let editor = ace.edit("container", {
- mode: new JSONMode() // Set the mode of the editor to JSON
+ mode: new JSONMode() // Set the mode of the editor to JSON
});
// Create a language provider for web socket
diff --git a/package-lock.json b/package-lock.json
index 780f5b17..bc67a1dc 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "ace-linters-root",
- "version": "1.8.8",
+ "version": "2.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "ace-linters-root",
- "version": "1.8.8",
+ "version": "2.0.0",
"workspaces": [
"./packages/*"
],
@@ -18,14 +18,9 @@
},
"devDependencies": {
"@types/node": "^20.4.2",
- "copy-webpack-plugin": "9.1.0",
"node-polyfill-webpack-plugin": "^1.1.4",
- "raw-loader": "^4.0.2",
- "swc-loader": "^0.2.3",
- "text-loader": "latest",
- "webpack": "latest",
- "webpack-cli": "^4.10.0",
- "webpack-dev-server": "^4.15.1"
+ "rolldown-vite": "^7.3.1",
+ "vite-plugin-static-copy": "^3.2.0"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@@ -60,9 +55,9 @@
}
},
"node_modules/@astral-sh/ruff-wasm-web": {
- "version": "0.9.9",
- "resolved": "https://registry.npmjs.org/@astral-sh/ruff-wasm-web/-/ruff-wasm-web-0.9.9.tgz",
- "integrity": "sha512-VGjO627xKzszpNRVbrCQyYXIXfh8t9Ju6t+GDPjoRUF+1D6Dlgze0Qjl1fKWLTecNUrd55oKgFutezSuwGfMdA==",
+ "version": "0.14.14",
+ "resolved": "https://registry.npmjs.org/@astral-sh/ruff-wasm-web/-/ruff-wasm-web-0.14.14.tgz",
+ "integrity": "sha512-YVTd0HIklHcMi5fTVbiHzLnmtS1eeyo+e3UDh+XrKcp8hs18x5qYFzmHzbqMpk1r6MgBHLBpsOScTN1XRFrUvw==",
"dev": true,
"license": "MIT"
},
@@ -492,2299 +487,2599 @@
"@jridgewell/sourcemap-codec": "^1.4.10"
}
},
- "node_modules/@discoveryjs/json-ext": {
- "version": "0.5.7",
+ "node_modules/@emnapi/core": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.8.1.tgz",
+ "integrity": "sha512-AvT9QFpxK0Zd8J0jopedNm+w/2fIzvtPKPjqyw9jwvBaReTTqPBk9Hixaz7KbjimP+QNz605/XnjFcDAL2pqBg==",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">=10.0.0"
+ "optional": true,
+ "dependencies": {
+ "@emnapi/wasi-threads": "1.1.0",
+ "tslib": "^2.4.0"
}
},
- "node_modules/@esbuild/win32-x64": {
- "version": "0.20.2",
+ "node_modules/@emnapi/runtime": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.8.1.tgz",
+ "integrity": "sha512-mehfKSMWjjNol8659Z8KxEMrdSJDDot5SXMq00dM8BN4o+CLNXQ0xH2V7EchNHV4RmbZLmmPdEaXZc5H2FXmDg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@emnapi/wasi-threads": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.1.0.tgz",
+ "integrity": "sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz",
+ "integrity": "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==",
"cpu": [
- "x64"
+ "ppc64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
- "win32"
+ "aix"
],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
- "node_modules/@eslint-community/eslint-utils": {
- "version": "4.4.0",
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.12.tgz",
+ "integrity": "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
"license": "MIT",
- "dependencies": {
- "eslint-visitor-keys": "^3.3.0"
- },
+ "optional": true,
+ "os": [
+ "android"
+ ],
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "peerDependencies": {
- "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
+ "node": ">=18"
}
},
- "node_modules/@eslint-community/regexpp": {
- "version": "4.5.1",
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz",
+ "integrity": "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
"license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
"engines": {
- "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
+ "node": ">=18"
}
},
- "node_modules/@eslint/eslintrc": {
- "version": "2.1.0",
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.12.tgz",
+ "integrity": "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
"license": "MIT",
- "dependencies": {
- "ajv": "^6.12.4",
- "debug": "^4.3.2",
- "espree": "^9.6.0",
- "globals": "^13.19.0",
- "ignore": "^5.2.0",
- "import-fresh": "^3.2.1",
- "js-yaml": "^4.1.0",
- "minimatch": "^3.1.2",
- "strip-json-comments": "^3.1.1"
- },
+ "optional": true,
+ "os": [
+ "android"
+ ],
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
+ "node": ">=18"
}
},
- "node_modules/@eslint/js": {
- "version": "8.44.0",
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz",
+ "integrity": "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
"license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ "node": ">=18"
}
},
- "node_modules/@humanwhocodes/config-array": {
- "version": "0.11.10",
- "license": "Apache-2.0",
- "dependencies": {
- "@humanwhocodes/object-schema": "^1.2.1",
- "debug": "^4.1.1",
- "minimatch": "^3.0.5"
- },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz",
+ "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
"engines": {
- "node": ">=10.10.0"
+ "node": ">=18"
}
},
- "node_modules/@humanwhocodes/module-importer": {
- "version": "1.0.1",
- "license": "Apache-2.0",
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz",
+ "integrity": "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
"engines": {
- "node": ">=12.22"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/nzakas"
+ "node": ">=18"
}
},
- "node_modules/@humanwhocodes/object-schema": {
- "version": "1.2.1",
- "license": "BSD-3-Clause"
- },
- "node_modules/@istanbuljs/load-nyc-config": {
- "version": "1.1.0",
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz",
+ "integrity": "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "ISC",
- "dependencies": {
- "camelcase": "^5.3.1",
- "find-up": "^4.1.0",
- "get-package-type": "^0.1.0",
- "js-yaml": "^3.13.1",
- "resolve-from": "^5.0.0"
- },
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
"engines": {
- "node": ">=8"
+ "node": ">=18"
}
},
- "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": {
- "version": "1.0.10",
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz",
+ "integrity": "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==",
+ "cpu": [
+ "arm"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "sprintf-js": "~1.0.2"
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": {
- "version": "3.14.1",
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz",
+ "integrity": "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "argparse": "^1.0.7",
- "esprima": "^4.0.0"
- },
- "bin": {
- "js-yaml": "bin/js-yaml.js"
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/@istanbuljs/nyc-config-typescript": {
- "version": "1.0.2",
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz",
+ "integrity": "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==",
+ "cpu": [
+ "ia32"
+ ],
"dev": true,
- "license": "ISC",
- "dependencies": {
- "@istanbuljs/schema": "^0.1.2"
- },
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">=8"
- },
- "peerDependencies": {
- "nyc": ">=15"
+ "node": ">=18"
}
},
- "node_modules/@istanbuljs/schema": {
- "version": "0.1.3",
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz",
+ "integrity": "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==",
+ "cpu": [
+ "loong64"
+ ],
"dev": true,
"license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">=8"
+ "node": ">=18"
}
},
- "node_modules/@jridgewell/gen-mapping": {
- "version": "0.3.5",
- "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
- "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz",
+ "integrity": "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==",
+ "cpu": [
+ "mips64el"
+ ],
"dev": true,
- "dependencies": {
- "@jridgewell/set-array": "^1.2.1",
- "@jridgewell/sourcemap-codec": "^1.4.10",
- "@jridgewell/trace-mapping": "^0.3.24"
- },
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">=6.0.0"
+ "node": ">=18"
}
},
- "node_modules/@jridgewell/resolve-uri": {
- "version": "3.1.0",
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz",
+ "integrity": "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==",
+ "cpu": [
+ "ppc64"
+ ],
"dev": true,
"license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">=6.0.0"
+ "node": ">=18"
}
},
- "node_modules/@jridgewell/set-array": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
- "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz",
+ "integrity": "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==",
+ "cpu": [
+ "riscv64"
+ ],
"dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">=6.0.0"
+ "node": ">=18"
}
},
- "node_modules/@jridgewell/source-map": {
- "version": "0.3.6",
- "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz",
- "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==",
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz",
+ "integrity": "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==",
+ "cpu": [
+ "s390x"
+ ],
"dev": true,
- "dependencies": {
- "@jridgewell/gen-mapping": "^0.3.5",
- "@jridgewell/trace-mapping": "^0.3.25"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/@jridgewell/sourcemap-codec": {
- "version": "1.4.14",
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz",
+ "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT"
- },
- "node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.25",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
- "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
- "dev": true,
- "dependencies": {
- "@jridgewell/resolve-uri": "^3.1.0",
- "@jridgewell/sourcemap-codec": "^1.4.14"
- }
- },
- "node_modules/@leichtgewicht/ip-codec": {
- "version": "2.0.4",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@nodelib/fs.scandir": {
- "version": "2.1.5",
- "license": "MIT",
- "dependencies": {
- "@nodelib/fs.stat": "2.0.5",
- "run-parallel": "^1.1.9"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@nodelib/fs.stat": {
- "version": "2.0.5",
"license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">= 8"
+ "node": ">=18"
}
},
- "node_modules/@nodelib/fs.walk": {
- "version": "1.2.8",
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz",
+ "integrity": "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
"license": "MIT",
- "dependencies": {
- "@nodelib/fs.scandir": "2.1.5",
- "fastq": "^1.6.0"
- },
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
"engines": {
- "node": ">= 8"
+ "node": ">=18"
}
},
- "node_modules/@puppeteer/browsers": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.4.0.tgz",
- "integrity": "sha512-x8J1csfIygOwf6D6qUAZ0ASk3z63zPb7wkNeHRerCMh82qWKUrOgkuP005AJC8lDL6/evtXETGEJVcwykKT4/g==",
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz",
+ "integrity": "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "debug": "^4.3.6",
- "extract-zip": "^2.0.1",
- "progress": "^2.0.3",
- "proxy-agent": "^6.4.0",
- "semver": "^7.6.3",
- "tar-fs": "^3.0.6",
- "unbzip2-stream": "^1.4.3",
- "yargs": "^17.7.2"
- },
- "bin": {
- "browsers": "lib/cjs/main-cli.js"
- },
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
"engines": {
"node": ">=18"
}
},
- "node_modules/@puppeteer/browsers/node_modules/cliui": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
- "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz",
+ "integrity": "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "ISC",
- "dependencies": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.1",
- "wrap-ansi": "^7.0.0"
- },
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
- "node_modules/@puppeteer/browsers/node_modules/debug": {
- "version": "4.3.7",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
- "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz",
+ "integrity": "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "ms": "^2.1.3"
- },
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
"engines": {
- "node": ">=6.0"
- },
- "peerDependenciesMeta": {
- "supports-color": {
- "optional": true
- }
+ "node": ">=18"
}
},
- "node_modules/@puppeteer/browsers/node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@puppeteer/browsers/node_modules/semver": {
- "version": "7.6.3",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
- "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz",
+ "integrity": "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "ISC",
- "bin": {
- "semver": "bin/semver.js"
- },
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
"engines": {
- "node": ">=10"
+ "node": ">=18"
}
},
- "node_modules/@puppeteer/browsers/node_modules/yargs": {
- "version": "17.7.2",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
- "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz",
+ "integrity": "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "cliui": "^8.0.1",
- "escalade": "^3.1.1",
- "get-caller-file": "^2.0.5",
- "require-directory": "^2.1.1",
- "string-width": "^4.2.3",
- "y18n": "^5.0.5",
- "yargs-parser": "^21.1.1"
- },
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
- "node_modules/@puppeteer/browsers/node_modules/yargs-parser": {
- "version": "21.1.1",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
- "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz",
+ "integrity": "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "ISC",
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
- "node_modules/@swc/core": {
- "version": "1.3.70",
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz",
+ "integrity": "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==",
+ "cpu": [
+ "ia32"
+ ],
"dev": true,
- "hasInstallScript": true,
- "license": "Apache-2.0",
- "peer": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
"engines": {
- "node": ">=10"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/swc"
- },
- "optionalDependencies": {
- "@swc/core-darwin-arm64": "1.3.70",
- "@swc/core-darwin-x64": "1.3.70",
- "@swc/core-linux-arm-gnueabihf": "1.3.70",
- "@swc/core-linux-arm64-gnu": "1.3.70",
- "@swc/core-linux-arm64-musl": "1.3.70",
- "@swc/core-linux-x64-gnu": "1.3.70",
- "@swc/core-linux-x64-musl": "1.3.70",
- "@swc/core-win32-arm64-msvc": "1.3.70",
- "@swc/core-win32-ia32-msvc": "1.3.70",
- "@swc/core-win32-x64-msvc": "1.3.70"
- },
- "peerDependencies": {
- "@swc/helpers": "^0.5.0"
- },
- "peerDependenciesMeta": {
- "@swc/helpers": {
- "optional": true
- }
+ "node": ">=18"
}
},
- "node_modules/@swc/core-win32-x64-msvc": {
- "version": "1.3.70",
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.2.tgz",
+ "integrity": "sha512-sRdU18mcKf7F+YgheI/zGf5alZatMUTKj/jNS6l744f9u3WFu4v7twcUI9vu4mknF4Y9aDlblIie0IM+5xxaqQ==",
"cpu": [
"x64"
],
"dev": true,
- "license": "Apache-2.0 AND MIT",
+ "license": "MIT",
"optional": true,
"os": [
"win32"
],
"peer": true,
"engines": {
- "node": ">=10"
+ "node": ">=18"
}
},
- "node_modules/@tootallnate/quickjs-emscripten": {
- "version": "0.23.0",
- "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz",
- "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@tsconfig/node10": {
- "version": "1.0.9",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@tsconfig/node12": {
- "version": "1.0.11",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@tsconfig/node14": {
- "version": "1.0.3",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@tsconfig/node16": {
- "version": "1.0.4",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/body-parser": {
- "version": "1.19.2",
- "dev": true,
+ "node_modules/@eslint-community/eslint-utils": {
+ "version": "4.4.0",
"license": "MIT",
"dependencies": {
- "@types/connect": "*",
- "@types/node": "*"
+ "eslint-visitor-keys": "^3.3.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
}
},
- "node_modules/@types/bonjour": {
- "version": "3.5.10",
- "dev": true,
+ "node_modules/@eslint-community/regexpp": {
+ "version": "4.5.1",
"license": "MIT",
- "dependencies": {
- "@types/node": "*"
+ "engines": {
+ "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
}
},
- "node_modules/@types/chai": {
- "version": "4.3.5",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/connect": {
- "version": "3.4.35",
- "dev": true,
+ "node_modules/@eslint/eslintrc": {
+ "version": "2.1.0",
"license": "MIT",
"dependencies": {
- "@types/node": "*"
- }
- },
- "node_modules/@types/connect-history-api-fallback": {
- "version": "1.5.0",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/express-serve-static-core": "*",
- "@types/node": "*"
+ "ajv": "^6.12.4",
+ "debug": "^4.3.2",
+ "espree": "^9.6.0",
+ "globals": "^13.19.0",
+ "ignore": "^5.2.0",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.0",
+ "minimatch": "^3.1.2",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
}
},
- "node_modules/@types/eslint": {
+ "node_modules/@eslint/js": {
"version": "8.44.0",
- "dev": true,
"license": "MIT",
- "dependencies": {
- "@types/estree": "*",
- "@types/json-schema": "*"
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
},
- "node_modules/@types/estree": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
- "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==",
- "dev": true
- },
- "node_modules/@types/express": {
- "version": "4.17.17",
- "dev": true,
- "license": "MIT",
+ "node_modules/@humanwhocodes/config-array": {
+ "version": "0.11.10",
+ "license": "Apache-2.0",
"dependencies": {
- "@types/body-parser": "*",
- "@types/express-serve-static-core": "^4.17.33",
- "@types/qs": "*",
- "@types/serve-static": "*"
+ "@humanwhocodes/object-schema": "^1.2.1",
+ "debug": "^4.1.1",
+ "minimatch": "^3.0.5"
+ },
+ "engines": {
+ "node": ">=10.10.0"
}
},
- "node_modules/@types/express-serve-static-core": {
- "version": "4.17.35",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/node": "*",
- "@types/qs": "*",
- "@types/range-parser": "*",
- "@types/send": "*"
+ "node_modules/@humanwhocodes/module-importer": {
+ "version": "1.0.1",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
}
},
- "node_modules/@types/http-errors": {
- "version": "2.0.1",
- "dev": true,
- "license": "MIT"
+ "node_modules/@humanwhocodes/object-schema": {
+ "version": "1.2.1",
+ "license": "BSD-3-Clause"
},
- "node_modules/@types/http-proxy": {
- "version": "1.17.11",
+ "node_modules/@isaacs/cliui": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
+ "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
"dependencies": {
- "@types/node": "*"
+ "string-width": "^5.1.2",
+ "string-width-cjs": "npm:string-width@^4.2.0",
+ "strip-ansi": "^7.0.1",
+ "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
+ "wrap-ansi": "^8.1.0",
+ "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
}
},
- "node_modules/@types/json-schema": {
- "version": "7.0.12",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/mime": {
- "version": "1.3.2",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/mocha": {
- "version": "5.2.7",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/node": {
- "version": "20.4.2",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/qs": {
- "version": "6.9.7",
+ "node_modules/@isaacs/cliui/node_modules/ansi-regex": {
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
+ "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
},
- "node_modules/@types/range-parser": {
- "version": "1.2.4",
+ "node_modules/@isaacs/cliui/node_modules/ansi-styles": {
+ "version": "6.2.3",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
+ "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
},
- "node_modules/@types/retry": {
- "version": "0.12.0",
+ "node_modules/@isaacs/cliui/node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
"dev": true,
"license": "MIT"
},
- "node_modules/@types/send": {
- "version": "0.17.1",
+ "node_modules/@isaacs/cliui/node_modules/string-width": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@types/mime": "^1",
- "@types/node": "*"
+ "eastasianwidth": "^0.2.0",
+ "emoji-regex": "^9.2.2",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@types/serve-index": {
- "version": "1.9.1",
+ "node_modules/@isaacs/cliui/node_modules/strip-ansi": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz",
+ "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@types/express": "*"
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
- "node_modules/@types/serve-static": {
- "version": "1.15.2",
+ "node_modules/@isaacs/cliui/node_modules/wrap-ansi": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@types/http-errors": "*",
- "@types/mime": "*",
- "@types/node": "*"
+ "ansi-styles": "^6.1.0",
+ "string-width": "^5.0.1",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
- "node_modules/@types/sockjs": {
- "version": "0.3.33",
+ "node_modules/@istanbuljs/load-nyc-config": {
+ "version": "1.1.0",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
"dependencies": {
- "@types/node": "*"
+ "camelcase": "^5.3.1",
+ "find-up": "^4.1.0",
+ "get-package-type": "^0.1.0",
+ "js-yaml": "^3.13.1",
+ "resolve-from": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/@types/ws": {
- "version": "8.5.5",
+ "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": {
+ "version": "1.0.10",
"dev": true,
"license": "MIT",
"dependencies": {
- "@types/node": "*"
+ "sprintf-js": "~1.0.2"
}
},
- "node_modules/@types/yauzl": {
- "version": "2.10.3",
- "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz",
- "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==",
+ "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": {
+ "version": "3.14.1",
"dev": true,
"license": "MIT",
- "optional": true,
"dependencies": {
- "@types/node": "*"
+ "argparse": "^1.0.7",
+ "esprima": "^4.0.0"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
}
},
- "node_modules/@vscode/l10n": {
- "version": "0.0.18",
- "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.18.tgz",
- "integrity": "sha512-KYSIHVmslkaCDyw013pphY+d7x1qV8IZupYfeIfzNA+nsaWHbn5uPuQRvdRFsa9zFzGeudPuoGoZ1Op4jrJXIQ==",
+ "node_modules/@istanbuljs/nyc-config-typescript": {
+ "version": "1.0.2",
"dev": true,
- "license": "MIT"
+ "license": "ISC",
+ "dependencies": {
+ "@istanbuljs/schema": "^0.1.2"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "peerDependencies": {
+ "nyc": ">=15"
+ }
},
- "node_modules/@wasm-fmt/clang-format": {
- "version": "19.1.7",
- "resolved": "https://registry.npmjs.org/@wasm-fmt/clang-format/-/clang-format-19.1.7.tgz",
- "integrity": "sha512-MF5MDlffHoB3YYRVabCuy1rhOx8ReKey3BoqFxqVYgHZUeXO+KCC1tfhXtAL+4iYD+EmvUU5ZP3R+QmG57tVbg==",
+ "node_modules/@istanbuljs/schema": {
+ "version": "0.1.3",
"dev": true,
"license": "MIT",
- "bin": {
- "clang-format": "clang-format-cli.cjs",
- "clang-format-diff": "clang-format-diff.py",
- "git-clang-format": "git-clang-format"
- },
"engines": {
- "node": ">=16.17.0"
+ "node": ">=8"
}
},
- "node_modules/@wasm-fmt/dart_fmt": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/@wasm-fmt/dart_fmt/-/dart_fmt-0.2.0.tgz",
- "integrity": "sha512-lQ9gecurG7cwAmUDJn9Wv54dwDh9Gdz5D/aVxfqQg5g3ddpJrSEFGs/oiqnUavypeeJQDEd25836q6aDVhABXg==",
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
+ "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",
"dev": true,
- "license": "MIT"
+ "dependencies": {
+ "@jridgewell/set-array": "^1.2.1",
+ "@jridgewell/sourcemap-codec": "^1.4.10",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
},
- "node_modules/@wasm-fmt/gofmt": {
- "version": "0.4.9",
- "resolved": "https://registry.npmjs.org/@wasm-fmt/gofmt/-/gofmt-0.4.9.tgz",
- "integrity": "sha512-YiJKASbwWHD9Rt4MD1Xwb5DanB0MQLYXgxeNGocxE5nu7ZyzPgm1nTn0sFVCJoxYMsGn5ypyXakuHTQtiJu4Ag==",
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.0",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=16.17.0"
+ "node": ">=6.0.0"
}
},
- "node_modules/@wasm-fmt/lua_fmt": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@wasm-fmt/lua_fmt/-/lua_fmt-0.1.0.tgz",
- "integrity": "sha512-TH1N2LN4yJf5Bka4+PGdekiWjntzKVUNESbUVOzMXTy9SqzIS6n6Lm0c20rg0VZ/5Ssl34WCCdQFExbgrbGz1w==",
+ "node_modules/@jridgewell/set-array": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
+ "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
"dev": true,
- "license": "MIT"
+ "engines": {
+ "node": ">=6.0.0"
+ }
},
- "node_modules/@wasm-fmt/zig_fmt": {
- "version": "0.0.5",
- "resolved": "https://registry.npmjs.org/@wasm-fmt/zig_fmt/-/zig_fmt-0.0.5.tgz",
- "integrity": "sha512-djNL+AuMT9NlTxSxHqKIJlViX2mflqTjfixXf2CQnM3AOFHRrYS/XNtXL+upnBGuMRRqIKaW7PXB1PAcM6aLkA==",
+ "node_modules/@jridgewell/source-map": {
+ "version": "0.3.6",
+ "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz",
+ "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.25"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
"dev": true,
"license": "MIT"
},
- "node_modules/@webassemblyjs/ast": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.12.1.tgz",
- "integrity": "sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==",
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.25",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
+ "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
"dev": true,
"dependencies": {
- "@webassemblyjs/helper-numbers": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6"
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
}
},
- "node_modules/@webassemblyjs/floating-point-hex-parser": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz",
- "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==",
- "dev": true
- },
- "node_modules/@webassemblyjs/helper-api-error": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz",
- "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==",
- "dev": true
+ "node_modules/@napi-rs/wasm-runtime": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.1.tgz",
+ "integrity": "sha512-p64ah1M1ld8xjWv3qbvFwHiFVWrq1yFvV4f7w+mzaqiR4IlSgkqhcRdHwsGgomwzBH51sRY4NEowLxnaBjcW/A==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/core": "^1.7.1",
+ "@emnapi/runtime": "^1.7.1",
+ "@tybys/wasm-util": "^0.10.1"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ }
},
- "node_modules/@webassemblyjs/helper-buffer": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.12.1.tgz",
- "integrity": "sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw==",
- "dev": true
- },
- "node_modules/@webassemblyjs/helper-numbers": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz",
- "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==",
- "dev": true,
+ "node_modules/@nodelib/fs.scandir": {
+ "version": "2.1.5",
+ "license": "MIT",
"dependencies": {
- "@webassemblyjs/floating-point-hex-parser": "1.11.6",
- "@webassemblyjs/helper-api-error": "1.11.6",
- "@xtuc/long": "4.2.2"
+ "@nodelib/fs.stat": "2.0.5",
+ "run-parallel": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 8"
}
},
- "node_modules/@webassemblyjs/helper-wasm-bytecode": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz",
- "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==",
- "dev": true
- },
- "node_modules/@webassemblyjs/helper-wasm-section": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.12.1.tgz",
- "integrity": "sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g==",
- "dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.12.1",
- "@webassemblyjs/helper-buffer": "1.12.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/wasm-gen": "1.12.1"
+ "node_modules/@nodelib/fs.stat": {
+ "version": "2.0.5",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
}
},
- "node_modules/@webassemblyjs/ieee754": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz",
- "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==",
- "dev": true,
+ "node_modules/@nodelib/fs.walk": {
+ "version": "1.2.8",
+ "license": "MIT",
"dependencies": {
- "@xtuc/ieee754": "^1.2.0"
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
}
},
- "node_modules/@webassemblyjs/leb128": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz",
- "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==",
+ "node_modules/@oxc-project/types": {
+ "version": "0.101.0",
+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.101.0.tgz",
+ "integrity": "sha512-nuFhqlUzJX+gVIPPfuE6xurd4lST3mdcWOhyK/rZO0B9XWMKm79SuszIQEnSMmmDhq1DC8WWVYGVd+6F93o1gQ==",
"dev": true,
- "dependencies": {
- "@xtuc/long": "4.2.2"
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/Boshen"
}
},
- "node_modules/@webassemblyjs/utf8": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz",
- "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==",
- "dev": true
- },
- "node_modules/@webassemblyjs/wasm-edit": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.12.1.tgz",
- "integrity": "sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g==",
+ "node_modules/@pkgjs/parseargs": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
+ "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
"dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.12.1",
- "@webassemblyjs/helper-buffer": "1.12.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/helper-wasm-section": "1.12.1",
- "@webassemblyjs/wasm-gen": "1.12.1",
- "@webassemblyjs/wasm-opt": "1.12.1",
- "@webassemblyjs/wasm-parser": "1.12.1",
- "@webassemblyjs/wast-printer": "1.12.1"
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=14"
}
},
- "node_modules/@webassemblyjs/wasm-gen": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.12.1.tgz",
- "integrity": "sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w==",
+ "node_modules/@puppeteer/browsers": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.4.0.tgz",
+ "integrity": "sha512-x8J1csfIygOwf6D6qUAZ0ASk3z63zPb7wkNeHRerCMh82qWKUrOgkuP005AJC8lDL6/evtXETGEJVcwykKT4/g==",
"dev": true,
+ "license": "Apache-2.0",
"dependencies": {
- "@webassemblyjs/ast": "1.12.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/ieee754": "1.11.6",
- "@webassemblyjs/leb128": "1.11.6",
- "@webassemblyjs/utf8": "1.11.6"
+ "debug": "^4.3.6",
+ "extract-zip": "^2.0.1",
+ "progress": "^2.0.3",
+ "proxy-agent": "^6.4.0",
+ "semver": "^7.6.3",
+ "tar-fs": "^3.0.6",
+ "unbzip2-stream": "^1.4.3",
+ "yargs": "^17.7.2"
+ },
+ "bin": {
+ "browsers": "lib/cjs/main-cli.js"
+ },
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/@webassemblyjs/wasm-opt": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.12.1.tgz",
- "integrity": "sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg==",
+ "node_modules/@puppeteer/browsers/node_modules/cliui": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
"dev": true,
+ "license": "ISC",
"dependencies": {
- "@webassemblyjs/ast": "1.12.1",
- "@webassemblyjs/helper-buffer": "1.12.1",
- "@webassemblyjs/wasm-gen": "1.12.1",
- "@webassemblyjs/wasm-parser": "1.12.1"
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.1",
+ "wrap-ansi": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
}
},
- "node_modules/@webassemblyjs/wasm-parser": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.12.1.tgz",
- "integrity": "sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ==",
+ "node_modules/@puppeteer/browsers/node_modules/debug": {
+ "version": "4.3.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
+ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@webassemblyjs/ast": "1.12.1",
- "@webassemblyjs/helper-api-error": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/ieee754": "1.11.6",
- "@webassemblyjs/leb128": "1.11.6",
- "@webassemblyjs/utf8": "1.11.6"
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
}
},
- "node_modules/@webassemblyjs/wast-printer": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.12.1.tgz",
- "integrity": "sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==",
+ "node_modules/@puppeteer/browsers/node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
"dev": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.12.1",
- "@xtuc/long": "4.2.2"
- }
+ "license": "MIT"
},
- "node_modules/@webpack-cli/configtest": {
- "version": "1.2.0",
+ "node_modules/@puppeteer/browsers/node_modules/semver": {
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
"dev": true,
- "license": "MIT",
- "peerDependencies": {
- "webpack": "4.x.x || 5.x.x",
- "webpack-cli": "4.x.x"
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
}
},
- "node_modules/@webpack-cli/info": {
- "version": "1.5.0",
+ "node_modules/@puppeteer/browsers/node_modules/yargs": {
+ "version": "17.7.2",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
+ "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "envinfo": "^7.7.3"
+ "cliui": "^8.0.1",
+ "escalade": "^3.1.1",
+ "get-caller-file": "^2.0.5",
+ "require-directory": "^2.1.1",
+ "string-width": "^4.2.3",
+ "y18n": "^5.0.5",
+ "yargs-parser": "^21.1.1"
},
- "peerDependencies": {
- "webpack-cli": "4.x.x"
+ "engines": {
+ "node": ">=12"
}
},
- "node_modules/@webpack-cli/serve": {
- "version": "1.7.0",
+ "node_modules/@puppeteer/browsers/node_modules/yargs-parser": {
+ "version": "21.1.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
"dev": true,
- "license": "MIT",
- "peerDependencies": {
- "webpack-cli": "4.x.x"
- },
- "peerDependenciesMeta": {
- "webpack-dev-server": {
- "optional": true
- }
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
}
},
- "node_modules/@xml-tools/ast": {
- "version": "5.0.5",
+ "node_modules/@rolldown/binding-android-arm64": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-beta.53.tgz",
+ "integrity": "sha512-Ok9V8o7o6YfSdTTYA/uHH30r3YtOxLD6G3wih/U9DO0ucBBFq8WPt/DslU53OgfteLRHITZny9N/qCUxMf9kjQ==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@xml-tools/common": "^0.1.6",
- "@xml-tools/parser": "^1.0.11",
- "lodash": "4.17.21"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/@xml-tools/common": {
- "version": "0.1.6",
+ "node_modules/@rolldown/binding-darwin-arm64": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-beta.53.tgz",
+ "integrity": "sha512-yIsKqMz0CtRnVa6x3Pa+mzTihr4Ty+Z6HfPbZ7RVbk1Uxnco4+CUn7Qbm/5SBol1JD/7nvY8rphAgyAi7Lj6Vg==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "lodash": "4.17.21"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/@xml-tools/constraints": {
- "version": "1.1.1",
+ "node_modules/@rolldown/binding-darwin-x64": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-beta.53.tgz",
+ "integrity": "sha512-GTXe+mxsCGUnJOFMhfGWmefP7Q9TpYUseHvhAhr21nCTgdS8jPsvirb0tJwM3lN0/u/cg7bpFNa16fQrjKrCjQ==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@xml-tools/validation": "^1.0.16",
- "lodash": "4.17.21"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/@xml-tools/content-assist": {
- "version": "3.1.11",
+ "node_modules/@rolldown/binding-freebsd-x64": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-beta.53.tgz",
+ "integrity": "sha512-9Tmp7bBvKqyDkMcL4e089pH3RsjD3SUungjmqWtyhNOxoQMh0fSmINTyYV8KXtE+JkxYMPWvnEt+/mfpVCkk8w==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@xml-tools/common": "^0.1.6",
- "@xml-tools/parser": "^1.0.11",
- "lodash": "4.17.21"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/@xml-tools/parser": {
- "version": "1.0.11",
+ "node_modules/@rolldown/binding-linux-arm-gnueabihf": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-beta.53.tgz",
+ "integrity": "sha512-a1y5fiB0iovuzdbjUxa7+Zcvgv+mTmlGGC4XydVIsyl48eoxgaYkA3l9079hyTyhECsPq+mbr0gVQsFU11OJAQ==",
+ "cpu": [
+ "arm"
+ ],
"dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "chevrotain": "7.1.1"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/@xml-tools/simple-schema": {
- "version": "3.0.5",
+ "node_modules/@rolldown/binding-linux-arm64-gnu": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-beta.53.tgz",
+ "integrity": "sha512-bpIGX+ov9PhJYV+wHNXl9rzq4F0QvILiURn0y0oepbQx+7stmQsKA0DhPGwmhfvF856wq+gbM8L92SAa/CBcLg==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@xml-tools/ast": "^5.0.5",
- "@xml-tools/content-assist": "^3.1.11",
- "lodash": "4.17.21"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/@xml-tools/validation": {
- "version": "1.0.16",
+ "node_modules/@rolldown/binding-linux-arm64-musl": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-beta.53.tgz",
+ "integrity": "sha512-bGe5EBB8FVjHBR1mOLOPEFg1Lp3//7geqWkU5NIhxe+yH0W8FVrQ6WRYOap4SUTKdklD/dC4qPLREkMMQ855FA==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@xml-tools/ast": "^5.0.5",
- "lodash": "4.17.21"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/@xtuc/ieee754": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
- "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",
- "dev": true
- },
- "node_modules/@xtuc/long": {
- "version": "4.2.2",
- "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
- "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",
- "dev": true
- },
- "node_modules/accepts": {
- "version": "1.3.8",
+ "node_modules/@rolldown/binding-linux-x64-gnu": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-beta.53.tgz",
+ "integrity": "sha512-qL+63WKVQs1CMvFedlPt0U9PiEKJOAL/bsHMKUDS6Vp2Q+YAv/QLPu8rcvkfIMvQ0FPU2WL0aX4eWwF6e/GAnA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "mime-types": "~2.1.34",
- "negotiator": "0.6.3"
- },
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">= 0.6"
+ "node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/ace-builds": {
- "version": "1.41.0",
- "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.41.0.tgz",
- "integrity": "sha512-tiEUfw7V/FpHuI4tG7KS+muOTMIuPh6zReBAD2Uqhe9t00tLeyVGxjXu0tSqz5OIPWy7/wvuJBVXAsNWx0rYvQ==",
+ "node_modules/@rolldown/binding-linux-x64-musl": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-beta.53.tgz",
+ "integrity": "sha512-VGl9JIGjoJh3H8Mb+7xnVqODajBmrdOOb9lxWXdcmxyI+zjB2sux69br0hZJDTyLJfvBoYm439zPACYbCjGRmw==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "BSD-3-Clause"
- },
- "node_modules/ace-clang-linter": {
- "resolved": "packages/ace-clang-linter",
- "link": true
- },
- "node_modules/ace-code": {
- "version": "1.43.6",
- "resolved": "https://registry.npmjs.org/ace-code/-/ace-code-1.43.6.tgz",
- "integrity": "sha512-yFkGfSm4h+hxUeUn/6aGbl8QFfwRjcA/iCg6qqmgJpb2ry6ZHWjXvm/MKhI/zRXQAFmeFxPZ8UbT/Ux56Vjlzw==",
- "license": "BSD-3-Clause",
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">= 0.6.0"
+ "node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/ace-dart-linter": {
- "resolved": "packages/ace-dart-linter",
- "link": true
- },
- "node_modules/ace-go-linter": {
- "resolved": "packages/ace-go-linter",
- "link": true
- },
- "node_modules/ace-layout": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/ace-layout/-/ace-layout-1.5.0.tgz",
- "integrity": "sha512-kkv0pYvNUvTBYCmN9H8vuWpY7Ah8xyrjKrX+bYu5OgK0THLjN3j7p+bAfen0ACNqEPQ//4aq81fX+fCLR1MCHw==",
- "license": "MIT"
- },
- "node_modules/ace-linters": {
- "resolved": "packages/ace-linters",
- "link": true
- },
- "node_modules/ace-lua-linter": {
- "resolved": "packages/ace-lua-linter",
- "link": true
- },
- "node_modules/ace-python-ruff-linter": {
- "resolved": "packages/ace-python-ruff-linter",
- "link": true
- },
- "node_modules/ace-sql-linter": {
- "resolved": "packages/ace-sql-linter",
- "link": true
- },
- "node_modules/ace-zig-linter": {
- "resolved": "packages/ace-zig-linter",
- "link": true
- },
- "node_modules/acorn": {
- "version": "8.10.0",
+ "node_modules/@rolldown/binding-openharmony-arm64": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0-beta.53.tgz",
+ "integrity": "sha512-B4iIserJXuSnNzA5xBLFUIjTfhNy7d9sq4FUMQY3GhQWGVhS2RWWzzDnkSU6MUt7/aHUrep0CdQfXUJI9D3W7A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
"license": "MIT",
- "bin": {
- "acorn": "bin/acorn"
- },
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
"engines": {
- "node": ">=0.4.0"
+ "node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/acorn-import-attributes": {
- "version": "1.9.5",
- "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz",
- "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==",
+ "node_modules/@rolldown/binding-wasm32-wasi": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-beta.53.tgz",
+ "integrity": "sha512-BUjAEgpABEJXilGq/BPh7jeU3WAJ5o15c1ZEgHaDWSz3LB881LQZnbNJHmUiM4d1JQWMYYyR1Y490IBHi2FPJg==",
+ "cpu": [
+ "wasm32"
+ ],
"dev": true,
- "peerDependencies": {
- "acorn": "^8"
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@napi-rs/wasm-runtime": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=14.0.0"
}
},
- "node_modules/acorn-jsx": {
- "version": "5.3.2",
+ "node_modules/@rolldown/binding-win32-arm64-msvc": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-beta.53.tgz",
+ "integrity": "sha512-s27uU7tpCWSjHBnxyVXHt3rMrQdJq5MHNv3BzsewCIroIw3DJFjMH1dzCPPMUFxnh1r52Nf9IJ/eWp6LDoyGcw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
"license": "MIT",
- "peerDependencies": {
- "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/acorn-walk": {
- "version": "8.2.0",
+ "node_modules/@rolldown/binding-win32-x64-msvc": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-beta.53.tgz",
+ "integrity": "sha512-cjWL/USPJ1g0en2htb4ssMjIycc36RvdQAx1WlXnS6DpULswiUTVXPDesTifSKYSyvx24E0YqQkEm0K/M2Z/AA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
"engines": {
- "node": ">=0.4.0"
+ "node": "^20.19.0 || >=22.12.0"
}
},
- "node_modules/agent-base": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz",
- "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==",
+ "node_modules/@rolldown/pluginutils": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.53.tgz",
+ "integrity": "sha512-vENRlFU4YbrwVqNDZ7fLvy+JR1CRkyr01jhSiDpE1u6py3OMzQfztQU2jxykW3ALNxO4kSlqIDeYyD0Y9RcQeQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@rollup/plugin-commonjs": {
+ "version": "28.0.9",
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.9.tgz",
+ "integrity": "sha512-PIR4/OHZ79romx0BVVll/PkwWpJ7e5lsqFa3gFfcrFPWwLXLV39JVUzQV9RKjWerE7B845Hqjj9VYlQeieZ2dA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "debug": "^4.3.4"
+ "@rollup/pluginutils": "^5.0.1",
+ "commondir": "^1.0.1",
+ "estree-walker": "^2.0.2",
+ "fdir": "^6.2.0",
+ "is-reference": "1.2.1",
+ "magic-string": "^0.30.3",
+ "picomatch": "^4.0.2"
},
"engines": {
- "node": ">= 14"
+ "node": ">=16.0.0 || 14 >= 14.17"
+ },
+ "peerDependencies": {
+ "rollup": "^2.68.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
}
},
- "node_modules/aggregate-error": {
- "version": "3.1.0",
+ "node_modules/@rollup/plugin-commonjs/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "clean-stack": "^2.0.0",
- "indent-string": "^4.0.0"
- },
"engines": {
- "node": ">=8"
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
}
},
- "node_modules/ajv": {
- "version": "6.12.6",
+ "node_modules/@rollup/plugin-commonjs/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
+ "dev": true,
"license": "MIT",
- "dependencies": {
- "fast-deep-equal": "^3.1.1",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.4.1",
- "uri-js": "^4.2.2"
+ "engines": {
+ "node": ">=12"
},
"funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
+ "url": "https://github.com/sponsors/jonschlinkert"
}
},
- "node_modules/ajv-formats": {
- "version": "2.1.1",
+ "node_modules/@rollup/plugin-inject": {
+ "version": "5.0.5",
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-inject/-/plugin-inject-5.0.5.tgz",
+ "integrity": "sha512-2+DEJbNBoPROPkgTDNe8/1YXWcqxbN5DTjASVIOx8HS+pITXushyNiBV56RB08zuptzz8gT3YfkqriTBVycepg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "ajv": "^8.0.0"
+ "@rollup/pluginutils": "^5.0.1",
+ "estree-walker": "^2.0.2",
+ "magic-string": "^0.30.3"
+ },
+ "engines": {
+ "node": ">=14.0.0"
},
"peerDependencies": {
- "ajv": "^8.0.0"
+ "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
},
"peerDependenciesMeta": {
- "ajv": {
+ "rollup": {
"optional": true
}
}
},
- "node_modules/ajv-formats/node_modules/ajv": {
- "version": "8.12.0",
+ "node_modules/@rollup/pluginutils": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.3.0.tgz",
+ "integrity": "sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q==",
"dev": true,
"license": "MIT",
"dependencies": {
- "fast-deep-equal": "^3.1.1",
- "json-schema-traverse": "^1.0.0",
- "require-from-string": "^2.0.2",
- "uri-js": "^4.2.2"
+ "@types/estree": "^1.0.0",
+ "estree-walker": "^2.0.2",
+ "picomatch": "^4.0.2"
+ },
+ "engines": {
+ "node": ">=14.0.0"
},
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
- }
- },
- "node_modules/ajv-formats/node_modules/json-schema-traverse": {
- "version": "1.0.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/ajv-keywords": {
- "version": "3.5.2",
- "dev": true,
- "license": "MIT",
"peerDependencies": {
- "ajv": "^6.9.1"
+ "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
}
},
- "node_modules/ansi-colors": {
- "version": "4.1.1",
+ "node_modules/@rollup/pluginutils/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=6"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
}
},
- "node_modules/ansi-html-community": {
- "version": "0.0.8",
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.57.0.tgz",
+ "integrity": "sha512-tPgXB6cDTndIe1ah7u6amCI1T0SsnlOuKgg10Xh3uizJk4e5M1JGaUMk7J4ciuAUcFpbOiNhm2XIjP9ON0dUqA==",
+ "cpu": [
+ "arm"
+ ],
"dev": true,
- "engines": [
- "node >= 0.8.0"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
],
- "license": "Apache-2.0",
- "bin": {
- "ansi-html": "bin/ansi-html"
- }
+ "peer": true
},
- "node_modules/ansi-regex": {
- "version": "5.0.1",
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.57.0.tgz",
+ "integrity": "sha512-sa4LyseLLXr1onr97StkU1Nb7fWcg6niokTwEVNOO7awaKaoRObQ54+V/hrF/BP1noMEaaAW6Fg2d/CfLiq3Mg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
"license": "MIT",
- "engines": {
- "node": ">=8"
- }
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "peer": true
},
- "node_modules/ansi-styles": {
- "version": "4.3.0",
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.57.0.tgz",
+ "integrity": "sha512-/NNIj9A7yLjKdmkx5dC2XQ9DmjIECpGpwHoGmA5E1AhU0fuICSqSWScPhN1yLCkEdkCwJIDu2xIeLPs60MNIVg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
"license": "MIT",
- "dependencies": {
- "color-convert": "^2.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "peer": true
},
- "node_modules/antlr4-c3": {
- "version": "3.3.7",
- "resolved": "https://registry.npmjs.org/antlr4-c3/-/antlr4-c3-3.3.7.tgz",
- "integrity": "sha512-F3ndE38wwA6z6AjUbL3heSdEGl4TxulGDPf9xB0/IY4dbRHWBh6XNaqFwur8vHKQk9FS5yNABHeg2wqlqIYO0w==",
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.57.0.tgz",
+ "integrity": "sha512-xoh8abqgPrPYPr7pTYipqnUi1V3em56JzE/HgDgitTqZBZ3yKCWI+7KUkceM6tNweyUKYru1UMi7FC060RyKwA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "antlr4ng": "2.0.11"
- }
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "peer": true
},
- "node_modules/antlr4ng": {
- "version": "2.0.11",
- "resolved": "https://registry.npmjs.org/antlr4ng/-/antlr4ng-2.0.11.tgz",
- "integrity": "sha512-9jM91VVtHSqHkAHQsXHaoaiewFETMvUTI1/tXvwTiFw4f7zke3IGlwEyoKN9NS0FqIwDKFvUNW2e1cKPniTkVQ==",
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.57.0.tgz",
+ "integrity": "sha512-PCkMh7fNahWSbA0OTUQ2OpYHpjZZr0hPr8lId8twD7a7SeWrvT3xJVyza+dQwXSSq4yEQTMoXgNOfMCsn8584g==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "BSD-3-Clause",
- "peerDependencies": {
- "antlr4ng-cli": "1.0.7"
- }
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "peer": true
},
- "node_modules/antlr4ng-cli": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/antlr4ng-cli/-/antlr4ng-cli-1.0.7.tgz",
- "integrity": "sha512-qN2FsDBmLvsQcA5CWTrPz8I8gNXeS1fgXBBhI78VyxBSBV/EJgqy8ks6IDTC9jyugpl40csCQ4sL5K4i2YZ/2w==",
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.57.0.tgz",
+ "integrity": "sha512-1j3stGx+qbhXql4OCDZhnK7b01s6rBKNybfsX+TNrEe9JNq4DLi1yGiR1xW+nL+FNVvI4D02PUnl6gJ/2y6WJA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "BSD-3-Clause",
- "peer": true,
- "bin": {
- "antlr4ng": "index.js"
- }
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "peer": true
},
- "node_modules/anymatch": {
- "version": "3.1.3",
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.57.0.tgz",
+ "integrity": "sha512-eyrr5W08Ms9uM0mLcKfM/Uzx7hjhz2bcjv8P2uynfj0yU8GGPdz8iYrBPhiLOZqahoAMB8ZiolRZPbbU2MAi6Q==",
+ "cpu": [
+ "arm"
+ ],
"dev": true,
- "license": "ISC",
- "dependencies": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
- },
- "engines": {
- "node": ">= 8"
- }
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true
},
- "node_modules/append-transform": {
- "version": "2.0.0",
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.57.0.tgz",
+ "integrity": "sha512-Xds90ITXJCNyX9pDhqf85MKWUI4lqjiPAipJ8OLp8xqI2Ehk+TCVhF9rvOoN8xTbcafow3QOThkNnrM33uCFQA==",
+ "cpu": [
+ "arm"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "default-require-extensions": "^3.0.0"
- },
- "engines": {
- "node": ">=8"
- }
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true
},
- "node_modules/archy": {
- "version": "1.0.0",
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.57.0.tgz",
+ "integrity": "sha512-Xws2KA4CLvZmXjy46SQaXSejuKPhwVdaNinldoYfqruZBaJHqVo6hnRa8SDo9z7PBW5x84SH64+izmldCgbezw==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true
},
- "node_modules/arg": {
- "version": "4.1.3",
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.57.0.tgz",
+ "integrity": "sha512-hrKXKbX5FdaRJj7lTMusmvKbhMJSGWJ+w++4KmjiDhpTgNlhYobMvKfDoIWecy4O60K6yA4SnztGuNTQF+Lplw==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true
},
- "node_modules/argparse": {
- "version": "2.0.1",
- "license": "Python-2.0"
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.57.0.tgz",
+ "integrity": "sha512-6A+nccfSDGKsPm00d3xKcrsBcbqzCTAukjwWK6rbuAnB2bHaL3r9720HBVZ/no7+FhZLz/U3GwwZZEh6tOSI8Q==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true
},
- "node_modules/array-flatten": {
- "version": "2.1.2",
+ "node_modules/@rollup/rollup-linux-loong64-musl": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.57.0.tgz",
+ "integrity": "sha512-4P1VyYUe6XAJtQH1Hh99THxr0GKMMwIXsRNOceLrJnaHTDgk1FTcTimDgneRJPvB3LqDQxUmroBclQ1S0cIJwQ==",
+ "cpu": [
+ "loong64"
+ ],
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true
},
- "node_modules/array-union": {
- "version": "2.1.0",
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.57.0.tgz",
+ "integrity": "sha512-8Vv6pLuIZCMcgXre6c3nOPhE0gjz1+nZP6T+hwWjr7sVH8k0jRkH+XnfjjOTglyMBdSKBPPz54/y1gToSKwrSQ==",
+ "cpu": [
+ "ppc64"
+ ],
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">=8"
- }
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true
},
- "node_modules/asn1.js": {
- "version": "5.4.1",
+ "node_modules/@rollup/rollup-linux-ppc64-musl": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.57.0.tgz",
+ "integrity": "sha512-r1te1M0Sm2TBVD/RxBPC6RZVwNqUTwJTA7w+C/IW5v9Ssu6xmxWEi+iJQlpBhtUiT1raJ5b48pI8tBvEjEFnFA==",
+ "cpu": [
+ "ppc64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "bn.js": "^4.0.0",
- "inherits": "^2.0.1",
- "minimalistic-assert": "^1.0.0",
- "safer-buffer": "^2.1.0"
- }
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true
},
- "node_modules/asn1.js/node_modules/bn.js": {
- "version": "4.12.0",
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.57.0.tgz",
+ "integrity": "sha512-say0uMU/RaPm3CDQLxUUTF2oNWL8ysvHkAjcCzV2znxBr23kFfaxocS9qJm+NdkRhF8wtdEEAJuYcLPhSPbjuQ==",
+ "cpu": [
+ "riscv64"
+ ],
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true
},
- "node_modules/assert": {
- "version": "2.0.0",
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.57.0.tgz",
+ "integrity": "sha512-/MU7/HizQGsnBREtRpcSbSV1zfkoxSTR7wLsRmBPQ8FwUj5sykrP1MyJTvsxP5KBq9SyE6kH8UQQQwa0ASeoQQ==",
+ "cpu": [
+ "riscv64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "es6-object-assign": "^1.1.0",
- "is-nan": "^1.2.1",
- "object-is": "^1.0.1",
- "util": "^0.12.0"
- }
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true
},
- "node_modules/assertion-error": {
- "version": "1.1.0",
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.57.0.tgz",
+ "integrity": "sha512-Q9eh+gUGILIHEaJf66aF6a414jQbDnn29zeu0eX3dHMuysnhTvsUvZTCAyZ6tJhUjnvzBKE4FtuaYxutxRZpOg==",
+ "cpu": [
+ "s390x"
+ ],
"dev": true,
"license": "MIT",
- "engines": {
- "node": "*"
- }
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true
},
- "node_modules/ast-types": {
- "version": "0.13.4",
- "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz",
- "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==",
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.57.0.tgz",
+ "integrity": "sha512-OR5p5yG5OKSxHReWmwvM0P+VTPMwoBS45PXTMYaskKQqybkS3Kmugq1W+YbNWArF8/s7jQScgzXUhArzEQ7x0A==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "tslib": "^2.0.1"
- },
- "engines": {
- "node": ">=4"
- }
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true
},
- "node_modules/async": {
- "version": "3.2.3",
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.57.0.tgz",
+ "integrity": "sha512-XeatKzo4lHDsVEbm1XDHZlhYZZSQYym6dg2X/Ko0kSFgio+KXLsxwJQprnR48GvdIKDOpqWqssC3iBCjoMcMpw==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true
},
- "node_modules/available-typed-arrays": {
- "version": "1.0.5",
+ "node_modules/@rollup/rollup-openbsd-x64": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.57.0.tgz",
+ "integrity": "sha512-Lu71y78F5qOfYmubYLHPcJm74GZLU6UJ4THkf/a1K7Tz2ycwC2VUbsqbJAXaR6Bx70SRdlVrt2+n5l7F0agTUw==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "peer": true
},
- "node_modules/b4a": {
- "version": "1.6.6",
- "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.6.tgz",
- "integrity": "sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==",
+ "node_modules/@rollup/rollup-openharmony-arm64": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.57.0.tgz",
+ "integrity": "sha512-v5xwKDWcu7qhAEcsUubiav7r+48Uk/ENWdr82MBZZRIm7zThSxCIVDfb3ZeRRq9yqk+oIzMdDo6fCcA5DHfMyA==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "Apache-2.0"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "peer": true
},
- "node_modules/balanced-match": {
- "version": "1.0.2",
- "license": "MIT"
- },
- "node_modules/bare-events": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.4.2.tgz",
- "integrity": "sha512-qMKFd2qG/36aA4GwvKq8MxnPgCQAmBWmSyLWsJcbn8v03wvIPQ/hG1Ms8bPzndZxMDoHpxez5VOS+gC9Yi24/Q==",
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.57.0.tgz",
+ "integrity": "sha512-XnaaaSMGSI6Wk8F4KK3QP7GfuuhjGchElsVerCplUuxRIzdvZ7hRBpLR0omCmw+kI2RFJB80nenhOoGXlJ5TfQ==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "Apache-2.0",
- "optional": true
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "peer": true
},
- "node_modules/bare-fs": {
- "version": "2.3.5",
- "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.3.5.tgz",
- "integrity": "sha512-SlE9eTxifPDJrT6YgemQ1WGFleevzwY+XAP1Xqgl56HtcrisC2CHCZ2tq6dBpcH2TnNxwUEUGhweo+lrQtYuiw==",
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.57.0.tgz",
+ "integrity": "sha512-3K1lP+3BXY4t4VihLw5MEg6IZD3ojSYzqzBG571W3kNQe4G4CcFpSUQVgurYgib5d+YaCjeFow8QivWp8vuSvA==",
+ "cpu": [
+ "ia32"
+ ],
"dev": true,
- "license": "Apache-2.0",
+ "license": "MIT",
"optional": true,
- "dependencies": {
- "bare-events": "^2.0.0",
- "bare-path": "^2.0.0",
- "bare-stream": "^2.0.0"
- }
+ "os": [
+ "win32"
+ ],
+ "peer": true
},
- "node_modules/bare-os": {
- "version": "2.4.4",
- "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.4.4.tgz",
- "integrity": "sha512-z3UiI2yi1mK0sXeRdc4O1Kk8aOa/e+FNWZcTiPB/dfTWyLypuE99LibgRaQki914Jq//yAWylcAt+mknKdixRQ==",
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.57.0.tgz",
+ "integrity": "sha512-MDk610P/vJGc5L5ImE4k5s+GZT3en0KoK1MKPXCRgzmksAMk79j4h3k1IerxTNqwDLxsGxStEZVBqG0gIqZqoA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "Apache-2.0",
- "optional": true
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "peer": true
},
- "node_modules/bare-path": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.3.tgz",
- "integrity": "sha512-lh/eITfU8hrj9Ru5quUp0Io1kJWIk1bTjzo7JH1P5dWmQ2EL4hFUlfI8FonAhSlgIfhn63p84CDY/x+PisgcXA==",
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.57.0.tgz",
+ "integrity": "sha512-Zv7v6q6aV+VslnpwzqKAmrk5JdVkLUzok2208ZXGipjb+msxBr/fJPZyeEXiFgH7k62Ak0SLIfxQRZQvTuf7rQ==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "Apache-2.0",
+ "license": "MIT",
"optional": true,
- "dependencies": {
- "bare-os": "^2.1.0"
- }
+ "os": [
+ "win32"
+ ],
+ "peer": true
},
- "node_modules/bare-stream": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.3.0.tgz",
- "integrity": "sha512-pVRWciewGUeCyKEuRxwv06M079r+fRjAQjBEK2P6OYGrO43O+Z0LrPZZEjlc4mB6C2RpZ9AxJ1s7NLEtOHO6eA==",
+ "node_modules/@swc/core": {
+ "version": "1.15.11",
+ "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.15.11.tgz",
+ "integrity": "sha512-iLmLTodbYxU39HhMPaMUooPwO/zqJWvsqkrXv1ZI38rMb048p6N7qtAtTp37sw9NzSrvH6oli8EdDygo09IZ/w==",
"dev": true,
+ "hasInstallScript": true,
"license": "Apache-2.0",
"optional": true,
+ "peer": true,
"dependencies": {
- "b4a": "^1.6.6",
- "streamx": "^2.20.0"
+ "@swc/counter": "^0.1.3",
+ "@swc/types": "^0.1.25"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/swc"
+ },
+ "optionalDependencies": {
+ "@swc/core-darwin-arm64": "1.15.11",
+ "@swc/core-darwin-x64": "1.15.11",
+ "@swc/core-linux-arm-gnueabihf": "1.15.11",
+ "@swc/core-linux-arm64-gnu": "1.15.11",
+ "@swc/core-linux-arm64-musl": "1.15.11",
+ "@swc/core-linux-x64-gnu": "1.15.11",
+ "@swc/core-linux-x64-musl": "1.15.11",
+ "@swc/core-win32-arm64-msvc": "1.15.11",
+ "@swc/core-win32-ia32-msvc": "1.15.11",
+ "@swc/core-win32-x64-msvc": "1.15.11"
+ },
+ "peerDependencies": {
+ "@swc/helpers": ">=0.5.17"
+ },
+ "peerDependenciesMeta": {
+ "@swc/helpers": {
+ "optional": true
+ }
}
},
- "node_modules/base64-js": {
- "version": "1.5.1",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
+ "node_modules/@swc/core-darwin-arm64": {
+ "version": "1.15.11",
+ "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.15.11.tgz",
+ "integrity": "sha512-QoIupRWVH8AF1TgxYyeA5nS18dtqMuxNwchjBIwJo3RdwLEFiJq6onOx9JAxHtuPwUkIVuU2Xbp+jCJ7Vzmgtg==",
+ "cpu": [
+ "arm64"
],
- "license": "MIT"
- },
- "node_modules/basic-auth": {
- "version": "2.0.1",
"dev": true,
- "license": "MIT",
- "dependencies": {
- "safe-buffer": "5.1.2"
- },
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "peer": true,
"engines": {
- "node": ">= 0.8"
+ "node": ">=10"
}
},
- "node_modules/basic-auth/node_modules/safe-buffer": {
- "version": "5.1.2",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/basic-ftp": {
- "version": "5.0.5",
- "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz",
- "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==",
+ "node_modules/@swc/core-darwin-x64": {
+ "version": "1.15.11",
+ "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.15.11.tgz",
+ "integrity": "sha512-S52Gu1QtPSfBYDiejlcfp9GlN+NjTZBRRNsz8PNwBgSE626/FUf2PcllVUix7jqkoMC+t0rS8t+2/aSWlMuQtA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT",
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "peer": true,
"engines": {
- "node": ">=10.0.0"
+ "node": ">=10"
}
},
- "node_modules/batch": {
- "version": "0.6.1",
+ "node_modules/@swc/core-linux-arm-gnueabihf": {
+ "version": "1.15.11",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.15.11.tgz",
+ "integrity": "sha512-lXJs8oXo6Z4yCpimpQ8vPeCjkgoHu5NoMvmJZ8qxDyU99KVdg6KwU9H79vzrmB+HfH+dCZ7JGMqMF//f8Cfvdg==",
+ "cpu": [
+ "arm"
+ ],
"dev": true,
- "license": "MIT"
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
+ "engines": {
+ "node": ">=10"
+ }
},
- "node_modules/big.js": {
- "version": "5.2.2",
+ "node_modules/@swc/core-linux-arm64-gnu": {
+ "version": "1.15.11",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.15.11.tgz",
+ "integrity": "sha512-chRsz1K52/vj8Mfq/QOugVphlKPWlMh10V99qfH41hbGvwAU6xSPd681upO4bKiOr9+mRIZZW+EfJqY42ZzRyA==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT",
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
"engines": {
- "node": "*"
+ "node": ">=10"
}
},
- "node_modules/binary-extensions": {
- "version": "2.2.0",
+ "node_modules/@swc/core-linux-arm64-musl": {
+ "version": "1.15.11",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.15.11.tgz",
+ "integrity": "sha512-PYftgsTaGnfDK4m6/dty9ryK1FbLk+LosDJ/RJR2nkXGc8rd+WenXIlvHjWULiBVnS1RsjHHOXmTS4nDhe0v0w==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT",
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
"engines": {
- "node": ">=8"
+ "node": ">=10"
}
},
- "node_modules/bn.js": {
- "version": "5.2.1",
+ "node_modules/@swc/core-linux-x64-gnu": {
+ "version": "1.15.11",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.15.11.tgz",
+ "integrity": "sha512-DKtnJKIHiZdARyTKiX7zdRjiDS1KihkQWatQiCHMv+zc2sfwb4Glrodx2VLOX4rsa92NLR0Sw8WLcPEMFY1szQ==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT"
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
+ "engines": {
+ "node": ">=10"
+ }
},
- "node_modules/body-parser": {
- "version": "1.20.3",
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
- "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==",
+ "node_modules/@swc/core-linux-x64-musl": {
+ "version": "1.15.11",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.15.11.tgz",
+ "integrity": "sha512-mUjjntHj4+8WBaiDe5UwRNHuEzLjIWBTSGTw0JT9+C9/Yyuh4KQqlcEQ3ro6GkHmBGXBFpGIj/o5VMyRWfVfWw==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT",
- "dependencies": {
- "bytes": "3.1.2",
- "content-type": "~1.0.5",
- "debug": "2.6.9",
- "depd": "2.0.0",
- "destroy": "1.2.0",
- "http-errors": "2.0.0",
- "iconv-lite": "0.4.24",
- "on-finished": "2.4.1",
- "qs": "6.13.0",
- "raw-body": "2.5.2",
- "type-is": "~1.6.18",
- "unpipe": "1.0.0"
- },
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
"engines": {
- "node": ">= 0.8",
- "npm": "1.2.8000 || >= 1.4.16"
+ "node": ">=10"
}
},
- "node_modules/body-parser/node_modules/bytes": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
- "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
+ "node_modules/@swc/core-win32-arm64-msvc": {
+ "version": "1.15.11",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.15.11.tgz",
+ "integrity": "sha512-ZkNNG5zL49YpaFzfl6fskNOSxtcZ5uOYmWBkY4wVAvgbSAQzLRVBp+xArGWh2oXlY/WgL99zQSGTv7RI5E6nzA==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT",
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "peer": true,
"engines": {
- "node": ">= 0.8"
+ "node": ">=10"
}
},
- "node_modules/body-parser/node_modules/debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "node_modules/@swc/core-win32-ia32-msvc": {
+ "version": "1.15.11",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.15.11.tgz",
+ "integrity": "sha512-6XnzORkZCQzvTQ6cPrU7iaT9+i145oLwnin8JrfsLG41wl26+5cNQ2XV3zcbrnFEV6esjOceom9YO1w9mGJByw==",
+ "cpu": [
+ "ia32"
+ ],
"dev": true,
- "license": "MIT",
- "dependencies": {
- "ms": "2.0.0"
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "peer": true,
+ "engines": {
+ "node": ">=10"
}
},
- "node_modules/body-parser/node_modules/iconv-lite": {
- "version": "0.4.24",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
+ "node_modules/@swc/core-win32-x64-msvc": {
+ "version": "1.15.11",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.15.11.tgz",
+ "integrity": "sha512-IQ2n6af7XKLL6P1gIeZACskSxK8jWtoKpJWLZmdXTDj1MGzktUy4i+FvpdtxFmJWNavRWH1VmTr6kAubRDHeKw==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT",
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
- },
+ "license": "Apache-2.0 AND MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "peer": true,
"engines": {
- "node": ">=0.10.0"
+ "node": ">=10"
}
},
- "node_modules/body-parser/node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "node_modules/@swc/counter": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
+ "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==",
"dev": true,
- "license": "MIT"
+ "license": "Apache-2.0",
+ "optional": true,
+ "peer": true
},
- "node_modules/bonjour-service": {
- "version": "1.1.1",
+ "node_modules/@swc/types": {
+ "version": "0.1.25",
+ "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.25.tgz",
+ "integrity": "sha512-iAoY/qRhNH8a/hBvm3zKj9qQ4oc2+3w1unPJa2XvTK3XjeLXtzcCingVPw/9e5mn1+0yPqxcBGp9Jf0pkfMb1g==",
"dev": true,
- "license": "MIT",
+ "license": "Apache-2.0",
+ "optional": true,
+ "peer": true,
"dependencies": {
- "array-flatten": "^2.1.2",
- "dns-equal": "^1.0.0",
- "fast-deep-equal": "^3.1.3",
- "multicast-dns": "^7.2.5"
+ "@swc/counter": "^0.1.3"
}
},
- "node_modules/brace-expansion": {
- "version": "1.1.11",
- "license": "MIT",
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
+ "node_modules/@swc/wasm": {
+ "version": "1.15.11",
+ "resolved": "https://registry.npmjs.org/@swc/wasm/-/wasm-1.15.11.tgz",
+ "integrity": "sha512-230rdYZf8ux3nIwISOQNCFrxzxpL/UFY4Khv/3UsvpEdo709j/+Tg80yXWW3DXETeZNPBV72QpvEBhXsl7Lc9g==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "peer": true
},
- "node_modules/braces": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
- "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
+ "node_modules/@tootallnate/quickjs-emscripten": {
+ "version": "0.23.0",
+ "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz",
+ "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==",
"dev": true,
- "license": "MIT",
- "dependencies": {
- "fill-range": "^7.1.1"
- },
- "engines": {
- "node": ">=8"
- }
+ "license": "MIT"
},
- "node_modules/brorand": {
- "version": "1.1.0",
+ "node_modules/@tsconfig/node10": {
+ "version": "1.0.9",
"dev": true,
"license": "MIT"
},
- "node_modules/browser-stdout": {
- "version": "1.3.1",
+ "node_modules/@tsconfig/node12": {
+ "version": "1.0.11",
"dev": true,
- "license": "ISC"
+ "license": "MIT"
},
- "node_modules/browserify-aes": {
- "version": "1.2.0",
+ "node_modules/@tsconfig/node14": {
+ "version": "1.0.3",
"dev": true,
- "license": "MIT",
- "dependencies": {
- "buffer-xor": "^1.0.3",
- "cipher-base": "^1.0.0",
- "create-hash": "^1.1.0",
- "evp_bytestokey": "^1.0.3",
- "inherits": "^2.0.1",
- "safe-buffer": "^5.0.1"
- }
+ "license": "MIT"
},
- "node_modules/browserify-cipher": {
- "version": "1.0.1",
+ "node_modules/@tsconfig/node16": {
+ "version": "1.0.4",
"dev": true,
- "license": "MIT",
- "dependencies": {
- "browserify-aes": "^1.0.4",
- "browserify-des": "^1.0.0",
- "evp_bytestokey": "^1.0.0"
- }
+ "license": "MIT"
},
- "node_modules/browserify-des": {
- "version": "1.0.2",
+ "node_modules/@tybys/wasm-util": {
+ "version": "0.10.1",
+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz",
+ "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==",
"dev": true,
"license": "MIT",
+ "optional": true,
"dependencies": {
- "cipher-base": "^1.0.1",
- "des.js": "^1.0.0",
- "inherits": "^2.0.1",
- "safe-buffer": "^5.1.2"
+ "tslib": "^2.4.0"
}
},
- "node_modules/browserify-rsa": {
- "version": "4.1.0",
+ "node_modules/@types/chai": {
+ "version": "4.3.5",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/eslint": {
+ "version": "8.44.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "bn.js": "^5.0.0",
- "randombytes": "^2.0.1"
+ "@types/estree": "*",
+ "@types/json-schema": "*"
}
},
- "node_modules/browserify-sign": {
- "version": "4.2.2",
+ "node_modules/@types/estree": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
+ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
"dev": true,
- "license": "ISC",
+ "license": "MIT"
+ },
+ "node_modules/@types/json-schema": {
+ "version": "7.0.12",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/mocha": {
+ "version": "5.2.7",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "20.19.30",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.30.tgz",
+ "integrity": "sha512-WJtwWJu7UdlvzEAUm484QNg5eAoq5QR08KDNx7g45Usrs2NtOPiX8ugDqmKdXkyL03rBqU5dYNYVQetEpBHq2g==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "bn.js": "^5.2.1",
- "browserify-rsa": "^4.1.0",
- "create-hash": "^1.2.0",
- "create-hmac": "^1.1.7",
- "elliptic": "^6.5.4",
- "inherits": "^2.0.4",
- "parse-asn1": "^5.1.6",
- "readable-stream": "^3.6.2",
- "safe-buffer": "^5.2.1"
- },
- "engines": {
- "node": ">= 4"
+ "undici-types": "~6.21.0"
}
},
- "node_modules/browserify-zlib": {
- "version": "0.2.0",
+ "node_modules/@types/yauzl": {
+ "version": "2.10.3",
+ "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz",
+ "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==",
"dev": true,
"license": "MIT",
+ "optional": true,
"dependencies": {
- "pako": "~1.0.5"
+ "@types/node": "*"
}
},
- "node_modules/browserslist": {
- "version": "4.23.3",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz",
- "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==",
+ "node_modules/@vscode/l10n": {
+ "version": "0.0.18",
+ "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.18.tgz",
+ "integrity": "sha512-KYSIHVmslkaCDyw013pphY+d7x1qV8IZupYfeIfzNA+nsaWHbn5uPuQRvdRFsa9zFzGeudPuoGoZ1Op4jrJXIQ==",
"dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/browserslist"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "dependencies": {
- "caniuse-lite": "^1.0.30001646",
- "electron-to-chromium": "^1.5.4",
- "node-releases": "^2.0.18",
- "update-browserslist-db": "^1.1.0"
- },
+ "license": "MIT"
+ },
+ "node_modules/@wasm-fmt/clang-format": {
+ "version": "21.1.8",
+ "resolved": "https://registry.npmjs.org/@wasm-fmt/clang-format/-/clang-format-21.1.8.tgz",
+ "integrity": "sha512-RA+6pPO4LEQpn3nrIUGzbC+Wzw88nMmfBINWccSSmng2M7UZPdIbk7mfMJZqjxIDhMEXJZb3Z+OufDm746LtFw==",
+ "dev": true,
+ "license": "MIT",
"bin": {
- "browserslist": "cli.js"
+ "clang-format": "clang-format-cli.cjs",
+ "clang-format-diff": "clang-format-diff.py",
+ "git-clang-format": "git-clang-format"
},
"engines": {
- "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ "node": ">=16.17.0"
}
},
- "node_modules/buffer": {
- "version": "6.0.3",
+ "node_modules/@wasm-fmt/dart_fmt": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/@wasm-fmt/dart_fmt/-/dart_fmt-0.4.0.tgz",
+ "integrity": "sha512-7Klw5dN/5Fm5izI/GWIdKGFCzb/rz87GidjbkOgXqTVjrZhRSStUldae3LiMQg6nNkVwtEo6tvQ5mus/kPpmZw==",
"dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "base64-js": "^1.3.1",
- "ieee754": "^1.2.1"
- }
+ "license": "MIT"
},
- "node_modules/buffer-crc32": {
- "version": "0.2.13",
- "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
- "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",
+ "node_modules/@wasm-fmt/gofmt": {
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/@wasm-fmt/gofmt/-/gofmt-0.7.2.tgz",
+ "integrity": "sha512-j8cT1TppOivxc6mSPN7SF6sMBmmS/9pH0aTxYjJhtosmRtZBehyPU+bxMHotkWxgVevVAKr75nVydkwOPHcvXw==",
"dev": true,
"license": "MIT",
"engines": {
- "node": "*"
+ "node": ">=16.17.0"
}
},
- "node_modules/buffer-from": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
- "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
- "dev": true
- },
- "node_modules/buffer-xor": {
- "version": "1.0.3",
+ "node_modules/@wasm-fmt/lua_fmt": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/@wasm-fmt/lua_fmt/-/lua_fmt-0.3.2.tgz",
+ "integrity": "sha512-sLhZpx/Gdz4i1WAckS/e4Z68Kw5ObSkiYPwu11PW1EodjvVCZOsb/y7/KFLTai1jzRXqEu3SUHLTU9qE3R/npw==",
"dev": true,
"license": "MIT"
},
- "node_modules/builtin-status-codes": {
- "version": "3.0.0",
+ "node_modules/@wasm-fmt/zig_fmt": {
+ "version": "0.15.2",
+ "resolved": "https://registry.npmjs.org/@wasm-fmt/zig_fmt/-/zig_fmt-0.15.2.tgz",
+ "integrity": "sha512-8HA5uiAnnyphJBIbZK6RqVM9LFRKzBcEwU4TR8UdaTI6veUQd6JCjM5N9BMGkaic7nZqXwGJnB+Z4C2lgf6O+Q==",
"dev": true,
"license": "MIT"
},
- "node_modules/bytes": {
- "version": "3.0.0",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/caching-transform": {
- "version": "4.0.0",
+ "node_modules/@webassemblyjs/ast": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.12.1.tgz",
+ "integrity": "sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==",
"dev": true,
- "license": "MIT",
+ "peer": true,
"dependencies": {
- "hasha": "^5.0.0",
- "make-dir": "^3.0.0",
- "package-hash": "^4.0.0",
- "write-file-atomic": "^3.0.0"
- },
- "engines": {
- "node": ">=8"
+ "@webassemblyjs/helper-numbers": "1.11.6",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.6"
}
},
- "node_modules/call-bind": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
- "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
+ "node_modules/@webassemblyjs/floating-point-hex-parser": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz",
+ "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==",
"dev": true,
- "license": "MIT",
- "dependencies": {
- "es-define-property": "^1.0.0",
- "es-errors": "^1.3.0",
- "function-bind": "^1.1.2",
- "get-intrinsic": "^1.2.4",
- "set-function-length": "^1.2.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
+ "peer": true
},
- "node_modules/callsites": {
- "version": "3.1.0",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
+ "node_modules/@webassemblyjs/helper-api-error": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz",
+ "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==",
+ "dev": true,
+ "peer": true
},
- "node_modules/camelcase": {
- "version": "5.3.1",
+ "node_modules/@webassemblyjs/helper-buffer": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.12.1.tgz",
+ "integrity": "sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw==",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
+ "peer": true
},
- "node_modules/caniuse-lite": {
- "version": "1.0.30001651",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001651.tgz",
- "integrity": "sha512-9Cf+Xv1jJNe1xPZLGuUXLNkE1BoDkqRqYyFJ9TDYSqhduqA4hu4oR9HluGoWYQC/aj8WHjsGVV+bwkh0+tegRg==",
+ "node_modules/@webassemblyjs/helper-numbers": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz",
+ "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==",
"dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ]
+ "peer": true,
+ "dependencies": {
+ "@webassemblyjs/floating-point-hex-parser": "1.11.6",
+ "@webassemblyjs/helper-api-error": "1.11.6",
+ "@xtuc/long": "4.2.2"
+ }
},
- "node_modules/chai": {
- "version": "4.3.7",
+ "node_modules/@webassemblyjs/helper-wasm-bytecode": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz",
+ "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==",
"dev": true,
- "license": "MIT",
+ "peer": true
+ },
+ "node_modules/@webassemblyjs/helper-wasm-section": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.12.1.tgz",
+ "integrity": "sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g==",
+ "dev": true,
+ "peer": true,
"dependencies": {
- "assertion-error": "^1.1.0",
- "check-error": "^1.0.2",
- "deep-eql": "^4.1.2",
- "get-func-name": "^2.0.0",
- "loupe": "^2.3.1",
- "pathval": "^1.1.1",
- "type-detect": "^4.0.5"
- },
- "engines": {
- "node": ">=4"
+ "@webassemblyjs/ast": "1.12.1",
+ "@webassemblyjs/helper-buffer": "1.12.1",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
+ "@webassemblyjs/wasm-gen": "1.12.1"
}
},
- "node_modules/chalk": {
- "version": "4.1.2",
- "license": "MIT",
+ "node_modules/@webassemblyjs/ieee754": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz",
+ "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==",
+ "dev": true,
+ "peer": true,
"dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
+ "@xtuc/ieee754": "^1.2.0"
}
},
- "node_modules/chalk/node_modules/supports-color": {
- "version": "7.2.0",
- "license": "MIT",
+ "node_modules/@webassemblyjs/leb128": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz",
+ "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==",
+ "dev": true,
+ "peer": true,
"dependencies": {
- "has-flag": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
+ "@xtuc/long": "4.2.2"
}
},
- "node_modules/check-error": {
- "version": "1.0.2",
+ "node_modules/@webassemblyjs/utf8": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz",
+ "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": "*"
- }
+ "peer": true
},
- "node_modules/chevrotain": {
- "version": "7.1.1",
+ "node_modules/@webassemblyjs/wasm-edit": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.12.1.tgz",
+ "integrity": "sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g==",
"dev": true,
- "license": "Apache-2.0",
+ "peer": true,
"dependencies": {
- "regexp-to-ast": "0.5.0"
+ "@webassemblyjs/ast": "1.12.1",
+ "@webassemblyjs/helper-buffer": "1.12.1",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
+ "@webassemblyjs/helper-wasm-section": "1.12.1",
+ "@webassemblyjs/wasm-gen": "1.12.1",
+ "@webassemblyjs/wasm-opt": "1.12.1",
+ "@webassemblyjs/wasm-parser": "1.12.1",
+ "@webassemblyjs/wast-printer": "1.12.1"
}
},
- "node_modules/chokidar": {
- "version": "3.5.3",
+ "node_modules/@webassemblyjs/wasm-gen": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.12.1.tgz",
+ "integrity": "sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w==",
"dev": true,
- "funding": [
- {
- "type": "individual",
- "url": "https://paulmillr.com/funding/"
- }
- ],
- "license": "MIT",
+ "peer": true,
"dependencies": {
- "anymatch": "~3.1.2",
- "braces": "~3.0.2",
- "glob-parent": "~5.1.2",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.6.0"
- },
- "engines": {
- "node": ">= 8.10.0"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.2"
+ "@webassemblyjs/ast": "1.12.1",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
+ "@webassemblyjs/ieee754": "1.11.6",
+ "@webassemblyjs/leb128": "1.11.6",
+ "@webassemblyjs/utf8": "1.11.6"
}
},
- "node_modules/chokidar/node_modules/glob-parent": {
- "version": "5.1.2",
+ "node_modules/@webassemblyjs/wasm-opt": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.12.1.tgz",
+ "integrity": "sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg==",
"dev": true,
- "license": "ISC",
+ "peer": true,
"dependencies": {
- "is-glob": "^4.0.1"
- },
- "engines": {
- "node": ">= 6"
+ "@webassemblyjs/ast": "1.12.1",
+ "@webassemblyjs/helper-buffer": "1.12.1",
+ "@webassemblyjs/wasm-gen": "1.12.1",
+ "@webassemblyjs/wasm-parser": "1.12.1"
}
},
- "node_modules/chrome-trace-event": {
- "version": "1.0.3",
+ "node_modules/@webassemblyjs/wasm-parser": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.12.1.tgz",
+ "integrity": "sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ==",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6.0"
+ "peer": true,
+ "dependencies": {
+ "@webassemblyjs/ast": "1.12.1",
+ "@webassemblyjs/helper-api-error": "1.11.6",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
+ "@webassemblyjs/ieee754": "1.11.6",
+ "@webassemblyjs/leb128": "1.11.6",
+ "@webassemblyjs/utf8": "1.11.6"
}
},
- "node_modules/chromium-bidi": {
- "version": "0.6.5",
- "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.6.5.tgz",
- "integrity": "sha512-RuLrmzYrxSb0s9SgpB+QN5jJucPduZQ/9SIe76MDxYJuecPW5mxMdacJ1f4EtgiV+R0p3sCkznTMvH0MPGFqjA==",
+ "node_modules/@webassemblyjs/wast-printer": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.12.1.tgz",
+ "integrity": "sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==",
"dev": true,
- "license": "Apache-2.0",
+ "peer": true,
"dependencies": {
- "mitt": "3.0.1",
- "urlpattern-polyfill": "10.0.0",
- "zod": "3.23.8"
- },
- "peerDependencies": {
- "devtools-protocol": "*"
+ "@webassemblyjs/ast": "1.12.1",
+ "@xtuc/long": "4.2.2"
}
},
- "node_modules/cipher-base": {
- "version": "1.0.4",
+ "node_modules/@xml-tools/ast": {
+ "version": "5.0.5",
"dev": true,
- "license": "MIT",
+ "license": "Apache-2.0",
"dependencies": {
- "inherits": "^2.0.1",
- "safe-buffer": "^5.0.1"
+ "@xml-tools/common": "^0.1.6",
+ "@xml-tools/parser": "^1.0.11",
+ "lodash": "4.17.21"
}
},
- "node_modules/clean-stack": {
- "version": "2.2.0",
+ "node_modules/@xml-tools/common": {
+ "version": "0.1.6",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
+ "license": "Apache-2.0",
+ "dependencies": {
+ "lodash": "4.17.21"
}
},
- "node_modules/cliui": {
- "version": "7.0.4",
+ "node_modules/@xml-tools/constraints": {
+ "version": "1.1.1",
"dev": true,
- "license": "ISC",
+ "license": "Apache-2.0",
"dependencies": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.0",
- "wrap-ansi": "^7.0.0"
+ "@xml-tools/validation": "^1.0.16",
+ "lodash": "4.17.21"
}
},
- "node_modules/clone-deep": {
- "version": "4.0.1",
+ "node_modules/@xml-tools/content-assist": {
+ "version": "3.1.11",
"dev": true,
- "license": "MIT",
+ "license": "Apache-2.0",
"dependencies": {
- "is-plain-object": "^2.0.4",
- "kind-of": "^6.0.2",
- "shallow-clone": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
+ "@xml-tools/common": "^0.1.6",
+ "@xml-tools/parser": "^1.0.11",
+ "lodash": "4.17.21"
}
},
- "node_modules/color-convert": {
- "version": "2.0.1",
- "license": "MIT",
+ "node_modules/@xml-tools/parser": {
+ "version": "1.0.11",
+ "dev": true,
+ "license": "Apache-2.0",
"dependencies": {
- "color-name": "~1.1.4"
- },
- "engines": {
- "node": ">=7.0.0"
+ "chevrotain": "7.1.1"
}
},
- "node_modules/color-name": {
- "version": "1.1.4",
- "license": "MIT"
- },
- "node_modules/colorette": {
- "version": "2.0.20",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/commander": {
- "version": "2.20.3",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
- "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
- "dev": true
- },
- "node_modules/commondir": {
- "version": "1.0.1",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/compressible": {
- "version": "2.0.18",
+ "node_modules/@xml-tools/simple-schema": {
+ "version": "3.0.5",
"dev": true,
- "license": "MIT",
+ "license": "Apache-2.0",
"dependencies": {
- "mime-db": ">= 1.43.0 < 2"
- },
- "engines": {
- "node": ">= 0.6"
+ "@xml-tools/ast": "^5.0.5",
+ "@xml-tools/content-assist": "^3.1.11",
+ "lodash": "4.17.21"
}
},
- "node_modules/compression": {
- "version": "1.7.4",
+ "node_modules/@xml-tools/validation": {
+ "version": "1.0.16",
"dev": true,
- "license": "MIT",
+ "license": "Apache-2.0",
"dependencies": {
- "accepts": "~1.3.5",
- "bytes": "3.0.0",
- "compressible": "~2.0.16",
- "debug": "2.6.9",
- "on-headers": "~1.0.2",
- "safe-buffer": "5.1.2",
- "vary": "~1.1.2"
- },
- "engines": {
- "node": ">= 0.8.0"
+ "@xml-tools/ast": "^5.0.5",
+ "lodash": "4.17.21"
}
},
- "node_modules/compression/node_modules/debug": {
- "version": "2.6.9",
+ "node_modules/@xtuc/ieee754": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
+ "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",
"dev": true,
- "license": "MIT",
- "dependencies": {
- "ms": "2.0.0"
- }
+ "peer": true
},
- "node_modules/compression/node_modules/ms": {
- "version": "2.0.0",
+ "node_modules/@xtuc/long": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
+ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",
"dev": true,
- "license": "MIT"
+ "peer": true
},
- "node_modules/compression/node_modules/safe-buffer": {
- "version": "5.1.2",
+ "node_modules/ace-builds": {
+ "version": "1.41.0",
+ "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.41.0.tgz",
+ "integrity": "sha512-tiEUfw7V/FpHuI4tG7KS+muOTMIuPh6zReBAD2Uqhe9t00tLeyVGxjXu0tSqz5OIPWy7/wvuJBVXAsNWx0rYvQ==",
"dev": true,
- "license": "MIT"
+ "license": "BSD-3-Clause"
},
- "node_modules/concat-map": {
- "version": "0.0.1",
- "license": "MIT"
+ "node_modules/ace-clang-linter": {
+ "resolved": "packages/ace-clang-linter",
+ "link": true
},
- "node_modules/connect-history-api-fallback": {
- "version": "2.0.0",
- "dev": true,
- "license": "MIT",
+ "node_modules/ace-code": {
+ "version": "1.43.6",
+ "resolved": "https://registry.npmjs.org/ace-code/-/ace-code-1.43.6.tgz",
+ "integrity": "sha512-yFkGfSm4h+hxUeUn/6aGbl8QFfwRjcA/iCg6qqmgJpb2ry6ZHWjXvm/MKhI/zRXQAFmeFxPZ8UbT/Ux56Vjlzw==",
+ "license": "BSD-3-Clause",
"engines": {
- "node": ">=0.8"
+ "node": ">= 0.6.0"
}
},
- "node_modules/console-browserify": {
- "version": "1.2.0",
- "dev": true
+ "node_modules/ace-dart-linter": {
+ "resolved": "packages/ace-dart-linter",
+ "link": true
},
- "node_modules/constants-browserify": {
- "version": "1.0.0",
- "dev": true,
+ "node_modules/ace-go-linter": {
+ "resolved": "packages/ace-go-linter",
+ "link": true
+ },
+ "node_modules/ace-layout": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/ace-layout/-/ace-layout-1.5.0.tgz",
+ "integrity": "sha512-kkv0pYvNUvTBYCmN9H8vuWpY7Ah8xyrjKrX+bYu5OgK0THLjN3j7p+bAfen0ACNqEPQ//4aq81fX+fCLR1MCHw==",
"license": "MIT"
},
- "node_modules/content-disposition": {
- "version": "0.5.4",
- "dev": true,
+ "node_modules/ace-linters": {
+ "resolved": "packages/ace-linters",
+ "link": true
+ },
+ "node_modules/ace-lua-linter": {
+ "resolved": "packages/ace-lua-linter",
+ "link": true
+ },
+ "node_modules/ace-python-ruff-linter": {
+ "resolved": "packages/ace-python-ruff-linter",
+ "link": true
+ },
+ "node_modules/ace-sql-linter": {
+ "resolved": "packages/ace-sql-linter",
+ "link": true
+ },
+ "node_modules/ace-zig-linter": {
+ "resolved": "packages/ace-zig-linter",
+ "link": true
+ },
+ "node_modules/acorn": {
+ "version": "8.10.0",
"license": "MIT",
- "dependencies": {
- "safe-buffer": "5.2.1"
+ "bin": {
+ "acorn": "bin/acorn"
},
"engines": {
- "node": ">= 0.6"
+ "node": ">=0.4.0"
}
},
- "node_modules/content-type": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
- "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
+ "node_modules/acorn-import-attributes": {
+ "version": "1.9.5",
+ "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz",
+ "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
+ "peer": true,
+ "peerDependencies": {
+ "acorn": "^8"
}
},
- "node_modules/convert-source-map": {
- "version": "1.9.0",
- "dev": true,
- "license": "MIT"
+ "node_modules/acorn-jsx": {
+ "version": "5.3.2",
+ "license": "MIT",
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
},
- "node_modules/cookie": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz",
- "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==",
+ "node_modules/acorn-walk": {
+ "version": "8.2.0",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">= 0.6"
+ "node": ">=0.4.0"
}
},
- "node_modules/cookie-signature": {
- "version": "1.0.6",
+ "node_modules/agent-base": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz",
+ "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
},
- "node_modules/copy-webpack-plugin": {
- "version": "9.1.0",
+ "node_modules/aggregate-error": {
+ "version": "3.1.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "fast-glob": "^3.2.7",
- "glob-parent": "^6.0.1",
- "globby": "^11.0.3",
- "normalize-path": "^3.0.0",
- "schema-utils": "^3.1.1",
- "serialize-javascript": "^6.0.0"
+ "clean-stack": "^2.0.0",
+ "indent-string": "^4.0.0"
},
"engines": {
- "node": ">= 12.13.0"
+ "node": ">=8"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.12.6",
+ "license": "MIT",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
},
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "webpack": "^5.1.0"
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
}
},
- "node_modules/core-util-is": {
- "version": "1.0.3",
+ "node_modules/ajv-keywords": {
+ "version": "3.5.2",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "peer": true,
+ "peerDependencies": {
+ "ajv": "^6.9.1"
+ }
},
- "node_modules/corser": {
- "version": "2.0.1",
+ "node_modules/ansi-colors": {
+ "version": "4.1.1",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">= 0.4.0"
+ "node": ">=6"
}
},
- "node_modules/cosmiconfig": {
- "version": "9.0.0",
- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz",
- "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==",
- "dev": true,
+ "node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
"license": "MIT",
"dependencies": {
- "env-paths": "^2.2.1",
- "import-fresh": "^3.3.0",
- "js-yaml": "^4.1.0",
- "parse-json": "^5.2.0"
+ "color-convert": "^2.0.1"
},
"engines": {
- "node": ">=14"
+ "node": ">=8"
},
"funding": {
- "url": "https://github.com/sponsors/d-fischer"
- },
- "peerDependencies": {
- "typescript": ">=4.9.5"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/create-ecdh": {
- "version": "4.0.4",
+ "node_modules/antlr4-c3": {
+ "version": "3.3.7",
+ "resolved": "https://registry.npmjs.org/antlr4-c3/-/antlr4-c3-3.3.7.tgz",
+ "integrity": "sha512-F3ndE38wwA6z6AjUbL3heSdEGl4TxulGDPf9xB0/IY4dbRHWBh6XNaqFwur8vHKQk9FS5yNABHeg2wqlqIYO0w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "bn.js": "^4.1.0",
- "elliptic": "^6.5.3"
+ "antlr4ng": "2.0.11"
}
},
- "node_modules/create-ecdh/node_modules/bn.js": {
- "version": "4.12.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/create-hash": {
- "version": "1.2.0",
+ "node_modules/antlr4ng": {
+ "version": "2.0.11",
+ "resolved": "https://registry.npmjs.org/antlr4ng/-/antlr4ng-2.0.11.tgz",
+ "integrity": "sha512-9jM91VVtHSqHkAHQsXHaoaiewFETMvUTI1/tXvwTiFw4f7zke3IGlwEyoKN9NS0FqIwDKFvUNW2e1cKPniTkVQ==",
"dev": true,
- "license": "MIT",
- "dependencies": {
- "cipher-base": "^1.0.1",
- "inherits": "^2.0.1",
- "md5.js": "^1.3.4",
- "ripemd160": "^2.0.1",
- "sha.js": "^2.4.0"
+ "license": "BSD-3-Clause",
+ "peerDependencies": {
+ "antlr4ng-cli": "1.0.7"
}
},
- "node_modules/create-hmac": {
- "version": "1.1.7",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "cipher-base": "^1.0.3",
- "create-hash": "^1.1.0",
- "inherits": "^2.0.1",
- "ripemd160": "^2.0.0",
- "safe-buffer": "^5.0.1",
- "sha.js": "^2.4.8"
+ "node_modules/antlr4ng-cli": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/antlr4ng-cli/-/antlr4ng-cli-1.0.7.tgz",
+ "integrity": "sha512-qN2FsDBmLvsQcA5CWTrPz8I8gNXeS1fgXBBhI78VyxBSBV/EJgqy8ks6IDTC9jyugpl40csCQ4sL5K4i2YZ/2w==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "peer": true,
+ "bin": {
+ "antlr4ng": "index.js"
}
},
- "node_modules/create-require": {
- "version": "1.1.1",
+ "node_modules/anymatch": {
+ "version": "3.1.3",
"dev": true,
- "license": "MIT"
- },
- "node_modules/cross-spawn": {
- "version": "7.0.3",
- "license": "MIT",
+ "license": "ISC",
"dependencies": {
- "path-key": "^3.1.0",
- "shebang-command": "^2.0.0",
- "which": "^2.0.1"
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
},
"engines": {
"node": ">= 8"
}
},
- "node_modules/crypto-browserify": {
- "version": "3.12.0",
+ "node_modules/append-transform": {
+ "version": "2.0.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "browserify-cipher": "^1.0.0",
- "browserify-sign": "^4.0.0",
- "create-ecdh": "^4.0.0",
- "create-hash": "^1.1.0",
- "create-hmac": "^1.1.0",
- "diffie-hellman": "^5.0.0",
- "inherits": "^2.0.1",
- "pbkdf2": "^3.0.3",
- "public-encrypt": "^4.0.0",
- "randombytes": "^2.0.0",
- "randomfill": "^1.0.3"
+ "default-require-extensions": "^3.0.0"
},
"engines": {
- "node": "*"
+ "node": ">=8"
}
},
- "node_modules/data-uri-to-buffer": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz",
- "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==",
+ "node_modules/archy": {
+ "version": "1.0.0",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 14"
- }
- },
- "node_modules/debug": {
- "version": "4.3.4",
- "license": "MIT",
- "dependencies": {
- "ms": "2.1.2"
- },
- "engines": {
- "node": ">=6.0"
- },
- "peerDependenciesMeta": {
- "supports-color": {
- "optional": true
- }
- }
+ "license": "MIT"
},
- "node_modules/decamelize": {
- "version": "1.2.0",
+ "node_modules/arg": {
+ "version": "4.1.3",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
+ "license": "MIT"
},
- "node_modules/deep-eql": {
- "version": "4.1.3",
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "license": "Python-2.0"
+ },
+ "node_modules/asn1.js": {
+ "version": "4.10.1",
+ "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz",
+ "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "type-detect": "^4.0.0"
- },
- "engines": {
- "node": ">=6"
+ "bn.js": "^4.0.0",
+ "inherits": "^2.0.1",
+ "minimalistic-assert": "^1.0.0"
}
},
- "node_modules/deep-is": {
- "version": "0.1.4",
+ "node_modules/asn1.js/node_modules/bn.js": {
+ "version": "4.12.2",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.2.tgz",
+ "integrity": "sha512-n4DSx829VRTRByMRGdjQ9iqsN0Bh4OolPsFnaZBLcbi8iXcB+kJ9s7EnRt4wILZNV3kPLHkRVfOc/HvhC3ovDw==",
+ "dev": true,
"license": "MIT"
},
- "node_modules/default-gateway": {
- "version": "6.0.3",
+ "node_modules/assert": {
+ "version": "2.0.0",
"dev": true,
- "license": "BSD-2-Clause",
+ "license": "MIT",
"dependencies": {
- "execa": "^5.0.0"
- },
- "engines": {
- "node": ">= 10"
+ "es6-object-assign": "^1.1.0",
+ "is-nan": "^1.2.1",
+ "object-is": "^1.0.1",
+ "util": "^0.12.0"
}
},
- "node_modules/default-require-extensions": {
- "version": "3.0.1",
+ "node_modules/assertion-error": {
+ "version": "1.1.0",
"dev": true,
"license": "MIT",
- "dependencies": {
- "strip-bom": "^4.0.0"
- },
"engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": "*"
}
},
- "node_modules/define-data-property": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
- "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
+ "node_modules/ast-types": {
+ "version": "0.13.4",
+ "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz",
+ "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "es-define-property": "^1.0.0",
- "es-errors": "^1.3.0",
- "gopd": "^1.0.1"
+ "tslib": "^2.0.1"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=4"
}
},
- "node_modules/define-lazy-prop": {
- "version": "2.0.0",
+ "node_modules/async": {
+ "version": "3.2.3",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
+ "license": "MIT"
},
- "node_modules/define-properties": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
- "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
+ "node_modules/available-typed-arrays": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
+ "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "define-data-property": "^1.0.1",
- "has-property-descriptors": "^1.0.0",
- "object-keys": "^1.1.1"
+ "possible-typed-array-names": "^1.0.0"
},
"engines": {
"node": ">= 0.4"
@@ -2793,1666 +3088,1705 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/degenerator": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz",
- "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==",
+ "node_modules/b4a": {
+ "version": "1.6.6",
+ "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.6.tgz",
+ "integrity": "sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==",
"dev": true,
- "license": "MIT",
+ "license": "Apache-2.0"
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.2",
+ "license": "MIT"
+ },
+ "node_modules/bare-events": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.4.2.tgz",
+ "integrity": "sha512-qMKFd2qG/36aA4GwvKq8MxnPgCQAmBWmSyLWsJcbn8v03wvIPQ/hG1Ms8bPzndZxMDoHpxez5VOS+gC9Yi24/Q==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true
+ },
+ "node_modules/bare-fs": {
+ "version": "2.3.5",
+ "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.3.5.tgz",
+ "integrity": "sha512-SlE9eTxifPDJrT6YgemQ1WGFleevzwY+XAP1Xqgl56HtcrisC2CHCZ2tq6dBpcH2TnNxwUEUGhweo+lrQtYuiw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
"dependencies": {
- "ast-types": "^0.13.4",
- "escodegen": "^2.1.0",
- "esprima": "^4.0.1"
- },
- "engines": {
- "node": ">= 14"
+ "bare-events": "^2.0.0",
+ "bare-path": "^2.0.0",
+ "bare-stream": "^2.0.0"
}
},
- "node_modules/depd": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
- "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
+ "node_modules/bare-os": {
+ "version": "2.4.4",
+ "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.4.4.tgz",
+ "integrity": "sha512-z3UiI2yi1mK0sXeRdc4O1Kk8aOa/e+FNWZcTiPB/dfTWyLypuE99LibgRaQki914Jq//yAWylcAt+mknKdixRQ==",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
+ "license": "Apache-2.0",
+ "optional": true
+ },
+ "node_modules/bare-path": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.3.tgz",
+ "integrity": "sha512-lh/eITfU8hrj9Ru5quUp0Io1kJWIk1bTjzo7JH1P5dWmQ2EL4hFUlfI8FonAhSlgIfhn63p84CDY/x+PisgcXA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "dependencies": {
+ "bare-os": "^2.1.0"
}
},
- "node_modules/des.js": {
- "version": "1.1.0",
+ "node_modules/bare-stream": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.3.0.tgz",
+ "integrity": "sha512-pVRWciewGUeCyKEuRxwv06M079r+fRjAQjBEK2P6OYGrO43O+Z0LrPZZEjlc4mB6C2RpZ9AxJ1s7NLEtOHO6eA==",
"dev": true,
- "license": "MIT",
+ "license": "Apache-2.0",
+ "optional": true,
"dependencies": {
- "inherits": "^2.0.1",
- "minimalistic-assert": "^1.0.0"
+ "b4a": "^1.6.6",
+ "streamx": "^2.20.0"
}
},
- "node_modules/destroy": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
- "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
+ "node_modules/base64-js": {
+ "version": "1.5.1",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/basic-auth": {
+ "version": "2.0.1",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "safe-buffer": "5.1.2"
+ },
"engines": {
- "node": ">= 0.8",
- "npm": "1.2.8000 || >= 1.4.16"
+ "node": ">= 0.8"
}
},
- "node_modules/detect-node": {
- "version": "2.1.0",
+ "node_modules/basic-auth/node_modules/safe-buffer": {
+ "version": "5.1.2",
"dev": true,
"license": "MIT"
},
- "node_modules/devtools-protocol": {
- "version": "0.0.1342118",
- "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1342118.tgz",
- "integrity": "sha512-75fMas7PkYNDTmDyb6PRJCH7ILmHLp+BhrZGeMsa4bCh40DTxgCz2NRy5UDzII4C5KuD0oBMZ9vXKhEl6UD/3w==",
- "dev": true,
- "license": "BSD-3-Clause"
- },
- "node_modules/diff": {
- "version": "5.0.0",
+ "node_modules/basic-ftp": {
+ "version": "5.0.5",
+ "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz",
+ "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==",
"dev": true,
- "license": "BSD-3-Clause",
+ "license": "MIT",
"engines": {
- "node": ">=0.3.1"
+ "node": ">=10.0.0"
}
},
- "node_modules/diffie-hellman": {
- "version": "5.0.3",
+ "node_modules/binary-extensions": {
+ "version": "2.2.0",
"dev": true,
"license": "MIT",
- "dependencies": {
- "bn.js": "^4.1.0",
- "miller-rabin": "^4.0.0",
- "randombytes": "^2.0.0"
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/diffie-hellman/node_modules/bn.js": {
- "version": "4.12.0",
+ "node_modules/bn.js": {
+ "version": "5.2.2",
+ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.2.tgz",
+ "integrity": "sha512-v2YAxEmKaBLahNwE1mjp4WON6huMNeuDvagFZW+ASCuA/ku0bXR9hSMw0XpiqMoA3+rmnyck/tPRSFQkoC9Cuw==",
"dev": true,
"license": "MIT"
},
- "node_modules/dir-glob": {
- "version": "3.0.1",
+ "node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "path-type": "^4.0.0"
+ "fill-range": "^7.1.1"
},
"engines": {
"node": ">=8"
}
},
- "node_modules/dns-equal": {
- "version": "1.0.0",
+ "node_modules/brorand": {
+ "version": "1.1.0",
"dev": true,
"license": "MIT"
},
- "node_modules/dns-packet": {
- "version": "5.6.0",
+ "node_modules/browser-resolve": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-2.0.0.tgz",
+ "integrity": "sha512-7sWsQlYL2rGLy2IWm8WL8DCTJvYLc/qlOnsakDac87SOoCd16WLsaAMdCiAqsTNHIe+SXfaqyxyo6THoWqs8WQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@leichtgewicht/ip-codec": "^2.0.1"
- },
- "engines": {
- "node": ">=6"
+ "resolve": "^1.17.0"
}
},
- "node_modules/doctrine": {
- "version": "3.0.0",
- "license": "Apache-2.0",
+ "node_modules/browser-stdout": {
+ "version": "1.3.1",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/browserify-aes": {
+ "version": "1.2.0",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "esutils": "^2.0.2"
- },
- "engines": {
- "node": ">=6.0.0"
+ "buffer-xor": "^1.0.3",
+ "cipher-base": "^1.0.0",
+ "create-hash": "^1.1.0",
+ "evp_bytestokey": "^1.0.3",
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.0.1"
}
},
- "node_modules/domain-browser": {
- "version": "4.22.0",
+ "node_modules/browserify-cipher": {
+ "version": "1.0.1",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://bevry.me/fund"
+ "dependencies": {
+ "browserify-aes": "^1.0.4",
+ "browserify-des": "^1.0.0",
+ "evp_bytestokey": "^1.0.0"
}
},
- "node_modules/dt-sql-parser": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/dt-sql-parser/-/dt-sql-parser-4.1.1.tgz",
- "integrity": "sha512-9f4m+CxIzhIrFqW8g95bCRQd+B+WeiC+RgDinBL5hwxa9OXrC6iIbaUtmiMDLO3GDBONn9ybgc+kQzv+G7EKcg==",
+ "node_modules/browserify-des": {
+ "version": "1.0.2",
"dev": true,
"license": "MIT",
"dependencies": {
- "antlr4-c3": "3.3.7",
- "antlr4ng": "2.0.11"
- },
- "engines": {
- "node": ">=18"
+ "cipher-base": "^1.0.1",
+ "des.js": "^1.0.0",
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.1.2"
}
},
- "node_modules/dts-bundle-generator": {
- "version": "9.5.1",
- "resolved": "https://registry.npmjs.org/dts-bundle-generator/-/dts-bundle-generator-9.5.1.tgz",
- "integrity": "sha512-DxpJOb2FNnEyOzMkG11sxO2dmxPjthoVWxfKqWYJ/bI/rT1rvTMktF5EKjAYrRZu6Z6t3NhOUZ0sZ5ZXevOfbA==",
+ "node_modules/browserify-rsa": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.1.tgz",
+ "integrity": "sha512-YBjSAiTqM04ZVei6sXighu679a3SqWORA3qZTEqZImnlkDIFtKc6pNutpjyZ8RJTjQtuYfeetkxM11GwoYXMIQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "typescript": ">=5.0.2",
- "yargs": "^17.6.0"
- },
- "bin": {
- "dts-bundle-generator": "dist/bin/dts-bundle-generator.js"
+ "bn.js": "^5.2.1",
+ "randombytes": "^2.1.0",
+ "safe-buffer": "^5.2.1"
},
"engines": {
- "node": ">=14.0.0"
+ "node": ">= 0.10"
}
},
- "node_modules/dts-bundle-generator/node_modules/cliui": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
- "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
+ "node_modules/browserify-sign": {
+ "version": "4.2.5",
+ "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.5.tgz",
+ "integrity": "sha512-C2AUdAJg6rlM2W5QMp2Q4KGQMVBwR1lIimTsUnutJ8bMpW5B52pGpR2gEnNBNwijumDo5FojQ0L9JrXA8m4YEw==",
"dev": true,
"license": "ISC",
"dependencies": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.1",
- "wrap-ansi": "^7.0.0"
+ "bn.js": "^5.2.2",
+ "browserify-rsa": "^4.1.1",
+ "create-hash": "^1.2.0",
+ "create-hmac": "^1.1.7",
+ "elliptic": "^6.6.1",
+ "inherits": "^2.0.4",
+ "parse-asn1": "^5.1.9",
+ "readable-stream": "^2.3.8",
+ "safe-buffer": "^5.2.1"
},
"engines": {
- "node": ">=12"
+ "node": ">= 0.10"
}
},
- "node_modules/dts-bundle-generator/node_modules/yargs": {
- "version": "17.7.2",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
- "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
+ "node_modules/browserify-sign/node_modules/readable-stream": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
+ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "cliui": "^8.0.1",
- "escalade": "^3.1.1",
- "get-caller-file": "^2.0.5",
- "require-directory": "^2.1.1",
- "string-width": "^4.2.3",
- "y18n": "^5.0.5",
- "yargs-parser": "^21.1.1"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/dts-bundle-generator/node_modules/yargs-parser": {
- "version": "21.1.1",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
- "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
- "dev": true,
- "license": "ISC",
- "engines": {
- "node": ">=12"
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
}
},
- "node_modules/ee-first": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
- "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
+ "node_modules/browserify-sign/node_modules/readable-stream/node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
"dev": true,
"license": "MIT"
},
- "node_modules/electron-to-chromium": {
- "version": "1.5.6",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.6.tgz",
- "integrity": "sha512-jwXWsM5RPf6j9dPYzaorcBSUg6AiqocPEyMpkchkvntaH9HGfOOMZwxMJjDY/XEs3T5dM7uyH1VhRMkqUU9qVw==",
- "dev": true
- },
- "node_modules/elliptic": {
- "version": "6.5.7",
- "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.7.tgz",
- "integrity": "sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q==",
+ "node_modules/browserify-sign/node_modules/string_decoder": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "bn.js": "^4.11.9",
- "brorand": "^1.1.0",
- "hash.js": "^1.0.0",
- "hmac-drbg": "^1.0.1",
- "inherits": "^2.0.4",
- "minimalistic-assert": "^1.0.1",
- "minimalistic-crypto-utils": "^1.0.1"
+ "safe-buffer": "~5.1.0"
}
},
- "node_modules/elliptic/node_modules/bn.js": {
- "version": "4.12.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/emoji-regex": {
- "version": "8.0.0",
+ "node_modules/browserify-sign/node_modules/string_decoder/node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
"dev": true,
"license": "MIT"
},
- "node_modules/emojis-list": {
- "version": "3.0.0",
+ "node_modules/browserify-zlib": {
+ "version": "0.2.0",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">= 4"
+ "dependencies": {
+ "pako": "~1.0.5"
}
},
- "node_modules/encodeurl": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
- "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
+ "node_modules/browserslist": {
+ "version": "4.23.3",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz",
+ "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==",
"dev": true,
- "license": "MIT",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "dependencies": {
+ "caniuse-lite": "^1.0.30001646",
+ "electron-to-chromium": "^1.5.4",
+ "node-releases": "^2.0.18",
+ "update-browserslist-db": "^1.1.0"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
"engines": {
- "node": ">= 0.8"
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
}
},
- "node_modules/end-of-stream": {
- "version": "1.4.4",
- "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
- "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
+ "node_modules/buffer": {
+ "version": "6.0.3",
"dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
"license": "MIT",
"dependencies": {
- "once": "^1.4.0"
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.2.1"
}
},
- "node_modules/enhanced-resolve": {
- "version": "5.17.1",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz",
- "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==",
+ "node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
+ "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",
"dev": true,
- "dependencies": {
- "graceful-fs": "^4.2.4",
- "tapable": "^2.2.0"
- },
+ "license": "MIT",
"engines": {
- "node": ">=10.13.0"
+ "node": "*"
}
},
- "node_modules/env-paths": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
- "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
+ "node_modules/buffer-from": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
+ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
+ "peer": true
},
- "node_modules/envinfo": {
- "version": "7.10.0",
+ "node_modules/buffer-xor": {
+ "version": "1.0.3",
"dev": true,
- "license": "MIT",
- "bin": {
- "envinfo": "dist/cli.js"
- },
- "engines": {
- "node": ">=4"
- }
+ "license": "MIT"
},
- "node_modules/error-ex": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
- "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
+ "node_modules/builtin-status-codes": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/caching-transform": {
+ "version": "4.0.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-arrayish": "^0.2.1"
+ "hasha": "^5.0.0",
+ "make-dir": "^3.0.0",
+ "package-hash": "^4.0.0",
+ "write-file-atomic": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/es-define-property": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz",
- "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==",
+ "node_modules/call-bind": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz",
+ "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==",
"dev": true,
"license": "MIT",
"dependencies": {
- "get-intrinsic": "^1.2.4"
+ "call-bind-apply-helpers": "^1.0.0",
+ "es-define-property": "^1.0.0",
+ "get-intrinsic": "^1.2.4",
+ "set-function-length": "^1.2.2"
},
"engines": {
"node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/es-errors": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
- "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
+ "node_modules/call-bind-apply-helpers": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
+ "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2"
+ },
"engines": {
"node": ">= 0.4"
}
},
- "node_modules/es-module-lexer": {
- "version": "1.3.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/es6-error": {
- "version": "4.1.1",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/es6-object-assign": {
- "version": "1.1.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/esbuild": {
- "version": "0.20.2",
+ "node_modules/call-bound": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",
+ "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",
"dev": true,
- "hasInstallScript": true,
"license": "MIT",
- "bin": {
- "esbuild": "bin/esbuild"
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.2",
+ "get-intrinsic": "^1.3.0"
},
"engines": {
- "node": ">=12"
+ "node": ">= 0.4"
},
- "optionalDependencies": {
- "@esbuild/aix-ppc64": "0.20.2",
- "@esbuild/android-arm": "0.20.2",
- "@esbuild/android-arm64": "0.20.2",
- "@esbuild/android-x64": "0.20.2",
- "@esbuild/darwin-arm64": "0.20.2",
- "@esbuild/darwin-x64": "0.20.2",
- "@esbuild/freebsd-arm64": "0.20.2",
- "@esbuild/freebsd-x64": "0.20.2",
- "@esbuild/linux-arm": "0.20.2",
- "@esbuild/linux-arm64": "0.20.2",
- "@esbuild/linux-ia32": "0.20.2",
- "@esbuild/linux-loong64": "0.20.2",
- "@esbuild/linux-mips64el": "0.20.2",
- "@esbuild/linux-ppc64": "0.20.2",
- "@esbuild/linux-riscv64": "0.20.2",
- "@esbuild/linux-s390x": "0.20.2",
- "@esbuild/linux-x64": "0.20.2",
- "@esbuild/netbsd-x64": "0.20.2",
- "@esbuild/openbsd-x64": "0.20.2",
- "@esbuild/sunos-x64": "0.20.2",
- "@esbuild/win32-arm64": "0.20.2",
- "@esbuild/win32-ia32": "0.20.2",
- "@esbuild/win32-x64": "0.20.2"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/escalade": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz",
- "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==",
- "dev": true,
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "license": "MIT",
"engines": {
"node": ">=6"
}
},
- "node_modules/escape-html": {
- "version": "1.0.3",
+ "node_modules/camelcase": {
+ "version": "5.3.1",
"dev": true,
- "license": "MIT"
- },
- "node_modules/escape-string-regexp": {
- "version": "4.0.0",
"license": "MIT",
"engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=6"
}
},
- "node_modules/escodegen": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz",
- "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==",
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001651",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001651.tgz",
+ "integrity": "sha512-9Cf+Xv1jJNe1xPZLGuUXLNkE1BoDkqRqYyFJ9TDYSqhduqA4hu4oR9HluGoWYQC/aj8WHjsGVV+bwkh0+tegRg==",
"dev": true,
- "license": "BSD-2-Clause",
- "dependencies": {
- "esprima": "^4.0.1",
- "estraverse": "^5.2.0",
- "esutils": "^2.0.2"
- },
- "bin": {
- "escodegen": "bin/escodegen.js",
- "esgenerate": "bin/esgenerate.js"
- },
- "engines": {
- "node": ">=6.0"
- },
- "optionalDependencies": {
- "source-map": "~0.6.1"
- }
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ]
},
- "node_modules/escodegen/node_modules/estraverse": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
- "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
+ "node_modules/chai": {
+ "version": "4.3.7",
"dev": true,
- "license": "BSD-2-Clause",
+ "license": "MIT",
+ "dependencies": {
+ "assertion-error": "^1.1.0",
+ "check-error": "^1.0.2",
+ "deep-eql": "^4.1.2",
+ "get-func-name": "^2.0.0",
+ "loupe": "^2.3.1",
+ "pathval": "^1.1.1",
+ "type-detect": "^4.0.5"
+ },
"engines": {
- "node": ">=4.0"
+ "node": ">=4"
}
},
- "node_modules/eslint": {
- "version": "8.45.0",
+ "node_modules/chalk": {
+ "version": "4.1.2",
"license": "MIT",
"dependencies": {
- "@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.1.0",
- "@eslint/js": "8.44.0",
- "@humanwhocodes/config-array": "^0.11.10",
- "@humanwhocodes/module-importer": "^1.0.1",
- "@nodelib/fs.walk": "^1.2.8",
- "ajv": "^6.10.0",
- "chalk": "^4.0.0",
- "cross-spawn": "^7.0.2",
- "debug": "^4.3.2",
- "doctrine": "^3.0.0",
- "escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.1",
- "espree": "^9.6.0",
- "esquery": "^1.4.2",
- "esutils": "^2.0.2",
- "fast-deep-equal": "^3.1.3",
- "file-entry-cache": "^6.0.1",
- "find-up": "^5.0.0",
- "glob-parent": "^6.0.2",
- "globals": "^13.19.0",
- "graphemer": "^1.4.0",
- "ignore": "^5.2.0",
- "imurmurhash": "^0.1.4",
- "is-glob": "^4.0.0",
- "is-path-inside": "^3.0.3",
- "js-yaml": "^4.1.0",
- "json-stable-stringify-without-jsonify": "^1.0.1",
- "levn": "^0.4.1",
- "lodash.merge": "^4.6.2",
- "minimatch": "^3.1.2",
- "natural-compare": "^1.4.0",
- "optionator": "^0.9.3",
- "strip-ansi": "^6.0.1",
- "text-table": "^0.2.0"
- },
- "bin": {
- "eslint": "bin/eslint.js"
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
},
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ "node": ">=10"
},
"funding": {
- "url": "https://opencollective.com/eslint"
+ "url": "https://github.com/chalk/chalk?sponsor=1"
}
},
- "node_modules/eslint-scope": {
- "version": "5.1.1",
- "dev": true,
- "license": "BSD-2-Clause",
+ "node_modules/chalk/node_modules/supports-color": {
+ "version": "7.2.0",
+ "license": "MIT",
"dependencies": {
- "esrecurse": "^4.3.0",
- "estraverse": "^4.1.1"
+ "has-flag": "^4.0.0"
},
"engines": {
- "node": ">=8.0.0"
+ "node": ">=8"
}
},
- "node_modules/eslint-visitor-keys": {
- "version": "3.4.1",
- "license": "Apache-2.0",
+ "node_modules/check-error": {
+ "version": "1.0.2",
+ "dev": true,
+ "license": "MIT",
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
+ "node": "*"
}
},
- "node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.2.1",
- "license": "BSD-2-Clause",
+ "node_modules/chevrotain": {
+ "version": "7.1.1",
+ "dev": true,
+ "license": "Apache-2.0",
"dependencies": {
- "esrecurse": "^4.3.0",
- "estraverse": "^5.2.0"
- },
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
+ "regexp-to-ast": "0.5.0"
}
},
- "node_modules/eslint/node_modules/estraverse": {
- "version": "5.3.0",
- "license": "BSD-2-Clause",
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/eslint/node_modules/find-up": {
- "version": "5.0.0",
+ "node_modules/chokidar": {
+ "version": "3.5.3",
+ "dev": true,
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://paulmillr.com/funding/"
+ }
+ ],
"license": "MIT",
"dependencies": {
- "locate-path": "^6.0.0",
- "path-exists": "^4.0.0"
+ "anymatch": "~3.1.2",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.2",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.6.0"
},
"engines": {
- "node": ">=10"
+ "node": ">= 8.10.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
}
},
- "node_modules/eslint/node_modules/locate-path": {
- "version": "6.0.0",
- "license": "MIT",
+ "node_modules/chokidar/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "dev": true,
+ "license": "ISC",
"dependencies": {
- "p-locate": "^5.0.0"
+ "is-glob": "^4.0.1"
},
"engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">= 6"
}
},
- "node_modules/eslint/node_modules/p-limit": {
- "version": "3.1.0",
+ "node_modules/chrome-trace-event": {
+ "version": "1.0.3",
+ "dev": true,
"license": "MIT",
- "dependencies": {
- "yocto-queue": "^0.1.0"
- },
+ "peer": true,
"engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=6.0"
}
},
- "node_modules/eslint/node_modules/p-locate": {
- "version": "5.0.0",
- "license": "MIT",
+ "node_modules/chromium-bidi": {
+ "version": "0.6.5",
+ "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.6.5.tgz",
+ "integrity": "sha512-RuLrmzYrxSb0s9SgpB+QN5jJucPduZQ/9SIe76MDxYJuecPW5mxMdacJ1f4EtgiV+R0p3sCkznTMvH0MPGFqjA==",
+ "dev": true,
+ "license": "Apache-2.0",
"dependencies": {
- "p-limit": "^3.0.2"
- },
- "engines": {
- "node": ">=10"
+ "mitt": "3.0.1",
+ "urlpattern-polyfill": "10.0.0",
+ "zod": "3.23.8"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "devtools-protocol": "*"
}
},
- "node_modules/espree": {
- "version": "9.6.1",
- "license": "BSD-2-Clause",
+ "node_modules/cipher-base": {
+ "version": "1.0.4",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "acorn": "^8.9.0",
- "acorn-jsx": "^5.3.2",
- "eslint-visitor-keys": "^3.4.1"
- },
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.0.1"
}
},
- "node_modules/esprima": {
- "version": "4.0.1",
+ "node_modules/clean-stack": {
+ "version": "2.2.0",
"dev": true,
- "license": "BSD-2-Clause",
- "bin": {
- "esparse": "bin/esparse.js",
- "esvalidate": "bin/esvalidate.js"
- },
+ "license": "MIT",
"engines": {
- "node": ">=4"
+ "node": ">=6"
}
},
- "node_modules/esquery": {
- "version": "1.5.0",
- "license": "BSD-3-Clause",
+ "node_modules/cliui": {
+ "version": "7.0.4",
+ "dev": true,
+ "license": "ISC",
"dependencies": {
- "estraverse": "^5.1.0"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/esquery/node_modules/estraverse": {
- "version": "5.3.0",
- "license": "BSD-2-Clause",
- "engines": {
- "node": ">=4.0"
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.0",
+ "wrap-ansi": "^7.0.0"
}
},
- "node_modules/esrecurse": {
- "version": "4.3.0",
- "license": "BSD-2-Clause",
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "license": "MIT",
"dependencies": {
- "estraverse": "^5.2.0"
+ "color-name": "~1.1.4"
},
"engines": {
- "node": ">=4.0"
+ "node": ">=7.0.0"
}
},
- "node_modules/esrecurse/node_modules/estraverse": {
- "version": "5.3.0",
- "license": "BSD-2-Clause",
- "engines": {
- "node": ">=4.0"
- }
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "license": "MIT"
},
- "node_modules/estraverse": {
- "version": "4.3.0",
+ "node_modules/commander": {
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
"dev": true,
- "license": "BSD-2-Clause",
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/esutils": {
- "version": "2.0.3",
- "license": "BSD-2-Clause",
- "engines": {
- "node": ">=0.10.0"
- }
+ "peer": true
},
- "node_modules/etag": {
- "version": "1.8.1",
- "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
- "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
+ "node_modules/commondir": {
+ "version": "1.0.1",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
+ "license": "MIT"
},
- "node_modules/eventemitter3": {
- "version": "4.0.7",
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "license": "MIT"
+ },
+ "node_modules/console-browserify": {
+ "version": "1.2.0",
+ "dev": true
+ },
+ "node_modules/constants-browserify": {
+ "version": "1.0.0",
"dev": true,
"license": "MIT"
},
- "node_modules/events": {
- "version": "3.3.0",
+ "node_modules/convert-source-map": {
+ "version": "1.9.0",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.8.x"
- }
+ "license": "MIT"
},
- "node_modules/evp_bytestokey": {
+ "node_modules/core-util-is": {
"version": "1.0.3",
"dev": true,
+ "license": "MIT"
+ },
+ "node_modules/corser": {
+ "version": "2.0.1",
+ "dev": true,
"license": "MIT",
- "dependencies": {
- "md5.js": "^1.3.4",
- "safe-buffer": "^5.1.1"
+ "engines": {
+ "node": ">= 0.4.0"
}
},
- "node_modules/execa": {
- "version": "5.1.1",
+ "node_modules/cosmiconfig": {
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz",
+ "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "cross-spawn": "^7.0.3",
- "get-stream": "^6.0.0",
- "human-signals": "^2.1.0",
- "is-stream": "^2.0.0",
- "merge-stream": "^2.0.0",
- "npm-run-path": "^4.0.1",
- "onetime": "^5.1.2",
- "signal-exit": "^3.0.3",
- "strip-final-newline": "^2.0.0"
+ "env-paths": "^2.2.1",
+ "import-fresh": "^3.3.0",
+ "js-yaml": "^4.1.0",
+ "parse-json": "^5.2.0"
},
"engines": {
- "node": ">=10"
+ "node": ">=14"
},
"funding": {
- "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ "url": "https://github.com/sponsors/d-fischer"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.9.5"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
}
},
- "node_modules/execa/node_modules/get-stream": {
- "version": "6.0.1",
+ "node_modules/create-ecdh": {
+ "version": "4.0.4",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "dependencies": {
+ "bn.js": "^4.1.0",
+ "elliptic": "^6.5.3"
}
},
- "node_modules/express": {
- "version": "4.21.0",
- "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz",
- "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "accepts": "~1.3.8",
- "array-flatten": "1.1.1",
- "body-parser": "1.20.3",
- "content-disposition": "0.5.4",
- "content-type": "~1.0.4",
- "cookie": "0.6.0",
- "cookie-signature": "1.0.6",
- "debug": "2.6.9",
- "depd": "2.0.0",
- "encodeurl": "~2.0.0",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "finalhandler": "1.3.1",
- "fresh": "0.5.2",
- "http-errors": "2.0.0",
- "merge-descriptors": "1.0.3",
- "methods": "~1.1.2",
- "on-finished": "2.4.1",
- "parseurl": "~1.3.3",
- "path-to-regexp": "0.1.10",
- "proxy-addr": "~2.0.7",
- "qs": "6.13.0",
- "range-parser": "~1.2.1",
- "safe-buffer": "5.2.1",
- "send": "0.19.0",
- "serve-static": "1.16.2",
- "setprototypeof": "1.2.0",
- "statuses": "2.0.1",
- "type-is": "~1.6.18",
- "utils-merge": "1.0.1",
- "vary": "~1.1.2"
- },
- "engines": {
- "node": ">= 0.10.0"
- }
- },
- "node_modules/express/node_modules/array-flatten": {
- "version": "1.1.1",
+ "node_modules/create-ecdh/node_modules/bn.js": {
+ "version": "4.12.0",
"dev": true,
"license": "MIT"
},
- "node_modules/express/node_modules/debug": {
- "version": "2.6.9",
+ "node_modules/create-hash": {
+ "version": "1.2.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "ms": "2.0.0"
+ "cipher-base": "^1.0.1",
+ "inherits": "^2.0.1",
+ "md5.js": "^1.3.4",
+ "ripemd160": "^2.0.1",
+ "sha.js": "^2.4.0"
}
},
- "node_modules/express/node_modules/ms": {
- "version": "2.0.0",
+ "node_modules/create-hmac": {
+ "version": "1.1.7",
"dev": true,
- "license": "MIT"
- },
- "node_modules/extract-zip": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",
- "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",
- "dev": true,
- "license": "BSD-2-Clause",
+ "license": "MIT",
"dependencies": {
- "debug": "^4.1.1",
- "get-stream": "^5.1.0",
- "yauzl": "^2.10.0"
- },
- "bin": {
- "extract-zip": "cli.js"
- },
- "engines": {
- "node": ">= 10.17.0"
- },
- "optionalDependencies": {
- "@types/yauzl": "^2.9.1"
+ "cipher-base": "^1.0.3",
+ "create-hash": "^1.1.0",
+ "inherits": "^2.0.1",
+ "ripemd160": "^2.0.0",
+ "safe-buffer": "^5.0.1",
+ "sha.js": "^2.4.8"
}
},
- "node_modules/fast-deep-equal": {
- "version": "3.1.3",
- "license": "MIT"
- },
- "node_modules/fast-fifo": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz",
- "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==",
+ "node_modules/create-require": {
+ "version": "1.1.1",
"dev": true,
"license": "MIT"
},
- "node_modules/fast-glob": {
- "version": "3.3.0",
- "dev": true,
+ "node_modules/cross-spawn": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
"license": "MIT",
"dependencies": {
- "@nodelib/fs.stat": "^2.0.2",
- "@nodelib/fs.walk": "^1.2.3",
- "glob-parent": "^5.1.2",
- "merge2": "^1.3.0",
- "micromatch": "^4.0.4"
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
},
"engines": {
- "node": ">=8.6.0"
+ "node": ">= 8"
}
},
- "node_modules/fast-glob/node_modules/glob-parent": {
- "version": "5.1.2",
+ "node_modules/crypto-browserify": {
+ "version": "3.12.1",
+ "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.1.tgz",
+ "integrity": "sha512-r4ESw/IlusD17lgQi1O20Fa3qNnsckR126TdUuBgAu7GBYSIPvdNyONd3Zrxh0xCwA4+6w/TDArBPsMvhur+KQ==",
"dev": true,
- "license": "ISC",
+ "license": "MIT",
"dependencies": {
- "is-glob": "^4.0.1"
+ "browserify-cipher": "^1.0.1",
+ "browserify-sign": "^4.2.3",
+ "create-ecdh": "^4.0.4",
+ "create-hash": "^1.2.0",
+ "create-hmac": "^1.1.7",
+ "diffie-hellman": "^5.0.3",
+ "hash-base": "~3.0.4",
+ "inherits": "^2.0.4",
+ "pbkdf2": "^3.1.2",
+ "public-encrypt": "^4.0.3",
+ "randombytes": "^2.1.0",
+ "randomfill": "^1.0.4"
},
"engines": {
- "node": ">= 6"
+ "node": ">= 0.10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/fast-json-stable-stringify": {
- "version": "2.1.0",
- "license": "MIT"
- },
- "node_modules/fast-levenshtein": {
- "version": "2.0.6",
- "license": "MIT"
- },
- "node_modules/fast-uri": {
- "version": "3.0.6",
- "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz",
- "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/fastify"
- },
- {
- "type": "opencollective",
- "url": "https://opencollective.com/fastify"
- }
- ],
- "license": "BSD-3-Clause"
- },
- "node_modules/fastest-levenshtein": {
- "version": "1.0.16",
+ "node_modules/crypto-browserify/node_modules/hash-base": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.5.tgz",
+ "integrity": "sha512-vXm0l45VbcHEVlTCzs8M+s0VeYsB2lnlAaThoLKGXr3bE/VWDOelNUnycUPEhKEaXARL2TEFjBOyUiM6+55KBg==",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">= 4.9.1"
- }
- },
- "node_modules/fastq": {
- "version": "1.15.0",
- "license": "ISC",
- "dependencies": {
- "reusify": "^1.0.4"
- }
- },
- "node_modules/faye-websocket": {
- "version": "0.11.4",
- "dev": true,
- "license": "Apache-2.0",
"dependencies": {
- "websocket-driver": ">=0.5.1"
+ "inherits": "^2.0.4",
+ "safe-buffer": "^5.2.1"
},
"engines": {
- "node": ">=0.8.0"
+ "node": ">= 0.10"
}
},
- "node_modules/fd-slicer": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
- "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==",
+ "node_modules/data-uri-to-buffer": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz",
+ "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "pend": "~1.2.0"
- }
- },
- "node_modules/file-entry-cache": {
- "version": "6.0.1",
- "license": "MIT",
- "dependencies": {
- "flat-cache": "^3.0.4"
- },
"engines": {
- "node": "^10.12.0 || >=12.0.0"
+ "node": ">= 14"
}
},
- "node_modules/fill-range": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
- "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
- "dev": true,
+ "node_modules/debug": {
+ "version": "4.3.4",
"license": "MIT",
"dependencies": {
- "to-regex-range": "^5.0.1"
+ "ms": "2.1.2"
},
"engines": {
- "node": ">=8"
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
}
},
- "node_modules/filter-obj": {
- "version": "2.0.2",
+ "node_modules/decamelize": {
+ "version": "1.2.0",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=8"
+ "node": ">=0.10.0"
}
},
- "node_modules/finalhandler": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz",
- "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==",
+ "node_modules/deep-eql": {
+ "version": "4.1.3",
"dev": true,
"license": "MIT",
"dependencies": {
- "debug": "2.6.9",
- "encodeurl": "~2.0.0",
- "escape-html": "~1.0.3",
- "on-finished": "2.4.1",
- "parseurl": "~1.3.3",
- "statuses": "2.0.1",
- "unpipe": "~1.0.0"
+ "type-detect": "^4.0.0"
},
"engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/finalhandler/node_modules/debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "ms": "2.0.0"
+ "node": ">=6"
}
},
- "node_modules/finalhandler/node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
- "dev": true,
+ "node_modules/deep-is": {
+ "version": "0.1.4",
"license": "MIT"
},
- "node_modules/find-cache-dir": {
- "version": "3.3.2",
+ "node_modules/default-require-extensions": {
+ "version": "3.0.1",
"dev": true,
"license": "MIT",
"dependencies": {
- "commondir": "^1.0.1",
- "make-dir": "^3.0.2",
- "pkg-dir": "^4.1.0"
+ "strip-bom": "^4.0.0"
},
"engines": {
"node": ">=8"
},
"funding": {
- "url": "https://github.com/avajs/find-cache-dir?sponsor=1"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/find-up": {
- "version": "4.1.0",
+ "node_modules/define-data-property": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
+ "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
"dev": true,
"license": "MIT",
"dependencies": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
+ "es-define-property": "^1.0.0",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.0.1"
},
"engines": {
- "node": ">=8"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/flat": {
- "version": "5.0.2",
+ "node_modules/define-properties": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
+ "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
"dev": true,
- "license": "BSD-3-Clause",
- "bin": {
- "flat": "cli.js"
- }
- },
- "node_modules/flat-cache": {
- "version": "3.0.4",
"license": "MIT",
"dependencies": {
- "flatted": "^3.1.0",
- "rimraf": "^3.0.2"
+ "define-data-property": "^1.0.1",
+ "has-property-descriptors": "^1.0.0",
+ "object-keys": "^1.1.1"
},
"engines": {
- "node": "^10.12.0 || >=12.0.0"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/flatted": {
- "version": "3.2.7",
- "license": "ISC"
- },
- "node_modules/follow-redirects": {
- "version": "1.15.9",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz",
- "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==",
+ "node_modules/degenerator": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz",
+ "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==",
"dev": true,
- "funding": [
- {
- "type": "individual",
- "url": "https://github.com/sponsors/RubenVerborgh"
- }
- ],
"license": "MIT",
- "engines": {
- "node": ">=4.0"
+ "dependencies": {
+ "ast-types": "^0.13.4",
+ "escodegen": "^2.1.0",
+ "esprima": "^4.0.1"
},
- "peerDependenciesMeta": {
- "debug": {
- "optional": true
- }
+ "engines": {
+ "node": ">= 14"
}
},
- "node_modules/for-each": {
- "version": "0.3.3",
+ "node_modules/des.js": {
+ "version": "1.1.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-callable": "^1.1.3"
+ "inherits": "^2.0.1",
+ "minimalistic-assert": "^1.0.0"
}
},
- "node_modules/foreground-child": {
- "version": "2.0.0",
+ "node_modules/detect-libc": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
"dev": true,
- "license": "ISC",
- "dependencies": {
- "cross-spawn": "^7.0.0",
- "signal-exit": "^3.0.2"
- },
+ "license": "Apache-2.0",
"engines": {
- "node": ">=8.0.0"
+ "node": ">=8"
}
},
- "node_modules/forwarded": {
- "version": "0.2.0",
+ "node_modules/devtools-protocol": {
+ "version": "0.0.1342118",
+ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1342118.tgz",
+ "integrity": "sha512-75fMas7PkYNDTmDyb6PRJCH7ILmHLp+BhrZGeMsa4bCh40DTxgCz2NRy5UDzII4C5KuD0oBMZ9vXKhEl6UD/3w==",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/diff": {
+ "version": "5.0.0",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.3.1"
}
},
- "node_modules/fresh": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
- "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
+ "node_modules/diffie-hellman": {
+ "version": "5.0.3",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">= 0.6"
+ "dependencies": {
+ "bn.js": "^4.1.0",
+ "miller-rabin": "^4.0.0",
+ "randombytes": "^2.0.0"
}
},
- "node_modules/fromentries": {
- "version": "1.3.2",
+ "node_modules/diffie-hellman/node_modules/bn.js": {
+ "version": "4.12.0",
"dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
"license": "MIT"
},
- "node_modules/fs-extra": {
- "version": "11.2.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz",
- "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==",
- "dev": true,
- "license": "MIT",
+ "node_modules/doctrine": {
+ "version": "3.0.0",
+ "license": "Apache-2.0",
"dependencies": {
- "graceful-fs": "^4.2.0",
- "jsonfile": "^6.0.1",
- "universalify": "^2.0.0"
+ "esutils": "^2.0.2"
},
"engines": {
- "node": ">=14.14"
+ "node": ">=6.0.0"
}
},
- "node_modules/fs-monkey": {
- "version": "1.0.4",
- "dev": true,
- "license": "Unlicense"
- },
- "node_modules/fs.realpath": {
- "version": "1.0.0",
- "license": "ISC"
- },
- "node_modules/fsevents": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "node_modules/domain-browser": {
+ "version": "4.22.0",
"dev": true,
- "hasInstallScript": true,
"license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
"engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://bevry.me/fund"
}
},
- "node_modules/function-bind": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
- "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "node_modules/dt-sql-parser": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/dt-sql-parser/-/dt-sql-parser-4.4.0.tgz",
+ "integrity": "sha512-nTQa8iO5Bb9c+BA5Dpsc8Jz548ee6JSL4SUMcXVgAZwWDlTj3+ZPgNzAnI+V7J6/lSHhx0RaJaOWk/ce4DIitA==",
"dev": true,
"license": "MIT",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "dependencies": {
+ "antlr4-c3": "3.3.7",
+ "antlr4ng": "2.0.11"
+ },
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/gensync": {
- "version": "1.0.0-beta.2",
+ "node_modules/dts-bundle-generator": {
+ "version": "9.5.1",
+ "resolved": "https://registry.npmjs.org/dts-bundle-generator/-/dts-bundle-generator-9.5.1.tgz",
+ "integrity": "sha512-DxpJOb2FNnEyOzMkG11sxO2dmxPjthoVWxfKqWYJ/bI/rT1rvTMktF5EKjAYrRZu6Z6t3NhOUZ0sZ5ZXevOfbA==",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "typescript": ">=5.0.2",
+ "yargs": "^17.6.0"
+ },
+ "bin": {
+ "dts-bundle-generator": "dist/bin/dts-bundle-generator.js"
+ },
"engines": {
- "node": ">=6.9.0"
+ "node": ">=14.0.0"
}
},
- "node_modules/get-caller-file": {
- "version": "2.0.5",
+ "node_modules/dts-bundle-generator/node_modules/cliui": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
"dev": true,
"license": "ISC",
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.1",
+ "wrap-ansi": "^7.0.0"
+ },
"engines": {
- "node": "6.* || 8.* || >= 10.*"
+ "node": ">=12"
}
},
- "node_modules/get-func-name": {
- "version": "2.0.2",
+ "node_modules/dts-bundle-generator/node_modules/yargs": {
+ "version": "17.7.2",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
+ "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "cliui": "^8.0.1",
+ "escalade": "^3.1.1",
+ "get-caller-file": "^2.0.5",
+ "require-directory": "^2.1.1",
+ "string-width": "^4.2.3",
+ "y18n": "^5.0.5",
+ "yargs-parser": "^21.1.1"
+ },
"engines": {
- "node": "*"
+ "node": ">=12"
}
},
- "node_modules/get-intrinsic": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz",
- "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==",
+ "node_modules/dts-bundle-generator/node_modules/yargs-parser": {
+ "version": "21.1.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/dunder-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
+ "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
"dev": true,
"license": "MIT",
"dependencies": {
+ "call-bind-apply-helpers": "^1.0.1",
"es-errors": "^1.3.0",
- "function-bind": "^1.1.2",
- "has-proto": "^1.0.1",
- "has-symbols": "^1.0.3",
- "hasown": "^2.0.0"
+ "gopd": "^1.2.0"
},
"engines": {
"node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/get-package-type": {
- "version": "0.1.0",
+ "node_modules/eastasianwidth": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
+ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.5.6",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.6.tgz",
+ "integrity": "sha512-jwXWsM5RPf6j9dPYzaorcBSUg6AiqocPEyMpkchkvntaH9HGfOOMZwxMJjDY/XEs3T5dM7uyH1VhRMkqUU9qVw==",
+ "dev": true
+ },
+ "node_modules/elliptic": {
+ "version": "6.6.1",
+ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.6.1.tgz",
+ "integrity": "sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g==",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">=8.0.0"
+ "dependencies": {
+ "bn.js": "^4.11.9",
+ "brorand": "^1.1.0",
+ "hash.js": "^1.0.0",
+ "hmac-drbg": "^1.0.1",
+ "inherits": "^2.0.4",
+ "minimalistic-assert": "^1.0.1",
+ "minimalistic-crypto-utils": "^1.0.1"
}
},
- "node_modules/get-stream": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
- "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
+ "node_modules/elliptic/node_modules/bn.js": {
+ "version": "4.12.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/end-of-stream": {
+ "version": "1.4.4",
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
+ "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
"dev": true,
"license": "MIT",
"dependencies": {
- "pump": "^3.0.0"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "once": "^1.4.0"
}
},
- "node_modules/get-uri": {
- "version": "6.0.3",
- "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.3.tgz",
- "integrity": "sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==",
+ "node_modules/enhanced-resolve": {
+ "version": "5.17.1",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz",
+ "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==",
"dev": true,
- "license": "MIT",
+ "peer": true,
"dependencies": {
- "basic-ftp": "^5.0.2",
- "data-uri-to-buffer": "^6.0.2",
- "debug": "^4.3.4",
- "fs-extra": "^11.2.0"
+ "graceful-fs": "^4.2.4",
+ "tapable": "^2.2.0"
},
"engines": {
- "node": ">= 14"
+ "node": ">=10.13.0"
}
},
- "node_modules/glob": {
- "version": "7.2.3",
- "license": "ISC",
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.1.1",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
+ "node_modules/env-paths": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
+ "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
+ "dev": true,
+ "license": "MIT",
"engines": {
- "node": "*"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
+ "node": ">=6"
}
},
- "node_modules/glob-parent": {
- "version": "6.0.2",
- "license": "ISC",
+ "node_modules/error-ex": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "is-glob": "^4.0.3"
- },
- "engines": {
- "node": ">=10.13.0"
+ "is-arrayish": "^0.2.1"
}
},
- "node_modules/glob-to-regexp": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz",
- "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==",
- "dev": true
- },
- "node_modules/globals": {
- "version": "13.20.0",
+ "node_modules/es-define-property": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
+ "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
+ "dev": true,
"license": "MIT",
- "dependencies": {
- "type-fest": "^0.20.2"
- },
"engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">= 0.4"
}
},
- "node_modules/globby": {
- "version": "11.1.0",
+ "node_modules/es-errors": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "array-union": "^2.1.0",
- "dir-glob": "^3.0.1",
- "fast-glob": "^3.2.9",
- "ignore": "^5.2.0",
- "merge2": "^1.4.1",
- "slash": "^3.0.0"
- },
"engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">= 0.4"
}
},
- "node_modules/gopd": {
- "version": "1.0.1",
+ "node_modules/es-module-lexer": {
+ "version": "1.3.0",
+ "dev": true,
+ "license": "MIT",
+ "peer": true
+ },
+ "node_modules/es-object-atoms": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
+ "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "get-intrinsic": "^1.1.3"
+ "es-errors": "^1.3.0"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "engines": {
+ "node": ">= 0.4"
}
},
- "node_modules/graceful-fs": {
- "version": "4.2.11",
+ "node_modules/es6-error": {
+ "version": "4.1.1",
"dev": true,
- "license": "ISC"
- },
- "node_modules/graphemer": {
- "version": "1.4.0",
"license": "MIT"
},
- "node_modules/handle-thing": {
- "version": "2.0.1",
+ "node_modules/es6-object-assign": {
+ "version": "1.1.0",
"dev": true,
"license": "MIT"
},
- "node_modules/has": {
- "version": "1.0.3",
+ "node_modules/esbuild": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.2.tgz",
+ "integrity": "sha512-HyNQImnsOC7X9PMNaCIeAm4ISCQXs5a5YasTXVliKv4uuBo1dKrG0A+uQS8M5eXjVMnLg3WgXaKvprHlFJQffw==",
"dev": true,
+ "hasInstallScript": true,
"license": "MIT",
- "dependencies": {
- "function-bind": "^1.1.1"
+ "bin": {
+ "esbuild": "bin/esbuild"
},
"engines": {
- "node": ">= 0.4.0"
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.27.2",
+ "@esbuild/android-arm": "0.27.2",
+ "@esbuild/android-arm64": "0.27.2",
+ "@esbuild/android-x64": "0.27.2",
+ "@esbuild/darwin-arm64": "0.27.2",
+ "@esbuild/darwin-x64": "0.27.2",
+ "@esbuild/freebsd-arm64": "0.27.2",
+ "@esbuild/freebsd-x64": "0.27.2",
+ "@esbuild/linux-arm": "0.27.2",
+ "@esbuild/linux-arm64": "0.27.2",
+ "@esbuild/linux-ia32": "0.27.2",
+ "@esbuild/linux-loong64": "0.27.2",
+ "@esbuild/linux-mips64el": "0.27.2",
+ "@esbuild/linux-ppc64": "0.27.2",
+ "@esbuild/linux-riscv64": "0.27.2",
+ "@esbuild/linux-s390x": "0.27.2",
+ "@esbuild/linux-x64": "0.27.2",
+ "@esbuild/netbsd-arm64": "0.27.2",
+ "@esbuild/netbsd-x64": "0.27.2",
+ "@esbuild/openbsd-arm64": "0.27.2",
+ "@esbuild/openbsd-x64": "0.27.2",
+ "@esbuild/openharmony-arm64": "0.27.2",
+ "@esbuild/sunos-x64": "0.27.2",
+ "@esbuild/win32-arm64": "0.27.2",
+ "@esbuild/win32-ia32": "0.27.2",
+ "@esbuild/win32-x64": "0.27.2"
+ }
+ },
+ "node_modules/esbuild/node_modules/@esbuild/aix-ppc64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.2.tgz",
+ "integrity": "sha512-GZMB+a0mOMZs4MpDbj8RJp4cw+w1WV5NYD6xzgvzUJ5Ek2jerwfO2eADyI6ExDSUED+1X8aMbegahsJi+8mgpw==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "peer": true,
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/has-flag": {
- "version": "4.0.0",
+ "node_modules/esbuild/node_modules/@esbuild/android-arm": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.2.tgz",
+ "integrity": "sha512-DVNI8jlPa7Ujbr1yjU2PfUSRtAUZPG9I1RwW4F4xFB1Imiu2on0ADiI/c3td+KmDtVKNbi+nffGDQMfcIMkwIA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
"license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "peer": true,
"engines": {
- "node": ">=8"
+ "node": ">=18"
}
},
- "node_modules/has-property-descriptors": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
- "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
+ "node_modules/esbuild/node_modules/@esbuild/android-arm64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.2.tgz",
+ "integrity": "sha512-pvz8ZZ7ot/RBphf8fv60ljmaoydPU12VuXHImtAs0XhLLw+EXBi2BLe3OYSBslR4rryHvweW5gmkKFwTiFy6KA==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "es-define-property": "^1.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "peer": true,
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/has-proto": {
- "version": "1.0.1",
+ "node_modules/esbuild/node_modules/@esbuild/android-x64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.2.tgz",
+ "integrity": "sha512-z8Ank4Byh4TJJOh4wpz8g2vDy75zFL0TlZlkUkEwYXuPSgX8yzep596n6mT7905kA9uHZsf/o2OJZubl2l3M7A==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "peer": true,
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=18"
}
},
- "node_modules/has-symbols": {
- "version": "1.0.3",
+ "node_modules/esbuild/node_modules/@esbuild/darwin-arm64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.2.tgz",
+ "integrity": "sha512-davCD2Zc80nzDVRwXTcQP/28fiJbcOwvdolL0sOiOsbwBa72kegmVU0Wrh1MYrbuCL98Omp5dVhQFWRKR2ZAlg==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
"license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "peer": true,
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=18"
}
},
- "node_modules/has-tostringtag": {
- "version": "1.0.0",
+ "node_modules/esbuild/node_modules/@esbuild/darwin-x64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.2.tgz",
+ "integrity": "sha512-ZxtijOmlQCBWGwbVmwOF/UCzuGIbUkqB1faQRf5akQmxRJ1ujusWsb3CVfk/9iZKr2L5SMU5wPBi1UWbvL+VQA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "has-symbols": "^1.0.2"
- },
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "peer": true,
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=18"
}
},
- "node_modules/hash-base": {
- "version": "3.1.0",
+ "node_modules/esbuild/node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.2.tgz",
+ "integrity": "sha512-lS/9CN+rgqQ9czogxlMcBMGd+l8Q3Nj1MFQwBZJyoEKI50XGxwuzznYdwcav6lpOGv5BqaZXqvBSiB/kJ5op+g==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "inherits": "^2.0.4",
- "readable-stream": "^3.6.0",
- "safe-buffer": "^5.2.0"
- },
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "peer": true,
"engines": {
- "node": ">=4"
+ "node": ">=18"
}
},
- "node_modules/hash.js": {
- "version": "1.1.7",
+ "node_modules/esbuild/node_modules/@esbuild/freebsd-x64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.2.tgz",
+ "integrity": "sha512-tAfqtNYb4YgPnJlEFu4c212HYjQWSO/w/h/lQaBK7RbwGIkBOuNKQI9tqWzx7Wtp7bTPaGC6MJvWI608P3wXYA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "inherits": "^2.0.3",
- "minimalistic-assert": "^1.0.1"
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "peer": true,
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/hasha": {
- "version": "5.2.2",
+ "node_modules/esbuild/node_modules/@esbuild/linux-arm": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.2.tgz",
+ "integrity": "sha512-vWfq4GaIMP9AIe4yj1ZUW18RDhx6EPQKjwe7n8BbIecFtCQG4CfHGaHuh7fdfq+y3LIA2vGS/o9ZBGVxIDi9hw==",
+ "cpu": [
+ "arm"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "is-stream": "^2.0.0",
- "type-fest": "^0.8.0"
- },
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
"engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=18"
}
},
- "node_modules/hasha/node_modules/type-fest": {
- "version": "0.8.1",
+ "node_modules/esbuild/node_modules/@esbuild/linux-arm64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.2.tgz",
+ "integrity": "sha512-hYxN8pr66NsCCiRFkHUAsxylNOcAQaxSSkHMMjcpx0si13t1LHFphxJZUiGwojB1a/Hd5OiPIqDdXONia6bhTw==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "(MIT OR CC0-1.0)",
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
"engines": {
- "node": ">=8"
+ "node": ">=18"
}
},
- "node_modules/hasown": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
- "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
+ "node_modules/esbuild/node_modules/@esbuild/linux-ia32": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.2.tgz",
+ "integrity": "sha512-MJt5BRRSScPDwG2hLelYhAAKh9imjHK5+NE/tvnRLbIqUWa+0E9N4WNMjmp/kXXPHZGqPLxggwVhz7QP8CTR8w==",
+ "cpu": [
+ "ia32"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "function-bind": "^1.1.2"
- },
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
"engines": {
- "node": ">= 0.4"
+ "node": ">=18"
}
},
- "node_modules/he": {
- "version": "1.2.0",
+ "node_modules/esbuild/node_modules/@esbuild/linux-loong64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.2.tgz",
+ "integrity": "sha512-lugyF1atnAT463aO6KPshVCJK5NgRnU4yb3FUumyVz+cGvZbontBgzeGFO1nF+dPueHD367a2ZXe1NtUkAjOtg==",
+ "cpu": [
+ "loong64"
+ ],
"dev": true,
"license": "MIT",
- "bin": {
- "he": "bin/he"
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/hmac-drbg": {
- "version": "1.0.1",
+ "node_modules/esbuild/node_modules/@esbuild/linux-mips64el": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.2.tgz",
+ "integrity": "sha512-nlP2I6ArEBewvJ2gjrrkESEZkB5mIoaTswuqNFRv/WYd+ATtUpe9Y09RnJvgvdag7he0OWgEZWhviS1OTOKixw==",
+ "cpu": [
+ "mips64el"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "hash.js": "^1.0.3",
- "minimalistic-assert": "^1.0.0",
- "minimalistic-crypto-utils": "^1.0.1"
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/hpack.js": {
- "version": "2.1.6",
+ "node_modules/esbuild/node_modules/@esbuild/linux-ppc64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.2.tgz",
+ "integrity": "sha512-C92gnpey7tUQONqg1n6dKVbx3vphKtTHJaNG2Ok9lGwbZil6DrfyecMsp9CrmXGQJmZ7iiVXvvZH6Ml5hL6XdQ==",
+ "cpu": [
+ "ppc64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "inherits": "^2.0.1",
- "obuf": "^1.0.0",
- "readable-stream": "^2.0.1",
- "wbuf": "^1.1.0"
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/hpack.js/node_modules/readable-stream": {
- "version": "2.3.8",
+ "node_modules/esbuild/node_modules/@esbuild/linux-riscv64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.2.tgz",
+ "integrity": "sha512-B5BOmojNtUyN8AXlK0QJyvjEZkWwy/FKvakkTDCziX95AowLZKR6aCDhG7LeF7uMCXEJqwa8Bejz5LTPYm8AvA==",
+ "cpu": [
+ "riscv64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "core-util-is": "~1.0.0",
- "inherits": "~2.0.3",
- "isarray": "~1.0.0",
- "process-nextick-args": "~2.0.0",
- "safe-buffer": "~5.1.1",
- "string_decoder": "~1.1.1",
- "util-deprecate": "~1.0.1"
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/hpack.js/node_modules/safe-buffer": {
- "version": "5.1.2",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/hpack.js/node_modules/string_decoder": {
- "version": "1.1.1",
+ "node_modules/esbuild/node_modules/@esbuild/linux-s390x": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.2.tgz",
+ "integrity": "sha512-p4bm9+wsPwup5Z8f4EpfN63qNagQ47Ua2znaqGH6bqLlmJ4bx97Y9JdqxgGZ6Y8xVTixUnEkoKSHcpRlDnNr5w==",
+ "cpu": [
+ "s390x"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "safe-buffer": "~5.1.0"
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/html-encoding-sniffer": {
- "version": "3.0.0",
+ "node_modules/esbuild/node_modules/@esbuild/linux-x64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.2.tgz",
+ "integrity": "sha512-uwp2Tip5aPmH+NRUwTcfLb+W32WXjpFejTIOWZFw/v7/KnpCDKG66u4DLcurQpiYTiYwQ9B7KOeMJvLCu/OvbA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "whatwg-encoding": "^2.0.0"
- },
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "peer": true,
"engines": {
- "node": ">=12"
+ "node": ">=18"
}
},
- "node_modules/html-entities": {
- "version": "2.4.0",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/mdevils"
- },
- {
- "type": "patreon",
- "url": "https://patreon.com/mdevils"
- }
+ "node_modules/esbuild/node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.2.tgz",
+ "integrity": "sha512-Kj6DiBlwXrPsCRDeRvGAUb/LNrBASrfqAIok+xB0LxK8CHqxZ037viF13ugfsIpePH93mX7xfJp97cyDuTZ3cw==",
+ "cpu": [
+ "arm64"
],
- "license": "MIT"
- },
- "node_modules/html-escaper": {
- "version": "2.0.2",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/htmlhint": {
- "version": "1.1.4",
"dev": true,
"license": "MIT",
- "dependencies": {
- "async": "3.2.3",
- "chalk": "^4.1.2",
- "commander": "^9.1.0",
- "glob": "^7.2.0",
- "is-glob": "^4.0.3",
- "node-fetch": "^2.6.2",
- "strip-json-comments": "3.1.0",
- "xml": "1.0.1"
- },
- "bin": {
- "htmlhint": "bin/htmlhint"
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "peer": true,
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/htmlhint/node_modules/commander": {
- "version": "9.5.0",
+ "node_modules/esbuild/node_modules/@esbuild/netbsd-x64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.2.tgz",
+ "integrity": "sha512-HwGDZ0VLVBY3Y+Nw0JexZy9o/nUAWq9MlV7cahpaXKW6TOzfVno3y3/M8Ga8u8Yr7GldLOov27xiCnqRZf0tCA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "peer": true,
"engines": {
- "node": "^12.20.0 || >=14"
+ "node": ">=18"
}
},
- "node_modules/htmlhint/node_modules/strip-json-comments": {
- "version": "3.1.0",
+ "node_modules/esbuild/node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.2.tgz",
+ "integrity": "sha512-DNIHH2BPQ5551A7oSHD0CKbwIA/Ox7+78/AWkbS5QoRzaqlev2uFayfSxq68EkonB+IKjiuxBFoV8ESJy8bOHA==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
"license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "peer": true,
"engines": {
- "node": ">=8"
+ "node": ">=18"
}
},
- "node_modules/http-deceiver": {
- "version": "1.2.7",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/http-errors": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
- "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
+ "node_modules/esbuild/node_modules/@esbuild/openbsd-x64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.2.tgz",
+ "integrity": "sha512-/it7w9Nb7+0KFIzjalNJVR5bOzA9Vay+yIPLVHfIQYG/j+j9VTH84aNB8ExGKPU4AzfaEvN9/V4HV+F+vo8OEg==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "depd": "2.0.0",
- "inherits": "2.0.4",
- "setprototypeof": "1.2.0",
- "statuses": "2.0.1",
- "toidentifier": "1.0.1"
- },
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "peer": true,
"engines": {
- "node": ">= 0.8"
+ "node": ">=18"
}
},
- "node_modules/http-parser-js": {
- "version": "0.5.8",
+ "node_modules/esbuild/node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.2.tgz",
+ "integrity": "sha512-LRBbCmiU51IXfeXk59csuX/aSaToeG7w48nMwA6049Y4J4+VbWALAuXcs+qcD04rHDuSCSRKdmY63sruDS5qag==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "peer": true,
+ "engines": {
+ "node": ">=18"
+ }
},
- "node_modules/http-proxy": {
- "version": "1.18.1",
+ "node_modules/esbuild/node_modules/@esbuild/sunos-x64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.2.tgz",
+ "integrity": "sha512-kMtx1yqJHTmqaqHPAzKCAkDaKsffmXkPHThSfRwZGyuqyIeBvf08KSsYXl+abf5HDAPMJIPnbBfXvP2ZC2TfHg==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "eventemitter3": "^4.0.0",
- "follow-redirects": "^1.0.0",
- "requires-port": "^1.0.0"
- },
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "peer": true,
"engines": {
- "node": ">=8.0.0"
+ "node": ">=18"
}
},
- "node_modules/http-proxy-agent": {
- "version": "7.0.2",
- "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz",
- "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==",
+ "node_modules/esbuild/node_modules/@esbuild/win32-arm64": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.2.tgz",
+ "integrity": "sha512-Yaf78O/B3Kkh+nKABUF++bvJv5Ijoy9AN1ww904rOXZFLWVc5OLOfL56W+C8F9xn5JQZa3UX6m+IktJnIb1Jjg==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "agent-base": "^7.1.0",
- "debug": "^4.3.4"
- },
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "peer": true,
"engines": {
- "node": ">= 14"
+ "node": ">=18"
}
},
- "node_modules/http-proxy-middleware": {
- "version": "2.0.6",
+ "node_modules/esbuild/node_modules/@esbuild/win32-ia32": {
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.2.tgz",
+ "integrity": "sha512-Iuws0kxo4yusk7sw70Xa2E2imZU5HoixzxfGCdxwBdhiDgt9vX9VUCBhqcwY7/uh//78A1hMkkROMJq9l27oLQ==",
+ "cpu": [
+ "ia32"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "@types/http-proxy": "^1.17.8",
- "http-proxy": "^1.18.1",
- "is-glob": "^4.0.1",
- "is-plain-obj": "^3.0.0",
- "micromatch": "^4.0.2"
- },
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "peer": true,
"engines": {
- "node": ">=12.0.0"
- },
- "peerDependencies": {
- "@types/express": "^4.17.13"
- },
- "peerDependenciesMeta": {
- "@types/express": {
- "optional": true
- }
+ "node": ">=18"
}
},
- "node_modules/http-proxy-middleware/node_modules/is-plain-obj": {
- "version": "3.0.0",
+ "node_modules/escalade": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz",
+ "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==",
"dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
"license": "MIT",
"engines": {
"node": ">=10"
@@ -4461,749 +4795,866 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/http-server": {
- "version": "14.1.1",
+ "node_modules/escodegen": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz",
+ "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==",
"dev": true,
- "license": "MIT",
+ "license": "BSD-2-Clause",
"dependencies": {
- "basic-auth": "^2.0.1",
- "chalk": "^4.1.2",
- "corser": "^2.0.1",
- "he": "^1.2.0",
- "html-encoding-sniffer": "^3.0.0",
- "http-proxy": "^1.18.1",
- "mime": "^1.6.0",
- "minimist": "^1.2.6",
- "opener": "^1.5.1",
- "portfinder": "^1.0.28",
- "secure-compare": "3.0.1",
- "union": "~0.5.0",
- "url-join": "^4.0.1"
+ "esprima": "^4.0.1",
+ "estraverse": "^5.2.0",
+ "esutils": "^2.0.2"
},
"bin": {
- "http-server": "bin/http-server"
+ "escodegen": "bin/escodegen.js",
+ "esgenerate": "bin/esgenerate.js"
},
"engines": {
- "node": ">=12"
- }
- },
- "node_modules/https-browserify": {
- "version": "1.0.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/https-proxy-agent": {
- "version": "7.0.5",
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz",
- "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "agent-base": "^7.0.2",
- "debug": "4"
+ "node": ">=6.0"
},
- "engines": {
- "node": ">= 14"
+ "optionalDependencies": {
+ "source-map": "~0.6.1"
}
},
- "node_modules/human-signals": {
- "version": "2.1.0",
+ "node_modules/escodegen/node_modules/estraverse": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
"dev": true,
- "license": "Apache-2.0",
+ "license": "BSD-2-Clause",
"engines": {
- "node": ">=10.17.0"
+ "node": ">=4.0"
}
},
- "node_modules/iconv-lite": {
- "version": "0.6.3",
- "dev": true,
+ "node_modules/eslint": {
+ "version": "8.45.0",
"license": "MIT",
"dependencies": {
- "safer-buffer": ">= 2.1.2 < 3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
+ "@eslint-community/eslint-utils": "^4.2.0",
+ "@eslint-community/regexpp": "^4.4.0",
+ "@eslint/eslintrc": "^2.1.0",
+ "@eslint/js": "8.44.0",
+ "@humanwhocodes/config-array": "^0.11.10",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@nodelib/fs.walk": "^1.2.8",
+ "ajv": "^6.10.0",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.2",
+ "debug": "^4.3.2",
+ "doctrine": "^3.0.0",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^7.2.0",
+ "eslint-visitor-keys": "^3.4.1",
+ "espree": "^9.6.0",
+ "esquery": "^1.4.2",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^6.0.1",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "globals": "^13.19.0",
+ "graphemer": "^1.4.0",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "is-path-inside": "^3.0.3",
+ "js-yaml": "^4.1.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "levn": "^0.4.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.2",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3",
+ "strip-ansi": "^6.0.1",
+ "text-table": "^0.2.0"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
}
},
- "node_modules/ieee754": {
- "version": "1.2.1",
+ "node_modules/eslint-scope": {
+ "version": "5.1.1",
"dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "BSD-3-Clause"
+ "license": "BSD-2-Clause",
+ "peer": true,
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^4.1.1"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
},
- "node_modules/ignore": {
- "version": "5.2.4",
- "license": "MIT",
+ "node_modules/eslint-visitor-keys": {
+ "version": "3.4.1",
+ "license": "Apache-2.0",
"engines": {
- "node": ">= 4"
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
}
},
- "node_modules/import-fresh": {
- "version": "3.3.0",
- "license": "MIT",
+ "node_modules/eslint/node_modules/eslint-scope": {
+ "version": "7.2.1",
+ "license": "BSD-2-Clause",
"dependencies": {
- "parent-module": "^1.0.0",
- "resolve-from": "^4.0.0"
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
},
"engines": {
- "node": ">=6"
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://opencollective.com/eslint"
}
},
- "node_modules/import-fresh/node_modules/resolve-from": {
- "version": "4.0.0",
- "license": "MIT",
+ "node_modules/eslint/node_modules/estraverse": {
+ "version": "5.3.0",
+ "license": "BSD-2-Clause",
"engines": {
- "node": ">=4"
+ "node": ">=4.0"
}
},
- "node_modules/import-local": {
- "version": "3.1.0",
- "dev": true,
+ "node_modules/eslint/node_modules/find-up": {
+ "version": "5.0.0",
"license": "MIT",
"dependencies": {
- "pkg-dir": "^4.2.0",
- "resolve-cwd": "^3.0.0"
- },
- "bin": {
- "import-local-fixture": "fixtures/cli.js"
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
},
"engines": {
- "node": ">=8"
+ "node": ">=10"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/imurmurhash": {
- "version": "0.1.4",
- "license": "MIT",
- "engines": {
- "node": ">=0.8.19"
- }
- },
- "node_modules/indent-string": {
- "version": "4.0.0",
- "dev": true,
+ "node_modules/eslint/node_modules/locate-path": {
+ "version": "6.0.0",
"license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/inflight": {
- "version": "1.0.6",
- "license": "ISC",
"dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
- "node_modules/inherits": {
- "version": "2.0.4",
- "license": "ISC"
- },
- "node_modules/interpret": {
- "version": "2.2.0",
- "dev": true,
- "license": "MIT",
+ "p-locate": "^5.0.0"
+ },
"engines": {
- "node": ">= 0.10"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/ip-address": {
- "version": "9.0.5",
- "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz",
- "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==",
- "dev": true,
+ "node_modules/eslint/node_modules/p-limit": {
+ "version": "3.1.0",
"license": "MIT",
"dependencies": {
- "jsbn": "1.1.0",
- "sprintf-js": "^1.1.3"
+ "yocto-queue": "^0.1.0"
},
"engines": {
- "node": ">= 12"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/ip-address/node_modules/sprintf-js": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz",
- "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==",
- "dev": true,
- "license": "BSD-3-Clause"
- },
- "node_modules/ipaddr.js": {
- "version": "2.1.0",
- "dev": true,
+ "node_modules/eslint/node_modules/p-locate": {
+ "version": "5.0.0",
"license": "MIT",
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
"engines": {
- "node": ">= 10"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-arguments": {
- "version": "1.1.1",
- "dev": true,
- "license": "MIT",
+ "node_modules/espree": {
+ "version": "9.6.1",
+ "license": "BSD-2-Clause",
"dependencies": {
- "call-bind": "^1.0.2",
- "has-tostringtag": "^1.0.0"
+ "acorn": "^8.9.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^3.4.1"
},
"engines": {
- "node": ">= 0.4"
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://opencollective.com/eslint"
}
},
- "node_modules/is-arrayish": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
- "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
+ "node_modules/esprima": {
+ "version": "4.0.1",
"dev": true,
- "license": "MIT"
+ "license": "BSD-2-Clause",
+ "bin": {
+ "esparse": "bin/esparse.js",
+ "esvalidate": "bin/esvalidate.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
},
- "node_modules/is-binary-path": {
- "version": "2.1.0",
- "dev": true,
- "license": "MIT",
+ "node_modules/esquery": {
+ "version": "1.5.0",
+ "license": "BSD-3-Clause",
"dependencies": {
- "binary-extensions": "^2.0.0"
+ "estraverse": "^5.1.0"
},
"engines": {
- "node": ">=8"
+ "node": ">=0.10"
}
},
- "node_modules/is-callable": {
- "version": "1.2.7",
- "dev": true,
- "license": "MIT",
+ "node_modules/esquery/node_modules/estraverse": {
+ "version": "5.3.0",
+ "license": "BSD-2-Clause",
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=4.0"
}
},
- "node_modules/is-core-module": {
- "version": "2.12.1",
- "dev": true,
- "license": "MIT",
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "license": "BSD-2-Clause",
"dependencies": {
- "has": "^1.0.3"
+ "estraverse": "^5.2.0"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "engines": {
+ "node": ">=4.0"
}
},
- "node_modules/is-docker": {
- "version": "2.2.1",
+ "node_modules/esrecurse/node_modules/estraverse": {
+ "version": "5.3.0",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "4.3.0",
"dev": true,
- "license": "MIT",
- "bin": {
- "is-docker": "cli.js"
- },
+ "license": "BSD-2-Clause",
+ "peer": true,
"engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=4.0"
}
},
- "node_modules/is-extglob": {
- "version": "2.1.1",
- "license": "MIT",
+ "node_modules/estree-walker": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/esutils": {
+ "version": "2.0.3",
+ "license": "BSD-2-Clause",
"engines": {
"node": ">=0.10.0"
}
},
- "node_modules/is-fullwidth-code-point": {
- "version": "3.0.0",
+ "node_modules/eventemitter3": {
+ "version": "4.0.7",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/events": {
+ "version": "3.3.0",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=8"
+ "node": ">=0.8.x"
}
},
- "node_modules/is-generator-function": {
- "version": "1.0.10",
+ "node_modules/evp_bytestokey": {
+ "version": "1.0.3",
"dev": true,
"license": "MIT",
"dependencies": {
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "md5.js": "^1.3.4",
+ "safe-buffer": "^5.1.1"
}
},
- "node_modules/is-glob": {
- "version": "4.0.3",
- "license": "MIT",
+ "node_modules/extract-zip": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",
+ "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
"dependencies": {
- "is-extglob": "^2.1.1"
+ "debug": "^4.1.1",
+ "get-stream": "^5.1.0",
+ "yauzl": "^2.10.0"
+ },
+ "bin": {
+ "extract-zip": "cli.js"
},
"engines": {
- "node": ">=0.10.0"
+ "node": ">= 10.17.0"
+ },
+ "optionalDependencies": {
+ "@types/yauzl": "^2.9.1"
}
},
- "node_modules/is-nan": {
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "license": "MIT"
+ },
+ "node_modules/fast-fifo": {
"version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz",
+ "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==",
"dev": true,
- "license": "MIT",
+ "license": "MIT"
+ },
+ "node_modules/fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "license": "MIT"
+ },
+ "node_modules/fast-levenshtein": {
+ "version": "2.0.6",
+ "license": "MIT"
+ },
+ "node_modules/fast-uri": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz",
+ "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/fastify"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/fastify"
+ }
+ ],
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/fastq": {
+ "version": "1.15.0",
+ "license": "ISC",
"dependencies": {
- "call-bind": "^1.0.0",
- "define-properties": "^1.1.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "reusify": "^1.0.4"
}
},
- "node_modules/is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "node_modules/fd-slicer": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
+ "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">=0.12.0"
+ "dependencies": {
+ "pend": "~1.2.0"
}
},
- "node_modules/is-path-inside": {
- "version": "3.0.3",
+ "node_modules/file-entry-cache": {
+ "version": "6.0.1",
"license": "MIT",
+ "dependencies": {
+ "flat-cache": "^3.0.4"
+ },
"engines": {
- "node": ">=8"
+ "node": "^10.12.0 || >=12.0.0"
}
},
- "node_modules/is-plain-obj": {
- "version": "2.1.0",
+ "node_modules/fill-range": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
"engines": {
"node": ">=8"
}
},
- "node_modules/is-plain-object": {
- "version": "2.0.4",
+ "node_modules/filter-obj": {
+ "version": "2.0.2",
"dev": true,
"license": "MIT",
- "dependencies": {
- "isobject": "^3.0.1"
- },
"engines": {
- "node": ">=0.10.0"
+ "node": ">=8"
}
},
- "node_modules/is-stream": {
- "version": "2.0.1",
+ "node_modules/find-cache-dir": {
+ "version": "3.3.2",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "commondir": "^1.0.1",
+ "make-dir": "^3.0.2",
+ "pkg-dir": "^4.1.0"
+ },
"engines": {
"node": ">=8"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/avajs/find-cache-dir?sponsor=1"
}
},
- "node_modules/is-typed-array": {
- "version": "1.1.12",
+ "node_modules/find-up": {
+ "version": "4.1.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "which-typed-array": "^1.1.11"
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=8"
}
},
- "node_modules/is-typedarray": {
- "version": "1.0.0",
+ "node_modules/flat": {
+ "version": "5.0.2",
"dev": true,
- "license": "MIT"
+ "license": "BSD-3-Clause",
+ "bin": {
+ "flat": "cli.js"
+ }
},
- "node_modules/is-unicode-supported": {
- "version": "0.1.0",
- "dev": true,
+ "node_modules/flat-cache": {
+ "version": "3.0.4",
"license": "MIT",
- "engines": {
- "node": ">=10"
+ "dependencies": {
+ "flatted": "^3.1.0",
+ "rimraf": "^3.0.2"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "engines": {
+ "node": "^10.12.0 || >=12.0.0"
}
},
- "node_modules/is-windows": {
- "version": "1.0.2",
+ "node_modules/flatted": {
+ "version": "3.2.7",
+ "license": "ISC"
+ },
+ "node_modules/follow-redirects": {
+ "version": "1.15.9",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz",
+ "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==",
"dev": true,
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/RubenVerborgh"
+ }
+ ],
"license": "MIT",
"engines": {
- "node": ">=0.10.0"
+ "node": ">=4.0"
+ },
+ "peerDependenciesMeta": {
+ "debug": {
+ "optional": true
+ }
}
},
- "node_modules/is-wsl": {
- "version": "2.2.0",
+ "node_modules/for-each": {
+ "version": "0.3.5",
+ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz",
+ "integrity": "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-docker": "^2.0.0"
+ "is-callable": "^1.2.7"
},
"engines": {
- "node": ">=8"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/isarray": {
- "version": "1.0.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/isexe": {
+ "node_modules/foreground-child": {
"version": "2.0.0",
- "license": "ISC"
- },
- "node_modules/isobject": {
- "version": "3.0.1",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
+ "dependencies": {
+ "cross-spawn": "^7.0.0",
+ "signal-exit": "^3.0.2"
+ },
"engines": {
- "node": ">=0.10.0"
+ "node": ">=8.0.0"
}
},
- "node_modules/istanbul-lib-coverage": {
- "version": "3.2.0",
+ "node_modules/fromentries": {
+ "version": "1.3.2",
"dev": true,
- "license": "BSD-3-Clause",
- "engines": {
- "node": ">=8"
- }
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
},
- "node_modules/istanbul-lib-hook": {
- "version": "3.0.0",
+ "node_modules/fs-extra": {
+ "version": "11.2.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz",
+ "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==",
"dev": true,
- "license": "BSD-3-Clause",
+ "license": "MIT",
"dependencies": {
- "append-transform": "^2.0.0"
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
},
"engines": {
- "node": ">=8"
+ "node": ">=14.14"
}
},
- "node_modules/istanbul-lib-instrument": {
- "version": "4.0.3",
+ "node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "license": "ISC"
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
"dev": true,
- "license": "BSD-3-Clause",
- "dependencies": {
- "@babel/core": "^7.7.5",
- "@istanbuljs/schema": "^0.1.2",
- "istanbul-lib-coverage": "^3.0.0",
- "semver": "^6.3.0"
- },
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
"engines": {
- "node": ">=8"
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
}
},
- "node_modules/istanbul-lib-processinfo": {
- "version": "2.0.3",
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/get-caller-file": {
+ "version": "2.0.5",
"dev": true,
"license": "ISC",
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
+ }
+ },
+ "node_modules/get-func-name": {
+ "version": "2.0.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/get-intrinsic": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
+ "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "archy": "^1.0.0",
- "cross-spawn": "^7.0.3",
- "istanbul-lib-coverage": "^3.2.0",
- "p-map": "^3.0.0",
- "rimraf": "^3.0.0",
- "uuid": "^8.3.2"
+ "call-bind-apply-helpers": "^1.0.2",
+ "es-define-property": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.1.1",
+ "function-bind": "^1.1.2",
+ "get-proto": "^1.0.1",
+ "gopd": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "hasown": "^2.0.2",
+ "math-intrinsics": "^1.1.0"
},
"engines": {
- "node": ">=8"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/istanbul-lib-report": {
- "version": "3.0.0",
+ "node_modules/get-package-type": {
+ "version": "0.1.0",
"dev": true,
- "license": "BSD-3-Clause",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/get-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
+ "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "istanbul-lib-coverage": "^3.0.0",
- "make-dir": "^3.0.0",
- "supports-color": "^7.1.0"
+ "dunder-proto": "^1.0.1",
+ "es-object-atoms": "^1.0.0"
},
"engines": {
- "node": ">=8"
+ "node": ">= 0.4"
}
},
- "node_modules/istanbul-lib-report/node_modules/supports-color": {
- "version": "7.2.0",
+ "node_modules/get-stream": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "has-flag": "^4.0.0"
+ "pump": "^3.0.0"
},
"engines": {
"node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/istanbul-lib-source-maps": {
- "version": "4.0.1",
+ "node_modules/get-uri": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.3.tgz",
+ "integrity": "sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==",
"dev": true,
- "license": "BSD-3-Clause",
+ "license": "MIT",
"dependencies": {
- "debug": "^4.1.1",
- "istanbul-lib-coverage": "^3.0.0",
- "source-map": "^0.6.1"
+ "basic-ftp": "^5.0.2",
+ "data-uri-to-buffer": "^6.0.2",
+ "debug": "^4.3.4",
+ "fs-extra": "^11.2.0"
},
"engines": {
- "node": ">=10"
+ "node": ">= 14"
}
},
- "node_modules/istanbul-reports": {
- "version": "3.1.5",
- "dev": true,
- "license": "BSD-3-Clause",
+ "node_modules/glob": {
+ "version": "7.2.3",
+ "license": "ISC",
"dependencies": {
- "html-escaper": "^2.0.0",
- "istanbul-lib-report": "^3.0.0"
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
},
"engines": {
- "node": ">=8"
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/jest-worker": {
- "version": "27.5.1",
- "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz",
- "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==",
- "dev": true,
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "license": "ISC",
"dependencies": {
- "@types/node": "*",
- "merge-stream": "^2.0.0",
- "supports-color": "^8.0.0"
+ "is-glob": "^4.0.3"
},
"engines": {
- "node": ">= 10.13.0"
+ "node": ">=10.13.0"
}
},
- "node_modules/js-tokens": {
- "version": "4.0.0",
+ "node_modules/glob-to-regexp": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz",
+ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==",
"dev": true,
- "license": "MIT"
+ "peer": true
},
- "node_modules/js-yaml": {
- "version": "4.1.0",
+ "node_modules/globals": {
+ "version": "13.20.0",
"license": "MIT",
"dependencies": {
- "argparse": "^2.0.1"
+ "type-fest": "^0.20.2"
},
- "bin": {
- "js-yaml": "bin/js-yaml.js"
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/jsbn": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz",
- "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/jsesc": {
- "version": "2.5.2",
+ "node_modules/gopd": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
+ "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
"dev": true,
"license": "MIT",
- "bin": {
- "jsesc": "bin/jsesc"
- },
"engines": {
- "node": ">=4"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/json-parse-even-better-errors": {
- "version": "2.3.1",
+ "node_modules/graceful-fs": {
+ "version": "4.2.11",
"dev": true,
- "license": "MIT"
- },
- "node_modules/json-schema-traverse": {
- "version": "0.4.1",
- "license": "MIT"
+ "license": "ISC"
},
- "node_modules/json-stable-stringify-without-jsonify": {
- "version": "1.0.1",
+ "node_modules/graphemer": {
+ "version": "1.4.0",
"license": "MIT"
},
- "node_modules/json5": {
- "version": "2.2.3",
+ "node_modules/has": {
+ "version": "1.0.3",
"dev": true,
"license": "MIT",
- "bin": {
- "json5": "lib/cli.js"
+ "dependencies": {
+ "function-bind": "^1.1.1"
},
"engines": {
- "node": ">=6"
+ "node": ">= 0.4.0"
}
},
- "node_modules/jsonc-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz",
- "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ=="
- },
- "node_modules/jsonfile": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
- "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "universalify": "^2.0.0"
- },
- "optionalDependencies": {
- "graceful-fs": "^4.1.6"
- }
- },
- "node_modules/kind-of": {
- "version": "6.0.3",
- "dev": true,
+ "node_modules/has-flag": {
+ "version": "4.0.0",
"license": "MIT",
"engines": {
- "node": ">=0.10.0"
+ "node": ">=8"
}
},
- "node_modules/launch-editor": {
- "version": "2.6.0",
+ "node_modules/has-property-descriptors": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
+ "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "picocolors": "^1.0.0",
- "shell-quote": "^1.7.3"
- }
- },
- "node_modules/levn": {
- "version": "0.4.1",
- "license": "MIT",
- "dependencies": {
- "prelude-ls": "^1.2.1",
- "type-check": "~0.4.0"
+ "es-define-property": "^1.0.0"
},
- "engines": {
- "node": ">= 0.8.0"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/lines-and-columns": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
- "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/loader-runner": {
- "version": "4.3.0",
+ "node_modules/has-symbols": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
+ "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=6.11.5"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/loader-utils": {
- "version": "2.0.4",
+ "node_modules/has-tostringtag": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
+ "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "big.js": "^5.2.2",
- "emojis-list": "^3.0.0",
- "json5": "^2.1.2"
+ "has-symbols": "^1.0.3"
},
"engines": {
- "node": ">=8.9.0"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/locate-path": {
- "version": "5.0.0",
+ "node_modules/hash-base": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.2.tgz",
+ "integrity": "sha512-Bb33KbowVTIj5s7Ked1OsqHUeCpz//tPwR+E2zJgJKo9Z5XolZ9b6bdUgjmYlwnWhoOQKoTd1TYToZGn5mAYOg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "p-locate": "^4.1.0"
+ "inherits": "^2.0.4",
+ "readable-stream": "^2.3.8",
+ "safe-buffer": "^5.2.1",
+ "to-buffer": "^1.2.1"
},
"engines": {
- "node": ">=8"
+ "node": ">= 0.8"
}
},
- "node_modules/lodash": {
- "version": "4.17.21",
+ "node_modules/hash-base/node_modules/readable-stream": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
+ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
+ }
},
- "node_modules/lodash.flattendeep": {
- "version": "4.4.0",
+ "node_modules/hash-base/node_modules/readable-stream/node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
"dev": true,
"license": "MIT"
},
- "node_modules/lodash.merge": {
- "version": "4.6.2",
- "license": "MIT"
- },
- "node_modules/log-symbols": {
- "version": "4.1.0",
+ "node_modules/hash-base/node_modules/string_decoder": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "chalk": "^4.1.0",
- "is-unicode-supported": "^0.1.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "safe-buffer": "~5.1.0"
}
},
- "node_modules/loupe": {
- "version": "2.3.6",
+ "node_modules/hash-base/node_modules/string_decoder/node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
"dev": true,
- "license": "MIT",
- "dependencies": {
- "get-func-name": "^2.0.0"
- }
+ "license": "MIT"
},
- "node_modules/lru-cache": {
- "version": "5.1.1",
+ "node_modules/hash.js": {
+ "version": "1.1.7",
"dev": true,
- "license": "ISC",
+ "license": "MIT",
"dependencies": {
- "yallist": "^3.0.2"
- }
- },
- "node_modules/luaparse": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/luaparse/-/luaparse-0.3.1.tgz",
- "integrity": "sha512-b21h2bFEbtGXmVqguHogbyrMAA0wOHyp9u/rx+w6Yc9pW1t9YjhGUsp87lYcp7pFRqSWN/PhFkrdIqKEUzRjjQ==",
- "dev": true,
- "bin": {
- "luaparse": "bin/luaparse"
+ "inherits": "^2.0.3",
+ "minimalistic-assert": "^1.0.1"
}
},
- "node_modules/make-dir": {
- "version": "3.1.0",
+ "node_modules/hasha": {
+ "version": "5.2.2",
"dev": true,
"license": "MIT",
"dependencies": {
- "semver": "^6.0.0"
+ "is-stream": "^2.0.0",
+ "type-fest": "^0.8.0"
},
"engines": {
"node": ">=8"
@@ -5212,621 +5663,438 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/make-error": {
- "version": "1.3.6",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/md5.js": {
- "version": "1.3.5",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "hash-base": "^3.0.0",
- "inherits": "^2.0.1",
- "safe-buffer": "^5.1.2"
- }
- },
- "node_modules/media-typer": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
- "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
+ "node_modules/hasha/node_modules/type-fest": {
+ "version": "0.8.1",
"dev": true,
- "license": "MIT",
+ "license": "(MIT OR CC0-1.0)",
"engines": {
- "node": ">= 0.6"
+ "node": ">=8"
}
},
- "node_modules/memfs": {
- "version": "3.5.3",
+ "node_modules/hasown": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
+ "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
"dev": true,
- "license": "Unlicense",
+ "license": "MIT",
"dependencies": {
- "fs-monkey": "^1.0.4"
+ "function-bind": "^1.1.2"
},
"engines": {
- "node": ">= 4.0.0"
- }
- },
- "node_modules/merge-descriptors": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz",
- "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==",
- "dev": true,
- "license": "MIT",
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">= 0.4"
}
},
- "node_modules/merge-stream": {
- "version": "2.0.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/merge2": {
- "version": "1.4.1",
+ "node_modules/he": {
+ "version": "1.2.0",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">= 8"
+ "bin": {
+ "he": "bin/he"
}
},
- "node_modules/methods": {
- "version": "1.1.2",
+ "node_modules/hmac-drbg": {
+ "version": "1.0.1",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">= 0.6"
+ "dependencies": {
+ "hash.js": "^1.0.3",
+ "minimalistic-assert": "^1.0.0",
+ "minimalistic-crypto-utils": "^1.0.1"
}
},
- "node_modules/micromatch": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
- "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
+ "node_modules/html-encoding-sniffer": {
+ "version": "3.0.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "braces": "^3.0.3",
- "picomatch": "^2.3.1"
+ "whatwg-encoding": "^2.0.0"
},
"engines": {
- "node": ">=8.6"
+ "node": ">=12"
}
},
- "node_modules/miller-rabin": {
- "version": "4.0.1",
+ "node_modules/html-escaper": {
+ "version": "2.0.2",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/htmlhint": {
+ "version": "1.1.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "bn.js": "^4.0.0",
- "brorand": "^1.0.1"
+ "async": "3.2.3",
+ "chalk": "^4.1.2",
+ "commander": "^9.1.0",
+ "glob": "^7.2.0",
+ "is-glob": "^4.0.3",
+ "node-fetch": "^2.6.2",
+ "strip-json-comments": "3.1.0",
+ "xml": "1.0.1"
},
"bin": {
- "miller-rabin": "bin/miller-rabin"
+ "htmlhint": "bin/htmlhint"
}
},
- "node_modules/miller-rabin/node_modules/bn.js": {
- "version": "4.12.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/mime": {
- "version": "1.6.0",
+ "node_modules/htmlhint/node_modules/commander": {
+ "version": "9.5.0",
"dev": true,
"license": "MIT",
- "bin": {
- "mime": "cli.js"
- },
"engines": {
- "node": ">=4"
+ "node": "^12.20.0 || >=14"
}
},
- "node_modules/mime-db": {
- "version": "1.52.0",
+ "node_modules/htmlhint/node_modules/strip-json-comments": {
+ "version": "3.1.0",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">= 0.6"
+ "node": ">=8"
}
},
- "node_modules/mime-types": {
- "version": "2.1.35",
+ "node_modules/http-proxy": {
+ "version": "1.18.1",
"dev": true,
"license": "MIT",
"dependencies": {
- "mime-db": "1.52.0"
+ "eventemitter3": "^4.0.0",
+ "follow-redirects": "^1.0.0",
+ "requires-port": "^1.0.0"
},
"engines": {
- "node": ">= 0.6"
+ "node": ">=8.0.0"
}
},
- "node_modules/mimic-fn": {
- "version": "2.1.0",
+ "node_modules/http-proxy-agent": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz",
+ "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/minimalistic-assert": {
- "version": "1.0.1",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/minimalistic-crypto-utils": {
- "version": "1.0.1",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/minimatch": {
- "version": "3.1.2",
- "license": "ISC",
"dependencies": {
- "brace-expansion": "^1.1.7"
+ "agent-base": "^7.1.0",
+ "debug": "^4.3.4"
},
"engines": {
- "node": "*"
+ "node": ">= 14"
}
},
- "node_modules/minimist": {
- "version": "1.2.8",
+ "node_modules/http-server": {
+ "version": "14.1.1",
"dev": true,
"license": "MIT",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "dependencies": {
+ "basic-auth": "^2.0.1",
+ "chalk": "^4.1.2",
+ "corser": "^2.0.1",
+ "he": "^1.2.0",
+ "html-encoding-sniffer": "^3.0.0",
+ "http-proxy": "^1.18.1",
+ "mime": "^1.6.0",
+ "minimist": "^1.2.6",
+ "opener": "^1.5.1",
+ "portfinder": "^1.0.28",
+ "secure-compare": "3.0.1",
+ "union": "~0.5.0",
+ "url-join": "^4.0.1"
+ },
+ "bin": {
+ "http-server": "bin/http-server"
+ },
+ "engines": {
+ "node": ">=12"
}
},
- "node_modules/mitt": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz",
- "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==",
+ "node_modules/https-browserify": {
+ "version": "1.0.0",
"dev": true,
"license": "MIT"
},
- "node_modules/mkdirp": {
- "version": "0.5.6",
+ "node_modules/https-proxy-agent": {
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz",
+ "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "minimist": "^1.2.6"
+ "agent-base": "^7.0.2",
+ "debug": "4"
},
- "bin": {
- "mkdirp": "bin/cmd.js"
+ "engines": {
+ "node": ">= 14"
}
},
- "node_modules/mocha": {
- "version": "10.2.0",
+ "node_modules/iconv-lite": {
+ "version": "0.6.3",
"dev": true,
"license": "MIT",
"dependencies": {
- "ansi-colors": "4.1.1",
- "browser-stdout": "1.3.1",
- "chokidar": "3.5.3",
- "debug": "4.3.4",
- "diff": "5.0.0",
- "escape-string-regexp": "4.0.0",
- "find-up": "5.0.0",
- "glob": "7.2.0",
- "he": "1.2.0",
- "js-yaml": "4.1.0",
- "log-symbols": "4.1.0",
- "minimatch": "5.0.1",
- "ms": "2.1.3",
- "nanoid": "3.3.3",
- "serialize-javascript": "6.0.0",
- "strip-json-comments": "3.1.1",
- "supports-color": "8.1.1",
- "workerpool": "6.2.1",
- "yargs": "16.2.0",
- "yargs-parser": "20.2.4",
- "yargs-unparser": "2.0.0"
- },
- "bin": {
- "_mocha": "bin/_mocha",
- "mocha": "bin/mocha.js"
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
},
"engines": {
- "node": ">= 14.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mochajs"
+ "node": ">=0.10.0"
}
},
- "node_modules/mocha/node_modules/find-up": {
- "version": "5.0.0",
+ "node_modules/ieee754": {
+ "version": "1.2.1",
"dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/ignore": {
+ "version": "5.2.4",
"license": "MIT",
- "dependencies": {
- "locate-path": "^6.0.0",
- "path-exists": "^4.0.0"
- },
"engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">= 4"
}
},
- "node_modules/mocha/node_modules/glob": {
- "version": "7.2.0",
- "dev": true,
- "license": "ISC",
+ "node_modules/import-fresh": {
+ "version": "3.3.0",
+ "license": "MIT",
"dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.0.4",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
},
"engines": {
- "node": "*"
+ "node": ">=6"
},
"funding": {
- "url": "https://github.com/sponsors/isaacs"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/mocha/node_modules/glob/node_modules/minimatch": {
- "version": "3.1.2",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
+ "node_modules/import-fresh/node_modules/resolve-from": {
+ "version": "4.0.0",
+ "license": "MIT",
"engines": {
- "node": "*"
+ "node": ">=4"
}
},
- "node_modules/mocha/node_modules/locate-path": {
- "version": "6.0.0",
- "dev": true,
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
"license": "MIT",
- "dependencies": {
- "p-locate": "^5.0.0"
- },
"engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=0.8.19"
}
},
- "node_modules/mocha/node_modules/minimatch": {
- "version": "5.0.1",
+ "node_modules/indent-string": {
+ "version": "4.0.0",
"dev": true,
- "license": "ISC",
- "dependencies": {
- "brace-expansion": "^2.0.1"
- },
+ "license": "MIT",
"engines": {
- "node": ">=10"
+ "node": ">=8"
}
},
- "node_modules/mocha/node_modules/minimatch/node_modules/brace-expansion": {
- "version": "2.0.1",
- "dev": true,
- "license": "MIT",
+ "node_modules/inflight": {
+ "version": "1.0.6",
+ "license": "ISC",
"dependencies": {
- "balanced-match": "^1.0.0"
+ "once": "^1.3.0",
+ "wrappy": "1"
}
},
- "node_modules/mocha/node_modules/ms": {
- "version": "2.1.3",
- "dev": true,
- "license": "MIT"
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "license": "ISC"
},
- "node_modules/mocha/node_modules/p-limit": {
- "version": "3.1.0",
+ "node_modules/ip-address": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz",
+ "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "yocto-queue": "^0.1.0"
+ "jsbn": "1.1.0",
+ "sprintf-js": "^1.1.3"
},
"engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">= 12"
}
},
- "node_modules/mocha/node_modules/p-locate": {
- "version": "5.0.0",
+ "node_modules/ip-address/node_modules/sprintf-js": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz",
+ "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==",
+ "dev": true,
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/is-arguments": {
+ "version": "1.1.1",
"dev": true,
"license": "MIT",
"dependencies": {
- "p-limit": "^3.0.2"
+ "call-bind": "^1.0.2",
+ "has-tostringtag": "^1.0.0"
},
"engines": {
- "node": ">=10"
+ "node": ">= 0.4"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/mocha/node_modules/serialize-javascript": {
- "version": "6.0.0",
+ "node_modules/is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
"dev": true,
- "license": "BSD-3-Clause",
- "dependencies": {
- "randombytes": "^2.1.0"
- }
- },
- "node_modules/ms": {
- "version": "2.1.2",
"license": "MIT"
},
- "node_modules/multicast-dns": {
- "version": "7.2.5",
+ "node_modules/is-binary-path": {
+ "version": "2.1.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "dns-packet": "^5.2.2",
- "thunky": "^1.0.2"
+ "binary-extensions": "^2.0.0"
},
- "bin": {
- "multicast-dns": "cli.js"
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/nanoid": {
- "version": "3.3.3",
+ "node_modules/is-callable": {
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
+ "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
"dev": true,
"license": "MIT",
- "bin": {
- "nanoid": "bin/nanoid.cjs"
- },
"engines": {
- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/natural-compare": {
- "version": "1.4.0",
- "license": "MIT"
- },
- "node_modules/negotiator": {
- "version": "0.6.3",
+ "node_modules/is-core-module": {
+ "version": "2.12.1",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">= 0.6"
+ "dependencies": {
+ "has": "^1.0.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/neo-async": {
- "version": "2.6.2",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/netmask": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz",
- "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==",
- "dev": true,
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
"license": "MIT",
"engines": {
- "node": ">= 0.4.0"
+ "node": ">=0.10.0"
}
},
- "node_modules/node-fetch": {
- "version": "2.6.12",
+ "node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
"dev": true,
"license": "MIT",
- "dependencies": {
- "whatwg-url": "^5.0.0"
- },
- "engines": {
- "node": "4.x || >=6.0.0"
- },
- "peerDependencies": {
- "encoding": "^0.1.0"
- },
- "peerDependenciesMeta": {
- "encoding": {
- "optional": true
- }
- }
- },
- "node_modules/node-forge": {
- "version": "1.3.1",
- "dev": true,
- "license": "(BSD-3-Clause OR GPL-2.0)",
"engines": {
- "node": ">= 6.13.0"
+ "node": ">=8"
}
},
- "node_modules/node-polyfill-webpack-plugin": {
- "version": "1.1.4",
+ "node_modules/is-generator-function": {
+ "version": "1.0.10",
"dev": true,
"license": "MIT",
"dependencies": {
- "assert": "^2.0.0",
- "browserify-zlib": "^0.2.0",
- "buffer": "^6.0.3",
- "console-browserify": "^1.2.0",
- "constants-browserify": "^1.0.0",
- "crypto-browserify": "^3.12.0",
- "domain-browser": "^4.19.0",
- "events": "^3.3.0",
- "filter-obj": "^2.0.2",
- "https-browserify": "^1.0.0",
- "os-browserify": "^0.3.0",
- "path-browserify": "^1.0.1",
- "process": "^0.11.10",
- "punycode": "^2.1.1",
- "querystring-es3": "^0.2.1",
- "readable-stream": "^3.6.0",
- "stream-browserify": "^3.0.0",
- "stream-http": "^3.2.0",
- "string_decoder": "^1.3.0",
- "timers-browserify": "^2.0.12",
- "tty-browserify": "^0.0.1",
- "url": "^0.11.0",
- "util": "^0.12.4",
- "vm-browserify": "^1.1.2"
+ "has-tostringtag": "^1.0.0"
},
"engines": {
- "node": ">=10"
+ "node": ">= 0.4"
},
- "peerDependencies": {
- "webpack": ">=5"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/node-preload": {
- "version": "0.2.1",
- "dev": true,
+ "node_modules/is-glob": {
+ "version": "4.0.3",
"license": "MIT",
"dependencies": {
- "process-on-spawn": "^1.0.0"
+ "is-extglob": "^2.1.1"
},
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/node-releases": {
- "version": "2.0.18",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz",
- "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==",
- "dev": true
- },
- "node_modules/normalize-path": {
- "version": "3.0.0",
- "dev": true,
- "license": "MIT",
"engines": {
"node": ">=0.10.0"
}
},
- "node_modules/npm-run-path": {
- "version": "4.0.1",
+ "node_modules/is-nan": {
+ "version": "1.3.2",
"dev": true,
"license": "MIT",
"dependencies": {
- "path-key": "^3.0.0"
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3"
},
"engines": {
- "node": ">=8"
- }
- },
- "node_modules/nyc": {
- "version": "15.1.0",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "@istanbuljs/load-nyc-config": "^1.0.0",
- "@istanbuljs/schema": "^0.1.2",
- "caching-transform": "^4.0.0",
- "convert-source-map": "^1.7.0",
- "decamelize": "^1.2.0",
- "find-cache-dir": "^3.2.0",
- "find-up": "^4.1.0",
- "foreground-child": "^2.0.0",
- "get-package-type": "^0.1.0",
- "glob": "^7.1.6",
- "istanbul-lib-coverage": "^3.0.0",
- "istanbul-lib-hook": "^3.0.0",
- "istanbul-lib-instrument": "^4.0.0",
- "istanbul-lib-processinfo": "^2.0.2",
- "istanbul-lib-report": "^3.0.0",
- "istanbul-lib-source-maps": "^4.0.0",
- "istanbul-reports": "^3.0.2",
- "make-dir": "^3.0.0",
- "node-preload": "^0.2.1",
- "p-map": "^3.0.0",
- "process-on-spawn": "^1.0.0",
- "resolve-from": "^5.0.0",
- "rimraf": "^3.0.0",
- "signal-exit": "^3.0.2",
- "spawn-wrap": "^2.0.0",
- "test-exclude": "^6.0.0",
- "yargs": "^15.0.2"
- },
- "bin": {
- "nyc": "bin/nyc.js"
+ "node": ">= 0.4"
},
- "engines": {
- "node": ">=8.9"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/nyc/node_modules/cliui": {
- "version": "6.0.0",
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
"dev": true,
- "license": "ISC",
- "dependencies": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.0",
- "wrap-ansi": "^6.2.0"
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.12.0"
}
},
- "node_modules/nyc/node_modules/wrap-ansi": {
- "version": "6.2.0",
- "dev": true,
+ "node_modules/is-path-inside": {
+ "version": "3.0.3",
"license": "MIT",
- "dependencies": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
- },
"engines": {
"node": ">=8"
}
},
- "node_modules/nyc/node_modules/y18n": {
- "version": "4.0.3",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/nyc/node_modules/yargs": {
- "version": "15.4.1",
+ "node_modules/is-plain-obj": {
+ "version": "2.1.0",
"dev": true,
"license": "MIT",
- "dependencies": {
- "cliui": "^6.0.0",
- "decamelize": "^1.2.0",
- "find-up": "^4.1.0",
- "get-caller-file": "^2.0.1",
- "require-directory": "^2.1.1",
- "require-main-filename": "^2.0.0",
- "set-blocking": "^2.0.0",
- "string-width": "^4.2.0",
- "which-module": "^2.0.0",
- "y18n": "^4.0.0",
- "yargs-parser": "^18.1.2"
- },
"engines": {
"node": ">=8"
}
},
- "node_modules/nyc/node_modules/yargs-parser": {
- "version": "18.1.3",
+ "node_modules/is-reference": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz",
+ "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==",
"dev": true,
- "license": "ISC",
+ "license": "MIT",
"dependencies": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
- },
- "engines": {
- "node": ">=6"
+ "@types/estree": "*"
}
},
- "node_modules/object-inspect": {
- "version": "1.13.2",
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz",
- "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==",
+ "node_modules/is-stream": {
+ "version": "2.0.1",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">= 0.4"
+ "node": ">=8"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/object-is": {
- "version": "1.1.5",
+ "node_modules/is-typed-array": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz",
+ "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.3"
+ "which-typed-array": "^1.1.16"
},
"engines": {
"node": ">= 0.4"
@@ -5835,1861 +6103,1934 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/object-keys": {
- "version": "1.1.1",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/obuf": {
- "version": "1.1.2",
+ "node_modules/is-typedarray": {
+ "version": "1.0.0",
"dev": true,
"license": "MIT"
},
- "node_modules/on-finished": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
- "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
+ "node_modules/is-unicode-supported": {
+ "version": "0.1.0",
"dev": true,
"license": "MIT",
- "dependencies": {
- "ee-first": "1.1.1"
- },
"engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/on-headers": {
- "version": "1.0.2",
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-windows": {
+ "version": "1.0.2",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">= 0.8"
+ "node": ">=0.10.0"
}
},
- "node_modules/once": {
- "version": "1.4.0",
- "license": "ISC",
- "dependencies": {
- "wrappy": "1"
- }
+ "node_modules/isarray": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT"
},
- "node_modules/onetime": {
- "version": "5.1.2",
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "license": "ISC"
+ },
+ "node_modules/isomorphic-timers-promises": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/isomorphic-timers-promises/-/isomorphic-timers-promises-1.0.1.tgz",
+ "integrity": "sha512-u4sej9B1LPSxTGKB/HiuzvEQnXH0ECYkSVQU39koSwmFAxhlEAFl9RdTvLv4TOTQUgBS5O3O5fwUxk6byBZ+IQ==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "mimic-fn": "^2.1.0"
- },
"engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=10"
}
},
- "node_modules/open": {
- "version": "8.4.2",
+ "node_modules/istanbul-lib-coverage": {
+ "version": "3.2.0",
"dev": true,
- "license": "MIT",
- "dependencies": {
- "define-lazy-prop": "^2.0.0",
- "is-docker": "^2.1.1",
- "is-wsl": "^2.2.0"
- },
+ "license": "BSD-3-Clause",
"engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=8"
}
},
- "node_modules/opener": {
- "version": "1.5.2",
+ "node_modules/istanbul-lib-hook": {
+ "version": "3.0.0",
"dev": true,
- "license": "(WTFPL OR MIT)",
- "bin": {
- "opener": "bin/opener-bin.js"
- }
- },
- "node_modules/optionator": {
- "version": "0.9.3",
- "license": "MIT",
+ "license": "BSD-3-Clause",
"dependencies": {
- "@aashutoshrathi/word-wrap": "^1.2.3",
- "deep-is": "^0.1.3",
- "fast-levenshtein": "^2.0.6",
- "levn": "^0.4.1",
- "prelude-ls": "^1.2.1",
- "type-check": "^0.4.0"
+ "append-transform": "^2.0.0"
},
"engines": {
- "node": ">= 0.8.0"
+ "node": ">=8"
}
},
- "node_modules/os-browserify": {
- "version": "0.3.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/p-limit": {
- "version": "2.3.0",
+ "node_modules/istanbul-lib-instrument": {
+ "version": "4.0.3",
"dev": true,
- "license": "MIT",
+ "license": "BSD-3-Clause",
"dependencies": {
- "p-try": "^2.0.0"
+ "@babel/core": "^7.7.5",
+ "@istanbuljs/schema": "^0.1.2",
+ "istanbul-lib-coverage": "^3.0.0",
+ "semver": "^6.3.0"
},
"engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=8"
}
},
- "node_modules/p-locate": {
- "version": "4.1.0",
+ "node_modules/istanbul-lib-processinfo": {
+ "version": "2.0.3",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
"dependencies": {
- "p-limit": "^2.2.0"
+ "archy": "^1.0.0",
+ "cross-spawn": "^7.0.3",
+ "istanbul-lib-coverage": "^3.2.0",
+ "p-map": "^3.0.0",
+ "rimraf": "^3.0.0",
+ "uuid": "^8.3.2"
},
"engines": {
"node": ">=8"
}
},
- "node_modules/p-map": {
+ "node_modules/istanbul-lib-report": {
"version": "3.0.0",
"dev": true,
- "license": "MIT",
+ "license": "BSD-3-Clause",
"dependencies": {
- "aggregate-error": "^3.0.0"
+ "istanbul-lib-coverage": "^3.0.0",
+ "make-dir": "^3.0.0",
+ "supports-color": "^7.1.0"
},
"engines": {
"node": ">=8"
}
},
- "node_modules/p-retry": {
- "version": "4.6.2",
+ "node_modules/istanbul-lib-report/node_modules/supports-color": {
+ "version": "7.2.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "@types/retry": "0.12.0",
- "retry": "^0.13.1"
+ "has-flag": "^4.0.0"
},
"engines": {
"node": ">=8"
}
},
- "node_modules/p-try": {
- "version": "2.2.0",
+ "node_modules/istanbul-lib-source-maps": {
+ "version": "4.0.1",
"dev": true,
- "license": "MIT",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "debug": "^4.1.1",
+ "istanbul-lib-coverage": "^3.0.0",
+ "source-map": "^0.6.1"
+ },
"engines": {
- "node": ">=6"
+ "node": ">=10"
}
},
- "node_modules/pac-proxy-agent": {
- "version": "7.0.2",
- "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.2.tgz",
- "integrity": "sha512-BFi3vZnO9X5Qt6NRz7ZOaPja3ic0PhlsmCRYLOpN11+mWBCR6XJDqW5RF3j8jm4WGGQZtBA+bTfxYzeKW73eHg==",
+ "node_modules/istanbul-reports": {
+ "version": "3.1.5",
"dev": true,
- "license": "MIT",
+ "license": "BSD-3-Clause",
"dependencies": {
- "@tootallnate/quickjs-emscripten": "^0.23.0",
- "agent-base": "^7.0.2",
- "debug": "^4.3.4",
- "get-uri": "^6.0.1",
- "http-proxy-agent": "^7.0.0",
- "https-proxy-agent": "^7.0.5",
- "pac-resolver": "^7.0.1",
- "socks-proxy-agent": "^8.0.4"
+ "html-escaper": "^2.0.0",
+ "istanbul-lib-report": "^3.0.0"
},
"engines": {
- "node": ">= 14"
+ "node": ">=8"
}
},
- "node_modules/pac-resolver": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz",
- "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==",
+ "node_modules/jackspeak": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",
+ "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",
"dev": true,
- "license": "MIT",
+ "license": "BlueOak-1.0.0",
"dependencies": {
- "degenerator": "^5.0.0",
- "netmask": "^2.0.2"
+ "@isaacs/cliui": "^8.0.2"
},
- "engines": {
- "node": ">= 14"
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ },
+ "optionalDependencies": {
+ "@pkgjs/parseargs": "^0.11.0"
}
},
- "node_modules/package-hash": {
- "version": "4.0.0",
+ "node_modules/jest-worker": {
+ "version": "27.5.1",
+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz",
+ "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==",
"dev": true,
- "license": "ISC",
+ "peer": true,
"dependencies": {
- "graceful-fs": "^4.1.15",
- "hasha": "^5.0.0",
- "lodash.flattendeep": "^4.4.0",
- "release-zalgo": "^1.0.0"
+ "@types/node": "*",
+ "merge-stream": "^2.0.0",
+ "supports-color": "^8.0.0"
},
"engines": {
- "node": ">=8"
+ "node": ">= 10.13.0"
}
},
- "node_modules/pako": {
- "version": "1.0.11",
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
"dev": true,
- "license": "(MIT AND Zlib)"
+ "license": "MIT"
},
- "node_modules/parent-module": {
- "version": "1.0.1",
+ "node_modules/js-yaml": {
+ "version": "4.1.0",
"license": "MIT",
"dependencies": {
- "callsites": "^3.0.0"
+ "argparse": "^2.0.1"
},
- "engines": {
- "node": ">=6"
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
}
},
- "node_modules/parse-asn1": {
- "version": "5.1.6",
+ "node_modules/jsbn": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz",
+ "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==",
"dev": true,
- "license": "ISC",
- "dependencies": {
- "asn1.js": "^5.2.0",
- "browserify-aes": "^1.0.0",
- "evp_bytestokey": "^1.0.0",
- "pbkdf2": "^3.0.3",
- "safe-buffer": "^5.1.1"
- }
+ "license": "MIT"
},
- "node_modules/parse-json": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
- "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
+ "node_modules/jsesc": {
+ "version": "2.5.2",
"dev": true,
"license": "MIT",
- "dependencies": {
- "@babel/code-frame": "^7.0.0",
- "error-ex": "^1.3.1",
- "json-parse-even-better-errors": "^2.3.0",
- "lines-and-columns": "^1.1.6"
+ "bin": {
+ "jsesc": "bin/jsesc"
},
"engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=4"
}
},
- "node_modules/parseurl": {
- "version": "1.3.3",
+ "node_modules/json-parse-even-better-errors": {
+ "version": "2.3.1",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/path-browserify": {
- "version": "1.0.1",
"license": "MIT"
},
- "node_modules/path-exists": {
- "version": "4.0.0",
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "license": "MIT"
},
- "node_modules/path-is-absolute": {
+ "node_modules/json-stable-stringify-without-jsonify": {
"version": "1.0.1",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
+ "license": "MIT"
},
- "node_modules/path-key": {
- "version": "3.1.1",
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "dev": true,
"license": "MIT",
+ "bin": {
+ "json5": "lib/cli.js"
+ },
"engines": {
- "node": ">=8"
+ "node": ">=6"
}
},
- "node_modules/path-parse": {
- "version": "1.0.7",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/path-to-regexp": {
- "version": "0.1.10",
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz",
- "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==",
- "dev": true,
- "license": "MIT"
+ "node_modules/jsonc-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz",
+ "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ=="
},
- "node_modules/path-type": {
- "version": "4.0.0",
+ "node_modules/jsonfile": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">=8"
+ "dependencies": {
+ "universalify": "^2.0.0"
+ },
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
}
},
- "node_modules/pathval": {
- "version": "1.1.1",
- "dev": true,
+ "node_modules/levn": {
+ "version": "0.4.1",
"license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
"engines": {
- "node": "*"
+ "node": ">= 0.8.0"
}
},
- "node_modules/pbkdf2": {
- "version": "3.1.2",
+ "node_modules/lightningcss": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.31.1.tgz",
+ "integrity": "sha512-l51N2r93WmGUye3WuFoN5k10zyvrVs0qfKBhyC5ogUQ6Ew6JUSswh78mbSO+IU3nTWsyOArqPCcShdQSadghBQ==",
"dev": true,
- "license": "MIT",
+ "license": "MPL-2.0",
"dependencies": {
- "create-hash": "^1.1.2",
- "create-hmac": "^1.1.4",
- "ripemd160": "^2.0.1",
- "safe-buffer": "^5.0.1",
- "sha.js": "^2.4.8"
+ "detect-libc": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
},
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ },
+ "optionalDependencies": {
+ "lightningcss-android-arm64": "1.31.1",
+ "lightningcss-darwin-arm64": "1.31.1",
+ "lightningcss-darwin-x64": "1.31.1",
+ "lightningcss-freebsd-x64": "1.31.1",
+ "lightningcss-linux-arm-gnueabihf": "1.31.1",
+ "lightningcss-linux-arm64-gnu": "1.31.1",
+ "lightningcss-linux-arm64-musl": "1.31.1",
+ "lightningcss-linux-x64-gnu": "1.31.1",
+ "lightningcss-linux-x64-musl": "1.31.1",
+ "lightningcss-win32-arm64-msvc": "1.31.1",
+ "lightningcss-win32-x64-msvc": "1.31.1"
+ }
+ },
+ "node_modules/lightningcss-android-arm64": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.31.1.tgz",
+ "integrity": "sha512-HXJF3x8w9nQ4jbXRiNppBCqeZPIAfUo8zE/kOEGbW5NZvGc/K7nMxbhIr+YlFlHW5mpbg/YFPdbnCh1wAXCKFg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "android"
+ ],
"engines": {
- "node": ">=0.12"
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/pend": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
- "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",
+ "node_modules/lightningcss-darwin-arm64": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.31.1.tgz",
+ "integrity": "sha512-02uTEqf3vIfNMq3h/z2cJfcOXnQ0GRwQrkmPafhueLb2h7mqEidiCzkE4gBMEH65abHRiQvhdcQ+aP0D0g67sg==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT"
- },
- "node_modules/picocolors": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz",
- "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==",
- "dev": true
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
},
- "node_modules/picomatch": {
- "version": "2.3.1",
+ "node_modules/lightningcss-darwin-x64": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.31.1.tgz",
+ "integrity": "sha512-1ObhyoCY+tGxtsz1lSx5NXCj3nirk0Y0kB/g8B8DT+sSx4G9djitg9ejFnjb3gJNWo7qXH4DIy2SUHvpoFwfTA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT",
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
"engines": {
- "node": ">=8.6"
+ "node": ">= 12.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/pkg-dir": {
- "version": "4.2.0",
+ "node_modules/lightningcss-freebsd-x64": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.31.1.tgz",
+ "integrity": "sha512-1RINmQKAItO6ISxYgPwszQE1BrsVU5aB45ho6O42mu96UiZBxEXsuQ7cJW4zs4CEodPUioj/QrXW1r9pLUM74A==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT",
- "dependencies": {
- "find-up": "^4.0.0"
- },
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
"engines": {
- "node": ">=8"
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/portfinder": {
- "version": "1.0.32",
+ "node_modules/lightningcss-linux-arm-gnueabihf": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.31.1.tgz",
+ "integrity": "sha512-OOCm2//MZJ87CdDK62rZIu+aw9gBv4azMJuA8/KB74wmfS3lnC4yoPHm0uXZ/dvNNHmnZnB8XLAZzObeG0nS1g==",
+ "cpu": [
+ "arm"
+ ],
"dev": true,
- "license": "MIT",
- "dependencies": {
- "async": "^2.6.4",
- "debug": "^3.2.7",
- "mkdirp": "^0.5.6"
- },
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">= 0.12.0"
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/portfinder/node_modules/async": {
- "version": "2.6.4",
+ "node_modules/lightningcss-linux-arm64-gnu": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.31.1.tgz",
+ "integrity": "sha512-WKyLWztD71rTnou4xAD5kQT+982wvca7E6QoLpoawZ1gP9JM0GJj4Tp5jMUh9B3AitHbRZ2/H3W5xQmdEOUlLg==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT",
- "dependencies": {
- "lodash": "^4.17.14"
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/portfinder/node_modules/debug": {
- "version": "3.2.7",
+ "node_modules/lightningcss-linux-arm64-musl": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.31.1.tgz",
+ "integrity": "sha512-mVZ7Pg2zIbe3XlNbZJdjs86YViQFoJSpc41CbVmKBPiGmC4YrfeOyz65ms2qpAobVd7WQsbW4PdsSJEMymyIMg==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT",
- "dependencies": {
- "ms": "^2.1.1"
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/prelude-ls": {
- "version": "1.2.1",
- "license": "MIT",
+ "node_modules/lightningcss-linux-x64-gnu": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.31.1.tgz",
+ "integrity": "sha512-xGlFWRMl+0KvUhgySdIaReQdB4FNudfUTARn7q0hh/V67PVGCs3ADFjw+6++kG1RNd0zdGRlEKa+T13/tQjPMA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">= 0.8.0"
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/prettier": {
- "version": "3.5.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.1.tgz",
- "integrity": "sha512-hPpFQvHwL3Qv5AdRvBFMhnKo4tYxp0ReXiPn2bxkiohEX6mBeBwEpBSQTkD458RaaDKQMYSp4hX4UtfUTA5wDw==",
+ "node_modules/lightningcss-linux-x64-musl": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.31.1.tgz",
+ "integrity": "sha512-eowF8PrKHw9LpoZii5tdZwnBcYDxRw2rRCyvAXLi34iyeYfqCQNA9rmUM0ce62NlPhCvof1+9ivRaTY6pSKDaA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT",
- "bin": {
- "prettier": "bin/prettier.cjs"
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
},
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-win32-arm64-msvc": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.31.1.tgz",
+ "integrity": "sha512-aJReEbSEQzx1uBlQizAOBSjcmr9dCdL3XuC/6HLXAxmtErsj2ICo5yYggg1qOODQMtnjNQv2UHb9NpOuFtYe4w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
"engines": {
- "node": ">=14"
+ "node": ">= 12.0.0"
},
"funding": {
- "url": "https://github.com/prettier/prettier?sponsor=1"
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/process": {
- "version": "0.11.10",
+ "node_modules/lightningcss-win32-x64-msvc": {
+ "version": "1.31.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.31.1.tgz",
+ "integrity": "sha512-I9aiFrbd7oYHwlnQDqr1Roz+fTz61oDDJX7n9tYF9FJymH1cIN1DtKw3iYt6b8WZgEjoNwVSncwF4wx/ZedMhw==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT",
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
"engines": {
- "node": ">= 0.6.0"
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/process-nextick-args": {
- "version": "2.0.1",
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
"dev": true,
"license": "MIT"
},
- "node_modules/process-on-spawn": {
- "version": "1.0.0",
+ "node_modules/loader-runner": {
+ "version": "4.3.0",
"dev": true,
"license": "MIT",
- "dependencies": {
- "fromentries": "^1.2.0"
- },
+ "peer": true,
"engines": {
- "node": ">=8"
+ "node": ">=6.11.5"
}
},
- "node_modules/progress": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
- "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
+ "node_modules/locate-path": {
+ "version": "5.0.0",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "p-locate": "^4.1.0"
+ },
"engines": {
- "node": ">=0.4.0"
+ "node": ">=8"
}
},
- "node_modules/proxy-addr": {
- "version": "2.0.7",
+ "node_modules/lodash": {
+ "version": "4.17.21",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lodash.flattendeep": {
+ "version": "4.4.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "license": "MIT"
+ },
+ "node_modules/log-symbols": {
+ "version": "4.1.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "forwarded": "0.2.0",
- "ipaddr.js": "1.9.1"
+ "chalk": "^4.1.0",
+ "is-unicode-supported": "^0.1.0"
},
"engines": {
- "node": ">= 0.10"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/proxy-addr/node_modules/ipaddr.js": {
- "version": "1.9.1",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/proxy-agent": {
- "version": "6.4.0",
- "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz",
- "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==",
+ "node_modules/loupe": {
+ "version": "2.3.6",
"dev": true,
"license": "MIT",
"dependencies": {
- "agent-base": "^7.0.2",
- "debug": "^4.3.4",
- "http-proxy-agent": "^7.0.1",
- "https-proxy-agent": "^7.0.3",
- "lru-cache": "^7.14.1",
- "pac-proxy-agent": "^7.0.1",
- "proxy-from-env": "^1.1.0",
- "socks-proxy-agent": "^8.0.2"
- },
- "engines": {
- "node": ">= 14"
+ "get-func-name": "^2.0.0"
}
},
- "node_modules/proxy-agent/node_modules/lru-cache": {
- "version": "7.18.3",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz",
- "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==",
+ "node_modules/lru-cache": {
+ "version": "5.1.1",
"dev": true,
"license": "ISC",
- "engines": {
- "node": ">=12"
+ "dependencies": {
+ "yallist": "^3.0.2"
}
},
- "node_modules/proxy-from-env": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
- "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
+ "node_modules/luaparse": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/luaparse/-/luaparse-0.3.1.tgz",
+ "integrity": "sha512-b21h2bFEbtGXmVqguHogbyrMAA0wOHyp9u/rx+w6Yc9pW1t9YjhGUsp87lYcp7pFRqSWN/PhFkrdIqKEUzRjjQ==",
"dev": true,
- "license": "MIT"
+ "bin": {
+ "luaparse": "bin/luaparse"
+ }
},
- "node_modules/public-encrypt": {
- "version": "4.0.3",
+ "node_modules/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "bn.js": "^4.1.0",
- "browserify-rsa": "^4.0.0",
- "create-hash": "^1.1.0",
- "parse-asn1": "^5.0.0",
- "randombytes": "^2.0.1",
- "safe-buffer": "^5.1.2"
+ "@jridgewell/sourcemap-codec": "^1.5.5"
}
},
- "node_modules/public-encrypt/node_modules/bn.js": {
- "version": "4.12.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/pump": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz",
- "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==",
+ "node_modules/make-dir": {
+ "version": "3.1.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
- }
- },
- "node_modules/punycode": {
- "version": "2.3.0",
- "license": "MIT",
+ "semver": "^6.0.0"
+ },
"engines": {
- "node": ">=6"
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/puppeteer": {
- "version": "23.4.0",
- "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-23.4.0.tgz",
- "integrity": "sha512-FxgFFJI7NAsX8uebiEDSjS86vufz9TaqERQHShQT0lCbSRI3jUPEcz/0HdwLiYvfYNsc1zGjqY3NsGZya4PvUA==",
+ "node_modules/make-error": {
+ "version": "1.3.6",
"dev": true,
- "hasInstallScript": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@puppeteer/browsers": "2.4.0",
- "chromium-bidi": "0.6.5",
- "cosmiconfig": "^9.0.0",
- "devtools-protocol": "0.0.1342118",
- "puppeteer-core": "23.4.0",
- "typed-query-selector": "^2.12.0"
- },
- "bin": {
- "puppeteer": "lib/cjs/puppeteer/node/cli.js"
- },
- "engines": {
- "node": ">=18"
- }
+ "license": "ISC"
},
- "node_modules/puppeteer-core": {
- "version": "23.4.0",
- "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.4.0.tgz",
- "integrity": "sha512-fqkIP5FOcb38jfBj/OcBz1wFaI9nk40uQKSORvnXws6wCbep2dg8yxZ3ddJxBIfQsxoiEOvnrykFinUScrB/ew==",
+ "node_modules/math-intrinsics": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
+ "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
"dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@puppeteer/browsers": "2.4.0",
- "chromium-bidi": "0.6.5",
- "debug": "^4.3.7",
- "devtools-protocol": "0.0.1342118",
- "typed-query-selector": "^2.12.0",
- "ws": "^8.18.0"
- },
+ "license": "MIT",
"engines": {
- "node": ">=18"
+ "node": ">= 0.4"
}
},
- "node_modules/puppeteer-core/node_modules/debug": {
- "version": "4.3.7",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
- "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
+ "node_modules/md5.js": {
+ "version": "1.3.5",
"dev": true,
"license": "MIT",
"dependencies": {
- "ms": "^2.1.3"
- },
- "engines": {
- "node": ">=6.0"
- },
- "peerDependenciesMeta": {
- "supports-color": {
- "optional": true
- }
+ "hash-base": "^3.0.0",
+ "inherits": "^2.0.1",
+ "safe-buffer": "^5.1.2"
}
},
- "node_modules/puppeteer-core/node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "node_modules/merge-stream": {
+ "version": "2.0.0",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "peer": true
},
- "node_modules/qs": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
- "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
+ "node_modules/miller-rabin": {
+ "version": "4.0.1",
"dev": true,
- "license": "BSD-3-Clause",
+ "license": "MIT",
"dependencies": {
- "side-channel": "^1.0.6"
- },
- "engines": {
- "node": ">=0.6"
+ "bn.js": "^4.0.0",
+ "brorand": "^1.0.1"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/querystring-es3": {
- "version": "0.2.1",
- "dev": true,
- "engines": {
- "node": ">=0.4.x"
+ "bin": {
+ "miller-rabin": "bin/miller-rabin"
}
},
- "node_modules/queue-microtask": {
- "version": "1.2.3",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "MIT"
- },
- "node_modules/queue-tick": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz",
- "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==",
+ "node_modules/miller-rabin/node_modules/bn.js": {
+ "version": "4.12.0",
"dev": true,
"license": "MIT"
},
- "node_modules/randombytes": {
- "version": "2.1.0",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "safe-buffer": "^5.1.0"
- }
- },
- "node_modules/randomfill": {
- "version": "1.0.4",
+ "node_modules/mime": {
+ "version": "1.6.0",
"dev": true,
"license": "MIT",
- "dependencies": {
- "randombytes": "^2.0.5",
- "safe-buffer": "^5.1.0"
+ "bin": {
+ "mime": "cli.js"
+ },
+ "engines": {
+ "node": ">=4"
}
},
- "node_modules/range-parser": {
- "version": "1.2.1",
+ "node_modules/mime-db": {
+ "version": "1.52.0",
"dev": true,
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">= 0.6"
}
},
- "node_modules/raw-body": {
- "version": "2.5.2",
- "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
- "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
+ "node_modules/mime-types": {
+ "version": "2.1.35",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
- "bytes": "3.1.2",
- "http-errors": "2.0.0",
- "iconv-lite": "0.4.24",
- "unpipe": "1.0.0"
+ "mime-db": "1.52.0"
},
"engines": {
- "node": ">= 0.8"
+ "node": ">= 0.6"
}
},
- "node_modules/raw-body/node_modules/bytes": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
- "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
+ "node_modules/minimalistic-assert": {
+ "version": "1.0.1",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
+ "license": "ISC"
},
- "node_modules/raw-body/node_modules/iconv-lite": {
- "version": "0.4.24",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
+ "node_modules/minimalistic-crypto-utils": {
+ "version": "1.0.1",
"dev": true,
- "license": "MIT",
+ "license": "MIT"
+ },
+ "node_modules/minimatch": {
+ "version": "3.1.2",
+ "license": "ISC",
"dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
+ "brace-expansion": "^1.1.7"
},
"engines": {
- "node": ">=0.10.0"
+ "node": "*"
}
},
- "node_modules/raw-loader": {
- "version": "4.0.2",
+ "node_modules/minimist": {
+ "version": "1.2.8",
"dev": true,
"license": "MIT",
- "dependencies": {
- "loader-utils": "^2.0.0",
- "schema-utils": "^3.0.0"
- },
- "engines": {
- "node": ">= 10.13.0"
- },
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "webpack": "^4.0.0 || ^5.0.0"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/readable-stream": {
- "version": "3.6.2",
+ "node_modules/minipass": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
+ "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/mitt": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz",
+ "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/mkdirp": {
+ "version": "0.5.6",
"dev": true,
"license": "MIT",
"dependencies": {
- "inherits": "^2.0.3",
- "string_decoder": "^1.1.1",
- "util-deprecate": "^1.0.1"
+ "minimist": "^1.2.6"
},
- "engines": {
- "node": ">= 6"
+ "bin": {
+ "mkdirp": "bin/cmd.js"
}
},
- "node_modules/readdirp": {
- "version": "3.6.0",
+ "node_modules/mocha": {
+ "version": "10.2.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "picomatch": "^2.2.1"
+ "ansi-colors": "4.1.1",
+ "browser-stdout": "1.3.1",
+ "chokidar": "3.5.3",
+ "debug": "4.3.4",
+ "diff": "5.0.0",
+ "escape-string-regexp": "4.0.0",
+ "find-up": "5.0.0",
+ "glob": "7.2.0",
+ "he": "1.2.0",
+ "js-yaml": "4.1.0",
+ "log-symbols": "4.1.0",
+ "minimatch": "5.0.1",
+ "ms": "2.1.3",
+ "nanoid": "3.3.3",
+ "serialize-javascript": "6.0.0",
+ "strip-json-comments": "3.1.1",
+ "supports-color": "8.1.1",
+ "workerpool": "6.2.1",
+ "yargs": "16.2.0",
+ "yargs-parser": "20.2.4",
+ "yargs-unparser": "2.0.0"
+ },
+ "bin": {
+ "_mocha": "bin/_mocha",
+ "mocha": "bin/mocha.js"
},
"engines": {
- "node": ">=8.10.0"
+ "node": ">= 14.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mochajs"
}
},
- "node_modules/rechoir": {
- "version": "0.7.1",
+ "node_modules/mocha/node_modules/find-up": {
+ "version": "5.0.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "resolve": "^1.9.0"
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
},
"engines": {
- "node": ">= 0.10"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/regexp-to-ast": {
- "version": "0.5.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/release-zalgo": {
- "version": "1.0.0",
+ "node_modules/mocha/node_modules/glob": {
+ "version": "7.2.0",
"dev": true,
"license": "ISC",
"dependencies": {
- "es6-error": "^4.0.1"
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
},
"engines": {
- "node": ">=4"
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/request-light": {
- "version": "0.5.8",
+ "node_modules/mocha/node_modules/glob/node_modules/minimatch": {
+ "version": "3.1.2",
"dev": true,
- "license": "MIT"
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
},
- "node_modules/require-directory": {
- "version": "2.1.1",
+ "node_modules/mocha/node_modules/locate-path": {
+ "version": "6.0.0",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
"engines": {
- "node": ">=0.10.0"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/require-from-string": {
- "version": "2.0.2",
+ "node_modules/mocha/node_modules/minimatch": {
+ "version": "5.0.1",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
"engines": {
- "node": ">=0.10.0"
+ "node": ">=10"
}
},
- "node_modules/require-main-filename": {
- "version": "2.0.0",
+ "node_modules/mocha/node_modules/minimatch/node_modules/brace-expansion": {
+ "version": "2.0.1",
"dev": true,
- "license": "ISC"
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
},
- "node_modules/requires-port": {
- "version": "1.0.0",
+ "node_modules/mocha/node_modules/ms": {
+ "version": "2.1.3",
"dev": true,
"license": "MIT"
},
- "node_modules/resolve": {
- "version": "1.22.2",
+ "node_modules/mocha/node_modules/p-limit": {
+ "version": "3.1.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-core-module": "^2.11.0",
- "path-parse": "^1.0.7",
- "supports-preserve-symlinks-flag": "^1.0.0"
+ "yocto-queue": "^0.1.0"
},
- "bin": {
- "resolve": "bin/resolve"
+ "engines": {
+ "node": ">=10"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/resolve-cwd": {
- "version": "3.0.0",
+ "node_modules/mocha/node_modules/p-locate": {
+ "version": "5.0.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "resolve-from": "^5.0.0"
+ "p-limit": "^3.0.2"
},
"engines": {
- "node": ">=8"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/resolve-from": {
- "version": "5.0.0",
+ "node_modules/mocha/node_modules/serialize-javascript": {
+ "version": "6.0.0",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "randombytes": "^2.1.0"
}
},
- "node_modules/retry": {
- "version": "0.13.1",
+ "node_modules/ms": {
+ "version": "2.1.2",
+ "license": "MIT"
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.3",
"dev": true,
"license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
"engines": {
- "node": ">= 4"
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
- "node_modules/reusify": {
- "version": "1.0.4",
- "license": "MIT",
- "engines": {
- "iojs": ">=1.0.0",
- "node": ">=0.10.0"
- }
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "license": "MIT"
},
- "node_modules/rimraf": {
- "version": "3.0.2",
- "license": "ISC",
- "dependencies": {
- "glob": "^7.1.3"
- },
- "bin": {
- "rimraf": "bin.js"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
+ "node_modules/neo-async": {
+ "version": "2.6.2",
+ "dev": true,
+ "license": "MIT",
+ "peer": true
},
- "node_modules/ripemd160": {
+ "node_modules/netmask": {
"version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz",
+ "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "hash-base": "^3.0.0",
- "inherits": "^2.0.1"
+ "engines": {
+ "node": ">= 0.4.0"
}
},
- "node_modules/run-parallel": {
- "version": "1.2.0",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
+ "node_modules/node-fetch": {
+ "version": "2.6.12",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "queue-microtask": "^1.2.2"
+ "whatwg-url": "^5.0.0"
+ },
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ },
+ "peerDependencies": {
+ "encoding": "^0.1.0"
+ },
+ "peerDependenciesMeta": {
+ "encoding": {
+ "optional": true
+ }
}
},
- "node_modules/safe-buffer": {
- "version": "5.2.1",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "MIT"
- },
- "node_modules/safer-buffer": {
- "version": "2.1.2",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/schema-utils": {
- "version": "3.3.0",
+ "node_modules/node-polyfill-webpack-plugin": {
+ "version": "1.1.4",
"dev": true,
"license": "MIT",
"dependencies": {
- "@types/json-schema": "^7.0.8",
- "ajv": "^6.12.5",
- "ajv-keywords": "^3.5.2"
+ "assert": "^2.0.0",
+ "browserify-zlib": "^0.2.0",
+ "buffer": "^6.0.3",
+ "console-browserify": "^1.2.0",
+ "constants-browserify": "^1.0.0",
+ "crypto-browserify": "^3.12.0",
+ "domain-browser": "^4.19.0",
+ "events": "^3.3.0",
+ "filter-obj": "^2.0.2",
+ "https-browserify": "^1.0.0",
+ "os-browserify": "^0.3.0",
+ "path-browserify": "^1.0.1",
+ "process": "^0.11.10",
+ "punycode": "^2.1.1",
+ "querystring-es3": "^0.2.1",
+ "readable-stream": "^3.6.0",
+ "stream-browserify": "^3.0.0",
+ "stream-http": "^3.2.0",
+ "string_decoder": "^1.3.0",
+ "timers-browserify": "^2.0.12",
+ "tty-browserify": "^0.0.1",
+ "url": "^0.11.0",
+ "util": "^0.12.4",
+ "vm-browserify": "^1.1.2"
},
"engines": {
- "node": ">= 10.13.0"
+ "node": ">=10"
},
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
+ "peerDependencies": {
+ "webpack": ">=5"
}
},
- "node_modules/secure-compare": {
- "version": "3.0.1",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/select-hose": {
- "version": "2.0.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/selfsigned": {
- "version": "2.1.1",
+ "node_modules/node-preload": {
+ "version": "0.2.1",
"dev": true,
"license": "MIT",
"dependencies": {
- "node-forge": "^1"
+ "process-on-spawn": "^1.0.0"
},
"engines": {
- "node": ">=10"
+ "node": ">=8"
}
},
- "node_modules/semver": {
- "version": "6.3.1",
- "dev": true,
- "license": "ISC",
- "bin": {
- "semver": "bin/semver.js"
- }
+ "node_modules/node-releases": {
+ "version": "2.0.18",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz",
+ "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==",
+ "dev": true
},
- "node_modules/send": {
- "version": "0.19.0",
- "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz",
- "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==",
+ "node_modules/node-stdlib-browser": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/node-stdlib-browser/-/node-stdlib-browser-1.3.1.tgz",
+ "integrity": "sha512-X75ZN8DCLftGM5iKwoYLA3rjnrAEs97MkzvSd4q2746Tgpg8b8XWiBGiBG4ZpgcAqBgtgPHTiAc8ZMCvZuikDw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "debug": "2.6.9",
- "depd": "2.0.0",
- "destroy": "1.2.0",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "fresh": "0.5.2",
- "http-errors": "2.0.0",
- "mime": "1.6.0",
- "ms": "2.1.3",
- "on-finished": "2.4.1",
- "range-parser": "~1.2.1",
- "statuses": "2.0.1"
+ "assert": "^2.0.0",
+ "browser-resolve": "^2.0.0",
+ "browserify-zlib": "^0.2.0",
+ "buffer": "^5.7.1",
+ "console-browserify": "^1.1.0",
+ "constants-browserify": "^1.0.0",
+ "create-require": "^1.1.1",
+ "crypto-browserify": "^3.12.1",
+ "domain-browser": "4.22.0",
+ "events": "^3.0.0",
+ "https-browserify": "^1.0.0",
+ "isomorphic-timers-promises": "^1.0.1",
+ "os-browserify": "^0.3.0",
+ "path-browserify": "^1.0.1",
+ "pkg-dir": "^5.0.0",
+ "process": "^0.11.10",
+ "punycode": "^1.4.1",
+ "querystring-es3": "^0.2.1",
+ "readable-stream": "^3.6.0",
+ "stream-browserify": "^3.0.0",
+ "stream-http": "^3.2.0",
+ "string_decoder": "^1.0.0",
+ "timers-browserify": "^2.0.4",
+ "tty-browserify": "0.0.1",
+ "url": "^0.11.4",
+ "util": "^0.12.4",
+ "vm-browserify": "^1.0.1"
},
"engines": {
- "node": ">= 0.8.0"
+ "node": ">=10"
}
},
- "node_modules/send/node_modules/debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "node_modules/node-stdlib-browser/node_modules/buffer": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
"dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
"license": "MIT",
"dependencies": {
- "ms": "2.0.0"
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.1.13"
}
},
- "node_modules/send/node_modules/debug/node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/send/node_modules/encodeurl": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
- "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
+ "node_modules/node-stdlib-browser/node_modules/find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/send/node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/serialize-javascript": {
- "version": "6.0.1",
- "dev": true,
- "license": "BSD-3-Clause",
"dependencies": {
- "randombytes": "^2.1.0"
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/serve-index": {
- "version": "1.9.1",
+ "node_modules/node-stdlib-browser/node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "accepts": "~1.3.4",
- "batch": "0.6.1",
- "debug": "2.6.9",
- "escape-html": "~1.0.3",
- "http-errors": "~1.6.2",
- "mime-types": "~2.1.17",
- "parseurl": "~1.3.2"
+ "p-locate": "^5.0.0"
},
"engines": {
- "node": ">= 0.8.0"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/serve-index/node_modules/debug": {
- "version": "2.6.9",
+ "node_modules/node-stdlib-browser/node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "ms": "2.0.0"
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/serve-index/node_modules/depd": {
- "version": "1.1.2",
+ "node_modules/node-stdlib-browser/node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
"engines": {
- "node": ">= 0.6"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/serve-index/node_modules/http-errors": {
- "version": "1.6.3",
+ "node_modules/node-stdlib-browser/node_modules/pkg-dir": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-5.0.0.tgz",
+ "integrity": "sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "depd": "~1.1.2",
- "inherits": "2.0.3",
- "setprototypeof": "1.1.0",
- "statuses": ">= 1.4.0 < 2"
+ "find-up": "^5.0.0"
},
"engines": {
- "node": ">= 0.6"
+ "node": ">=10"
}
},
- "node_modules/serve-index/node_modules/inherits": {
- "version": "2.0.3",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/serve-index/node_modules/ms": {
- "version": "2.0.0",
+ "node_modules/node-stdlib-browser/node_modules/punycode": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
+ "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==",
"dev": true,
"license": "MIT"
},
- "node_modules/serve-index/node_modules/setprototypeof": {
- "version": "1.1.0",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/serve-index/node_modules/statuses": {
- "version": "1.5.0",
+ "node_modules/normalize-path": {
+ "version": "3.0.0",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">= 0.6"
+ "node": ">=0.10.0"
}
},
- "node_modules/serve-static": {
- "version": "1.16.2",
- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz",
- "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==",
+ "node_modules/nyc": {
+ "version": "15.1.0",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
"dependencies": {
- "encodeurl": "~2.0.0",
- "escape-html": "~1.0.3",
- "parseurl": "~1.3.3",
- "send": "0.19.0"
+ "@istanbuljs/load-nyc-config": "^1.0.0",
+ "@istanbuljs/schema": "^0.1.2",
+ "caching-transform": "^4.0.0",
+ "convert-source-map": "^1.7.0",
+ "decamelize": "^1.2.0",
+ "find-cache-dir": "^3.2.0",
+ "find-up": "^4.1.0",
+ "foreground-child": "^2.0.0",
+ "get-package-type": "^0.1.0",
+ "glob": "^7.1.6",
+ "istanbul-lib-coverage": "^3.0.0",
+ "istanbul-lib-hook": "^3.0.0",
+ "istanbul-lib-instrument": "^4.0.0",
+ "istanbul-lib-processinfo": "^2.0.2",
+ "istanbul-lib-report": "^3.0.0",
+ "istanbul-lib-source-maps": "^4.0.0",
+ "istanbul-reports": "^3.0.2",
+ "make-dir": "^3.0.0",
+ "node-preload": "^0.2.1",
+ "p-map": "^3.0.0",
+ "process-on-spawn": "^1.0.0",
+ "resolve-from": "^5.0.0",
+ "rimraf": "^3.0.0",
+ "signal-exit": "^3.0.2",
+ "spawn-wrap": "^2.0.0",
+ "test-exclude": "^6.0.0",
+ "yargs": "^15.0.2"
+ },
+ "bin": {
+ "nyc": "bin/nyc.js"
},
"engines": {
- "node": ">= 0.8.0"
+ "node": ">=8.9"
}
},
- "node_modules/set-blocking": {
- "version": "2.0.0",
+ "node_modules/nyc/node_modules/cliui": {
+ "version": "6.0.0",
"dev": true,
- "license": "ISC"
+ "license": "ISC",
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.0",
+ "wrap-ansi": "^6.2.0"
+ }
},
- "node_modules/set-function-length": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
- "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",
+ "node_modules/nyc/node_modules/wrap-ansi": {
+ "version": "6.2.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "define-data-property": "^1.1.4",
- "es-errors": "^1.3.0",
- "function-bind": "^1.1.2",
- "get-intrinsic": "^1.2.4",
- "gopd": "^1.0.1",
- "has-property-descriptors": "^1.0.2"
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
},
"engines": {
- "node": ">= 0.4"
+ "node": ">=8"
}
},
- "node_modules/setimmediate": {
- "version": "1.0.5",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/setprototypeof": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
- "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
+ "node_modules/nyc/node_modules/y18n": {
+ "version": "4.0.3",
"dev": true,
"license": "ISC"
},
- "node_modules/sha.js": {
- "version": "2.4.11",
- "dev": true,
- "license": "(MIT AND BSD-3-Clause)",
- "dependencies": {
- "inherits": "^2.0.1",
- "safe-buffer": "^5.0.1"
- },
- "bin": {
- "sha.js": "bin.js"
- }
- },
- "node_modules/shallow-clone": {
- "version": "3.0.1",
+ "node_modules/nyc/node_modules/yargs": {
+ "version": "15.4.1",
"dev": true,
"license": "MIT",
"dependencies": {
- "kind-of": "^6.0.2"
+ "cliui": "^6.0.0",
+ "decamelize": "^1.2.0",
+ "find-up": "^4.1.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^4.2.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^18.1.2"
},
"engines": {
"node": ">=8"
}
},
- "node_modules/shebang-command": {
- "version": "2.0.0",
- "license": "MIT",
+ "node_modules/nyc/node_modules/yargs-parser": {
+ "version": "18.1.3",
+ "dev": true,
+ "license": "ISC",
"dependencies": {
- "shebang-regex": "^3.0.0"
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
},
"engines": {
- "node": ">=8"
- }
- },
- "node_modules/shebang-regex": {
- "version": "3.0.0",
- "license": "MIT",
- "engines": {
- "node": ">=8"
+ "node": ">=6"
}
},
- "node_modules/shell-quote": {
- "version": "1.8.1",
+ "node_modules/object-inspect": {
+ "version": "1.13.2",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz",
+ "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==",
"dev": true,
"license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/showdown": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/showdown/-/showdown-2.1.0.tgz",
- "integrity": "sha512-/6NVYu4U819R2pUIk79n67SYgJHWCce0a5xTP979WbNp0FL9MN1I1QK662IDU1b6JzKTvmhgI7T7JYIxBi3kMQ==",
+ "node_modules/object-is": {
+ "version": "1.1.5",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "commander": "^9.0.0"
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3"
},
- "bin": {
- "showdown": "bin/showdown.js"
+ "engines": {
+ "node": ">= 0.4"
},
"funding": {
- "type": "individual",
- "url": "https://www.paypal.me/tiviesantos"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/showdown/node_modules/commander": {
- "version": "9.5.0",
+ "node_modules/object-keys": {
+ "version": "1.1.1",
"dev": true,
"license": "MIT",
"engines": {
- "node": "^12.20.0 || >=14"
+ "node": ">= 0.4"
}
},
- "node_modules/side-channel": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz",
- "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==",
+ "node_modules/once": {
+ "version": "1.4.0",
+ "license": "ISC",
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/opener": {
+ "version": "1.5.2",
"dev": true,
+ "license": "(WTFPL OR MIT)",
+ "bin": {
+ "opener": "bin/opener-bin.js"
+ }
+ },
+ "node_modules/optionator": {
+ "version": "0.9.3",
"license": "MIT",
"dependencies": {
- "call-bind": "^1.0.7",
- "es-errors": "^1.3.0",
- "get-intrinsic": "^1.2.4",
- "object-inspect": "^1.13.1"
+ "@aashutoshrathi/word-wrap": "^1.2.3",
+ "deep-is": "^0.1.3",
+ "fast-levenshtein": "^2.0.6",
+ "levn": "^0.4.1",
+ "prelude-ls": "^1.2.1",
+ "type-check": "^0.4.0"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">= 0.8.0"
}
},
- "node_modules/signal-exit": {
- "version": "3.0.7",
+ "node_modules/os-browserify": {
+ "version": "0.3.0",
"dev": true,
- "license": "ISC"
+ "license": "MIT"
},
- "node_modules/slash": {
- "version": "3.0.0",
+ "node_modules/p-limit": {
+ "version": "2.3.0",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "p-try": "^2.0.0"
+ },
"engines": {
- "node": ">=8"
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/smart-buffer": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
- "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==",
+ "node_modules/p-locate": {
+ "version": "4.1.0",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "p-limit": "^2.2.0"
+ },
"engines": {
- "node": ">= 6.0.0",
- "npm": ">= 3.0.0"
+ "node": ">=8"
}
},
- "node_modules/sockjs": {
- "version": "0.3.24",
+ "node_modules/p-map": {
+ "version": "3.0.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "faye-websocket": "^0.11.3",
- "uuid": "^8.3.2",
- "websocket-driver": "^0.7.4"
+ "aggregate-error": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/socks": {
- "version": "2.8.3",
- "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz",
- "integrity": "sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==",
+ "node_modules/p-try": {
+ "version": "2.2.0",
"dev": true,
"license": "MIT",
- "dependencies": {
- "ip-address": "^9.0.5",
- "smart-buffer": "^4.2.0"
- },
"engines": {
- "node": ">= 10.0.0",
- "npm": ">= 3.0.0"
+ "node": ">=6"
}
},
- "node_modules/socks-proxy-agent": {
- "version": "8.0.4",
- "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz",
- "integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==",
+ "node_modules/pac-proxy-agent": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.2.tgz",
+ "integrity": "sha512-BFi3vZnO9X5Qt6NRz7ZOaPja3ic0PhlsmCRYLOpN11+mWBCR6XJDqW5RF3j8jm4WGGQZtBA+bTfxYzeKW73eHg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "agent-base": "^7.1.1",
+ "@tootallnate/quickjs-emscripten": "^0.23.0",
+ "agent-base": "^7.0.2",
"debug": "^4.3.4",
- "socks": "^2.8.3"
+ "get-uri": "^6.0.1",
+ "http-proxy-agent": "^7.0.0",
+ "https-proxy-agent": "^7.0.5",
+ "pac-resolver": "^7.0.1",
+ "socks-proxy-agent": "^8.0.4"
},
"engines": {
"node": ">= 14"
}
},
- "node_modules/source-map": {
- "version": "0.6.1",
- "dev": true,
- "license": "BSD-3-Clause",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/source-map-support": {
- "version": "0.5.21",
- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
- "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
+ "node_modules/pac-resolver": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz",
+ "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "buffer-from": "^1.0.0",
- "source-map": "^0.6.0"
+ "degenerator": "^5.0.0",
+ "netmask": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 14"
}
},
- "node_modules/spawn-wrap": {
- "version": "2.0.0",
+ "node_modules/package-hash": {
+ "version": "4.0.0",
"dev": true,
"license": "ISC",
"dependencies": {
- "foreground-child": "^2.0.0",
- "is-windows": "^1.0.2",
- "make-dir": "^3.0.0",
- "rimraf": "^3.0.0",
- "signal-exit": "^3.0.2",
- "which": "^2.0.1"
+ "graceful-fs": "^4.1.15",
+ "hasha": "^5.0.0",
+ "lodash.flattendeep": "^4.4.0",
+ "release-zalgo": "^1.0.0"
},
"engines": {
"node": ">=8"
}
},
- "node_modules/spdy": {
- "version": "4.0.2",
+ "node_modules/package-json-from-dist": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
+ "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",
+ "dev": true,
+ "license": "BlueOak-1.0.0"
+ },
+ "node_modules/pako": {
+ "version": "1.0.11",
"dev": true,
+ "license": "(MIT AND Zlib)"
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
"license": "MIT",
"dependencies": {
- "debug": "^4.1.0",
- "handle-thing": "^2.0.0",
- "http-deceiver": "^1.2.7",
- "select-hose": "^2.0.0",
- "spdy-transport": "^3.0.0"
+ "callsites": "^3.0.0"
},
"engines": {
- "node": ">=6.0.0"
+ "node": ">=6"
}
},
- "node_modules/spdy-transport": {
- "version": "3.0.0",
+ "node_modules/parse-asn1": {
+ "version": "5.1.9",
+ "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.9.tgz",
+ "integrity": "sha512-fIYNuZ/HastSb80baGOuPRo1O9cf4baWw5WsAp7dBuUzeTD/BoaG8sVTdlPFksBE2lF21dN+A1AnrpIjSWqHHg==",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
"dependencies": {
- "debug": "^4.1.0",
- "detect-node": "^2.0.4",
- "hpack.js": "^2.1.6",
- "obuf": "^1.1.2",
- "readable-stream": "^3.0.6",
- "wbuf": "^1.7.3"
+ "asn1.js": "^4.10.1",
+ "browserify-aes": "^1.2.0",
+ "evp_bytestokey": "^1.0.3",
+ "pbkdf2": "^3.1.5",
+ "safe-buffer": "^5.2.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
}
},
- "node_modules/sprintf-js": {
- "version": "1.0.3",
- "dev": true,
- "license": "BSD-3-Clause"
- },
- "node_modules/statuses": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
- "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/stream-browserify": {
- "version": "3.0.0",
+ "node_modules/parse-json": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "inherits": "~2.0.4",
- "readable-stream": "^3.5.0"
+ "@babel/code-frame": "^7.0.0",
+ "error-ex": "^1.3.1",
+ "json-parse-even-better-errors": "^2.3.0",
+ "lines-and-columns": "^1.1.6"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/stream-http": {
- "version": "3.2.0",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "builtin-status-codes": "^3.0.0",
- "inherits": "^2.0.4",
- "readable-stream": "^3.6.0",
- "xtend": "^4.0.2"
- }
+ "node_modules/path-browserify": {
+ "version": "1.0.1",
+ "license": "MIT"
},
- "node_modules/streamx": {
- "version": "2.20.1",
- "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.20.1.tgz",
- "integrity": "sha512-uTa0mU6WUC65iUvzKH4X9hEdvSW7rbPxPtwfWiLMSj3qTdQbAiUboZTxauKfpFuGIGa1C2BYijZ7wgdUXICJhA==",
- "dev": true,
+ "node_modules/path-exists": {
+ "version": "4.0.0",
"license": "MIT",
- "dependencies": {
- "fast-fifo": "^1.3.2",
- "queue-tick": "^1.0.1",
- "text-decoder": "^1.1.0"
- },
- "optionalDependencies": {
- "bare-events": "^2.2.0"
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/string_decoder": {
- "version": "1.3.0",
- "dev": true,
+ "node_modules/path-is-absolute": {
+ "version": "1.0.1",
"license": "MIT",
- "dependencies": {
- "safe-buffer": "~5.2.0"
+ "engines": {
+ "node": ">=0.10.0"
}
},
- "node_modules/string-width": {
- "version": "4.2.3",
- "dev": true,
+ "node_modules/path-key": {
+ "version": "3.1.1",
"license": "MIT",
- "dependencies": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.1"
- },
"engines": {
"node": ">=8"
}
},
- "node_modules/strip-ansi": {
- "version": "6.0.1",
- "license": "MIT",
+ "node_modules/path-parse": {
+ "version": "1.0.7",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/path-scurry": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",
+ "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
"dependencies": {
- "ansi-regex": "^5.0.1"
+ "lru-cache": "^10.2.0",
+ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
},
"engines": {
- "node": ">=8"
+ "node": ">=16 || 14 >=14.18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/strip-bom": {
- "version": "4.0.0",
+ "node_modules/path-scurry/node_modules/lru-cache": {
+ "version": "10.4.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
+ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/pathval": {
+ "version": "1.1.1",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=8"
+ "node": "*"
}
},
- "node_modules/strip-final-newline": {
- "version": "2.0.0",
+ "node_modules/pbkdf2": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.5.tgz",
+ "integrity": "sha512-Q3CG/cYvCO1ye4QKkuH7EXxs3VC/rI1/trd+qX2+PolbaKG0H+bgcZzrTt96mMyRtejk+JMCiLUn3y29W8qmFQ==",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "create-hash": "^1.2.0",
+ "create-hmac": "^1.1.7",
+ "ripemd160": "^2.0.3",
+ "safe-buffer": "^5.2.1",
+ "sha.js": "^2.4.12",
+ "to-buffer": "^1.2.1"
+ },
"engines": {
- "node": ">=6"
+ "node": ">= 0.10"
}
},
- "node_modules/strip-json-comments": {
- "version": "3.1.1",
+ "node_modules/pend": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
+ "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "2.3.1",
+ "dev": true,
"license": "MIT",
"engines": {
- "node": ">=8"
+ "node": ">=8.6"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/sponsors/jonschlinkert"
}
},
- "node_modules/supports-color": {
- "version": "8.1.1",
+ "node_modules/pkg-dir": {
+ "version": "4.2.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "has-flag": "^4.0.0"
+ "find-up": "^4.0.0"
},
"engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/supports-color?sponsor=1"
+ "node": ">=8"
}
},
- "node_modules/supports-preserve-symlinks-flag": {
- "version": "1.0.0",
+ "node_modules/portfinder": {
+ "version": "1.0.32",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">= 0.4"
+ "dependencies": {
+ "async": "^2.6.4",
+ "debug": "^3.2.7",
+ "mkdirp": "^0.5.6"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "engines": {
+ "node": ">= 0.12.0"
}
},
- "node_modules/swc-loader": {
- "version": "0.2.3",
+ "node_modules/portfinder/node_modules/async": {
+ "version": "2.6.4",
"dev": true,
"license": "MIT",
- "peerDependencies": {
- "@swc/core": "^1.2.147",
- "webpack": ">=2"
+ "dependencies": {
+ "lodash": "^4.17.14"
}
},
- "node_modules/tapable": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",
- "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==",
+ "node_modules/portfinder/node_modules/debug": {
+ "version": "3.2.7",
"dev": true,
- "engines": {
- "node": ">=6"
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.1"
}
},
- "node_modules/tar-fs": {
- "version": "3.0.6",
- "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz",
- "integrity": "sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==",
+ "node_modules/possible-typed-array-names": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz",
+ "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "pump": "^3.0.0",
- "tar-stream": "^3.1.5"
- },
- "optionalDependencies": {
- "bare-fs": "^2.1.1",
- "bare-path": "^2.1.0"
+ "engines": {
+ "node": ">= 0.4"
}
},
- "node_modules/tar-stream": {
- "version": "3.1.7",
- "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz",
- "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==",
+ "node_modules/postcss": {
+ "version": "8.5.6",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",
+ "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==",
"dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
"license": "MIT",
"dependencies": {
- "b4a": "^1.6.4",
- "fast-fifo": "^1.2.0",
- "streamx": "^2.15.0"
+ "nanoid": "^3.3.11",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
}
},
- "node_modules/terser": {
- "version": "5.31.6",
- "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.6.tgz",
- "integrity": "sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg==",
+ "node_modules/postcss/node_modules/nanoid": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
+ "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
"dev": true,
- "dependencies": {
- "@jridgewell/source-map": "^0.3.3",
- "acorn": "^8.8.2",
- "commander": "^2.20.0",
- "source-map-support": "~0.5.20"
- },
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
"bin": {
- "terser": "bin/terser"
+ "nanoid": "bin/nanoid.cjs"
},
"engines": {
- "node": ">=10"
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
- "node_modules/terser-webpack-plugin": {
- "version": "5.3.10",
- "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz",
- "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==",
+ "node_modules/prelude-ls": {
+ "version": "1.2.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/prettier": {
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.1.tgz",
+ "integrity": "sha512-hPpFQvHwL3Qv5AdRvBFMhnKo4tYxp0ReXiPn2bxkiohEX6mBeBwEpBSQTkD458RaaDKQMYSp4hX4UtfUTA5wDw==",
"dev": true,
- "dependencies": {
- "@jridgewell/trace-mapping": "^0.3.20",
- "jest-worker": "^27.4.5",
- "schema-utils": "^3.1.1",
- "serialize-javascript": "^6.0.1",
- "terser": "^5.26.0"
+ "license": "MIT",
+ "bin": {
+ "prettier": "bin/prettier.cjs"
},
"engines": {
- "node": ">= 10.13.0"
+ "node": ">=14"
},
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "webpack": "^5.1.0"
- },
- "peerDependenciesMeta": {
- "@swc/core": {
- "optional": true
- },
- "esbuild": {
- "optional": true
- },
- "uglify-js": {
- "optional": true
- }
+ "url": "https://github.com/prettier/prettier?sponsor=1"
}
},
- "node_modules/test-exclude": {
- "version": "6.0.0",
+ "node_modules/process": {
+ "version": "0.11.10",
"dev": true,
- "license": "ISC",
- "dependencies": {
- "@istanbuljs/schema": "^0.1.2",
- "glob": "^7.1.4",
- "minimatch": "^3.0.4"
- },
+ "license": "MIT",
"engines": {
- "node": ">=8"
- }
- },
- "node_modules/text-decoder": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.0.tgz",
- "integrity": "sha512-n1yg1mOj9DNpk3NeZOx7T6jchTbyJS3i3cucbNN6FcdPriMZx7NsgrGpWWdWZZGxD7ES1XB+3uoqHMgOKaN+fg==",
- "dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "b4a": "^1.6.4"
+ "node": ">= 0.6.0"
}
},
- "node_modules/text-loader": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/text-loader/-/text-loader-0.0.1.tgz",
- "integrity": "sha512-y2GvBFB9hibaHBRWE9xQhdENU1KppXnM9DCf6NueYPB/lnNX8ZzP3JLs1R1p3ObItcs+y8DBiPwelkJf8txe+g==",
- "dev": true
- },
- "node_modules/text-table": {
- "version": "0.2.0",
- "license": "MIT"
- },
- "node_modules/through": {
- "version": "2.3.8",
- "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
- "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/thunky": {
- "version": "1.1.0",
+ "node_modules/process-nextick-args": {
+ "version": "2.0.1",
"dev": true,
"license": "MIT"
},
- "node_modules/timers-browserify": {
- "version": "2.0.12",
+ "node_modules/process-on-spawn": {
+ "version": "1.0.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "setimmediate": "^1.0.4"
+ "fromentries": "^1.2.0"
},
"engines": {
- "node": ">=0.6.0"
+ "node": ">=8"
}
},
- "node_modules/to-fast-properties": {
- "version": "2.0.0",
+ "node_modules/progress": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
+ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=4"
+ "node": ">=0.4.0"
}
},
- "node_modules/to-regex-range": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "node_modules/proxy-agent": {
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz",
+ "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "is-number": "^7.0.0"
+ "agent-base": "^7.0.2",
+ "debug": "^4.3.4",
+ "http-proxy-agent": "^7.0.1",
+ "https-proxy-agent": "^7.0.3",
+ "lru-cache": "^7.14.1",
+ "pac-proxy-agent": "^7.0.1",
+ "proxy-from-env": "^1.1.0",
+ "socks-proxy-agent": "^8.0.2"
},
"engines": {
- "node": ">=8.0"
+ "node": ">= 14"
}
},
- "node_modules/toidentifier": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
- "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
+ "node_modules/proxy-agent/node_modules/lru-cache": {
+ "version": "7.18.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz",
+ "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
"engines": {
- "node": ">=0.6"
+ "node": ">=12"
}
},
- "node_modules/tr46": {
- "version": "0.0.3",
+ "node_modules/proxy-from-env": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
"dev": true,
"license": "MIT"
},
- "node_modules/ts-node": {
- "version": "10.9.1",
+ "node_modules/public-encrypt": {
+ "version": "4.0.3",
"dev": true,
"license": "MIT",
"dependencies": {
- "@cspotcode/source-map-support": "^0.8.0",
- "@tsconfig/node10": "^1.0.7",
- "@tsconfig/node12": "^1.0.7",
- "@tsconfig/node14": "^1.0.0",
- "@tsconfig/node16": "^1.0.2",
- "acorn": "^8.4.1",
- "acorn-walk": "^8.1.1",
- "arg": "^4.1.0",
- "create-require": "^1.1.0",
- "diff": "^4.0.1",
- "make-error": "^1.1.1",
- "v8-compile-cache-lib": "^3.0.1",
- "yn": "3.1.1"
- },
- "bin": {
- "ts-node": "dist/bin.js",
- "ts-node-cwd": "dist/bin-cwd.js",
- "ts-node-esm": "dist/bin-esm.js",
- "ts-node-script": "dist/bin-script.js",
- "ts-node-transpile-only": "dist/bin-transpile.js",
- "ts-script": "dist/bin-script-deprecated.js"
- },
- "peerDependencies": {
- "@swc/core": ">=1.2.50",
- "@swc/wasm": ">=1.2.50",
- "@types/node": "*",
- "typescript": ">=2.7"
- },
- "peerDependenciesMeta": {
- "@swc/core": {
- "optional": true
- },
- "@swc/wasm": {
- "optional": true
- }
- }
- },
- "node_modules/ts-node/node_modules/diff": {
- "version": "4.0.2",
- "dev": true,
- "license": "BSD-3-Clause",
- "engines": {
- "node": ">=0.3.1"
+ "bn.js": "^4.1.0",
+ "browserify-rsa": "^4.0.0",
+ "create-hash": "^1.1.0",
+ "parse-asn1": "^5.0.0",
+ "randombytes": "^2.0.1",
+ "safe-buffer": "^5.1.2"
}
},
- "node_modules/tslib": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz",
- "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==",
- "dev": true,
- "license": "0BSD"
- },
- "node_modules/tty-browserify": {
- "version": "0.0.1",
+ "node_modules/public-encrypt/node_modules/bn.js": {
+ "version": "4.12.0",
"dev": true,
"license": "MIT"
},
- "node_modules/type-check": {
- "version": "0.4.0",
+ "node_modules/pump": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz",
+ "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "prelude-ls": "^1.2.1"
- },
- "engines": {
- "node": ">= 0.8.0"
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
}
},
- "node_modules/type-detect": {
- "version": "4.0.8",
- "dev": true,
+ "node_modules/punycode": {
+ "version": "2.3.0",
"license": "MIT",
"engines": {
- "node": ">=4"
+ "node": ">=6"
}
},
- "node_modules/type-fest": {
- "version": "0.20.2",
- "license": "(MIT OR CC0-1.0)",
+ "node_modules/puppeteer": {
+ "version": "23.4.0",
+ "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-23.4.0.tgz",
+ "integrity": "sha512-FxgFFJI7NAsX8uebiEDSjS86vufz9TaqERQHShQT0lCbSRI3jUPEcz/0HdwLiYvfYNsc1zGjqY3NsGZya4PvUA==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@puppeteer/browsers": "2.4.0",
+ "chromium-bidi": "0.6.5",
+ "cosmiconfig": "^9.0.0",
+ "devtools-protocol": "0.0.1342118",
+ "puppeteer-core": "23.4.0",
+ "typed-query-selector": "^2.12.0"
+ },
+ "bin": {
+ "puppeteer": "lib/cjs/puppeteer/node/cli.js"
+ },
"engines": {
- "node": ">=10"
+ "node": ">=18"
+ }
+ },
+ "node_modules/puppeteer-core": {
+ "version": "23.4.0",
+ "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.4.0.tgz",
+ "integrity": "sha512-fqkIP5FOcb38jfBj/OcBz1wFaI9nk40uQKSORvnXws6wCbep2dg8yxZ3ddJxBIfQsxoiEOvnrykFinUScrB/ew==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@puppeteer/browsers": "2.4.0",
+ "chromium-bidi": "0.6.5",
+ "debug": "^4.3.7",
+ "devtools-protocol": "0.0.1342118",
+ "typed-query-selector": "^2.12.0",
+ "ws": "^8.18.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/type-is": {
- "version": "1.6.18",
- "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
- "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
+ "node_modules/puppeteer-core/node_modules/debug": {
+ "version": "4.3.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
+ "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "media-typer": "0.3.0",
- "mime-types": "~2.1.24"
+ "ms": "^2.1.3"
},
"engines": {
- "node": ">= 0.6"
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
}
},
- "node_modules/typed-query-selector": {
- "version": "2.12.0",
- "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.0.tgz",
- "integrity": "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==",
+ "node_modules/puppeteer-core/node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
"dev": true,
"license": "MIT"
},
- "node_modules/typedarray-to-buffer": {
- "version": "3.1.5",
+ "node_modules/qs": {
+ "version": "6.13.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
+ "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
"dev": true,
- "license": "MIT",
+ "license": "BSD-3-Clause",
"dependencies": {
- "is-typedarray": "^1.0.0"
- }
- },
- "node_modules/typescript": {
- "version": "5.8.3",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
- "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
- "license": "Apache-2.0",
- "bin": {
- "tsc": "bin/tsc",
- "tsserver": "bin/tsserver"
+ "side-channel": "^1.0.6"
},
"engines": {
- "node": ">=14.17"
+ "node": ">=0.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/unbzip2-stream": {
- "version": "1.4.3",
- "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz",
- "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==",
+ "node_modules/querystring-es3": {
+ "version": "0.2.1",
"dev": true,
- "license": "MIT",
- "dependencies": {
- "buffer": "^5.2.1",
- "through": "^2.3.8"
+ "engines": {
+ "node": ">=0.4.x"
}
},
- "node_modules/unbzip2-stream/node_modules/buffer": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
- "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
- "dev": true,
+ "node_modules/queue-microtask": {
+ "version": "1.2.3",
"funding": [
{
"type": "github",
@@ -7704,1066 +8045,3603 @@
"url": "https://feross.org/support"
}
],
- "license": "MIT",
- "dependencies": {
- "base64-js": "^1.3.1",
- "ieee754": "^1.1.13"
- }
+ "license": "MIT"
},
- "node_modules/union": {
- "version": "0.5.0",
+ "node_modules/queue-tick": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz",
+ "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==",
"dev": true,
- "dependencies": {
- "qs": "^6.4.0"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
+ "license": "MIT"
},
- "node_modules/universalify": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
- "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
+ "node_modules/randombytes": {
+ "version": "2.1.0",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">= 10.0.0"
+ "dependencies": {
+ "safe-buffer": "^5.1.0"
}
},
- "node_modules/unpipe": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
- "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
+ "node_modules/randomfill": {
+ "version": "1.0.4",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">= 0.8"
+ "dependencies": {
+ "randombytes": "^2.0.5",
+ "safe-buffer": "^5.1.0"
}
},
- "node_modules/update-browserslist-db": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz",
- "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==",
+ "node_modules/readable-stream": {
+ "version": "3.6.2",
"dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/browserslist"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
+ "license": "MIT",
"dependencies": {
- "escalade": "^3.1.2",
- "picocolors": "^1.0.1"
- },
- "bin": {
- "update-browserslist-db": "cli.js"
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
},
- "peerDependencies": {
- "browserslist": ">= 4.21.0"
- }
- },
- "node_modules/uri-js": {
- "version": "4.4.1",
- "license": "BSD-2-Clause",
- "dependencies": {
- "punycode": "^2.1.0"
+ "engines": {
+ "node": ">= 6"
}
},
- "node_modules/url": {
- "version": "0.11.1",
+ "node_modules/readdirp": {
+ "version": "3.6.0",
"dev": true,
"license": "MIT",
"dependencies": {
- "punycode": "^1.4.1",
- "qs": "^6.11.0"
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
}
},
- "node_modules/url-join": {
- "version": "4.0.1",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/url/node_modules/punycode": {
- "version": "1.4.1",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/urlpattern-polyfill": {
- "version": "10.0.0",
- "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz",
- "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==",
+ "node_modules/regexp-to-ast": {
+ "version": "0.5.0",
"dev": true,
"license": "MIT"
},
- "node_modules/util": {
- "version": "0.12.5",
+ "node_modules/release-zalgo": {
+ "version": "1.0.0",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
"dependencies": {
- "inherits": "^2.0.3",
- "is-arguments": "^1.0.4",
- "is-generator-function": "^1.0.7",
- "is-typed-array": "^1.1.3",
- "which-typed-array": "^1.1.2"
+ "es6-error": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=4"
}
},
- "node_modules/util-deprecate": {
- "version": "1.0.2",
+ "node_modules/request-light": {
+ "version": "0.5.8",
"dev": true,
"license": "MIT"
},
- "node_modules/utils-merge": {
- "version": "1.0.1",
+ "node_modules/require-directory": {
+ "version": "2.1.1",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">= 0.4.0"
+ "node": ">=0.10.0"
}
},
- "node_modules/uuid": {
- "version": "8.3.2",
+ "node_modules/require-from-string": {
+ "version": "2.0.2",
"dev": true,
"license": "MIT",
- "bin": {
- "uuid": "dist/bin/uuid"
+ "engines": {
+ "node": ">=0.10.0"
}
},
- "node_modules/v8-compile-cache-lib": {
- "version": "3.0.1",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/vary": {
- "version": "1.1.2",
+ "node_modules/require-main-filename": {
+ "version": "2.0.0",
"dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
+ "license": "ISC"
},
- "node_modules/vm-browserify": {
- "version": "1.1.2",
+ "node_modules/requires-port": {
+ "version": "1.0.0",
"dev": true,
"license": "MIT"
},
- "node_modules/vscode-css-languageservice": {
- "version": "6.3.5",
- "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.3.5.tgz",
- "integrity": "sha512-ehEIMXYPYEz/5Svi2raL9OKLpBt5dSAdoCFoLpo0TVFKrVpDemyuQwS3c3D552z/qQCg3pMp8oOLMObY6M3ajQ==",
+ "node_modules/resolve": {
+ "version": "1.22.2",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vscode/l10n": "^0.0.18",
- "vscode-languageserver-textdocument": "^1.0.12",
- "vscode-languageserver-types": "3.17.5",
- "vscode-uri": "^3.1.0"
+ "is-core-module": "^2.11.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/vscode-html-languageservice": {
- "version": "5.4.0",
- "resolved": "https://registry.npmjs.org/vscode-html-languageservice/-/vscode-html-languageservice-5.4.0.tgz",
- "integrity": "sha512-9/cbc90BSYCghmHI7/VbWettHZdC7WYpz2g5gBK6UDUI1MkZbM773Q12uAYJx9jzAiNHPpyo6KzcwmcnugncAQ==",
+ "node_modules/resolve-from": {
+ "version": "5.0.0",
"dev": true,
"license": "MIT",
- "dependencies": {
- "@vscode/l10n": "^0.0.18",
- "vscode-languageserver-textdocument": "^1.0.12",
- "vscode-languageserver-types": "^3.17.5",
- "vscode-uri": "^3.1.0"
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/vscode-json-languageservice": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/vscode-json-languageservice/-/vscode-json-languageservice-5.5.0.tgz",
- "integrity": "sha512-JchBzp8ArzhCVpRS/LT4wzEEvwHXIUEdZD064cGTI4RVs34rNCZXPUguIYSfGBcHH1GV79ufPcfy3Pd8+ukbKw==",
- "dev": true,
+ "node_modules/reusify": {
+ "version": "1.0.4",
"license": "MIT",
- "dependencies": {
- "@vscode/l10n": "^0.0.18",
- "jsonc-parser": "^3.3.1",
- "vscode-languageserver-textdocument": "^1.0.12",
- "vscode-languageserver-types": "^3.17.5",
- "vscode-uri": "^3.1.0"
+ "engines": {
+ "iojs": ">=1.0.0",
+ "node": ">=0.10.0"
}
},
- "node_modules/vscode-jsonrpc": {
- "version": "8.2.0",
- "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz",
- "integrity": "sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==",
- "license": "MIT",
- "engines": {
- "node": ">=14.0.0"
+ "node_modules/rimraf": {
+ "version": "3.0.2",
+ "license": "ISC",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/vscode-languageserver": {
- "version": "9.0.1",
- "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-9.0.1.tgz",
- "integrity": "sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g==",
+ "node_modules/ripemd160": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.3.tgz",
+ "integrity": "sha512-5Di9UC0+8h1L6ZD2d7awM7E/T4uA1fJRlx6zk/NvdCCVEoAnFqvHmCuNeIKoCeIixBX/q8uM+6ycDvF8woqosA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "vscode-languageserver-protocol": "3.17.5"
+ "hash-base": "^3.1.2",
+ "inherits": "^2.0.4"
},
- "bin": {
- "installServerIntoExtension": "bin/installServerIntoExtension"
+ "engines": {
+ "node": ">= 0.8"
}
},
- "node_modules/vscode-languageserver-protocol": {
- "version": "3.17.5",
- "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.5.tgz",
- "integrity": "sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==",
+ "node_modules/rolldown-vite": {
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/rolldown-vite/-/rolldown-vite-7.3.1.tgz",
+ "integrity": "sha512-LYzdNAjRHhF2yA4JUQm/QyARyi216N2rpJ0lJZb8E9FU2y5v6Vk+xq/U4XBOxMefpWixT5H3TslmAHm1rqIq2w==",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "vscode-jsonrpc": "8.2.0",
- "vscode-languageserver-types": "3.17.5"
+ "@oxc-project/runtime": "0.101.0",
+ "fdir": "^6.5.0",
+ "lightningcss": "^1.30.2",
+ "picomatch": "^4.0.3",
+ "postcss": "^8.5.6",
+ "rolldown": "1.0.0-beta.53",
+ "tinyglobby": "^0.2.15"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^20.19.0 || >=22.12.0",
+ "esbuild": "^0.27.0",
+ "jiti": ">=1.21.0",
+ "less": "^4.0.0",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "esbuild": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
}
},
- "node_modules/vscode-languageserver-textdocument": {
- "version": "1.0.12",
- "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.12.tgz",
- "integrity": "sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==",
- "license": "MIT"
- },
- "node_modules/vscode-languageserver-types": {
- "version": "3.17.5",
- "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz",
- "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==",
- "license": "MIT"
+ "node_modules/rolldown-vite/node_modules/@oxc-project/runtime": {
+ "version": "0.101.0",
+ "resolved": "https://registry.npmjs.org/@oxc-project/runtime/-/runtime-0.101.0.tgz",
+ "integrity": "sha512-t3qpfVZIqSiLQ5Kqt/MC4Ge/WCOGrrcagAdzTcDaggupjiGxUx4nJF2v6wUCXWSzWHn5Ns7XLv13fCJEwCOERQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
},
- "node_modules/vscode-nls": {
- "version": "5.2.0",
+ "node_modules/rolldown-vite/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
},
- "node_modules/vscode-uri": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.1.0.tgz",
- "integrity": "sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==",
+ "node_modules/rolldown-vite/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
},
- "node_modules/vscode-ws-jsonrpc": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/vscode-ws-jsonrpc/-/vscode-ws-jsonrpc-3.4.0.tgz",
- "integrity": "sha512-jkNZvX0LdHt4skPxMw/jFePr3jRCJU6ZmO28oPoQ7RwNSkwU3uN8mgtxACYEbOY68bYmi/b/uJzhxewKCz1P4w==",
+ "node_modules/rolldown-vite/node_modules/rolldown": {
+ "version": "1.0.0-beta.53",
+ "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-beta.53.tgz",
+ "integrity": "sha512-Qd9c2p0XKZdgT5AYd+KgAMggJ8ZmCs3JnS9PTMWkyUfteKlfmKtxJbWTHkVakxwXs1Ub7jrRYVeFeF7N0sQxyw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "vscode-jsonrpc": "~8.2.1"
+ "@oxc-project/types": "=0.101.0",
+ "@rolldown/pluginutils": "1.0.0-beta.53"
+ },
+ "bin": {
+ "rolldown": "bin/cli.mjs"
},
"engines": {
- "node": ">=18.19.0",
- "npm": ">=10.2.3"
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "optionalDependencies": {
+ "@rolldown/binding-android-arm64": "1.0.0-beta.53",
+ "@rolldown/binding-darwin-arm64": "1.0.0-beta.53",
+ "@rolldown/binding-darwin-x64": "1.0.0-beta.53",
+ "@rolldown/binding-freebsd-x64": "1.0.0-beta.53",
+ "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.53",
+ "@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.53",
+ "@rolldown/binding-linux-arm64-musl": "1.0.0-beta.53",
+ "@rolldown/binding-linux-x64-gnu": "1.0.0-beta.53",
+ "@rolldown/binding-linux-x64-musl": "1.0.0-beta.53",
+ "@rolldown/binding-openharmony-arm64": "1.0.0-beta.53",
+ "@rolldown/binding-wasm32-wasi": "1.0.0-beta.53",
+ "@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.53",
+ "@rolldown/binding-win32-x64-msvc": "1.0.0-beta.53"
}
},
- "node_modules/vscode-ws-jsonrpc/node_modules/vscode-jsonrpc": {
- "version": "8.2.1",
- "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.1.tgz",
- "integrity": "sha512-kdjOSJ2lLIn7r1rtrMbbNCHjyMPfRnowdKjBQ+mGq6NAW5QY2bEZC/khaC5OR8svbbjvLEaIXkOq45e2X9BIbQ==",
+ "node_modules/rollup": {
+ "version": "4.57.0",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.57.0.tgz",
+ "integrity": "sha512-e5lPJi/aui4TO1LpAXIRLySmwXSE8k3b9zoGfd42p67wzxog4WHjiZF3M2uheQih4DGyc25QEV4yRBbpueNiUA==",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.8"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
"engines": {
- "node": ">=14.0.0"
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.57.0",
+ "@rollup/rollup-android-arm64": "4.57.0",
+ "@rollup/rollup-darwin-arm64": "4.57.0",
+ "@rollup/rollup-darwin-x64": "4.57.0",
+ "@rollup/rollup-freebsd-arm64": "4.57.0",
+ "@rollup/rollup-freebsd-x64": "4.57.0",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.57.0",
+ "@rollup/rollup-linux-arm-musleabihf": "4.57.0",
+ "@rollup/rollup-linux-arm64-gnu": "4.57.0",
+ "@rollup/rollup-linux-arm64-musl": "4.57.0",
+ "@rollup/rollup-linux-loong64-gnu": "4.57.0",
+ "@rollup/rollup-linux-loong64-musl": "4.57.0",
+ "@rollup/rollup-linux-ppc64-gnu": "4.57.0",
+ "@rollup/rollup-linux-ppc64-musl": "4.57.0",
+ "@rollup/rollup-linux-riscv64-gnu": "4.57.0",
+ "@rollup/rollup-linux-riscv64-musl": "4.57.0",
+ "@rollup/rollup-linux-s390x-gnu": "4.57.0",
+ "@rollup/rollup-linux-x64-gnu": "4.57.0",
+ "@rollup/rollup-linux-x64-musl": "4.57.0",
+ "@rollup/rollup-openbsd-x64": "4.57.0",
+ "@rollup/rollup-openharmony-arm64": "4.57.0",
+ "@rollup/rollup-win32-arm64-msvc": "4.57.0",
+ "@rollup/rollup-win32-ia32-msvc": "4.57.0",
+ "@rollup/rollup-win32-x64-gnu": "4.57.0",
+ "@rollup/rollup-win32-x64-msvc": "4.57.0",
+ "fsevents": "~2.3.2"
}
},
- "node_modules/watchpack": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.1.tgz",
- "integrity": "sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg==",
+ "node_modules/run-parallel": {
+ "version": "1.2.0",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/safe-buffer": {
+ "version": "5.2.1",
"dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/schema-utils": {
+ "version": "3.3.0",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
"dependencies": {
- "glob-to-regexp": "^0.4.1",
- "graceful-fs": "^4.1.2"
+ "@types/json-schema": "^7.0.8",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
},
"engines": {
- "node": ">=10.13.0"
+ "node": ">= 10.13.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
}
},
- "node_modules/wbuf": {
- "version": "1.7.3",
+ "node_modules/secure-compare": {
+ "version": "3.0.1",
"dev": true,
- "license": "MIT",
+ "license": "MIT"
+ },
+ "node_modules/semver": {
+ "version": "6.3.1",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/serialize-javascript": {
+ "version": "6.0.1",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "peer": true,
"dependencies": {
- "minimalistic-assert": "^1.0.0"
+ "randombytes": "^2.1.0"
}
},
- "node_modules/webidl-conversions": {
- "version": "3.0.1",
+ "node_modules/set-blocking": {
+ "version": "2.0.0",
"dev": true,
- "license": "BSD-2-Clause"
+ "license": "ISC"
},
- "node_modules/webpack": {
- "version": "5.94.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.94.0.tgz",
- "integrity": "sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg==",
+ "node_modules/set-function-length": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
+ "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@types/estree": "^1.0.5",
- "@webassemblyjs/ast": "^1.12.1",
- "@webassemblyjs/wasm-edit": "^1.12.1",
- "@webassemblyjs/wasm-parser": "^1.12.1",
- "acorn": "^8.7.1",
- "acorn-import-attributes": "^1.9.5",
- "browserslist": "^4.21.10",
- "chrome-trace-event": "^1.0.2",
- "enhanced-resolve": "^5.17.1",
- "es-module-lexer": "^1.2.1",
- "eslint-scope": "5.1.1",
- "events": "^3.2.0",
- "glob-to-regexp": "^0.4.1",
- "graceful-fs": "^4.2.11",
- "json-parse-even-better-errors": "^2.3.1",
- "loader-runner": "^4.2.0",
- "mime-types": "^2.1.27",
- "neo-async": "^2.6.2",
- "schema-utils": "^3.2.0",
- "tapable": "^2.1.1",
- "terser-webpack-plugin": "^5.3.10",
- "watchpack": "^2.4.1",
- "webpack-sources": "^3.2.3"
+ "define-data-property": "^1.1.4",
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.4",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/setimmediate": {
+ "version": "1.0.5",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/sha.js": {
+ "version": "2.4.12",
+ "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.12.tgz",
+ "integrity": "sha512-8LzC5+bvI45BjpfXU8V5fdU2mfeKiQe1D1gIMn7XUlF3OTUrpdJpPPH4EMAnF0DsHHdSZqCdSss5qCmJKuiO3w==",
+ "dev": true,
+ "license": "(MIT AND BSD-3-Clause)",
+ "dependencies": {
+ "inherits": "^2.0.4",
+ "safe-buffer": "^5.2.1",
+ "to-buffer": "^1.2.0"
},
"bin": {
- "webpack": "bin/webpack.js"
+ "sha.js": "bin.js"
+ },
+ "engines": {
+ "node": ">= 0.10"
},
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "license": "MIT",
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/showdown": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/showdown/-/showdown-2.1.0.tgz",
+ "integrity": "sha512-/6NVYu4U819R2pUIk79n67SYgJHWCce0a5xTP979WbNp0FL9MN1I1QK662IDU1b6JzKTvmhgI7T7JYIxBi3kMQ==",
+ "dev": true,
+ "dependencies": {
+ "commander": "^9.0.0"
+ },
+ "bin": {
+ "showdown": "bin/showdown.js"
+ },
+ "funding": {
+ "type": "individual",
+ "url": "https://www.paypal.me/tiviesantos"
+ }
+ },
+ "node_modules/showdown/node_modules/commander": {
+ "version": "9.5.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.20.0 || >=14"
+ }
+ },
+ "node_modules/side-channel": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz",
+ "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.4",
+ "object-inspect": "^1.13.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/signal-exit": {
+ "version": "3.0.7",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/smart-buffer": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
+ "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6.0.0",
+ "npm": ">= 3.0.0"
+ }
+ },
+ "node_modules/socks": {
+ "version": "2.8.3",
+ "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz",
+ "integrity": "sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ip-address": "^9.0.5",
+ "smart-buffer": "^4.2.0"
+ },
+ "engines": {
+ "node": ">= 10.0.0",
+ "npm": ">= 3.0.0"
+ }
+ },
+ "node_modules/socks-proxy-agent": {
+ "version": "8.0.4",
+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz",
+ "integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "agent-base": "^7.1.1",
+ "debug": "^4.3.4",
+ "socks": "^2.8.3"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/source-map": {
+ "version": "0.6.1",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/source-map-support": {
+ "version": "0.5.21",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
+ "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "buffer-from": "^1.0.0",
+ "source-map": "^0.6.0"
+ }
+ },
+ "node_modules/spawn-wrap": {
+ "version": "2.0.0",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "foreground-child": "^2.0.0",
+ "is-windows": "^1.0.2",
+ "make-dir": "^3.0.0",
+ "rimraf": "^3.0.0",
+ "signal-exit": "^3.0.2",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/sprintf-js": {
+ "version": "1.0.3",
+ "dev": true,
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/stream-browserify": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "inherits": "~2.0.4",
+ "readable-stream": "^3.5.0"
+ }
+ },
+ "node_modules/stream-http": {
+ "version": "3.2.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "builtin-status-codes": "^3.0.0",
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.6.0",
+ "xtend": "^4.0.2"
+ }
+ },
+ "node_modules/streamx": {
+ "version": "2.20.1",
+ "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.20.1.tgz",
+ "integrity": "sha512-uTa0mU6WUC65iUvzKH4X9hEdvSW7rbPxPtwfWiLMSj3qTdQbAiUboZTxauKfpFuGIGa1C2BYijZ7wgdUXICJhA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-fifo": "^1.3.2",
+ "queue-tick": "^1.0.1",
+ "text-decoder": "^1.1.0"
+ },
+ "optionalDependencies": {
+ "bare-events": "^2.2.0"
+ }
+ },
+ "node_modules/string_decoder": {
+ "version": "1.3.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "safe-buffer": "~5.2.0"
+ }
+ },
+ "node_modules/string-width": {
+ "version": "4.2.3",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string-width-cjs": {
+ "name": "string-width",
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-ansi-cjs": {
+ "name": "strip-ansi",
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-bom": {
+ "version": "4.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "3.1.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "8.1.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/supports-color?sponsor=1"
+ }
+ },
+ "node_modules/supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/tapable": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",
+ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==",
+ "dev": true,
+ "peer": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/tar-fs": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz",
+ "integrity": "sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "pump": "^3.0.0",
+ "tar-stream": "^3.1.5"
+ },
+ "optionalDependencies": {
+ "bare-fs": "^2.1.1",
+ "bare-path": "^2.1.0"
+ }
+ },
+ "node_modules/tar-stream": {
+ "version": "3.1.7",
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz",
+ "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "b4a": "^1.6.4",
+ "fast-fifo": "^1.2.0",
+ "streamx": "^2.15.0"
+ }
+ },
+ "node_modules/terser": {
+ "version": "5.31.6",
+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.6.tgz",
+ "integrity": "sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@jridgewell/source-map": "^0.3.3",
+ "acorn": "^8.8.2",
+ "commander": "^2.20.0",
+ "source-map-support": "~0.5.20"
+ },
+ "bin": {
+ "terser": "bin/terser"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/terser-webpack-plugin": {
+ "version": "5.3.10",
+ "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz",
+ "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.20",
+ "jest-worker": "^27.4.5",
+ "schema-utils": "^3.1.1",
+ "serialize-javascript": "^6.0.1",
+ "terser": "^5.26.0"
+ },
+ "engines": {
+ "node": ">= 10.13.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ },
+ "peerDependencies": {
+ "webpack": "^5.1.0"
+ },
+ "peerDependenciesMeta": {
+ "@swc/core": {
+ "optional": true
+ },
+ "esbuild": {
+ "optional": true
+ },
+ "uglify-js": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/test-exclude": {
+ "version": "6.0.0",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "@istanbuljs/schema": "^0.1.2",
+ "glob": "^7.1.4",
+ "minimatch": "^3.0.4"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/text-decoder": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.0.tgz",
+ "integrity": "sha512-n1yg1mOj9DNpk3NeZOx7T6jchTbyJS3i3cucbNN6FcdPriMZx7NsgrGpWWdWZZGxD7ES1XB+3uoqHMgOKaN+fg==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "b4a": "^1.6.4"
+ }
+ },
+ "node_modules/text-table": {
+ "version": "0.2.0",
+ "license": "MIT"
+ },
+ "node_modules/through": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
+ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/timers-browserify": {
+ "version": "2.0.12",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "setimmediate": "^1.0.4"
+ },
+ "engines": {
+ "node": ">=0.6.0"
+ }
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.15",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz",
+ "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/tinyglobby/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/tinyglobby/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/to-buffer": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.2.2.tgz",
+ "integrity": "sha512-db0E3UJjcFhpDhAF4tLo03oli3pwl3dbnzXOUIlRKrp+ldk/VUxzpWYZENsw2SZiuBjHAk7DfB0VU7NKdpb6sw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "isarray": "^2.0.5",
+ "safe-buffer": "^5.2.1",
+ "typed-array-buffer": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/to-buffer/node_modules/isarray": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/to-fast-properties": {
+ "version": "2.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/tr46": {
+ "version": "0.0.3",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/ts-node": {
+ "version": "10.9.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@cspotcode/source-map-support": "^0.8.0",
+ "@tsconfig/node10": "^1.0.7",
+ "@tsconfig/node12": "^1.0.7",
+ "@tsconfig/node14": "^1.0.0",
+ "@tsconfig/node16": "^1.0.2",
+ "acorn": "^8.4.1",
+ "acorn-walk": "^8.1.1",
+ "arg": "^4.1.0",
+ "create-require": "^1.1.0",
+ "diff": "^4.0.1",
+ "make-error": "^1.1.1",
+ "v8-compile-cache-lib": "^3.0.1",
+ "yn": "3.1.1"
+ },
+ "bin": {
+ "ts-node": "dist/bin.js",
+ "ts-node-cwd": "dist/bin-cwd.js",
+ "ts-node-esm": "dist/bin-esm.js",
+ "ts-node-script": "dist/bin-script.js",
+ "ts-node-transpile-only": "dist/bin-transpile.js",
+ "ts-script": "dist/bin-script-deprecated.js"
+ },
+ "peerDependencies": {
+ "@swc/core": ">=1.2.50",
+ "@swc/wasm": ">=1.2.50",
+ "@types/node": "*",
+ "typescript": ">=2.7"
+ },
+ "peerDependenciesMeta": {
+ "@swc/core": {
+ "optional": true
+ },
+ "@swc/wasm": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/ts-node/node_modules/diff": {
+ "version": "4.0.2",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.3.1"
+ }
+ },
+ "node_modules/tslib": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz",
+ "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==",
+ "dev": true,
+ "license": "0BSD"
+ },
+ "node_modules/tty-browserify": {
+ "version": "0.0.1",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/type-check": {
+ "version": "0.4.0",
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/type-detect": {
+ "version": "4.0.8",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/type-fest": {
+ "version": "0.20.2",
+ "license": "(MIT OR CC0-1.0)",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/typed-array-buffer": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz",
+ "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.3",
+ "es-errors": "^1.3.0",
+ "is-typed-array": "^1.1.14"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/typed-query-selector": {
+ "version": "2.12.0",
+ "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.0.tgz",
+ "integrity": "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/typedarray-to-buffer": {
+ "version": "3.1.5",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-typedarray": "^1.0.0"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.8.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
+ "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/unbzip2-stream": {
+ "version": "1.4.3",
+ "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz",
+ "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "buffer": "^5.2.1",
+ "through": "^2.3.8"
+ }
+ },
+ "node_modules/unbzip2-stream/node_modules/buffer": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.1.13"
+ }
+ },
+ "node_modules/undici-types": {
+ "version": "6.21.0",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
+ "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/union": {
+ "version": "0.5.0",
+ "dev": true,
+ "dependencies": {
+ "qs": "^6.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/universalify": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 10.0.0"
+ }
+ },
+ "node_modules/update-browserslist-db": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz",
+ "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "dependencies": {
+ "escalade": "^3.1.2",
+ "picocolors": "^1.0.1"
+ },
+ "bin": {
+ "update-browserslist-db": "cli.js"
+ },
+ "peerDependencies": {
+ "browserslist": ">= 4.21.0"
+ }
+ },
+ "node_modules/uri-js": {
+ "version": "4.4.1",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "node_modules/url": {
+ "version": "0.11.4",
+ "resolved": "https://registry.npmjs.org/url/-/url-0.11.4.tgz",
+ "integrity": "sha512-oCwdVC7mTuWiPyjLUz/COz5TLk6wgp0RCsN+wHZ2Ekneac9w8uuV0njcbbie2ME+Vs+d6duwmYuR3HgQXs1fOg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "punycode": "^1.4.1",
+ "qs": "^6.12.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/url-join": {
+ "version": "4.0.1",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/url/node_modules/punycode": {
+ "version": "1.4.1",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/urlpattern-polyfill": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz",
+ "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/util": {
+ "version": "0.12.5",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "is-arguments": "^1.0.4",
+ "is-generator-function": "^1.0.7",
+ "is-typed-array": "^1.1.3",
+ "which-typed-array": "^1.1.2"
+ }
+ },
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/uuid": {
+ "version": "8.3.2",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "uuid": "dist/bin/uuid"
+ }
+ },
+ "node_modules/v8-compile-cache-lib": {
+ "version": "3.0.1",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/vite": {
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.1.tgz",
+ "integrity": "sha512-w+N7Hifpc3gRjZ63vYBXA56dvvRlNWRczTdmCBBa+CotUzAPf5b7YMdMR/8CQoeYE5LX3W4wj6RYTgonm1b9DA==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "esbuild": "^0.27.0",
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3",
+ "postcss": "^8.5.6",
+ "rollup": "^4.43.0",
+ "tinyglobby": "^0.2.15"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^20.19.0 || >=22.12.0",
+ "jiti": ">=1.21.0",
+ "less": "^4.0.0",
+ "lightningcss": "^1.21.0",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-plugin-node-polyfills": {
+ "version": "0.25.0",
+ "resolved": "https://registry.npmjs.org/vite-plugin-node-polyfills/-/vite-plugin-node-polyfills-0.25.0.tgz",
+ "integrity": "sha512-rHZ324W3LhfGPxWwQb2N048TThB6nVvnipsqBUJEzh3R9xeK9KI3si+GMQxCuAcpPJBVf0LpDtJ+beYzB3/chg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@rollup/plugin-inject": "^5.0.5",
+ "node-stdlib-browser": "^1.3.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/davidmyersdev"
+ },
+ "peerDependencies": {
+ "vite": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
+ }
+ },
+ "node_modules/vite-plugin-static-copy": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/vite-plugin-static-copy/-/vite-plugin-static-copy-3.2.0.tgz",
+ "integrity": "sha512-g2k9z8B/1Bx7D4wnFjPLx9dyYGrqWMLTpwTtPHhcU+ElNZP2O4+4OsyaficiDClus0dzVhdGvoGFYMJxoXZ12Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "chokidar": "^3.6.0",
+ "p-map": "^7.0.4",
+ "picocolors": "^1.1.1",
+ "tinyglobby": "^0.2.15"
+ },
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/sapphi-red"
+ },
+ "peerDependencies": {
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
+ }
+ },
+ "node_modules/vite-plugin-static-copy/node_modules/chokidar": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
+ "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "anymatch": "~3.1.2",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.2",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.6.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/vite-plugin-static-copy/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/vite-plugin-static-copy/node_modules/p-map": {
+ "version": "7.0.4",
+ "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.4.tgz",
+ "integrity": "sha512-tkAQEw8ysMzmkhgw8k+1U/iPhWNhykKnSk4Rd5zLoPJCuJaGRPo6YposrZgaxHKzDHdDWWZvE/Sk7hsL2X/CpQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/vite/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/vm-browserify": {
+ "version": "1.1.2",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/vscode-css-languageservice": {
+ "version": "6.3.5",
+ "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.3.5.tgz",
+ "integrity": "sha512-ehEIMXYPYEz/5Svi2raL9OKLpBt5dSAdoCFoLpo0TVFKrVpDemyuQwS3c3D552z/qQCg3pMp8oOLMObY6M3ajQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vscode/l10n": "^0.0.18",
+ "vscode-languageserver-textdocument": "^1.0.12",
+ "vscode-languageserver-types": "3.17.5",
+ "vscode-uri": "^3.1.0"
+ }
+ },
+ "node_modules/vscode-html-languageservice": {
+ "version": "5.4.0",
+ "resolved": "https://registry.npmjs.org/vscode-html-languageservice/-/vscode-html-languageservice-5.4.0.tgz",
+ "integrity": "sha512-9/cbc90BSYCghmHI7/VbWettHZdC7WYpz2g5gBK6UDUI1MkZbM773Q12uAYJx9jzAiNHPpyo6KzcwmcnugncAQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vscode/l10n": "^0.0.18",
+ "vscode-languageserver-textdocument": "^1.0.12",
+ "vscode-languageserver-types": "^3.17.5",
+ "vscode-uri": "^3.1.0"
+ }
+ },
+ "node_modules/vscode-json-languageservice": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/vscode-json-languageservice/-/vscode-json-languageservice-5.5.0.tgz",
+ "integrity": "sha512-JchBzp8ArzhCVpRS/LT4wzEEvwHXIUEdZD064cGTI4RVs34rNCZXPUguIYSfGBcHH1GV79ufPcfy3Pd8+ukbKw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vscode/l10n": "^0.0.18",
+ "jsonc-parser": "^3.3.1",
+ "vscode-languageserver-textdocument": "^1.0.12",
+ "vscode-languageserver-types": "^3.17.5",
+ "vscode-uri": "^3.1.0"
+ }
+ },
+ "node_modules/vscode-jsonrpc": {
+ "version": "8.2.0",
+ "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz",
+ "integrity": "sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/vscode-languageserver": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-9.0.1.tgz",
+ "integrity": "sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "vscode-languageserver-protocol": "3.17.5"
+ },
+ "bin": {
+ "installServerIntoExtension": "bin/installServerIntoExtension"
+ }
+ },
+ "node_modules/vscode-languageserver-protocol": {
+ "version": "3.17.5",
+ "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.5.tgz",
+ "integrity": "sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==",
+ "license": "MIT",
+ "dependencies": {
+ "vscode-jsonrpc": "8.2.0",
+ "vscode-languageserver-types": "3.17.5"
+ }
+ },
+ "node_modules/vscode-languageserver-textdocument": {
+ "version": "1.0.12",
+ "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.12.tgz",
+ "integrity": "sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==",
+ "license": "MIT"
+ },
+ "node_modules/vscode-languageserver-types": {
+ "version": "3.17.5",
+ "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz",
+ "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==",
+ "license": "MIT"
+ },
+ "node_modules/vscode-nls": {
+ "version": "5.2.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/vscode-uri": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.1.0.tgz",
+ "integrity": "sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/vscode-ws-jsonrpc": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/vscode-ws-jsonrpc/-/vscode-ws-jsonrpc-3.4.0.tgz",
+ "integrity": "sha512-jkNZvX0LdHt4skPxMw/jFePr3jRCJU6ZmO28oPoQ7RwNSkwU3uN8mgtxACYEbOY68bYmi/b/uJzhxewKCz1P4w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "vscode-jsonrpc": "~8.2.1"
+ },
+ "engines": {
+ "node": ">=18.19.0",
+ "npm": ">=10.2.3"
+ }
+ },
+ "node_modules/vscode-ws-jsonrpc/node_modules/vscode-jsonrpc": {
+ "version": "8.2.1",
+ "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.1.tgz",
+ "integrity": "sha512-kdjOSJ2lLIn7r1rtrMbbNCHjyMPfRnowdKjBQ+mGq6NAW5QY2bEZC/khaC5OR8svbbjvLEaIXkOq45e2X9BIbQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/watchpack": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.1.tgz",
+ "integrity": "sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "glob-to-regexp": "^0.4.1",
+ "graceful-fs": "^4.1.2"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/webidl-conversions": {
+ "version": "3.0.1",
+ "dev": true,
+ "license": "BSD-2-Clause"
+ },
+ "node_modules/webpack": {
+ "version": "5.94.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.94.0.tgz",
+ "integrity": "sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@types/estree": "^1.0.5",
+ "@webassemblyjs/ast": "^1.12.1",
+ "@webassemblyjs/wasm-edit": "^1.12.1",
+ "@webassemblyjs/wasm-parser": "^1.12.1",
+ "acorn": "^8.7.1",
+ "acorn-import-attributes": "^1.9.5",
+ "browserslist": "^4.21.10",
+ "chrome-trace-event": "^1.0.2",
+ "enhanced-resolve": "^5.17.1",
+ "es-module-lexer": "^1.2.1",
+ "eslint-scope": "5.1.1",
+ "events": "^3.2.0",
+ "glob-to-regexp": "^0.4.1",
+ "graceful-fs": "^4.2.11",
+ "json-parse-even-better-errors": "^2.3.1",
+ "loader-runner": "^4.2.0",
+ "mime-types": "^2.1.27",
+ "neo-async": "^2.6.2",
+ "schema-utils": "^3.2.0",
+ "tapable": "^2.1.1",
+ "terser-webpack-plugin": "^5.3.10",
+ "watchpack": "^2.4.1",
+ "webpack-sources": "^3.2.3"
+ },
+ "bin": {
+ "webpack": "bin/webpack.js"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ },
+ "peerDependenciesMeta": {
+ "webpack-cli": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/webpack-sources": {
+ "version": "3.2.3",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/whatwg-encoding": {
+ "version": "2.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "iconv-lite": "0.6.3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/whatwg-url": {
+ "version": "5.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tr46": "~0.0.3",
+ "webidl-conversions": "^3.0.0"
+ }
+ },
+ "node_modules/which": {
+ "version": "2.0.2",
+ "license": "ISC",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/which-module": {
+ "version": "2.0.1",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/which-typed-array": {
+ "version": "1.1.20",
+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.20.tgz",
+ "integrity": "sha512-LYfpUkmqwl0h9A2HL09Mms427Q1RZWuOHsukfVcKRq9q95iQxdw0ix1JQrqbcDR9PH1QDwf5Qo8OZb5lksZ8Xg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "available-typed-arrays": "^1.0.7",
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.4",
+ "for-each": "^0.3.5",
+ "get-proto": "^1.0.1",
+ "gopd": "^1.2.0",
+ "has-tostringtag": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/workerpool": {
+ "version": "6.2.1",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/wrap-ansi": {
+ "version": "7.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrap-ansi-cjs": {
+ "name": "wrap-ansi",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "license": "ISC"
+ },
+ "node_modules/write-file-atomic": {
+ "version": "3.0.3",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "imurmurhash": "^0.1.4",
+ "is-typedarray": "^1.0.0",
+ "signal-exit": "^3.0.2",
+ "typedarray-to-buffer": "^3.1.5"
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz",
+ "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/xml": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/xtend": {
+ "version": "4.0.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.4"
+ }
+ },
+ "node_modules/y18n": {
+ "version": "5.0.8",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/yallist": {
+ "version": "3.1.1",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/yaml": {
+ "version": "2.7.1",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.1.tgz",
+ "integrity": "sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "yaml": "bin.mjs"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/yaml-language-server": {
+ "version": "1.19.2",
+ "resolved": "https://registry.npmjs.org/yaml-language-server/-/yaml-language-server-1.19.2.tgz",
+ "integrity": "sha512-9F3myNmJzUN/679jycdMxqtydPSDRAarSj3wPiF7pchEPnO9Dg07Oc+gIYLqXR4L+g+FSEVXXv2+mr54StLFOg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vscode/l10n": "^0.0.18",
+ "ajv": "^8.17.1",
+ "ajv-draft-04": "^1.0.0",
+ "lodash": "4.17.21",
+ "prettier": "^3.5.0",
+ "request-light": "^0.5.7",
+ "vscode-json-languageservice": "4.1.8",
+ "vscode-languageserver": "^9.0.0",
+ "vscode-languageserver-textdocument": "^1.0.1",
+ "vscode-languageserver-types": "^3.16.0",
+ "vscode-uri": "^3.0.2",
+ "yaml": "2.7.1"
+ },
+ "bin": {
+ "yaml-language-server": "bin/yaml-language-server"
+ }
+ },
+ "node_modules/yaml-language-server/node_modules/ajv": {
+ "version": "8.17.1",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",
+ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.3",
+ "fast-uri": "^3.0.1",
+ "json-schema-traverse": "^1.0.0",
+ "require-from-string": "^2.0.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/yaml-language-server/node_modules/ajv-draft-04": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz",
+ "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "ajv": "^8.5.0"
+ },
+ "peerDependenciesMeta": {
+ "ajv": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/yaml-language-server/node_modules/json-schema-traverse": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/yaml-language-server/node_modules/vscode-json-languageservice": {
+ "version": "4.1.8",
+ "resolved": "https://registry.npmjs.org/vscode-json-languageservice/-/vscode-json-languageservice-4.1.8.tgz",
+ "integrity": "sha512-0vSpg6Xd9hfV+eZAaYN63xVVMOTmJ4GgHxXnkLCh+9RsQBkWKIghzLhW2B9ebfG+LQQg8uLtsQ2aUKjTgE+QOg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "jsonc-parser": "^3.0.0",
+ "vscode-languageserver-textdocument": "^1.0.1",
+ "vscode-languageserver-types": "^3.16.0",
+ "vscode-nls": "^5.0.0",
+ "vscode-uri": "^3.0.2"
+ },
+ "engines": {
+ "npm": ">=7.0.0"
+ }
+ },
+ "node_modules/yargs": {
+ "version": "16.2.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cliui": "^7.0.2",
+ "escalade": "^3.1.1",
+ "get-caller-file": "^2.0.5",
+ "require-directory": "^2.1.1",
+ "string-width": "^4.2.0",
+ "y18n": "^5.0.5",
+ "yargs-parser": "^20.2.2"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/yargs-parser": {
+ "version": "20.2.4",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/yargs-unparser": {
+ "version": "2.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "camelcase": "^6.0.0",
+ "decamelize": "^4.0.0",
+ "flat": "^5.0.2",
+ "is-plain-obj": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/camelcase": {
+ "version": "6.3.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/yargs-unparser/node_modules/decamelize": {
+ "version": "4.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/yauzl": {
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
+ "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "buffer-crc32": "~0.2.3",
+ "fd-slicer": "~1.1.0"
+ }
+ },
+ "node_modules/yn": {
+ "version": "3.1.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/zod": {
+ "version": "3.23.8",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz",
+ "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ },
+ "packages/ace-clang-linter": {
+ "version": "1.2.0",
+ "devDependencies": {
+ "@wasm-fmt/clang-format": "^21.1.8",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
+ },
+ "peerDependencies": {
+ "ace-linters": "^2.0.0"
+ }
+ },
+ "packages/ace-clang-linter/node_modules/@esbuild/win32-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz",
+ "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ace-clang-linter/node_modules/esbuild": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz",
+ "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.25.12",
+ "@esbuild/android-arm": "0.25.12",
+ "@esbuild/android-arm64": "0.25.12",
+ "@esbuild/android-x64": "0.25.12",
+ "@esbuild/darwin-arm64": "0.25.12",
+ "@esbuild/darwin-x64": "0.25.12",
+ "@esbuild/freebsd-arm64": "0.25.12",
+ "@esbuild/freebsd-x64": "0.25.12",
+ "@esbuild/linux-arm": "0.25.12",
+ "@esbuild/linux-arm64": "0.25.12",
+ "@esbuild/linux-ia32": "0.25.12",
+ "@esbuild/linux-loong64": "0.25.12",
+ "@esbuild/linux-mips64el": "0.25.12",
+ "@esbuild/linux-ppc64": "0.25.12",
+ "@esbuild/linux-riscv64": "0.25.12",
+ "@esbuild/linux-s390x": "0.25.12",
+ "@esbuild/linux-x64": "0.25.12",
+ "@esbuild/netbsd-arm64": "0.25.12",
+ "@esbuild/netbsd-x64": "0.25.12",
+ "@esbuild/openbsd-arm64": "0.25.12",
+ "@esbuild/openbsd-x64": "0.25.12",
+ "@esbuild/openharmony-arm64": "0.25.12",
+ "@esbuild/sunos-x64": "0.25.12",
+ "@esbuild/win32-arm64": "0.25.12",
+ "@esbuild/win32-ia32": "0.25.12",
+ "@esbuild/win32-x64": "0.25.12"
+ }
+ },
+ "packages/ace-clang-linter/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "packages/ace-clang-linter/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "packages/ace-clang-linter/node_modules/vite": {
+ "version": "6.4.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
+ "integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.25.0",
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2",
+ "postcss": "^8.5.3",
+ "rollup": "^4.34.9",
+ "tinyglobby": "^0.2.13"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "jiti": ">=1.21.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "packages/ace-dart-linter": {
+ "version": "1.2.0",
+ "license": "MIT",
+ "devDependencies": {
+ "@wasm-fmt/dart_fmt": "^0.4.0",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
+ },
+ "peerDependencies": {
+ "ace-linters": "^2.0.0"
+ }
+ },
+ "packages/ace-dart-linter/node_modules/@esbuild/win32-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz",
+ "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ace-dart-linter/node_modules/esbuild": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz",
+ "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.25.12",
+ "@esbuild/android-arm": "0.25.12",
+ "@esbuild/android-arm64": "0.25.12",
+ "@esbuild/android-x64": "0.25.12",
+ "@esbuild/darwin-arm64": "0.25.12",
+ "@esbuild/darwin-x64": "0.25.12",
+ "@esbuild/freebsd-arm64": "0.25.12",
+ "@esbuild/freebsd-x64": "0.25.12",
+ "@esbuild/linux-arm": "0.25.12",
+ "@esbuild/linux-arm64": "0.25.12",
+ "@esbuild/linux-ia32": "0.25.12",
+ "@esbuild/linux-loong64": "0.25.12",
+ "@esbuild/linux-mips64el": "0.25.12",
+ "@esbuild/linux-ppc64": "0.25.12",
+ "@esbuild/linux-riscv64": "0.25.12",
+ "@esbuild/linux-s390x": "0.25.12",
+ "@esbuild/linux-x64": "0.25.12",
+ "@esbuild/netbsd-arm64": "0.25.12",
+ "@esbuild/netbsd-x64": "0.25.12",
+ "@esbuild/openbsd-arm64": "0.25.12",
+ "@esbuild/openbsd-x64": "0.25.12",
+ "@esbuild/openharmony-arm64": "0.25.12",
+ "@esbuild/sunos-x64": "0.25.12",
+ "@esbuild/win32-arm64": "0.25.12",
+ "@esbuild/win32-ia32": "0.25.12",
+ "@esbuild/win32-x64": "0.25.12"
+ }
+ },
+ "packages/ace-dart-linter/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "packages/ace-dart-linter/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "packages/ace-dart-linter/node_modules/vite": {
+ "version": "6.4.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
+ "integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.25.0",
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2",
+ "postcss": "^8.5.3",
+ "rollup": "^4.34.9",
+ "tinyglobby": "^0.2.13"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "jiti": ">=1.21.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "packages/ace-go-linter": {
+ "version": "1.2.0",
+ "license": "MIT",
+ "devDependencies": {
+ "@wasm-fmt/gofmt": "^0.7.2",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
+ },
+ "peerDependencies": {
+ "ace-linters": "^2.0.0"
+ }
+ },
+ "packages/ace-go-linter/node_modules/@esbuild/win32-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz",
+ "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ace-go-linter/node_modules/esbuild": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz",
+ "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.25.12",
+ "@esbuild/android-arm": "0.25.12",
+ "@esbuild/android-arm64": "0.25.12",
+ "@esbuild/android-x64": "0.25.12",
+ "@esbuild/darwin-arm64": "0.25.12",
+ "@esbuild/darwin-x64": "0.25.12",
+ "@esbuild/freebsd-arm64": "0.25.12",
+ "@esbuild/freebsd-x64": "0.25.12",
+ "@esbuild/linux-arm": "0.25.12",
+ "@esbuild/linux-arm64": "0.25.12",
+ "@esbuild/linux-ia32": "0.25.12",
+ "@esbuild/linux-loong64": "0.25.12",
+ "@esbuild/linux-mips64el": "0.25.12",
+ "@esbuild/linux-ppc64": "0.25.12",
+ "@esbuild/linux-riscv64": "0.25.12",
+ "@esbuild/linux-s390x": "0.25.12",
+ "@esbuild/linux-x64": "0.25.12",
+ "@esbuild/netbsd-arm64": "0.25.12",
+ "@esbuild/netbsd-x64": "0.25.12",
+ "@esbuild/openbsd-arm64": "0.25.12",
+ "@esbuild/openbsd-x64": "0.25.12",
+ "@esbuild/openharmony-arm64": "0.25.12",
+ "@esbuild/sunos-x64": "0.25.12",
+ "@esbuild/win32-arm64": "0.25.12",
+ "@esbuild/win32-ia32": "0.25.12",
+ "@esbuild/win32-x64": "0.25.12"
+ }
+ },
+ "packages/ace-go-linter/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
"engines": {
- "node": ">=10.13.0"
+ "node": ">=12.0.0"
},
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
},
"peerDependenciesMeta": {
- "webpack-cli": {
+ "picomatch": {
"optional": true
}
}
},
- "node_modules/webpack-cli": {
- "version": "4.10.0",
+ "packages/ace-go-linter/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "packages/ace-go-linter/node_modules/vite": {
+ "version": "6.4.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
+ "integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@discoveryjs/json-ext": "^0.5.0",
- "@webpack-cli/configtest": "^1.2.0",
- "@webpack-cli/info": "^1.5.0",
- "@webpack-cli/serve": "^1.7.0",
- "colorette": "^2.0.14",
- "commander": "^7.0.0",
- "cross-spawn": "^7.0.3",
- "fastest-levenshtein": "^1.0.12",
- "import-local": "^3.0.2",
- "interpret": "^2.2.0",
- "rechoir": "^0.7.0",
- "webpack-merge": "^5.7.3"
+ "esbuild": "^0.25.0",
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2",
+ "postcss": "^8.5.3",
+ "rollup": "^4.34.9",
+ "tinyglobby": "^0.2.13"
},
"bin": {
- "webpack-cli": "bin/cli.js"
+ "vite": "bin/vite.js"
},
"engines": {
- "node": ">=10.13.0"
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
},
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
},
"peerDependencies": {
- "webpack": "4.x.x || 5.x.x"
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "jiti": ">=1.21.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
},
"peerDependenciesMeta": {
- "@webpack-cli/generators": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
"optional": true
},
- "@webpack-cli/migrate": {
+ "sass-embedded": {
"optional": true
},
- "webpack-bundle-analyzer": {
+ "stylus": {
"optional": true
},
- "webpack-dev-server": {
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
"optional": true
}
}
},
- "node_modules/webpack-cli/node_modules/commander": {
- "version": "7.2.0",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/webpack-dev-middleware": {
- "version": "5.3.4",
- "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz",
- "integrity": "sha512-BVdTqhhs+0IfoeAf7EoH5WE+exCmqGerHfDM0IL096Px60Tq2Mn9MAbnaGUe6HiMa41KMCYF19gyzZmBcq/o4Q==",
- "dev": true,
+ "packages/ace-linters": {
+ "version": "2.0.0",
"license": "MIT",
"dependencies": {
- "colorette": "^2.0.10",
- "memfs": "^3.4.3",
- "mime-types": "^2.1.31",
- "range-parser": "^1.2.1",
- "schema-utils": "^4.0.0"
- },
- "engines": {
- "node": ">= 12.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
+ "vscode-languageserver-protocol": "^3.17.5",
+ "vscode-languageserver-textdocument": "^1.0.12",
+ "vscode-languageserver-types": "^3.17.5"
},
- "peerDependencies": {
- "webpack": "^4.0.0 || ^5.0.0"
+ "devDependencies": {
+ "@istanbuljs/nyc-config-typescript": "^1.0.2",
+ "@rollup/plugin-commonjs": "^28.0.0",
+ "@types/chai": "^4.3.4",
+ "@types/eslint": "^8.21.1",
+ "@types/mocha": "^5.2.7",
+ "@xml-tools/ast": "^5.0.5",
+ "@xml-tools/constraints": "^1.1.1",
+ "@xml-tools/parser": "^1.0.11",
+ "@xml-tools/simple-schema": "^3.0.5",
+ "ace-builds": "^1.39.0",
+ "ace-code": "^1.39.0",
+ "chai": "^4.3.7",
+ "dts-bundle-generator": "^9.5.1",
+ "htmlhint": "^1.1.4",
+ "http-server": "^14.1.1",
+ "luaparse": "^0.3.1",
+ "mocha": "^10.2.0",
+ "nyc": "^15.1.0",
+ "puppeteer": "^23.4.0",
+ "rimraf": "^5.0.0",
+ "showdown": "^2.1.0",
+ "ts-node": "^10.9.1",
+ "vite": "^6.4.1",
+ "vite-plugin-node-polyfills": "^0.25.0",
+ "vscode-css-languageservice": "^6.3.5",
+ "vscode-html-languageservice": "^5.4.0",
+ "vscode-json-languageservice": "^5.5.0",
+ "vscode-uri": "^3.1.0",
+ "vscode-ws-jsonrpc": "^3.4.0"
}
},
- "node_modules/webpack-dev-middleware/node_modules/ajv": {
- "version": "8.12.0",
+ "packages/ace-linters/node_modules/@esbuild/win32-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz",
+ "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
"license": "MIT",
- "dependencies": {
- "fast-deep-equal": "^3.1.1",
- "json-schema-traverse": "^1.0.0",
- "require-from-string": "^2.0.2",
- "uri-js": "^4.2.2"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/webpack-dev-middleware/node_modules/ajv-keywords": {
- "version": "5.1.0",
+ "packages/ace-linters/node_modules/brace-expansion": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "fast-deep-equal": "^3.1.3"
- },
- "peerDependencies": {
- "ajv": "^8.8.2"
+ "balanced-match": "^1.0.0"
}
},
- "node_modules/webpack-dev-middleware/node_modules/json-schema-traverse": {
- "version": "1.0.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/webpack-dev-middleware/node_modules/schema-utils": {
- "version": "4.2.0",
+ "packages/ace-linters/node_modules/esbuild": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz",
+ "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==",
"dev": true,
+ "hasInstallScript": true,
"license": "MIT",
- "dependencies": {
- "@types/json-schema": "^7.0.9",
- "ajv": "^8.9.0",
- "ajv-formats": "^2.1.1",
- "ajv-keywords": "^5.1.0"
- },
- "engines": {
- "node": ">= 12.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- }
- },
- "node_modules/webpack-dev-server": {
- "version": "4.15.1",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/bonjour": "^3.5.9",
- "@types/connect-history-api-fallback": "^1.3.5",
- "@types/express": "^4.17.13",
- "@types/serve-index": "^1.9.1",
- "@types/serve-static": "^1.13.10",
- "@types/sockjs": "^0.3.33",
- "@types/ws": "^8.5.5",
- "ansi-html-community": "^0.0.8",
- "bonjour-service": "^1.0.11",
- "chokidar": "^3.5.3",
- "colorette": "^2.0.10",
- "compression": "^1.7.4",
- "connect-history-api-fallback": "^2.0.0",
- "default-gateway": "^6.0.3",
- "express": "^4.17.3",
- "graceful-fs": "^4.2.6",
- "html-entities": "^2.3.2",
- "http-proxy-middleware": "^2.0.3",
- "ipaddr.js": "^2.0.1",
- "launch-editor": "^2.6.0",
- "open": "^8.0.9",
- "p-retry": "^4.5.0",
- "rimraf": "^3.0.2",
- "schema-utils": "^4.0.0",
- "selfsigned": "^2.1.1",
- "serve-index": "^1.9.1",
- "sockjs": "^0.3.24",
- "spdy": "^4.0.2",
- "webpack-dev-middleware": "^5.3.1",
- "ws": "^8.13.0"
- },
"bin": {
- "webpack-dev-server": "bin/webpack-dev-server.js"
+ "esbuild": "bin/esbuild"
},
"engines": {
- "node": ">= 12.13.0"
+ "node": ">=18"
},
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.25.12",
+ "@esbuild/android-arm": "0.25.12",
+ "@esbuild/android-arm64": "0.25.12",
+ "@esbuild/android-x64": "0.25.12",
+ "@esbuild/darwin-arm64": "0.25.12",
+ "@esbuild/darwin-x64": "0.25.12",
+ "@esbuild/freebsd-arm64": "0.25.12",
+ "@esbuild/freebsd-x64": "0.25.12",
+ "@esbuild/linux-arm": "0.25.12",
+ "@esbuild/linux-arm64": "0.25.12",
+ "@esbuild/linux-ia32": "0.25.12",
+ "@esbuild/linux-loong64": "0.25.12",
+ "@esbuild/linux-mips64el": "0.25.12",
+ "@esbuild/linux-ppc64": "0.25.12",
+ "@esbuild/linux-riscv64": "0.25.12",
+ "@esbuild/linux-s390x": "0.25.12",
+ "@esbuild/linux-x64": "0.25.12",
+ "@esbuild/netbsd-arm64": "0.25.12",
+ "@esbuild/netbsd-x64": "0.25.12",
+ "@esbuild/openbsd-arm64": "0.25.12",
+ "@esbuild/openbsd-x64": "0.25.12",
+ "@esbuild/openharmony-arm64": "0.25.12",
+ "@esbuild/sunos-x64": "0.25.12",
+ "@esbuild/win32-arm64": "0.25.12",
+ "@esbuild/win32-ia32": "0.25.12",
+ "@esbuild/win32-x64": "0.25.12"
+ }
+ },
+ "packages/ace-linters/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
},
"peerDependencies": {
- "webpack": "^4.37.0 || ^5.0.0"
+ "picomatch": "^3 || ^4"
},
"peerDependenciesMeta": {
- "webpack": {
- "optional": true
- },
- "webpack-cli": {
+ "picomatch": {
"optional": true
}
}
},
- "node_modules/webpack-dev-server/node_modules/ajv": {
- "version": "8.12.0",
+ "packages/ace-linters/node_modules/foreground-child": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz",
+ "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
"dependencies": {
- "fast-deep-equal": "^3.1.1",
- "json-schema-traverse": "^1.0.0",
- "require-from-string": "^2.0.2",
- "uri-js": "^4.2.2"
+ "cross-spawn": "^7.0.6",
+ "signal-exit": "^4.0.1"
},
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
- }
- },
- "node_modules/webpack-dev-server/node_modules/ajv-keywords": {
- "version": "5.1.0",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "fast-deep-equal": "^3.1.3"
+ "engines": {
+ "node": ">=14"
},
- "peerDependencies": {
- "ajv": "^8.8.2"
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/webpack-dev-server/node_modules/json-schema-traverse": {
- "version": "1.0.0",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/webpack-dev-server/node_modules/schema-utils": {
- "version": "4.2.0",
+ "packages/ace-linters/node_modules/glob": {
+ "version": "10.5.0",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
+ "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
"dependencies": {
- "@types/json-schema": "^7.0.9",
- "ajv": "^8.9.0",
- "ajv-formats": "^2.1.1",
- "ajv-keywords": "^5.1.0"
+ "foreground-child": "^3.1.0",
+ "jackspeak": "^3.1.2",
+ "minimatch": "^9.0.4",
+ "minipass": "^7.1.2",
+ "package-json-from-dist": "^1.0.0",
+ "path-scurry": "^1.11.1"
},
- "engines": {
- "node": ">= 12.13.0"
+ "bin": {
+ "glob": "dist/esm/bin.mjs"
},
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/webpack-merge": {
- "version": "5.9.0",
+ "packages/ace-linters/node_modules/minimatch": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
+ "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
"dev": true,
- "license": "MIT",
+ "license": "ISC",
"dependencies": {
- "clone-deep": "^4.0.1",
- "wildcard": "^2.0.0"
+ "brace-expansion": "^2.0.1"
},
"engines": {
- "node": ">=10.0.0"
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/webpack-sources": {
- "version": "3.2.3",
+ "packages/ace-linters/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=10.13.0"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
}
},
- "node_modules/websocket-driver": {
- "version": "0.7.4",
+ "packages/ace-linters/node_modules/rimraf": {
+ "version": "5.0.10",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz",
+ "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==",
"dev": true,
- "license": "Apache-2.0",
+ "license": "ISC",
"dependencies": {
- "http-parser-js": ">=0.5.1",
- "safe-buffer": ">=5.1.0",
- "websocket-extensions": ">=0.1.1"
+ "glob": "^10.3.7"
},
- "engines": {
- "node": ">=0.8.0"
+ "bin": {
+ "rimraf": "dist/esm/bin.mjs"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/websocket-extensions": {
- "version": "0.1.4",
+ "packages/ace-linters/node_modules/signal-exit": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
"dev": true,
- "license": "Apache-2.0",
+ "license": "ISC",
"engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/whatwg-encoding": {
- "version": "2.0.0",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "iconv-lite": "0.6.3"
+ "node": ">=14"
},
- "engines": {
- "node": ">=12"
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/whatwg-url": {
- "version": "5.0.0",
+ "packages/ace-linters/node_modules/vite": {
+ "version": "6.4.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
+ "integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "tr46": "~0.0.3",
- "webidl-conversions": "^3.0.0"
- }
- },
- "node_modules/which": {
- "version": "2.0.2",
- "license": "ISC",
- "dependencies": {
- "isexe": "^2.0.0"
+ "esbuild": "^0.25.0",
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2",
+ "postcss": "^8.5.3",
+ "rollup": "^4.34.9",
+ "tinyglobby": "^0.2.13"
},
"bin": {
- "node-which": "bin/node-which"
+ "vite": "bin/vite.js"
},
"engines": {
- "node": ">= 8"
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "jiti": ">=1.21.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "packages/ace-lua-linter": {
+ "version": "1.2.0",
+ "license": "MIT",
+ "devDependencies": {
+ "@wasm-fmt/lua_fmt": "^0.3.2",
+ "luaparse": "^0.3.1",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
+ },
+ "peerDependencies": {
+ "ace-linters": "^2.0.0"
}
},
- "node_modules/which-module": {
- "version": "2.0.1",
+ "packages/ace-lua-linter/node_modules/@esbuild/win32-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz",
+ "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "ISC"
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
},
- "node_modules/which-typed-array": {
- "version": "1.1.11",
+ "packages/ace-lua-linter/node_modules/esbuild": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz",
+ "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==",
"dev": true,
+ "hasInstallScript": true,
"license": "MIT",
- "dependencies": {
- "available-typed-arrays": "^1.0.5",
- "call-bind": "^1.0.2",
- "for-each": "^0.3.3",
- "gopd": "^1.0.1",
- "has-tostringtag": "^1.0.0"
+ "bin": {
+ "esbuild": "bin/esbuild"
},
"engines": {
- "node": ">= 0.4"
+ "node": ">=18"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/wildcard": {
- "version": "2.0.1",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/workerpool": {
- "version": "6.2.1",
- "dev": true,
- "license": "Apache-2.0"
- },
- "node_modules/wrap-ansi": {
- "version": "7.0.0",
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.25.12",
+ "@esbuild/android-arm": "0.25.12",
+ "@esbuild/android-arm64": "0.25.12",
+ "@esbuild/android-x64": "0.25.12",
+ "@esbuild/darwin-arm64": "0.25.12",
+ "@esbuild/darwin-x64": "0.25.12",
+ "@esbuild/freebsd-arm64": "0.25.12",
+ "@esbuild/freebsd-x64": "0.25.12",
+ "@esbuild/linux-arm": "0.25.12",
+ "@esbuild/linux-arm64": "0.25.12",
+ "@esbuild/linux-ia32": "0.25.12",
+ "@esbuild/linux-loong64": "0.25.12",
+ "@esbuild/linux-mips64el": "0.25.12",
+ "@esbuild/linux-ppc64": "0.25.12",
+ "@esbuild/linux-riscv64": "0.25.12",
+ "@esbuild/linux-s390x": "0.25.12",
+ "@esbuild/linux-x64": "0.25.12",
+ "@esbuild/netbsd-arm64": "0.25.12",
+ "@esbuild/netbsd-x64": "0.25.12",
+ "@esbuild/openbsd-arm64": "0.25.12",
+ "@esbuild/openbsd-x64": "0.25.12",
+ "@esbuild/openharmony-arm64": "0.25.12",
+ "@esbuild/sunos-x64": "0.25.12",
+ "@esbuild/win32-arm64": "0.25.12",
+ "@esbuild/win32-ia32": "0.25.12",
+ "@esbuild/win32-x64": "0.25.12"
+ }
+ },
+ "packages/ace-lua-linter/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
- },
"engines": {
- "node": ">=10"
+ "node": ">=12.0.0"
},
- "funding": {
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
}
},
- "node_modules/wrappy": {
- "version": "1.0.2",
- "license": "ISC"
- },
- "node_modules/write-file-atomic": {
- "version": "3.0.3",
+ "packages/ace-lua-linter/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
- "license": "ISC",
- "dependencies": {
- "imurmurhash": "^0.1.4",
- "is-typedarray": "^1.0.0",
- "signal-exit": "^3.0.2",
- "typedarray-to-buffer": "^3.1.5"
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
}
},
- "node_modules/ws": {
- "version": "8.18.0",
- "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz",
- "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==",
+ "packages/ace-lua-linter/node_modules/vite": {
+ "version": "6.4.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
+ "integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.25.0",
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2",
+ "postcss": "^8.5.3",
+ "rollup": "^4.34.9",
+ "tinyglobby": "^0.2.13"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
"engines": {
- "node": ">=10.0.0"
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
},
"peerDependencies": {
- "bufferutil": "^4.0.1",
- "utf-8-validate": ">=5.0.2"
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "jiti": ">=1.21.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
},
"peerDependenciesMeta": {
- "bufferutil": {
+ "@types/node": {
"optional": true
},
- "utf-8-validate": {
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
"optional": true
}
}
},
- "node_modules/xml": {
- "version": "1.0.1",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/xtend": {
- "version": "4.0.2",
- "dev": true,
+ "packages/ace-python-ruff-linter": {
+ "version": "1.2.0",
"license": "MIT",
- "engines": {
- "node": ">=0.4"
+ "devDependencies": {
+ "@astral-sh/ruff-wasm-web": "^0.14.14",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
+ },
+ "peerDependencies": {
+ "ace-linters": "^2.0.0"
}
},
- "node_modules/y18n": {
- "version": "5.0.8",
+ "packages/ace-python-ruff-linter/node_modules/@esbuild/win32-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz",
+ "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "ISC",
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
"engines": {
- "node": ">=10"
+ "node": ">=18"
}
},
- "node_modules/yallist": {
- "version": "3.1.1",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/yaml": {
- "version": "2.7.1",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.1.tgz",
- "integrity": "sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==",
+ "packages/ace-python-ruff-linter/node_modules/esbuild": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz",
+ "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==",
"dev": true,
- "license": "ISC",
+ "hasInstallScript": true,
+ "license": "MIT",
"bin": {
- "yaml": "bin.mjs"
+ "esbuild": "bin/esbuild"
},
"engines": {
- "node": ">= 14"
- }
- },
- "node_modules/yaml-language-server": {
- "version": "1.19.2",
- "resolved": "https://registry.npmjs.org/yaml-language-server/-/yaml-language-server-1.19.2.tgz",
- "integrity": "sha512-9F3myNmJzUN/679jycdMxqtydPSDRAarSj3wPiF7pchEPnO9Dg07Oc+gIYLqXR4L+g+FSEVXXv2+mr54StLFOg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@vscode/l10n": "^0.0.18",
- "ajv": "^8.17.1",
- "ajv-draft-04": "^1.0.0",
- "lodash": "4.17.21",
- "prettier": "^3.5.0",
- "request-light": "^0.5.7",
- "vscode-json-languageservice": "4.1.8",
- "vscode-languageserver": "^9.0.0",
- "vscode-languageserver-textdocument": "^1.0.1",
- "vscode-languageserver-types": "^3.16.0",
- "vscode-uri": "^3.0.2",
- "yaml": "2.7.1"
+ "node": ">=18"
},
- "bin": {
- "yaml-language-server": "bin/yaml-language-server"
- }
- },
- "node_modules/yaml-language-server/node_modules/ajv": {
- "version": "8.17.1",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",
- "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.25.12",
+ "@esbuild/android-arm": "0.25.12",
+ "@esbuild/android-arm64": "0.25.12",
+ "@esbuild/android-x64": "0.25.12",
+ "@esbuild/darwin-arm64": "0.25.12",
+ "@esbuild/darwin-x64": "0.25.12",
+ "@esbuild/freebsd-arm64": "0.25.12",
+ "@esbuild/freebsd-x64": "0.25.12",
+ "@esbuild/linux-arm": "0.25.12",
+ "@esbuild/linux-arm64": "0.25.12",
+ "@esbuild/linux-ia32": "0.25.12",
+ "@esbuild/linux-loong64": "0.25.12",
+ "@esbuild/linux-mips64el": "0.25.12",
+ "@esbuild/linux-ppc64": "0.25.12",
+ "@esbuild/linux-riscv64": "0.25.12",
+ "@esbuild/linux-s390x": "0.25.12",
+ "@esbuild/linux-x64": "0.25.12",
+ "@esbuild/netbsd-arm64": "0.25.12",
+ "@esbuild/netbsd-x64": "0.25.12",
+ "@esbuild/openbsd-arm64": "0.25.12",
+ "@esbuild/openbsd-x64": "0.25.12",
+ "@esbuild/openharmony-arm64": "0.25.12",
+ "@esbuild/sunos-x64": "0.25.12",
+ "@esbuild/win32-arm64": "0.25.12",
+ "@esbuild/win32-ia32": "0.25.12",
+ "@esbuild/win32-x64": "0.25.12"
+ }
+ },
+ "packages/ace-python-ruff-linter/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "fast-deep-equal": "^3.1.3",
- "fast-uri": "^3.0.1",
- "json-schema-traverse": "^1.0.0",
- "require-from-string": "^2.0.2"
+ "engines": {
+ "node": ">=12.0.0"
},
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
- }
- },
- "node_modules/yaml-language-server/node_modules/ajv-draft-04": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz",
- "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==",
- "dev": true,
- "license": "MIT",
"peerDependencies": {
- "ajv": "^8.5.0"
+ "picomatch": "^3 || ^4"
},
"peerDependenciesMeta": {
- "ajv": {
+ "picomatch": {
"optional": true
}
}
},
- "node_modules/yaml-language-server/node_modules/json-schema-traverse": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
- "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
+ "packages/ace-python-ruff-linter/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
},
- "node_modules/yaml-language-server/node_modules/vscode-json-languageservice": {
- "version": "4.1.8",
- "resolved": "https://registry.npmjs.org/vscode-json-languageservice/-/vscode-json-languageservice-4.1.8.tgz",
- "integrity": "sha512-0vSpg6Xd9hfV+eZAaYN63xVVMOTmJ4GgHxXnkLCh+9RsQBkWKIghzLhW2B9ebfG+LQQg8uLtsQ2aUKjTgE+QOg==",
+ "packages/ace-python-ruff-linter/node_modules/vite": {
+ "version": "6.4.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
+ "integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "jsonc-parser": "^3.0.0",
- "vscode-languageserver-textdocument": "^1.0.1",
- "vscode-languageserver-types": "^3.16.0",
- "vscode-nls": "^5.0.0",
- "vscode-uri": "^3.0.2"
+ "esbuild": "^0.25.0",
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2",
+ "postcss": "^8.5.3",
+ "rollup": "^4.34.9",
+ "tinyglobby": "^0.2.13"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
},
"engines": {
- "npm": ">=7.0.0"
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "jiti": ">=1.21.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
}
},
- "node_modules/yargs": {
- "version": "16.2.0",
- "dev": true,
+ "packages/ace-sql-linter": {
+ "version": "1.2.0",
"license": "MIT",
- "dependencies": {
- "cliui": "^7.0.2",
- "escalade": "^3.1.1",
- "get-caller-file": "^2.0.5",
- "require-directory": "^2.1.1",
- "string-width": "^4.2.0",
- "y18n": "^5.0.5",
- "yargs-parser": "^20.2.2"
+ "devDependencies": {
+ "dt-sql-parser": "^4.4.0",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
},
- "engines": {
- "node": ">=10"
+ "peerDependencies": {
+ "ace-linters": "^2.0.0"
}
},
- "node_modules/yargs-parser": {
- "version": "20.2.4",
+ "packages/ace-sql-linter/node_modules/@esbuild/win32-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz",
+ "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "ISC",
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
"engines": {
- "node": ">=10"
+ "node": ">=18"
}
},
- "node_modules/yargs-unparser": {
- "version": "2.0.0",
+ "packages/ace-sql-linter/node_modules/esbuild": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz",
+ "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==",
"dev": true,
+ "hasInstallScript": true,
"license": "MIT",
- "dependencies": {
- "camelcase": "^6.0.0",
- "decamelize": "^4.0.0",
- "flat": "^5.0.2",
- "is-plain-obj": "^2.1.0"
+ "bin": {
+ "esbuild": "bin/esbuild"
},
"engines": {
- "node": ">=10"
- }
- },
- "node_modules/yargs-unparser/node_modules/camelcase": {
- "version": "6.3.0",
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.25.12",
+ "@esbuild/android-arm": "0.25.12",
+ "@esbuild/android-arm64": "0.25.12",
+ "@esbuild/android-x64": "0.25.12",
+ "@esbuild/darwin-arm64": "0.25.12",
+ "@esbuild/darwin-x64": "0.25.12",
+ "@esbuild/freebsd-arm64": "0.25.12",
+ "@esbuild/freebsd-x64": "0.25.12",
+ "@esbuild/linux-arm": "0.25.12",
+ "@esbuild/linux-arm64": "0.25.12",
+ "@esbuild/linux-ia32": "0.25.12",
+ "@esbuild/linux-loong64": "0.25.12",
+ "@esbuild/linux-mips64el": "0.25.12",
+ "@esbuild/linux-ppc64": "0.25.12",
+ "@esbuild/linux-riscv64": "0.25.12",
+ "@esbuild/linux-s390x": "0.25.12",
+ "@esbuild/linux-x64": "0.25.12",
+ "@esbuild/netbsd-arm64": "0.25.12",
+ "@esbuild/netbsd-x64": "0.25.12",
+ "@esbuild/openbsd-arm64": "0.25.12",
+ "@esbuild/openbsd-x64": "0.25.12",
+ "@esbuild/openharmony-arm64": "0.25.12",
+ "@esbuild/sunos-x64": "0.25.12",
+ "@esbuild/win32-arm64": "0.25.12",
+ "@esbuild/win32-ia32": "0.25.12",
+ "@esbuild/win32-x64": "0.25.12"
+ }
+ },
+ "packages/ace-sql-linter/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=10"
+ "node": ">=12.0.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
}
},
- "node_modules/yargs-unparser/node_modules/decamelize": {
- "version": "4.0.0",
+ "packages/ace-sql-linter/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=10"
+ "node": ">=12"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/sponsors/jonschlinkert"
}
},
- "node_modules/yauzl": {
- "version": "2.10.0",
- "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
- "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==",
+ "packages/ace-sql-linter/node_modules/vite": {
+ "version": "6.4.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
+ "integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "buffer-crc32": "~0.2.3",
- "fd-slicer": "~1.1.0"
- }
- },
- "node_modules/yn": {
- "version": "3.1.1",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/yocto-queue": {
- "version": "0.1.0",
- "license": "MIT",
+ "esbuild": "^0.25.0",
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2",
+ "postcss": "^8.5.3",
+ "rollup": "^4.34.9",
+ "tinyglobby": "^0.2.13"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
"engines": {
- "node": ">=10"
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/zod": {
- "version": "3.23.8",
- "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz",
- "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==",
- "dev": true,
- "license": "MIT",
- "funding": {
- "url": "https://github.com/sponsors/colinhacks"
- }
- },
- "packages/ace-clang-linter": {
- "version": "1.1.0",
- "devDependencies": {
- "@wasm-fmt/clang-format": "^19.1.7"
+ "url": "https://github.com/vitejs/vite?sponsor=1"
},
- "peerDependencies": {
- "ace-linters": "^1.5.0"
- }
- },
- "packages/ace-dart-linter": {
- "version": "1.1.1",
- "license": "MIT",
- "devDependencies": {
- "@wasm-fmt/dart_fmt": "^0.2.0"
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
},
"peerDependencies": {
- "ace-linters": "^1.5.0"
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "jiti": ">=1.21.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
}
},
- "packages/ace-go-linter": {
- "version": "1.1.0",
+ "packages/ace-zig-linter": {
+ "version": "1.2.0",
"license": "MIT",
"devDependencies": {
- "@wasm-fmt/gofmt": "^0.4.9"
+ "@wasm-fmt/zig_fmt": "^0.15.2",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
},
"peerDependencies": {
- "ace-linters": "^1.5.0"
+ "ace-linters": "^2.0.0"
}
},
- "packages/ace-linters": {
- "version": "1.8.8",
+ "packages/ace-zig-linter/node_modules/@esbuild/win32-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz",
+ "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
"license": "MIT",
- "dependencies": {
- "vscode-languageserver-protocol": "^3.17.5",
- "vscode-languageserver-textdocument": "^1.0.12",
- "vscode-languageserver-types": "^3.17.5"
- },
- "devDependencies": {
- "@istanbuljs/nyc-config-typescript": "^1.0.2",
- "@types/chai": "^4.3.4",
- "@types/eslint": "^8.21.1",
- "@types/mocha": "^5.2.7",
- "@xml-tools/ast": "^5.0.5",
- "@xml-tools/constraints": "^1.1.1",
- "@xml-tools/parser": "^1.0.11",
- "@xml-tools/simple-schema": "^3.0.5",
- "ace-builds": "^1.39.0",
- "ace-code": "^1.39.0",
- "chai": "^4.3.7",
- "dts-bundle-generator": "^9.5.1",
- "htmlhint": "^1.1.4",
- "http-server": "^14.1.1",
- "luaparse": "^0.3.1",
- "mocha": "^10.2.0",
- "nyc": "^15.1.0",
- "puppeteer": "^23.4.0",
- "showdown": "^2.1.0",
- "ts-node": "^10.9.1",
- "vscode-css-languageservice": "^6.3.5",
- "vscode-html-languageservice": "^5.4.0",
- "vscode-json-languageservice": "^5.5.0",
- "vscode-uri": "^3.1.0",
- "vscode-ws-jsonrpc": "^3.4.0"
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
}
},
- "packages/ace-lua-linter": {
- "version": "1.1.0",
+ "packages/ace-zig-linter/node_modules/esbuild": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz",
+ "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==",
+ "dev": true,
+ "hasInstallScript": true,
"license": "MIT",
- "devDependencies": {
- "@wasm-fmt/lua_fmt": "^0.1.0",
- "luaparse": "^0.3.1"
+ "bin": {
+ "esbuild": "bin/esbuild"
},
- "peerDependencies": {
- "ace-linters": "^1.5.0"
- }
- },
- "packages/ace-python-ruff-linter": {
- "version": "1.1.0",
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.25.12",
+ "@esbuild/android-arm": "0.25.12",
+ "@esbuild/android-arm64": "0.25.12",
+ "@esbuild/android-x64": "0.25.12",
+ "@esbuild/darwin-arm64": "0.25.12",
+ "@esbuild/darwin-x64": "0.25.12",
+ "@esbuild/freebsd-arm64": "0.25.12",
+ "@esbuild/freebsd-x64": "0.25.12",
+ "@esbuild/linux-arm": "0.25.12",
+ "@esbuild/linux-arm64": "0.25.12",
+ "@esbuild/linux-ia32": "0.25.12",
+ "@esbuild/linux-loong64": "0.25.12",
+ "@esbuild/linux-mips64el": "0.25.12",
+ "@esbuild/linux-ppc64": "0.25.12",
+ "@esbuild/linux-riscv64": "0.25.12",
+ "@esbuild/linux-s390x": "0.25.12",
+ "@esbuild/linux-x64": "0.25.12",
+ "@esbuild/netbsd-arm64": "0.25.12",
+ "@esbuild/netbsd-x64": "0.25.12",
+ "@esbuild/openbsd-arm64": "0.25.12",
+ "@esbuild/openbsd-x64": "0.25.12",
+ "@esbuild/openharmony-arm64": "0.25.12",
+ "@esbuild/sunos-x64": "0.25.12",
+ "@esbuild/win32-arm64": "0.25.12",
+ "@esbuild/win32-ia32": "0.25.12",
+ "@esbuild/win32-x64": "0.25.12"
+ }
+ },
+ "packages/ace-zig-linter/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
"license": "MIT",
- "devDependencies": {
- "@astral-sh/ruff-wasm-web": "^0.9.9"
+ "engines": {
+ "node": ">=12.0.0"
},
"peerDependencies": {
- "ace-linters": "^1.5.0"
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
}
},
- "packages/ace-sql-linter": {
- "version": "1.1.0",
+ "packages/ace-zig-linter/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
+ "dev": true,
"license": "MIT",
- "devDependencies": {
- "dt-sql-parser": "^4.1.1"
+ "engines": {
+ "node": ">=12"
},
- "peerDependencies": {
- "ace-linters": "^1.5.0"
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
}
},
- "packages/ace-zig-linter": {
- "version": "1.1.0",
+ "packages/ace-zig-linter/node_modules/vite": {
+ "version": "6.4.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
+ "integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
+ "dev": true,
"license": "MIT",
- "devDependencies": {
- "@wasm-fmt/zig_fmt": "^0.0.5"
+ "dependencies": {
+ "esbuild": "^0.25.0",
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2",
+ "postcss": "^8.5.3",
+ "rollup": "^4.34.9",
+ "tinyglobby": "^0.2.13"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
},
"peerDependencies": {
- "ace-linters": "^1.5.0"
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "jiti": ">=1.21.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
}
},
"packages/demo": {
@@ -8777,14 +11655,14 @@
"path-browserify": "^1.0.0"
},
"devDependencies": {
- "esbuild": "^0.20.2"
+ "esbuild": "^0.27.2"
}
},
"packages/yaml-language-server-esbuild": {
"name": "@ace-linters/yaml-language-server-esbuild",
"version": "1.0.0",
"devDependencies": {
- "esbuild": "^0.20.2",
+ "esbuild": "^0.27.2",
"jsonc-parser": "^3.0.0",
"path-browserify": "^1.0.0",
"prettier": "^3.5.1",
diff --git a/package.json b/package.json
index 4adf6fae..8706304b 100644
--- a/package.json
+++ b/package.json
@@ -1,11 +1,10 @@
{
"name": "ace-linters-root",
- "version": "1.8.8",
+ "version": "2.0.0",
"scripts": {
"build:parts": "npm run build -ws",
- "build": "npm run build:parts && webpack",
- "start": "npm run build:parts && webpack-dev-server",
- "start-dev": "webpack-dev-server"
+ "build": "npm run build:parts && vite build",
+ "start-dev": "vite"
},
"dependencies": {
"ace-layout": "^1.5.0",
@@ -15,16 +14,10 @@
},
"devDependencies": {
"@types/node": "^20.4.2",
- "copy-webpack-plugin": "9.1.0",
"node-polyfill-webpack-plugin": "^1.1.4",
- "raw-loader": "^4.0.2",
- "swc-loader": "^0.2.3",
- "text-loader": "latest",
- "webpack": "latest",
- "webpack-cli": "^4.10.0",
- "webpack-dev-server": "^4.15.1"
+ "rolldown-vite": "^7.3.1",
+ "vite-plugin-static-copy": "^3.2.0"
},
- "main": "build/bundle.simple.js",
"workspaces": [
"./packages/*"
]
diff --git a/packages/ace-clang-linter/package.json b/packages/ace-clang-linter/package.json
index b0e97fbf..222c4362 100644
--- a/packages/ace-clang-linter/package.json
+++ b/packages/ace-clang-linter/package.json
@@ -1,17 +1,19 @@
{
"name": "ace-clang-linter",
"author": "Azat Alimov ",
- "version": "1.1.0",
+ "version": "1.2.0",
"scripts": {
"clean": "rimraf build",
"prebuild": "node prebuild.js",
- "build": "npm run clean && webpack --mode=production"
+ "build": "npm run clean && vite build"
},
"devDependencies": {
- "@wasm-fmt/clang-format": "^19.1.7"
+ "@wasm-fmt/clang-format": "^21.1.8",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
},
"peerDependencies": {
- "ace-linters": "^1.5.0"
+ "ace-linters": "^2.0.0"
},
"files": ["build", "types"],
"typesVersions": {
diff --git a/packages/ace-clang-linter/vite.config.ts b/packages/ace-clang-linter/vite.config.ts
new file mode 100644
index 00000000..5d4f4dc4
--- /dev/null
+++ b/packages/ace-clang-linter/vite.config.ts
@@ -0,0 +1,67 @@
+import {defineConfig, Plugin} from 'vite';
+import {resolve} from 'path';
+import {nodePolyfills} from 'vite-plugin-node-polyfills';
+
+function umd2Plugin(): Plugin {
+ return {
+ name: 'umd2-global-exports',
+ generateBundle(_options, bundle) {
+ for (const chunk of Object.values(bundle)) {
+ if (chunk.type === 'chunk' && chunk.code) {
+ chunk.code = chunk.code.replace(
+ /factory\((global\d*)\.[\w]+ = \{\}\)/g,
+ 'factory($1)'
+ );
+ }
+ }
+ },
+ };
+}
+
+export default defineConfig({
+ build: {
+ outDir: 'build',
+ sourcemap: false,
+ minify: false,
+ lib: {
+ entry: resolve(__dirname, 'src/ace-clang-linter.ts'),
+ name: 'AceClangLinter',
+ formats: ['umd'],
+ fileName: () => 'ace-clang-linter.js',
+ },
+ rollupOptions: {
+ external: [
+ /^ace-code/,
+ /^ace-builds/,
+ ],
+ output: {
+ exports: 'named',
+ globals: {
+ 'ace-code': 'ace',
+ 'ace-builds': 'ace',
+ },
+ },
+ },
+ },
+
+ esbuild: {
+ target: 'es2019',
+ },
+
+ optimizeDeps: {
+ exclude: ['@wasm-fmt/clang-format'],
+ },
+
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js'],
+ },
+
+ worker: {
+ format: 'es',
+ },
+
+ plugins: [
+ nodePolyfills(),
+ umd2Plugin(),
+ ],
+});
diff --git a/packages/ace-clang-linter/webpack.config.js b/packages/ace-clang-linter/webpack.config.js
deleted file mode 100644
index 917fe8d9..00000000
--- a/packages/ace-clang-linter/webpack.config.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"use strict";
-const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");
-
-module.exports = (env, argv) => {
- const isProduction = argv.mode === 'production';
- let loader;
- loader = {
- test: /\.(t|j)sx?$/,
- use: {
- loader: 'swc-loader',
- options: {
- jsc: {
- "target": "es2019"
- }
- }
- },
- exclude: /node_modules/
- };
- return {
- cache: false,
- devtool: isProduction ? false : 'inline-source-map',
- entry: {
- "ace-clang-linter": {
- chunkLoading: "import-scripts",
- import: './src/ace-clang-linter.ts'
- },
- },
- module: {
- rules: [
- loader, {
- test: /\.wasm$/,
- type: "asset/inline",
- },
- ]
- },
- resolveLoader: {
- modules: [
- "node_modules", __dirname + "/node_modules"
- ]
- },
- resolve: {
- extensions: ['.tsx', '.ts', '.js']
- },
- output: {
- filename: '[name].js',
- path: __dirname + '/build',
- publicPath: 'auto',
- library: {
- type: "umd2"
- },
- globalObject: 'this'
- },
- optimization: {
- minimize: false
- },
- plugins: [
- new NodePolyfillPlugin()
- ]
- };
-};
diff --git a/packages/ace-dart-linter/package.json b/packages/ace-dart-linter/package.json
index 169e7486..70e19f97 100644
--- a/packages/ace-dart-linter/package.json
+++ b/packages/ace-dart-linter/package.json
@@ -1,19 +1,21 @@
{
"name": "ace-dart-linter",
"author": "Azat Alimov ",
- "version": "1.1.1",
+ "version": "1.2.0",
"license": "MIT",
"repository": "https://github.com/mkslanc/ace-linters/tree/main/packages/ace-dart-linter",
"scripts": {
"clean": "rimraf build",
"prebuild": "node prebuild.js",
- "build": "npm run clean && webpack --mode=production"
+ "build": "npm run clean && vite build"
},
"devDependencies": {
- "@wasm-fmt/dart_fmt": "^0.2.0"
+ "@wasm-fmt/dart_fmt": "^0.4.0",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
},
"peerDependencies": {
- "ace-linters": "^1.5.0"
+ "ace-linters": "^2.0.0"
},
"files": [
"build",
diff --git a/packages/ace-dart-linter/src/ace-dart-linter.ts b/packages/ace-dart-linter/src/ace-dart-linter.ts
index 462c5c73..140a32d0 100644
--- a/packages/ace-dart-linter/src/ace-dart-linter.ts
+++ b/packages/ace-dart-linter/src/ace-dart-linter.ts
@@ -1,5 +1,5 @@
import {BaseService} from "ace-linters/src/services/base-service";
-import init, {format} from "@wasm-fmt/dart_fmt";
+import init, {format} from "@wasm-fmt/dart_fmt/dart_fmt_web";
import {LanguageService} from "ace-linters/src/types/language-service";
import type {AceDartLinterOptions} from "./service";
@@ -20,7 +20,6 @@ export class AceDartLinter extends BaseService implements
$defaultFormatOptions = {
line_width: 80,
line_ending: "lf",
- language_version: "2.17",
}
constructor(mode: string) {
diff --git a/packages/ace-dart-linter/types/ace-dart-linter.d.ts b/packages/ace-dart-linter/types/ace-dart-linter.d.ts
index 66480a8f..00ef861d 100644
--- a/packages/ace-dart-linter/types/ace-dart-linter.d.ts
+++ b/packages/ace-dart-linter/types/ace-dart-linter.d.ts
@@ -12,7 +12,6 @@ export declare class AceDartLinter extends BaseService imp
$defaultFormatOptions: {
line_width: number;
line_ending: string;
- language_version: string;
};
constructor(mode: string);
getFormattingOptions(options: lsp.FormattingOptions): any;
diff --git a/packages/ace-dart-linter/vite.config.ts b/packages/ace-dart-linter/vite.config.ts
new file mode 100644
index 00000000..f4f23b0b
--- /dev/null
+++ b/packages/ace-dart-linter/vite.config.ts
@@ -0,0 +1,67 @@
+import {defineConfig, Plugin} from 'vite';
+import {resolve} from 'path';
+import {nodePolyfills} from 'vite-plugin-node-polyfills';
+
+function umd2Plugin(): Plugin {
+ return {
+ name: 'umd2-global-exports',
+ generateBundle(_options, bundle) {
+ for (const chunk of Object.values(bundle)) {
+ if (chunk.type === 'chunk' && chunk.code) {
+ chunk.code = chunk.code.replace(
+ /factory\((global\d*)\.[\w]+ = \{\}\)/g,
+ 'factory($1)'
+ );
+ }
+ }
+ },
+ };
+}
+
+export default defineConfig({
+ build: {
+ outDir: 'build',
+ sourcemap: false,
+ minify: false,
+ lib: {
+ entry: resolve(__dirname, 'src/ace-dart-linter.ts'),
+ name: 'AceDartLinter',
+ formats: ['umd'],
+ fileName: () => 'ace-dart-linter.js',
+ },
+ rollupOptions: {
+ external: [
+ /^ace-code/,
+ /^ace-builds/,
+ ],
+ output: {
+ exports: 'named',
+ globals: {
+ 'ace-code': 'ace',
+ 'ace-builds': 'ace',
+ },
+ },
+ },
+ },
+
+ esbuild: {
+ target: 'es2019',
+ },
+
+ optimizeDeps: {
+ exclude: ['@wasm-fmt/dart_fmt'],
+ },
+
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js'],
+ },
+
+ worker: {
+ format: 'es',
+ },
+
+ plugins: [
+ nodePolyfills(),
+ umd2Plugin(),
+ ],
+});
diff --git a/packages/ace-dart-linter/webpack.config.js b/packages/ace-dart-linter/webpack.config.js
deleted file mode 100644
index 0c396e83..00000000
--- a/packages/ace-dart-linter/webpack.config.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"use strict";
-const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");
-
-module.exports = (env, argv) => {
- const isProduction = argv.mode === 'production';
- let loader;
- loader = {
- test: /\.(t|j)sx?$/,
- use: {
- loader: 'swc-loader',
- options: {
- jsc: {
- "target": "es2019"
- }
- }
- },
- exclude: /node_modules/
- };
- return {
- cache: false,
- devtool: isProduction ? false : 'inline-source-map',
- entry: {
- "ace-dart-linter": {
- chunkLoading: "import-scripts",
- import: './src/ace-dart-linter.ts'
- },
- },
- module: {
- rules: [
- loader, {
- test: /\.wasm$/,
- type: "asset/inline",
- },
- ]
- },
- resolveLoader: {
- modules: [
- "node_modules", __dirname + "/node_modules"
- ]
- },
- resolve: {
- extensions: ['.tsx', '.ts', '.js']
- },
- output: {
- filename: '[name].js',
- path: __dirname + '/build',
- publicPath: 'auto',
- library: {
- type: "umd2"
- },
- globalObject: 'this'
- },
- optimization: {
- minimize: false
- },
- plugins: [
- new NodePolyfillPlugin()
- ]
- };
-};
diff --git a/packages/ace-go-linter/package.json b/packages/ace-go-linter/package.json
index f1a11b9b..7f11d824 100644
--- a/packages/ace-go-linter/package.json
+++ b/packages/ace-go-linter/package.json
@@ -1,19 +1,21 @@
{
"name": "ace-go-linter",
"author": "Azat Alimov ",
- "version": "1.1.0",
+ "version": "1.2.0",
"license": "MIT",
"repository": "https://github.com/mkslanc/ace-linters/tree/main/packages/ace-go-linter",
"scripts": {
"clean": "rimraf build",
"prebuild": "node prebuild.js",
- "build": "npm run clean && webpack --mode=production"
+ "build": "npm run clean && vite build"
},
"devDependencies": {
- "@wasm-fmt/gofmt": "^0.4.9"
+ "@wasm-fmt/gofmt": "^0.7.2",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
},
"peerDependencies": {
- "ace-linters": "^1.5.0"
+ "ace-linters": "^2.0.0"
},
"files": ["build", "types"],
"typesVersions": {
diff --git a/packages/ace-go-linter/src/ace-go-linter.ts b/packages/ace-go-linter/src/ace-go-linter.ts
index ef355fd7..c74c6717 100644
--- a/packages/ace-go-linter/src/ace-go-linter.ts
+++ b/packages/ace-go-linter/src/ace-go-linter.ts
@@ -1,4 +1,4 @@
-import init, { format } from "@wasm-fmt/gofmt";
+import init, { format } from "@wasm-fmt/gofmt/gofmt_web";
import {BaseService} from "ace-linters/src/services/base-service";
diff --git a/packages/ace-go-linter/vite.config.ts b/packages/ace-go-linter/vite.config.ts
new file mode 100644
index 00000000..ff796d45
--- /dev/null
+++ b/packages/ace-go-linter/vite.config.ts
@@ -0,0 +1,67 @@
+import {defineConfig, Plugin} from 'vite';
+import {resolve} from 'path';
+import {nodePolyfills} from 'vite-plugin-node-polyfills';
+
+function umd2Plugin(): Plugin {
+ return {
+ name: 'umd2-global-exports',
+ generateBundle(_options, bundle) {
+ for (const chunk of Object.values(bundle)) {
+ if (chunk.type === 'chunk' && chunk.code) {
+ chunk.code = chunk.code.replace(
+ /factory\((global\d*)\.[\w]+ = \{\}\)/g,
+ 'factory($1)'
+ );
+ }
+ }
+ },
+ };
+}
+
+export default defineConfig({
+ build: {
+ outDir: 'build',
+ sourcemap: false,
+ minify: false,
+ lib: {
+ entry: resolve(__dirname, 'src/ace-go-linter.ts'),
+ name: 'AceGoLinter',
+ formats: ['umd'],
+ fileName: () => 'ace-go-linter.js',
+ },
+ rollupOptions: {
+ external: [
+ /^ace-code/,
+ /^ace-builds/,
+ ],
+ output: {
+ exports: 'named',
+ globals: {
+ 'ace-code': 'ace',
+ 'ace-builds': 'ace',
+ },
+ },
+ },
+ },
+
+ esbuild: {
+ target: 'es2019',
+ },
+
+ optimizeDeps: {
+ exclude: ['@wasm-fmt/gofmt'],
+ },
+
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js'],
+ },
+
+ worker: {
+ format: 'es',
+ },
+
+ plugins: [
+ nodePolyfills(),
+ umd2Plugin(),
+ ],
+});
diff --git a/packages/ace-go-linter/webpack.config.js b/packages/ace-go-linter/webpack.config.js
deleted file mode 100644
index f3efa167..00000000
--- a/packages/ace-go-linter/webpack.config.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"use strict";
-const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");
-
-module.exports = (env, argv) => {
- const isProduction = argv.mode === 'production';
- let loader;
- loader = {
- test: /\.(t|j)sx?$/,
- use: {
- loader: 'swc-loader',
- options: {
- jsc: {
- "target": "es2019"
- }
- }
- },
- exclude: /node_modules/
- };
- return {
- cache: false,
- devtool: isProduction ? false : 'inline-source-map',
- entry: {
- "ace-go-linter": {
- chunkLoading: "import-scripts",
- import: './src/ace-go-linter.ts'
- },
- },
- module: {
- rules: [
- loader, {
- test: /\.wasm$/,
- type: "asset/inline",
- },
- ]
- },
- resolveLoader: {
- modules: [
- "node_modules", __dirname + "/node_modules"
- ]
- },
- resolve: {
- extensions: ['.tsx', '.ts', '.js']
- },
- output: {
- filename: '[name].js',
- path: __dirname + '/build',
- publicPath: 'auto',
- library: {
- type: "umd2"
- },
- globalObject: 'this'
- },
- optimization: {
- minimize: false
- },
- plugins: [
- new NodePolyfillPlugin()
- ]
- };
-};
diff --git a/packages/ace-linters/README.md b/packages/ace-linters/README.md
index 200c2342..afab0ce6 100644
--- a/packages/ace-linters/README.md
+++ b/packages/ace-linters/README.md
@@ -1,6 +1,6 @@
# Ace Linters (Ace Language Client)
-Ace linters is lsp client for Ace editor. It comes with large number of preconfigured easy to use in browser servers.
+Ace linters is lsp client for Ace editor. It comes with a large number of preconfigured easy to use in browser servers.
If you're uncertain about integrating ace-linters, consult [our diagram on the GitHub Wiki](https://github.com/mkslanc/ace-linters/wiki/Usage-Scenarios-Overview) for a quick setup guide
tailored to your needs.
@@ -28,6 +28,21 @@ languageProvider.registerEditor(editor);
[Example webworker.js with all services](https://github.com/mkslanc/ace-linters/blob/main/packages/demo/webworker-lsp/webworker.ts)
+## What's New in 2.0.0
+
+### Build System Migration
+- Migrated from webpack to Vite for faster builds and better development experience
+- UMD output format preserved - no changes required for existing integrations
+- Improved development workflow with Vite dev server and HMR support
+
+### For Library Users
+No breaking changes - all existing code using ace-linters via CDN or npm **will continue to work without modifications**.
+
+### For Contributors
+- Development server: `npm run start-dev` (no pre-build required)
+- Individual package builds use Vite instead of webpack
+- Workspace packages are aliased to source files during development for instant HMR
+
## New features in 1.8.1
- add `manualSessionControl` provider option to disable automatic session registration. When enabled, you must manually handle session changes:
```javascript
diff --git a/packages/ace-linters/build.mjs b/packages/ace-linters/build.mjs
new file mode 100644
index 00000000..afa10143
--- /dev/null
+++ b/packages/ace-linters/build.mjs
@@ -0,0 +1,53 @@
+#!/usr/bin/env node
+/**
+ * Build script for ace-linters
+ * Builds each entry point as a separate UMD bundle
+ *
+ * Usage:
+ * node build.mjs # Production build (no sourcemaps)
+ * node build.mjs --dev # Development build (inline sourcemaps)
+ */
+
+import { execSync } from 'child_process';
+import { rmSync, existsSync } from 'fs';
+
+const isDev = process.argv.includes('--dev');
+const nodeEnv = isDev ? 'development' : 'production';
+
+const entries = [
+ 'ace-linters',
+ 'service-manager',
+ 'html-service',
+ 'css-service',
+ 'json-service',
+ 'lua-service',
+ 'typescript-service',
+ 'yaml-service',
+ 'xml-service',
+ 'php-service',
+ 'ace-language-client',
+ 'javascript-service',
+ 'base-service',
+ 'language-client',
+];
+
+if (existsSync('build')) {
+ rmSync('build', { recursive: true });
+}
+
+console.log(`Building ace-linters with Vite (UMD) [${isDev ? 'development' : 'production'}]...\n`);
+
+for (const entry of entries) {
+ console.log(`Building ${entry}...`);
+ try {
+ execSync(`npx vite build`, {
+ stdio: 'inherit',
+ env: { ...process.env, ENTRY: entry, NODE_ENV: nodeEnv },
+ });
+ } catch (err) {
+ console.error(`Failed to build ${entry}`);
+ process.exit(1);
+ }
+}
+
+console.log('\nAll builds complete!');
diff --git a/packages/ace-linters/package.json b/packages/ace-linters/package.json
index 62e5604d..978e6d89 100644
--- a/packages/ace-linters/package.json
+++ b/packages/ace-linters/package.json
@@ -1,15 +1,15 @@
{
"name": "ace-linters",
"author": "Azat Alimov ",
- "version": "1.8.8",
+ "version": "2.0.0",
"scripts": {
"clean": "rimraf build",
"postbuild": "node postbuild.js",
"build:yaml-language-server": "cd ../yaml-language-server-esbuild && npm run build",
"build:eslint-linter-bundle": "cd ../eslint-linter-bundle && npm run build",
"build:dependencies": "npm run build:yaml-language-server && npm run build:eslint-linter-bundle",
- "build": "npm run clean && npm run build:dependencies && webpack --mode=production",
- "build-dev": "npm run clean && npm run build:dependencies && webpack --mode=development",
+ "build": "npm run build:dependencies && node build.mjs",
+ "build-dev": "npm run build:dependencies && node build.mjs --dev",
"copy-build": "node tools/copy-build-for-tests.js",
"start-test-server": "npm run copy-build && http-server --cors='*' tests/ui/dist",
"test:unit": "mocha --config mocha.unit.config.js --exit",
@@ -25,6 +25,10 @@
"vscode-languageserver-types": "^3.17.5"
},
"devDependencies": {
+ "vite": "^6.4.1",
+ "vite-plugin-node-polyfills": "^0.25.0",
+ "@rollup/plugin-commonjs": "^28.0.0",
+ "rimraf": "^5.0.0",
"vscode-html-languageservice": "^5.4.0",
"vscode-css-languageservice": "^6.3.5",
"vscode-json-languageservice": "^5.5.0",
diff --git a/packages/ace-linters/src/services/javascript/lib/index.js b/packages/ace-linters/src/services/javascript/lib/index.js
index 0facf491..3caa55cc 100644
--- a/packages/ace-linters/src/services/javascript/lib/index.js
+++ b/packages/ace-linters/src/services/javascript/lib/index.js
@@ -7,8 +7,7 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
}) : x)(function(x) {
- if (typeof require !== "undefined")
- return require.apply(this, arguments);
+ if (typeof require !== "undefined") return require.apply(this, arguments);
throw Error('Dynamic require of "' + x + '" is not supported');
});
var __commonJS = (cb, mod) => function __require2() {
@@ -150,17 +149,13 @@ var require_path_browserify = __commonJS({
},
normalize: function normalize(path) {
assertPath(path);
- if (path.length === 0)
- return ".";
+ if (path.length === 0) return ".";
var isAbsolute = path.charCodeAt(0) === 47;
var trailingSeparator = path.charCodeAt(path.length - 1) === 47;
path = normalizeStringPosix(path, !isAbsolute);
- if (path.length === 0 && !isAbsolute)
- path = ".";
- if (path.length > 0 && trailingSeparator)
- path += "/";
- if (isAbsolute)
- return "/" + path;
+ if (path.length === 0 && !isAbsolute) path = ".";
+ if (path.length > 0 && trailingSeparator) path += "/";
+ if (isAbsolute) return "/" + path;
return path;
},
isAbsolute: function isAbsolute(path) {
@@ -188,12 +183,10 @@ var require_path_browserify = __commonJS({
relative: function relative(from, to) {
assertPath(from);
assertPath(to);
- if (from === to)
- return "";
+ if (from === to) return "";
from = posix.resolve(from);
to = posix.resolve(to);
- if (from === to)
- return "";
+ if (from === to) return "";
var fromStart = 1;
for (; fromStart < from.length; ++fromStart) {
if (from.charCodeAt(fromStart) !== 47)
@@ -258,8 +251,7 @@ var require_path_browserify = __commonJS({
},
dirname: function dirname(path) {
assertPath(path);
- if (path.length === 0)
- return ".";
+ if (path.length === 0) return ".";
var code = path.charCodeAt(0);
var hasRoot = code === 47;
var end = -1;
@@ -275,23 +267,19 @@ var require_path_browserify = __commonJS({
matchedSlash = false;
}
}
- if (end === -1)
- return hasRoot ? "/" : ".";
- if (hasRoot && end === 1)
- return "//";
+ if (end === -1) return hasRoot ? "/" : ".";
+ if (hasRoot && end === 1) return "//";
return path.slice(0, end);
},
basename: function basename(path, ext) {
- if (ext !== void 0 && typeof ext !== "string")
- throw new TypeError('"ext" argument must be a string');
+ if (ext !== void 0 && typeof ext !== "string") throw new TypeError('"ext" argument must be a string');
assertPath(path);
var start = 0;
var end = -1;
var matchedSlash = true;
var i;
if (ext !== void 0 && ext.length > 0 && ext.length <= path.length) {
- if (ext.length === path.length && ext === path)
- return "";
+ if (ext.length === path.length && ext === path) return "";
var extIdx = ext.length - 1;
var firstNonSlashEnd = -1;
for (i = path.length - 1; i >= 0; --i) {
@@ -318,10 +306,8 @@ var require_path_browserify = __commonJS({
}
}
}
- if (start === end)
- end = firstNonSlashEnd;
- else if (end === -1)
- end = path.length;
+ if (start === end) end = firstNonSlashEnd;
+ else if (end === -1) end = path.length;
return path.slice(start, end);
} else {
for (i = path.length - 1; i >= 0; --i) {
@@ -335,8 +321,7 @@ var require_path_browserify = __commonJS({
end = i + 1;
}
}
- if (end === -1)
- return "";
+ if (end === -1) return "";
return path.slice(start, end);
}
},
@@ -385,8 +370,7 @@ var require_path_browserify = __commonJS({
parse: function parse(path) {
assertPath(path);
var ret = { root: "", dir: "", base: "", ext: "", name: "" };
- if (path.length === 0)
- return ret;
+ if (path.length === 0) return ret;
var code = path.charCodeAt(0);
var isAbsolute = code === 47;
var start;
@@ -416,10 +400,8 @@ var require_path_browserify = __commonJS({
end = i + 1;
}
if (code === 46) {
- if (startDot === -1)
- startDot = i;
- else if (preDotState !== 1)
- preDotState = 1;
+ if (startDot === -1) startDot = i;
+ else if (preDotState !== 1) preDotState = 1;
} else if (startDot !== -1) {
preDotState = -1;
}
@@ -428,10 +410,8 @@ var require_path_browserify = __commonJS({
preDotState === 0 || // The (right-most) trimmed path component is exactly '..'
preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
if (end !== -1) {
- if (startPart === 0 && isAbsolute)
- ret.base = ret.name = path.slice(1, end);
- else
- ret.base = ret.name = path.slice(startPart, end);
+ if (startPart === 0 && isAbsolute) ret.base = ret.name = path.slice(1, end);
+ else ret.base = ret.name = path.slice(startPart, end);
}
} else {
if (startPart === 0 && isAbsolute) {
@@ -443,10 +423,8 @@ var require_path_browserify = __commonJS({
}
ret.ext = path.slice(startDot, end);
}
- if (startPart > 0)
- ret.dir = path.slice(0, startPart - 1);
- else if (isAbsolute)
- ret.dir = "/";
+ if (startPart > 0) ret.dir = path.slice(0, startPart - 1);
+ else if (isAbsolute) ret.dir = "/";
return ret;
},
sep: "/",
@@ -471,7 +449,7 @@ var require_shams = __commonJS({
return true;
}
var obj = {};
- var sym = Symbol("test");
+ var sym = /* @__PURE__ */ Symbol("test");
var symObj = Object(sym);
if (typeof sym === "string") {
return false;
@@ -484,7 +462,7 @@ var require_shams = __commonJS({
}
var symVal = 42;
obj[sym] = symVal;
- for (sym in obj) {
+ for (var _ in obj) {
return false;
}
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
@@ -501,7 +479,10 @@ var require_shams = __commonJS({
return false;
}
if (typeof Object.getOwnPropertyDescriptor === "function") {
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
+ var descriptor = (
+ /** @type {PropertyDescriptor} */
+ Object.getOwnPropertyDescriptor(obj, sym)
+ );
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
return false;
}
@@ -522,6 +503,14 @@ var require_shams2 = __commonJS({
}
});
+// ../../node_modules/es-object-atoms/index.js
+var require_es_object_atoms = __commonJS({
+ "../../node_modules/es-object-atoms/index.js"(exports, module) {
+ "use strict";
+ module.exports = Object;
+ }
+});
+
// ../../node_modules/es-errors/index.js
var require_es_errors = __commonJS({
"../../node_modules/es-errors/index.js"(exports, module) {
@@ -578,6 +567,118 @@ var require_uri = __commonJS({
}
});
+// ../../node_modules/math-intrinsics/abs.js
+var require_abs = __commonJS({
+ "../../node_modules/math-intrinsics/abs.js"(exports, module) {
+ "use strict";
+ module.exports = Math.abs;
+ }
+});
+
+// ../../node_modules/math-intrinsics/floor.js
+var require_floor = __commonJS({
+ "../../node_modules/math-intrinsics/floor.js"(exports, module) {
+ "use strict";
+ module.exports = Math.floor;
+ }
+});
+
+// ../../node_modules/math-intrinsics/max.js
+var require_max = __commonJS({
+ "../../node_modules/math-intrinsics/max.js"(exports, module) {
+ "use strict";
+ module.exports = Math.max;
+ }
+});
+
+// ../../node_modules/math-intrinsics/min.js
+var require_min = __commonJS({
+ "../../node_modules/math-intrinsics/min.js"(exports, module) {
+ "use strict";
+ module.exports = Math.min;
+ }
+});
+
+// ../../node_modules/math-intrinsics/pow.js
+var require_pow = __commonJS({
+ "../../node_modules/math-intrinsics/pow.js"(exports, module) {
+ "use strict";
+ module.exports = Math.pow;
+ }
+});
+
+// ../../node_modules/math-intrinsics/round.js
+var require_round = __commonJS({
+ "../../node_modules/math-intrinsics/round.js"(exports, module) {
+ "use strict";
+ module.exports = Math.round;
+ }
+});
+
+// ../../node_modules/math-intrinsics/isNaN.js
+var require_isNaN = __commonJS({
+ "../../node_modules/math-intrinsics/isNaN.js"(exports, module) {
+ "use strict";
+ module.exports = Number.isNaN || function isNaN2(a) {
+ return a !== a;
+ };
+ }
+});
+
+// ../../node_modules/math-intrinsics/sign.js
+var require_sign = __commonJS({
+ "../../node_modules/math-intrinsics/sign.js"(exports, module) {
+ "use strict";
+ var $isNaN = require_isNaN();
+ module.exports = function sign(number) {
+ if ($isNaN(number) || number === 0) {
+ return number;
+ }
+ return number < 0 ? -1 : 1;
+ };
+ }
+});
+
+// ../../node_modules/gopd/gOPD.js
+var require_gOPD = __commonJS({
+ "../../node_modules/gopd/gOPD.js"(exports, module) {
+ "use strict";
+ module.exports = Object.getOwnPropertyDescriptor;
+ }
+});
+
+// ../../node_modules/gopd/index.js
+var require_gopd = __commonJS({
+ "../../node_modules/gopd/index.js"(exports, module) {
+ "use strict";
+ var $gOPD = require_gOPD();
+ if ($gOPD) {
+ try {
+ $gOPD([], "length");
+ } catch (e) {
+ $gOPD = null;
+ }
+ }
+ module.exports = $gOPD;
+ }
+});
+
+// ../../node_modules/es-define-property/index.js
+var require_es_define_property = __commonJS({
+ "../../node_modules/es-define-property/index.js"(exports, module) {
+ "use strict";
+ var $defineProperty = Object.defineProperty || false;
+ if ($defineProperty) {
+ try {
+ $defineProperty({}, "a", { value: 1 });
+ } catch (e) {
+ $defineProperty = false;
+ }
+ }
+ module.exports = $defineProperty;
+ }
+});
+
// ../../node_modules/has-symbols/index.js
var require_has_symbols = __commonJS({
"../../node_modules/has-symbols/index.js"(exports, module) {
@@ -594,7 +695,7 @@ var require_has_symbols = __commonJS({
if (typeof origSymbol("foo") !== "symbol") {
return false;
}
- if (typeof Symbol("bar") !== "symbol") {
+ if (typeof /* @__PURE__ */ Symbol("bar") !== "symbol") {
return false;
}
return hasSymbolSham();
@@ -602,17 +703,20 @@ var require_has_symbols = __commonJS({
}
});
-// ../../node_modules/has-proto/index.js
-var require_has_proto = __commonJS({
- "../../node_modules/has-proto/index.js"(exports, module) {
+// ../../node_modules/get-proto/Reflect.getPrototypeOf.js
+var require_Reflect_getPrototypeOf = __commonJS({
+ "../../node_modules/get-proto/Reflect.getPrototypeOf.js"(exports, module) {
"use strict";
- var test = {
- foo: {}
- };
- var $Object = Object;
- module.exports = function hasProto() {
- return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
- };
+ module.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
+ }
+});
+
+// ../../node_modules/get-proto/Object.getPrototypeOf.js
+var require_Object_getPrototypeOf = __commonJS({
+ "../../node_modules/get-proto/Object.getPrototypeOf.js"(exports, module) {
+ "use strict";
+ var $Object = require_es_object_atoms();
+ module.exports = $Object.getPrototypeOf || null;
}
});
@@ -701,6 +805,110 @@ var require_function_bind = __commonJS({
}
});
+// ../../node_modules/call-bind-apply-helpers/functionCall.js
+var require_functionCall = __commonJS({
+ "../../node_modules/call-bind-apply-helpers/functionCall.js"(exports, module) {
+ "use strict";
+ module.exports = Function.prototype.call;
+ }
+});
+
+// ../../node_modules/call-bind-apply-helpers/functionApply.js
+var require_functionApply = __commonJS({
+ "../../node_modules/call-bind-apply-helpers/functionApply.js"(exports, module) {
+ "use strict";
+ module.exports = Function.prototype.apply;
+ }
+});
+
+// ../../node_modules/call-bind-apply-helpers/reflectApply.js
+var require_reflectApply = __commonJS({
+ "../../node_modules/call-bind-apply-helpers/reflectApply.js"(exports, module) {
+ "use strict";
+ module.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
+ }
+});
+
+// ../../node_modules/call-bind-apply-helpers/actualApply.js
+var require_actualApply = __commonJS({
+ "../../node_modules/call-bind-apply-helpers/actualApply.js"(exports, module) {
+ "use strict";
+ var bind = require_function_bind();
+ var $apply = require_functionApply();
+ var $call = require_functionCall();
+ var $reflectApply = require_reflectApply();
+ module.exports = $reflectApply || bind.call($call, $apply);
+ }
+});
+
+// ../../node_modules/call-bind-apply-helpers/index.js
+var require_call_bind_apply_helpers = __commonJS({
+ "../../node_modules/call-bind-apply-helpers/index.js"(exports, module) {
+ "use strict";
+ var bind = require_function_bind();
+ var $TypeError = require_type();
+ var $call = require_functionCall();
+ var $actualApply = require_actualApply();
+ module.exports = function callBindBasic(args) {
+ if (args.length < 1 || typeof args[0] !== "function") {
+ throw new $TypeError("a function is required");
+ }
+ return $actualApply(bind, $call, args);
+ };
+ }
+});
+
+// ../../node_modules/dunder-proto/get.js
+var require_get = __commonJS({
+ "../../node_modules/dunder-proto/get.js"(exports, module) {
+ "use strict";
+ var callBind = require_call_bind_apply_helpers();
+ var gOPD = require_gopd();
+ var hasProtoAccessor;
+ try {
+ hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
+ [].__proto__ === Array.prototype;
+ } catch (e) {
+ if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
+ throw e;
+ }
+ }
+ var desc = !!hasProtoAccessor && gOPD && gOPD(
+ Object.prototype,
+ /** @type {keyof typeof Object.prototype} */
+ "__proto__"
+ );
+ var $Object = Object;
+ var $getPrototypeOf = $Object.getPrototypeOf;
+ module.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
+ /** @type {import('./get')} */
+ function getDunder(value) {
+ return $getPrototypeOf(value == null ? value : $Object(value));
+ }
+ ) : false;
+ }
+});
+
+// ../../node_modules/get-proto/index.js
+var require_get_proto = __commonJS({
+ "../../node_modules/get-proto/index.js"(exports, module) {
+ "use strict";
+ var reflectGetProto = require_Reflect_getPrototypeOf();
+ var originalGetProto = require_Object_getPrototypeOf();
+ var getDunderProto = require_get();
+ module.exports = reflectGetProto ? function getProto(O) {
+ return reflectGetProto(O);
+ } : originalGetProto ? function getProto(O) {
+ if (!O || typeof O !== "object" && typeof O !== "function") {
+ throw new TypeError("getProto: not an object");
+ }
+ return originalGetProto(O);
+ } : getDunderProto ? function getProto(O) {
+ return getDunderProto(O);
+ } : null;
+ }
+});
+
// ../../node_modules/hasown/index.js
var require_hasown = __commonJS({
"../../node_modules/hasown/index.js"(exports, module) {
@@ -717,6 +925,7 @@ var require_get_intrinsic = __commonJS({
"../../node_modules/get-intrinsic/index.js"(exports, module) {
"use strict";
var undefined2;
+ var $Object = require_es_object_atoms();
var $Error = require_es_errors();
var $EvalError = require_eval();
var $RangeError = require_range();
@@ -724,6 +933,13 @@ var require_get_intrinsic = __commonJS({
var $SyntaxError = require_syntax();
var $TypeError = require_type();
var $URIError = require_uri();
+ var abs = require_abs();
+ var floor = require_floor();
+ var max = require_max();
+ var min = require_min();
+ var pow = require_pow();
+ var round = require_round();
+ var sign = require_sign();
var $Function = Function;
var getEvalledConstructor = function(expressionSyntax) {
try {
@@ -731,18 +947,12 @@ var require_get_intrinsic = __commonJS({
} catch (e) {
}
};
- var $gOPD = Object.getOwnPropertyDescriptor;
- if ($gOPD) {
- try {
- $gOPD({}, "");
- } catch (e) {
- $gOPD = null;
- }
- }
+ var $gOPD = require_gopd();
+ var $defineProperty = require_es_define_property();
var throwTypeError = function() {
throw new $TypeError();
};
- var ThrowTypeError = $gOPD ? function() {
+ var ThrowTypeError = $gOPD ? (function() {
try {
arguments.callee;
return throwTypeError;
@@ -753,12 +963,13 @@ var require_get_intrinsic = __commonJS({
return throwTypeError;
}
}
- }() : throwTypeError;
+ })() : throwTypeError;
var hasSymbols = require_has_symbols()();
- var hasProto = require_has_proto()();
- var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
- return x.__proto__;
- } : null);
+ var getProto = require_get_proto();
+ var $ObjectGPO = require_Object_getPrototypeOf();
+ var $ReflectGPO = require_Reflect_getPrototypeOf();
+ var $apply = require_functionApply();
+ var $call = require_functionCall();
var needsEval = {};
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
var INTRINSICS = {
@@ -787,6 +998,7 @@ var require_get_intrinsic = __commonJS({
"%eval%": eval,
// eslint-disable-line no-eval
"%EvalError%": $EvalError,
+ "%Float16Array%": typeof Float16Array === "undefined" ? undefined2 : Float16Array,
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
@@ -803,7 +1015,8 @@ var require_get_intrinsic = __commonJS({
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
"%Math%": Math,
"%Number%": Number,
- "%Object%": Object,
+ "%Object%": $Object,
+ "%Object.getOwnPropertyDescriptor%": $gOPD,
"%parseFloat%": parseFloat,
"%parseInt%": parseInt,
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
@@ -829,7 +1042,19 @@ var require_get_intrinsic = __commonJS({
"%URIError%": $URIError,
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
+ "%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet,
+ "%Function.prototype.call%": $call,
+ "%Function.prototype.apply%": $apply,
+ "%Object.defineProperty%": $defineProperty,
+ "%Object.getPrototypeOf%": $ObjectGPO,
+ "%Math.abs%": abs,
+ "%Math.floor%": floor,
+ "%Math.max%": max,
+ "%Math.min%": min,
+ "%Math.pow%": pow,
+ "%Math.round%": round,
+ "%Math.sign%": sign,
+ "%Reflect.getPrototypeOf%": $ReflectGPO
};
if (getProto) {
try {
@@ -918,11 +1143,11 @@ var require_get_intrinsic = __commonJS({
};
var bind = require_function_bind();
var hasOwn = require_hasown();
- var $concat = bind.call(Function.call, Array.prototype.concat);
- var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
- var $replace = bind.call(Function.call, String.prototype.replace);
- var $strSlice = bind.call(Function.call, String.prototype.slice);
- var $exec = bind.call(Function.call, RegExp.prototype.exec);
+ var $concat = bind.call($call, Array.prototype.concat);
+ var $spliceApply = bind.call($apply, Array.prototype.splice);
+ var $replace = bind.call($call, String.prototype.replace);
+ var $strSlice = bind.call($call, String.prototype.slice);
+ var $exec = bind.call($call, RegExp.prototype.exec);
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
var reEscapeChar = /\\(\\)?/g;
var stringToPath = function stringToPath2(string) {
@@ -1002,7 +1227,7 @@ var require_get_intrinsic = __commonJS({
if (!allowMissing) {
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
}
- return void 0;
+ return void undefined2;
}
if ($gOPD && i + 1 >= parts.length) {
var desc = $gOPD(value, part);
@@ -1026,40 +1251,6 @@ var require_get_intrinsic = __commonJS({
}
});
-// ../../node_modules/es-define-property/index.js
-var require_es_define_property = __commonJS({
- "../../node_modules/es-define-property/index.js"(exports, module) {
- "use strict";
- var GetIntrinsic = require_get_intrinsic();
- var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false;
- if ($defineProperty) {
- try {
- $defineProperty({}, "a", { value: 1 });
- } catch (e) {
- $defineProperty = false;
- }
- }
- module.exports = $defineProperty;
- }
-});
-
-// ../../node_modules/gopd/index.js
-var require_gopd = __commonJS({
- "../../node_modules/gopd/index.js"(exports, module) {
- "use strict";
- var GetIntrinsic = require_get_intrinsic();
- var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
- if ($gOPD) {
- try {
- $gOPD([], "length");
- } catch (e) {
- $gOPD = null;
- }
- }
- module.exports = $gOPD;
- }
-});
-
// ../../node_modules/define-data-property/index.js
var require_define_data_property = __commonJS({
"../../node_modules/define-data-property/index.js"(exports, module) {
@@ -1183,33 +1374,36 @@ var require_set_function_length = __commonJS({
}
});
+// ../../node_modules/call-bind-apply-helpers/applyBind.js
+var require_applyBind = __commonJS({
+ "../../node_modules/call-bind-apply-helpers/applyBind.js"(exports, module) {
+ "use strict";
+ var bind = require_function_bind();
+ var $apply = require_functionApply();
+ var actualApply = require_actualApply();
+ module.exports = function applyBind() {
+ return actualApply(bind, $apply, arguments);
+ };
+ }
+});
+
// ../../node_modules/call-bind/index.js
var require_call_bind = __commonJS({
"../../node_modules/call-bind/index.js"(exports, module) {
"use strict";
- var bind = require_function_bind();
- var GetIntrinsic = require_get_intrinsic();
var setFunctionLength = require_set_function_length();
- var $TypeError = require_type();
- var $apply = GetIntrinsic("%Function.prototype.apply%");
- var $call = GetIntrinsic("%Function.prototype.call%");
- var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
var $defineProperty = require_es_define_property();
- var $max = GetIntrinsic("%Math.max%");
+ var callBindBasic = require_call_bind_apply_helpers();
+ var applyBind = require_applyBind();
module.exports = function callBind(originalFunction) {
- if (typeof originalFunction !== "function") {
- throw new $TypeError("a function is required");
- }
- var func = $reflectApply(bind, $call, arguments);
+ var func = callBindBasic(arguments);
+ var adjustedLength = originalFunction.length - (arguments.length - 1);
return setFunctionLength(
func,
- 1 + $max(0, originalFunction.length - (arguments.length - 1)),
+ 1 + (adjustedLength > 0 ? adjustedLength : 0),
true
);
};
- var applyBind = function applyBind2() {
- return $reflectApply(bind, $apply, arguments);
- };
if ($defineProperty) {
$defineProperty(module.exports, "apply", { value: applyBind });
} else {
@@ -1254,9 +1448,9 @@ var require_is_arguments = __commonJS({
}
return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString(value) !== "[object Array]" && $toString(value.callee) === "[object Function]";
};
- var supportsStandardArguments = function() {
+ var supportsStandardArguments = (function() {
return isStandardArguments(arguments);
- }();
+ })();
isStandardArguments.isLegacyArguments = isLegacyArguments;
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
}
@@ -1460,7 +1654,10 @@ var require_for_each = __commonJS({
}
}
};
- var forEach = function forEach2(list, iterator, thisArg) {
+ function isArray(x) {
+ return toStr.call(x) === "[object Array]";
+ }
+ module.exports = function forEach(list, iterator, thisArg) {
if (!isCallable(iterator)) {
throw new TypeError("iterator must be a function");
}
@@ -1468,7 +1665,7 @@ var require_for_each = __commonJS({
if (arguments.length >= 3) {
receiver = thisArg;
}
- if (toStr.call(list) === "[object Array]") {
+ if (isArray(list)) {
forEachArray(list, iterator, receiver);
} else if (typeof list === "string") {
forEachString(list, iterator, receiver);
@@ -1476,27 +1673,35 @@ var require_for_each = __commonJS({
forEachObject(list, iterator, receiver);
}
};
- module.exports = forEach;
}
});
-// ../../node_modules/available-typed-arrays/index.js
-var require_available_typed_arrays = __commonJS({
- "../../node_modules/available-typed-arrays/index.js"(exports, module) {
+// ../../node_modules/possible-typed-array-names/index.js
+var require_possible_typed_array_names = __commonJS({
+ "../../node_modules/possible-typed-array-names/index.js"(exports, module) {
"use strict";
- var possibleNames = [
- "BigInt64Array",
- "BigUint64Array",
+ module.exports = [
+ "Float16Array",
"Float32Array",
"Float64Array",
+ "Int8Array",
"Int16Array",
"Int32Array",
- "Int8Array",
+ "Uint8Array",
+ "Uint8ClampedArray",
"Uint16Array",
"Uint32Array",
- "Uint8Array",
- "Uint8ClampedArray"
+ "BigInt64Array",
+ "BigUint64Array"
];
+ }
+});
+
+// ../../node_modules/available-typed-arrays/index.js
+var require_available_typed_arrays = __commonJS({
+ "../../node_modules/available-typed-arrays/index.js"(exports, module) {
+ "use strict";
+ var possibleNames = require_possible_typed_array_names();
var g = typeof globalThis === "undefined" ? global : globalThis;
module.exports = function availableTypedArrays() {
var out = [];
@@ -1510,6 +1715,29 @@ var require_available_typed_arrays = __commonJS({
}
});
+// ../../node_modules/call-bound/index.js
+var require_call_bound = __commonJS({
+ "../../node_modules/call-bound/index.js"(exports, module) {
+ "use strict";
+ var GetIntrinsic = require_get_intrinsic();
+ var callBindBasic = require_call_bind_apply_helpers();
+ var $indexOf = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]);
+ module.exports = function callBoundIntrinsic(name, allowMissing) {
+ var intrinsic = (
+ /** @type {(this: unknown, ...args: unknown[]) => unknown} */
+ GetIntrinsic(name, !!allowMissing)
+ );
+ if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) {
+ return callBindBasic(
+ /** @type {const} */
+ [intrinsic]
+ );
+ }
+ return intrinsic;
+ };
+ }
+});
+
// ../../node_modules/which-typed-array/index.js
var require_which_typed_array = __commonJS({
"../../node_modules/which-typed-array/index.js"(exports, module) {
@@ -1517,14 +1745,14 @@ var require_which_typed_array = __commonJS({
var forEach = require_for_each();
var availableTypedArrays = require_available_typed_arrays();
var callBind = require_call_bind();
- var callBound = require_callBound();
+ var callBound = require_call_bound();
var gOPD = require_gopd();
+ var getProto = require_get_proto();
var $toString = callBound("Object.prototype.toString");
var hasToStringTag = require_shams2()();
var g = typeof globalThis === "undefined" ? global : globalThis;
var typedArrays = availableTypedArrays();
var $slice = callBound("String.prototype.slice");
- var getPrototypeOf = Object.getPrototypeOf;
var $indexOf = callBound("Array.prototype.indexOf", true) || function indexOf(array, value) {
for (var i = 0; i < array.length; i += 1) {
if (array[i] === value) {
@@ -1534,50 +1762,79 @@ var require_which_typed_array = __commonJS({
return -1;
};
var cache = { __proto__: null };
- if (hasToStringTag && gOPD && getPrototypeOf) {
+ if (hasToStringTag && gOPD && getProto) {
forEach(typedArrays, function(typedArray) {
var arr = new g[typedArray]();
- if (Symbol.toStringTag in arr) {
- var proto = getPrototypeOf(arr);
+ if (Symbol.toStringTag in arr && getProto) {
+ var proto = getProto(arr);
var descriptor = gOPD(proto, Symbol.toStringTag);
- if (!descriptor) {
- var superProto = getPrototypeOf(proto);
+ if (!descriptor && proto) {
+ var superProto = getProto(proto);
descriptor = gOPD(superProto, Symbol.toStringTag);
}
- cache["$" + typedArray] = callBind(descriptor.get);
+ if (descriptor && descriptor.get) {
+ var bound = callBind(descriptor.get);
+ cache[
+ /** @type {`$${import('.').TypedArrayName}`} */
+ "$" + typedArray
+ ] = bound;
+ }
}
});
} else {
forEach(typedArrays, function(typedArray) {
var arr = new g[typedArray]();
- cache["$" + typedArray] = callBind(arr.slice);
+ var fn = arr.slice || arr.set;
+ if (fn) {
+ var bound = (
+ /** @type {import('./types').BoundSlice | import('./types').BoundSet} */
+ // @ts-expect-error TODO FIXME
+ callBind(fn)
+ );
+ cache[
+ /** @type {`$${import('.').TypedArrayName}`} */
+ "$" + typedArray
+ ] = bound;
+ }
});
}
var tryTypedArrays = function tryAllTypedArrays(value) {
var found = false;
- forEach(cache, function(getter, typedArray) {
- if (!found) {
- try {
- if ("$" + getter(value) === typedArray) {
- found = $slice(typedArray, 1);
+ forEach(
+ /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
+ cache,
+ /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
+ function(getter, typedArray) {
+ if (!found) {
+ try {
+ if ("$" + getter(value) === typedArray) {
+ found = /** @type {import('.').TypedArrayName} */
+ $slice(typedArray, 1);
+ }
+ } catch (e) {
}
- } catch (e) {
}
}
- });
+ );
return found;
};
var trySlices = function tryAllSlices(value) {
var found = false;
- forEach(cache, function(getter, name) {
- if (!found) {
- try {
- getter(value);
- found = $slice(name, 1);
- } catch (e) {
+ forEach(
+ /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
+ cache,
+ /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
+ function(getter, name) {
+ if (!found) {
+ try {
+ getter(value);
+ found = /** @type {import('.').TypedArrayName} */
+ $slice(name, 1);
+ } catch (e) {
+ }
}
}
- });
+ );
return found;
};
module.exports = function whichTypedArray(value) {
@@ -1908,10 +2165,8 @@ var require_util = __commonJS({
var args = arguments;
var len = args.length;
var str = String(f).replace(formatRegExp, function(x2) {
- if (x2 === "%%")
- return "%";
- if (i >= len)
- return x2;
+ if (x2 === "%%") return "%";
+ if (i >= len) return x2;
switch (x2) {
case "%s":
return String(args[i++]);
@@ -1990,25 +2245,18 @@ var require_util = __commonJS({
seen: [],
stylize: stylizeNoColor
};
- if (arguments.length >= 3)
- ctx.depth = arguments[2];
- if (arguments.length >= 4)
- ctx.colors = arguments[3];
+ if (arguments.length >= 3) ctx.depth = arguments[2];
+ if (arguments.length >= 4) ctx.colors = arguments[3];
if (isBoolean(opts)) {
ctx.showHidden = opts;
} else if (opts) {
exports._extend(ctx, opts);
}
- if (isUndefined(ctx.showHidden))
- ctx.showHidden = false;
- if (isUndefined(ctx.depth))
- ctx.depth = 2;
- if (isUndefined(ctx.colors))
- ctx.colors = false;
- if (isUndefined(ctx.customInspect))
- ctx.customInspect = true;
- if (ctx.colors)
- ctx.stylize = stylizeWithColor;
+ if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
+ if (isUndefined(ctx.depth)) ctx.depth = 2;
+ if (isUndefined(ctx.colors)) ctx.colors = false;
+ if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
+ if (ctx.colors) ctx.stylize = stylizeWithColor;
return formatValue(ctx, obj, ctx.depth);
}
exports.inspect = inspect;
@@ -2238,8 +2486,7 @@ var require_util = __commonJS({
var numLinesEst = 0;
var length = output.reduce(function(prev, cur) {
numLinesEst++;
- if (cur.indexOf("\n") >= 0)
- numLinesEst++;
+ if (cur.indexOf("\n") >= 0) numLinesEst++;
return prev + cur.replace(/\u001b\[\d\d?m/g, "").length + 1;
}, 0);
if (length > 60) {
@@ -2343,8 +2590,7 @@ var require_util = __commonJS({
};
exports.inherits = require_inherits_browser();
exports._extend = function(origin, add) {
- if (!add || !isObject(add))
- return origin;
+ if (!add || !isObject(add)) return origin;
var keys = Object.keys(add);
var i = keys.length;
while (i--) {
@@ -2355,7 +2601,7 @@ var require_util = __commonJS({
function hasOwnProperty(obj, prop) {
return Object.prototype.hasOwnProperty.call(obj, prop);
}
- var kCustomPromisifiedSymbol = typeof Symbol !== "undefined" ? Symbol("util.promisify.custom") : void 0;
+ var kCustomPromisifiedSymbol = typeof Symbol !== "undefined" ? /* @__PURE__ */ Symbol("util.promisify.custom") : void 0;
exports.promisify = function promisify(original) {
if (typeof original !== "function")
throw new TypeError('The "original" argument must be of type Function');
@@ -2397,13 +2643,12 @@ var require_util = __commonJS({
return promise;
}
Object.setPrototypeOf(fn, Object.getPrototypeOf(original));
- if (kCustomPromisifiedSymbol)
- Object.defineProperty(fn, kCustomPromisifiedSymbol, {
- value: fn,
- enumerable: false,
- writable: false,
- configurable: true
- });
+ if (kCustomPromisifiedSymbol) Object.defineProperty(fn, kCustomPromisifiedSymbol, {
+ value: fn,
+ enumerable: false,
+ writable: false,
+ configurable: true
+ });
return Object.defineProperties(
fn,
getOwnPropertyDescriptors(original)
@@ -2499,8 +2744,7 @@ var require_errors = __commonJS({
throw new TypeError("Super expression must either be null or a function");
}
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
- if (superClass)
- _setPrototypeOf(subClass, superClass);
+ if (superClass) _setPrototypeOf(subClass, superClass);
}
function _setPrototypeOf(o, p) {
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf2(o2, p2) {
@@ -2523,7 +2767,7 @@ var require_errors = __commonJS({
return message(arg1, arg2, arg3);
}
}
- var NodeError = /* @__PURE__ */ function(_Base) {
+ var NodeError = /* @__PURE__ */ (function(_Base) {
_inherits(NodeError2, _Base);
function NodeError2(arg1, arg2, arg3) {
var _this;
@@ -2533,7 +2777,7 @@ var require_errors = __commonJS({
return _this;
}
return NodeError2;
- }(Base);
+ })(Base);
codes[code] = NodeError;
}
function oneOf(expected, thing) {
@@ -2574,8 +2818,7 @@ var require_errors = __commonJS({
}
createErrorType("ERR_AMBIGUOUS_ARGUMENT", 'The "%s" argument is ambiguous. %s', TypeError);
createErrorType("ERR_INVALID_ARG_TYPE", function(name, expected, actual) {
- if (assert === void 0)
- assert = require_assert();
+ if (assert === void 0) assert = require_assert();
assert(typeof name === "string", "'name' must be a string");
var determiner;
if (typeof expected === "string" && startsWith(expected, "not ")) {
@@ -2596,8 +2839,7 @@ var require_errors = __commonJS({
}, TypeError);
createErrorType("ERR_INVALID_ARG_VALUE", function(name, value) {
var reason = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "is invalid";
- if (util === void 0)
- util = require_util();
+ if (util === void 0) util = require_util();
var inspected = util.inspect(value);
if (inspected.length > 128) {
inspected = "".concat(inspected.slice(0, 128), "...");
@@ -2617,8 +2859,7 @@ var require_errors = __commonJS({
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
- if (assert === void 0)
- assert = require_assert();
+ if (assert === void 0) assert = require_assert();
assert(args.length > 0, "At least one arg needs to be specified");
var msg = "The ";
var len = args.length;
@@ -2680,16 +2921,13 @@ var require_assertion_error = __commonJS({
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
- if ("value" in descriptor)
- descriptor.writable = true;
+ if ("value" in descriptor) descriptor.writable = true;
Object.defineProperty(target, descriptor.key, descriptor);
}
}
function _createClass(Constructor, protoProps, staticProps) {
- if (protoProps)
- _defineProperties(Constructor.prototype, protoProps);
- if (staticProps)
- _defineProperties(Constructor, staticProps);
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
+ if (staticProps) _defineProperties(Constructor, staticProps);
return Constructor;
}
function _possibleConstructorReturn(self2, call) {
@@ -2709,20 +2947,17 @@ var require_assertion_error = __commonJS({
throw new TypeError("Super expression must either be null or a function");
}
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
- if (superClass)
- _setPrototypeOf(subClass, superClass);
+ if (superClass) _setPrototypeOf(subClass, superClass);
}
function _wrapNativeSuper(Class) {
var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
_wrapNativeSuper = function _wrapNativeSuper2(Class2) {
- if (Class2 === null || !_isNativeFunction(Class2))
- return Class2;
+ if (Class2 === null || !_isNativeFunction(Class2)) return Class2;
if (typeof Class2 !== "function") {
throw new TypeError("Super expression must either be null or a function");
}
if (typeof _cache !== "undefined") {
- if (_cache.has(Class2))
- return _cache.get(Class2);
+ if (_cache.has(Class2)) return _cache.get(Class2);
_cache.set(Class2, Wrapper);
}
function Wrapper() {
@@ -2734,12 +2969,9 @@ var require_assertion_error = __commonJS({
return _wrapNativeSuper(Class);
}
function isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct)
- return false;
- if (Reflect.construct.sham)
- return false;
- if (typeof Proxy === "function")
- return true;
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
try {
Date.prototype.toString.call(Reflect.construct(Date, [], function() {
}));
@@ -2757,8 +2989,7 @@ var require_assertion_error = __commonJS({
a.push.apply(a, args2);
var Constructor = Function.bind.apply(Parent2, a);
var instance = new Constructor();
- if (Class2)
- _setPrototypeOf(instance, Class2.prototype);
+ if (Class2) _setPrototypeOf(instance, Class2.prototype);
return instance;
};
}
@@ -2804,8 +3035,7 @@ var require_assertion_error = __commonJS({
}
function repeat(str, count) {
count = Math.floor(count);
- if (str.length == 0 || count == 0)
- return "";
+ if (str.length == 0 || count == 0) return "";
var maxCount = str.length * count;
count = Math.floor(Math.log(count) / Math.log(2));
while (count) {
@@ -2908,8 +3138,7 @@ var require_assertion_error = __commonJS({
}
actualLines.pop();
expectedLines.pop();
- if (actualLines.length === 0 || expectedLines.length === 0)
- break;
+ if (actualLines.length === 0 || expectedLines.length === 0) break;
a = actualLines[actualLines.length - 1];
b = expectedLines[expectedLines.length - 1];
}
@@ -3006,7 +3235,7 @@ var require_assertion_error = __commonJS({
}
return "".concat(msg).concat(skipped ? skippedMsg : "", "\n").concat(res).concat(other).concat(end).concat(indicator);
}
- var AssertionError = /* @__PURE__ */ function(_Error) {
+ var AssertionError = /* @__PURE__ */ (function(_Error) {
_inherits(AssertionError2, _Error);
function AssertionError2(options) {
var _this;
@@ -3117,7 +3346,7 @@ var require_assertion_error = __commonJS({
}
}]);
return AssertionError2;
- }(_wrapNativeSuper(Error));
+ })(_wrapNativeSuper(Error));
module.exports = AssertionError;
}
});
@@ -3231,7 +3460,7 @@ var require_implementation2 = __commonJS({
$webkitStorageInfo: true,
$window: true
};
- hasAutomationEqualityBug = function() {
+ hasAutomationEqualityBug = (function() {
if (typeof window === "undefined") {
return false;
}
@@ -3249,7 +3478,7 @@ var require_implementation2 = __commonJS({
}
}
return false;
- }();
+ })();
equalsConstructorPrototypeIfNotBuggy = function(o) {
if (typeof window === "undefined" || !hasAutomationEqualityBug) {
return equalsConstructorPrototype(o);
@@ -3325,10 +3554,10 @@ var require_object_keys = __commonJS({
var originalKeys = Object.keys;
keysShim.shim = function shimObjectKeys() {
if (Object.keys) {
- var keysWorksWithArguments = function() {
+ var keysWorksWithArguments = (function() {
var args = Object.keys(arguments);
return args && args.length === arguments.length;
- }(1, 2);
+ })(1, 2);
if (!keysWorksWithArguments) {
Object.keys = function keys(object) {
if (isArgs(object)) {
@@ -3351,7 +3580,7 @@ var require_define_properties = __commonJS({
"../../node_modules/define-properties/index.js"(exports, module) {
"use strict";
var keys = require_object_keys();
- var hasSymbols = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
+ var hasSymbols = typeof Symbol === "function" && typeof /* @__PURE__ */ Symbol("foo") === "symbol";
var toStr = Object.prototype.toString;
var concat = Array.prototype.concat;
var defineDataProperty = require_define_data_property();
@@ -3539,26 +3768,22 @@ var require_comparisons = __commonJS({
try {
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
_arr.push(_s.value);
- if (i && _arr.length === i)
- break;
+ if (i && _arr.length === i) break;
}
} catch (err) {
_d = true;
_e = err;
} finally {
try {
- if (!_n && _i["return"] != null)
- _i["return"]();
+ if (!_n && _i["return"] != null) _i["return"]();
} finally {
- if (_d)
- throw _e;
+ if (_d) throw _e;
}
}
return _arr;
}
function _arrayWithHoles(arr) {
- if (Array.isArray(arr))
- return arr;
+ if (Array.isArray(arr)) return arr;
}
function _typeof(obj) {
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
@@ -3615,12 +3840,10 @@ var require_comparisons = __commonJS({
var isFloat32Array = _require$types.isFloat32Array;
var isFloat64Array = _require$types.isFloat64Array;
function isNonIndex(key) {
- if (key.length === 0 || key.length > 10)
- return true;
+ if (key.length === 0 || key.length > 10) return true;
for (var i = 0; i < key.length; i++) {
var code = key.charCodeAt(i);
- if (code < 48 || code > 57)
- return true;
+ if (code < 48 || code > 57) return true;
}
return key.length === 10 && key >= Math.pow(2, 32);
}
@@ -3695,8 +3918,7 @@ var require_comparisons = __commonJS({
}
function innerDeepEqual(val1, val2, strict, memos) {
if (val1 === val2) {
- if (val1 !== 0)
- return true;
+ if (val1 !== 0) return true;
return strict ? objectIs(val1, val2) : true;
}
if (strict) {
@@ -3879,6 +4101,9 @@ var require_comparisons = __commonJS({
return false;
case "string":
prim = +prim;
+ // Loose equal entries exist only if the string is possible to convert to
+ // a regular number and not NaN.
+ // Fall through
case "number":
if (numberIsNaN(prim)) {
return false;
@@ -3888,8 +4113,7 @@ var require_comparisons = __commonJS({
}
function setMightHaveLoosePrim(a, b, prim) {
var altValue = findLooseMatchingPrimitives(prim);
- if (altValue != null)
- return altValue;
+ if (altValue != null) return altValue;
return b.has(altValue) && !a.has(altValue);
}
function mapMightHaveLoosePrim(a, b, prim, item, memo) {
@@ -3914,8 +4138,7 @@ var require_comparisons = __commonJS({
}
set.add(val);
} else if (!b.has(val)) {
- if (strict)
- return false;
+ if (strict) return false;
if (!setMightHaveLoosePrim(a, b, val)) {
return false;
}
@@ -3930,8 +4153,7 @@ var require_comparisons = __commonJS({
for (var _i = 0; _i < bValues.length; _i++) {
var _val = bValues[_i];
if (_typeof(_val) === "object" && _val !== null) {
- if (!setHasEqualElement(set, _val, strict, memo))
- return false;
+ if (!setHasEqualElement(set, _val, strict, memo)) return false;
} else if (!strict && !a.has(_val) && !setHasEqualElement(set, _val, strict, memo)) {
return false;
}
@@ -3964,10 +4186,8 @@ var require_comparisons = __commonJS({
} else {
var item2 = b.get(key);
if (item2 === void 0 && !b.has(key) || !innerDeepEqual(item1, item2, strict, memo)) {
- if (strict)
- return false;
- if (!mapMightHaveLoosePrim(a, b, key, item1, memo))
- return false;
+ if (strict) return false;
+ if (!mapMightHaveLoosePrim(a, b, key, item1, memo)) return false;
if (set === null) {
set = /* @__PURE__ */ new Set();
}
@@ -3980,8 +4200,7 @@ var require_comparisons = __commonJS({
for (var _i2 = 0; _i2 < bEntries.length; _i2++) {
var _bEntries$_i = _slicedToArray(bEntries[_i2], 2), key = _bEntries$_i[0], item = _bEntries$_i[1];
if (_typeof(key) === "object" && key !== null) {
- if (!mapHasEqualEntry(set, a, key, item, strict, memo))
- return false;
+ if (!mapHasEqualEntry(set, a, key, item, strict, memo)) return false;
} else if (!strict && (!a.has(key) || !innerDeepEqual(a.get(key), item, false, memo)) && !mapHasEqualEntry(set, a, key, item, false, memo)) {
return false;
}
@@ -4091,8 +4310,7 @@ var require_assert = __commonJS({
var assert = module.exports = ok;
var NO_EXCEPTION_SENTINEL = {};
function innerFail(obj) {
- if (obj.message instanceof Error)
- throw obj.message;
+ if (obj.message instanceof Error) throw obj.message;
throw new AssertionError(obj);
}
function fail(actual, expected, message, operator, stackStartFn) {
@@ -4109,11 +4327,9 @@ var require_assert = __commonJS({
var warn = process.emitWarning ? process.emitWarning : console.warn.bind(console);
warn("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.", "DeprecationWarning", "DEP0094");
}
- if (argsLen === 2)
- operator = "!=";
+ if (argsLen === 2) operator = "!=";
}
- if (message instanceof Error)
- throw message;
+ if (message instanceof Error) throw message;
var errArgs = {
actual,
expected,
@@ -4191,8 +4407,7 @@ var require_assert = __commonJS({
if (arguments.length < 2) {
throw new ERR_MISSING_ARGS("actual", "expected");
}
- if (isDeepEqual === void 0)
- lazyLoadComparison();
+ if (isDeepEqual === void 0) lazyLoadComparison();
if (!isDeepEqual(actual, expected)) {
innerFail({
actual,
@@ -4207,8 +4422,7 @@ var require_assert = __commonJS({
if (arguments.length < 2) {
throw new ERR_MISSING_ARGS("actual", "expected");
}
- if (isDeepEqual === void 0)
- lazyLoadComparison();
+ if (isDeepEqual === void 0) lazyLoadComparison();
if (isDeepEqual(actual, expected)) {
innerFail({
actual,
@@ -4223,8 +4437,7 @@ var require_assert = __commonJS({
if (arguments.length < 2) {
throw new ERR_MISSING_ARGS("actual", "expected");
}
- if (isDeepEqual === void 0)
- lazyLoadComparison();
+ if (isDeepEqual === void 0) lazyLoadComparison();
if (!isDeepStrictEqual(actual, expected)) {
innerFail({
actual,
@@ -4240,8 +4453,7 @@ var require_assert = __commonJS({
if (arguments.length < 2) {
throw new ERR_MISSING_ARGS("actual", "expected");
}
- if (isDeepEqual === void 0)
- lazyLoadComparison();
+ if (isDeepEqual === void 0) lazyLoadComparison();
if (isDeepStrictEqual(actual, expected)) {
innerFail({
actual,
@@ -4320,8 +4532,7 @@ var require_assert = __commonJS({
}
function expectedException(actual, expected, msg, fn) {
if (typeof expected !== "function") {
- if (isRegExp(expected))
- return expected.test(actual);
+ if (isRegExp(expected)) return expected.test(actual);
if (arguments.length === 2) {
throw new ERR_INVALID_ARG_TYPE("expected", ["Function", "RegExp"], expected);
}
@@ -4342,8 +4553,7 @@ var require_assert = __commonJS({
} else if (keys.length === 0) {
throw new ERR_INVALID_ARG_VALUE("error", expected, "may not be an empty object");
}
- if (isDeepEqual === void 0)
- lazyLoadComparison();
+ if (isDeepEqual === void 0) lazyLoadComparison();
keys.forEach(function(key) {
if (typeof actual[key] === "string" && isRegExp(expected[key]) && expected[key].test(actual[key])) {
return;
@@ -4433,8 +4643,7 @@ var require_assert = __commonJS({
}
}
function expectsNoError(stackStartFn, actual, error, message) {
- if (actual === NO_EXCEPTION_SENTINEL)
- return;
+ if (actual === NO_EXCEPTION_SENTINEL) return;
if (typeof error === "string") {
message = error;
error = void 0;
@@ -7596,7 +7805,7 @@ var require_acorn = __commonJS({
"../../node_modules/acorn/dist/acorn.js"(exports, module) {
(function(global2, factory) {
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.acorn = {}));
- })(exports, function(exports2) {
+ })(exports, (function(exports2) {
"use strict";
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938, 6, 4191];
@@ -7681,8 +7890,7 @@ var require_acorn = __commonJS({
return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes);
}
var TokenType = function TokenType2(label, conf) {
- if (conf === void 0)
- conf = {};
+ if (conf === void 0) conf = {};
this.label = label;
this.keyword = conf.keyword;
this.beforeExpr = !!conf.beforeExpr;
@@ -7700,8 +7908,7 @@ var require_acorn = __commonJS({
var beforeExpr = { beforeExpr: true }, startsExpr = { startsExpr: true };
var keywords = {};
function kw(name, options) {
- if (options === void 0)
- options = {};
+ if (options === void 0) options = {};
options.keyword = name;
return keywords[name] = new TokenType(name, options);
}
@@ -7805,8 +8012,7 @@ var require_acorn = __commonJS({
return code === 10 || code === 13 || code === 8232 || code === 8233;
}
function nextLineBreak(code, from, end) {
- if (end === void 0)
- end = code.length;
+ if (end === void 0) end = code.length;
for (var i2 = from; i2 < end; i2++) {
var next = code.charCodeAt(i2);
if (isNewLine(next)) {
@@ -7820,12 +8026,12 @@ var require_acorn = __commonJS({
var ref = Object.prototype;
var hasOwnProperty = ref.hasOwnProperty;
var toString = ref.toString;
- var hasOwn = Object.hasOwn || function(obj, propName) {
+ var hasOwn = Object.hasOwn || (function(obj, propName) {
return hasOwnProperty.call(obj, propName);
- };
- var isArray = Array.isArray || function(obj) {
+ });
+ var isArray = Array.isArray || (function(obj) {
return toString.call(obj) === "[object Array]";
- };
+ });
function wordsRegexp(words) {
return new RegExp("^(?:" + words.replace(/ /g, "|") + ")$");
}
@@ -8110,8 +8316,7 @@ var require_acorn = __commonJS({
};
Parser.extend = function extend() {
var plugins = [], len = arguments.length;
- while (len--)
- plugins[len] = arguments[len];
+ while (len--) plugins[len] = arguments[len];
var cls = this;
for (var i2 = 0; i2 < plugins.length; i2++) {
cls = plugins[i2](cls);
@@ -8390,6 +8595,11 @@ var require_acorn = __commonJS({
}
}
return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports3);
+ // If the statement does not start with a statement keyword or a
+ // brace, it's an ExpressionStatement or LabeledStatement. We
+ // simply start parsing an expression, and afterwards, if the
+ // next token is a colon and the expression was a simple
+ // Identifier node, we switch to interpreting it as a label.
default:
if (this.isAsyncFunction()) {
if (context) {
@@ -8681,10 +8891,8 @@ var require_acorn = __commonJS({
return this.finishNode(node, "ExpressionStatement");
};
pp$8.parseBlock = function(createNewLexicalScope, node, exitStrict) {
- if (createNewLexicalScope === void 0)
- createNewLexicalScope = true;
- if (node === void 0)
- node = this.startNode();
+ if (createNewLexicalScope === void 0) createNewLexicalScope = true;
+ if (node === void 0) node = this.startNode();
node.body = [];
this.expect(types$1.braceL);
if (createNewLexicalScope) {
@@ -9429,8 +9637,7 @@ var require_acorn = __commonJS({
return this.finishNode(node, "AssignmentPattern");
};
pp$7.checkLValSimple = function(expr, bindingType, checkClashes) {
- if (bindingType === void 0)
- bindingType = BIND_NONE;
+ if (bindingType === void 0) bindingType = BIND_NONE;
var isBind = bindingType !== BIND_NONE;
switch (expr.type) {
case "Identifier":
@@ -9470,8 +9677,7 @@ var require_acorn = __commonJS({
}
};
pp$7.checkLValPattern = function(expr, bindingType, checkClashes) {
- if (bindingType === void 0)
- bindingType = BIND_NONE;
+ if (bindingType === void 0) bindingType = BIND_NONE;
switch (expr.type) {
case "ObjectPattern":
for (var i2 = 0, list2 = expr.properties; i2 < list2.length; i2 += 1) {
@@ -9492,8 +9698,7 @@ var require_acorn = __commonJS({
}
};
pp$7.checkLValInnerPattern = function(expr, bindingType, checkClashes) {
- if (bindingType === void 0)
- bindingType = BIND_NONE;
+ if (bindingType === void 0) bindingType = BIND_NONE;
switch (expr.type) {
case "Property":
this.checkLValInnerPattern(expr.value, bindingType, checkClashes);
@@ -10285,11 +10490,9 @@ var require_acorn = __commonJS({
return this.finishNode(elem, "TemplateElement");
};
pp$5.parseTemplate = function(ref2) {
- if (ref2 === void 0)
- ref2 = {};
+ if (ref2 === void 0) ref2 = {};
var isTagged = ref2.isTagged;
- if (isTagged === void 0)
- isTagged = false;
+ if (isTagged === void 0) isTagged = false;
var node = this.startNode();
this.next();
node.expressions = [];
@@ -10902,8 +11105,7 @@ var require_acorn = __commonJS({
this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + message);
};
RegExpValidationState.prototype.at = function at(i2, forceU) {
- if (forceU === void 0)
- forceU = false;
+ if (forceU === void 0) forceU = false;
var s = this.source;
var l = s.length;
if (i2 >= l) {
@@ -10917,8 +11119,7 @@ var require_acorn = __commonJS({
return next >= 56320 && next <= 57343 ? (c << 10) + next - 56613888 : c;
};
RegExpValidationState.prototype.nextIndex = function nextIndex(i2, forceU) {
- if (forceU === void 0)
- forceU = false;
+ if (forceU === void 0) forceU = false;
var s = this.source;
var l = s.length;
if (i2 >= l) {
@@ -10931,23 +11132,19 @@ var require_acorn = __commonJS({
return i2 + 2;
};
RegExpValidationState.prototype.current = function current(forceU) {
- if (forceU === void 0)
- forceU = false;
+ if (forceU === void 0) forceU = false;
return this.at(this.pos, forceU);
};
RegExpValidationState.prototype.lookahead = function lookahead(forceU) {
- if (forceU === void 0)
- forceU = false;
+ if (forceU === void 0) forceU = false;
return this.at(this.nextIndex(this.pos, forceU), forceU);
};
RegExpValidationState.prototype.advance = function advance(forceU) {
- if (forceU === void 0)
- forceU = false;
+ if (forceU === void 0) forceU = false;
this.pos = this.nextIndex(this.pos, forceU);
};
RegExpValidationState.prototype.eat = function eat(ch, forceU) {
- if (forceU === void 0)
- forceU = false;
+ if (forceU === void 0) forceU = false;
if (this.current(forceU) === ch) {
this.advance(forceU);
return true;
@@ -10955,8 +11152,7 @@ var require_acorn = __commonJS({
return false;
};
RegExpValidationState.prototype.eatChars = function eatChars(chs, forceU) {
- if (forceU === void 0)
- forceU = false;
+ if (forceU === void 0) forceU = false;
var pos = this.pos;
for (var i2 = 0, list2 = chs; i2 < list2.length; i2 += 1) {
var ch = list2[i2];
@@ -11137,8 +11333,7 @@ var require_acorn = __commonJS({
return false;
};
pp$1.regexp_eatQuantifier = function(state, noError) {
- if (noError === void 0)
- noError = false;
+ if (noError === void 0) noError = false;
if (this.regexp_eatQuantifierPrefix(state, noError)) {
state.eat(
63
@@ -11485,8 +11680,7 @@ var require_acorn = __commonJS({
return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122;
}
pp$1.regexp_eatRegExpUnicodeEscapeSequence = function(state, forceU) {
- if (forceU === void 0)
- forceU = false;
+ if (forceU === void 0) forceU = false;
var start = state.pos;
var switchU = forceU || state.switchU;
if (state.eat(
@@ -11771,8 +11965,7 @@ var require_acorn = __commonJS({
};
pp$1.regexp_classSetExpression = function(state) {
var result = CharSetOk, subResult;
- if (this.regexp_eatClassSetRange(state))
- ;
+ if (this.regexp_eatClassSetRange(state)) ;
else if (subResult = this.regexp_eatClassSetOperand(state)) {
if (subResult === CharSetString) {
result = CharSetString;
@@ -12193,47 +12386,46 @@ var require_acorn = __commonJS({
}
};
pp.skipSpace = function() {
- loop:
- while (this.pos < this.input.length) {
- var ch = this.input.charCodeAt(this.pos);
- switch (ch) {
- case 32:
- case 160:
- ++this.pos;
- break;
- case 13:
- if (this.input.charCodeAt(this.pos + 1) === 10) {
- ++this.pos;
- }
- case 10:
- case 8232:
- case 8233:
+ loop: while (this.pos < this.input.length) {
+ var ch = this.input.charCodeAt(this.pos);
+ switch (ch) {
+ case 32:
+ case 160:
+ ++this.pos;
+ break;
+ case 13:
+ if (this.input.charCodeAt(this.pos + 1) === 10) {
++this.pos;
- if (this.options.locations) {
- ++this.curLine;
- this.lineStart = this.pos;
- }
- break;
- case 47:
- switch (this.input.charCodeAt(this.pos + 1)) {
- case 42:
- this.skipBlockComment();
- break;
- case 47:
- this.skipLineComment(2);
- break;
- default:
- break loop;
- }
- break;
- default:
- if (ch > 8 && ch < 14 || ch >= 5760 && nonASCIIwhitespace.test(String.fromCharCode(ch))) {
- ++this.pos;
- } else {
+ }
+ case 10:
+ case 8232:
+ case 8233:
+ ++this.pos;
+ if (this.options.locations) {
+ ++this.curLine;
+ this.lineStart = this.pos;
+ }
+ break;
+ case 47:
+ switch (this.input.charCodeAt(this.pos + 1)) {
+ case 42:
+ this.skipBlockComment();
+ break;
+ case 47:
+ this.skipLineComment(2);
+ break;
+ default:
break loop;
- }
- }
+ }
+ break;
+ default:
+ if (ch > 8 && ch < 14 || ch >= 5760 && nonASCIIwhitespace.test(String.fromCharCode(ch))) {
+ ++this.pos;
+ } else {
+ break loop;
+ }
}
+ }
};
pp.finishToken = function(type, val) {
this.end = this.pos;
@@ -12389,8 +12581,11 @@ var require_acorn = __commonJS({
};
pp.getTokenFromCode = function(code) {
switch (code) {
+ // The interpretation of a dot depends on whether it is followed
+ // by a digit or another two dots.
case 46:
return this.readToken_dot();
+ // Punctuation tokens.
case 40:
++this.pos;
return this.finishToken(types$1.parenL);
@@ -12437,6 +12632,8 @@ var require_acorn = __commonJS({
return this.readRadixNumber(2);
}
}
+ // Anything else beginning with a digit is an integer, octal
+ // number, or float.
case 49:
case 50:
case 51:
@@ -12447,9 +12644,14 @@ var require_acorn = __commonJS({
case 56:
case 57:
return this.readNumber(false);
+ // Quotes produce strings.
case 34:
case 39:
return this.readString(code);
+ // Operators are parsed inline in tiny state machines. '=' (61) is
+ // often referred to. `finishOp` simply skips the amount of
+ // characters it is given as second argument, and returns a token
+ // of the type given by its first argument.
case 47:
return this.readToken_slash();
case 37:
@@ -12765,6 +12967,7 @@ var require_acorn = __commonJS({
if (this.input[this.pos + 1] !== "{") {
break;
}
+ // falls through
case "`":
return this.finishToken(types$1.invalidTemplate, this.input.slice(this.start, this.pos));
}
@@ -12777,24 +12980,33 @@ var require_acorn = __commonJS({
switch (ch) {
case 110:
return "\n";
+ // 'n' -> '\n'
case 114:
return "\r";
+ // 'r' -> '\r'
case 120:
return String.fromCharCode(this.readHexChar(2));
+ // 'x'
case 117:
return codePointToString(this.readCodePoint());
+ // 'u'
case 116:
return " ";
+ // 't' -> '\t'
case 98:
return "\b";
+ // 'b' -> '\b'
case 118:
return "\v";
+ // 'v' -> '\u000b'
case 102:
return "\f";
+ // 'f' -> '\f'
case 13:
if (this.input.charCodeAt(this.pos) === 10) {
++this.pos;
}
+ // '\r\n'
case 10:
if (this.options.locations) {
this.lineStart = this.pos;
@@ -12938,7 +13150,7 @@ var require_acorn = __commonJS({
exports2.tokTypes = types$1;
exports2.tokenizer = tokenizer;
exports2.version = version;
- });
+ }));
}
});
@@ -13303,6 +13515,7 @@ var require_acorn_jsx = __commonJS({
let ch = this.input.charCodeAt(this.pos);
switch (ch) {
case 60:
+ // '<'
case 123:
if (this.pos === this.start) {
if (ch === 60 && this.exprAllowed) {
@@ -13319,6 +13532,7 @@ var require_acorn_jsx = __commonJS({
chunkStart = this.pos;
break;
case 62:
+ // '>'
case 125:
this.raise(
this.pos,
@@ -13357,8 +13571,7 @@ var require_acorn_jsx = __commonJS({
if (this.pos >= this.input.length)
this.raise(this.start, "Unterminated string constant");
let ch = this.input.charCodeAt(this.pos);
- if (ch === quote)
- break;
+ if (ch === quote) break;
if (ch === 38) {
out += this.input.slice(chunkStart, this.pos);
out += this.jsx_readEntity();
@@ -13435,8 +13648,7 @@ var require_acorn_jsx = __commonJS({
jsx_parseNamespacedName() {
let startPos = this.start, startLoc = this.startLoc;
let name = this.jsx_parseIdentifier();
- if (!options.allowNamespaces || !this.eat(tt.colon))
- return name;
+ if (!options.allowNamespaces || !this.eat(tt.colon)) return name;
var node = this.startNodeAt(startPos, startLoc);
node.namespace = name;
node.name = this.jsx_parseIdentifier();
@@ -13445,8 +13657,7 @@ var require_acorn_jsx = __commonJS({
// Parses element name in any form - namespaced, member
// or single identifier.
jsx_parseElementName() {
- if (this.type === tok.jsxTagEnd)
- return "";
+ if (this.type === tok.jsxTagEnd) return "";
let startPos = this.start, startLoc = this.startLoc;
let node = this.jsx_parseNamespacedName();
if (this.type === tt.dot && node.type === "JSXNamespacedName" && !options.allowNamespacedObjects) {
@@ -13508,8 +13719,7 @@ var require_acorn_jsx = __commonJS({
let node = this.startNodeAt(startPos, startLoc);
node.attributes = [];
let nodeName = this.jsx_parseElementName();
- if (nodeName)
- node.name = nodeName;
+ if (nodeName) node.name = nodeName;
while (this.type !== tt.slash && this.type !== tok.jsxTagEnd)
node.attributes.push(this.jsx_parseAttribute());
node.selfClosing = this.eat(tt.slash);
@@ -13520,8 +13730,7 @@ var require_acorn_jsx = __commonJS({
jsx_parseClosingElementAt(startPos, startLoc) {
let node = this.startNodeAt(startPos, startLoc);
let nodeName = this.jsx_parseElementName();
- if (nodeName)
- node.name = nodeName;
+ if (nodeName) node.name = nodeName;
this.expect(tok.jsxTagEnd);
return this.finishNode(node, nodeName ? "JSXClosingElement" : "JSXClosingFragment");
}
@@ -13533,29 +13742,28 @@ var require_acorn_jsx = __commonJS({
let openingElement = this.jsx_parseOpeningElementAt(startPos, startLoc);
let closingElement = null;
if (!openingElement.selfClosing) {
- contents:
- for (; ; ) {
- switch (this.type) {
- case tok.jsxTagStart:
- startPos = this.start;
- startLoc = this.startLoc;
- this.next();
- if (this.eat(tt.slash)) {
- closingElement = this.jsx_parseClosingElementAt(startPos, startLoc);
- break contents;
- }
- children.push(this.jsx_parseElementAt(startPos, startLoc));
- break;
- case tok.jsxText:
- children.push(this.parseExprAtom());
- break;
- case tt.braceL:
- children.push(this.jsx_parseExpressionContainer());
- break;
- default:
- this.unexpected();
- }
+ contents: for (; ; ) {
+ switch (this.type) {
+ case tok.jsxTagStart:
+ startPos = this.start;
+ startLoc = this.startLoc;
+ this.next();
+ if (this.eat(tt.slash)) {
+ closingElement = this.jsx_parseClosingElementAt(startPos, startLoc);
+ break contents;
+ }
+ children.push(this.jsx_parseElementAt(startPos, startLoc));
+ break;
+ case tok.jsxText:
+ children.push(this.parseExprAtom());
+ break;
+ case tt.braceL:
+ children.push(this.jsx_parseExpressionContainer());
+ break;
+ default:
+ this.unexpected();
}
+ }
if (getQualifiedJSXName(closingElement.name) !== getQualifiedJSXName(openingElement.name)) {
this.raise(
closingElement.start,
@@ -13594,11 +13802,9 @@ var require_acorn_jsx = __commonJS({
}
readToken(code) {
let context = this.curContext();
- if (context === tc_expr)
- return this.jsx_readToken();
+ if (context === tc_expr) return this.jsx_readToken();
if (context === tc_oTag || context === tc_cTag) {
- if (isIdentifierStart(code))
- return this.jsx_readWord();
+ if (isIdentifierStart(code)) return this.jsx_readWord();
if (code == 62) {
++this.pos;
return this.finishToken(tok.jsxTagEnd);
@@ -13615,12 +13821,9 @@ var require_acorn_jsx = __commonJS({
updateContext(prevType) {
if (this.type == tt.braceL) {
var curContext = this.curContext();
- if (curContext == tc_oTag)
- this.context.push(tokContexts.b_expr);
- else if (curContext == tc_expr)
- this.context.push(tokContexts.b_tmpl);
- else
- super.updateContext(prevType);
+ if (curContext == tc_oTag) this.context.push(tokContexts.b_expr);
+ else if (curContext == tc_expr) this.context.push(tokContexts.b_tmpl);
+ else super.updateContext(prevType);
this.exprAllowed = true;
} else if (this.type === tt.slash && prevType === tok.jsxTagStart) {
this.context.length -= 2;
@@ -13647,8 +13850,7 @@ var require_espree = __commonJS({
return e && typeof e === "object" && "default" in e ? e : { "default": e };
}
function _interopNamespace(e) {
- if (e && e.__esModule)
- return e;
+ if (e && e.__esModule) return e;
var n = /* @__PURE__ */ Object.create(null);
if (e) {
Object.keys(e).forEach(function(k) {
@@ -13902,8 +14104,8 @@ var require_espree = __commonJS({
allowReturnOutsideFunction
});
}
- var STATE = Symbol("espree's internal state");
- var ESPRIMA_FINISH_NODE = Symbol("espree's esprimaFinishNode");
+ var STATE = /* @__PURE__ */ Symbol("espree's internal state");
+ var ESPRIMA_FINISH_NODE = /* @__PURE__ */ Symbol("espree's esprimaFinishNode");
function convertAcornCommentToEsprimaComment(block, text, start, end, startLoc, endLoc, code) {
let type;
if (block) {
@@ -14170,10 +14372,10 @@ var require_espree = __commonJS({
}
var version = version$1;
var name = "espree";
- var VisitorKeys = function() {
+ var VisitorKeys = (function() {
return visitorKeys__namespace.KEYS;
- }();
- var Syntax = function() {
+ })();
+ var Syntax = (function() {
let key, types = {};
if (typeof Object.create === "function") {
types = /* @__PURE__ */ Object.create(null);
@@ -14187,7 +14389,7 @@ var require_espree = __commonJS({
Object.freeze(types);
}
return types;
- }();
+ })();
var latestEcmaVersion = getLatestEcmaVersion();
var supportedEcmaVersions = getSupportedEcmaVersions();
exports.Syntax = Syntax;
@@ -14251,7 +14453,7 @@ var require_lodash = __commonJS({
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
var moduleExports = freeModule && freeModule.exports === freeExports;
var freeProcess = moduleExports && freeGlobal.process;
- var nodeUtil = function() {
+ var nodeUtil = (function() {
try {
var types = freeModule && freeModule.require && freeModule.require("util").types;
if (types) {
@@ -14260,7 +14462,7 @@ var require_lodash = __commonJS({
return freeProcess && freeProcess.binding && freeProcess.binding("util");
} catch (e) {
}
- }();
+ })();
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
function apply(func, thisArg, args) {
switch (args.length) {
@@ -14301,10 +14503,10 @@ var require_lodash = __commonJS({
var coreJsData = root["__core-js_shared__"];
var funcToString = funcProto.toString;
var hasOwnProperty = objectProto.hasOwnProperty;
- var maskSrcKey = function() {
+ var maskSrcKey = (function() {
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
return uid ? "Symbol(src)_1." + uid : "";
- }();
+ })();
var nativeObjectToString = objectProto.toString;
var objectCtorString = funcToString.call(Object);
var reIsNative = RegExp(
@@ -14319,20 +14521,20 @@ var require_lodash = __commonJS({
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
var splice = arrayProto.splice;
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
- var defineProperty = function() {
+ var defineProperty = (function() {
try {
var func = getNative(Object, "defineProperty");
func({}, "", {});
return func;
} catch (e) {
}
- }();
+ })();
var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
var nativeMax = Math.max;
var nativeNow = Date.now;
var Map2 = getNative(root, "Map");
var nativeCreate = getNative(Object, "create");
- var baseCreate = /* @__PURE__ */ function() {
+ var baseCreate = /* @__PURE__ */ (function() {
function object() {
}
return function(proto) {
@@ -14347,7 +14549,7 @@ var require_lodash = __commonJS({
object.prototype = void 0;
return result;
};
- }();
+ })();
function Hash(entries) {
var index = -1, length = entries == null ? 0 : entries.length;
this.clear();
@@ -14857,9 +15059,9 @@ var require_lodash = __commonJS({
function eq(value, other) {
return value === other || value !== value && other !== other;
}
- var isArguments = baseIsArguments(/* @__PURE__ */ function() {
+ var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
return arguments;
- }()) ? baseIsArguments : function(value) {
+ })()) ? baseIsArguments : function(value) {
return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
};
var isArray = Array.isArray;
@@ -15136,7 +15338,7 @@ var require_uri_all = __commonJS({
"../../node_modules/uri-js/dist/es5/uri.all.js"(exports, module) {
(function(global2, factory) {
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : factory(global2.URI = global2.URI || {});
- })(exports, function(exports2) {
+ })(exports, (function(exports2) {
"use strict";
function merge() {
for (var _len = arguments.length, sets = Array(_len), _key = 0; _key < _len; _key++) {
@@ -15196,7 +15398,7 @@ var require_uri_all = __commonJS({
}
var URI_PROTOCOL = buildExps(false);
var IRI_PROTOCOL = buildExps(true);
- var slicedToArray = /* @__PURE__ */ function() {
+ var slicedToArray = /* @__PURE__ */ (function() {
function sliceIterator(arr, i) {
var _arr = [];
var _n = true;
@@ -15205,19 +15407,16 @@ var require_uri_all = __commonJS({
try {
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
_arr.push(_s.value);
- if (i && _arr.length === i)
- break;
+ if (i && _arr.length === i) break;
}
} catch (err) {
_d = true;
_e = err;
} finally {
try {
- if (!_n && _i["return"])
- _i["return"]();
+ if (!_n && _i["return"]) _i["return"]();
} finally {
- if (_d)
- throw _e;
+ if (_d) throw _e;
}
}
return _arr;
@@ -15231,11 +15430,10 @@ var require_uri_all = __commonJS({
throw new TypeError("Invalid attempt to destructure non-iterable instance");
}
};
- }();
+ })();
var toConsumableArray = function(arr) {
if (Array.isArray(arr)) {
- for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++)
- arr2[i] = arr[i];
+ for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
return arr2;
} else {
return Array.from(arr);
@@ -15545,14 +15743,10 @@ var require_uri_all = __commonJS({
function pctEncChar(chr) {
var c = chr.charCodeAt(0);
var e = void 0;
- if (c < 16)
- e = "%0" + c.toString(16).toUpperCase();
- else if (c < 128)
- e = "%" + c.toString(16).toUpperCase();
- else if (c < 2048)
- e = "%" + (c >> 6 | 192).toString(16).toUpperCase() + "%" + (c & 63 | 128).toString(16).toUpperCase();
- else
- e = "%" + (c >> 12 | 224).toString(16).toUpperCase() + "%" + (c >> 6 & 63 | 128).toString(16).toUpperCase() + "%" + (c & 63 | 128).toString(16).toUpperCase();
+ if (c < 16) e = "%0" + c.toString(16).toUpperCase();
+ else if (c < 128) e = "%" + c.toString(16).toUpperCase();
+ else if (c < 2048) e = "%" + (c >> 6 | 192).toString(16).toUpperCase() + "%" + (c & 63 | 128).toString(16).toUpperCase();
+ else e = "%" + (c >> 12 | 224).toString(16).toUpperCase() + "%" + (c >> 6 & 63 | 128).toString(16).toUpperCase() + "%" + (c & 63 | 128).toString(16).toUpperCase();
return e;
}
function pctDecChars(str) {
@@ -15593,18 +15787,12 @@ var require_uri_all = __commonJS({
var decStr = pctDecChars(str);
return !decStr.match(protocol.UNRESERVED) ? str : decStr;
}
- if (components.scheme)
- components.scheme = String(components.scheme).replace(protocol.PCT_ENCODED, decodeUnreserved2).toLowerCase().replace(protocol.NOT_SCHEME, "");
- if (components.userinfo !== void 0)
- components.userinfo = String(components.userinfo).replace(protocol.PCT_ENCODED, decodeUnreserved2).replace(protocol.NOT_USERINFO, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
- if (components.host !== void 0)
- components.host = String(components.host).replace(protocol.PCT_ENCODED, decodeUnreserved2).toLowerCase().replace(protocol.NOT_HOST, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
- if (components.path !== void 0)
- components.path = String(components.path).replace(protocol.PCT_ENCODED, decodeUnreserved2).replace(components.scheme ? protocol.NOT_PATH : protocol.NOT_PATH_NOSCHEME, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
- if (components.query !== void 0)
- components.query = String(components.query).replace(protocol.PCT_ENCODED, decodeUnreserved2).replace(protocol.NOT_QUERY, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
- if (components.fragment !== void 0)
- components.fragment = String(components.fragment).replace(protocol.PCT_ENCODED, decodeUnreserved2).replace(protocol.NOT_FRAGMENT, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
+ if (components.scheme) components.scheme = String(components.scheme).replace(protocol.PCT_ENCODED, decodeUnreserved2).toLowerCase().replace(protocol.NOT_SCHEME, "");
+ if (components.userinfo !== void 0) components.userinfo = String(components.userinfo).replace(protocol.PCT_ENCODED, decodeUnreserved2).replace(protocol.NOT_USERINFO, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
+ if (components.host !== void 0) components.host = String(components.host).replace(protocol.PCT_ENCODED, decodeUnreserved2).toLowerCase().replace(protocol.NOT_HOST, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
+ if (components.path !== void 0) components.path = String(components.path).replace(protocol.PCT_ENCODED, decodeUnreserved2).replace(components.scheme ? protocol.NOT_PATH : protocol.NOT_PATH_NOSCHEME, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
+ if (components.query !== void 0) components.query = String(components.query).replace(protocol.PCT_ENCODED, decodeUnreserved2).replace(protocol.NOT_QUERY, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
+ if (components.fragment !== void 0) components.fragment = String(components.fragment).replace(protocol.PCT_ENCODED, decodeUnreserved2).replace(protocol.NOT_FRAGMENT, pctEncChar).replace(protocol.PCT_ENCODED, toUpperCase);
return components;
}
function _stripLeadingZeros(str) {
@@ -15672,8 +15860,7 @@ var require_uri_all = __commonJS({
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
var components = {};
var protocol = options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL;
- if (options.reference === "suffix")
- uriString = (options.scheme ? options.scheme + ":" : "") + "//" + uriString;
+ if (options.reference === "suffix") uriString = (options.scheme ? options.scheme + ":" : "") + "//" + uriString;
var matches = uriString.match(URI_PARSE);
if (matches) {
if (NO_MATCH_IS_UNDEFINED) {
@@ -15787,8 +15974,7 @@ var require_uri_all = __commonJS({
var protocol = options.iri ? IRI_PROTOCOL : URI_PROTOCOL;
var uriTokens = [];
var schemeHandler = SCHEMES[(options.scheme || components.scheme || "").toLowerCase()];
- if (schemeHandler && schemeHandler.serialize)
- schemeHandler.serialize(components, options);
+ if (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(components, options);
if (components.host) {
if (protocol.IPV6ADDRESS.test(components.host)) {
} else if (options.domainHost || schemeHandler && schemeHandler.domainHost) {
@@ -16033,8 +16219,7 @@ var require_uri_all = __commonJS({
break;
}
}
- if (unknownHeaders)
- mailtoComponents.headers = headers;
+ if (unknownHeaders) mailtoComponents.headers = headers;
}
mailtoComponents.query = void 0;
for (var _x2 = 0, _xl2 = to.length; _x2 < _xl2; ++_x2) {
@@ -16072,10 +16257,8 @@ var require_uri_all = __commonJS({
components.path = to.join(",");
}
var headers = mailtoComponents.headers = mailtoComponents.headers || {};
- if (mailtoComponents.subject)
- headers["subject"] = mailtoComponents.subject;
- if (mailtoComponents.body)
- headers["body"] = mailtoComponents.body;
+ if (mailtoComponents.subject) headers["subject"] = mailtoComponents.subject;
+ if (mailtoComponents.body) headers["body"] = mailtoComponents.body;
var fields = [];
for (var name in headers) {
if (headers[name] !== O[name]) {
@@ -16163,7 +16346,7 @@ var require_uri_all = __commonJS({
exports2.escapeComponent = escapeComponent;
exports2.unescapeComponent = unescapeComponent;
Object.defineProperty(exports2, "__esModule", { value: true });
- });
+ }));
}
});
@@ -16172,38 +16355,28 @@ var require_fast_deep_equal = __commonJS({
"../../node_modules/fast-deep-equal/index.js"(exports, module) {
"use strict";
module.exports = function equal(a, b) {
- if (a === b)
- return true;
+ if (a === b) return true;
if (a && b && typeof a == "object" && typeof b == "object") {
- if (a.constructor !== b.constructor)
- return false;
+ if (a.constructor !== b.constructor) return false;
var length, i, keys;
if (Array.isArray(a)) {
length = a.length;
- if (length != b.length)
- return false;
+ if (length != b.length) return false;
for (i = length; i-- !== 0; )
- if (!equal(a[i], b[i]))
- return false;
+ if (!equal(a[i], b[i])) return false;
return true;
}
- if (a.constructor === RegExp)
- return a.source === b.source && a.flags === b.flags;
- if (a.valueOf !== Object.prototype.valueOf)
- return a.valueOf() === b.valueOf();
- if (a.toString !== Object.prototype.toString)
- return a.toString() === b.toString();
+ if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
+ if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
+ if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
keys = Object.keys(a);
length = keys.length;
- if (length !== Object.keys(b).length)
- return false;
+ if (length !== Object.keys(b).length) return false;
for (i = length; i-- !== 0; )
- if (!Object.prototype.hasOwnProperty.call(b, keys[i]))
- return false;
+ if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
for (i = length; i-- !== 0; ) {
var key = keys[i];
- if (!equal(a[key], b[key]))
- return false;
+ if (!equal(a[key], b[key])) return false;
}
return true;
}
@@ -16223,8 +16396,7 @@ var require_ucs2length = __commonJS({
value = str.charCodeAt(pos++);
if (value >= 55296 && value <= 56319 && pos < len) {
value = str.charCodeAt(pos);
- if ((value & 64512) == 56320)
- pos++;
+ if ((value & 64512) == 56320) pos++;
}
}
return length;
@@ -16262,8 +16434,7 @@ var require_util2 = __commonJS({
};
function copy(o, to) {
to = to || {};
- for (var key in o)
- to[key] = o[key];
+ for (var key in o) to[key] = o[key];
return to;
}
function checkDataType(dataType, data, strictNumbers, negate) {
@@ -16297,8 +16468,7 @@ var require_util2 = __commonJS({
delete types.array;
delete types.object;
}
- if (types.number)
- delete types.integer;
+ if (types.number) delete types.integer;
for (var t in types)
code += (code ? " && " : "") + checkDataType(t, data, strictNumbers, true);
return code;
@@ -16310,13 +16480,10 @@ var require_util2 = __commonJS({
var types = [];
for (var i = 0; i < dataTypes.length; i++) {
var t = dataTypes[i];
- if (COERCE_TO_TYPES[t])
- types[types.length] = t;
- else if (optionCoerceTypes === "array" && t === "array")
- types[types.length] = t;
+ if (COERCE_TO_TYPES[t]) types[types.length] = t;
+ else if (optionCoerceTypes === "array" && t === "array") types[types.length] = t;
}
- if (types.length)
- return types;
+ if (types.length) return types;
} else if (COERCE_TO_TYPES[dataTypes]) {
return [dataTypes];
} else if (optionCoerceTypes === "array" && dataTypes === "array") {
@@ -16325,8 +16492,7 @@ var require_util2 = __commonJS({
}
function toHash(arr) {
var hash = {};
- for (var i = 0; i < arr.length; i++)
- hash[arr[i]] = true;
+ for (var i = 0; i < arr.length; i++) hash[arr[i]] = true;
return hash;
}
var IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
@@ -16348,25 +16514,16 @@ var require_util2 = __commonJS({
return str.replace(new RegExp(dataVar, "g"), expr + "$1");
}
function schemaHasRules(schema, rules) {
- if (typeof schema == "boolean")
- return !schema;
- for (var key in schema)
- if (rules[key])
- return true;
+ if (typeof schema == "boolean") return !schema;
+ for (var key in schema) if (rules[key]) return true;
}
function schemaHasRulesExcept(schema, rules, exceptKeyword) {
- if (typeof schema == "boolean")
- return !schema && exceptKeyword != "not";
- for (var key in schema)
- if (key != exceptKeyword && rules[key])
- return true;
+ if (typeof schema == "boolean") return !schema && exceptKeyword != "not";
+ for (var key in schema) if (key != exceptKeyword && rules[key]) return true;
}
function schemaUnknownRules(schema, rules) {
- if (typeof schema == "boolean")
- return;
- for (var key in schema)
- if (!rules[key])
- return key;
+ if (typeof schema == "boolean") return;
+ for (var key in schema) if (!rules[key]) return key;
}
function toQuotedString(str) {
return "'" + escapeQuotes(str) + "'";
@@ -16383,29 +16540,23 @@ var require_util2 = __commonJS({
var RELATIVE_JSON_POINTER = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
function getData($data, lvl, paths) {
var up, jsonPointer, data, matches;
- if ($data === "")
- return "rootData";
+ if ($data === "") return "rootData";
if ($data[0] == "/") {
- if (!JSON_POINTER.test($data))
- throw new Error("Invalid JSON-pointer: " + $data);
+ if (!JSON_POINTER.test($data)) throw new Error("Invalid JSON-pointer: " + $data);
jsonPointer = $data;
data = "rootData";
} else {
matches = $data.match(RELATIVE_JSON_POINTER);
- if (!matches)
- throw new Error("Invalid JSON-pointer: " + $data);
+ if (!matches) throw new Error("Invalid JSON-pointer: " + $data);
up = +matches[1];
jsonPointer = matches[2];
if (jsonPointer == "#") {
- if (up >= lvl)
- throw new Error("Cannot access property/index " + up + " levels up, current level is " + lvl);
+ if (up >= lvl) throw new Error("Cannot access property/index " + up + " levels up, current level is " + lvl);
return paths[lvl - up];
}
- if (up > lvl)
- throw new Error("Cannot access data " + up + " levels up, current level is " + lvl);
+ if (up > lvl) throw new Error("Cannot access data " + up + " levels up, current level is " + lvl);
data = "data" + (lvl - up || "");
- if (!jsonPointer)
- return data;
+ if (!jsonPointer) return data;
}
var expr = data;
var segments = jsonPointer.split("/");
@@ -16419,8 +16570,7 @@ var require_util2 = __commonJS({
return expr;
}
function joinPaths(a, b) {
- if (a == '""')
- return b;
+ if (a == '""') return b;
return (a + " + " + b).replace(/([^\\])' \+ '/g, "$1");
}
function unescapeFragment(str) {
@@ -16553,10 +16703,8 @@ var require_resolve = __commonJS({
function resolve(compile, root, ref) {
var refVal = this._refs[ref];
if (typeof refVal == "string") {
- if (this._refs[refVal])
- refVal = this._refs[refVal];
- else
- return resolve.call(this, compile, root, refVal);
+ if (this._refs[refVal]) refVal = this._refs[refVal];
+ else return resolve.call(this, compile, root, refVal);
}
refVal = refVal || this._schemas[ref];
if (refVal instanceof SchemaObject) {
@@ -16584,14 +16732,12 @@ var require_resolve = __commonJS({
if (typeof refVal == "string") {
return resolveRecursive.call(this, root, refVal, p);
} else if (refVal instanceof SchemaObject) {
- if (!refVal.validate)
- this._compile(refVal);
+ if (!refVal.validate) this._compile(refVal);
root = refVal;
} else {
refVal = this._schemas[id];
if (refVal instanceof SchemaObject) {
- if (!refVal.validate)
- this._compile(refVal);
+ if (!refVal.validate) this._compile(refVal);
if (id == normalizeId(ref))
return { schema: refVal, root, baseId };
root = refVal;
@@ -16599,8 +16745,7 @@ var require_resolve = __commonJS({
return;
}
}
- if (!root.schema)
- return;
+ if (!root.schema) return;
baseId = getFullPath(this._getId(root.schema));
}
return getJsonPointer.call(this, p, baseId, root.schema, root);
@@ -16612,29 +16757,25 @@ var require_resolve = __commonJS({
var baseId = res.baseId;
root = res.root;
var id = this._getId(schema);
- if (id)
- baseId = resolveUrl(baseId, id);
+ if (id) baseId = resolveUrl(baseId, id);
return getJsonPointer.call(this, parsedRef, baseId, schema, root);
}
}
var PREVENT_SCOPE_CHANGE = util.toHash(["properties", "patternProperties", "enum", "dependencies", "definitions"]);
function getJsonPointer(parsedRef, baseId, schema, root) {
parsedRef.fragment = parsedRef.fragment || "";
- if (parsedRef.fragment.slice(0, 1) != "/")
- return;
+ if (parsedRef.fragment.slice(0, 1) != "/") return;
var parts = parsedRef.fragment.split("/");
for (var i = 1; i < parts.length; i++) {
var part = parts[i];
if (part) {
part = util.unescapeFragment(part);
schema = schema[part];
- if (schema === void 0)
- break;
+ if (schema === void 0) break;
var id;
if (!PREVENT_SCOPE_CHANGE[part]) {
id = this._getId(schema);
- if (id)
- baseId = resolveUrl(baseId, id);
+ if (id) baseId = resolveUrl(baseId, id);
if (schema.$ref) {
var $ref = resolveUrl(baseId, schema.$ref);
var res = resolveSchema.call(this, root, $ref);
@@ -16668,28 +16809,22 @@ var require_resolve = __commonJS({
"enum"
]);
function inlineRef(schema, limit) {
- if (limit === false)
- return false;
- if (limit === void 0 || limit === true)
- return checkNoRef(schema);
- else if (limit)
- return countKeys(schema) <= limit;
+ if (limit === false) return false;
+ if (limit === void 0 || limit === true) return checkNoRef(schema);
+ else if (limit) return countKeys(schema) <= limit;
}
function checkNoRef(schema) {
var item;
if (Array.isArray(schema)) {
for (var i = 0; i < schema.length; i++) {
item = schema[i];
- if (typeof item == "object" && !checkNoRef(item))
- return false;
+ if (typeof item == "object" && !checkNoRef(item)) return false;
}
} else {
for (var key in schema) {
- if (key == "$ref")
- return false;
+ if (key == "$ref") return false;
item = schema[key];
- if (typeof item == "object" && !checkNoRef(item))
- return false;
+ if (typeof item == "object" && !checkNoRef(item)) return false;
}
}
return true;
@@ -16699,31 +16834,25 @@ var require_resolve = __commonJS({
if (Array.isArray(schema)) {
for (var i = 0; i < schema.length; i++) {
item = schema[i];
- if (typeof item == "object")
- count += countKeys(item);
- if (count == Infinity)
- return Infinity;
+ if (typeof item == "object") count += countKeys(item);
+ if (count == Infinity) return Infinity;
}
} else {
for (var key in schema) {
- if (key == "$ref")
- return Infinity;
+ if (key == "$ref") return Infinity;
if (SIMPLE_INLINED[key]) {
count++;
} else {
item = schema[key];
- if (typeof item == "object")
- count += countKeys(item) + 1;
- if (count == Infinity)
- return Infinity;
+ if (typeof item == "object") count += countKeys(item) + 1;
+ if (count == Infinity) return Infinity;
}
}
}
return count;
}
function getFullPath(id, normalize) {
- if (normalize !== false)
- id = normalizeId(id);
+ if (normalize !== false) id = normalizeId(id);
var p = URI.parse(id);
return _getFullPath(p);
}
@@ -16745,8 +16874,7 @@ var require_resolve = __commonJS({
var localRefs = {};
var self2 = this;
traverse(schema, { allKeys: true }, function(sch, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {
- if (jsonPtr === "")
- return;
+ if (jsonPtr === "") return;
var id = self2._getId(sch);
var baseId = baseIds[parentJsonPtr];
var fullPath = fullPaths[parentJsonPtr] + "/" + parentKeyword;
@@ -16755,8 +16883,7 @@ var require_resolve = __commonJS({
if (typeof id == "string") {
id = baseId = normalizeId(baseId ? URI.resolve(baseId, id) : id);
var refVal = self2._refs[id];
- if (typeof refVal == "string")
- refVal = self2._refs[refVal];
+ if (typeof refVal == "string") refVal = self2._refs[refVal];
if (refVal && refVal.schema) {
if (!equal(sch, refVal.schema))
throw new Error('id "' + id + '" resolves to more than one schema');
@@ -16813,12 +16940,10 @@ var require_fast_json_stable_stringify = __commonJS({
"../../node_modules/fast-json-stable-stringify/index.js"(exports, module) {
"use strict";
module.exports = function(data, opts) {
- if (!opts)
- opts = {};
- if (typeof opts === "function")
- opts = { cmp: opts };
+ if (!opts) opts = {};
+ if (typeof opts === "function") opts = { cmp: opts };
var cycles = typeof opts.cycles === "boolean" ? opts.cycles : false;
- var cmp = opts.cmp && /* @__PURE__ */ function(f) {
+ var cmp = opts.cmp && /* @__PURE__ */ (function(f) {
return function(node) {
return function(a, b) {
var aobj = { key: a, value: node[a] };
@@ -16826,33 +16951,27 @@ var require_fast_json_stable_stringify = __commonJS({
return f(aobj, bobj);
};
};
- }(opts.cmp);
+ })(opts.cmp);
var seen = [];
- return function stringify(node) {
+ return (function stringify(node) {
if (node && node.toJSON && typeof node.toJSON === "function") {
node = node.toJSON();
}
- if (node === void 0)
- return;
- if (typeof node == "number")
- return isFinite(node) ? "" + node : "null";
- if (typeof node !== "object")
- return JSON.stringify(node);
+ if (node === void 0) return;
+ if (typeof node == "number") return isFinite(node) ? "" + node : "null";
+ if (typeof node !== "object") return JSON.stringify(node);
var i, out;
if (Array.isArray(node)) {
out = "[";
for (i = 0; i < node.length; i++) {
- if (i)
- out += ",";
+ if (i) out += ",";
out += stringify(node[i]) || "null";
}
return out + "]";
}
- if (node === null)
- return "null";
+ if (node === null) return "null";
if (seen.indexOf(node) !== -1) {
- if (cycles)
- return JSON.stringify("__cycle__");
+ if (cycles) return JSON.stringify("__cycle__");
throw new TypeError("Converting circular structure to JSON");
}
var seenIndex = seen.push(node) - 1;
@@ -16861,15 +16980,13 @@ var require_fast_json_stable_stringify = __commonJS({
for (i = 0; i < keys.length; i++) {
var key = keys[i];
var value = stringify(node[key]);
- if (!value)
- continue;
- if (out)
- out += ",";
+ if (!value) continue;
+ if (out) out += ",";
out += JSON.stringify(key) + ":" + value;
}
seen.splice(seenIndex, 1);
return "{" + out + "}";
- }(data);
+ })(data);
};
}
});
@@ -16885,10 +17002,8 @@ var require_validate = __commonJS({
var $unknownKwd = it.util.schemaUnknownRules(it.schema, it.RULES.keywords);
if ($unknownKwd) {
var $keywordsMsg = "unknown keyword: " + $unknownKwd;
- if (it.opts.strictKeywords === "log")
- it.logger.warn($keywordsMsg);
- else
- throw new Error($keywordsMsg);
+ if (it.opts.strictKeywords === "log") it.logger.warn($keywordsMsg);
+ else throw new Error($keywordsMsg);
}
}
if (it.isTop) {
@@ -16969,20 +17084,16 @@ var require_validate = __commonJS({
it.dataPathArr = [""];
if (it.schema.default !== void 0 && it.opts.useDefaults && it.opts.strictDefaults) {
var $defaultMsg = "default is ignored in the schema root";
- if (it.opts.strictDefaults === "log")
- it.logger.warn($defaultMsg);
- else
- throw new Error($defaultMsg);
+ if (it.opts.strictDefaults === "log") it.logger.warn($defaultMsg);
+ else throw new Error($defaultMsg);
}
out += " var vErrors = null; ";
out += " var errors = 0; ";
out += " if (rootData === undefined) rootData = data; ";
} else {
var $lvl = it.level, $dataLvl = it.dataLevel, $data = "data" + ($dataLvl || "");
- if ($id)
- it.baseId = it.resolve.url(it.baseId, $id);
- if ($async && !it.async)
- throw new Error("async schema in sync schema");
+ if ($id) it.baseId = it.resolve.url(it.baseId, $id);
+ if ($async && !it.async) throw new Error("async schema in sync schema");
out += " var errs_" + $lvl + " = errors;";
}
var $valid = "valid" + $lvl, $breakOnError = !it.opts.allErrors, $closingBraces1 = "", $closingBraces2 = "";
@@ -16990,8 +17101,7 @@ var require_validate = __commonJS({
var $typeSchema = it.schema.type, $typeIsArray = Array.isArray($typeSchema);
if ($typeSchema && it.opts.nullable && it.schema.nullable === true) {
if ($typeIsArray) {
- if ($typeSchema.indexOf("null") == -1)
- $typeSchema = $typeSchema.concat("null");
+ if ($typeSchema.indexOf("null") == -1) $typeSchema = $typeSchema.concat("null");
} else if ($typeSchema != "null") {
$typeSchema = [$typeSchema, "null"];
$typeIsArray = true;
@@ -17175,10 +17285,8 @@ var require_validate = __commonJS({
if (it.compositeRule) {
if (it.opts.strictDefaults) {
var $defaultMsg = "default is ignored for: " + $passData;
- if (it.opts.strictDefaults === "log")
- it.logger.warn($defaultMsg);
- else
- throw new Error($defaultMsg);
+ if (it.opts.strictDefaults === "log") it.logger.warn($defaultMsg);
+ else throw new Error($defaultMsg);
}
} else {
out += " if (" + $passData + " === undefined ";
@@ -17207,10 +17315,8 @@ var require_validate = __commonJS({
if (it.compositeRule) {
if (it.opts.strictDefaults) {
var $defaultMsg = "default is ignored for: " + $passData;
- if (it.opts.strictDefaults === "log")
- it.logger.warn($defaultMsg);
- else
- throw new Error($defaultMsg);
+ if (it.opts.strictDefaults === "log") it.logger.warn($defaultMsg);
+ else throw new Error($defaultMsg);
}
} else {
out += " if (" + $passData + " === undefined ";
@@ -17328,8 +17434,7 @@ var require_validate = __commonJS({
function $shouldUseGroup($rulesGroup2) {
var rules = $rulesGroup2.rules;
for (var i = 0; i < rules.length; i++)
- if ($shouldUseRule(rules[i]))
- return true;
+ if ($shouldUseRule(rules[i])) return true;
}
function $shouldUseRule($rule2) {
return it.schema[$rule2.keyword] !== void 0 || $rule2.implements && $ruleImplementsSomeKeyword($rule2);
@@ -17337,8 +17442,7 @@ var require_validate = __commonJS({
function $ruleImplementsSomeKeyword($rule2) {
var impl = $rule2.implements;
for (var i = 0; i < impl.length; i++)
- if (it.schema[impl[i]] !== void 0)
- return true;
+ if (it.schema[impl[i]] !== void 0) return true;
}
return out;
};
@@ -17363,8 +17467,7 @@ var require_compile = __commonJS({
root = root || { schema, refVal, refs };
var c = checkCompiling.call(this, schema, root, baseId);
var compilation = this._compilations[c.index];
- if (c.compiling)
- return compilation.callValidate = callValidate;
+ if (c.compiling) return compilation.callValidate = callValidate;
var formats = this._formats;
var RULES = this.RULES;
try {
@@ -17378,8 +17481,7 @@ var require_compile = __commonJS({
cv.refVal = v.refVal;
cv.root = v.root;
cv.$async = v.$async;
- if (opts.sourceCode)
- cv.source = v.source;
+ if (opts.sourceCode) cv.source = v.source;
}
return v;
} finally {
@@ -17420,8 +17522,7 @@ var require_compile = __commonJS({
self: self2
});
sourceCode = vars(refVal, refValCode) + vars(patterns, patternCode) + vars(defaults, defaultCode) + vars(customRules, customRuleCode) + sourceCode;
- if (opts.processCode)
- sourceCode = opts.processCode(sourceCode, _schema);
+ if (opts.processCode) sourceCode = opts.processCode(sourceCode, _schema);
var validate;
try {
var makeValidate = new Function(
@@ -17459,8 +17560,7 @@ var require_compile = __commonJS({
validate.refs = refs;
validate.refVal = refVal;
validate.root = isRoot ? validate : _root;
- if ($async)
- validate.$async = true;
+ if ($async) validate.$async = true;
if (opts.sourceCode === true) {
validate.source = {
code: sourceCode,
@@ -17534,8 +17634,7 @@ var require_compile = __commonJS({
case "string":
return util.toQuotedString(value);
case "object":
- if (value === null)
- return "null";
+ if (value === null) return "null";
var valueStr = stableStringify(value);
var index = defaultsHash[valueStr];
if (index === void 0) {
@@ -17557,10 +17656,8 @@ var require_compile = __commonJS({
var valid = validateSchema(schema2);
if (!valid) {
var message = "keyword schema is invalid: " + self2.errorsText(validateSchema.errors);
- if (self2._opts.validateSchema == "log")
- self2.logger.error(message);
- else
- throw new Error(message);
+ if (self2._opts.validateSchema == "log") self2.logger.error(message);
+ else throw new Error(message);
}
}
}
@@ -17570,14 +17667,12 @@ var require_compile = __commonJS({
validate = compile2.call(self2, schema2, parentSchema, it);
} else if (macro) {
validate = macro.call(self2, schema2, parentSchema, it);
- if (opts.validateSchema !== false)
- self2.validateSchema(validate, true);
+ if (opts.validateSchema !== false) self2.validateSchema(validate, true);
} else if (inline) {
validate = inline.call(self2, it, rule.keyword, schema2, parentSchema);
} else {
validate = rule.definition.validate;
- if (!validate)
- return;
+ if (!validate) return;
}
if (validate === void 0)
throw new Error('custom keyword "' + rule.keyword + '"failed to compile');
@@ -17591,8 +17686,7 @@ var require_compile = __commonJS({
}
function checkCompiling(schema, root, baseId) {
var index = compIndex.call(this, schema, root, baseId);
- if (index >= 0)
- return { index, compiling: true };
+ if (index >= 0) return { index, compiling: true };
index = this._compilations.length;
this._compilations[index] = {
schema,
@@ -17603,14 +17697,12 @@ var require_compile = __commonJS({
}
function endCompiling(schema, root, baseId) {
var i = compIndex.call(this, schema, root, baseId);
- if (i >= 0)
- this._compilations.splice(i, 1);
+ if (i >= 0) this._compilations.splice(i, 1);
}
function compIndex(schema, root, baseId) {
for (var i = 0; i < this._compilations.length; i++) {
var c = this._compilations[i];
- if (c.schema == schema && c.root == root && c.baseId == baseId)
- return i;
+ if (c.schema == schema && c.root == root && c.baseId == baseId) return i;
}
return -1;
}
@@ -17627,8 +17719,7 @@ var require_compile = __commonJS({
return "var customRule" + i + " = customRules[" + i + "];";
}
function vars(arr, statement) {
- if (!arr.length)
- return "";
+ if (!arr.length) return "";
var code = "";
for (var i = 0; i < arr.length; i++)
code += statement(i, arr);
@@ -17734,8 +17825,7 @@ var require_formats = __commonJS({
}
function date(str) {
var matches = str.match(DATE);
- if (!matches)
- return false;
+ if (!matches) return false;
var year = +matches[1];
var month = +matches[2];
var day = +matches[3];
@@ -17743,8 +17833,7 @@ var require_formats = __commonJS({
}
function time(str, full) {
var matches = str.match(TIME);
- if (!matches)
- return false;
+ if (!matches) return false;
var hour = matches[1];
var minute = matches[2];
var second = matches[3];
@@ -17762,8 +17851,7 @@ var require_formats = __commonJS({
}
var Z_ANCHOR = /[^\\]\\Z/;
function regex(str) {
- if (Z_ANCHOR.test(str))
- return false;
+ if (Z_ANCHOR.test(str)) return false;
try {
new RegExp(str);
return true;
@@ -17874,8 +17962,7 @@ var require_ref2 = __commonJS({
var __callValidate = out;
out = $$outStack.pop();
if ($async) {
- if (!it.async)
- throw new Error("async schema referenced by sync schema");
+ if (!it.async) throw new Error("async schema referenced by sync schema");
if ($breakOnError) {
out += " var " + $valid + "; ";
}
@@ -18208,8 +18295,7 @@ var require_dependencies = __commonJS({
var $nextValid = "valid" + $it.level;
var $schemaDeps = {}, $propertyDeps = {}, $ownProperties = it.opts.ownProperties;
for ($property in $schema) {
- if ($property == "__proto__")
- continue;
+ if ($property == "__proto__") continue;
var $sch = $schema[$property];
var $deps = Array.isArray($sch) ? $propertyDeps : $schemaDeps;
$deps[$property] = $sch;
@@ -18506,15 +18592,13 @@ var require_format = __commonJS({
return out;
}
if ($async) {
- if (!it.async)
- throw new Error("async format in sync schema");
+ if (!it.async) throw new Error("async format in sync schema");
var $formatRef = "formats" + it.util.getProperty($schema) + ".validate";
out += " if (!(await " + $formatRef + "(" + $data + "))) { ";
} else {
out += " if (! ";
var $formatRef = "formats" + it.util.getProperty($schema);
- if ($isObject)
- $formatRef += ".validate";
+ if ($isObject) $formatRef += ".validate";
if (typeof $format == "function") {
out += " " + $formatRef + "(" + $data + ") ";
} else {
@@ -18909,8 +18993,7 @@ var require_limit = __commonJS({
$schemaValue = $schemaExcl;
$notOp += "=";
} else {
- if ($exclIsNumber)
- $schemaValue = Math[$isMax ? "min" : "max"]($schemaExcl, $schema);
+ if ($exclIsNumber) $schemaValue = Math[$isMax ? "min" : "max"]($schemaExcl, $schema);
if ($schemaExcl === ($exclIsNumber ? $schemaValue : true)) {
$exclusive = true;
$errorKeyword = $exclusiveKeyword;
@@ -19349,8 +19432,7 @@ var require_not = __commonJS({
}
out += " " + it.validate($it) + " ";
$it.createErrors = true;
- if ($allErrorsOption)
- $it.opts.allErrors = $allErrorsOption;
+ if ($allErrorsOption) $it.opts.allErrors = $allErrorsOption;
it.compositeRule = $it.compositeRule = $wasComposite;
out += " if (" + $nextValid + ") { ";
var $$outStack = $$outStack || [];
@@ -20426,8 +20508,7 @@ var require_rules = __commonJS({
keyword: "$comment",
code: ruleModules.$comment
};
- if (group.type)
- RULES.types[group.type] = group;
+ if (group.type) RULES.types[group.type] = group;
});
RULES.keywords = toHash(ALL.concat(KEYWORDS));
RULES.custom = {};
@@ -20522,14 +20603,12 @@ var require_async = __commonJS({
try {
return self2._compile(schemaObj);
} catch (e) {
- if (e instanceof MissingRefError)
- return loadMissingSchema(e);
+ if (e instanceof MissingRefError) return loadMissingSchema(e);
throw e;
}
function loadMissingSchema(e) {
var ref = e.missingSchema;
- if (added(ref))
- throw new Error("Schema " + ref + " is loaded but " + e.missingRef + " cannot be resolved");
+ if (added(ref)) throw new Error("Schema " + ref + " is loaded but " + e.missingRef + " cannot be resolved");
var schemaPromise = self2._loadingSchemas[ref];
if (!schemaPromise) {
schemaPromise = self2._loadingSchemas[ref] = self2._opts.loadSchema(ref);
@@ -20538,8 +20617,7 @@ var require_async = __commonJS({
return schemaPromise.then(function(sch) {
if (!added(ref)) {
return loadMetaSchemaOf(sch).then(function() {
- if (!added(ref))
- self2.addSchema(sch, ref, void 0, meta);
+ if (!added(ref)) self2.addSchema(sch, ref, void 0, meta);
});
}
}).then(function() {
@@ -20588,8 +20666,7 @@ var require_custom = __commonJS({
out += " var " + $definition + " = RULES.custom['" + $keyword + "'].definition; var " + $validateCode + " = " + $definition + ".validate;";
} else {
$ruleValidate = it.useCustomRule($rule, $schema, it.schema, it);
- if (!$ruleValidate)
- return;
+ if (!$ruleValidate) return;
$schemaValue = "validate.schema" + $schemaPath;
$validateCode = $ruleValidate.code;
$compile = $rDef.compile;
@@ -20597,8 +20674,7 @@ var require_custom = __commonJS({
$macro = $rDef.macro;
}
var $ruleErrs = $validateCode + ".errors", $i = "i" + $lvl, $ruleErr = "ruleErr" + $lvl, $asyncKeyword = $rDef.async;
- if ($asyncKeyword && !it.async)
- throw new Error("async keyword in sync schema");
+ if ($asyncKeyword && !it.async) throw new Error("async keyword in sync schema");
if (!($inline || $macro)) {
out += "" + $ruleErrs + " = null;";
}
@@ -21088,8 +21164,7 @@ var require_keyword = __commonJS({
function validateKeyword(definition, throwError) {
validateKeyword.errors = null;
var v = this._validateKeyword = this._validateKeyword || this.compile(definitionSchema, true);
- if (v(definition))
- return true;
+ if (v(definition)) return true;
validateKeyword.errors = v.errors;
if (throwError)
throw new Error("custom keyword definition is invalid: " + this.errorsText(v.errors));
@@ -21161,8 +21236,7 @@ var require_ajv = __commonJS({
var META_IGNORE_OPTIONS = ["removeAdditional", "useDefaults", "coerceTypes", "strictDefaults"];
var META_SUPPORT_DATA = ["/properties"];
function Ajv(opts) {
- if (!(this instanceof Ajv))
- return new Ajv(opts);
+ if (!(this instanceof Ajv)) return new Ajv(opts);
opts = this._opts = util.copy(opts) || {};
setLogger(this);
this._schemas = {};
@@ -21175,35 +21249,27 @@ var require_ajv = __commonJS({
this.RULES = rules();
this._getId = chooseGetId(opts);
opts.loopRequired = opts.loopRequired || Infinity;
- if (opts.errorDataPath == "property")
- opts._errorDataPathProperty = true;
- if (opts.serialize === void 0)
- opts.serialize = stableStringify;
+ if (opts.errorDataPath == "property") opts._errorDataPathProperty = true;
+ if (opts.serialize === void 0) opts.serialize = stableStringify;
this._metaOpts = getMetaSchemaOptions(this);
- if (opts.formats)
- addInitialFormats(this);
- if (opts.keywords)
- addInitialKeywords(this);
+ if (opts.formats) addInitialFormats(this);
+ if (opts.keywords) addInitialKeywords(this);
addDefaultMetaSchema(this);
- if (typeof opts.meta == "object")
- this.addMetaSchema(opts.meta);
- if (opts.nullable)
- this.addKeyword("nullable", { metaSchema: { type: "boolean" } });
+ if (typeof opts.meta == "object") this.addMetaSchema(opts.meta);
+ if (opts.nullable) this.addKeyword("nullable", { metaSchema: { type: "boolean" } });
addInitialSchemas(this);
}
function validate(schemaKeyRef, data) {
var v;
if (typeof schemaKeyRef == "string") {
v = this.getSchema(schemaKeyRef);
- if (!v)
- throw new Error('no schema with key or ref "' + schemaKeyRef + '"');
+ if (!v) throw new Error('no schema with key or ref "' + schemaKeyRef + '"');
} else {
var schemaObj = this._addSchema(schemaKeyRef);
v = schemaObj.validate || this._compile(schemaObj);
}
var valid = v(data);
- if (v.$async !== true)
- this.errors = v.errors;
+ if (v.$async !== true) this.errors = v.errors;
return valid;
}
function compile(schema, _meta) {
@@ -21212,8 +21278,7 @@ var require_ajv = __commonJS({
}
function addSchema(schema, key, _skipValidation, _meta) {
if (Array.isArray(schema)) {
- for (var i = 0; i < schema.length; i++)
- this.addSchema(schema[i], void 0, _skipValidation, _meta);
+ for (var i = 0; i < schema.length; i++) this.addSchema(schema[i], void 0, _skipValidation, _meta);
return this;
}
var id = this._getId(schema);
@@ -21241,10 +21306,8 @@ var require_ajv = __commonJS({
var valid = this.validate($schema, schema);
if (!valid && throwOrLogError) {
var message = "schema is invalid: " + this.errorsText();
- if (this._opts.validateSchema == "log")
- this.logger.error(message);
- else
- throw new Error(message);
+ if (this._opts.validateSchema == "log") this.logger.error(message);
+ else throw new Error(message);
}
return valid;
}
@@ -21298,8 +21361,7 @@ var require_ajv = __commonJS({
return this;
case "string":
var schemaObj = _getSchemaObj(this, schemaKeyRef);
- if (schemaObj)
- this._cache.del(schemaObj.cacheKey);
+ if (schemaObj) this._cache.del(schemaObj.cacheKey);
delete this._schemas[schemaKeyRef];
delete this._refs[schemaKeyRef];
return this;
@@ -21331,12 +21393,10 @@ var require_ajv = __commonJS({
var serialize = this._opts.serialize;
var cacheKey = serialize ? serialize(schema) : schema;
var cached = this._cache.get(cacheKey);
- if (cached)
- return cached;
+ if (cached) return cached;
shouldAddSchema = shouldAddSchema || this._opts.addUsedSchema !== false;
var id = resolve.normalizeId(this._getId(schema));
- if (id && shouldAddSchema)
- checkUnique(this, id);
+ if (id && shouldAddSchema) checkUnique(this, id);
var willValidate = this._opts.validateSchema !== false && !skipValidation;
var recursiveMeta;
if (willValidate && !(recursiveMeta = id && id == resolve.normalizeId(schema.$schema)))
@@ -21349,11 +21409,9 @@ var require_ajv = __commonJS({
cacheKey,
meta
});
- if (id[0] != "#" && shouldAddSchema)
- this._refs[id] = schemaObj;
+ if (id[0] != "#" && shouldAddSchema) this._refs[id] = schemaObj;
this._cache.put(cacheKey, schemaObj);
- if (willValidate && recursiveMeta)
- this.validateSchema(schema, true);
+ if (willValidate && recursiveMeta) this.validateSchema(schema, true);
return schemaObj;
}
function _compile(schemaObj, root) {
@@ -21380,8 +21438,7 @@ var require_ajv = __commonJS({
throw e;
} finally {
schemaObj.compiling = false;
- if (schemaObj.meta)
- this._opts = currentOpts;
+ if (schemaObj.meta) this._opts = currentOpts;
}
schemaObj.validate = v;
schemaObj.refs = v.refs;
@@ -21406,13 +21463,11 @@ var require_ajv = __commonJS({
}
}
function _getId(schema) {
- if (schema.$id)
- this.logger.warn("schema $id ignored", schema.$id);
+ if (schema.$id) this.logger.warn("schema $id ignored", schema.$id);
return schema.id;
}
function _get$Id(schema) {
- if (schema.id)
- this.logger.warn("schema id ignored", schema.id);
+ if (schema.id) this.logger.warn("schema id ignored", schema.id);
return schema.$id;
}
function _get$IdOrId(schema) {
@@ -21422,22 +21477,19 @@ var require_ajv = __commonJS({
}
function errorsText(errors, options) {
errors = errors || this.errors;
- if (!errors)
- return "No errors";
+ if (!errors) return "No errors";
options = options || {};
var separator = options.separator === void 0 ? ", " : options.separator;
var dataVar = options.dataVar === void 0 ? "data" : options.dataVar;
var text = "";
for (var i = 0; i < errors.length; i++) {
var e = errors[i];
- if (e)
- text += dataVar + e.dataPath + " " + e.message + separator;
+ if (e) text += dataVar + e.dataPath + " " + e.message + separator;
}
return text.slice(0, -separator.length);
}
function addFormat(name, format) {
- if (typeof format == "string")
- format = new RegExp(format);
+ if (typeof format == "string") format = new RegExp(format);
this._formats[name] = format;
return this;
}
@@ -21447,23 +21499,17 @@ var require_ajv = __commonJS({
$dataSchema = require_data2();
self2.addMetaSchema($dataSchema, $dataSchema.$id, true);
}
- if (self2._opts.meta === false)
- return;
+ if (self2._opts.meta === false) return;
var metaSchema = require_json_schema_draft_07();
- if (self2._opts.$data)
- metaSchema = $dataMetaSchema(metaSchema, META_SUPPORT_DATA);
+ if (self2._opts.$data) metaSchema = $dataMetaSchema(metaSchema, META_SUPPORT_DATA);
self2.addMetaSchema(metaSchema, META_SCHEMA_ID, true);
self2._refs["http://json-schema.org/schema"] = META_SCHEMA_ID;
}
function addInitialSchemas(self2) {
var optsSchemas = self2._opts.schemas;
- if (!optsSchemas)
- return;
- if (Array.isArray(optsSchemas))
- self2.addSchema(optsSchemas);
- else
- for (var key in optsSchemas)
- self2.addSchema(optsSchemas[key], key);
+ if (!optsSchemas) return;
+ if (Array.isArray(optsSchemas)) self2.addSchema(optsSchemas);
+ else for (var key in optsSchemas) self2.addSchema(optsSchemas[key], key);
}
function addInitialFormats(self2) {
for (var name in self2._opts.formats) {
@@ -21492,8 +21538,7 @@ var require_ajv = __commonJS({
if (logger === false) {
self2.logger = { log: noop, warn: noop, error: noop };
} else {
- if (logger === void 0)
- logger = console;
+ if (logger === void 0) logger = console;
if (!(typeof logger == "object" && logger.log && logger.warn && logger.error))
throw new Error("logger must implement log, warn and error methods");
self2.logger = logger;
@@ -25104,8 +25149,10 @@ var require_eslint_utils = __commonJS({
switch (node.operator) {
case "==":
return { value: left.value == right.value };
+ //eslint-disable-line eqeqeq
case "!=":
return { value: left.value != right.value };
+ //eslint-disable-line eqeqeq
case "===":
return { value: left.value === right.value };
case "!==":
@@ -25355,6 +25402,7 @@ var require_eslint_utils = __commonJS({
return { value: -arg.value };
case "+":
return { value: +arg.value };
+ //eslint-disable-line no-implicit-coercion
case "!":
return { value: !arg.value };
case "~":
@@ -25807,10 +25855,10 @@ var require_eslint_utils = __commonJS({
};
var IMPORT_TYPE = /^(?:Import|Export(?:All|Default|Named))Declaration$/u;
var has = Function.call.bind(Object.hasOwnProperty);
- var READ = Symbol("read");
- var CALL = Symbol("call");
- var CONSTRUCT = Symbol("construct");
- var ESM = Symbol("esm");
+ var READ = /* @__PURE__ */ Symbol("read");
+ var CALL = /* @__PURE__ */ Symbol("call");
+ var CONSTRUCT = /* @__PURE__ */ Symbol("construct");
+ var ESM = /* @__PURE__ */ Symbol("esm");
var requireCall = { require: { [CALL]: true } };
function isModifiedGlobal(variable) {
return variable == null || variable.defs.length !== 0 || variable.references.some((r) => r.isWrite());
@@ -26741,9 +26789,9 @@ var require_token_store = __commonJS({
var ForwardTokenCursor = require_forward_token_cursor();
var PaddedTokenCursor = require_padded_token_cursor();
var utils = require_utils();
- var TOKENS = Symbol("tokens");
- var COMMENTS = Symbol("comments");
- var INDEX_MAP = Symbol("indexMap");
+ var TOKENS = /* @__PURE__ */ Symbol("tokens");
+ var COMMENTS = /* @__PURE__ */ Symbol("comments");
+ var INDEX_MAP = /* @__PURE__ */ Symbol("indexMap");
function createIndexMap(tokens, comments) {
const map = /* @__PURE__ */ Object.create(null);
let tokenIndex = 0;
@@ -27277,7 +27325,7 @@ var require_source_code = __commonJS({
}
return false;
}
- var caches = Symbol("caches");
+ var caches = /* @__PURE__ */ Symbol("caches");
var SourceCode = class extends TokenStore {
/**
* @param {string|Object} textOrConfig The source code text or config object.
@@ -27457,6 +27505,7 @@ var require_source_code = __commonJS({
}
}
return findJSDocComment(node);
+ // falls through
default:
return null;
}
@@ -28403,6 +28452,7 @@ var require_code_path_state = __commonJS({
break;
case "loop":
return context;
+ /* c8 ignore next */
default:
throw new Error("unreachable");
}
@@ -28824,6 +28874,7 @@ var require_code_path_state = __commonJS({
brokenForkContext: breakContext.brokenForkContext
};
break;
+ /* c8 ignore next */
default:
throw new Error(`unknown type: "${type}"`);
}
@@ -28876,6 +28927,7 @@ var require_code_path_state = __commonJS({
context.leftSegments
);
break;
+ /* c8 ignore next */
default:
throw new Error("unreachable");
}
@@ -29523,6 +29575,7 @@ var require_code_path_analyzer = __commonJS({
const state = CodePath.getState(codePath);
const parent = node.parent;
switch (parent.type) {
+ // The `arguments.length == 0` case is in `postprocess` function.
case "CallExpression":
if (parent.optional === true && parent.arguments.length >= 1 && parent.arguments[0] === node) {
state.makeOptionalRight();
@@ -29824,6 +29877,7 @@ var require_code_path_analyzer = __commonJS({
endCodePath();
break;
}
+ // The `arguments.length >= 1` case is in `preprocess` function.
case "CallExpression":
if (node.optional === true && node.arguments.length === 0) {
CodePath.getState(analyzer.codePath).makeOptionalRight();
@@ -30098,11 +30152,11 @@ var require_Func = __commonJS({
return f(y, x);
});
fix = function(f) {
- return /* @__PURE__ */ function(g) {
+ return /* @__PURE__ */ (function(g) {
return function() {
return f(g(g)).apply(null, arguments);
};
- }(function(g) {
+ })(function(g) {
return function() {
return f(g(g)).apply(null, arguments);
};
@@ -30121,14 +30175,14 @@ var require_Func = __commonJS({
res$.push(arguments[i$]);
}
args = res$;
- key = function() {
+ key = (function() {
var i$2, ref$, len$, results$ = [];
for (i$2 = 0, len$ = (ref$ = args).length; i$2 < len$; ++i$2) {
arg = ref$[i$2];
results$.push(arg + toString$.call(arg).slice(8, -1));
}
return results$;
- }().join("");
+ })().join("");
return memo[key] = key in memo ? memo[key] : f.apply(null, args);
};
};
@@ -30387,18 +30441,18 @@ var require_List = __commonJS({
};
concatMap = curry$(function(f, xs) {
var x;
- return [].concat.apply([], function() {
+ return [].concat.apply([], (function() {
var i$, ref$, len$, results$ = [];
for (i$ = 0, len$ = (ref$ = xs).length; i$ < len$; ++i$) {
x = ref$[i$];
results$.push(f(x));
}
return results$;
- }());
+ })());
});
flatten = function(xs) {
var x;
- return [].concat.apply([], function() {
+ return [].concat.apply([], (function() {
var i$, ref$, len$, results$ = [];
for (i$ = 0, len$ = (ref$ = xs).length; i$ < len$; ++i$) {
x = ref$[i$];
@@ -30409,7 +30463,7 @@ var require_List = __commonJS({
}
}
return results$;
- }());
+ })());
};
difference = function(xs) {
var yss, res$, i$, to$, results, len$, x, j$, len1$, ys;
@@ -30419,17 +30473,16 @@ var require_List = __commonJS({
}
yss = res$;
results = [];
- outer:
- for (i$ = 0, len$ = xs.length; i$ < len$; ++i$) {
- x = xs[i$];
- for (j$ = 0, len1$ = yss.length; j$ < len1$; ++j$) {
- ys = yss[j$];
- if (in$(x, ys)) {
- continue outer;
- }
+ outer: for (i$ = 0, len$ = xs.length; i$ < len$; ++i$) {
+ x = xs[i$];
+ for (j$ = 0, len1$ = yss.length; j$ < len1$; ++j$) {
+ ys = yss[j$];
+ if (in$(x, ys)) {
+ continue outer;
}
- results.push(x);
}
+ results.push(x);
+ }
return results;
};
intersection = function(xs) {
@@ -30440,17 +30493,16 @@ var require_List = __commonJS({
}
yss = res$;
results = [];
- outer:
- for (i$ = 0, len$ = xs.length; i$ < len$; ++i$) {
- x = xs[i$];
- for (j$ = 0, len1$ = yss.length; j$ < len1$; ++j$) {
- ys = yss[j$];
- if (!in$(x, ys)) {
- continue outer;
- }
+ outer: for (i$ = 0, len$ = xs.length; i$ < len$; ++i$) {
+ x = xs[i$];
+ for (j$ = 0, len1$ = yss.length; j$ < len1$; ++j$) {
+ ys = yss[j$];
+ if (!in$(x, ys)) {
+ continue outer;
}
- results.push(x);
}
+ results.push(x);
+ }
return results;
};
union = function() {
@@ -30639,14 +30691,14 @@ var require_List = __commonJS({
scan = scanl = curry$(function(f, memo, xs) {
var last2, x;
last2 = memo;
- return [memo].concat(function() {
+ return [memo].concat((function() {
var i$, ref$, len$, results$ = [];
for (i$ = 0, len$ = (ref$ = xs).length; i$ < len$; ++i$) {
x = ref$[i$];
results$.push(last2 = f(last2, x));
}
return results$;
- }());
+ })());
});
scan1 = scanl1 = curry$(function(f, xs) {
if (!xs.length) {
@@ -30925,9 +30977,7 @@ var require_List = __commonJS({
}
function in$(x, xs) {
var i = -1, l = xs.length >>> 0;
- while (++i < l)
- if (x === xs[i])
- return true;
+ while (++i < l) if (x === xs[i]) return true;
return false;
}
function compose$() {
@@ -31287,9 +31337,9 @@ var require_Num = __commonJS({
var ref$;
return (x$ % (ref$ = y$) + ref$) % ref$;
});
- recip = function(it) {
+ recip = (function(it) {
return 1 / it;
- };
+ });
pi = Math.PI;
tau = pi * 2;
exp = Math.exp;
@@ -31881,9 +31931,7 @@ var require_parse_type = __commonJS({
};
function in$(x, xs) {
var i = -1, l = xs.length >>> 0;
- while (++i < l)
- if (x === xs[i])
- return true;
+ while (++i < l) if (x === xs[i]) return true;
return false;
}
}).call(exports);
@@ -32277,14 +32325,14 @@ var require_cast = __commonJS({
typeOf = type.of;
return {
type: "Just",
- value: function() {
+ value: (function() {
var i$, ref$, len$, results$ = [];
for (i$ = 0, len$ = (ref$ = node).length; i$ < len$; ++i$) {
element = ref$[i$];
results$.push(typesCast(element, typeOf, options));
}
return results$;
- }()
+ })()
};
}
function castTuple(node, type, options) {
@@ -32325,7 +32373,7 @@ var require_cast = __commonJS({
typeOf = type.of;
return {
type: "Just",
- value: function() {
+ value: (function() {
var ref$, resultObj$ = {};
for (key in ref$ = node) {
value = ref$[key];
@@ -32336,7 +32384,7 @@ var require_cast = __commonJS({
}], options);
}
return resultObj$;
- }()
+ })()
};
}
function typeCast(node, typeObj, options) {
@@ -32511,9 +32559,9 @@ var require_config_comment_parser = __commonJS({
// ../../node_modules/esquery/dist/esquery.min.js
var require_esquery_min = __commonJS({
"../../node_modules/esquery/dist/esquery.min.js"(exports, module) {
- !function(e, t) {
+ !(function(e, t) {
"object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = e || self).esquery = t();
- }(exports, function() {
+ })(exports, (function() {
"use strict";
function e(t2) {
return (e = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e2) {
@@ -32523,74 +32571,63 @@ var require_esquery_min = __commonJS({
})(t2);
}
function t(e2, t2) {
- return function(e3) {
- if (Array.isArray(e3))
- return e3;
- }(e2) || function(e3, t3) {
+ return (function(e3) {
+ if (Array.isArray(e3)) return e3;
+ })(e2) || (function(e3, t3) {
var r2 = null == e3 ? null : "undefined" != typeof Symbol && e3[Symbol.iterator] || e3["@@iterator"];
if (null != r2) {
var n2, o2, a2, i2, s2 = [], u2 = true, l2 = false;
try {
if (a2 = (r2 = r2.call(e3)).next, 0 === t3) {
- if (Object(r2) !== r2)
- return;
+ if (Object(r2) !== r2) return;
u2 = false;
- } else
- for (; !(u2 = (n2 = a2.call(r2)).done) && (s2.push(n2.value), s2.length !== t3); u2 = true)
- ;
+ } else for (; !(u2 = (n2 = a2.call(r2)).done) && (s2.push(n2.value), s2.length !== t3); u2 = true) ;
} catch (e4) {
l2 = true, o2 = e4;
} finally {
try {
- if (!u2 && null != r2.return && (i2 = r2.return(), Object(i2) !== i2))
- return;
+ if (!u2 && null != r2.return && (i2 = r2.return(), Object(i2) !== i2)) return;
} finally {
- if (l2)
- throw o2;
+ if (l2) throw o2;
}
}
return s2;
}
- }(e2, t2) || n(e2, t2) || function() {
+ })(e2, t2) || n(e2, t2) || (function() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
- }();
+ })();
}
function r(e2) {
- return function(e3) {
- if (Array.isArray(e3))
- return o(e3);
- }(e2) || function(e3) {
- if ("undefined" != typeof Symbol && null != e3[Symbol.iterator] || null != e3["@@iterator"])
- return Array.from(e3);
- }(e2) || n(e2) || function() {
+ return (function(e3) {
+ if (Array.isArray(e3)) return o(e3);
+ })(e2) || (function(e3) {
+ if ("undefined" != typeof Symbol && null != e3[Symbol.iterator] || null != e3["@@iterator"]) return Array.from(e3);
+ })(e2) || n(e2) || (function() {
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
- }();
+ })();
}
function n(e2, t2) {
if (e2) {
- if ("string" == typeof e2)
- return o(e2, t2);
+ if ("string" == typeof e2) return o(e2, t2);
var r2 = Object.prototype.toString.call(e2).slice(8, -1);
return "Object" === r2 && e2.constructor && (r2 = e2.constructor.name), "Map" === r2 || "Set" === r2 ? Array.from(e2) : "Arguments" === r2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r2) ? o(e2, t2) : void 0;
}
}
function o(e2, t2) {
(null == t2 || t2 > e2.length) && (t2 = e2.length);
- for (var r2 = 0, n2 = new Array(t2); r2 < t2; r2++)
- n2[r2] = e2[r2];
+ for (var r2 = 0, n2 = new Array(t2); r2 < t2; r2++) n2[r2] = e2[r2];
return n2;
}
"undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self && self;
function a(e2, t2) {
return e2(t2 = { exports: {} }, t2.exports), t2.exports;
}
- var i = a(function(e2, t2) {
- !function e3(t3) {
+ var i = a((function(e2, t2) {
+ !(function e3(t3) {
var r2, n2, o2, a2, i2, s2;
function u2(e4) {
var t4, r3, n3 = {};
- for (t4 in e4)
- e4.hasOwnProperty(t4) && (r3 = e4[t4], n3[t4] = "object" == typeof r3 && null !== r3 ? u2(r3) : r3);
+ for (t4 in e4) e4.hasOwnProperty(t4) && (r3 = e4[t4], n3[t4] = "object" == typeof r3 && null !== r3 ? u2(r3) : r3);
return n3;
}
function l2(e4, t4) {
@@ -32608,9 +32645,7 @@ var require_esquery_min = __commonJS({
return (e4 === r2.ObjectExpression || e4 === r2.ObjectPattern) && "properties" === t4;
}
function y2(e4, t4) {
- for (var r3 = e4.length - 1; r3 >= 0; --r3)
- if (e4[r3].node === t4)
- return true;
+ for (var r3 = e4.length - 1; r3 >= 0; --r3) if (e4[r3].node === t4) return true;
return false;
}
function d2(e4, t4) {
@@ -32618,14 +32653,13 @@ var require_esquery_min = __commonJS({
}
function m2(e4, t4) {
var r3;
- return r3 = function(e5, t5) {
+ return r3 = (function(e5, t5) {
var r4, n3, o3, a3;
- for (n3 = e5.length, o3 = 0; n3; )
- t5(e5[a3 = o3 + (r4 = n3 >>> 1)]) ? n3 = r4 : (o3 = a3 + 1, n3 -= r4 + 1);
+ for (n3 = e5.length, o3 = 0; n3; ) t5(e5[a3 = o3 + (r4 = n3 >>> 1)]) ? n3 = r4 : (o3 = a3 + 1, n3 -= r4 + 1);
return o3;
- }(t4, function(t5) {
+ })(t4, (function(t5) {
return t5.range[0] > e4.range[0];
- }), e4.extendedRange = [e4.range[0], e4.range[1]], r3 !== t4.length && (e4.extendedRange[1] = t4[r3].range[0]), (r3 -= 1) >= 0 && (e4.extendedRange[0] = t4[r3].range[1]), e4;
+ })), e4.extendedRange = [e4.range[0], e4.range[1]], r3 !== t4.length && (e4.extendedRange[1] = t4[r3].range[0]), (r3 -= 1) >= 0 && (e4.extendedRange[0] = t4[r3].range[1]), e4;
}
return r2 = { AssignmentExpression: "AssignmentExpression", AssignmentPattern: "AssignmentPattern", ArrayExpression: "ArrayExpression", ArrayPattern: "ArrayPattern", ArrowFunctionExpression: "ArrowFunctionExpression", AwaitExpression: "AwaitExpression", BlockStatement: "BlockStatement", BinaryExpression: "BinaryExpression", BreakStatement: "BreakStatement", CallExpression: "CallExpression", CatchClause: "CatchClause", ChainExpression: "ChainExpression", ClassBody: "ClassBody", ClassDeclaration: "ClassDeclaration", ClassExpression: "ClassExpression", ComprehensionBlock: "ComprehensionBlock", ComprehensionExpression: "ComprehensionExpression", ConditionalExpression: "ConditionalExpression", ContinueStatement: "ContinueStatement", DebuggerStatement: "DebuggerStatement", DirectiveStatement: "DirectiveStatement", DoWhileStatement: "DoWhileStatement", EmptyStatement: "EmptyStatement", ExportAllDeclaration: "ExportAllDeclaration", ExportDefaultDeclaration: "ExportDefaultDeclaration", ExportNamedDeclaration: "ExportNamedDeclaration", ExportSpecifier: "ExportSpecifier", ExpressionStatement: "ExpressionStatement", ForStatement: "ForStatement", ForInStatement: "ForInStatement", ForOfStatement: "ForOfStatement", FunctionDeclaration: "FunctionDeclaration", FunctionExpression: "FunctionExpression", GeneratorExpression: "GeneratorExpression", Identifier: "Identifier", IfStatement: "IfStatement", ImportExpression: "ImportExpression", ImportDeclaration: "ImportDeclaration", ImportDefaultSpecifier: "ImportDefaultSpecifier", ImportNamespaceSpecifier: "ImportNamespaceSpecifier", ImportSpecifier: "ImportSpecifier", Literal: "Literal", LabeledStatement: "LabeledStatement", LogicalExpression: "LogicalExpression", MemberExpression: "MemberExpression", MetaProperty: "MetaProperty", MethodDefinition: "MethodDefinition", ModuleSpecifier: "ModuleSpecifier", NewExpression: "NewExpression", ObjectExpression: "ObjectExpression", ObjectPattern: "ObjectPattern", PrivateIdentifier: "PrivateIdentifier", Program: "Program", Property: "Property", PropertyDefinition: "PropertyDefinition", RestElement: "RestElement", ReturnStatement: "ReturnStatement", SequenceExpression: "SequenceExpression", SpreadElement: "SpreadElement", Super: "Super", SwitchStatement: "SwitchStatement", SwitchCase: "SwitchCase", TaggedTemplateExpression: "TaggedTemplateExpression", TemplateElement: "TemplateElement", TemplateLiteral: "TemplateLiteral", ThisExpression: "ThisExpression", ThrowStatement: "ThrowStatement", TryStatement: "TryStatement", UnaryExpression: "UnaryExpression", UpdateExpression: "UpdateExpression", VariableDeclaration: "VariableDeclaration", VariableDeclarator: "VariableDeclarator", WhileStatement: "WhileStatement", WithStatement: "WithStatement", YieldExpression: "YieldExpression" }, o2 = { AssignmentExpression: ["left", "right"], AssignmentPattern: ["left", "right"], ArrayExpression: ["elements"], ArrayPattern: ["elements"], ArrowFunctionExpression: ["params", "body"], AwaitExpression: ["argument"], BlockStatement: ["body"], BinaryExpression: ["left", "right"], BreakStatement: ["label"], CallExpression: ["callee", "arguments"], CatchClause: ["param", "body"], ChainExpression: ["expression"], ClassBody: ["body"], ClassDeclaration: ["id", "superClass", "body"], ClassExpression: ["id", "superClass", "body"], ComprehensionBlock: ["left", "right"], ComprehensionExpression: ["blocks", "filter", "body"], ConditionalExpression: ["test", "consequent", "alternate"], ContinueStatement: ["label"], DebuggerStatement: [], DirectiveStatement: [], DoWhileStatement: ["body", "test"], EmptyStatement: [], ExportAllDeclaration: ["source"], ExportDefaultDeclaration: ["declaration"], ExportNamedDeclaration: ["declaration", "specifiers", "source"], ExportSpecifier: ["exported", "local"], ExpressionStatement: ["expression"], ForStatement: ["init", "test", "update", "body"], ForInStatement: ["left", "right", "body"], ForOfStatement: ["left", "right", "body"], FunctionDeclaration: ["id", "params", "body"], FunctionExpression: ["id", "params", "body"], GeneratorExpression: ["blocks", "filter", "body"], Identifier: [], IfStatement: ["test", "consequent", "alternate"], ImportExpression: ["source"], ImportDeclaration: ["specifiers", "source"], ImportDefaultSpecifier: ["local"], ImportNamespaceSpecifier: ["local"], ImportSpecifier: ["imported", "local"], Literal: [], LabeledStatement: ["label", "body"], LogicalExpression: ["left", "right"], MemberExpression: ["object", "property"], MetaProperty: ["meta", "property"], MethodDefinition: ["key", "value"], ModuleSpecifier: [], NewExpression: ["callee", "arguments"], ObjectExpression: ["properties"], ObjectPattern: ["properties"], PrivateIdentifier: [], Program: ["body"], Property: ["key", "value"], PropertyDefinition: ["key", "value"], RestElement: ["argument"], ReturnStatement: ["argument"], SequenceExpression: ["expressions"], SpreadElement: ["argument"], Super: [], SwitchStatement: ["discriminant", "cases"], SwitchCase: ["test", "consequent"], TaggedTemplateExpression: ["tag", "quasi"], TemplateElement: [], TemplateLiteral: ["quasis", "expressions"], ThisExpression: [], ThrowStatement: ["argument"], TryStatement: ["block", "handler", "finalizer"], UnaryExpression: ["argument"], UpdateExpression: ["argument"], VariableDeclaration: ["declarations"], VariableDeclarator: ["id", "init"], WhileStatement: ["test", "body"], WithStatement: ["object", "body"], YieldExpression: ["argument"] }, n2 = { Break: a2 = {}, Skip: i2 = {}, Remove: s2 = {} }, l2.prototype.replace = function(e4) {
this.parent[this.key] = e4;
@@ -32634,23 +32668,17 @@ var require_esquery_min = __commonJS({
}, f2.prototype.path = function() {
var e4, t4, r3, n3, o3;
function a3(e5, t5) {
- if (Array.isArray(t5))
- for (r3 = 0, n3 = t5.length; r3 < n3; ++r3)
- e5.push(t5[r3]);
- else
- e5.push(t5);
+ if (Array.isArray(t5)) for (r3 = 0, n3 = t5.length; r3 < n3; ++r3) e5.push(t5[r3]);
+ else e5.push(t5);
}
- if (!this.__current.path)
- return null;
- for (o3 = [], e4 = 2, t4 = this.__leavelist.length; e4 < t4; ++e4)
- a3(o3, this.__leavelist[e4].path);
+ if (!this.__current.path) return null;
+ for (o3 = [], e4 = 2, t4 = this.__leavelist.length; e4 < t4; ++e4) a3(o3, this.__leavelist[e4].path);
return a3(o3, this.__current.path), o3;
}, f2.prototype.type = function() {
return this.current().type || this.__current.wrap;
}, f2.prototype.parents = function() {
var e4, t4, r3;
- for (r3 = [], e4 = 1, t4 = this.__leavelist.length; e4 < t4; ++e4)
- r3.push(this.__leavelist[e4].node);
+ for (r3 = [], e4 = 1, t4 = this.__leavelist.length; e4 < t4; ++e4) r3.push(this.__leavelist[e4].node);
return r3;
}, f2.prototype.current = function() {
return this.__current.node;
@@ -32669,130 +32697,102 @@ var require_esquery_min = __commonJS({
this.visitor = t4, this.root = e4, this.__worklist = [], this.__leavelist = [], this.__current = null, this.__state = null, this.__fallback = null, "iteration" === t4.fallback ? this.__fallback = Object.keys : "function" == typeof t4.fallback && (this.__fallback = t4.fallback), this.__keys = o2, t4.keys && (this.__keys = Object.assign(Object.create(this.__keys), t4.keys));
}, f2.prototype.traverse = function(e4, t4) {
var r3, n3, o3, s3, u3, l3, f3, d3, m3, x2, v2, g2;
- for (this.__initialize(e4, t4), g2 = {}, r3 = this.__worklist, n3 = this.__leavelist, r3.push(new c2(e4, null, null, null)), n3.push(new c2(null, null, null, null)); r3.length; )
- if ((o3 = r3.pop()) !== g2) {
- if (o3.node) {
- if (l3 = this.__execute(t4.enter, o3), this.__state === a2 || l3 === a2)
- return;
- if (r3.push(g2), n3.push(o3), this.__state === i2 || l3 === i2)
- continue;
- if (u3 = (s3 = o3.node).type || o3.wrap, !(x2 = this.__keys[u3])) {
- if (!this.__fallback)
- throw new Error("Unknown node type " + u3 + ".");
- x2 = this.__fallback(s3);
- }
- for (d3 = x2.length; (d3 -= 1) >= 0; )
- if (v2 = s3[f3 = x2[d3]]) {
- if (Array.isArray(v2)) {
- for (m3 = v2.length; (m3 -= 1) >= 0; )
- if (v2[m3] && !y2(n3, v2[m3])) {
- if (h2(u3, x2[d3]))
- o3 = new c2(v2[m3], [f3, m3], "Property", null);
- else {
- if (!p2(v2[m3]))
- continue;
- o3 = new c2(v2[m3], [f3, m3], null, null);
- }
- r3.push(o3);
- }
- } else if (p2(v2)) {
- if (y2(n3, v2))
- continue;
- r3.push(new c2(v2, f3, null, null));
+ for (this.__initialize(e4, t4), g2 = {}, r3 = this.__worklist, n3 = this.__leavelist, r3.push(new c2(e4, null, null, null)), n3.push(new c2(null, null, null, null)); r3.length; ) if ((o3 = r3.pop()) !== g2) {
+ if (o3.node) {
+ if (l3 = this.__execute(t4.enter, o3), this.__state === a2 || l3 === a2) return;
+ if (r3.push(g2), n3.push(o3), this.__state === i2 || l3 === i2) continue;
+ if (u3 = (s3 = o3.node).type || o3.wrap, !(x2 = this.__keys[u3])) {
+ if (!this.__fallback) throw new Error("Unknown node type " + u3 + ".");
+ x2 = this.__fallback(s3);
+ }
+ for (d3 = x2.length; (d3 -= 1) >= 0; ) if (v2 = s3[f3 = x2[d3]]) {
+ if (Array.isArray(v2)) {
+ for (m3 = v2.length; (m3 -= 1) >= 0; ) if (v2[m3] && !y2(n3, v2[m3])) {
+ if (h2(u3, x2[d3])) o3 = new c2(v2[m3], [f3, m3], "Property", null);
+ else {
+ if (!p2(v2[m3])) continue;
+ o3 = new c2(v2[m3], [f3, m3], null, null);
}
+ r3.push(o3);
}
+ } else if (p2(v2)) {
+ if (y2(n3, v2)) continue;
+ r3.push(new c2(v2, f3, null, null));
+ }
}
- } else if (o3 = n3.pop(), l3 = this.__execute(t4.leave, o3), this.__state === a2 || l3 === a2)
- return;
+ }
+ } else if (o3 = n3.pop(), l3 = this.__execute(t4.leave, o3), this.__state === a2 || l3 === a2) return;
}, f2.prototype.replace = function(e4, t4) {
var r3, n3, o3, u3, f3, y3, d3, m3, x2, v2, g2, A2, E;
function b(e5) {
var t5, n4, o4, a3;
if (e5.ref.remove()) {
- for (n4 = e5.ref.key, a3 = e5.ref.parent, t5 = r3.length; t5--; )
- if ((o4 = r3[t5]).ref && o4.ref.parent === a3) {
- if (o4.ref.key < n4)
- break;
- --o4.ref.key;
- }
+ for (n4 = e5.ref.key, a3 = e5.ref.parent, t5 = r3.length; t5--; ) if ((o4 = r3[t5]).ref && o4.ref.parent === a3) {
+ if (o4.ref.key < n4) break;
+ --o4.ref.key;
+ }
}
}
- for (this.__initialize(e4, t4), g2 = {}, r3 = this.__worklist, n3 = this.__leavelist, y3 = new c2(e4, null, null, new l2(A2 = { root: e4 }, "root")), r3.push(y3), n3.push(y3); r3.length; )
- if ((y3 = r3.pop()) !== g2) {
- if (void 0 !== (f3 = this.__execute(t4.enter, y3)) && f3 !== a2 && f3 !== i2 && f3 !== s2 && (y3.ref.replace(f3), y3.node = f3), this.__state !== s2 && f3 !== s2 || (b(y3), y3.node = null), this.__state === a2 || f3 === a2)
- return A2.root;
- if ((o3 = y3.node) && (r3.push(g2), n3.push(y3), this.__state !== i2 && f3 !== i2)) {
- if (u3 = o3.type || y3.wrap, !(x2 = this.__keys[u3])) {
- if (!this.__fallback)
- throw new Error("Unknown node type " + u3 + ".");
- x2 = this.__fallback(o3);
- }
- for (d3 = x2.length; (d3 -= 1) >= 0; )
- if (v2 = o3[E = x2[d3]])
- if (Array.isArray(v2)) {
- for (m3 = v2.length; (m3 -= 1) >= 0; )
- if (v2[m3]) {
- if (h2(u3, x2[d3]))
- y3 = new c2(v2[m3], [E, m3], "Property", new l2(v2, m3));
- else {
- if (!p2(v2[m3]))
- continue;
- y3 = new c2(v2[m3], [E, m3], null, new l2(v2, m3));
- }
- r3.push(y3);
- }
- } else
- p2(v2) && r3.push(new c2(v2, E, null, new l2(o3, E)));
+ for (this.__initialize(e4, t4), g2 = {}, r3 = this.__worklist, n3 = this.__leavelist, y3 = new c2(e4, null, null, new l2(A2 = { root: e4 }, "root")), r3.push(y3), n3.push(y3); r3.length; ) if ((y3 = r3.pop()) !== g2) {
+ if (void 0 !== (f3 = this.__execute(t4.enter, y3)) && f3 !== a2 && f3 !== i2 && f3 !== s2 && (y3.ref.replace(f3), y3.node = f3), this.__state !== s2 && f3 !== s2 || (b(y3), y3.node = null), this.__state === a2 || f3 === a2) return A2.root;
+ if ((o3 = y3.node) && (r3.push(g2), n3.push(y3), this.__state !== i2 && f3 !== i2)) {
+ if (u3 = o3.type || y3.wrap, !(x2 = this.__keys[u3])) {
+ if (!this.__fallback) throw new Error("Unknown node type " + u3 + ".");
+ x2 = this.__fallback(o3);
}
- } else if (y3 = n3.pop(), void 0 !== (f3 = this.__execute(t4.leave, y3)) && f3 !== a2 && f3 !== i2 && f3 !== s2 && y3.ref.replace(f3), this.__state !== s2 && f3 !== s2 || b(y3), this.__state === a2 || f3 === a2)
- return A2.root;
+ for (d3 = x2.length; (d3 -= 1) >= 0; ) if (v2 = o3[E = x2[d3]]) if (Array.isArray(v2)) {
+ for (m3 = v2.length; (m3 -= 1) >= 0; ) if (v2[m3]) {
+ if (h2(u3, x2[d3])) y3 = new c2(v2[m3], [E, m3], "Property", new l2(v2, m3));
+ else {
+ if (!p2(v2[m3])) continue;
+ y3 = new c2(v2[m3], [E, m3], null, new l2(v2, m3));
+ }
+ r3.push(y3);
+ }
+ } else p2(v2) && r3.push(new c2(v2, E, null, new l2(o3, E)));
+ }
+ } else if (y3 = n3.pop(), void 0 !== (f3 = this.__execute(t4.leave, y3)) && f3 !== a2 && f3 !== i2 && f3 !== s2 && y3.ref.replace(f3), this.__state !== s2 && f3 !== s2 || b(y3), this.__state === a2 || f3 === a2) return A2.root;
return A2.root;
}, t3.Syntax = r2, t3.traverse = d2, t3.replace = function(e4, t4) {
return new f2().replace(e4, t4);
}, t3.attachComments = function(e4, t4, r3) {
var o3, a3, i3, s3, l3 = [];
- if (!e4.range)
- throw new Error("attachComments needs range information");
+ if (!e4.range) throw new Error("attachComments needs range information");
if (!r3.length) {
if (t4.length) {
- for (i3 = 0, a3 = t4.length; i3 < a3; i3 += 1)
- (o3 = u2(t4[i3])).extendedRange = [0, e4.range[0]], l3.push(o3);
+ for (i3 = 0, a3 = t4.length; i3 < a3; i3 += 1) (o3 = u2(t4[i3])).extendedRange = [0, e4.range[0]], l3.push(o3);
e4.leadingComments = l3;
}
return e4;
}
- for (i3 = 0, a3 = t4.length; i3 < a3; i3 += 1)
- l3.push(m2(u2(t4[i3]), r3));
+ for (i3 = 0, a3 = t4.length; i3 < a3; i3 += 1) l3.push(m2(u2(t4[i3]), r3));
return s3 = 0, d2(e4, { enter: function(e5) {
- for (var t5; s3 < l3.length && !((t5 = l3[s3]).extendedRange[1] > e5.range[0]); )
- t5.extendedRange[1] === e5.range[0] ? (e5.leadingComments || (e5.leadingComments = []), e5.leadingComments.push(t5), l3.splice(s3, 1)) : s3 += 1;
+ for (var t5; s3 < l3.length && !((t5 = l3[s3]).extendedRange[1] > e5.range[0]); ) t5.extendedRange[1] === e5.range[0] ? (e5.leadingComments || (e5.leadingComments = []), e5.leadingComments.push(t5), l3.splice(s3, 1)) : s3 += 1;
return s3 === l3.length ? n2.Break : l3[s3].extendedRange[0] > e5.range[1] ? n2.Skip : void 0;
} }), s3 = 0, d2(e4, { leave: function(e5) {
- for (var t5; s3 < l3.length && (t5 = l3[s3], !(e5.range[1] < t5.extendedRange[0])); )
- e5.range[1] === t5.extendedRange[0] ? (e5.trailingComments || (e5.trailingComments = []), e5.trailingComments.push(t5), l3.splice(s3, 1)) : s3 += 1;
+ for (var t5; s3 < l3.length && (t5 = l3[s3], !(e5.range[1] < t5.extendedRange[0])); ) e5.range[1] === t5.extendedRange[0] ? (e5.trailingComments || (e5.trailingComments = []), e5.trailingComments.push(t5), l3.splice(s3, 1)) : s3 += 1;
return s3 === l3.length ? n2.Break : l3[s3].extendedRange[0] > e5.range[1] ? n2.Skip : void 0;
} }), e4;
}, t3.VisitorKeys = o2, t3.VisitorOption = n2, t3.Controller = f2, t3.cloneEnvironment = function() {
return e3({});
}, t3;
- }(t2);
- }), s = a(function(e2) {
- e2.exports && (e2.exports = function() {
+ })(t2);
+ })), s = a((function(e2) {
+ e2.exports && (e2.exports = (function() {
function e3(t2, r2, n2, o2) {
this.message = t2, this.expected = r2, this.found = n2, this.location = o2, this.name = "SyntaxError", "function" == typeof Error.captureStackTrace && Error.captureStackTrace(this, e3);
}
- return function(e4, t2) {
+ return (function(e4, t2) {
function r2() {
this.constructor = e4;
}
r2.prototype = t2.prototype, e4.prototype = new r2();
- }(e3, Error), e3.buildMessage = function(e4, t2) {
+ })(e3, Error), e3.buildMessage = function(e4, t2) {
var r2 = { literal: function(e5) {
return '"' + o2(e5.text) + '"';
}, class: function(e5) {
var t3, r3 = "";
- for (t3 = 0; t3 < e5.parts.length; t3++)
- r3 += e5.parts[t3] instanceof Array ? a2(e5.parts[t3][0]) + "-" + a2(e5.parts[t3][1]) : a2(e5.parts[t3]);
+ for (t3 = 0; t3 < e5.parts.length; t3++) r3 += e5.parts[t3] instanceof Array ? a2(e5.parts[t3][0]) + "-" + a2(e5.parts[t3][1]) : a2(e5.parts[t3]);
return "[" + (e5.inverted ? "^" : "") + r3 + "]";
}, any: function(e5) {
return "any character";
@@ -32805,26 +32805,24 @@ var require_esquery_min = __commonJS({
return e5.charCodeAt(0).toString(16).toUpperCase();
}
function o2(e5) {
- return e5.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\0/g, "\\0").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/[\x00-\x0F]/g, function(e6) {
+ return e5.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\0/g, "\\0").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/[\x00-\x0F]/g, (function(e6) {
return "\\x0" + n2(e6);
- }).replace(/[\x10-\x1F\x7F-\x9F]/g, function(e6) {
+ })).replace(/[\x10-\x1F\x7F-\x9F]/g, (function(e6) {
return "\\x" + n2(e6);
- });
+ }));
}
function a2(e5) {
- return e5.replace(/\\/g, "\\\\").replace(/\]/g, "\\]").replace(/\^/g, "\\^").replace(/-/g, "\\-").replace(/\0/g, "\\0").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/[\x00-\x0F]/g, function(e6) {
+ return e5.replace(/\\/g, "\\\\").replace(/\]/g, "\\]").replace(/\^/g, "\\^").replace(/-/g, "\\-").replace(/\0/g, "\\0").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/[\x00-\x0F]/g, (function(e6) {
return "\\x0" + n2(e6);
- }).replace(/[\x10-\x1F\x7F-\x9F]/g, function(e6) {
+ })).replace(/[\x10-\x1F\x7F-\x9F]/g, (function(e6) {
return "\\x" + n2(e6);
- });
+ }));
}
- return "Expected " + function(e5) {
+ return "Expected " + (function(e5) {
var t3, n3, o3, a3 = new Array(e5.length);
- for (t3 = 0; t3 < e5.length; t3++)
- a3[t3] = (o3 = e5[t3], r2[o3.type](o3));
+ for (t3 = 0; t3 < e5.length; t3++) a3[t3] = (o3 = e5[t3], r2[o3.type](o3));
if (a3.sort(), a3.length > 0) {
- for (t3 = 1, n3 = 1; t3 < a3.length; t3++)
- a3[t3 - 1] !== a3[t3] && (a3[n3] = a3[t3], n3++);
+ for (t3 = 1, n3 = 1; t3 < a3.length; t3++) a3[t3 - 1] !== a3[t3] && (a3[n3] = a3[t3], n3++);
a3.length = n3;
}
switch (a3.length) {
@@ -32835,9 +32833,9 @@ var require_esquery_min = __commonJS({
default:
return a3.slice(0, -1).join(", ") + ", or " + a3[a3.length - 1];
}
- }(e4) + " but " + function(e5) {
+ })(e4) + " but " + (function(e5) {
return e5 ? '"' + o2(e5) + '"' : "end of input";
- }(t2) + " found.";
+ })(t2) + " found.";
}, { SyntaxError: e3, parse: function(t2, r2) {
r2 = void 0 !== r2 ? r2 : {};
var n2, o2, a2, i2, s2 = {}, u2 = { start: de }, l2 = de, c2 = ce(" ", false), f2 = /^[^ [\],():#!=><~+.]/, p2 = fe([" ", "[", "]", ",", "(", ")", ":", "#", "!", "=", ">", "<", "~", "+", "."], true, false), h2 = ce(">", false), y2 = ce("~", false), d2 = ce("+", false), m2 = ce(",", false), x2 = ce("!", false), v2 = ce("*", false), g2 = ce("#", false), A2 = ce("[", false), E = ce("]", false), b = /^[>", "<", "!"], false, false), _ = ce("=", false), C = function(e4) {
@@ -32847,7 +32845,7 @@ var require_esquery_min = __commonJS({
}, I = ce('"', false), j = /^[^\\"]/, T = fe(["\\", '"'], true, false), F = ce("\\", false), R = { type: "any" }, O = function(e4, t3) {
return e4 + t3;
}, L = function(e4) {
- return { type: "literal", value: (t3 = e4.join(""), t3.replace(/\\(.)/g, function(e5, t4) {
+ return { type: "literal", value: (t3 = e4.join(""), t3.replace(/\\(.)/g, (function(e5, t4) {
switch (t4) {
case "b":
return "\b";
@@ -32864,12 +32862,11 @@ var require_esquery_min = __commonJS({
default:
return t4;
}
- })) };
+ }))) };
var t3;
}, M = ce("'", false), B = /^[^\\']/, U = fe(["\\", "'"], true, false), K = /^[0-9]/, W = fe([["0", "9"]], false, false), q = ce("type(", false), V = /^[^ )]/, N = fe([" ", ")"], true, false), G = ce(")", false), z = /^[imsu]/, H = fe(["i", "m", "s", "u"], false, false), Y = ce("/", false), $ = /^[^\/]/, J = fe(["/"], true, false), Q = ce(":not(", false), X = ce(":matches(", false), Z = ce(":has(", false), ee = ce(":first-child", false), te = ce(":last-child", false), re = ce(":nth-child(", false), ne = ce(":nth-last-child(", false), oe = ce(":", false), ae = 0, ie = [{ line: 1, column: 1 }], se = 0, ue = [], le = {};
if ("startRule" in r2) {
- if (!(r2.startRule in u2))
- throw new Error(`Can't start parsing from rule "` + r2.startRule + '".');
+ if (!(r2.startRule in u2)) throw new Error(`Can't start parsing from rule "` + r2.startRule + '".');
l2 = u2[r2.startRule];
}
function ce(e4, t3) {
@@ -32880,12 +32877,9 @@ var require_esquery_min = __commonJS({
}
function pe(e4) {
var r3, n3 = ie[e4];
- if (n3)
- return n3;
- for (r3 = e4 - 1; !ie[r3]; )
- r3--;
- for (n3 = { line: (n3 = ie[r3]).line, column: n3.column }; r3 < e4; )
- 10 === t2.charCodeAt(r3) ? (n3.line++, n3.column = 1) : n3.column++, r3++;
+ if (n3) return n3;
+ for (r3 = e4 - 1; !ie[r3]; ) r3--;
+ for (n3 = { line: (n3 = ie[r3]).line, column: n3.column }; r3 < e4; ) 10 === t2.charCodeAt(r3) ? (n3.line++, n3.column = 1) : n3.column++, r3++;
return ie[e4] = n3, n3;
}
function he(e4, t3) {
@@ -32901,21 +32895,15 @@ var require_esquery_min = __commonJS({
}
function me() {
var e4, r3, n3 = 30 * ae + 1, o3 = le[n3];
- if (o3)
- return ae = o3.nextPos, o3.result;
- for (e4 = [], 32 === t2.charCodeAt(ae) ? (r3 = " ", ae++) : (r3 = s2, ye(c2)); r3 !== s2; )
- e4.push(r3), 32 === t2.charCodeAt(ae) ? (r3 = " ", ae++) : (r3 = s2, ye(c2));
+ if (o3) return ae = o3.nextPos, o3.result;
+ for (e4 = [], 32 === t2.charCodeAt(ae) ? (r3 = " ", ae++) : (r3 = s2, ye(c2)); r3 !== s2; ) e4.push(r3), 32 === t2.charCodeAt(ae) ? (r3 = " ", ae++) : (r3 = s2, ye(c2));
return le[n3] = { nextPos: ae, result: e4 }, e4;
}
function xe() {
var e4, r3, n3, o3 = 30 * ae + 2, a3 = le[o3];
- if (a3)
- return ae = a3.nextPos, a3.result;
- if (r3 = [], f2.test(t2.charAt(ae)) ? (n3 = t2.charAt(ae), ae++) : (n3 = s2, ye(p2)), n3 !== s2)
- for (; n3 !== s2; )
- r3.push(n3), f2.test(t2.charAt(ae)) ? (n3 = t2.charAt(ae), ae++) : (n3 = s2, ye(p2));
- else
- r3 = s2;
+ if (a3) return ae = a3.nextPos, a3.result;
+ if (r3 = [], f2.test(t2.charAt(ae)) ? (n3 = t2.charAt(ae), ae++) : (n3 = s2, ye(p2)), n3 !== s2) for (; n3 !== s2; ) r3.push(n3), f2.test(t2.charAt(ae)) ? (n3 = t2.charAt(ae), ae++) : (n3 = s2, ye(p2));
+ else r3 = s2;
return r3 !== s2 && (r3 = r3.join("")), e4 = r3, le[o3] = { nextPos: ae, result: e4 }, e4;
}
function ve() {
@@ -32924,225 +32912,164 @@ var require_esquery_min = __commonJS({
}
function ge() {
var e4, r3, n3, o3, a3, i3, u3, l3, c3 = 30 * ae + 4, f3 = le[c3];
- if (f3)
- return ae = f3.nextPos, f3.result;
+ if (f3) return ae = f3.nextPos, f3.result;
if (e4 = ae, (r3 = Ae()) !== s2) {
- for (n3 = [], o3 = ae, (a3 = me()) !== s2 ? (44 === t2.charCodeAt(ae) ? (i3 = ",", ae++) : (i3 = s2, ye(m2)), i3 !== s2 && (u3 = me()) !== s2 && (l3 = Ae()) !== s2 ? o3 = a3 = [a3, i3, u3, l3] : (ae = o3, o3 = s2)) : (ae = o3, o3 = s2); o3 !== s2; )
- n3.push(o3), o3 = ae, (a3 = me()) !== s2 ? (44 === t2.charCodeAt(ae) ? (i3 = ",", ae++) : (i3 = s2, ye(m2)), i3 !== s2 && (u3 = me()) !== s2 && (l3 = Ae()) !== s2 ? o3 = a3 = [a3, i3, u3, l3] : (ae = o3, o3 = s2)) : (ae = o3, o3 = s2);
- n3 !== s2 ? e4 = r3 = [r3].concat(n3.map(function(e5) {
+ for (n3 = [], o3 = ae, (a3 = me()) !== s2 ? (44 === t2.charCodeAt(ae) ? (i3 = ",", ae++) : (i3 = s2, ye(m2)), i3 !== s2 && (u3 = me()) !== s2 && (l3 = Ae()) !== s2 ? o3 = a3 = [a3, i3, u3, l3] : (ae = o3, o3 = s2)) : (ae = o3, o3 = s2); o3 !== s2; ) n3.push(o3), o3 = ae, (a3 = me()) !== s2 ? (44 === t2.charCodeAt(ae) ? (i3 = ",", ae++) : (i3 = s2, ye(m2)), i3 !== s2 && (u3 = me()) !== s2 && (l3 = Ae()) !== s2 ? o3 = a3 = [a3, i3, u3, l3] : (ae = o3, o3 = s2)) : (ae = o3, o3 = s2);
+ n3 !== s2 ? e4 = r3 = [r3].concat(n3.map((function(e5) {
return e5[3];
- })) : (ae = e4, e4 = s2);
- } else
- ae = e4, e4 = s2;
+ }))) : (ae = e4, e4 = s2);
+ } else ae = e4, e4 = s2;
return le[c3] = { nextPos: ae, result: e4 }, e4;
}
function Ae() {
var e4, t3, r3, n3, o3, a3, i3, u3 = 30 * ae + 5, l3 = le[u3];
- if (l3)
- return ae = l3.nextPos, l3.result;
+ if (l3) return ae = l3.nextPos, l3.result;
if (e4 = ae, (t3 = Ee()) !== s2) {
- for (r3 = [], n3 = ae, (o3 = ve()) !== s2 && (a3 = Ee()) !== s2 ? n3 = o3 = [o3, a3] : (ae = n3, n3 = s2); n3 !== s2; )
- r3.push(n3), n3 = ae, (o3 = ve()) !== s2 && (a3 = Ee()) !== s2 ? n3 = o3 = [o3, a3] : (ae = n3, n3 = s2);
- r3 !== s2 ? (i3 = t3, e4 = t3 = r3.reduce(function(e5, t4) {
+ for (r3 = [], n3 = ae, (o3 = ve()) !== s2 && (a3 = Ee()) !== s2 ? n3 = o3 = [o3, a3] : (ae = n3, n3 = s2); n3 !== s2; ) r3.push(n3), n3 = ae, (o3 = ve()) !== s2 && (a3 = Ee()) !== s2 ? n3 = o3 = [o3, a3] : (ae = n3, n3 = s2);
+ r3 !== s2 ? (i3 = t3, e4 = t3 = r3.reduce((function(e5, t4) {
return { type: t4[0], left: e5, right: t4[1] };
- }, i3)) : (ae = e4, e4 = s2);
- } else
- ae = e4, e4 = s2;
+ }), i3)) : (ae = e4, e4 = s2);
+ } else ae = e4, e4 = s2;
return le[u3] = { nextPos: ae, result: e4 }, e4;
}
function Ee() {
var e4, r3, n3, o3, a3, i3, u3, l3 = 30 * ae + 6, c3 = le[l3];
- if (c3)
- return ae = c3.nextPos, c3.result;
+ if (c3) return ae = c3.nextPos, c3.result;
if (e4 = ae, 33 === t2.charCodeAt(ae) ? (r3 = "!", ae++) : (r3 = s2, ye(x2)), r3 === s2 && (r3 = null), r3 !== s2) {
- if (n3 = [], (o3 = be()) !== s2)
- for (; o3 !== s2; )
- n3.push(o3), o3 = be();
- else
- n3 = s2;
+ if (n3 = [], (o3 = be()) !== s2) for (; o3 !== s2; ) n3.push(o3), o3 = be();
+ else n3 = s2;
n3 !== s2 ? (a3 = r3, u3 = 1 === (i3 = n3).length ? i3[0] : { type: "compound", selectors: i3 }, a3 && (u3.subject = true), e4 = r3 = u3) : (ae = e4, e4 = s2);
- } else
- ae = e4, e4 = s2;
+ } else ae = e4, e4 = s2;
return le[l3] = { nextPos: ae, result: e4 }, e4;
}
function be() {
var e4, r3 = 30 * ae + 7, n3 = le[r3];
- return n3 ? (ae = n3.nextPos, n3.result) : ((e4 = function() {
+ return n3 ? (ae = n3.nextPos, n3.result) : ((e4 = (function() {
var e5, r4, n4 = 30 * ae + 8, o3 = le[n4];
return o3 ? (ae = o3.nextPos, o3.result) : (42 === t2.charCodeAt(ae) ? (r4 = "*", ae++) : (r4 = s2, ye(v2)), r4 !== s2 && (r4 = { type: "wildcard", value: r4 }), e5 = r4, le[n4] = { nextPos: ae, result: e5 }, e5);
- }()) === s2 && (e4 = function() {
+ })()) === s2 && (e4 = (function() {
var e5, r4, n4, o3 = 30 * ae + 9, a3 = le[o3];
return a3 ? (ae = a3.nextPos, a3.result) : (e5 = ae, 35 === t2.charCodeAt(ae) ? (r4 = "#", ae++) : (r4 = s2, ye(g2)), r4 === s2 && (r4 = null), r4 !== s2 && (n4 = xe()) !== s2 ? e5 = r4 = { type: "identifier", value: n4 } : (ae = e5, e5 = s2), le[o3] = { nextPos: ae, result: e5 }, e5);
- }()) === s2 && (e4 = function() {
+ })()) === s2 && (e4 = (function() {
var e5, r4, n4, o3, a3 = 30 * ae + 10, i3 = le[a3];
- return i3 ? (ae = i3.nextPos, i3.result) : (e5 = ae, 91 === t2.charCodeAt(ae) ? (r4 = "[", ae++) : (r4 = s2, ye(A2)), r4 !== s2 && me() !== s2 && (n4 = function() {
+ return i3 ? (ae = i3.nextPos, i3.result) : (e5 = ae, 91 === t2.charCodeAt(ae) ? (r4 = "[", ae++) : (r4 = s2, ye(A2)), r4 !== s2 && me() !== s2 && (n4 = (function() {
var e6, r5, n5, o4, a4 = 30 * ae + 14, i4 = le[a4];
- return i4 ? (ae = i4.nextPos, i4.result) : (e6 = ae, (r5 = Se()) !== s2 && me() !== s2 && (n5 = function() {
+ return i4 ? (ae = i4.nextPos, i4.result) : (e6 = ae, (r5 = Se()) !== s2 && me() !== s2 && (n5 = (function() {
var e7, r6, n6, o5 = 30 * ae + 12, a5 = le[o5];
return a5 ? (ae = a5.nextPos, a5.result) : (e7 = ae, 33 === t2.charCodeAt(ae) ? (r6 = "!", ae++) : (r6 = s2, ye(x2)), r6 === s2 && (r6 = null), r6 !== s2 ? (61 === t2.charCodeAt(ae) ? (n6 = "=", ae++) : (n6 = s2, ye(_)), n6 !== s2 ? (r6 = C(r6), e7 = r6) : (ae = e7, e7 = s2)) : (ae = e7, e7 = s2), le[o5] = { nextPos: ae, result: e7 }, e7);
- }()) !== s2 && me() !== s2 ? ((o4 = function() {
+ })()) !== s2 && me() !== s2 ? ((o4 = (function() {
var e7, r6, n6, o5, a5, i5 = 30 * ae + 18, u3 = le[i5];
- if (u3)
- return ae = u3.nextPos, u3.result;
- if (e7 = ae, "type(" === t2.substr(ae, 5) ? (r6 = "type(", ae += 5) : (r6 = s2, ye(q)), r6 !== s2)
- if (me() !== s2) {
- if (n6 = [], V.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(N)), o5 !== s2)
- for (; o5 !== s2; )
- n6.push(o5), V.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(N));
- else
- n6 = s2;
- n6 !== s2 && (o5 = me()) !== s2 ? (41 === t2.charCodeAt(ae) ? (a5 = ")", ae++) : (a5 = s2, ye(G)), a5 !== s2 ? (r6 = { type: "type", value: n6.join("") }, e7 = r6) : (ae = e7, e7 = s2)) : (ae = e7, e7 = s2);
- } else
- ae = e7, e7 = s2;
- else
- ae = e7, e7 = s2;
+ if (u3) return ae = u3.nextPos, u3.result;
+ if (e7 = ae, "type(" === t2.substr(ae, 5) ? (r6 = "type(", ae += 5) : (r6 = s2, ye(q)), r6 !== s2) if (me() !== s2) {
+ if (n6 = [], V.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(N)), o5 !== s2) for (; o5 !== s2; ) n6.push(o5), V.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(N));
+ else n6 = s2;
+ n6 !== s2 && (o5 = me()) !== s2 ? (41 === t2.charCodeAt(ae) ? (a5 = ")", ae++) : (a5 = s2, ye(G)), a5 !== s2 ? (r6 = { type: "type", value: n6.join("") }, e7 = r6) : (ae = e7, e7 = s2)) : (ae = e7, e7 = s2);
+ } else ae = e7, e7 = s2;
+ else ae = e7, e7 = s2;
return le[i5] = { nextPos: ae, result: e7 }, e7;
- }()) === s2 && (o4 = function() {
+ })()) === s2 && (o4 = (function() {
var e7, r6, n6, o5, a5, i5, u3 = 30 * ae + 20, l3 = le[u3];
- if (l3)
- return ae = l3.nextPos, l3.result;
+ if (l3) return ae = l3.nextPos, l3.result;
if (e7 = ae, 47 === t2.charCodeAt(ae) ? (r6 = "/", ae++) : (r6 = s2, ye(Y)), r6 !== s2) {
- if (n6 = [], $.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(J)), o5 !== s2)
- for (; o5 !== s2; )
- n6.push(o5), $.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(J));
- else
- n6 = s2;
- n6 !== s2 ? (47 === t2.charCodeAt(ae) ? (o5 = "/", ae++) : (o5 = s2, ye(Y)), o5 !== s2 ? ((a5 = function() {
+ if (n6 = [], $.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(J)), o5 !== s2) for (; o5 !== s2; ) n6.push(o5), $.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(J));
+ else n6 = s2;
+ n6 !== s2 ? (47 === t2.charCodeAt(ae) ? (o5 = "/", ae++) : (o5 = s2, ye(Y)), o5 !== s2 ? ((a5 = (function() {
var e8, r7, n7 = 30 * ae + 19, o6 = le[n7];
- if (o6)
- return ae = o6.nextPos, o6.result;
- if (e8 = [], z.test(t2.charAt(ae)) ? (r7 = t2.charAt(ae), ae++) : (r7 = s2, ye(H)), r7 !== s2)
- for (; r7 !== s2; )
- e8.push(r7), z.test(t2.charAt(ae)) ? (r7 = t2.charAt(ae), ae++) : (r7 = s2, ye(H));
- else
- e8 = s2;
+ if (o6) return ae = o6.nextPos, o6.result;
+ if (e8 = [], z.test(t2.charAt(ae)) ? (r7 = t2.charAt(ae), ae++) : (r7 = s2, ye(H)), r7 !== s2) for (; r7 !== s2; ) e8.push(r7), z.test(t2.charAt(ae)) ? (r7 = t2.charAt(ae), ae++) : (r7 = s2, ye(H));
+ else e8 = s2;
return le[n7] = { nextPos: ae, result: e8 }, e8;
- }()) === s2 && (a5 = null), a5 !== s2 ? (i5 = a5, r6 = { type: "regexp", value: new RegExp(n6.join(""), i5 ? i5.join("") : "") }, e7 = r6) : (ae = e7, e7 = s2)) : (ae = e7, e7 = s2)) : (ae = e7, e7 = s2);
- } else
- ae = e7, e7 = s2;
+ })()) === s2 && (a5 = null), a5 !== s2 ? (i5 = a5, r6 = { type: "regexp", value: new RegExp(n6.join(""), i5 ? i5.join("") : "") }, e7 = r6) : (ae = e7, e7 = s2)) : (ae = e7, e7 = s2)) : (ae = e7, e7 = s2);
+ } else ae = e7, e7 = s2;
return le[u3] = { nextPos: ae, result: e7 }, e7;
- }()), o4 !== s2 ? (r5 = D(r5, n5, o4), e6 = r5) : (ae = e6, e6 = s2)) : (ae = e6, e6 = s2), e6 === s2 && (e6 = ae, (r5 = Se()) !== s2 && me() !== s2 && (n5 = function() {
+ })()), o4 !== s2 ? (r5 = D(r5, n5, o4), e6 = r5) : (ae = e6, e6 = s2)) : (ae = e6, e6 = s2), e6 === s2 && (e6 = ae, (r5 = Se()) !== s2 && me() !== s2 && (n5 = (function() {
var e7, r6, n6, o5 = 30 * ae + 11, a5 = le[o5];
return a5 ? (ae = a5.nextPos, a5.result) : (e7 = ae, b.test(t2.charAt(ae)) ? (r6 = t2.charAt(ae), ae++) : (r6 = s2, ye(S)), r6 === s2 && (r6 = null), r6 !== s2 ? (61 === t2.charCodeAt(ae) ? (n6 = "=", ae++) : (n6 = s2, ye(_)), n6 !== s2 ? (r6 = C(r6), e7 = r6) : (ae = e7, e7 = s2)) : (ae = e7, e7 = s2), e7 === s2 && (w.test(t2.charAt(ae)) ? (e7 = t2.charAt(ae), ae++) : (e7 = s2, ye(P))), le[o5] = { nextPos: ae, result: e7 }, e7);
- }()) !== s2 && me() !== s2 ? ((o4 = function() {
+ })()) !== s2 && me() !== s2 ? ((o4 = (function() {
var e7, r6, n6, o5, a5, i5, u3 = 30 * ae + 15, l3 = le[u3];
- if (l3)
- return ae = l3.nextPos, l3.result;
+ if (l3) return ae = l3.nextPos, l3.result;
if (e7 = ae, 34 === t2.charCodeAt(ae) ? (r6 = '"', ae++) : (r6 = s2, ye(I)), r6 !== s2) {
- for (n6 = [], j.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(T)), o5 === s2 && (o5 = ae, 92 === t2.charCodeAt(ae) ? (a5 = "\\", ae++) : (a5 = s2, ye(F)), a5 !== s2 ? (t2.length > ae ? (i5 = t2.charAt(ae), ae++) : (i5 = s2, ye(R)), i5 !== s2 ? (a5 = O(a5, i5), o5 = a5) : (ae = o5, o5 = s2)) : (ae = o5, o5 = s2)); o5 !== s2; )
- n6.push(o5), j.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(T)), o5 === s2 && (o5 = ae, 92 === t2.charCodeAt(ae) ? (a5 = "\\", ae++) : (a5 = s2, ye(F)), a5 !== s2 ? (t2.length > ae ? (i5 = t2.charAt(ae), ae++) : (i5 = s2, ye(R)), i5 !== s2 ? (a5 = O(a5, i5), o5 = a5) : (ae = o5, o5 = s2)) : (ae = o5, o5 = s2));
+ for (n6 = [], j.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(T)), o5 === s2 && (o5 = ae, 92 === t2.charCodeAt(ae) ? (a5 = "\\", ae++) : (a5 = s2, ye(F)), a5 !== s2 ? (t2.length > ae ? (i5 = t2.charAt(ae), ae++) : (i5 = s2, ye(R)), i5 !== s2 ? (a5 = O(a5, i5), o5 = a5) : (ae = o5, o5 = s2)) : (ae = o5, o5 = s2)); o5 !== s2; ) n6.push(o5), j.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(T)), o5 === s2 && (o5 = ae, 92 === t2.charCodeAt(ae) ? (a5 = "\\", ae++) : (a5 = s2, ye(F)), a5 !== s2 ? (t2.length > ae ? (i5 = t2.charAt(ae), ae++) : (i5 = s2, ye(R)), i5 !== s2 ? (a5 = O(a5, i5), o5 = a5) : (ae = o5, o5 = s2)) : (ae = o5, o5 = s2));
n6 !== s2 ? (34 === t2.charCodeAt(ae) ? (o5 = '"', ae++) : (o5 = s2, ye(I)), o5 !== s2 ? (r6 = L(n6), e7 = r6) : (ae = e7, e7 = s2)) : (ae = e7, e7 = s2);
- } else
- ae = e7, e7 = s2;
- if (e7 === s2)
- if (e7 = ae, 39 === t2.charCodeAt(ae) ? (r6 = "'", ae++) : (r6 = s2, ye(M)), r6 !== s2) {
- for (n6 = [], B.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(U)), o5 === s2 && (o5 = ae, 92 === t2.charCodeAt(ae) ? (a5 = "\\", ae++) : (a5 = s2, ye(F)), a5 !== s2 ? (t2.length > ae ? (i5 = t2.charAt(ae), ae++) : (i5 = s2, ye(R)), i5 !== s2 ? (a5 = O(a5, i5), o5 = a5) : (ae = o5, o5 = s2)) : (ae = o5, o5 = s2)); o5 !== s2; )
- n6.push(o5), B.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(U)), o5 === s2 && (o5 = ae, 92 === t2.charCodeAt(ae) ? (a5 = "\\", ae++) : (a5 = s2, ye(F)), a5 !== s2 ? (t2.length > ae ? (i5 = t2.charAt(ae), ae++) : (i5 = s2, ye(R)), i5 !== s2 ? (a5 = O(a5, i5), o5 = a5) : (ae = o5, o5 = s2)) : (ae = o5, o5 = s2));
- n6 !== s2 ? (39 === t2.charCodeAt(ae) ? (o5 = "'", ae++) : (o5 = s2, ye(M)), o5 !== s2 ? (r6 = L(n6), e7 = r6) : (ae = e7, e7 = s2)) : (ae = e7, e7 = s2);
- } else
- ae = e7, e7 = s2;
+ } else ae = e7, e7 = s2;
+ if (e7 === s2) if (e7 = ae, 39 === t2.charCodeAt(ae) ? (r6 = "'", ae++) : (r6 = s2, ye(M)), r6 !== s2) {
+ for (n6 = [], B.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(U)), o5 === s2 && (o5 = ae, 92 === t2.charCodeAt(ae) ? (a5 = "\\", ae++) : (a5 = s2, ye(F)), a5 !== s2 ? (t2.length > ae ? (i5 = t2.charAt(ae), ae++) : (i5 = s2, ye(R)), i5 !== s2 ? (a5 = O(a5, i5), o5 = a5) : (ae = o5, o5 = s2)) : (ae = o5, o5 = s2)); o5 !== s2; ) n6.push(o5), B.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(U)), o5 === s2 && (o5 = ae, 92 === t2.charCodeAt(ae) ? (a5 = "\\", ae++) : (a5 = s2, ye(F)), a5 !== s2 ? (t2.length > ae ? (i5 = t2.charAt(ae), ae++) : (i5 = s2, ye(R)), i5 !== s2 ? (a5 = O(a5, i5), o5 = a5) : (ae = o5, o5 = s2)) : (ae = o5, o5 = s2));
+ n6 !== s2 ? (39 === t2.charCodeAt(ae) ? (o5 = "'", ae++) : (o5 = s2, ye(M)), o5 !== s2 ? (r6 = L(n6), e7 = r6) : (ae = e7, e7 = s2)) : (ae = e7, e7 = s2);
+ } else ae = e7, e7 = s2;
return le[u3] = { nextPos: ae, result: e7 }, e7;
- }()) === s2 && (o4 = function() {
+ })()) === s2 && (o4 = (function() {
var e7, r6, n6, o5, a5, i5, u3, l3 = 30 * ae + 16, c3 = le[l3];
- if (c3)
- return ae = c3.nextPos, c3.result;
- for (e7 = ae, r6 = ae, n6 = [], K.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(W)); o5 !== s2; )
- n6.push(o5), K.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(W));
+ if (c3) return ae = c3.nextPos, c3.result;
+ for (e7 = ae, r6 = ae, n6 = [], K.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(W)); o5 !== s2; ) n6.push(o5), K.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(W));
if (n6 !== s2 ? (46 === t2.charCodeAt(ae) ? (o5 = ".", ae++) : (o5 = s2, ye(k)), o5 !== s2 ? r6 = n6 = [n6, o5] : (ae = r6, r6 = s2)) : (ae = r6, r6 = s2), r6 === s2 && (r6 = null), r6 !== s2) {
- if (n6 = [], K.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(W)), o5 !== s2)
- for (; o5 !== s2; )
- n6.push(o5), K.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(W));
- else
- n6 = s2;
+ if (n6 = [], K.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(W)), o5 !== s2) for (; o5 !== s2; ) n6.push(o5), K.test(t2.charAt(ae)) ? (o5 = t2.charAt(ae), ae++) : (o5 = s2, ye(W));
+ else n6 = s2;
n6 !== s2 ? (i5 = n6, u3 = (a5 = r6) ? [].concat.apply([], a5).join("") : "", r6 = { type: "literal", value: parseFloat(u3 + i5.join("")) }, e7 = r6) : (ae = e7, e7 = s2);
- } else
- ae = e7, e7 = s2;
+ } else ae = e7, e7 = s2;
return le[l3] = { nextPos: ae, result: e7 }, e7;
- }()) === s2 && (o4 = function() {
+ })()) === s2 && (o4 = (function() {
var e7, t3, r6 = 30 * ae + 17, n6 = le[r6];
return n6 ? (ae = n6.nextPos, n6.result) : ((t3 = xe()) !== s2 && (t3 = { type: "literal", value: t3 }), e7 = t3, le[r6] = { nextPos: ae, result: e7 }, e7);
- }()), o4 !== s2 ? (r5 = D(r5, n5, o4), e6 = r5) : (ae = e6, e6 = s2)) : (ae = e6, e6 = s2), e6 === s2 && (e6 = ae, (r5 = Se()) !== s2 && (r5 = { type: "attribute", name: r5 }), e6 = r5)), le[a4] = { nextPos: ae, result: e6 }, e6);
- }()) !== s2 && me() !== s2 ? (93 === t2.charCodeAt(ae) ? (o3 = "]", ae++) : (o3 = s2, ye(E)), o3 !== s2 ? e5 = r4 = n4 : (ae = e5, e5 = s2)) : (ae = e5, e5 = s2), le[a3] = { nextPos: ae, result: e5 }, e5);
- }()) === s2 && (e4 = function() {
+ })()), o4 !== s2 ? (r5 = D(r5, n5, o4), e6 = r5) : (ae = e6, e6 = s2)) : (ae = e6, e6 = s2), e6 === s2 && (e6 = ae, (r5 = Se()) !== s2 && (r5 = { type: "attribute", name: r5 }), e6 = r5)), le[a4] = { nextPos: ae, result: e6 }, e6);
+ })()) !== s2 && me() !== s2 ? (93 === t2.charCodeAt(ae) ? (o3 = "]", ae++) : (o3 = s2, ye(E)), o3 !== s2 ? e5 = r4 = n4 : (ae = e5, e5 = s2)) : (ae = e5, e5 = s2), le[a3] = { nextPos: ae, result: e5 }, e5);
+ })()) === s2 && (e4 = (function() {
var e5, r4, n4, o3, a3, i3, u3, l3, c3 = 30 * ae + 21, f3 = le[c3];
- if (f3)
- return ae = f3.nextPos, f3.result;
- if (e5 = ae, 46 === t2.charCodeAt(ae) ? (r4 = ".", ae++) : (r4 = s2, ye(k)), r4 !== s2)
- if ((n4 = xe()) !== s2) {
- for (o3 = [], a3 = ae, 46 === t2.charCodeAt(ae) ? (i3 = ".", ae++) : (i3 = s2, ye(k)), i3 !== s2 && (u3 = xe()) !== s2 ? a3 = i3 = [i3, u3] : (ae = a3, a3 = s2); a3 !== s2; )
- o3.push(a3), a3 = ae, 46 === t2.charCodeAt(ae) ? (i3 = ".", ae++) : (i3 = s2, ye(k)), i3 !== s2 && (u3 = xe()) !== s2 ? a3 = i3 = [i3, u3] : (ae = a3, a3 = s2);
- o3 !== s2 ? (l3 = n4, r4 = { type: "field", name: o3.reduce(function(e6, t3) {
- return e6 + t3[0] + t3[1];
- }, l3) }, e5 = r4) : (ae = e5, e5 = s2);
- } else
- ae = e5, e5 = s2;
- else
- ae = e5, e5 = s2;
+ if (f3) return ae = f3.nextPos, f3.result;
+ if (e5 = ae, 46 === t2.charCodeAt(ae) ? (r4 = ".", ae++) : (r4 = s2, ye(k)), r4 !== s2) if ((n4 = xe()) !== s2) {
+ for (o3 = [], a3 = ae, 46 === t2.charCodeAt(ae) ? (i3 = ".", ae++) : (i3 = s2, ye(k)), i3 !== s2 && (u3 = xe()) !== s2 ? a3 = i3 = [i3, u3] : (ae = a3, a3 = s2); a3 !== s2; ) o3.push(a3), a3 = ae, 46 === t2.charCodeAt(ae) ? (i3 = ".", ae++) : (i3 = s2, ye(k)), i3 !== s2 && (u3 = xe()) !== s2 ? a3 = i3 = [i3, u3] : (ae = a3, a3 = s2);
+ o3 !== s2 ? (l3 = n4, r4 = { type: "field", name: o3.reduce((function(e6, t3) {
+ return e6 + t3[0] + t3[1];
+ }), l3) }, e5 = r4) : (ae = e5, e5 = s2);
+ } else ae = e5, e5 = s2;
+ else ae = e5, e5 = s2;
return le[c3] = { nextPos: ae, result: e5 }, e5;
- }()) === s2 && (e4 = function() {
+ })()) === s2 && (e4 = (function() {
var e5, r4, n4, o3, a3 = 30 * ae + 22, i3 = le[a3];
return i3 ? (ae = i3.nextPos, i3.result) : (e5 = ae, ":not(" === t2.substr(ae, 5) ? (r4 = ":not(", ae += 5) : (r4 = s2, ye(Q)), r4 !== s2 && me() !== s2 && (n4 = ge()) !== s2 && me() !== s2 ? (41 === t2.charCodeAt(ae) ? (o3 = ")", ae++) : (o3 = s2, ye(G)), o3 !== s2 ? e5 = r4 = { type: "not", selectors: n4 } : (ae = e5, e5 = s2)) : (ae = e5, e5 = s2), le[a3] = { nextPos: ae, result: e5 }, e5);
- }()) === s2 && (e4 = function() {
+ })()) === s2 && (e4 = (function() {
var e5, r4, n4, o3, a3 = 30 * ae + 23, i3 = le[a3];
return i3 ? (ae = i3.nextPos, i3.result) : (e5 = ae, ":matches(" === t2.substr(ae, 9) ? (r4 = ":matches(", ae += 9) : (r4 = s2, ye(X)), r4 !== s2 && me() !== s2 && (n4 = ge()) !== s2 && me() !== s2 ? (41 === t2.charCodeAt(ae) ? (o3 = ")", ae++) : (o3 = s2, ye(G)), o3 !== s2 ? e5 = r4 = { type: "matches", selectors: n4 } : (ae = e5, e5 = s2)) : (ae = e5, e5 = s2), le[a3] = { nextPos: ae, result: e5 }, e5);
- }()) === s2 && (e4 = function() {
+ })()) === s2 && (e4 = (function() {
var e5, r4, n4, o3, a3 = 30 * ae + 24, i3 = le[a3];
return i3 ? (ae = i3.nextPos, i3.result) : (e5 = ae, ":has(" === t2.substr(ae, 5) ? (r4 = ":has(", ae += 5) : (r4 = s2, ye(Z)), r4 !== s2 && me() !== s2 && (n4 = ge()) !== s2 && me() !== s2 ? (41 === t2.charCodeAt(ae) ? (o3 = ")", ae++) : (o3 = s2, ye(G)), o3 !== s2 ? e5 = r4 = { type: "has", selectors: n4 } : (ae = e5, e5 = s2)) : (ae = e5, e5 = s2), le[a3] = { nextPos: ae, result: e5 }, e5);
- }()) === s2 && (e4 = function() {
+ })()) === s2 && (e4 = (function() {
var e5, r4, n4 = 30 * ae + 25, o3 = le[n4];
return o3 ? (ae = o3.nextPos, o3.result) : (":first-child" === t2.substr(ae, 12) ? (r4 = ":first-child", ae += 12) : (r4 = s2, ye(ee)), r4 !== s2 && (r4 = _e(1)), e5 = r4, le[n4] = { nextPos: ae, result: e5 }, e5);
- }()) === s2 && (e4 = function() {
+ })()) === s2 && (e4 = (function() {
var e5, r4, n4 = 30 * ae + 26, o3 = le[n4];
return o3 ? (ae = o3.nextPos, o3.result) : (":last-child" === t2.substr(ae, 11) ? (r4 = ":last-child", ae += 11) : (r4 = s2, ye(te)), r4 !== s2 && (r4 = Ce(1)), e5 = r4, le[n4] = { nextPos: ae, result: e5 }, e5);
- }()) === s2 && (e4 = function() {
+ })()) === s2 && (e4 = (function() {
var e5, r4, n4, o3, a3, i3 = 30 * ae + 27, u3 = le[i3];
- if (u3)
- return ae = u3.nextPos, u3.result;
- if (e5 = ae, ":nth-child(" === t2.substr(ae, 11) ? (r4 = ":nth-child(", ae += 11) : (r4 = s2, ye(re)), r4 !== s2)
- if (me() !== s2) {
- if (n4 = [], K.test(t2.charAt(ae)) ? (o3 = t2.charAt(ae), ae++) : (o3 = s2, ye(W)), o3 !== s2)
- for (; o3 !== s2; )
- n4.push(o3), K.test(t2.charAt(ae)) ? (o3 = t2.charAt(ae), ae++) : (o3 = s2, ye(W));
- else
- n4 = s2;
- n4 !== s2 && (o3 = me()) !== s2 ? (41 === t2.charCodeAt(ae) ? (a3 = ")", ae++) : (a3 = s2, ye(G)), a3 !== s2 ? (r4 = _e(parseInt(n4.join(""), 10)), e5 = r4) : (ae = e5, e5 = s2)) : (ae = e5, e5 = s2);
- } else
- ae = e5, e5 = s2;
- else
- ae = e5, e5 = s2;
+ if (u3) return ae = u3.nextPos, u3.result;
+ if (e5 = ae, ":nth-child(" === t2.substr(ae, 11) ? (r4 = ":nth-child(", ae += 11) : (r4 = s2, ye(re)), r4 !== s2) if (me() !== s2) {
+ if (n4 = [], K.test(t2.charAt(ae)) ? (o3 = t2.charAt(ae), ae++) : (o3 = s2, ye(W)), o3 !== s2) for (; o3 !== s2; ) n4.push(o3), K.test(t2.charAt(ae)) ? (o3 = t2.charAt(ae), ae++) : (o3 = s2, ye(W));
+ else n4 = s2;
+ n4 !== s2 && (o3 = me()) !== s2 ? (41 === t2.charCodeAt(ae) ? (a3 = ")", ae++) : (a3 = s2, ye(G)), a3 !== s2 ? (r4 = _e(parseInt(n4.join(""), 10)), e5 = r4) : (ae = e5, e5 = s2)) : (ae = e5, e5 = s2);
+ } else ae = e5, e5 = s2;
+ else ae = e5, e5 = s2;
return le[i3] = { nextPos: ae, result: e5 }, e5;
- }()) === s2 && (e4 = function() {
+ })()) === s2 && (e4 = (function() {
var e5, r4, n4, o3, a3, i3 = 30 * ae + 28, u3 = le[i3];
- if (u3)
- return ae = u3.nextPos, u3.result;
- if (e5 = ae, ":nth-last-child(" === t2.substr(ae, 16) ? (r4 = ":nth-last-child(", ae += 16) : (r4 = s2, ye(ne)), r4 !== s2)
- if (me() !== s2) {
- if (n4 = [], K.test(t2.charAt(ae)) ? (o3 = t2.charAt(ae), ae++) : (o3 = s2, ye(W)), o3 !== s2)
- for (; o3 !== s2; )
- n4.push(o3), K.test(t2.charAt(ae)) ? (o3 = t2.charAt(ae), ae++) : (o3 = s2, ye(W));
- else
- n4 = s2;
- n4 !== s2 && (o3 = me()) !== s2 ? (41 === t2.charCodeAt(ae) ? (a3 = ")", ae++) : (a3 = s2, ye(G)), a3 !== s2 ? (r4 = Ce(parseInt(n4.join(""), 10)), e5 = r4) : (ae = e5, e5 = s2)) : (ae = e5, e5 = s2);
- } else
- ae = e5, e5 = s2;
- else
- ae = e5, e5 = s2;
+ if (u3) return ae = u3.nextPos, u3.result;
+ if (e5 = ae, ":nth-last-child(" === t2.substr(ae, 16) ? (r4 = ":nth-last-child(", ae += 16) : (r4 = s2, ye(ne)), r4 !== s2) if (me() !== s2) {
+ if (n4 = [], K.test(t2.charAt(ae)) ? (o3 = t2.charAt(ae), ae++) : (o3 = s2, ye(W)), o3 !== s2) for (; o3 !== s2; ) n4.push(o3), K.test(t2.charAt(ae)) ? (o3 = t2.charAt(ae), ae++) : (o3 = s2, ye(W));
+ else n4 = s2;
+ n4 !== s2 && (o3 = me()) !== s2 ? (41 === t2.charCodeAt(ae) ? (a3 = ")", ae++) : (a3 = s2, ye(G)), a3 !== s2 ? (r4 = Ce(parseInt(n4.join(""), 10)), e5 = r4) : (ae = e5, e5 = s2)) : (ae = e5, e5 = s2);
+ } else ae = e5, e5 = s2;
+ else ae = e5, e5 = s2;
return le[i3] = { nextPos: ae, result: e5 }, e5;
- }()) === s2 && (e4 = function() {
+ })()) === s2 && (e4 = (function() {
var e5, r4, n4, o3 = 30 * ae + 29, a3 = le[o3];
return a3 ? (ae = a3.nextPos, a3.result) : (e5 = ae, 58 === t2.charCodeAt(ae) ? (r4 = ":", ae++) : (r4 = s2, ye(oe)), r4 !== s2 && (n4 = xe()) !== s2 ? e5 = r4 = { type: "class", name: n4 } : (ae = e5, e5 = s2), le[o3] = { nextPos: ae, result: e5 }, e5);
- }()), le[r3] = { nextPos: ae, result: e4 }, e4);
+ })()), le[r3] = { nextPos: ae, result: e4 }, e4);
}
function Se() {
var e4, r3, n3, o3, a3, i3, u3, l3, c3 = 30 * ae + 13, f3 = le[c3];
- if (f3)
- return ae = f3.nextPos, f3.result;
+ if (f3) return ae = f3.nextPos, f3.result;
if (e4 = ae, (r3 = xe()) !== s2) {
- for (n3 = [], o3 = ae, 46 === t2.charCodeAt(ae) ? (a3 = ".", ae++) : (a3 = s2, ye(k)), a3 !== s2 && (i3 = xe()) !== s2 ? o3 = a3 = [a3, i3] : (ae = o3, o3 = s2); o3 !== s2; )
- n3.push(o3), o3 = ae, 46 === t2.charCodeAt(ae) ? (a3 = ".", ae++) : (a3 = s2, ye(k)), a3 !== s2 && (i3 = xe()) !== s2 ? o3 = a3 = [a3, i3] : (ae = o3, o3 = s2);
+ for (n3 = [], o3 = ae, 46 === t2.charCodeAt(ae) ? (a3 = ".", ae++) : (a3 = s2, ye(k)), a3 !== s2 && (i3 = xe()) !== s2 ? o3 = a3 = [a3, i3] : (ae = o3, o3 = s2); o3 !== s2; ) n3.push(o3), o3 = ae, 46 === t2.charCodeAt(ae) ? (a3 = ".", ae++) : (a3 = s2, ye(k)), a3 !== s2 && (i3 = xe()) !== s2 ? o3 = a3 = [a3, i3] : (ae = o3, o3 = s2);
n3 !== s2 ? (u3 = r3, l3 = n3, e4 = r3 = [].concat.apply([u3], l3).join("")) : (ae = e4, e4 = s2);
- } else
- ae = e4, e4 = s2;
+ } else ae = e4, e4 = s2;
return le[c3] = { nextPos: ae, result: e4 }, e4;
}
function _e(e4) {
@@ -33151,26 +33078,23 @@ var require_esquery_min = __commonJS({
function Ce(e4) {
return { type: "nth-last-child", index: { type: "literal", value: e4 } };
}
- if ((n2 = l2()) !== s2 && ae === t2.length)
- return n2;
+ if ((n2 = l2()) !== s2 && ae === t2.length) return n2;
throw n2 !== s2 && ae < t2.length && ye({ type: "end" }), o2 = ue, a2 = se < t2.length ? t2.charAt(se) : null, i2 = se < t2.length ? he(se, se + 1) : he(se, se), new e3(e3.buildMessage(o2, a2), o2, a2, i2);
} };
- }());
- });
+ })());
+ }));
function u(e2, t2) {
for (var r2 = 0; r2 < t2.length; ++r2) {
- if (null == e2)
- return e2;
+ if (null == e2) return e2;
e2 = e2[t2[r2]];
}
return e2;
}
var l = "function" == typeof WeakMap ? /* @__PURE__ */ new WeakMap() : null;
function c(e2) {
- if (null == e2)
- return function() {
- return true;
- };
+ if (null == e2) return function() {
+ return true;
+ };
if (null != l) {
var t2 = l.get(e2);
return null != t2 || (t2 = f(e2), l.set(e2, t2)), t2;
@@ -33192,44 +33116,35 @@ var require_esquery_min = __commonJS({
case "field":
var n2 = t2.name.split(".");
return function(e2, t3) {
- return function e3(t4, r3, n3, o3) {
+ return (function e3(t4, r3, n3, o3) {
for (var a3 = r3, i2 = o3; i2 < n3.length; ++i2) {
- if (null == a3)
- return false;
+ if (null == a3) return false;
var s3 = a3[n3[i2]];
if (Array.isArray(s3)) {
- for (var u2 = 0; u2 < s3.length; ++u2)
- if (e3(t4, s3[u2], n3, i2 + 1))
- return true;
+ for (var u2 = 0; u2 < s3.length; ++u2) if (e3(t4, s3[u2], n3, i2 + 1)) return true;
return false;
}
a3 = s3;
}
return t4 === a3;
- }(e2, t3[n2.length - 1], n2, 0);
+ })(e2, t3[n2.length - 1], n2, 0);
};
case "matches":
var o2 = t2.selectors.map(c);
return function(e2, t3, r3) {
- for (var n3 = 0; n3 < o2.length; ++n3)
- if (o2[n3](e2, t3, r3))
- return true;
+ for (var n3 = 0; n3 < o2.length; ++n3) if (o2[n3](e2, t3, r3)) return true;
return false;
};
case "compound":
var a2 = t2.selectors.map(c);
return function(e2, t3, r3) {
- for (var n3 = 0; n3 < a2.length; ++n3)
- if (!a2[n3](e2, t3, r3))
- return false;
+ for (var n3 = 0; n3 < a2.length; ++n3) if (!a2[n3](e2, t3, r3)) return false;
return true;
};
case "not":
var s2 = t2.selectors.map(c);
return function(e2, t3, r3) {
- for (var n3 = 0; n3 < s2.length; ++n3)
- if (s2[n3](e2, t3, r3))
- return false;
+ for (var n3 = 0; n3 < s2.length; ++n3) if (s2[n3](e2, t3, r3)) return false;
return true;
};
case "has":
@@ -33238,9 +33153,7 @@ var require_esquery_min = __commonJS({
var n3 = false, o3 = [];
return i.traverse(e2, { enter: function(e3, t4) {
null != t4 && o3.unshift(t4);
- for (var a3 = 0; a3 < l2.length; ++a3)
- if (l2[a3](e3, o3, r3))
- return n3 = true, void this.break();
+ for (var a3 = 0; a3 < l2.length; ++a3) if (l2[a3](e3, o3, r3)) return n3 = true, void this.break();
}, leave: function() {
o3.shift();
}, keys: r3 && r3.visitorKeys, fallback: r3 && r3.fallback || "iteration" }), n3;
@@ -33254,9 +33167,7 @@ var require_esquery_min = __commonJS({
var h2 = c(t2.left), x2 = c(t2.right);
return function(e2, t3, r3) {
if (x2(e2, t3, r3)) {
- for (var n3 = 0, o3 = t3.length; n3 < o3; ++n3)
- if (h2(t3[n3], t3.slice(n3 + 1), r3))
- return true;
+ for (var n3 = 0, o3 = t3.length; n3 < o3; ++n3) if (h2(t3[n3], t3.slice(n3 + 1), r3)) return true;
}
return false;
};
@@ -33342,19 +33253,15 @@ var require_esquery_min = __commonJS({
};
case "class":
return function(e2, r3, n3) {
- if (n3 && n3.matchClass)
- return n3.matchClass(t2.name, e2, r3);
- if (n3 && n3.nodeTypeKey)
- return false;
+ if (n3 && n3.matchClass) return n3.matchClass(t2.name, e2, r3);
+ if (n3 && n3.nodeTypeKey) return false;
switch (t2.name.toLowerCase()) {
case "statement":
- if ("Statement" === e2.type.slice(-9))
- return true;
+ if ("Statement" === e2.type.slice(-9)) return true;
case "declaration":
return "Declaration" === e2.type.slice(-11);
case "pattern":
- if ("Pattern" === e2.type.slice(-7))
- return true;
+ if ("Pattern" === e2.type.slice(-7)) return true;
case "expression":
return "Expression" === e2.type.slice(-10) || "Literal" === e2.type.slice(-7) || "Identifier" === e2.type && (0 === r3.length || "MetaProperty" !== r3[0].type) || "MetaProperty" === e2.type;
case "function":
@@ -33367,9 +33274,9 @@ var require_esquery_min = __commonJS({
}
function p(e2, t2) {
var r2 = t2 && t2.nodeTypeKey || "type", n2 = e2[r2];
- return t2 && t2.visitorKeys && t2.visitorKeys[n2] ? t2.visitorKeys[n2] : i.VisitorKeys[n2] ? i.VisitorKeys[n2] : t2 && "function" == typeof t2.fallback ? t2.fallback(e2) : Object.keys(e2).filter(function(e3) {
+ return t2 && t2.visitorKeys && t2.visitorKeys[n2] ? t2.visitorKeys[n2] : i.VisitorKeys[n2] ? i.VisitorKeys[n2] : t2 && "function" == typeof t2.fallback ? t2.fallback(e2) : Object.keys(e2).filter((function(e3) {
return e3 !== r2;
- });
+ }));
}
function h(t2, r2) {
var n2 = r2 && r2.nodeTypeKey || "type";
@@ -33377,81 +33284,66 @@ var require_esquery_min = __commonJS({
}
function y(e2, r2, n2, o2, a2) {
var i2 = t(n2, 1)[0];
- if (!i2)
- return false;
+ if (!i2) return false;
for (var s2 = p(i2, a2), u2 = 0; u2 < s2.length; ++u2) {
var l2 = i2[s2[u2]];
if (Array.isArray(l2)) {
var c2 = l2.indexOf(e2);
- if (c2 < 0)
- continue;
+ if (c2 < 0) continue;
var f2 = void 0, y2 = void 0;
"LEFT_SIDE" === o2 ? (f2 = 0, y2 = c2) : (f2 = c2 + 1, y2 = l2.length);
- for (var d2 = f2; d2 < y2; ++d2)
- if (h(l2[d2], a2) && r2(l2[d2], n2, a2))
- return true;
+ for (var d2 = f2; d2 < y2; ++d2) if (h(l2[d2], a2) && r2(l2[d2], n2, a2)) return true;
}
}
return false;
}
function d(e2, r2, n2, o2, a2) {
var i2 = t(n2, 1)[0];
- if (!i2)
- return false;
+ if (!i2) return false;
for (var s2 = p(i2, a2), u2 = 0; u2 < s2.length; ++u2) {
var l2 = i2[s2[u2]];
if (Array.isArray(l2)) {
var c2 = l2.indexOf(e2);
- if (c2 < 0)
- continue;
- if ("LEFT_SIDE" === o2 && c2 > 0 && h(l2[c2 - 1], a2) && r2(l2[c2 - 1], n2, a2))
- return true;
- if ("RIGHT_SIDE" === o2 && c2 < l2.length - 1 && h(l2[c2 + 1], a2) && r2(l2[c2 + 1], n2, a2))
- return true;
+ if (c2 < 0) continue;
+ if ("LEFT_SIDE" === o2 && c2 > 0 && h(l2[c2 - 1], a2) && r2(l2[c2 - 1], n2, a2)) return true;
+ if ("RIGHT_SIDE" === o2 && c2 < l2.length - 1 && h(l2[c2 + 1], a2) && r2(l2[c2 + 1], n2, a2)) return true;
}
}
return false;
}
function m(e2, r2, n2, o2) {
- if (0 === n2)
- return false;
+ if (0 === n2) return false;
var a2 = t(r2, 1)[0];
- if (!a2)
- return false;
+ if (!a2) return false;
for (var i2 = p(a2, o2), s2 = 0; s2 < i2.length; ++s2) {
var u2 = a2[i2[s2]];
if (Array.isArray(u2)) {
var l2 = n2 < 0 ? u2.length + n2 : n2 - 1;
- if (l2 >= 0 && l2 < u2.length && u2[l2] === e2)
- return true;
+ if (l2 >= 0 && l2 < u2.length && u2[l2] === e2) return true;
}
}
return false;
}
function x(t2, n2, o2, a2) {
if (n2) {
- var s2 = [], u2 = c(n2), l2 = function t3(n3, o3) {
- if (null == n3 || "object" != e(n3))
- return [];
+ var s2 = [], u2 = c(n2), l2 = (function t3(n3, o3) {
+ if (null == n3 || "object" != e(n3)) return [];
null == o3 && (o3 = n3);
for (var a3 = n3.subject ? [o3] : [], i2 = Object.keys(n3), s3 = 0; s3 < i2.length; ++s3) {
var u3 = i2[s3], l3 = n3[u3];
a3.push.apply(a3, r(t3(l3, "left" === u3 ? l3 : o3)));
}
return a3;
- }(n2).map(c);
+ })(n2).map(c);
i.traverse(t2, { enter: function(e2, t3) {
- if (null != t3 && s2.unshift(t3), u2(e2, s2, a2))
- if (l2.length)
- for (var r2 = 0, n3 = l2.length; r2 < n3; ++r2) {
- l2[r2](e2, s2, a2) && o2(e2, t3, s2);
- for (var i2 = 0, c2 = s2.length; i2 < c2; ++i2) {
- var f2 = s2.slice(i2 + 1);
- l2[r2](s2[i2], f2, a2) && o2(s2[i2], t3, f2);
- }
- }
- else
- o2(e2, t3, s2);
+ if (null != t3 && s2.unshift(t3), u2(e2, s2, a2)) if (l2.length) for (var r2 = 0, n3 = l2.length; r2 < n3; ++r2) {
+ l2[r2](e2, s2, a2) && o2(e2, t3, s2);
+ for (var i2 = 0, c2 = s2.length; i2 < c2; ++i2) {
+ var f2 = s2.slice(i2 + 1);
+ l2[r2](s2[i2], f2, a2) && o2(s2[i2], t3, f2);
+ }
+ }
+ else o2(e2, t3, s2);
}, leave: function() {
s2.shift();
}, keys: a2 && a2.visitorKeys, fallback: a2 && a2.fallback || "iteration" });
@@ -33459,9 +33351,9 @@ var require_esquery_min = __commonJS({
}
function v(e2, t2, r2) {
var n2 = [];
- return x(e2, t2, function(e3) {
+ return x(e2, t2, (function(e3) {
n2.push(e3);
- }, r2), n2;
+ }), r2), n2;
}
function g(e2) {
return s.parse(e2);
@@ -33472,7 +33364,7 @@ var require_esquery_min = __commonJS({
return A.parse = g, A.match = v, A.traverse = x, A.matches = function(e2, t2, r2, n2) {
return !t2 || !!e2 && (r2 || (r2 = []), c(t2)(e2, r2, n2));
}, A.query = A, A;
- });
+ }));
}
});
@@ -35030,11 +34922,26 @@ var require_ast_utils2 = __commonJS({
while (currentNode) {
const parent = currentNode.parent;
switch (parent.type) {
+ /*
+ * Looks up the destination.
+ * e.g., obj.foo = nativeFoo || function foo() { ... };
+ */
case "LogicalExpression":
case "ConditionalExpression":
case "ChainExpression":
currentNode = parent;
break;
+ /*
+ * If the upper function is IIFE, checks the destination of the return value.
+ * e.g.
+ * obj.foo = (function() {
+ * // setup...
+ * return function foo() { ... };
+ * })();
+ * obj.foo = (() =>
+ * function foo() { ... }
+ * )();
+ */
case "ReturnStatement": {
const func = getUpperFunction(parent);
if (func === null || !isCallee(func)) {
@@ -35049,10 +34956,28 @@ var require_ast_utils2 = __commonJS({
}
currentNode = parent.parent;
break;
+ /*
+ * e.g.
+ * var obj = { foo() { ... } };
+ * var obj = { foo: function() { ... } };
+ * class A { constructor() { ... } }
+ * class A { foo() { ... } }
+ * class A { get foo() { ... } }
+ * class A { set foo() { ... } }
+ * class A { static foo() { ... } }
+ * class A { foo = function() { ... } }
+ */
case "Property":
case "PropertyDefinition":
case "MethodDefinition":
return parent.value !== currentNode;
+ /*
+ * e.g.
+ * obj.foo = function foo() { ... };
+ * Foo = function() { ... };
+ * [obj.foo = function foo() { ... }] = a;
+ * [Foo = function() { ... }] = a;
+ */
case "AssignmentExpression":
case "AssignmentPattern":
if (parent.left.type === "MemberExpression") {
@@ -35062,14 +34987,30 @@ var require_ast_utils2 = __commonJS({
return false;
}
return true;
+ /*
+ * e.g.
+ * var Foo = function() { ... };
+ */
case "VariableDeclarator":
return !(capIsConstructor && isAnonymous && parent.init === currentNode && parent.id.type === "Identifier" && startsWithUpperCase(parent.id.name));
+ /*
+ * e.g.
+ * var foo = function foo() { ... }.bind(obj);
+ * (function foo() { ... }).call(obj);
+ * (function foo() { ... }).apply(obj, []);
+ */
case "MemberExpression":
if (parent.object === currentNode && isSpecificMemberAccess(parent, null, bindOrCallOrApplyPattern)) {
const maybeCalleeNode = parent.parent.type === "ChainExpression" ? parent.parent : parent;
return !(isCallee(maybeCalleeNode) && maybeCalleeNode.parent.arguments.length >= 1 && !isNullOrUndefined(maybeCalleeNode.parent.arguments[0]));
}
return true;
+ /*
+ * e.g.
+ * Reflect.apply(function() {}, obj, []);
+ * Array.from([], function() {}, obj);
+ * list.forEach(function() {}, obj);
+ */
case "CallExpression":
if (isReflectApply(parent.callee)) {
return parent.arguments.length !== 3 || parent.arguments[0] !== currentNode || isNullOrUndefined(parent.arguments[1]);
@@ -35081,6 +35022,7 @@ var require_ast_utils2 = __commonJS({
return parent.arguments.length !== 2 || parent.arguments[0] !== currentNode || isNullOrUndefined(parent.arguments[1]);
}
return true;
+ // Otherwise `this` is default.
default:
return true;
}
@@ -35111,6 +35053,7 @@ var require_ast_utils2 = __commonJS({
case "&&":
return 5;
}
+ /* falls through */
case "BinaryExpression":
switch (node.operator) {
case "|":
@@ -35145,6 +35088,7 @@ var require_ast_utils2 = __commonJS({
case "**":
return 15;
}
+ /* falls through */
case "UnaryExpression":
case "AwaitExpression":
return 16;
@@ -35562,6 +35506,7 @@ var require_ast_utils2 = __commonJS({
case "AwaitExpression":
case "ChainExpression":
return true;
+ // possibly an error object.
case "AssignmentExpression":
if (["=", "&&="].includes(node.operator)) {
return module.exports.couldBeError(node.right);
@@ -36244,11 +36189,23 @@ var require_array_callback_return = __commonJS({
while (currentNode) {
const parent = currentNode.parent;
switch (parent.type) {
+ /*
+ * Looks up the destination. e.g.,
+ * foo.every(nativeFoo || function foo() { ... });
+ */
case "LogicalExpression":
case "ConditionalExpression":
case "ChainExpression":
currentNode = parent;
break;
+ /*
+ * If the upper function is IIFE, checks the destination of the return value.
+ * e.g.
+ * foo.every((function() {
+ * // setup...
+ * return function callback() { ... };
+ * })());
+ */
case "ReturnStatement": {
const func = astUtils.getUpperFunction(parent);
if (func === null || !astUtils.isCallee(func)) {
@@ -36257,6 +36214,11 @@ var require_array_callback_return = __commonJS({
currentNode = func.parent;
break;
}
+ /*
+ * e.g.
+ * Array.from([], function() {});
+ * list.every(function() {});
+ */
case "CallExpression":
if (astUtils.isArrayFromMethod(parent.callee)) {
if (parent.arguments.length >= 2 && parent.arguments[1] === currentNode) {
@@ -36269,6 +36231,7 @@ var require_array_callback_return = __commonJS({
}
}
return null;
+ // Otherwise this node is not target.
default:
return null;
}
@@ -49708,6 +49671,7 @@ var require_function_paren_newline = __commonJS({
if (!node.arguments.length && !(astUtils.isOpeningParenToken(sourceCode.getLastToken(node, { skip: 1 })) && astUtils.isClosingParenToken(sourceCode.getLastToken(node)) && node.callee.range[1] < node.range[1])) {
return null;
}
+ // falls through
case "CallExpression":
return {
leftParen: sourceCode.getTokenAfter(node.callee, astUtils.isOpeningParenToken),
@@ -49838,14 +49802,14 @@ var require_generator_star_spacing = __commonJS({
}
return typeof option === "string" ? optionDefinitions[option] : Object.assign({}, defaults, option);
}
- const modes = function(option) {
+ const modes = (function(option) {
const defaults = optionToDefinition(option, optionDefinitions.before);
return {
named: optionToDefinition(option.named, defaults),
anonymous: optionToDefinition(option.anonymous, defaults),
method: optionToDefinition(option.method, defaults)
};
- }(context.options[0] || {});
+ })(context.options[0] || {});
const sourceCode = context.sourceCode;
function isStarToken(token) {
return token.value === "*" && token.type === "Punctuator";
@@ -56079,13 +56043,13 @@ var require_multiline_ternary = __commonJS({
end: lastTokenOfConsequent.loc.end
},
messageId: "expectedConsAlt",
- fix: (fixer) => hasComments ? null : fixer.replaceTextRange(
+ fix: ((fixer) => hasComments ? null : fixer.replaceTextRange(
[
lastTokenOfConsequent.range[1],
colonToken.range[0]
],
"\n"
- )
+ ))
});
}
}
@@ -57425,14 +57389,23 @@ var require_no_constant_binary_expression = __commonJS({
}
switch (node.type) {
case "ObjectExpression":
+ // Objects are never nullish
case "ArrayExpression":
+ // Arrays are never nullish
case "ArrowFunctionExpression":
+ // Functions never nullish
case "FunctionExpression":
+ // Functions are never nullish
case "ClassExpression":
+ // Classes are never nullish
case "NewExpression":
+ // Objects are never nullish
case "Literal":
+ // Nullish, or non-nullish, literals never change
case "TemplateLiteral":
+ // A string is never nullish
case "UpdateExpression":
+ // Numbers are never nullish
case "BinaryExpression":
return true;
case "CallExpression": {
@@ -57462,6 +57435,7 @@ var require_no_constant_binary_expression = __commonJS({
case "Identifier":
return node.name === "undefined" && isReferenceToGlobalVariable(scope, node);
case "JSXElement":
+ // ESLint has a policy of not assuming any specific JSX behavior.
case "JSXFragment":
return false;
default:
@@ -57528,6 +57502,7 @@ var require_no_constant_binary_expression = __commonJS({
return hasConstantLooseBooleanComparison(scope, last);
}
case "JSXElement":
+ // ESLint has a policy of not assuming any specific JSX behavior.
case "JSXFragment":
return false;
default:
@@ -57537,13 +57512,20 @@ var require_no_constant_binary_expression = __commonJS({
function hasConstantStrictBooleanComparison(scope, node) {
switch (node.type) {
case "ObjectExpression":
+ // Objects are not booleans
case "ArrayExpression":
+ // Arrays are not booleans
case "ArrowFunctionExpression":
+ // Functions are not booleans
case "FunctionExpression":
case "ClassExpression":
+ // Classes are not booleans
case "NewExpression":
+ // Objects are not booleans
case "TemplateLiteral":
+ // Strings are not booleans
case "Literal":
+ // True, false, or not boolean, literals never change.
case "UpdateExpression":
return true;
case "BinaryExpression":
@@ -57585,6 +57567,7 @@ var require_no_constant_binary_expression = __commonJS({
return false;
}
case "JSXElement":
+ // ESLint has a policy of not assuming any specific JSX behavior.
case "JSXFragment":
return false;
default:
@@ -57619,6 +57602,7 @@ var require_no_constant_binary_expression = __commonJS({
case "ConditionalExpression":
return isAlwaysNew(scope, node.consequent) && isAlwaysNew(scope, node.alternate);
case "JSXElement":
+ // ESLint has a policy of not assuming any specific JSX behavior.
case "JSXFragment":
return false;
default:
@@ -61575,6 +61559,7 @@ var require_no_extra_boolean_cast = __commonJS({
return precedence(node) < precedence(parent);
}
return precedence(node) <= precedence(parent);
+ /* c8 ignore next */
default:
throw new Error(`Unexpected parent type: ${parent.type}`);
}
@@ -61839,12 +61824,16 @@ var require_no_extra_parens = __commonJS({
if (node.type === "JSXElement" || node.type === "JSXFragment") {
const isSingleLine = node.loc.start.line === node.loc.end.line;
switch (IGNORE_JSX) {
+ // Exclude this JSX element from linting
case "all":
return false;
+ // Exclude this JSX element if it is multi-line element
case "multi-line":
return isSingleLine;
+ // Exclude this JSX element if it is single-line element
case "single-line":
return !isSingleLine;
+ // Nothing special to be done for JSX elements
case "none":
break;
}
@@ -65006,6 +64995,7 @@ var require_no_mixed_spaces_and_tabs = __commonJS({
let smartTabs;
switch (context.options[0]) {
case true:
+ // Support old syntax, maybe add deprecation warning here
case "smart-tabs":
smartTabs = true;
break;
@@ -66117,36 +66107,44 @@ var require_no_param_reassign = __commonJS({
let parent = node.parent;
while (parent && (!stopNodePattern.test(parent.type) || parent.type === "ForInStatement" || parent.type === "ForOfStatement")) {
switch (parent.type) {
+ // e.g. foo.a = 0;
case "AssignmentExpression":
return parent.left === node;
+ // e.g. ++foo.a;
case "UpdateExpression":
return true;
+ // e.g. delete foo.a;
case "UnaryExpression":
if (parent.operator === "delete") {
return true;
}
break;
+ // e.g. for (foo.a in b) {}
case "ForInStatement":
case "ForOfStatement":
if (parent.left === node) {
return true;
}
return false;
+ // EXCLUDES: e.g. cache.get(foo.a).b = 0;
case "CallExpression":
if (parent.callee !== node) {
return false;
}
break;
+ // EXCLUDES: e.g. cache[foo.a] = 0;
case "MemberExpression":
if (parent.property === node) {
return false;
}
break;
+ // EXCLUDES: e.g. ({ [foo]: a }) = bar;
case "Property":
if (parent.key === node) {
return false;
}
break;
+ // EXCLUDES: e.g. (foo ? a : b).c = bar;
case "ConditionalExpression":
if (parent.test === node) {
return false;
@@ -66976,7 +66974,7 @@ var require_ignore = __commonJS({
var SLASH = "/";
var TMP_KEY_IGNORE = "node-ignore";
if (typeof Symbol !== "undefined") {
- TMP_KEY_IGNORE = Symbol.for("node-ignore");
+ TMP_KEY_IGNORE = /* @__PURE__ */ Symbol.for("node-ignore");
}
var KEY_IGNORE = TMP_KEY_IGNORE;
var define2 = (object, key, value) => Object.defineProperty(object, key, { value });
@@ -71684,6 +71682,7 @@ var require_no_useless_computed_key = __commonJS({
return value !== "prototype";
}
return value !== "constructor";
+ /* c8 ignore next */
default:
throw new Error(`Unexpected node type: ${node.type}`);
}
@@ -71890,10 +71889,10 @@ var require_no_useless_escape = __commonJS({
"use strict";
var astUtils = require_ast_utils2();
function union(setA, setB) {
- return new Set(function* () {
+ return new Set((function* () {
yield* setA;
yield* setB;
- }());
+ })());
}
var VALID_STRING_ESCAPES = union(new Set("\\nrvtbfux"), astUtils.LINEBREAKS);
var REGEX_GENERAL_ESCAPES = new Set("\\bcdDfnpPrsStvwWxu0123456789]");
@@ -74384,6 +74383,7 @@ var require_padded_blocks = __commonJS({
return options.switches;
case "ClassBody":
return options.classes;
+ /* c8 ignore next */
default:
throw new Error("unreachable");
}
@@ -74835,10 +74835,12 @@ var require_prefer_arrow_callback = __commonJS({
let bound = false;
while (currentNode) {
switch (parent.type) {
+ // Checks parents recursively.
case "LogicalExpression":
case "ChainExpression":
case "ConditionalExpression":
break;
+ // Checks whether the parent node is `.bind(this)` call.
case "MemberExpression":
if (parent.object === currentNode && !parent.property.computed && parent.property.type === "Identifier" && parent.property.name === "bind") {
const maybeCallee = parent.parent.type === "ChainExpression" ? parent.parent : parent;
@@ -74855,6 +74857,7 @@ var require_prefer_arrow_callback = __commonJS({
return retv;
}
break;
+ // Checks whether the node is a callback.
case "CallExpression":
case "NewExpression":
if (parent.callee !== currentNode) {
@@ -77018,21 +77021,28 @@ var require_quotes = __commonJS({
function isAllowedAsNonBacktick(node) {
const parent = node.parent;
switch (parent.type) {
+ // Directive Prologues.
case "ExpressionStatement":
return !astUtils.isParenthesised(sourceCode, node) && isExpressionInOrJustAfterDirectivePrologue(node);
+ // LiteralPropertyName.
case "Property":
case "PropertyDefinition":
case "MethodDefinition":
return parent.key === node && !parent.computed;
+ // ModuleSpecifier.
case "ImportDeclaration":
case "ExportNamedDeclaration":
return parent.source === node;
+ // ModuleExportName or ModuleSpecifier.
case "ExportAllDeclaration":
return parent.exported === node || parent.source === node;
+ // ModuleExportName.
case "ImportSpecifier":
return parent.imported === node;
+ // ModuleExportName.
case "ExportSpecifier":
return parent.local === node || parent.exported === node;
+ // Others don't allow.
default:
return false;
}
@@ -78522,25 +78532,22 @@ var require_natural_compare = __commonJS({
var i, codeA, codeB = 1, posA = 0, posB = 0, alphabet = String.alphabet;
function getCode(str, pos, code) {
if (code) {
- for (i = pos; code = getCode(str, i), code < 76 && code > 65; )
- ++i;
+ for (i = pos; code = getCode(str, i), code < 76 && code > 65; ) ++i;
return +str.slice(pos - 1, i);
}
code = alphabet && alphabet.indexOf(str.charAt(pos));
return code > -1 ? code + 76 : (code = str.charCodeAt(pos) || 0, code < 45 || code > 127) ? code : code < 46 ? 65 : code < 48 ? code - 1 : code < 58 ? code + 18 : code < 65 ? code - 11 : code < 91 ? code + 11 : code < 97 ? code - 37 : code < 123 ? code + 5 : code - 63;
}
- if ((a += "") != (b += ""))
- for (; codeB; ) {
- codeA = getCode(a, posA++);
- codeB = getCode(b, posB++);
- if (codeA < 76 && codeB < 76 && codeA > 66 && codeB > 66) {
- codeA = getCode(a, posA, posA);
- codeB = getCode(b, posB, posA = i);
- posB = i;
- }
- if (codeA != codeB)
- return codeA < codeB ? -1 : 1;
+ if ((a += "") != (b += "")) for (; codeB; ) {
+ codeA = getCode(a, posA++);
+ codeB = getCode(b, posB++);
+ if (codeA < 76 && codeB < 76 && codeA > 66 && codeB > 66) {
+ codeA = getCode(a, posA, posA);
+ codeB = getCode(b, posB, posA = i);
+ posB = i;
}
+ if (codeA != codeB) return codeA < codeB ? -1 : 1;
+ }
return 0;
};
try {
@@ -80433,12 +80440,12 @@ var require_utility = __commonJS({
this.name = "DoctrineError";
this.message = message;
}
- DoctrineError.prototype = function() {
+ DoctrineError.prototype = (function() {
var Middle = function() {
};
Middle.prototype = Error.prototype;
return new Middle();
- }();
+ })();
DoctrineError.prototype.constructor = DoctrineError;
exports.DoctrineError = DoctrineError;
function throwError(message) {
@@ -80770,6 +80777,7 @@ var require_typed = __commonJS({
ch = source.charCodeAt(index);
switch (ch) {
case 39:
+ /* ''' */
case 34:
token = scanString();
return token;
@@ -81466,12 +81474,12 @@ var require_doctrine = __commonJS({
function sliceSource(source, index, last) {
return source.slice(index, last);
}
- hasOwnProperty = /* @__PURE__ */ function() {
+ hasOwnProperty = /* @__PURE__ */ (function() {
var func = Object.prototype.hasOwnProperty;
return function hasOwnProperty2(obj, name) {
return func.call(obj, name);
};
- }();
+ })();
function shallowCopy(obj) {
var ret = {}, key;
for (key in obj) {
@@ -82277,6 +82285,7 @@ var require_valid_jsdoc = __commonJS({
elements = type.fields;
break;
case "UnionType":
+ // {String|number|Test}
case "ArrayType":
elements = type.elements;
break;
@@ -82851,7 +82860,7 @@ var require_yield_star_spacing = __commonJS({
},
create(context) {
const sourceCode = context.sourceCode;
- const mode = function(option) {
+ const mode = (function(option) {
if (!option || typeof option === "string") {
return {
before: { before: true, after: false },
@@ -82861,7 +82870,7 @@ var require_yield_star_spacing = __commonJS({
}[option || "after"];
}
return option;
- }(context.options[0]);
+ })(context.options[0]);
function checkSpacing(side, leftToken, rightToken) {
if (sourceCode.isSpaceBetweenTokens(leftToken, rightToken) !== mode[side]) {
const after = leftToken.value === "*";
@@ -83601,7 +83610,7 @@ var require_timing = __commonJS({
}).join("|"));
console.log(table.join("\n"));
}
- module.exports = function() {
+ module.exports = (function() {
const data = /* @__PURE__ */ Object.create(null);
function time(key, fn) {
if (typeof data[key] === "undefined") {
@@ -83625,7 +83634,7 @@ var require_timing = __commonJS({
enabled,
getListSize
};
- }();
+ })();
}
});
@@ -83727,10 +83736,8 @@ var require_concat_map = __commonJS({
var res = [];
for (var i = 0; i < xs.length; i++) {
var x = fn(xs[i], i);
- if (isArray(x))
- res.push.apply(res, x);
- else
- res.push(x);
+ if (isArray(x)) res.push.apply(res, x);
+ else res.push(x);
}
return res;
};
@@ -83746,10 +83753,8 @@ var require_balanced_match = __commonJS({
"use strict";
module.exports = balanced;
function balanced(a, b, str) {
- if (a instanceof RegExp)
- a = maybeMatch(a, str);
- if (b instanceof RegExp)
- b = maybeMatch(b, str);
+ if (a instanceof RegExp) a = maybeMatch(a, str);
+ if (b instanceof RegExp) b = maybeMatch(b, str);
var r = range(a, b, str);
return r && {
start: r[0],
@@ -83863,8 +83868,7 @@ var require_brace_expansion = __commonJS({
function expand(str, isTop) {
var expansions = [];
var m = balanced("{", "}", str);
- if (!m || /\$$/.test(m.pre))
- return [str];
+ if (!m || /\$$/.test(m.pre)) return [str];
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
var isSequence = isNumericSequence || isAlphaSequence;
@@ -83950,12 +83954,12 @@ var require_minimatch = __commonJS({
"../../node_modules/minimatch/minimatch.js"(exports, module) {
module.exports = minimatch;
minimatch.Minimatch = Minimatch;
- var path = function() {
+ var path = (function() {
try {
return require_path_browserify();
} catch (e) {
}
- }() || {
+ })() || {
sep: "/"
};
minimatch.sep = path.sep;
@@ -84034,8 +84038,7 @@ var require_minimatch = __commonJS({
};
function minimatch(p, pattern, options) {
assertValidPattern(pattern);
- if (!options)
- options = {};
+ if (!options) options = {};
if (!options.nocomment && pattern.charAt(0) === "#") {
return false;
}
@@ -84046,8 +84049,7 @@ var require_minimatch = __commonJS({
return new Minimatch(pattern, options);
}
assertValidPattern(pattern);
- if (!options)
- options = {};
+ if (!options) options = {};
pattern = pattern.trim();
if (!options.allowWindowsEscape && path.sep !== "/") {
pattern = pattern.split(path.sep).join("/");
@@ -84078,10 +84080,9 @@ var require_minimatch = __commonJS({
}
this.parseNegate();
var set = this.globSet = this.braceExpand();
- if (options.debug)
- this.debug = function debug() {
- console.error.apply(console, arguments);
- };
+ if (options.debug) this.debug = function debug() {
+ console.error.apply(console, arguments);
+ };
this.debug(this.pattern, set);
set = this.globParts = set.map(function(s) {
return s.split(slashSplit);
@@ -84103,14 +84104,12 @@ var require_minimatch = __commonJS({
var negate = false;
var options = this.options;
var negateOffset = 0;
- if (options.nonegate)
- return;
+ if (options.nonegate) return;
for (var i = 0, l = pattern.length; i < l && pattern.charAt(i) === "!"; i++) {
negate = !negate;
negateOffset++;
}
- if (negateOffset)
- this.pattern = pattern.substr(negateOffset);
+ if (negateOffset) this.pattern = pattern.substr(negateOffset);
this.negate = negate;
}
minimatch.braceExpand = function(pattern, options) {
@@ -84152,8 +84151,7 @@ var require_minimatch = __commonJS({
else
pattern = "*";
}
- if (pattern === "")
- return "";
+ if (pattern === "") return "";
var re = "";
var hasMagic = !!options.nocase;
var escaping = false;
@@ -84192,6 +84190,7 @@ var require_minimatch = __commonJS({
continue;
}
switch (c) {
+ /* istanbul ignore next */
case "/": {
return false;
}
@@ -84199,6 +84198,8 @@ var require_minimatch = __commonJS({
clearStateChar();
escaping = true;
continue;
+ // the various stateChar values
+ // for the "extglob" stuff.
case "?":
case "*":
case "+":
@@ -84207,16 +84208,14 @@ var require_minimatch = __commonJS({
this.debug("%s %s %s %j <-- stateChar", pattern, i, re, c);
if (inClass) {
this.debug(" in class");
- if (c === "!" && i === classStart + 1)
- c = "^";
+ if (c === "!" && i === classStart + 1) c = "^";
re += c;
continue;
}
self2.debug("call clearStateChar %j", stateChar);
clearStateChar();
stateChar = c;
- if (options.noext)
- clearStateChar();
+ if (options.noext) clearStateChar();
continue;
case "(":
if (inClass) {
@@ -84261,6 +84260,7 @@ var require_minimatch = __commonJS({
clearStateChar();
re += "|";
continue;
+ // these are mostly the same in regexp and glob
case "[":
clearStateChar();
if (inClass) {
@@ -84380,8 +84380,7 @@ var require_minimatch = __commonJS({
};
Minimatch.prototype.makeRe = makeRe;
function makeRe() {
- if (this.regexp || this.regexp === false)
- return this.regexp;
+ if (this.regexp || this.regexp === false) return this.regexp;
var set = this.set;
if (!set.length) {
this.regexp = false;
@@ -84396,8 +84395,7 @@ var require_minimatch = __commonJS({
}).join("\\/");
}).join("|");
re = "^(?:" + re + ")$";
- if (this.negate)
- re = "^(?!" + re + ").*$";
+ if (this.negate) re = "^(?!" + re + ").*$";
try {
this.regexp = new RegExp(re, flags);
} catch (ex) {
@@ -84417,15 +84415,11 @@ var require_minimatch = __commonJS({
return list;
};
Minimatch.prototype.match = function match(f, partial) {
- if (typeof partial === "undefined")
- partial = this.partial;
+ if (typeof partial === "undefined") partial = this.partial;
this.debug("match", f, this.pattern);
- if (this.comment)
- return false;
- if (this.empty)
- return f === "";
- if (f === "/" && partial)
- return true;
+ if (this.comment) return false;
+ if (this.empty) return f === "";
+ if (f === "/" && partial) return true;
var options = this.options;
if (path.sep !== "/") {
f = f.split(path.sep).join("/");
@@ -84438,8 +84432,7 @@ var require_minimatch = __commonJS({
var i;
for (i = f.length - 1; i >= 0; i--) {
filename = f[i];
- if (filename)
- break;
+ if (filename) break;
}
for (i = 0; i < set.length; i++) {
var pattern = set[i];
@@ -84449,13 +84442,11 @@ var require_minimatch = __commonJS({
}
var hit = this.matchOne(file, pattern, partial);
if (hit) {
- if (options.flipNegate)
- return true;
+ if (options.flipNegate) return true;
return !this.negate;
}
}
- if (options.flipNegate)
- return false;
+ if (options.flipNegate) return false;
return this.negate;
};
Minimatch.prototype.matchOne = function(file, pattern, partial) {
@@ -84470,8 +84461,7 @@ var require_minimatch = __commonJS({
var p = pattern[pi];
var f = file[fi];
this.debug(pattern, p, f);
- if (p === false)
- return false;
+ if (p === false) return false;
if (p === GLOBSTAR) {
this.debug("GLOBSTAR", [pattern, p, f]);
var fr = fi;
@@ -84479,8 +84469,7 @@ var require_minimatch = __commonJS({
if (pr === pl) {
this.debug("** at the end");
for (; fi < fl; fi++) {
- if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".")
- return false;
+ if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".") return false;
}
return true;
}
@@ -84501,8 +84490,7 @@ var require_minimatch = __commonJS({
}
if (partial) {
this.debug("\n>>> no match, partial?", file, fr, pattern, pr);
- if (fr === fl)
- return true;
+ if (fr === fl) return true;
}
return false;
}
@@ -84514,8 +84502,7 @@ var require_minimatch = __commonJS({
hit = f.match(p);
this.debug("pattern match", p, f, hit);
}
- if (!hit)
- return false;
+ if (!hit) return false;
}
if (fi === fl && pi === pl) {
return true;
@@ -84670,8 +84657,8 @@ var require_object_schema = __commonJS({
"use strict";
var { MergeStrategy } = require_merge_strategy();
var { ValidationStrategy } = require_validation_strategy();
- var strategies = Symbol("strategies");
- var requiredKeys = Symbol("requiredKeys");
+ var strategies = /* @__PURE__ */ Symbol("strategies");
+ var requiredKeys = /* @__PURE__ */ Symbol("requiredKeys");
function validateDefinition(name, strategy) {
let hasSchema = false;
if (strategy.schema) {
@@ -85036,11 +85023,11 @@ var require_api = __commonJS({
}
}
var ConfigArraySymbol = {
- isNormalized: Symbol("isNormalized"),
- configCache: Symbol("configCache"),
- schema: Symbol("schema"),
- finalizeConfig: Symbol("finalizeConfig"),
- preprocessConfig: Symbol("preprocessConfig")
+ isNormalized: /* @__PURE__ */ Symbol("isNormalized"),
+ configCache: /* @__PURE__ */ Symbol("configCache"),
+ schema: /* @__PURE__ */ Symbol("schema"),
+ finalizeConfig: /* @__PURE__ */ Symbol("finalizeConfig"),
+ preprocessConfig: /* @__PURE__ */ Symbol("preprocessConfig")
};
var dataCache = /* @__PURE__ */ new WeakMap();
var ConfigArray = class extends Array {
@@ -86387,7 +86374,7 @@ var require_flat_config_array = __commonJS({
}
return name;
}
- var originalBaseConfig = Symbol("originalBaseConfig");
+ var originalBaseConfig = /* @__PURE__ */ Symbol("originalBaseConfig");
var FlatConfigArray = class extends ConfigArray {
/**
* Creates a new instance.
@@ -86684,7 +86671,7 @@ var require_linter = __commonJS({
var DEFAULT_ECMA_VERSION = 5;
var commentParser = new ConfigCommentParser();
var DEFAULT_ERROR_LOC = { start: { line: 1, column: 0 }, end: { line: 1, column: 1 } };
- var parserSymbol = Symbol.for("eslint.RuleTester.parser");
+ var parserSymbol = /* @__PURE__ */ Symbol.for("eslint.RuleTester.parser");
var globals = require_globals3();
function isEspree(parser) {
return !!(parser === espree || parser[parserSymbol] === espree);
@@ -86937,6 +86924,7 @@ var require_linter = __commonJS({
switch (ecmaVersion) {
case 3:
return 3;
+ // void 0 = no ecmaVersion specified so use the default
case 5:
case void 0:
return 5;
@@ -87841,12 +87829,12 @@ Rule: "${err.ruleId}"`;
getRules() {
assertEslintrcConfig(this);
const { lastConfigArray, ruleMap } = internalSlotsMap.get(this);
- return new Map(function* () {
+ return new Map((function* () {
yield* ruleMap;
if (lastConfigArray) {
yield* lastConfigArray.pluginRules;
}
- }());
+ })());
}
/**
* Define a new parser module
diff --git a/packages/ace-linters/src/services/php/lib/php.js b/packages/ace-linters/src/services/php/lib/php.js
index 78715491..707b474b 100644
--- a/packages/ace-linters/src/services/php/lib/php.js
+++ b/packages/ace-linters/src/services/php/lib/php.js
@@ -1532,5 +1532,4 @@ PHP.Parser.prototype.yylen = [
1, 1, 1, 1, 3, 1, 1, 4, 4, 1, 4, 4, 0, 1, 1, 1, 3, 3, 1, 4, 2, 2, 1, 3, 1, 4, 4, 3, 3, 3, 3, 1, 3, 1, 1, 3, 1, 1, 4, 1, 1, 1, 3, 1, 1, 2, 1, 3, 4, 3, 2, 0, 2, 2, 1, 2, 1, 1, 1, 4, 3, 3, 3, 3, 6, 3, 1, 1, 2, 1
];
-
-exports.PHP = PHP;
+export { PHP };
diff --git a/packages/ace-linters/src/services/yaml/lib/index.js b/packages/ace-linters/src/services/yaml/lib/index.js
index 00bd427d..af1cbc61 100644
--- a/packages/ace-linters/src/services/yaml/lib/index.js
+++ b/packages/ace-linters/src/services/yaml/lib/index.js
@@ -32,10 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
-var __publicField = (obj, key, value) => {
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
- return value;
-};
+var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
// ../../node_modules/vscode-languageserver-types/lib/esm/main.js
var main_exports = {};
@@ -1617,17 +1614,13 @@ var require_path_browserify = __commonJS({
},
normalize: function normalize(path5) {
assertPath(path5);
- if (path5.length === 0)
- return ".";
+ if (path5.length === 0) return ".";
var isAbsolute2 = path5.charCodeAt(0) === 47;
var trailingSeparator = path5.charCodeAt(path5.length - 1) === 47;
path5 = normalizeStringPosix(path5, !isAbsolute2);
- if (path5.length === 0 && !isAbsolute2)
- path5 = ".";
- if (path5.length > 0 && trailingSeparator)
- path5 += "/";
- if (isAbsolute2)
- return "/" + path5;
+ if (path5.length === 0 && !isAbsolute2) path5 = ".";
+ if (path5.length > 0 && trailingSeparator) path5 += "/";
+ if (isAbsolute2) return "/" + path5;
return path5;
},
isAbsolute: function isAbsolute2(path5) {
@@ -1655,12 +1648,10 @@ var require_path_browserify = __commonJS({
relative: function relative(from, to) {
assertPath(from);
assertPath(to);
- if (from === to)
- return "";
+ if (from === to) return "";
from = posix.resolve(from);
to = posix.resolve(to);
- if (from === to)
- return "";
+ if (from === to) return "";
var fromStart = 1;
for (; fromStart < from.length; ++fromStart) {
if (from.charCodeAt(fromStart) !== 47)
@@ -1725,8 +1716,7 @@ var require_path_browserify = __commonJS({
},
dirname: function dirname(path5) {
assertPath(path5);
- if (path5.length === 0)
- return ".";
+ if (path5.length === 0) return ".";
var code = path5.charCodeAt(0);
var hasRoot = code === 47;
var end = -1;
@@ -1742,23 +1732,19 @@ var require_path_browserify = __commonJS({
matchedSlash = false;
}
}
- if (end === -1)
- return hasRoot ? "/" : ".";
- if (hasRoot && end === 1)
- return "//";
+ if (end === -1) return hasRoot ? "/" : ".";
+ if (hasRoot && end === 1) return "//";
return path5.slice(0, end);
},
basename: function basename4(path5, ext) {
- if (ext !== void 0 && typeof ext !== "string")
- throw new TypeError('"ext" argument must be a string');
+ if (ext !== void 0 && typeof ext !== "string") throw new TypeError('"ext" argument must be a string');
assertPath(path5);
var start = 0;
var end = -1;
var matchedSlash = true;
var i;
if (ext !== void 0 && ext.length > 0 && ext.length <= path5.length) {
- if (ext.length === path5.length && ext === path5)
- return "";
+ if (ext.length === path5.length && ext === path5) return "";
var extIdx = ext.length - 1;
var firstNonSlashEnd = -1;
for (i = path5.length - 1; i >= 0; --i) {
@@ -1785,10 +1771,8 @@ var require_path_browserify = __commonJS({
}
}
}
- if (start === end)
- end = firstNonSlashEnd;
- else if (end === -1)
- end = path5.length;
+ if (start === end) end = firstNonSlashEnd;
+ else if (end === -1) end = path5.length;
return path5.slice(start, end);
} else {
for (i = path5.length - 1; i >= 0; --i) {
@@ -1802,8 +1786,7 @@ var require_path_browserify = __commonJS({
end = i + 1;
}
}
- if (end === -1)
- return "";
+ if (end === -1) return "";
return path5.slice(start, end);
}
},
@@ -1852,8 +1835,7 @@ var require_path_browserify = __commonJS({
parse: function parse7(path5) {
assertPath(path5);
var ret = { root: "", dir: "", base: "", ext: "", name: "" };
- if (path5.length === 0)
- return ret;
+ if (path5.length === 0) return ret;
var code = path5.charCodeAt(0);
var isAbsolute2 = code === 47;
var start;
@@ -1883,10 +1865,8 @@ var require_path_browserify = __commonJS({
end = i + 1;
}
if (code === 46) {
- if (startDot === -1)
- startDot = i;
- else if (preDotState !== 1)
- preDotState = 1;
+ if (startDot === -1) startDot = i;
+ else if (preDotState !== 1) preDotState = 1;
} else if (startDot !== -1) {
preDotState = -1;
}
@@ -1895,10 +1875,8 @@ var require_path_browserify = __commonJS({
preDotState === 0 || // The (right-most) trimmed path component is exactly '..'
preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
if (end !== -1) {
- if (startPart === 0 && isAbsolute2)
- ret.base = ret.name = path5.slice(1, end);
- else
- ret.base = ret.name = path5.slice(startPart, end);
+ if (startPart === 0 && isAbsolute2) ret.base = ret.name = path5.slice(1, end);
+ else ret.base = ret.name = path5.slice(startPart, end);
}
} else {
if (startPart === 0 && isAbsolute2) {
@@ -1910,10 +1888,8 @@ var require_path_browserify = __commonJS({
}
ret.ext = path5.slice(startDot, end);
}
- if (startPart > 0)
- ret.dir = path5.slice(0, startPart - 1);
- else if (isAbsolute2)
- ret.dir = "/";
+ if (startPart > 0) ret.dir = path5.slice(0, startPart - 1);
+ else if (isAbsolute2) ret.dir = "/";
return ret;
},
sep: "/",
@@ -3938,38 +3914,28 @@ var require_fast_deep_equal = __commonJS({
"../../node_modules/fast-deep-equal/index.js"(exports, module) {
"use strict";
module.exports = function equal(a2, b) {
- if (a2 === b)
- return true;
+ if (a2 === b) return true;
if (a2 && b && typeof a2 == "object" && typeof b == "object") {
- if (a2.constructor !== b.constructor)
- return false;
+ if (a2.constructor !== b.constructor) return false;
var length, i, keys;
if (Array.isArray(a2)) {
length = a2.length;
- if (length != b.length)
- return false;
+ if (length != b.length) return false;
for (i = length; i-- !== 0; )
- if (!equal(a2[i], b[i]))
- return false;
+ if (!equal(a2[i], b[i])) return false;
return true;
}
- if (a2.constructor === RegExp)
- return a2.source === b.source && a2.flags === b.flags;
- if (a2.valueOf !== Object.prototype.valueOf)
- return a2.valueOf() === b.valueOf();
- if (a2.toString !== Object.prototype.toString)
- return a2.toString() === b.toString();
+ if (a2.constructor === RegExp) return a2.source === b.source && a2.flags === b.flags;
+ if (a2.valueOf !== Object.prototype.valueOf) return a2.valueOf() === b.valueOf();
+ if (a2.toString !== Object.prototype.toString) return a2.toString() === b.toString();
keys = Object.keys(a2);
length = keys.length;
- if (length !== Object.keys(b).length)
- return false;
+ if (length !== Object.keys(b).length) return false;
for (i = length; i-- !== 0; )
- if (!Object.prototype.hasOwnProperty.call(b, keys[i]))
- return false;
+ if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
for (i = length; i-- !== 0; ) {
var key = keys[i];
- if (!equal(a2[key], b[key]))
- return false;
+ if (!equal(a2[key], b[key])) return false;
}
return true;
}
@@ -5062,15 +5028,11 @@ var require_utils = __commonJS({
let acc = "";
let strip = true;
for (const c of input) {
- if (HEX[c] === void 0)
- return void 0;
- if (c !== "0" && strip === true)
- strip = false;
- if (!strip)
- acc += c;
+ if (HEX[c] === void 0) return void 0;
+ if (c !== "0" && strip === true) strip = false;
+ if (!strip) acc += c;
}
- if (keepZero && acc.length === 0)
- acc = "0";
+ if (keepZero && acc.length === 0) acc = "0";
return acc;
}
function getIPV6(input) {
@@ -5182,8 +5144,7 @@ var require_utils = __commonJS({
function findToken(str, token) {
let ind = 0;
for (let i = 0; i < str.length; i++) {
- if (str[i] === token)
- ind++;
+ if (str[i] === token) ind++;
}
return ind;
}
@@ -5529,8 +5490,7 @@ var require_fast_uri = __commonJS({
const options = Object.assign({}, opts);
const uriTokens = [];
const schemeHandler = SCHEMES[(options.scheme || components.scheme || "").toLowerCase()];
- if (schemeHandler && schemeHandler.serialize)
- schemeHandler.serialize(components, options);
+ if (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(components, options);
if (components.path !== void 0) {
if (!options.skipEscape) {
components.path = escape(components.path);
@@ -5597,8 +5557,7 @@ var require_fast_uri = __commonJS({
};
const gotEncoding = uri.indexOf("%") !== -1;
let isIP = false;
- if (options.reference === "suffix")
- uri = (options.scheme ? options.scheme + ":" : "") + "//" + uri;
+ if (options.reference === "suffix") uri = (options.scheme ? options.scheme + ":" : "") + "//" + uri;
const matches = uri.match(URI_PARSE);
if (matches) {
parsed.scheme = matches[1];
@@ -8702,10 +8661,8 @@ var require_yaml = __commonJS({
var i = f2();
return i.default || i;
}
- if (typeof exports == "object" && typeof module == "object")
- module.exports = e();
- else if (typeof define == "function" && define.amd)
- define(e);
+ if (typeof exports == "object" && typeof module == "object") module.exports = e();
+ else if (typeof define == "function" && define.amd) define(e);
else {
var t2 = typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : typeof self < "u" ? self : this || {};
t2.prettierPlugins = t2.prettierPlugins || {}, t2.prettierPlugins.yaml = e();
@@ -8718,12 +8675,9 @@ var require_yaml = __commonJS({
var Mi = Object.getOwnPropertyNames;
var ki = Object.getPrototypeOf, vi = Object.prototype.hasOwnProperty;
var te = (t2, e) => () => (e || t2((e = { exports: {} }).exports, e), e.exports), nr = (t2, e) => {
- for (var n in e)
- yt(t2, n, { get: e[n], enumerable: true });
+ for (var n in e) yt(t2, n, { get: e[n], enumerable: true });
}, rr = (t2, e, n, r) => {
- if (e && typeof e == "object" || typeof e == "function")
- for (let s of Mi(e))
- !vi.call(t2, s) && s !== n && yt(t2, s, { get: () => e[s], enumerable: !(r = Ci(e, s)) || r.enumerable });
+ if (e && typeof e == "object" || typeof e == "function") for (let s of Mi(e)) !vi.call(t2, s) && s !== n && yt(t2, s, { get: () => e[s], enumerable: !(r = Ci(e, s)) || r.enumerable });
return t2;
};
var sr = (t2, e, n) => (n = t2 != null ? Ti(ki(t2)) : {}, rr(e || !t2 || !t2.__esModule ? yt(n, "default", { value: t2, enumerable: true }) : n, t2)), Ii = (t2) => rr(yt({}, "__esModule", { value: true }), t2);
@@ -8733,8 +8687,7 @@ var require_yaml = __commonJS({
function Ps(t2) {
let e = [0], n = t2.indexOf(`
`);
- for (; n !== -1; )
- n += 1, e.push(n), n = t2.indexOf(`
+ for (; n !== -1; ) n += 1, e.push(n), n = t2.indexOf(`
`, n);
return e;
}
@@ -8743,43 +8696,34 @@ var require_yaml = __commonJS({
return typeof t2 == "string" ? (e = Ps(t2), n = t2) : (Array.isArray(t2) && (t2 = t2[0]), t2 && t2.context && (t2.lineStarts || (t2.lineStarts = Ps(t2.context.src)), e = t2.lineStarts, n = t2.context.src)), { lineStarts: e, src: n };
}
function Tn(t2, e) {
- if (typeof t2 != "number" || t2 < 0)
- return null;
+ if (typeof t2 != "number" || t2 < 0) return null;
let { lineStarts: n, src: r } = _s(e);
- if (!n || !r || t2 > r.length)
- return null;
+ if (!n || !r || t2 > r.length) return null;
for (let i = 0; i < n.length; ++i) {
let o = n[i];
- if (t2 < o)
- return { line: i, col: t2 - n[i - 1] + 1 };
- if (t2 === o)
- return { line: i + 1, col: 1 };
+ if (t2 < o) return { line: i, col: t2 - n[i - 1] + 1 };
+ if (t2 === o) return { line: i + 1, col: 1 };
}
let s = n.length;
return { line: s, col: t2 - n[s - 1] + 1 };
}
function Co(t2, e) {
let { lineStarts: n, src: r } = _s(e);
- if (!n || !(t2 >= 1) || t2 > n.length)
- return null;
+ if (!n || !(t2 >= 1) || t2 > n.length) return null;
let s = n[t2 - 1], i = n[t2];
for (; i && i > s && r[i - 1] === `
-`; )
- --i;
+`; ) --i;
return r.slice(s, i);
}
function Mo({ start: t2, end: e }, n, r = 80) {
let s = Co(t2.line, n);
- if (!s)
- return null;
+ if (!s) return null;
let { col: i } = t2;
- if (s.length > r)
- if (i <= r - 10)
- s = s.substr(0, r - 1) + "\u2026";
- else {
- let f2 = Math.round(r / 2);
- s.length > i + f2 && (s = s.substr(0, i + f2 - 1) + "\u2026"), i -= s.length - r, s = "\u2026" + s.substr(1 - r);
- }
+ if (s.length > r) if (i <= r - 10) s = s.substr(0, r - 1) + "\u2026";
+ else {
+ let f2 = Math.round(r / 2);
+ s.length > i + f2 && (s = s.substr(0, i + f2 - 1) + "\u2026"), i -= s.length - r, s = "\u2026" + s.substr(1 - r);
+ }
let o = 1, a2 = "";
e && (e.line === t2.line && i + (e.col - t2.col) <= r + 1 ? o = e.col - t2.col : (o = Math.min(s.length + 1, r) - i, a2 = "\u2026"));
let c = i > 1 ? " ".repeat(i - 1) : "", l = "^".repeat(o);
@@ -8798,22 +8742,18 @@ ${c}${l}${a2}`;
}
setOrigRange(e, n) {
let { start: r, end: s } = this;
- if (e.length === 0 || s <= e[0])
- return this.origStart = r, this.origEnd = s, n;
+ if (e.length === 0 || s <= e[0]) return this.origStart = r, this.origEnd = s, n;
let i = n;
- for (; i < e.length && !(e[i] > r); )
- ++i;
+ for (; i < e.length && !(e[i] > r); ) ++i;
this.origStart = r + i;
let o = i;
- for (; i < e.length && !(e[i] >= s); )
- ++i;
+ for (; i < e.length && !(e[i] >= s); ) ++i;
return this.origEnd = s + i, o;
}
}, se = class t2 {
static addStringTerminator(e, n, r) {
if (r[r.length - 1] === `
-`)
- return r;
+`) return r;
let s = t2.endOfWhiteSpace(e, n);
return s >= e.length || e[s] === `
` ? r + `
@@ -8821,20 +8761,15 @@ ${c}${l}${a2}`;
}
static atDocumentBoundary(e, n, r) {
let s = e[n];
- if (!s)
- return true;
+ if (!s) return true;
let i = e[n - 1];
if (i && i !== `
-`)
- return false;
+`) return false;
if (r) {
- if (s !== r)
- return false;
- } else if (s !== re.DIRECTIVES_END && s !== re.DOCUMENT_END)
- return false;
+ if (s !== r) return false;
+ } else if (s !== re.DIRECTIVES_END && s !== re.DOCUMENT_END) return false;
let o = e[n + 1], a2 = e[n + 2];
- if (o !== s || a2 !== s)
- return false;
+ if (o !== s || a2 !== s) return false;
let c = e[n + 3];
return !c || c === `
` || c === " " || c === " ";
@@ -8843,48 +8778,40 @@ ${c}${l}${a2}`;
let r = e[n], s = r === "<", i = s ? [`
`, " ", " ", ">"] : [`
`, " ", " ", "[", "]", "{", "}", ","];
- for (; r && i.indexOf(r) === -1; )
- r = e[n += 1];
+ for (; r && i.indexOf(r) === -1; ) r = e[n += 1];
return s && r === ">" && (n += 1), n;
}
static endOfIndent(e, n) {
let r = e[n];
- for (; r === " "; )
- r = e[n += 1];
+ for (; r === " "; ) r = e[n += 1];
return n;
}
static endOfLine(e, n) {
let r = e[n];
for (; r && r !== `
-`; )
- r = e[n += 1];
+`; ) r = e[n += 1];
return n;
}
static endOfWhiteSpace(e, n) {
let r = e[n];
- for (; r === " " || r === " "; )
- r = e[n += 1];
+ for (; r === " " || r === " "; ) r = e[n += 1];
return n;
}
static startOfLine(e, n) {
let r = e[n - 1];
if (r === `
-`)
- return n;
+`) return n;
for (; r && r !== `
-`; )
- r = e[n -= 1];
+`; ) r = e[n -= 1];
return n + 1;
}
static endOfBlockIndent(e, n, r) {
let s = t2.endOfIndent(e, r);
- if (s > r + n)
- return s;
+ if (s > r + n) return s;
{
let i = t2.endOfWhiteSpace(e, s), o = e[i];
if (!o || o === `
-`)
- return i;
+`) return i;
}
return null;
}
@@ -8927,16 +8854,14 @@ ${c}${l}${a2}`;
Object.defineProperty(this, "context", { value: r || null, writable: true }), this.error = null, this.range = null, this.valueRange = null, this.props = n || [], this.type = e, this.value = null;
}
getPropValue(e, n, r) {
- if (!this.context)
- return null;
+ if (!this.context) return null;
let { src: s } = this.context, i = this.props[e];
return i && s[i.start] === n ? s.slice(i.start + (r ? 1 : 0), i.end) : null;
}
get anchor() {
for (let e = 0; e < this.props.length; ++e) {
let n = this.getPropValue(e, re.ANCHOR, true);
- if (n != null)
- return n;
+ if (n != null) return n;
}
return null;
}
@@ -8951,26 +8876,21 @@ ${c}${l}${a2}`;
}
commentHasRequiredWhitespace(e) {
let { src: n } = this.context;
- if (this.header && e === this.header.end || !this.valueRange)
- return false;
+ if (this.header && e === this.header.end || !this.valueRange) return false;
let { end: r } = this.valueRange;
return e !== r || t2.atBlank(n, r - 1);
}
get hasComment() {
if (this.context) {
let { src: e } = this.context;
- for (let n = 0; n < this.props.length; ++n)
- if (e[this.props[n].start] === re.COMMENT)
- return true;
+ for (let n = 0; n < this.props.length; ++n) if (e[this.props[n].start] === re.COMMENT) return true;
}
return false;
}
get hasProps() {
if (this.context) {
let { src: e } = this.context;
- for (let n = 0; n < this.props.length; ++n)
- if (e[this.props[n].start] !== re.COMMENT)
- return true;
+ for (let n = 0; n < this.props.length; ++n) if (e[this.props[n].start] !== re.COMMENT) return true;
}
return false;
}
@@ -8981,17 +8901,14 @@ ${c}${l}${a2}`;
return [lt.FLOW_MAP, lt.FLOW_SEQ, lt.QUOTE_DOUBLE, lt.QUOTE_SINGLE].indexOf(this.type) !== -1;
}
get rangeAsLinePos() {
- if (!this.range || !this.context)
- return;
+ if (!this.range || !this.context) return;
let e = Tn(this.range.start, this.context.root);
- if (!e)
- return;
+ if (!e) return;
let n = Tn(this.range.end, this.context.root);
return { start: e, end: n };
}
get rawValue() {
- if (!this.valueRange || !this.context)
- return null;
+ if (!this.valueRange || !this.context) return null;
let { start: e, end: n } = this.valueRange;
return this.context.src.slice(e, n);
}
@@ -8999,8 +8916,7 @@ ${c}${l}${a2}`;
for (let e = 0; e < this.props.length; ++e) {
let n = this.getPropValue(e, re.TAG, false);
if (n != null) {
- if (n[1] === "<")
- return { verbatim: n.slice(2, -1) };
+ if (n[1] === "<") return { verbatim: n.slice(2, -1) };
{
let [r, s, i] = n.match(/^(.*!)([^!]*)$/);
return { handle: s, suffix: i };
@@ -9010,13 +8926,10 @@ ${c}${l}${a2}`;
return null;
}
get valueRangeContainsNewline() {
- if (!this.valueRange || !this.context)
- return false;
+ if (!this.valueRange || !this.context) return false;
let { start: e, end: n } = this.valueRange, { src: r } = this.context;
- for (let s = e; s < n; ++s)
- if (r[s] === `
-`)
- return true;
+ for (let s = e; s < n; ++s) if (r[s] === `
+`) return true;
return false;
}
parseComment(e) {
@@ -9032,20 +8945,17 @@ ${c}${l}${a2}`;
}
toString() {
let { context: { src: e }, range: n, value: r } = this;
- if (r != null)
- return r;
+ if (r != null) return r;
let s = e.slice(n.start, n.end);
return t2.addStringTerminator(e, n.end, s);
}
}, ye = class extends Error {
constructor(e, n, r) {
- if (!r || !(n instanceof se))
- throw new Error(`Invalid arguments for new ${e}`);
+ if (!r || !(n instanceof se)) throw new Error(`Invalid arguments for new ${e}`);
super(), this.name = e, this.message = r, this.source = n;
}
makePretty() {
- if (!this.source)
- return;
+ if (!this.source) return;
this.nodeType = this.source.type;
let e = this.source.context && this.source.context.root;
if (typeof this.offset == "number") {
@@ -9056,8 +8966,7 @@ ${c}${l}${a2}`;
this.linePos = { start: n, end: r };
}
delete this.offset;
- } else
- this.range = this.source.range, this.linePos = this.source.rangeAsLinePos;
+ } else this.range = this.source.range, this.linePos = this.source.rangeAsLinePos;
if (this.linePos) {
let { line: n, col: r } = this.linePos.start;
this.message += ` at line ${n}, column ${r}`;
@@ -9096,19 +9005,16 @@ ${s}
` && !(r && (s === "[" || s === "]" || s === "{" || s === "}" || s === ",")); ) {
let o = e[i + 1];
if (s === ":" && (!o || o === `
-` || o === " " || o === " " || r && o === ",") || (s === " " || s === " ") && o === "#")
- break;
+` || o === " " || o === " " || r && o === ",") || (s === " " || s === " ") && o === "#") break;
i += 1, s = o;
}
return i;
}
get strValue() {
- if (!this.valueRange || !this.context)
- return null;
+ if (!this.valueRange || !this.context) return null;
let { start: e, end: n } = this.valueRange, { src: r } = this.context, s = r[n - 1];
for (; e < n && (s === `
-` || s === " " || s === " "); )
- s = r[--n - 1];
+` || s === " " || s === " "); ) s = r[--n - 1];
let i = "";
for (let a2 = e; a2 < n; ++a2) {
let c = r[a2];
@@ -9118,12 +9024,10 @@ ${s}
i += l, a2 = f2;
} else if (c === " " || c === " ") {
let l = a2, f2 = r[a2 + 1];
- for (; a2 < n && (f2 === " " || f2 === " "); )
- a2 += 1, f2 = r[a2 + 1];
+ for (; a2 < n && (f2 === " " || f2 === " "); ) a2 += 1, f2 = r[a2 + 1];
f2 !== `
` && (i += a2 > l ? r.slice(l, a2 + 1) : c);
- } else
- i += c;
+ } else i += c;
}
let o = r[e];
switch (o) {
@@ -9145,8 +9049,7 @@ ${s}
for (let a2 = s[i]; a2 === `
` && !se.atDocumentBoundary(s, i + 1); a2 = s[i]) {
let c = se.endOfBlockIndent(s, n, i + 1);
- if (c === null || s[c] === "#")
- break;
+ if (c === null || s[c] === "#") break;
s[c] === `
` ? i = c : (o = t2.endOfLine(s, c, r), i = o);
}
@@ -9219,8 +9122,7 @@ ${s}
} else if (f2) {
let h = m[0];
this.props.push(h), c = h.end;
- } else
- c = u.Node.endOfLine(s, n + 1);
+ } else c = u.Node.endOfLine(s, n + 1);
let y = this.node ? this.node.valueRange.end : c;
return this.valueRange = new u.Range(n, y), c;
}
@@ -9229,8 +9131,7 @@ ${s}
}
toString() {
let { context: { src: e }, node: n, range: r, value: s } = this;
- if (s != null)
- return s;
+ if (s != null) return s;
let i = n ? e.slice(r.start, n.range.start) + String(n) : e.slice(r.start, r.end);
return u.Node.addStringTerminator(e, r.end, i);
}
@@ -9246,28 +9147,21 @@ ${s}
};
function In(t2) {
let e = t2;
- for (; e instanceof ut; )
- e = e.node;
- if (!(e instanceof Bt))
- return null;
+ for (; e instanceof ut; ) e = e.node;
+ if (!(e instanceof Bt)) return null;
let n = e.items.length, r = -1;
for (let o = n - 1; o >= 0; --o) {
let a2 = e.items[o];
if (a2.type === u.Type.COMMENT) {
let { indent: c, lineStart: l } = a2.context;
- if (c > 0 && a2.range.start >= l + c)
- break;
- r = o;
- } else if (a2.type === u.Type.BLANK_LINE)
+ if (c > 0 && a2.range.start >= l + c) break;
r = o;
- else
- break;
+ } else if (a2.type === u.Type.BLANK_LINE) r = o;
+ else break;
}
- if (r === -1)
- return null;
+ if (r === -1) return null;
let s = e.items.splice(r, n - r), i = s[0].range.start;
- for (; e.range.end = i, e.valueRange && e.valueRange.end > i && (e.valueRange.end = i), e !== t2; )
- e = e.context.parent;
+ for (; e.range.end = i, e.valueRange && e.valueRange.end > i && (e.valueRange.end = i), e !== t2; ) e = e.context.parent;
return s;
}
var Bt = class t2 extends u.Node {
@@ -9280,13 +9174,12 @@ ${s}
}
constructor(e) {
super(e.type === u.Type.SEQ_ITEM ? u.Type.SEQ : u.Type.MAP);
- for (let r = e.props.length - 1; r >= 0; --r)
- if (e.props[r].start < e.context.lineStart) {
- this.props = e.props.slice(0, r + 1), e.props = e.props.slice(r + 1);
- let s = e.props[0] || e.valueRange;
- e.range.start = s.start;
- break;
- }
+ for (let r = e.props.length - 1; r >= 0; --r) if (e.props[r].start < e.context.lineStart) {
+ this.props = e.props.slice(0, r + 1), e.props = e.props.slice(r + 1);
+ let s = e.props[0] || e.valueRange;
+ e.range.start = s.start;
+ break;
+ }
this.items = [e];
let n = In(e);
n && Array.prototype.push.apply(this.items, n);
@@ -9313,8 +9206,7 @@ ${s}
}
this.items.push(h), c -= 1;
} else if (l === "#") {
- if (c < i + a2 && !t2.nextContentHasIndent(s, c, a2))
- return c;
+ if (c < i + a2 && !t2.nextContentHasIndent(s, c, a2)) return c;
let h = new Ee();
if (c = h.parse({ indent: a2, lineStart: i, src: s }, c), this.items.push(h), this.valueRange.end = c, c >= s.length) {
l = null;
@@ -9328,8 +9220,7 @@ ${s}
}
l = s[c], f2 = true;
}
- if (!l)
- break;
+ if (!l) break;
if (c !== i + a2 && (f2 || l !== ":")) {
if (c < i + a2) {
i > n && (c = i);
@@ -9353,12 +9244,10 @@ ${s}
}
}
let d = r({ atLineStart: f2, inCollection: true, indent: a2, lineStart: i, parent: this }, c);
- if (!d)
- return c;
+ if (!d) return c;
if (this.items.push(d), this.valueRange.end = d.valueRange.end, c = u.Node.normalizeOffset(s, d.range.end), l = s[c], f2 = false, m = d.includesTrailingLines, l) {
let h = c - 1, g = s[h];
- for (; g === " " || g === " "; )
- g = s[--h];
+ for (; g === " " || g === " "; ) g = s[--h];
g === `
` && (i = h + 1, f2 = true);
}
@@ -9374,14 +9263,11 @@ ${s}
}
toString() {
let { context: { src: e }, items: n, range: r, value: s } = this;
- if (s != null)
- return s;
+ if (s != null) return s;
let i = e.slice(r.start, n[0].range.start) + String(n[0]);
for (let o = 1; o < n.length; ++o) {
let a2 = n[o], { atLineStart: c, indent: l } = a2.context;
- if (c)
- for (let f2 = 0; f2 < l; ++f2)
- i += " ";
+ if (c) for (let f2 = 0; f2 < l; ++f2) i += " ";
i += String(a2);
}
return u.Node.addStringTerminator(e, r.end, i);
@@ -9397,15 +9283,13 @@ ${s}
parseName(e) {
let { src: n } = this.context, r = e, s = n[r];
for (; s && s !== `
-` && s !== " " && s !== " "; )
- s = n[r += 1];
+` && s !== " " && s !== " "; ) s = n[r += 1];
return this.name = n.slice(e, r), r;
}
parseParameters(e) {
let { src: n } = this.context, r = e, s = n[r];
for (; s && s !== `
-` && s !== "#"; )
- s = n[r += 1];
+` && s !== "#"; ) s = n[r += 1];
return this.valueRange = new u.Range(e, r), r;
}
parse(e, n) {
@@ -9426,39 +9310,36 @@ ${s}
let { src: n } = this.context;
this.directives = [];
let r = true, s = false, i = e;
- for (; !u.Node.atDocumentBoundary(n, i, u.Char.DIRECTIVES_END); )
- switch (i = t2.startCommentOrEndBlankLine(n, i), n[i]) {
- case `
+ for (; !u.Node.atDocumentBoundary(n, i, u.Char.DIRECTIVES_END); ) switch (i = t2.startCommentOrEndBlankLine(n, i), n[i]) {
+ case `
`:
- if (r) {
- let o = new Se();
- i = o.parse({ src: n }, i), i < n.length && this.directives.push(o);
- } else
- i += 1, r = true;
- break;
- case "#":
- {
- let o = new Ee();
- i = o.parse({ src: n }, i), this.directives.push(o), r = false;
- }
- break;
- case "%":
- {
- let o = new Pn();
- i = o.parse({ parent: this, src: n }, i), this.directives.push(o), s = true, r = false;
- }
- break;
- default:
- return s ? this.error = new u.YAMLSemanticError(this, "Missing directives-end indicator line") : this.directives.length > 0 && (this.contents = this.directives, this.directives = []), i;
- }
+ if (r) {
+ let o = new Se();
+ i = o.parse({ src: n }, i), i < n.length && this.directives.push(o);
+ } else i += 1, r = true;
+ break;
+ case "#":
+ {
+ let o = new Ee();
+ i = o.parse({ src: n }, i), this.directives.push(o), r = false;
+ }
+ break;
+ case "%":
+ {
+ let o = new Pn();
+ i = o.parse({ parent: this, src: n }, i), this.directives.push(o), s = true, r = false;
+ }
+ break;
+ default:
+ return s ? this.error = new u.YAMLSemanticError(this, "Missing directives-end indicator line") : this.directives.length > 0 && (this.contents = this.directives, this.directives = []), i;
+ }
return n[i] ? (this.directivesEndMarker = new u.Range(i, i + 3), i + 3) : (s ? this.error = new u.YAMLSemanticError(this, "Missing directives-end indicator line") : this.directives.length > 0 && (this.contents = this.directives, this.directives = []), i);
}
parseContents(e) {
let { parseNode: n, src: r } = this.context;
this.contents || (this.contents = []);
let s = e;
- for (; r[s - 1] === "-"; )
- s -= 1;
+ for (; r[s - 1] === "-"; ) s -= 1;
let i = u.Node.endOfWhiteSpace(r, e), o = s === e;
for (this.valueRange = new u.Range(i); !u.Node.atDocumentBoundary(r, i, u.Char.DOCUMENT_END); ) {
switch (r[i]) {
@@ -9467,8 +9348,7 @@ ${s}
if (o) {
let a2 = new Se();
i = a2.parse({ src: r }, i), i < r.length && this.contents.push(a2);
- } else
- i += 1, o = true;
+ } else i += 1, o = true;
s = i;
break;
case "#":
@@ -9479,8 +9359,7 @@ ${s}
break;
default: {
let a2 = u.Node.endOfIndent(r, i), l = n({ atLineStart: o, indent: -1, inFlow: false, inCollection: false, lineStart: s, parent: this }, a2);
- if (!l)
- return this.valueRange.end = a2;
+ if (!l) return this.valueRange.end = a2;
this.contents.push(l), i = l.range.end, o = false;
let f2 = In(l);
f2 && Array.prototype.push.apply(this.contents, f2);
@@ -9520,8 +9399,7 @@ ${s}
}
toString() {
let { contents: e, directives: n, value: r } = this;
- if (r != null)
- return r;
+ if (r != null) return r;
let s = n.join("");
return e.length > 0 && ((n.length > 0 || e[0].type === u.Type.COMMENT) && (s += `---
`), s += e.join("")), s[s.length - 1] !== `
@@ -9542,17 +9420,14 @@ ${s}
return this.chomping === fe.KEEP;
}
get strValue() {
- if (!this.valueRange || !this.context)
- return null;
+ if (!this.valueRange || !this.context) return null;
let { start: e, end: n } = this.valueRange, { indent: r, src: s } = this.context;
- if (this.valueRange.isEmpty())
- return "";
+ if (this.valueRange.isEmpty()) return "";
let i = null, o = s[n - 1];
for (; o === `
` || o === " " || o === " "; ) {
if (n -= 1, n <= e) {
- if (this.chomping === fe.KEEP)
- break;
+ if (this.chomping === fe.KEEP) break;
return "";
}
o === `
@@ -9562,12 +9437,10 @@ ${s}
i && (this.chomping === fe.KEEP ? (a2 = i, n = this.valueRange.end) : n = i);
let c = r + this.blockIndent, l = this.type === u.Type.BLOCK_FOLDED, f2 = true, m = "", d = "", y = false;
for (let h = e; h < n; ++h) {
- for (let w = 0; w < c && s[h] === " "; ++w)
- h += 1;
+ for (let w = 0; w < c && s[h] === " "; ++w) h += 1;
let g = s[h];
if (g === `
-`)
- d === `
+`) d === `
` ? m += `
` : d = `
`;
@@ -9618,14 +9491,12 @@ ${s}
for (let c = r[i]; c === `
` && (i += 1, !u.Node.atDocumentBoundary(r, i)); c = r[i]) {
let l = u.Node.endOfBlockIndent(r, n, i);
- if (l === null)
- break;
+ if (l === null) break;
let f2 = r[l], m = l - (i + n);
if (this.blockIndent) {
if (f2 && f2 !== `
` && m < this.blockIndent) {
- if (r[l] === "#")
- break;
+ if (r[l] === "#") break;
if (!this.error) {
let y = `Block scalars must not be less indented than their ${s ? "explicit indentation indicator" : "first line"}`;
this.error = new u.YAMLSemanticError(this, y);
@@ -9638,8 +9509,7 @@ ${s}
this.error = new u.YAMLSemanticError(this, d);
}
this.blockIndent = m;
- } else
- m > a2 && (a2 = m);
+ } else m > a2 && (a2 = m);
r[l] === `
` ? i = l : i = o = u.Node.endOfLine(r, l);
}
@@ -9704,8 +9574,7 @@ ${s}
}
default: {
let l = r({ atLineStart: false, inCollection: false, inFlow: true, indent: -1, lineStart: o, parent: this }, c);
- if (!l)
- return this.valueRange = new u.Range(n, c), c;
+ if (!l) return this.valueRange = new u.Range(n, c), c;
this.items.push(l), c = u.Node.normalizeOffset(s, l.range.end);
}
}
@@ -9715,22 +9584,18 @@ ${s}
}
setOrigRanges(e, n) {
return n = super.setOrigRanges(e, n), this.items.forEach((r) => {
- if (r instanceof u.Node)
- n = r.setOrigRanges(e, n);
- else if (e.length === 0)
- r.origOffset = r.offset;
+ if (r instanceof u.Node) n = r.setOrigRanges(e, n);
+ else if (e.length === 0) r.origOffset = r.offset;
else {
let s = n;
- for (; s < e.length && !(e[s] > r.offset); )
- ++s;
+ for (; s < e.length && !(e[s] > r.offset); ) ++s;
r.origOffset = r.offset + s, n = s;
}
}), n;
}
toString() {
let { context: { src: e }, items: n, range: r, value: s } = this;
- if (s != null)
- return s;
+ if (s != null) return s;
let i = n.filter((c) => c instanceof u.Node), o = "", a2 = r.start;
return i.forEach((c) => {
let l = e.slice(a2, c.range.start);
@@ -9743,13 +9608,11 @@ ${s}
}, Yn = class t2 extends u.Node {
static endOfQuote(e, n) {
let r = e[n];
- for (; r && r !== '"'; )
- n += r === "\\" ? 2 : 1, r = e[n];
+ for (; r && r !== '"'; ) n += r === "\\" ? 2 : 1, r = e[n];
return n + 1;
}
get strValue() {
- if (!this.valueRange || !this.context)
- return null;
+ if (!this.valueRange || !this.context) return null;
let e = [], { start: n, end: r } = this.valueRange, { indent: s, src: i } = this.context;
i[r - 1] !== '"' && e.push(new u.YAMLSyntaxError(this, 'Missing closing "quote'));
let o = "";
@@ -9760,88 +9623,84 @@ ${s}
u.Node.atDocumentBoundary(i, a2 + 1) && e.push(new u.YAMLSemanticError(this, "Document boundary indicators are not allowed within string values"));
let { fold: l, offset: f2, error: m } = u.Node.foldNewline(i, a2, s);
o += l, a2 = f2, m && e.push(new u.YAMLSemanticError(this, "Multi-line double-quoted string needs to be sufficiently indented"));
- } else if (c === "\\")
- switch (a2 += 1, i[a2]) {
- case "0":
- o += "\0";
- break;
- case "a":
- o += "\x07";
- break;
- case "b":
- o += "\b";
- break;
- case "e":
- o += "\x1B";
- break;
- case "f":
- o += "\f";
- break;
- case "n":
- o += `
+ } else if (c === "\\") switch (a2 += 1, i[a2]) {
+ case "0":
+ o += "\0";
+ break;
+ case "a":
+ o += "\x07";
+ break;
+ case "b":
+ o += "\b";
+ break;
+ case "e":
+ o += "\x1B";
+ break;
+ case "f":
+ o += "\f";
+ break;
+ case "n":
+ o += `
`;
- break;
- case "r":
- o += "\r";
- break;
- case "t":
- o += " ";
- break;
- case "v":
- o += "\v";
- break;
- case "N":
- o += "\x85";
- break;
- case "_":
- o += "\xA0";
- break;
- case "L":
- o += "\u2028";
- break;
- case "P":
- o += "\u2029";
- break;
- case " ":
- o += " ";
- break;
- case '"':
- o += '"';
- break;
- case "/":
- o += "/";
- break;
- case "\\":
- o += "\\";
- break;
- case " ":
- o += " ";
- break;
- case "x":
- o += this.parseCharCode(a2 + 1, 2, e), a2 += 2;
- break;
- case "u":
- o += this.parseCharCode(a2 + 1, 4, e), a2 += 4;
- break;
- case "U":
- o += this.parseCharCode(a2 + 1, 8, e), a2 += 8;
- break;
- case `
+ break;
+ case "r":
+ o += "\r";
+ break;
+ case "t":
+ o += " ";
+ break;
+ case "v":
+ o += "\v";
+ break;
+ case "N":
+ o += "\x85";
+ break;
+ case "_":
+ o += "\xA0";
+ break;
+ case "L":
+ o += "\u2028";
+ break;
+ case "P":
+ o += "\u2029";
+ break;
+ case " ":
+ o += " ";
+ break;
+ case '"':
+ o += '"';
+ break;
+ case "/":
+ o += "/";
+ break;
+ case "\\":
+ o += "\\";
+ break;
+ case " ":
+ o += " ";
+ break;
+ case "x":
+ o += this.parseCharCode(a2 + 1, 2, e), a2 += 2;
+ break;
+ case "u":
+ o += this.parseCharCode(a2 + 1, 4, e), a2 += 4;
+ break;
+ case "U":
+ o += this.parseCharCode(a2 + 1, 8, e), a2 += 8;
+ break;
+ case `
`:
- for (; i[a2 + 1] === " " || i[a2 + 1] === " "; )
- a2 += 1;
- break;
- default:
- e.push(new u.YAMLSyntaxError(this, `Invalid escape sequence ${i.substr(a2 - 1, 2)}`)), o += "\\" + i[a2];
- }
+ for (; i[a2 + 1] === " " || i[a2 + 1] === " "; ) a2 += 1;
+ break;
+ default:
+ e.push(new u.YAMLSyntaxError(this, `Invalid escape sequence ${i.substr(a2 - 1, 2)}`)), o += "\\" + i[a2];
+ }
else if (c === " " || c === " ") {
let l = a2, f2 = i[a2 + 1];
- for (; f2 === " " || f2 === " "; )
- a2 += 1, f2 = i[a2 + 1];
+ for (; f2 === " " || f2 === " "; ) a2 += 1, f2 = i[a2 + 1];
f2 !== `
` && (o += a2 > l ? i.slice(l, a2 + 1) : c);
- } else
- o += c;
+ } else o += c;
}
return e.length > 0 ? { errors: e, str: o } : o;
}
@@ -9857,18 +9716,14 @@ ${s}
}, $n = class t2 extends u.Node {
static endOfQuote(e, n) {
let r = e[n];
- for (; r; )
- if (r === "'") {
- if (e[n + 1] !== "'")
- break;
- r = e[n += 2];
- } else
- r = e[n += 1];
+ for (; r; ) if (r === "'") {
+ if (e[n + 1] !== "'") break;
+ r = e[n += 2];
+ } else r = e[n += 1];
return n + 1;
}
get strValue() {
- if (!this.valueRange || !this.context)
- return null;
+ if (!this.valueRange || !this.context) return null;
let e = [], { start: n, end: r } = this.valueRange, { indent: s, src: i } = this.context;
i[r - 1] !== "'" && e.push(new u.YAMLSyntaxError(this, "Missing closing 'quote"));
let o = "";
@@ -9879,16 +9734,13 @@ ${s}
u.Node.atDocumentBoundary(i, a2 + 1) && e.push(new u.YAMLSemanticError(this, "Document boundary indicators are not allowed within string values"));
let { fold: l, offset: f2, error: m } = u.Node.foldNewline(i, a2, s);
o += l, a2 = f2, m && e.push(new u.YAMLSemanticError(this, "Multi-line single-quoted string needs to be sufficiently indented"));
- } else if (c === "'")
- o += c, a2 += 1, i[a2] !== "'" && e.push(new u.YAMLSyntaxError(this, "Unescaped single quote? This should not happen."));
+ } else if (c === "'") o += c, a2 += 1, i[a2] !== "'" && e.push(new u.YAMLSyntaxError(this, "Unescaped single quote? This should not happen."));
else if (c === " " || c === " ") {
let l = a2, f2 = i[a2 + 1];
- for (; f2 === " " || f2 === " "; )
- a2 += 1, f2 = i[a2 + 1];
+ for (; f2 === " " || f2 === " "; ) a2 += 1, f2 = i[a2 + 1];
f2 !== `
` && (o += a2 > l ? i.slice(l, a2 + 1) : c);
- } else
- o += c;
+ } else o += c;
}
return e.length > 0 ? { errors: e, str: o } : o;
}
@@ -9952,8 +9804,7 @@ ${s}
}
constructor(e = {}, { atLineStart: n, inCollection: r, inFlow: s, indent: i, lineStart: o, parent: a2 } = {}) {
u._defineProperty(this, "parseNode", (c, l) => {
- if (u.Node.atDocumentBoundary(this.src, l))
- return null;
+ if (u.Node.atDocumentBoundary(this.src, l)) return null;
let f2 = new t2(this, c), { props: m, type: d, valueStart: y } = f2.parseProps(l), h = vo(d, m), g = h.parse(f2, y);
if (h.range = new u.Range(l, g), g <= l && (h.error = new Error("Node#parse consumed no characters"), h.error.parseEnd = g, h.error.source = h, h.range.end = l + 1), f2.nodeStartsCollection(h)) {
!h.error && !f2.atLineStart && f2.parent.type === u.Type.DOCUMENT && (h.error = new u.YAMLSyntaxError(h, "Block collection must not have preceding content here (e.g. directives-end indicator)"));
@@ -9965,10 +9816,8 @@ ${s}
}
nodeStartsCollection(e) {
let { inCollection: n, inFlow: r, src: s } = this;
- if (n || r)
- return false;
- if (e instanceof ut)
- return true;
+ if (n || r) return false;
+ if (e instanceof ut) return true;
let i = e.range.end;
return s[i] === `
` || s[i - 1] === `
@@ -9988,8 +9837,7 @@ ${s}
while (s[l] === `
`);
let m = l - (f2 + this.indent), d = r.type === u.Type.SEQ_ITEM && r.context.atLineStart;
- if (s[l] !== "#" && !u.Node.nextNodeIsIndented(s[l], m, !d))
- break;
+ if (s[l] !== "#" && !u.Node.nextNodeIsIndented(s[l], m, !d)) break;
this.atLineStart = true, this.lineStart = f2, o = false, e = l;
} else if (a2 === u.Char.COMMENT) {
let l = u.Node.endOfLine(s, e + 1);
@@ -10015,13 +9863,10 @@ ${s}
r = s.parse(i, r), n.push(s);
} while (r < t2.length);
return n.setOrigRanges = () => {
- if (e.length === 0)
- return false;
- for (let i = 1; i < e.length; ++i)
- e[i] -= i;
+ if (e.length === 0) return false;
+ for (let i = 1; i < e.length; ++i) e[i] -= i;
let s = 0;
- for (let i = 0; i < n.length; ++i)
- s = n[i].setOrigRanges(e, s);
+ for (let i = 0; i < n.length; ++i) s = n[i].setOrigRanges(e, s);
return e.splice(0, e.length), true;
}, n.toString = () => n.join(`...
`), n;
@@ -10043,8 +9888,7 @@ ${e}${t2}` : t2;
var W = class {
};
function ue(t2, e, n) {
- if (Array.isArray(t2))
- return t2.map((r, s) => ue(r, String(s), n));
+ if (Array.isArray(t2)) return t2.map((r, s) => ue(r, String(s), n));
if (t2 && typeof t2.toJSON == "function") {
let r = n && n.anchors && n.anchors.get(t2);
r && (n.onCreate = (i) => {
@@ -10085,24 +9929,18 @@ ${e}${t2}` : t2;
super(), p._defineProperty(this, "items", []), this.schema = e;
}
addIn(e, n) {
- if (Bs(e))
- this.add(n);
+ if (Bs(e)) this.add(n);
else {
let [r, ...s] = e, i = this.get(r, true);
- if (i instanceof t2)
- i.addIn(s, n);
- else if (i === void 0 && this.schema)
- this.set(r, Ds(this.schema, s, n));
- else
- throw new Error(`Expected YAML collection at ${r}. Remaining path: ${s}`);
+ if (i instanceof t2) i.addIn(s, n);
+ else if (i === void 0 && this.schema) this.set(r, Ds(this.schema, s, n));
+ else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${s}`);
}
}
deleteIn([e, ...n]) {
- if (n.length === 0)
- return this.delete(e);
+ if (n.length === 0) return this.delete(e);
let r = this.get(e, true);
- if (r instanceof t2)
- return r.deleteIn(n);
+ if (r instanceof t2) return r.deleteIn(n);
throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`);
}
getIn([e, ...n], r) {
@@ -10111,29 +9949,23 @@ ${e}${t2}` : t2;
}
hasAllNullValues() {
return this.items.every((e) => {
- if (!e || e.type !== "PAIR")
- return false;
+ if (!e || e.type !== "PAIR") return false;
let n = e.value;
return n == null || n instanceof P && n.value == null && !n.commentBefore && !n.comment && !n.tag;
});
}
hasIn([e, ...n]) {
- if (n.length === 0)
- return this.has(e);
+ if (n.length === 0) return this.has(e);
let r = this.get(e, true);
return r instanceof t2 ? r.hasIn(n) : false;
}
setIn([e, ...n], r) {
- if (n.length === 0)
- this.set(e, r);
+ if (n.length === 0) this.set(e, r);
else {
let s = this.get(e, true);
- if (s instanceof t2)
- s.setIn(n, r);
- else if (s === void 0 && this.schema)
- this.set(e, Ds(this.schema, n, r));
- else
- throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`);
+ if (s instanceof t2) s.setIn(n, r);
+ else if (s === void 0 && this.schema) this.set(e, Ds(this.schema, n, r));
+ else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${n}`);
}
}
toJSON() {
@@ -10153,25 +9985,21 @@ ${e}${t2}` : t2;
return m && !h && _2.includes(`
`) && (h = true), m && M < this.items.length - 1 && (_2 += ","), _2 = Fe(_2, i, A2), y && (A2 || m) && (y = false), C.push({ type: "item", str: _2 }), C;
}, []), w;
- if (g.length === 0)
- w = r.start + r.end;
+ if (g.length === 0) w = r.start + r.end;
else if (m) {
let { start: C, end: L } = r, M = g.map((A2) => A2.str);
if (h || M.reduce((A2, _2) => A2 + _2.length + 2, 2) > t2.maxFlowStringSingleLineLength) {
w = C;
- for (let A2 of M)
- w += A2 ? `
+ for (let A2 of M) w += A2 ? `
${l}${c}${A2}` : `
`;
w += `
${c}${L}`;
- } else
- w = `${C} ${M.join(" ")} ${L}`;
+ } else w = `${C} ${M.join(" ")} ${L}`;
} else {
let C = g.map(n);
w = C.shift();
- for (let L of C)
- w += L ? `
+ for (let L of C) w += L ? `
${c}${L}` : `
`;
}
@@ -10194,8 +10022,7 @@ ${c}${L}` : `
}
get(e, n) {
let r = Ft(e);
- if (typeof r != "number")
- return;
+ if (typeof r != "number") return;
let s = this.items[r];
return !n && s instanceof P ? s.value : s;
}
@@ -10205,16 +10032,14 @@ ${c}${L}` : `
}
set(e, n) {
let r = Ft(e);
- if (typeof r != "number")
- throw new Error(`Expected a valid index, not ${e}.`);
+ if (typeof r != "number") throw new Error(`Expected a valid index, not ${e}.`);
this.items[r] = n;
}
toJSON(e, n) {
let r = [];
n && n.onCreate && n.onCreate(r);
let s = 0;
- for (let i of this.items)
- r.push(ue(i, String(s++), n));
+ for (let i of this.items) r.push(ue(i, String(s++), n));
return r;
}
toString(e, n, r) {
@@ -10228,8 +10053,7 @@ ${c}${L}` : `
return this.key instanceof W ? this.key.commentBefore : void 0;
}
set commentBefore(e) {
- if (this.key == null && (this.key = new P(null)), this.key instanceof W)
- this.key.commentBefore = e;
+ if (this.key == null && (this.key = new P(null)), this.key instanceof W) this.key.commentBefore = e;
else {
let n = "Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";
throw new Error(n);
@@ -10240,8 +10064,7 @@ ${c}${L}` : `
if (n instanceof Map) {
let s = ue(this.value, r, e);
n.set(r, s);
- } else if (n instanceof Set)
- n.add(r);
+ } else if (n instanceof Set) n.add(r);
else {
let s = _o(this.key, r, e), i = ue(this.value, s, e);
s in n ? Object.defineProperty(n, s, { value: i, writable: true, enumerable: true, configurable: true }) : n[s] = i;
@@ -10253,12 +10076,10 @@ ${c}${L}` : `
return this.addToJSMap(n, r);
}
toString(e, n, r) {
- if (!e || !e.doc)
- return JSON.stringify(this);
+ if (!e || !e.doc) return JSON.stringify(this);
let { indent: s, indentSeq: i, simpleKeys: o } = e.doc.options, { key: a2, value: c } = this, l = a2 instanceof W && a2.comment;
if (o) {
- if (l)
- throw new Error("With simple keys, key nodes cannot have comments");
+ if (l) throw new Error("With simple keys, key nodes cannot have comments");
if (a2 instanceof j) {
let _2 = "With simple keys, collection cannot be used as a key value";
throw new Error(_2);
@@ -10268,12 +10089,10 @@ ${c}${L}` : `
e = Object.assign({}, e, { implicitKey: !f2, indent: d + y });
let g = false, w = h(a2, e, () => l = null, () => g = true);
if (w = Fe(w, e.indent, l), !f2 && w.length > 1024) {
- if (o)
- throw new Error("With simple keys, single line scalar must not span more than 1024 characters");
+ if (o) throw new Error("With simple keys, single line scalar must not span more than 1024 characters");
f2 = true;
}
- if (e.allNullValues && !o)
- return this.comment ? (w = Fe(w, e.indent, this.comment), n && n()) : g && !l && r && r(), e.inFlow && !f2 ? w : `? ${w}`;
+ if (e.allNullValues && !o) return this.comment ? (w = Fe(w, e.indent, this.comment), n && n()) : g && !l && r && r(), e.inFlow && !f2 ? w : `? ${w}`;
w = f2 ? `? ${w}
${d}:` : `${w}:`, this.comment && (w = Fe(w, e.indent, this.comment), n && n());
let C = "", L = null;
@@ -10285,8 +10104,7 @@ ${d}:` : `${w}:`, this.comment && (w = Fe(w, e.indent, this.comment), n && n());
${_2}`;
}
L = c.comment;
- } else
- c && typeof c == "object" && (c = m.schema.createNode(c, true));
+ } else c && typeof c == "object" && (c = m.schema.createNode(c, true));
e.implicitKey = false, !f2 && !this.comment && c instanceof P && (e.indentAtStart = w.length + 1), g = false, !i && s >= 2 && !e.inFlow && !f2 && c instanceof pe && c.type !== p.Type.FLOW_SEQ && !c.tag && !m.anchors.getName(c) && (e.indent = e.indent.substr(2));
let M = h(c, e, () => L = null, () => g = true), A2 = " ";
return C || this.comment ? A2 = `${C}
@@ -10316,8 +10134,7 @@ ${e.indent}`) : M[0] === `
}, be = class t2 extends W {
static stringify({ range: e, source: n }, { anchors: r, doc: s, implicitKey: i, inStringifyKey: o }) {
let a2 = Object.keys(r).find((l) => r[l] === n);
- if (!a2 && o && (a2 = s.anchors.getName(n) || s.anchors.newName()), a2)
- return `*${a2}${i ? " " : ""}`;
+ if (!a2 && o && (a2 = s.anchors.getName(n) || s.anchors.newName()), a2) return `*${a2}${i ? " " : ""}`;
let c = s.anchors.getName(n) ? "Alias node must be after source node" : "Source node not found for alias node";
throw new Error(`${c} [${e}]`);
}
@@ -10328,8 +10145,7 @@ ${e.indent}`) : M[0] === `
throw new Error("Alias nodes cannot have tags");
}
toJSON(e, n) {
- if (!n)
- return ue(this.source, e, n);
+ if (!n) return ue(this.source, e, n);
let { anchors: r, maxAliasCount: s } = n, i = r.get(this.source);
if (!i || i.res === void 0) {
let o = "This should not happen: Alias anchor was not resolved?";
@@ -10348,24 +10164,18 @@ ${e.indent}`) : M[0] === `
p._defineProperty(be, "default", true);
function pt(t2, e) {
let n = e instanceof P ? e.value : e;
- for (let r of t2)
- if (r instanceof T && (r.key === e || r.key === n || r.key && r.key.value === n))
- return r;
+ for (let r of t2) if (r instanceof T && (r.key === e || r.key === n || r.key && r.key.value === n)) return r;
}
var mt = class extends j {
add(e, n) {
e ? e instanceof T || (e = new T(e.key || e, e.value)) : e = new T(e);
let r = pt(this.items, e.key), s = this.schema && this.schema.sortMapEntries;
- if (r)
- if (n)
- r.value = e.value;
- else
- throw new Error(`Key ${e.key} already set`);
+ if (r) if (n) r.value = e.value;
+ else throw new Error(`Key ${e.key} already set`);
else if (s) {
let i = this.items.findIndex((o) => s(e, o) < 0);
i === -1 ? this.items.push(e) : this.items.splice(i, 0, e);
- } else
- this.items.push(e);
+ } else this.items.push(e);
}
delete(e) {
let n = pt(this.items, e);
@@ -10384,16 +10194,12 @@ ${e.indent}`) : M[0] === `
toJSON(e, n, r) {
let s = r ? new r() : n && n.mapAsMap ? /* @__PURE__ */ new Map() : {};
n && n.onCreate && n.onCreate(s);
- for (let i of this.items)
- i.addToJSMap(n, s);
+ for (let i of this.items) i.addToJSMap(n, s);
return s;
}
toString(e, n, r) {
- if (!e)
- return JSON.stringify(this);
- for (let s of this.items)
- if (!(s instanceof T))
- throw new Error(`Map items must all be pairs; found ${JSON.stringify(s)} instead`);
+ if (!e) return JSON.stringify(this);
+ for (let s of this.items) if (!(s instanceof T)) throw new Error(`Map items must all be pairs; found ${JSON.stringify(s)} instead`);
return super.toString(e, { blockItem: (s) => s.str, flowChars: { start: "{", end: "}" }, isMap: true, itemIndent: e.indent || "" }, n, r);
}
}, Fs = "<<", Vt = class extends T {
@@ -10401,38 +10207,33 @@ ${e.indent}`) : M[0] === `
if (e instanceof T) {
let n = e.value;
n instanceof pe || (n = new pe(), n.items.push(e.value), n.range = e.value.range), super(e.key, n), this.range = e.range;
- } else
- super(new P(Fs), new pe());
+ } else super(new P(Fs), new pe());
this.type = T.Type.MERGE_PAIR;
}
addToJSMap(e, n) {
for (let { source: r } of this.value.items) {
- if (!(r instanceof mt))
- throw new Error("Merge sources must be maps");
+ if (!(r instanceof mt)) throw new Error("Merge sources must be maps");
let s = r.toJSON(null, e, Map);
- for (let [i, o] of s)
- n instanceof Map ? n.has(i) || n.set(i, o) : n instanceof Set ? n.add(i) : Object.prototype.hasOwnProperty.call(n, i) || Object.defineProperty(n, i, { value: o, writable: true, enumerable: true, configurable: true });
+ for (let [i, o] of s) n instanceof Map ? n.has(i) || n.set(i, o) : n instanceof Set ? n.add(i) : Object.prototype.hasOwnProperty.call(n, i) || Object.defineProperty(n, i, { value: o, writable: true, enumerable: true, configurable: true });
}
return n;
}
toString(e, n) {
let r = this.value;
- if (r.items.length > 1)
- return super.toString(e, n);
+ if (r.items.length > 1) return super.toString(e, n);
this.value = r.items[0];
let s = super.toString(e, n);
return this.value = r, s;
}
}, xo = { defaultType: p.Type.BLOCK_LITERAL, lineWidth: 76 }, Ro = { trueStr: "true", falseStr: "false" }, Do = { asBigInt: false }, Yo = { nullStr: "null" }, Ne = { defaultType: p.Type.PLAIN, doubleQuoted: { jsonEncoding: false, minMultiLineLength: 40 }, fold: { lineWidth: 80, minContentWidth: 20 } };
function qn(t2, e, n) {
- for (let { format: r, test: s, resolve: i } of e)
- if (s) {
- let o = t2.match(s);
- if (o) {
- let a2 = i.apply(null, o);
- return a2 instanceof P || (a2 = new P(a2)), r && (a2.format = r), a2;
- }
+ for (let { format: r, test: s, resolve: i } of e) if (s) {
+ let o = t2.match(s);
+ if (o) {
+ let a2 = i.apply(null, o);
+ return a2 instanceof P || (a2 = new P(a2)), r && (a2.format = r), a2;
}
+ }
return n && (t2 = n(t2)), new P(t2);
}
var qs = "flow", Fn = "block", Ut = "quoted", Ys = (t2, e) => {
@@ -10447,11 +10248,9 @@ ${e.indent}`) : M[0] === `
return e;
};
function Wt(t2, e, n, { indentAtStart: r, lineWidth: s = 80, minContentWidth: i = 20, onFold: o, onOverflow: a2 }) {
- if (!s || s < 0)
- return t2;
+ if (!s || s < 0) return t2;
let c = Math.max(1 + i, 1 + s - e.length);
- if (t2.length <= c)
- return t2;
+ if (t2.length <= c) return t2;
let l = [], f2 = {}, m = s - e.length;
typeof r == "number" && (r > s - Math.max(2, i) ? l.push(0) : m = s - r);
let d, y, h = false, g = -1, w = -1, C = -1;
@@ -10474,8 +10273,7 @@ ${e.indent}`) : M[0] === `
C = g;
}
if (M === `
-`)
- n === Fn && (g = Ys(t2, g)), m = g + c, d = void 0;
+`) n === Fn && (g = Ys(t2, g)), m = g + c, d = void 0;
else {
if (M === " " && y && y !== " " && y !== `
` && y !== " ") {
@@ -10483,23 +10281,17 @@ ${e.indent}`) : M[0] === `
A2 && A2 !== " " && A2 !== `
` && A2 !== " " && (d = g);
}
- if (g >= m)
- if (d)
- l.push(d), m = d + c, d = void 0;
- else if (n === Ut) {
- for (; y === " " || y === " "; )
- y = M, M = t2[g += 1], h = true;
- let A2 = g > C + 1 ? g - 2 : w - 1;
- if (f2[A2])
- return t2;
- l.push(A2), f2[A2] = true, m = A2 + c, d = void 0;
- } else
- h = true;
+ if (g >= m) if (d) l.push(d), m = d + c, d = void 0;
+ else if (n === Ut) {
+ for (; y === " " || y === " "; ) y = M, M = t2[g += 1], h = true;
+ let A2 = g > C + 1 ? g - 2 : w - 1;
+ if (f2[A2]) return t2;
+ l.push(A2), f2[A2] = true, m = A2 + c, d = void 0;
+ } else h = true;
}
y = M;
}
- if (h && a2 && a2(), l.length === 0)
- return t2;
+ if (h && a2 && a2(), l.length === 0) return t2;
o && o();
let L = t2.slice(0, l[0]);
for (let M = 0; M < l.length; ++M) {
@@ -10512,97 +10304,83 @@ ${e}${t2.slice(A2 + 1, _2)}`);
}
var Un = ({ indentAtStart: t2 }) => t2 ? Object.assign({ indentAtStart: t2 }, Ne.fold) : Ne.fold, jt = (t2) => /^(%|---|\.\.\.)/m.test(t2);
function $o(t2, e, n) {
- if (!e || e < 0)
- return false;
+ if (!e || e < 0) return false;
let r = e - n, s = t2.length;
- if (s <= r)
- return false;
- for (let i = 0, o = 0; i < s; ++i)
- if (t2[i] === `
+ if (s <= r) return false;
+ for (let i = 0, o = 0; i < s; ++i) if (t2[i] === `
`) {
- if (i - o > r)
- return true;
- if (o = i + 1, s - o <= r)
- return false;
- }
+ if (i - o > r) return true;
+ if (o = i + 1, s - o <= r) return false;
+ }
return true;
}
function we(t2, e) {
let { implicitKey: n } = e, { jsonEncoding: r, minMultiLineLength: s } = Ne.doubleQuoted, i = JSON.stringify(t2);
- if (r)
- return i;
+ if (r) return i;
let o = e.indent || (jt(t2) ? " " : ""), a2 = "", c = 0;
- for (let l = 0, f2 = i[l]; f2; f2 = i[++l])
- if (f2 === " " && i[l + 1] === "\\" && i[l + 2] === "n" && (a2 += i.slice(c, l) + "\\ ", l += 1, c = l, f2 = "\\"), f2 === "\\")
- switch (i[l + 1]) {
- case "u":
- {
- a2 += i.slice(c, l);
- let m = i.substr(l + 2, 4);
- switch (m) {
- case "0000":
- a2 += "\\0";
- break;
- case "0007":
- a2 += "\\a";
- break;
- case "000b":
- a2 += "\\v";
- break;
- case "001b":
- a2 += "\\e";
- break;
- case "0085":
- a2 += "\\N";
- break;
- case "00a0":
- a2 += "\\_";
- break;
- case "2028":
- a2 += "\\L";
- break;
- case "2029":
- a2 += "\\P";
- break;
- default:
- m.substr(0, 2) === "00" ? a2 += "\\x" + m.substr(2) : a2 += i.substr(l, 6);
- }
- l += 5, c = l + 1;
- }
- break;
- case "n":
- if (n || i[l + 2] === '"' || i.length < s)
- l += 1;
- else {
- for (a2 += i.slice(c, l) + `
+ for (let l = 0, f2 = i[l]; f2; f2 = i[++l]) if (f2 === " " && i[l + 1] === "\\" && i[l + 2] === "n" && (a2 += i.slice(c, l) + "\\ ", l += 1, c = l, f2 = "\\"), f2 === "\\") switch (i[l + 1]) {
+ case "u":
+ {
+ a2 += i.slice(c, l);
+ let m = i.substr(l + 2, 4);
+ switch (m) {
+ case "0000":
+ a2 += "\\0";
+ break;
+ case "0007":
+ a2 += "\\a";
+ break;
+ case "000b":
+ a2 += "\\v";
+ break;
+ case "001b":
+ a2 += "\\e";
+ break;
+ case "0085":
+ a2 += "\\N";
+ break;
+ case "00a0":
+ a2 += "\\_";
+ break;
+ case "2028":
+ a2 += "\\L";
+ break;
+ case "2029":
+ a2 += "\\P";
+ break;
+ default:
+ m.substr(0, 2) === "00" ? a2 += "\\x" + m.substr(2) : a2 += i.substr(l, 6);
+ }
+ l += 5, c = l + 1;
+ }
+ break;
+ case "n":
+ if (n || i[l + 2] === '"' || i.length < s) l += 1;
+ else {
+ for (a2 += i.slice(c, l) + `
-`; i[l + 2] === "\\" && i[l + 3] === "n" && i[l + 4] !== '"'; )
- a2 += `
+`; i[l + 2] === "\\" && i[l + 3] === "n" && i[l + 4] !== '"'; ) a2 += `
`, l += 2;
- a2 += o, i[l + 2] === " " && (a2 += "\\"), l += 1, c = l + 1;
- }
- break;
- default:
- l += 1;
+ a2 += o, i[l + 2] === " " && (a2 += "\\"), l += 1, c = l + 1;
}
+ break;
+ default:
+ l += 1;
+ }
return a2 = c ? a2 + i.slice(c) : i, n ? a2 : Wt(a2, o, Ut, Un(e));
}
function Us(t2, e) {
if (e.implicitKey) {
- if (/\n/.test(t2))
- return we(t2, e);
- } else if (/[ \t]\n|\n[ \t]/.test(t2))
- return we(t2, e);
+ if (/\n/.test(t2)) return we(t2, e);
+ } else if (/[ \t]\n|\n[ \t]/.test(t2)) return we(t2, e);
let n = e.indent || (jt(t2) ? " " : ""), r = "'" + t2.replace(/'/g, "''").replace(/\n+/g, `$&
${n}`) + "'";
return e.implicitKey ? r : Wt(r, n, qs, Un(e));
}
function Kt({ comment: t2, type: e, value: n }, r, s, i) {
- if (/\n[\t ]+$/.test(n) || /^\s*$/.test(n))
- return we(n, r);
+ if (/\n[\t ]+$/.test(n) || /^\s*$/.test(n)) return we(n, r);
let o = r.indent || (r.forceBlockIndent || jt(n) ? " " : ""), a2 = o ? "2" : "1", c = e === p.Type.BLOCK_FOLDED ? false : e === p.Type.BLOCK_LITERAL ? true : !$o(n, Ne.fold.lineWidth, o.length), l = c ? "|" : ">";
- if (!n)
- return l + `
+ if (!n) return l + `
`;
let f2 = "", m = "";
if (n = n.replace(/[\n\t ]*$/, (y) => {
@@ -10613,11 +10391,9 @@ ${n}`) + "'";
y.indexOf(" ") !== -1 && (l += a2);
let h = y.match(/ +$/);
return h ? (f2 = y.slice(0, -h[0].length), h[0]) : (f2 = y, "");
- }), m && (m = m.replace(/\n+(?!\n|$)/g, `$&${o}`)), f2 && (f2 = f2.replace(/\n+/g, `$&${o}`)), t2 && (l += " #" + t2.replace(/ ?[\r\n]+/g, " "), s && s()), !n)
- return `${l}${a2}
+ }), m && (m = m.replace(/\n+(?!\n|$)/g, `$&${o}`)), f2 && (f2 = f2.replace(/\n+/g, `$&${o}`)), t2 && (l += " #" + t2.replace(/ ?[\r\n]+/g, " "), s && s()), !n) return `${l}${a2}
${o}${m}`;
- if (c)
- return n = n.replace(/\n+/g, `$&${o}`), `${l}
+ if (c) return n = n.replace(/\n+/g, `$&${o}`), `${l}
${o}${f2}${n}${m}`;
n = n.replace(/\n+/g, `
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${o}`);
@@ -10627,22 +10403,17 @@ ${o}${d}`;
}
function Bo(t2, e, n, r) {
let { comment: s, type: i, value: o } = t2, { actualString: a2, implicitKey: c, indent: l, inFlow: f2 } = e;
- if (c && /[\n[\]{},]/.test(o) || f2 && /[[\]{},]/.test(o))
- return we(o, e);
- if (!o || /^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))
- return c || f2 || o.indexOf(`
+ if (c && /[\n[\]{},]/.test(o) || f2 && /[[\]{},]/.test(o)) return we(o, e);
+ if (!o || /^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o)) return c || f2 || o.indexOf(`
`) === -1 ? o.indexOf('"') !== -1 && o.indexOf("'") === -1 ? Us(o, e) : we(o, e) : Kt(t2, e, n, r);
if (!c && !f2 && i !== p.Type.PLAIN && o.indexOf(`
-`) !== -1)
- return Kt(t2, e, n, r);
- if (l === "" && jt(o))
- return e.forceBlockIndent = true, Kt(t2, e, n, r);
+`) !== -1) return Kt(t2, e, n, r);
+ if (l === "" && jt(o)) return e.forceBlockIndent = true, Kt(t2, e, n, r);
let m = o.replace(/\n+/g, `$&
${l}`);
if (a2) {
let { tags: y } = e.doc.schema;
- if (typeof qn(m, y, y.scalarFallback).value != "string")
- return we(o, e);
+ if (typeof qn(m, y, y.scalarFallback).value != "string") return we(o, e);
}
let d = c ? m : Wt(m, l, qs, Un(e));
return s && !f2 && (d.indexOf(`
@@ -10669,22 +10440,18 @@ ${l}`);
};
(a2 !== p.Type.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c) || (i || o) && (a2 === p.Type.BLOCK_FOLDED || a2 === p.Type.BLOCK_LITERAL)) && (a2 = p.Type.QUOTE_DOUBLE);
let f2 = l(a2);
- if (f2 === null && (f2 = l(s), f2 === null))
- throw new Error(`Unsupported default string type ${s}`);
+ if (f2 === null && (f2 = l(s), f2 === null)) throw new Error(`Unsupported default string type ${s}`);
return f2;
}
function qo({ format: t2, minFractionDigits: e, tag: n, value: r }) {
- if (typeof r == "bigint")
- return String(r);
- if (!isFinite(r))
- return isNaN(r) ? ".nan" : r < 0 ? "-.inf" : ".inf";
+ if (typeof r == "bigint") return String(r);
+ if (!isFinite(r)) return isNaN(r) ? ".nan" : r < 0 ? "-.inf" : ".inf";
let s = JSON.stringify(r);
if (!t2 && e && (!n || n === "tag:yaml.org,2002:float") && /^\d/.test(s)) {
let i = s.indexOf(".");
i < 0 && (i = s.length, s += ".");
let o = e - (s.length - i - 1);
- for (; o-- > 0; )
- s += "0";
+ for (; o-- > 0; ) s += "0";
}
return s;
}
@@ -10744,14 +10511,11 @@ ${l}`);
let { handle: n, suffix: r } = e.tag, s = t2.tagPrefixes.find((i) => i.handle === n);
if (!s) {
let i = t2.getDefaults().tagPrefixes;
- if (i && (s = i.find((o) => o.handle === n)), !s)
- throw new p.YAMLSemanticError(e, `The ${n} tag handle is non-default and was not declared.`);
+ if (i && (s = i.find((o) => o.handle === n)), !s) throw new p.YAMLSemanticError(e, `The ${n} tag handle is non-default and was not declared.`);
}
- if (!r)
- throw new p.YAMLSemanticError(e, `The ${n} tag has no suffix.`);
+ if (!r) throw new p.YAMLSemanticError(e, `The ${n} tag has no suffix.`);
if (n === "!" && (t2.version || t2.options.version) === "1.0") {
- if (r[0] === "^")
- return t2.warnings.push(new p.YAMLWarning(e, "YAML 1.0 ^ tag expansion is not supported")), r;
+ if (r[0] === "^") return t2.warnings.push(new p.YAMLWarning(e, "YAML 1.0 ^ tag expansion is not supported")), r;
if (/[:/]/.test(r)) {
let i = r.match(/^([a-z0-9-]+)\/(.*)/i);
return i ? `tag:${i[1]}.yaml.org,2002:${i[2]}` : `tag:${r}`;
@@ -10764,18 +10528,15 @@ ${l}`);
if (n) {
let { handle: i, suffix: o, verbatim: a2 } = n;
if (a2) {
- if (a2 !== "!" && a2 !== "!!")
- return a2;
+ if (a2 !== "!" && a2 !== "!!") return a2;
let c = `Verbatim tags aren't resolved, so ${a2} is invalid.`;
t2.errors.push(new p.YAMLSemanticError(e, c));
- } else if (i === "!" && !o)
- s = true;
- else
- try {
- return Uo(t2, e);
- } catch (c) {
- t2.errors.push(c);
- }
+ } else if (i === "!" && !o) s = true;
+ else try {
+ return Uo(t2, e);
+ } catch (c) {
+ t2.errors.push(c);
+ }
}
switch (r) {
case p.Type.BLOCK_FOLDED:
@@ -10797,14 +10558,11 @@ ${l}`);
}
function $s(t2, e, n) {
let { tags: r } = t2.schema, s = [];
- for (let o of r)
- if (o.tag === n)
- if (o.test)
- s.push(o);
- else {
- let a2 = o.resolve(t2, e);
- return a2 instanceof j ? a2 : new P(a2);
- }
+ for (let o of r) if (o.tag === n) if (o.test) s.push(o);
+ else {
+ let a2 = o.resolve(t2, e);
+ return a2 instanceof j ? a2 : new P(a2);
+ }
let i = Kn(t2, e);
return typeof i == "string" && s.length > 0 ? qn(i, s, r.scalarFallback) : null;
}
@@ -10823,15 +10581,13 @@ ${l}`);
function Wo(t2, e, n) {
try {
let r = $s(t2, e, n);
- if (r)
- return n && e.tag && (r.tag = n), r;
+ if (r) return n && e.tag && (r.tag = n), r;
} catch (r) {
return r.source || (r.source = e), t2.errors.push(r), null;
}
try {
let r = Vo(e);
- if (!r)
- throw new Error(`The tag ${n} is unavailable`);
+ if (!r) throw new Error(`The tag ${n} is unavailable`);
let s = `The tag ${n} is unavailable, falling back to ${r}`;
t2.warnings.push(new p.YAMLWarning(e, s));
let i = $s(t2, e, r);
@@ -10842,39 +10598,37 @@ ${l}`);
}
}
var jo = (t2) => {
- if (!t2)
- return false;
+ if (!t2) return false;
let { type: e } = t2;
return e === p.Type.MAP_KEY || e === p.Type.MAP_VALUE || e === p.Type.SEQ_ITEM;
};
function Qo(t2, e) {
let n = { before: [], after: [] }, r = false, s = false, i = jo(e.context.parent) ? e.context.parent.props.concat(e.props) : e.props;
- for (let { start: o, end: a2 } of i)
- switch (e.context.src[o]) {
- case p.Char.COMMENT: {
- if (!e.commentHasRequiredWhitespace(o)) {
- let m = "Comments must be separated from other tokens by white space characters";
- t2.push(new p.YAMLSemanticError(e, m));
- }
- let { header: c, valueRange: l } = e;
- (l && (o > l.start || c && o > c.start) ? n.after : n.before).push(e.context.src.slice(o + 1, a2));
- break;
+ for (let { start: o, end: a2 } of i) switch (e.context.src[o]) {
+ case p.Char.COMMENT: {
+ if (!e.commentHasRequiredWhitespace(o)) {
+ let m = "Comments must be separated from other tokens by white space characters";
+ t2.push(new p.YAMLSemanticError(e, m));
}
- case p.Char.ANCHOR:
- if (r) {
- let c = "A node can have at most one anchor";
- t2.push(new p.YAMLSemanticError(e, c));
- }
- r = true;
- break;
- case p.Char.TAG:
- if (s) {
- let c = "A node can have at most one tag";
- t2.push(new p.YAMLSemanticError(e, c));
- }
- s = true;
- break;
+ let { header: c, valueRange: l } = e;
+ (l && (o > l.start || c && o > c.start) ? n.after : n.before).push(e.context.src.slice(o + 1, a2));
+ break;
}
+ case p.Char.ANCHOR:
+ if (r) {
+ let c = "A node can have at most one anchor";
+ t2.push(new p.YAMLSemanticError(e, c));
+ }
+ r = true;
+ break;
+ case p.Char.TAG:
+ if (s) {
+ let c = "A node can have at most one tag";
+ t2.push(new p.YAMLSemanticError(e, c));
+ }
+ s = true;
+ break;
+ }
return { comments: n, hasAnchor: r, hasTag: s };
}
function Jo(t2, e) {
@@ -10889,8 +10643,7 @@ ${l}`);
return n._cstAliases.push(c), c;
}
let i = Ko(t2, e);
- if (i)
- return Wo(t2, e, i);
+ if (i) return Wo(t2, e, i);
if (e.type !== p.Type.PLAIN) {
let o = `Failed to resolve ${e.type} node here`;
return r.push(new p.YAMLSyntaxError(e, o)), null;
@@ -10903,8 +10656,7 @@ ${l}`);
}
}
function me(t2, e) {
- if (!e)
- return null;
+ if (!e) return null;
e.error && t2.errors.push(e.error);
let { comments: n, hasAnchor: r, hasTag: s } = Qo(t2.errors, e);
if (r) {
@@ -10949,15 +10701,14 @@ ${a2}` : a2);
}
return l = "Merge nodes can only have Alias nodes as values";
}), l && t2.errors.push(new p.YAMLSemanticError(e, l));
- } else
- for (let c = o + 1; c < r.length; ++c) {
- let { key: l } = r[c];
- if (a2 === l || a2 && l && Object.prototype.hasOwnProperty.call(a2, "value") && a2.value === l.value) {
- let f2 = `Map keys must be unique; "${a2}" is repeated`;
- t2.errors.push(new p.YAMLSemanticError(e, f2));
- break;
- }
+ } else for (let c = o + 1; c < r.length; ++c) {
+ let { key: l } = r[c];
+ if (a2 === l || a2 && l && Object.prototype.hasOwnProperty.call(a2, "value") && a2.value === l.value) {
+ let f2 = `Map keys must be unique; "${a2}" is repeated`;
+ t2.errors.push(new p.YAMLSemanticError(e, f2));
+ break;
}
+ }
}
if (i && !t2.options.mapAsMap) {
let o = "Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";
@@ -10966,23 +10717,17 @@ ${a2}` : a2);
return e.resolved = s, s;
}
var Ho = ({ context: { lineStart: t2, node: e, src: n }, props: r }) => {
- if (r.length === 0)
- return false;
+ if (r.length === 0) return false;
let { start: s } = r[0];
- if (e && s > e.valueRange.start || n[s] !== p.Char.COMMENT)
- return false;
- for (let i = t2; i < s; ++i)
- if (n[i] === `
-`)
- return false;
+ if (e && s > e.valueRange.start || n[s] !== p.Char.COMMENT) return false;
+ for (let i = t2; i < s; ++i) if (n[i] === `
+`) return false;
return true;
};
function Xo(t2, e) {
- if (!Ho(t2))
- return;
+ if (!Ho(t2)) return;
let n = t2.getPropValue(0, p.Char.COMMENT, true), r = false, s = e.value.commentBefore;
- if (s && s.startsWith(n))
- e.value.commentBefore = s.substr(n.length + 1), r = true;
+ if (s && s.startsWith(n)) e.value.commentBefore = s.substr(n.length + 1), r = true;
else {
let i = e.value.comment;
!t2.node && i && i.startsWith(n) && (e.value.comment = i.substr(n.length + 1), r = true);
@@ -11024,22 +10769,21 @@ ${a2}` : a2);
break;
default:
s !== void 0 && r.push(new T(s)), s = me(t2, a2), i = a2.range.start, a2.error && t2.errors.push(a2.error);
- e:
- for (let c = o + 1; ; ++c) {
- let l = e.items[c];
- switch (l && l.type) {
- case p.Type.BLANK_LINE:
- case p.Type.COMMENT:
- continue e;
- case p.Type.MAP_VALUE:
- break e;
- default: {
- let f2 = "Implicit map keys need to be followed by map values";
- t2.errors.push(new p.YAMLSemanticError(a2, f2));
- break e;
- }
+ e: for (let c = o + 1; ; ++c) {
+ let l = e.items[c];
+ switch (l && l.type) {
+ case p.Type.BLANK_LINE:
+ case p.Type.COMMENT:
+ continue e;
+ case p.Type.MAP_VALUE:
+ break e;
+ default: {
+ let f2 = "Implicit map keys need to be followed by map values";
+ t2.errors.push(new p.YAMLSemanticError(a2, f2));
+ break e;
}
}
+ }
if (a2.valueRangeContainsNewline) {
let c = "Implicit map keys need to be on a single line";
t2.errors.push(new p.YAMLSemanticError(a2, c));
@@ -11068,16 +10812,14 @@ ${a2}` : a2);
continue;
}
if (l === "}") {
- if (a2 === e.items.length - 1)
- continue;
+ if (a2 === e.items.length - 1) continue;
} else if (l === o) {
o = ":";
continue;
}
let m = `Flow map contains an unexpected ${l}`, d = new p.YAMLSyntaxError(e, m);
d.offset = f2, t2.errors.push(d);
- } else
- c.type === p.Type.BLANK_LINE ? n.push({ afterKey: !!s, before: r.length }) : c.type === p.Type.COMMENT ? (Vs(t2.errors, c), n.push({ afterKey: !!s, before: r.length, comment: c.comment })) : s === void 0 ? (o === "," && t2.errors.push(new p.YAMLSemanticError(c, "Separator , missing in flow map")), s = me(t2, c)) : (o !== "," && t2.errors.push(new p.YAMLSemanticError(c, "Indicator : missing in flow map entry")), r.push(new T(s, me(t2, c))), s = void 0, i = false);
+ } else c.type === p.Type.BLANK_LINE ? n.push({ afterKey: !!s, before: r.length }) : c.type === p.Type.COMMENT ? (Vs(t2.errors, c), n.push({ afterKey: !!s, before: r.length, comment: c.comment })) : s === void 0 ? (o === "," && t2.errors.push(new p.YAMLSemanticError(c, "Separator , missing in flow map")), s = me(t2, c)) : (o !== "," && t2.errors.push(new p.YAMLSemanticError(c, "Indicator : missing in flow map entry")), r.push(new T(s, me(t2, c))), s = void 0, i = false);
}
return Ks(t2.errors, e), s !== void 0 && r.push(new T(s)), { comments: n, items: r };
}
@@ -11122,10 +10864,8 @@ ${a2}` : a2);
let f2 = e.items[l];
if (typeof f2.char == "string") {
let { char: m, offset: d } = f2;
- if (m !== ":" && (s || i !== void 0) && (s && i === void 0 && (i = a2 ? r.pop() : null), r.push(new T(i)), s = false, i = void 0, o = null), m === a2)
- a2 = null;
- else if (!a2 && m === "?")
- s = true;
+ if (m !== ":" && (s || i !== void 0) && (s && i === void 0 && (i = a2 ? r.pop() : null), r.push(new T(i)), s = false, i = void 0, o = null), m === a2) a2 = null;
+ else if (!a2 && m === "?") s = true;
else if (a2 !== "[" && m === ":" && i === void 0) {
if (a2 === ",") {
if (i = r.pop(), i instanceof T) {
@@ -11136,25 +10876,21 @@ ${a2}` : a2);
let y = f2.range ? f2.range.start : f2.offset;
y > o + 1024 && t2.errors.push(Ws(e, i));
let { src: h } = c.context;
- for (let g = o; g < y; ++g)
- if (h[g] === `
+ for (let g = o; g < y; ++g) if (h[g] === `
`) {
- let w = "Implicit keys of flow sequence pairs need to be on a single line";
- t2.errors.push(new p.YAMLSemanticError(c, w));
- break;
- }
+ let w = "Implicit keys of flow sequence pairs need to be on a single line";
+ t2.errors.push(new p.YAMLSemanticError(c, w));
+ break;
+ }
}
- } else
- i = null;
+ } else i = null;
o = null, s = false, a2 = null;
} else if (a2 === "[" || m !== "]" || l < e.items.length - 1) {
let y = `Flow sequence contains an unexpected ${m}`, h = new p.YAMLSyntaxError(e, y);
h.offset = d, t2.errors.push(h);
}
- } else if (f2.type === p.Type.BLANK_LINE)
- n.push({ before: r.length });
- else if (f2.type === p.Type.COMMENT)
- Vs(t2.errors, f2), n.push({ comment: f2.comment, before: r.length });
+ } else if (f2.type === p.Type.BLANK_LINE) n.push({ before: r.length });
+ else if (f2.type === p.Type.COMMENT) Vs(t2.errors, f2), n.push({ comment: f2.comment, before: r.length });
else {
if (a2) {
let d = `Expected a ${a2} in flow sequence`;
@@ -11194,12 +10930,10 @@ ${a2}` : a2);
"use strict";
var Q = le(), O = qe(), ra = { identify: (t2) => t2 instanceof Uint8Array, default: false, tag: "tag:yaml.org,2002:binary", resolve: (t2, e) => {
let n = O.resolveString(t2, e);
- if (typeof Buffer == "function")
- return Buffer.from(n, "base64");
+ if (typeof Buffer == "function") return Buffer.from(n, "base64");
if (typeof atob == "function") {
let r = atob(n.replace(/[\n\r]/g, "")), s = new Uint8Array(r.length);
- for (let i = 0; i < r.length; ++i)
- s[i] = r.charCodeAt(i);
+ for (let i = 0; i < r.length; ++i) s[i] = r.charCodeAt(i);
return s;
} else {
let r = "This environment does not support reading binary tags; either Buffer or atob is required";
@@ -11207,21 +10941,16 @@ ${a2}` : a2);
}
}, options: O.binaryOptions, stringify: ({ comment: t2, type: e, value: n }, r, s, i) => {
let o;
- if (typeof Buffer == "function")
- o = n instanceof Buffer ? n.toString("base64") : Buffer.from(n.buffer).toString("base64");
+ if (typeof Buffer == "function") o = n instanceof Buffer ? n.toString("base64") : Buffer.from(n.buffer).toString("base64");
else if (typeof btoa == "function") {
let a2 = "";
- for (let c = 0; c < n.length; ++c)
- a2 += String.fromCharCode(n[c]);
+ for (let c = 0; c < n.length; ++c) a2 += String.fromCharCode(n[c]);
o = btoa(a2);
- } else
- throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");
- if (e || (e = O.binaryOptions.defaultType), e === Q.Type.QUOTE_DOUBLE)
- n = o;
+ } else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");
+ if (e || (e = O.binaryOptions.defaultType), e === Q.Type.QUOTE_DOUBLE) n = o;
else {
let { lineWidth: a2 } = O.binaryOptions, c = Math.ceil(o.length / a2), l = new Array(c);
- for (let f2 = 0, m = 0; f2 < c; ++f2, m += a2)
- l[f2] = o.substr(m, a2);
+ for (let f2 = 0, m = 0; f2 < c; ++f2, m += a2) l[f2] = o.substr(m, a2);
n = l.join(e === Q.Type.BLOCK_LITERAL ? `
` : " ");
}
@@ -11252,19 +10981,13 @@ ${i.comment}` : s.comment), s = i;
r.tag = "tag:yaml.org,2002:pairs";
for (let s of e) {
let i, o;
- if (Array.isArray(s))
- if (s.length === 2)
- i = s[0], o = s[1];
- else
- throw new TypeError(`Expected [key, value] tuple: ${s}`);
+ if (Array.isArray(s)) if (s.length === 2) i = s[0], o = s[1];
+ else throw new TypeError(`Expected [key, value] tuple: ${s}`);
else if (s && s instanceof Object) {
let c = Object.keys(s);
- if (c.length === 1)
- i = c[0], o = s[i];
- else
- throw new TypeError(`Expected { key: value } tuple: ${s}`);
- } else
- i = s;
+ if (c.length === 1) i = c[0], o = s[i];
+ else throw new TypeError(`Expected { key: value } tuple: ${s}`);
+ } else i = s;
let a2 = t2.createPair(i, o, n);
r.items.push(a2);
}
@@ -11279,8 +11002,7 @@ ${i.comment}` : s.comment), s = i;
n && n.onCreate && n.onCreate(r);
for (let s of this.items) {
let i, o;
- if (s instanceof O.Pair ? (i = O.toJSON(s.key, "", n), o = O.toJSON(s.value, i, n)) : i = O.toJSON(s, "", n), r.has(i))
- throw new Error("Ordered maps must not include duplicate keys");
+ if (s instanceof O.Pair ? (i = O.toJSON(s.key, "", n), o = O.toJSON(s.value, i, n)) : i = O.toJSON(s, "", n), r.has(i)) throw new Error("Ordered maps must not include duplicate keys");
r.set(i, o);
}
return r;
@@ -11289,13 +11011,10 @@ ${i.comment}` : s.comment), s = i;
Q._defineProperty(Ue, "tag", "tag:yaml.org,2002:omap");
function ia(t2, e) {
let n = Js(t2, e), r = [];
- for (let { key: s } of n.items)
- if (s instanceof O.Scalar)
- if (r.includes(s.value)) {
- let i = "Ordered maps must not include duplicate keys";
- throw new Q.YAMLSemanticError(e, i);
- } else
- r.push(s.value);
+ for (let { key: s } of n.items) if (s instanceof O.Scalar) if (r.includes(s.value)) {
+ let i = "Ordered maps must not include duplicate keys";
+ throw new Q.YAMLSemanticError(e, i);
+ } else r.push(s.value);
return Object.assign(new Ue(), n);
}
function oa(t2, e, n) {
@@ -11315,8 +11034,7 @@ ${i.comment}` : s.comment), s = i;
return !n && r instanceof O.Pair ? r.key instanceof O.Scalar ? r.key.value : r.key : r;
}
set(e, n) {
- if (typeof n != "boolean")
- throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);
+ if (typeof n != "boolean") throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);
let r = O.findPair(this.items, e);
r && !n ? this.items.splice(this.items.indexOf(r), 1) : !r && n && this.items.push(new O.Pair(e));
}
@@ -11324,32 +11042,27 @@ ${i.comment}` : s.comment), s = i;
return super.toJSON(e, n, Set);
}
toString(e, n, r) {
- if (!e)
- return JSON.stringify(this);
- if (this.hasAllNullValues())
- return super.toString(e, n, r);
+ if (!e) return JSON.stringify(this);
+ if (this.hasAllNullValues()) return super.toString(e, n, r);
throw new Error("Set items must all have null values");
}
};
Q._defineProperty(Ke, "tag", "tag:yaml.org,2002:set");
function ca(t2, e) {
let n = O.resolveMap(t2, e);
- if (!n.hasAllNullValues())
- throw new Q.YAMLSemanticError(e, "Set items must all have null values");
+ if (!n.hasAllNullValues()) throw new Q.YAMLSemanticError(e, "Set items must all have null values");
return Object.assign(new Ke(), n);
}
function la(t2, e, n) {
let r = new Ke();
- for (let s of e)
- r.items.push(t2.createPair(s, null, n));
+ for (let s of e) r.items.push(t2.createPair(s, null, n));
return r;
}
var fa = { identify: (t2) => t2 instanceof Set, nodeClass: Ke, default: false, tag: "tag:yaml.org,2002:set", resolve: ca, createNode: la }, Vn = (t2, e) => {
let n = e.split(":").reduce((r, s) => r * 60 + Number(s), 0);
return t2 === "-" ? -n : n;
}, Hs = ({ value: t2 }) => {
- if (isNaN(t2) || !isFinite(t2))
- return O.stringifyNumber(t2);
+ if (isNaN(t2) || !isFinite(t2)) return O.stringifyNumber(t2);
let e = "";
t2 < 0 && (e = "-", t2 = Math.abs(t2));
let n = [t2 % 60];
@@ -11400,22 +11113,17 @@ ${i.comment}` : s.comment), s = i;
var Gt = le(), E = qe(), D = Qn();
function da(t2, e, n) {
let r = new E.YAMLMap(t2);
- if (e instanceof Map)
- for (let [s, i] of e)
- r.items.push(t2.createPair(s, i, n));
- else if (e && typeof e == "object")
- for (let s of Object.keys(e))
- r.items.push(t2.createPair(s, e[s], n));
+ if (e instanceof Map) for (let [s, i] of e) r.items.push(t2.createPair(s, i, n));
+ else if (e && typeof e == "object") for (let s of Object.keys(e)) r.items.push(t2.createPair(s, e[s], n));
return typeof t2.sortMapEntries == "function" && r.items.sort(t2.sortMapEntries), r;
}
var gt = { createNode: da, default: true, nodeClass: E.YAMLMap, tag: "tag:yaml.org,2002:map", resolve: E.resolveMap };
function ya(t2, e, n) {
let r = new E.YAMLSeq(t2);
- if (e && e[Symbol.iterator])
- for (let s of e) {
- let i = t2.createNode(s, n.wrapScalars, null, n);
- r.items.push(i);
- }
+ if (e && e[Symbol.iterator]) for (let s of e) {
+ let i = t2.createNode(s, n.wrapScalars, null, n);
+ r.items.push(i);
+ }
return r;
}
var Ht = { createNode: ya, default: true, nodeClass: E.YAMLSeq, tag: "tag:yaml.org,2002:seq", resolve: E.resolveSeq }, Ea = { identify: (t2) => typeof t2 == "string", default: true, tag: "tag:yaml.org,2002:str", resolve: E.resolveString, stringify(t2, e, n, r) {
@@ -11472,21 +11180,18 @@ ${i.comment}` : s.comment), s = i;
function Oa(t2, e, n) {
if (e) {
let r = n.filter((i) => i.tag === e), s = r.find((i) => !i.format) || r[0];
- if (!s)
- throw new Error(`Tag ${e} not found`);
+ if (!s) throw new Error(`Tag ${e} not found`);
return s;
}
return n.find((r) => (r.identify && r.identify(t2) || r.class && t2 instanceof r.class) && !r.format);
}
function La(t2, e, n) {
- if (t2 instanceof E.Node)
- return t2;
+ if (t2 instanceof E.Node) return t2;
let { defaultPrefix: r, onTagObj: s, prevObjects: i, schema: o, wrapScalars: a2 } = n;
e && e.startsWith("!!") && (e = r + e.slice(2));
let c = Oa(t2, e, o.tags);
if (!c) {
- if (typeof t2.toJSON == "function" && (t2 = t2.toJSON()), !t2 || typeof t2 != "object")
- return a2 ? new E.Scalar(t2) : t2;
+ if (typeof t2.toJSON == "function" && (t2 = t2.toJSON()), !t2 || typeof t2 != "object") return a2 ? new E.Scalar(t2) : t2;
c = t2 instanceof Map ? gt : t2[Symbol.iterator] ? Ht : gt;
}
s && (s(c), delete n.onTagObj);
@@ -11507,11 +11212,8 @@ ${i.comment}` : s.comment), s = i;
let i = Object.keys(t2).map((o) => JSON.stringify(o)).join(", ");
throw new Error(`Unknown schema "${r}"; use one of ${i}`);
}
- if (Array.isArray(n))
- for (let i of n)
- s = s.concat(i);
- else
- typeof n == "function" && (s = n(s.slice()));
+ if (Array.isArray(n)) for (let i of n) s = s.concat(i);
+ else typeof n == "function" && (s = n(s.slice()));
for (let i = 0; i < s.length; ++i) {
let o = s[i];
if (typeof o == "string") {
@@ -11569,8 +11271,7 @@ ${i.comment}` : s.comment), s = i;
function ui(t2, e) {
if ((t2.version || t2.options.version) === "1.0") {
let s = e.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);
- if (s)
- return "!" + s[1];
+ if (s) return "!" + s[1];
let i = e.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);
return i ? `!${i[1]}/${i[2]}` : `!${e.replace(/^tag:/, "")}`;
}
@@ -11579,26 +11280,22 @@ ${i.comment}` : s.comment), s = i;
let s = t2.getDefaults().tagPrefixes;
n = s && s.find((i) => e.indexOf(i.prefix) === 0);
}
- if (!n)
- return e[0] === "!" ? e : `!<${e}>`;
+ if (!n) return e[0] === "!" ? e : `!<${e}>`;
let r = e.substr(n.prefix.length).replace(/[!,[\]{}]/g, (s) => ({ "!": "%21", ",": "%2C", "[": "%5B", "]": "%5D", "{": "%7B", "}": "%7D" })[s]);
return n.handle + r;
}
function ka(t2, e) {
- if (e instanceof S.Alias)
- return S.Alias;
+ if (e instanceof S.Alias) return S.Alias;
if (e.tag) {
let s = t2.filter((i) => i.tag === e.tag);
- if (s.length > 0)
- return s.find((i) => i.format === e.format) || s[0];
+ if (s.length > 0) return s.find((i) => i.format === e.format) || s[0];
}
let n, r;
if (e instanceof S.Scalar) {
r = e.value;
let s = t2.filter((i) => i.identify && i.identify(r) || i.class && r instanceof i.class);
n = s.find((i) => i.format === e.format) || s.find((i) => !i.format);
- } else
- r = e, n = t2.find((s) => s.nodeClass && r instanceof s.nodeClass);
+ } else r = e, n = t2.find((s) => s.nodeClass && r instanceof s.nodeClass);
if (!n) {
let s = r && r.constructor ? r.constructor.name : typeof r;
throw new Error(`Tag not resolved for ${s} value`);
@@ -11620,8 +11317,7 @@ ${i.comment}` : s.comment), s = i;
m || (m = s.newName(), s.map[m] = f2.source);
}
}
- if (t2 instanceof S.Pair)
- return t2.toString(e, n, r);
+ if (t2 instanceof S.Pair) return t2.toString(e, n, r);
o || (o = ka(i.tags, t2));
let a2 = va(t2, o, e);
a2.length > 0 && (e.indentAtStart = (e.indentAtStart || 0) + a2.length + 1);
@@ -11643,10 +11339,8 @@ ${e.indent}${c}` : c;
let n = new S.Merge();
return n.value.items = e.map((r) => {
if (r instanceof S.Alias) {
- if (r.source instanceof S.YAMLMap)
- return r;
- } else if (r instanceof S.YAMLMap)
- return this.createAlias(r);
+ if (r.source instanceof S.YAMLMap) return r;
+ } else if (r instanceof S.YAMLMap) return this.createAlias(r);
throw new Error("Merge sources must be Map nodes or their Aliases");
}), n;
}
@@ -11665,8 +11359,7 @@ ${e.indent}${c}` : c;
let n = Object.keys(this.map);
for (let r = 1; ; ++r) {
let s = `${e}${r}`;
- if (!n.includes(s))
- return s;
+ if (!n.includes(s)) return s;
}
}
resolveNodes() {
@@ -11678,20 +11371,14 @@ ${e.indent}${c}` : c;
}), delete this._cstAliases;
}
setAnchor(e, n) {
- if (e != null && !t2.validAnchorNode(e))
- throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");
- if (n && /[\x00-\x19\s,[\]{}]/.test(n))
- throw new Error("Anchor names must not contain whitespace or control characters");
+ if (e != null && !t2.validAnchorNode(e)) throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");
+ if (n && /[\x00-\x19\s,[\]{}]/.test(n)) throw new Error("Anchor names must not contain whitespace or control characters");
let { map: r } = this, s = e && Object.keys(r).find((i) => r[i] === e);
- if (s)
- if (n)
- s !== n && (delete r[s], r[n] = e);
- else
- return s;
+ if (s) if (n) s !== n && (delete r[s], r[n] = e);
+ else return s;
else {
if (!n) {
- if (!e)
- return null;
+ if (!e) return null;
n = this.newName();
}
r[n] = e;
@@ -11707,20 +11394,17 @@ ${e.indent}${c}` : c;
}, Ia = (t2) => Object.keys(Zt(t2, {}));
function Pa(t2, e) {
let n = { before: [], after: [] }, r, s = false;
- for (let i of e)
- if (i.valueRange) {
- if (r !== void 0) {
- let a2 = "Document contains trailing content not separated by a ... or --- line";
- t2.errors.push(new Y.YAMLSyntaxError(i, a2));
- break;
- }
- let o = S.resolveNode(t2, i);
- s && (o.spaceBefore = true, s = false), r = o;
- } else
- i.comment !== null ? (r === void 0 ? n.before : n.after).push(i.comment) : i.type === Y.Type.BLANK_LINE && (s = true, r === void 0 && n.before.length > 0 && !t2.commentBefore && (t2.commentBefore = n.before.join(`
+ for (let i of e) if (i.valueRange) {
+ if (r !== void 0) {
+ let a2 = "Document contains trailing content not separated by a ... or --- line";
+ t2.errors.push(new Y.YAMLSyntaxError(i, a2));
+ break;
+ }
+ let o = S.resolveNode(t2, i);
+ s && (o.spaceBefore = true, s = false), r = o;
+ } else i.comment !== null ? (r === void 0 ? n.before : n.after).push(i.comment) : i.type === Y.Type.BLANK_LINE && (s = true, r === void 0 && n.before.length > 0 && !t2.commentBefore && (t2.commentBefore = n.before.join(`
`), n.before = []));
- if (t2.contents = r || null, !r)
- t2.comment = n.before.concat(n.after).join(`
+ if (t2.contents = r || null, !r) t2.comment = n.before.concat(n.after).join(`
`) || null;
else {
let i = n.before.join(`
@@ -11800,8 +11484,7 @@ ${o.commentBefore}` : i;
`) || null;
}
function Ve(t2) {
- if (t2 instanceof S.Collection)
- return true;
+ if (t2 instanceof S.Collection) return true;
throw new Error("Expected a YAML collection as document contents");
}
var en = class t2 {
@@ -11842,8 +11525,7 @@ ${o.commentBefore}` : i;
S.isEmptyPath(e) ? this.contents = n : (Ve(this.contents), this.contents.setIn(e, n));
}
setSchema(e, n) {
- if (!e && !n && this.schema)
- return;
+ if (!e && !n && this.schema) return;
typeof e == "number" && (e = e.toFixed(1)), e === "1.0" || e === "1.1" || e === "1.2" ? (this.version ? this.version = e : this.options.version = e, delete this.options.schema) : e && typeof e == "string" && (this.options.schema = e), Array.isArray(n) && (this.options.customTags = n);
let r = Object.assign({}, this.getDefaults(), this.options);
this.schema = new fi.Schema(r);
@@ -11852,10 +11534,8 @@ ${o.commentBefore}` : i;
this.options.keepCstNodes && (this.cstNode = e), this.options.keepNodeTypes && (this.type = "DOCUMENT");
let { directives: r = [], contents: s = [], directivesEndMarker: i, error: o, valueRange: a2 } = e;
if (o && (o.source || (o.source = this), this.errors.push(o)), Ra(this, r, n), i && (this.directivesEndMarker = true), this.range = a2 ? [a2.start, a2.end] : null, this.setSchema(), this.anchors._cstAliases = [], Pa(this, s), this.anchors.resolveNodes(), this.options.prettyErrors) {
- for (let c of this.errors)
- c instanceof Y.YAMLError && c.makePretty();
- for (let c of this.warnings)
- c instanceof Y.YAMLError && c.makePretty();
+ for (let c of this.errors) c instanceof Y.YAMLError && c.makePretty();
+ for (let c of this.warnings) c instanceof Y.YAMLError && c.makePretty();
}
return this;
}
@@ -11863,26 +11543,21 @@ ${o.commentBefore}` : i;
return Ia(this.contents).filter((e) => e.indexOf(fi.Schema.defaultPrefix) !== 0);
}
setTagPrefix(e, n) {
- if (e[0] !== "!" || e[e.length - 1] !== "!")
- throw new Error("Handle must start and end with !");
+ if (e[0] !== "!" || e[e.length - 1] !== "!") throw new Error("Handle must start and end with !");
if (n) {
let r = this.tagPrefixes.find((s) => s.handle === e);
r ? r.prefix = n : this.tagPrefixes.push({ handle: e, prefix: n });
- } else
- this.tagPrefixes = this.tagPrefixes.filter((r) => r.handle !== e);
+ } else this.tagPrefixes = this.tagPrefixes.filter((r) => r.handle !== e);
}
toJSON(e, n) {
let { keepBlobsInJSON: r, mapAsMap: s, maxAliasCount: i } = this.options, o = r && (typeof e != "string" || !(this.contents instanceof S.Scalar)), a2 = { doc: this, indentStep: " ", keep: o, mapAsMap: o && !!s, maxAliasCount: i, stringify: zt }, c = Object.keys(this.anchors.map);
c.length > 0 && (a2.anchors = new Map(c.map((f2) => [this.anchors.map[f2], { alias: [], aliasCount: 0, count: 1 }])));
let l = S.toJSON(this.contents, e, a2);
- if (typeof n == "function" && a2.anchors)
- for (let { count: f2, res: m } of a2.anchors.values())
- n(m, f2);
+ if (typeof n == "function" && a2.anchors) for (let { count: f2, res: m } of a2.anchors.values()) n(m, f2);
return l;
}
toString() {
- if (this.errors.length > 0)
- throw new Error("Document with errors cannot be stringified");
+ if (this.errors.length > 0) throw new Error("Document with errors cannot be stringified");
let e = this.options.indent;
if (!Number.isInteger(e) || e <= 0) {
let c = JSON.stringify(e);
@@ -11903,8 +11578,7 @@ ${o.commentBefore}` : i;
this.contents instanceof S.Node && (this.contents.spaceBefore && (r || this.directivesEndMarker) && n.push(""), this.contents.commentBefore && n.push(this.contents.commentBefore.replace(/^/gm, "#")), i.forceBlockIndent = !!this.comment, a2 = this.contents.comment);
let c = a2 ? null : () => o = true, l = zt(this.contents, i, () => a2 = null, c);
n.push(S.addComment(l, "", a2));
- } else
- this.contents !== void 0 && n.push(zt(this.contents, i));
+ } else this.contents !== void 0 && n.push(zt(this.contents, i));
return this.comment && ((!o || a2) && n[n.length - 1] !== "" && n.push(""), n.push(this.comment.replace(/^/gm, "#"))), n.join(`
`) + `
`;
@@ -11947,8 +11621,7 @@ ${o.commentBefore}` : i;
}
function qa(t2, e) {
let n = hi(t2, e);
- if (n.warnings.forEach((r) => $a.warn(r)), n.errors.length > 0)
- throw n.errors[0];
+ if (n.warnings.forEach((r) => $a.warn(r)), n.errors.length > 0) throw n.errors[0];
return n.toJSON();
}
function Ua(t2, e) {
@@ -11980,37 +11653,28 @@ ${o.commentBefore}` : i;
var Xa = {};
nr(Xa, { languages: () => _r, options: () => xr, parsers: () => tr, printers: () => Ha });
var Pi = (t2, e, n, r) => {
- if (!(t2 && e == null))
- return e.replaceAll ? e.replaceAll(n, r) : n.global ? e.replace(n, r) : e.split(n).join(r);
+ if (!(t2 && e == null)) return e.replaceAll ? e.replaceAll(n, r) : n.global ? e.replace(n, r) : e.split(n).join(r);
}, Et = Pi;
var Le = "string", Je = "array", Ge = "cursor", He = "indent", Ae = "align", Xe = "trim", Te = "group", Ce = "fill", he = "if-break", ze = "indent-if-break", Me = "line-suffix", Ze = "line-suffix-boundary", Z = "line", et = "label", ke = "break-parent", St = /* @__PURE__ */ new Set([Ge, He, Ae, Xe, Te, Ce, he, ze, Me, Ze, Z, et, ke]);
var _i = (t2, e, n) => {
- if (!(t2 && e == null))
- return Array.isArray(e) || typeof e == "string" ? e[n < 0 ? e.length + n : n] : e.at(n);
+ if (!(t2 && e == null)) return Array.isArray(e) || typeof e == "string" ? e[n < 0 ? e.length + n : n] : e.at(n);
}, x = _i;
function xi(t2) {
- if (typeof t2 == "string")
- return Le;
- if (Array.isArray(t2))
- return Je;
- if (!t2)
- return;
+ if (typeof t2 == "string") return Le;
+ if (Array.isArray(t2)) return Je;
+ if (!t2) return;
let { type: e } = t2;
- if (St.has(e))
- return e;
+ if (St.has(e)) return e;
}
var ve = xi;
var Ri = (t2) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(t2);
function Di(t2) {
let e = t2 === null ? "null" : typeof t2;
- if (e !== "string" && e !== "object")
- return `Unexpected doc '${e}',
+ if (e !== "string" && e !== "object") return `Unexpected doc '${e}',
Expected it to be 'string' or 'object'.`;
- if (ve(t2))
- throw new Error("doc is valid.");
+ if (ve(t2)) throw new Error("doc is valid.");
let n = Object.prototype.toString.call(t2);
- if (n !== "[object Object]")
- return `Unexpected doc '${n}'.`;
+ if (n !== "[object Object]") return `Unexpected doc '${n}'.`;
let r = Ri([...St].map((s) => `'${s}'`));
return `Unexpected doc.type '${t2.type}'.
Expected it to be ${r}.`;
@@ -12023,13 +11687,11 @@ Expected it to be ${r}.`;
}
}, rn = nn;
function $i(t2, e) {
- if (typeof t2 == "string")
- return e(t2);
+ if (typeof t2 == "string") return e(t2);
let n = /* @__PURE__ */ new Map();
return r(t2);
function r(i) {
- if (n.has(i))
- return n.get(i);
+ if (n.has(i)) return n.get(i);
let o = s(i);
return n.set(i, o), o;
}
@@ -12101,23 +11763,19 @@ Expected it to be ${r}.`;
function v(t2, e) {
ge(t2), on(e);
let n = [];
- for (let r = 0; r < e.length; r++)
- r !== 0 && n.push(t2), n.push(e[r]);
+ for (let r = 0; r < e.length; r++) r !== 0 && n.push(t2), n.push(e[r]);
return n;
}
function Ot(t2) {
return (e, n, r) => {
let s = !!(r != null && r.backwards);
- if (n === false)
- return false;
+ if (n === false) return false;
let { length: i } = e, o = n;
for (; o >= 0 && o < i; ) {
let a2 = e.charAt(o);
if (t2 instanceof RegExp) {
- if (!t2.test(a2))
- return o;
- } else if (!t2.includes(a2))
- return o;
+ if (!t2.test(a2)) return o;
+ } else if (!t2.includes(a2)) return o;
s ? o-- : o++;
}
return o === -1 || o === i ? o : false;
@@ -12126,23 +11784,18 @@ Expected it to be ${r}.`;
var kc = Ot(/\s/u), ln = Ot(" "), vc = Ot(",; "), Ic = Ot(/[^\n\r]/u);
function qi(t2, e, n) {
let r = !!(n != null && n.backwards);
- if (e === false)
- return false;
+ if (e === false) return false;
let s = t2.charAt(e);
if (r) {
if (t2.charAt(e - 1) === "\r" && s === `
-`)
- return e - 2;
+`) return e - 2;
if (s === `
-` || s === "\r" || s === "\u2028" || s === "\u2029")
- return e - 1;
+` || s === "\r" || s === "\u2028" || s === "\u2029") return e - 1;
} else {
if (s === "\r" && t2.charAt(e + 1) === `
-`)
- return e + 2;
+`) return e + 2;
if (s === `
-` || s === "\r" || s === "\u2028" || s === "\u2029")
- return e + 1;
+` || s === "\r" || s === "\u2028" || s === "\u2029") return e + 1;
}
return e;
}
@@ -12163,11 +11816,10 @@ Expected it to be ${r}.`;
}, ur = un;
function pr(t2, e) {
let { node: n } = t2;
- if (n.type === "root" && e.filepath && /(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/u.test(e.filepath))
- return async (r) => {
- let s = await r(e.originalText, { parser: "json" });
- return s ? [s, N] : void 0;
- };
+ if (n.type === "root" && e.filepath && /(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/u.test(e.filepath)) return async (r) => {
+ let s = await r(e.originalText, { parser: "json" });
+ return s ? [s, N] : void 0;
+ };
}
pr.getVisitorKeys = () => [];
var mr = pr;
@@ -12180,8 +11832,7 @@ Expected it to be ${r}.`;
return st = it.prototype = t2 != null ? t2 : /* @__PURE__ */ Object.create(null), new it();
}
var Ki = 10;
- for (let t2 = 0; t2 <= Ki; t2++)
- it();
+ for (let t2 = 0; t2 <= Ki; t2++) it();
function pn(t2) {
return it(t2);
}
@@ -12189,8 +11840,7 @@ Expected it to be ${r}.`;
pn(t2);
function n(r) {
let s = r[e], i = t2[s];
- if (!Array.isArray(i))
- throw Object.assign(new Error(`Missing visitor keys for '${s}'.`), { node: r });
+ if (!Array.isArray(i)) throw Object.assign(new Error(`Missing visitor keys for '${s}'.`), { node: r });
return i;
}
return n;
@@ -12233,10 +11883,8 @@ ${t2}`;
for (let s = t2.position.end.offset - 1; s < r; s++) {
let i = e[s];
if (i === `
-` && n++, n === 1 && /\S/u.test(i))
- return false;
- if (n === 2)
- return true;
+` && n++, n === 1 && /\S/u.test(i)) return false;
+ if (n === 2) return true;
}
return false;
}
@@ -12251,8 +11899,7 @@ ${t2}`;
let n = t2.stack.length;
for (let r = 1; r < n; r++) {
let s = t2.stack[r], i = t2.stack[r - 1];
- if (Array.isArray(i) && typeof s == "number" && s !== i.length - 1)
- return false;
+ if (Array.isArray(i) && typeof s == "number" && s !== i.length - 1) return false;
}
return true;
}
@@ -12293,8 +11940,7 @@ ${t2}`;
}
function Lr(t2) {
let e = [], n;
- for (let r of t2.split(/( +)/u))
- r !== " " ? n === " " ? e.push(r) : e.push((e.pop() || "") + r) : n === void 0 && e.unshift(""), n = r;
+ for (let r of t2.split(/( +)/u)) r !== " " ? n === " " ? e.push(r) : e.push((e.pop() || "") + r) : n === void 0 && e.unshift(""), n = r;
return n === " " && e.push((e.pop() || "") + " "), e[0] === "" && (e.shift(), e.unshift(" " + (e.shift() || ""))), e;
}
function Ar(t2, e, n) {
@@ -12307,25 +11953,20 @@ ${t2}`;
if (t2.indent === null) {
let c = s.match(/^(? *)[^\n\r ]/mu);
i = c ? c.groups.leadingSpace.length : Number.POSITIVE_INFINITY;
- } else
- i = t2.indent - 1 + e;
+ } else i = t2.indent - 1 + e;
let o = s.split(`
`).map((c) => c.slice(i));
- if (r.proseWrap === "preserve" || t2.type === "blockLiteral")
- return a2(o.map((c) => c.length === 0 ? [] : [c]));
+ if (r.proseWrap === "preserve" || t2.type === "blockLiteral") return a2(o.map((c) => c.length === 0 ? [] : [c]));
return a2(o.map((c) => c.length === 0 ? [] : Lr(c)).reduce((c, l, f2) => f2 !== 0 && o[f2 - 1].length > 0 && l.length > 0 && !/^\s/u.test(l[0]) && !/^\s|\s$/u.test(x(false, c, -1)) ? [...c.slice(0, -1), [...x(false, c, -1), ...l]] : [...c, l], []).map((c) => c.reduce((l, f2) => l.length > 0 && /\s$/u.test(x(false, l, -1)) ? [...l.slice(0, -1), x(false, l, -1) + " " + f2] : [...l, f2], [])).map((c) => r.proseWrap === "never" ? [c.join(" ")] : c));
function a2(c) {
- if (t2.chomping === "keep")
- return x(false, c, -1).length === 0 ? c.slice(0, -1) : c;
+ if (t2.chomping === "keep") return x(false, c, -1).length === 0 ? c.slice(0, -1) : c;
let l = 0;
- for (let f2 = c.length - 1; f2 >= 0 && c[f2].length === 0; f2--)
- l++;
+ for (let f2 = c.length - 1; f2 >= 0 && c[f2].length === 0; f2--) l++;
return l === 0 ? c : l >= 2 && !n ? c.slice(0, -(l - 1)) : c.slice(0, -l);
}
}
function ot(t2) {
- if (!t2)
- return true;
+ if (!t2) return true;
switch (t2.type) {
case "plain":
case "quoteDouble":
@@ -12353,8 +11994,7 @@ ${t2}`;
let { node: r } = t2, s = t2.ancestors.filter((l) => l.type === "sequence" || l.type === "mapping").length, i = Lt(t2), o = [r.type === "blockFolded" ? ">" : "|"];
r.indent !== null && o.push(r.indent.toString()), r.chomping !== "clip" && o.push(r.chomping === "keep" ? "+" : "-"), hn(r) && o.push(" ", e("indicatorComment"));
let a2 = Tr(r, { parentIndent: s, isLastDescendant: i, options: n }), c = [];
- for (let [l, f2] of a2.entries())
- l === 0 && c.push(N), c.push(wt(v(ne, f2))), l !== a2.length - 1 ? c.push(f2.length === 0 ? N : ar(tt)) : r.chomping === "keep" && i && c.push(an(f2.length === 0 ? N : tt));
+ for (let [l, f2] of a2.entries()) l === 0 && c.push(N), c.push(wt(v(ne, f2))), l !== a2.length - 1 ? c.push(f2.length === 0 ? N : ar(tt)) : r.chomping === "keep" && i && c.push(an(f2.length === 0 ? N : tt));
return r.indent === null ? o.push(cr(I(n.tabWidth, c))) : o.push(an(I(r.indent - 1 + s, c))), o;
}
var Cr = Gi;
@@ -12370,26 +12010,20 @@ ${t2}`;
function Xi(t2, e, n) {
var C;
let { node: r, parent: s } = t2, { key: i, value: o } = r, a2 = Re(i), c = Re(o);
- if (a2 && c)
- return ": ";
+ if (a2 && c) return ": ";
let l = e("key"), f2 = zi(r) ? " " : "";
- if (c)
- return r.type === "flowMappingItem" && s.type === "flowMapping" ? l : r.type === "mappingItem" && yn(i.content, n) && !K(i.content) && ((C = s.tag) == null ? void 0 : C.value) !== "tag:yaml.org,2002:set" ? [l, f2, ":"] : ["? ", I(2, l)];
+ if (c) return r.type === "flowMappingItem" && s.type === "flowMapping" ? l : r.type === "mappingItem" && yn(i.content, n) && !K(i.content) && ((C = s.tag) == null ? void 0 : C.value) !== "tag:yaml.org,2002:set" ? [l, f2, ":"] : ["? ", I(2, l)];
let m = e("value");
- if (a2)
- return [": ", I(2, m)];
- if (ee(o) || !ot(i.content))
- return ["? ", I(2, l), N, ...t2.map(() => [e(), N], "value", "leadingComments"), ": ", I(2, m)];
- if (Zi(i.content) && !ee(i.content) && !ie(i.content) && !K(i.content) && !R(i) && !ee(o.content) && !ie(o.content) && !R(o) && yn(o.content, n))
- return [l, f2, ": ", m];
- let d = Symbol("mappingKey"), y = Ie([rt("? "), Ie(I(2, l), { id: d })]), h = [N, ": ", I(2, m)], g = [f2, ":"];
+ if (a2) return [": ", I(2, m)];
+ if (ee(o) || !ot(i.content)) return ["? ", I(2, l), N, ...t2.map(() => [e(), N], "value", "leadingComments"), ": ", I(2, m)];
+ if (Zi(i.content) && !ee(i.content) && !ie(i.content) && !K(i.content) && !R(i) && !ee(o.content) && !ie(o.content) && !R(o) && yn(o.content, n)) return [l, f2, ": ", m];
+ let d = /* @__PURE__ */ Symbol("mappingKey"), y = Ie([rt("? "), Ie(I(2, l), { id: d })]), h = [N, ": ", I(2, m)], g = [f2, ":"];
ee(o.content) || R(o) && o.content && !H(o.content, ["mapping", "sequence"]) || s.type === "mapping" && K(i.content) && ot(o.content) || H(o.content, ["mapping", "sequence"]) && o.content.tag === null && o.content.anchor === null ? g.push(N) : o.content ? g.push(ne) : K(o) && g.push(" "), g.push(m);
let w = I(n.tabWidth, g);
return yn(i.content, n) && !ee(i.content) && !ie(i.content) && !R(i) ? cn([[l, w]]) : cn([[y, rt(h, w, { groupId: d })]]);
}
function yn(t2, e) {
- if (!t2)
- return true;
+ if (!t2) return true;
switch (t2.type) {
case "plain":
case "quoteSingle":
@@ -12400,10 +12034,8 @@ ${t2}`;
default:
return false;
}
- if (e.proseWrap === "preserve")
- return t2.position.start.line === t2.position.end.line;
- if (/\\$/mu.test(e.originalText.slice(t2.position.start.offset, t2.position.end.offset)))
- return false;
+ if (e.proseWrap === "preserve") return t2.position.start.line === t2.position.end.line;
+ if (/\\$/mu.test(e.originalText.slice(t2.position.start.offset, t2.position.end.offset))) return false;
switch (e.proseWrap) {
case "never":
return !t2.value.includes(`
@@ -12419,8 +12051,7 @@ ${t2}`;
return ((e = t2.key.content) == null ? void 0 : e.type) === "alias";
}
function Zi(t2) {
- if (!t2)
- return true;
+ if (!t2) return true;
switch (t2.type) {
case "plain":
case "quoteDouble":
@@ -12508,10 +12139,8 @@ ${t2}`;
let c = r.type === "quoteDouble" ? i : s;
return [c, at(r.type, o, e), c];
}
- if (o.includes(i))
- return [s, at(r.type, r.type === "quoteDouble" ? Et(false, Et(false, o, String.raw`\"`, i), "'", s.repeat(2)) : o, e), s];
- if (o.includes(s))
- return [i, at(r.type, r.type === "quoteSingle" ? Et(false, o, "''", s) : o, e), i];
+ if (o.includes(i)) return [s, at(r.type, r.type === "quoteDouble" ? Et(false, Et(false, o, String.raw`\"`, i), "'", s.repeat(2)) : o, e), s];
+ if (o.includes(s)) return [i, at(r.type, r.type === "quoteSingle" ? Et(false, o, "''", s) : o, e), i];
let a2 = e.singleQuote ? s : i;
return [a2, at(r.type, o, e), a2];
}
@@ -12547,8 +12176,7 @@ ${t2}`;
}
function io(t2, e) {
let n = t2.node;
- if (t2.isFirst && /---(?:\s|$)/u.test(e.originalText.slice(Pe(n), Pe(n) + 4)) || n.head.children.length > 0 || R(n.head) || K(n.head))
- return "head";
+ if (t2.isFirst && /---(?:\s|$)/u.test(e.originalText.slice(Pe(n), Pe(n) + 4)) || n.head.children.length > 0 || R(n.head) || K(n.head)) return "head";
let r = t2.next;
return vr(n, r) ? false : r ? "root" : false;
}
@@ -12557,17 +12185,15 @@ ${t2}`;
return v(N, r.map((s) => wt(v(ne, s))));
}
function Ir(t2, e) {
- if (H(t2))
- switch (t2.type) {
- case "comment":
- if (Er(t2.value))
- return null;
- break;
- case "quoteDouble":
- case "quoteSingle":
- e.type = "quote";
- break;
- }
+ if (H(t2)) switch (t2.type) {
+ case "comment":
+ if (Er(t2.value)) return null;
+ break;
+ case "quoteDouble":
+ case "quoteSingle":
+ e.type = "quote";
+ break;
+ }
}
Ir.ignoredProperties = /* @__PURE__ */ new Set(["position"]);
var oo = { preprocess: kr, embed: mr, print: no, massageAstNode: Ir, insertPragma: wr, getVisitorKeys: dr }, Pr = oo;
@@ -12577,28 +12203,25 @@ ${t2}`;
var tr = {};
nr(tr, { yaml: () => Ga });
var kt = `
-`, Rr = "\r", Dr = function() {
+`, Rr = "\r", Dr = (function() {
function t2(e) {
this.length = e.length;
- for (var n = [0], r = 0; r < e.length; )
- switch (e[r]) {
- case kt:
- r += kt.length, n.push(r);
- break;
- case Rr:
- r += Rr.length, e[r] === kt && (r += kt.length), n.push(r);
- break;
- default:
- r++;
- break;
- }
+ for (var n = [0], r = 0; r < e.length; ) switch (e[r]) {
+ case kt:
+ r += kt.length, n.push(r);
+ break;
+ case Rr:
+ r += Rr.length, e[r] === kt && (r += kt.length), n.push(r);
+ break;
+ default:
+ r++;
+ break;
+ }
this.offsets = n;
}
return t2.prototype.locationForIndex = function(e) {
- if (e < 0 || e > this.length)
- return null;
- for (var n = 0, r = this.offsets; r[n + 1] <= e; )
- n++;
+ if (e < 0 || e > this.length) return null;
+ for (var n = 0, r = this.offsets; r[n + 1] <= e; ) n++;
var s = e - r[n];
return { line: n, column: s };
}, t2.prototype.indexForLocation = function(e) {
@@ -12608,7 +12231,7 @@ ${t2}`;
var n = this.offsets[e], r = e === this.offsets.length - 1 ? this.length : this.offsets[e + 1];
return r - n;
}, t2;
- }();
+ })();
function $(t2, e = null) {
"children" in t2 && t2.children.forEach((n) => $(n, t2)), "anchor" in t2 && t2.anchor && $(t2.anchor, t2), "tag" in t2 && t2.tag && $(t2.tag, t2), "leadingComments" in t2 && t2.leadingComments.forEach((n) => $(n, t2)), "middleComments" in t2 && t2.middleComments.forEach((n) => $(n, t2)), "indicatorComment" in t2 && t2.indicatorComment && $(t2.indicatorComment, t2), "trailingComment" in t2 && t2.trailingComment && $(t2.trailingComment, t2), "endComments" in t2 && t2.endComments.forEach((n) => $(n, t2)), Object.defineProperty(t2, "_parent", { value: e, enumerable: false });
}
@@ -12619,15 +12242,13 @@ ${t2}`;
$(t2);
let e = co(t2), n = t2.children.slice();
t2.comments.sort((r, s) => r.position.start.offset - s.position.end.offset).filter((r) => !r._parent).forEach((r) => {
- for (; n.length > 1 && r.position.start.line > n[0].position.end.line; )
- n.shift();
+ for (; n.length > 1 && r.position.start.line > n[0].position.end.line; ) n.shift();
lo(r, e, n[0]);
});
}
function co(t2) {
let e = Array.from(new Array(t2.position.end.line), () => ({}));
- for (let n of t2.comments)
- e[n.position.start.line - 1].comment = n;
+ for (let n of t2.comments) e[n.position.start.line - 1].comment = n;
return $r(e, t2), e;
}
function $r(t2, e) {
@@ -12655,19 +12276,15 @@ ${t2}`;
function lo(t2, e, n) {
let r = t2.position.start.line, { trailingAttachableNode: s } = e[r - 1];
if (s) {
- if (s.trailingComment)
- throw new Error(`Unexpected multiple trailing comment at ${de(t2.position.start)}`);
+ if (s.trailingComment) throw new Error(`Unexpected multiple trailing comment at ${de(t2.position.start)}`);
$(t2, s), s.trailingComment = t2;
return;
}
for (let o = r; o >= n.position.start.line; o--) {
let { trailingNode: a2 } = e[o - 1], c;
- if (a2)
- c = a2;
- else if (o !== r && e[o - 1].comment)
- c = e[o - 1].comment._parent;
- else
- continue;
+ if (a2) c = a2;
+ else if (o !== r && e[o - 1].comment) c = e[o - 1].comment._parent;
+ else continue;
if ((c.type === "sequence" || c.type === "mapping") && (c = c.children[0]), c.type === "mappingItem") {
let [l, f2] = c.children;
c = Br(l) ? l : f2;
@@ -12677,8 +12294,7 @@ ${t2}`;
$(t2, c), c.endComments.push(t2);
return;
}
- if (!c._parent)
- break;
+ if (!c._parent) break;
c = c._parent;
}
break;
@@ -12694,14 +12310,12 @@ ${t2}`;
$(t2, i), i.endComments.push(t2);
}
function fo(t2, e) {
- if (t2.position.start.offset < e.position.start.offset && t2.position.end.offset > e.position.end.offset)
- switch (t2.type) {
- case "flowMapping":
- case "flowSequence":
- return t2.children.length === 0 || e.position.start.line > t2.children[t2.children.length - 1].position.end.line;
- }
- if (e.position.end.offset < t2.position.end.offset)
- return false;
+ if (t2.position.start.offset < e.position.start.offset && t2.position.end.offset > e.position.end.offset) switch (t2.type) {
+ case "flowMapping":
+ case "flowSequence":
+ return t2.children.length === 0 || e.position.start.line > t2.children[t2.children.length - 1].position.end.line;
+ }
+ if (e.position.end.offset < t2.position.end.offset) return false;
switch (t2.type) {
case "sequenceItem":
return e.position.start.column > t2.position.start.column;
@@ -12724,10 +12338,8 @@ ${t2}`;
function ct(t2) {
switch (t2.type) {
case "DOCUMENT":
- for (let e = t2.contents.length - 1; e >= 0; e--)
- t2.contents[e].type === "BLANK_LINE" ? t2.contents.splice(e, 1) : ct(t2.contents[e]);
- for (let e = t2.directives.length - 1; e >= 0; e--)
- t2.directives[e].type === "BLANK_LINE" && t2.directives.splice(e, 1);
+ for (let e = t2.contents.length - 1; e >= 0; e--) t2.contents[e].type === "BLANK_LINE" ? t2.contents.splice(e, 1) : ct(t2.contents[e]);
+ for (let e = t2.directives.length - 1; e >= 0; e--) t2.directives[e].type === "BLANK_LINE" && t2.directives.splice(e, 1);
break;
case "FLOW_MAP":
case "FLOW_SEQ":
@@ -12823,10 +12435,8 @@ ${t2}`;
})(En || (En = {}));
function It(t2, e) {
let n = t2.cstNode, r = 1, s = n.chomping === "CLIP" ? 0 : 1, o = n.header.origEnd - n.header.origStart - r - s !== 0, a2 = e.transformRange({ origStart: n.header.origStart, origEnd: n.valueRange.origEnd }), c = null, l = vt(t2, e, (f2) => {
- if (!(a2.start.offset < f2.position.start.offset && f2.position.end.offset < a2.end.offset))
- return false;
- if (c)
- throw new Error(`Unexpected multiple indicator comments at ${de(f2.position.start)}`);
+ if (!(a2.start.offset < f2.position.start.offset && f2.position.end.offset < a2.end.offset)) return false;
+ if (c) throw new Error(`Unexpected multiple indicator comments at ${de(f2.position.start)}`);
return c = f2, true;
});
return Vr(a2, l, En[n.chomping], o ? n.blockIndent : null, n.strValue, c);
@@ -12894,13 +12504,10 @@ ${t2}`;
if (l.type === "COMMENT") {
let f2 = e.transformNode(l);
n && n.line === f2.position.start.line ? o.unshift(f2) : a2 ? r.unshift(f2) : f2.position.start.offset >= t2.valueRange.origEnd ? i.unshift(f2) : r.unshift(f2);
- } else
- a2 = true;
+ } else a2 = true;
}
- if (i.length > 1)
- throw new Error(`Unexpected multiple document trailing comments at ${de(i[1].position.start)}`);
- if (o.length > 1)
- throw new Error(`Unexpected multiple documentHead trailing comments at ${de(o[1].position.start)}`);
+ if (i.length > 1) throw new Error(`Unexpected multiple document trailing comments at ${de(i[1].position.start)}`);
+ if (o.length > 1) throw new Error(`Unexpected multiple documentHead trailing comments at ${de(o[1].position.start)}`);
return { comments: r, endComments: s, documentTrailingComment: q(i) || null, documentHeadTrailingComment: q(o) || null };
}
function po(t2, e, n) {
@@ -12945,8 +12552,7 @@ ${t2}`;
}
function ce(t2, e) {
let n = [];
- for (let r of t2)
- r && "type" in r && r.type === "COMMENT" ? e.comments.push(e.transformNode(r)) : n.push(r);
+ for (let r of t2) r && "type" in r && r.type === "COMMENT" ? e.comments.push(e.transformNode(r)) : n.push(r);
return n;
}
function Rt(t2) {
@@ -13037,9 +12643,7 @@ ${t2}`;
return { ...b("plain", t2), ...B(), ...e, value: n };
}
function gs(t2, e, n) {
- for (let r = e; r >= 0; r--)
- if (n.test(t2[r]))
- return r;
+ for (let r = e; r >= 0; r--) if (n.test(t2[r])) return r;
return -1;
}
function ds(t2, e) {
@@ -13080,8 +12684,7 @@ ${t2}`;
return Ns(V(r[0].position.start, q(r).position.end), e.transformContent(t2), r);
}
function As(t2, e) {
- if (t2 === null || t2.type === void 0 && t2.value === null)
- return null;
+ if (t2 === null || t2.type === void 0 && t2.value === null) return null;
switch (t2.type) {
case "ALIAS":
return Ur(t2, e);
@@ -13135,22 +12738,18 @@ ${t2}`;
function Is2(t2) {
if (!t2.setOrigRanges()) {
let e = (n) => {
- if (yo(n))
- return n.origStart = n.start, n.origEnd = n.end, true;
- if (Eo(n))
- return n.origOffset = n.offset, true;
+ if (yo(n)) return n.origStart = n.start, n.origEnd = n.end, true;
+ if (Eo(n)) return n.origOffset = n.offset, true;
};
t2.forEach((n) => Nn(n, e));
}
}
function Nn(t2, e) {
- if (!(!t2 || typeof t2 != "object") && e(t2) !== true)
- for (let n of Object.keys(t2)) {
- if (n === "context" || n === "error")
- continue;
- let r = t2[n];
- Array.isArray(r) ? r.forEach((s) => Nn(s, e)) : Nn(r, e);
- }
+ if (!(!t2 || typeof t2 != "object") && e(t2) !== true) for (let n of Object.keys(t2)) {
+ if (n === "context" || n === "error") continue;
+ let r = t2[n];
+ Array.isArray(r) ? r.forEach((s) => Nn(s, e)) : Nn(r, e);
+ }
}
function yo(t2) {
return typeof t2.start == "number";
@@ -13162,8 +12761,7 @@ ${t2}`;
if ("children" in t2) {
if (t2.children.length === 1) {
let e = t2.children[0];
- if (e.type === "plain" && e.tag === null && e.anchor === null && e.value === "")
- return t2.children.splice(0, 1), t2;
+ if (e.type === "plain" && e.tag === null && e.anchor === null && e.value === "") return t2.children.splice(0, 1), t2;
}
t2.children.forEach(On);
}
@@ -13176,8 +12774,7 @@ ${t2}`;
};
}
function An(t2) {
- if (t2 === null || !("children" in t2))
- return;
+ if (t2 === null || !("children" in t2)) return;
let e = t2.children;
if (e.forEach(An), t2.type === "document") {
let [i, o] = t2.children;
@@ -13216,10 +12813,7 @@ ${t2}`;
let e = Ni(t2);
Is2(e);
let n = e.map((a2) => new bi({ merge: false, keepCstNodes: true }).parse(a2)), r = new Dr(t2), s = [], i = { text: t2, locator: r, comments: s, transformOffset: (a2) => ks(a2, i), transformRange: (a2) => vs(a2, i), transformNode: (a2) => As(a2, i), transformContent: (a2) => vt(a2, i) };
- for (let a2 of n)
- for (let c of a2.errors)
- if (!(c instanceof er && c.message === 'Map keys must be unique; "<<" is repeated'))
- throw Cs(c, i);
+ for (let a2 of n) for (let c of a2.errors) if (!(c instanceof er && c.message === 'Map keys must be unique; "<<" is repeated')) throw Cs(c, i);
n.forEach((a2) => ct(a2.cstNode));
let o = Fr(i.transformRange({ origStart: 0, origEnd: i.text.length }), n.map(i.transformNode), s);
return Yr(o), An(o), On(o), o;
@@ -13252,10 +12846,8 @@ var require_estree = __commonJS({
var i = f2();
return i.default || i;
}
- if (typeof exports == "object" && typeof module == "object")
- module.exports = e();
- else if (typeof define == "function" && define.amd)
- define(e);
+ if (typeof exports == "object" && typeof module == "object") module.exports = e();
+ else if (typeof define == "function" && define.amd) define(e);
else {
var t2 = typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : typeof self < "u" ? self : this || {};
t2.prettierPlugins = t2.prettierPlugins || {}, t2.prettierPlugins.estree = e();
@@ -13270,12 +12862,9 @@ var require_estree = __commonJS({
throw TypeError(e);
};
var Tr = (e, t2) => {
- for (var r in t2)
- Ln(e, r, { get: t2[r], enumerable: true });
+ for (var r in t2) Ln(e, r, { get: t2[r], enumerable: true });
}, $a = (e, t2, r, n) => {
- if (t2 && typeof t2 == "object" || typeof t2 == "function")
- for (let s of Ha(t2))
- !Va.call(e, s) && s !== r && Ln(e, s, { get: () => t2[s], enumerable: !(n = Xa(t2, s)) || n.enumerable });
+ if (t2 && typeof t2 == "object" || typeof t2 == "function") for (let s of Ha(t2)) !Va.call(e, s) && s !== r && Ln(e, s, { get: () => t2[s], enumerable: !(n = Xa(t2, s)) || n.enumerable });
return e;
};
var Ka = (e) => $a(Ln({}, "__esModule", { value: true }), e);
@@ -13287,12 +12876,10 @@ var require_estree = __commonJS({
var vs = {};
Tr(vs, { canAttachComment: () => Sp, embed: () => ti, experimentalFeatures: () => am, getCommentChildNodes: () => Bp, getVisitorKeys: () => Sr, handleComments: () => zn, insertPragma: () => mi, isBlockComment: () => ee, isGap: () => bp, massageAstNode: () => du, print: () => va, printComment: () => wu, willPrintOwnComments: () => Zn });
var Qa = (e, t2, r, n) => {
- if (!(e && t2 == null))
- return t2.replaceAll ? t2.replaceAll(r, n) : r.global ? t2.replace(r, n) : t2.split(r).join(n);
+ if (!(e && t2 == null)) return t2.replaceAll ? t2.replaceAll(r, n) : r.global ? t2.replace(r, n) : t2.split(r).join(n);
}, N = Qa;
var za = (e, t2, r) => {
- if (!(e && t2 == null))
- return Array.isArray(t2) || typeof t2 == "string" ? t2[r < 0 ? t2.length + r : r] : t2.at(r);
+ if (!(e && t2 == null)) return Array.isArray(t2) || typeof t2 == "string" ? t2[r < 0 ? t2.length + r : r] : t2.at(r);
}, M = za;
function Za(e) {
return e !== null && typeof e == "object";
@@ -13302,25 +12889,19 @@ var require_estree = __commonJS({
let { getVisitorKeys: r, filter: n = () => true } = t2, s = (u) => Xs(u) && n(u);
for (let u of r(e)) {
let i = e[u];
- if (Array.isArray(i))
- for (let a2 of i)
- s(a2) && (yield a2);
- else
- s(i) && (yield i);
+ if (Array.isArray(i)) for (let a2 of i) s(a2) && (yield a2);
+ else s(i) && (yield i);
}
}
function* to(e, t2) {
let r = [e];
for (let n = 0; n < r.length; n++) {
let s = r[n];
- for (let u of eo(s, t2))
- yield u, r.push(u);
+ for (let u of eo(s, t2)) yield u, r.push(u);
}
}
function Hs(e, { getVisitorKeys: t2, predicate: r }) {
- for (let n of to(e, { getVisitorKeys: t2 }))
- if (r(n))
- return true;
+ for (let n of to(e, { getVisitorKeys: t2 })) if (r(n)) return true;
return false;
}
var Vs = () => /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
@@ -13333,10 +12914,8 @@ var require_estree = __commonJS({
var Qs = (e) => !($s(e) || Ks(e));
var ro = /[^\x20-\x7F]/u;
function no(e) {
- if (!e)
- return 0;
- if (!ro.test(e))
- return e.length;
+ if (!e) return 0;
+ if (!ro.test(e)) return e.length;
e = e.replace(Vs(), " ");
let t2 = 0;
for (let r of e) {
@@ -13349,16 +12928,13 @@ var require_estree = __commonJS({
function dr(e) {
return (t2, r, n) => {
let s = !!(n != null && n.backwards);
- if (r === false)
- return false;
+ if (r === false) return false;
let { length: u } = t2, i = r;
for (; i >= 0 && i < u; ) {
let a2 = t2.charAt(i);
if (e instanceof RegExp) {
- if (!e.test(a2))
- return i;
- } else if (!e.includes(a2))
- return i;
+ if (!e.test(a2)) return i;
+ } else if (!e.includes(a2)) return i;
s ? i-- : i++;
}
return i === -1 || i === u ? i : false;
@@ -13367,23 +12943,18 @@ var require_estree = __commonJS({
var Om = dr(/\s/u), Ye = dr(" "), zs = dr(",; "), Zs = dr(/[^\n\r]/u);
function so(e, t2, r) {
let n = !!(r != null && r.backwards);
- if (t2 === false)
- return false;
+ if (t2 === false) return false;
let s = e.charAt(t2);
if (n) {
if (e.charAt(t2 - 1) === "\r" && s === `
-`)
- return t2 - 2;
+`) return t2 - 2;
if (s === `
-` || s === "\r" || s === "\u2028" || s === "\u2029")
- return t2 - 1;
+` || s === "\r" || s === "\u2028" || s === "\u2029") return t2 - 1;
} else {
if (s === "\r" && e.charAt(t2 + 1) === `
-`)
- return t2 + 2;
+`) return t2 + 2;
if (s === `
-` || s === "\r" || s === "\u2028" || s === "\u2029")
- return t2 + 1;
+` || s === "\r" || s === "\u2028" || s === "\u2029") return t2 + 1;
}
return t2;
}
@@ -13394,12 +12965,9 @@ var require_estree = __commonJS({
}
var Z = uo;
function io(e, t2) {
- if (t2 === false)
- return false;
+ if (t2 === false) return false;
if (e.charAt(t2) === "/" && e.charAt(t2 + 1) === "*") {
- for (let r = t2 + 2; r < e.length; ++r)
- if (e.charAt(r) === "*" && e.charAt(r + 1) === "/")
- return r + 2;
+ for (let r = t2 + 2; r < e.length; ++r) if (e.charAt(r) === "*" && e.charAt(r + 1) === "/") return r + 2;
}
return t2;
}
@@ -13410,8 +12978,7 @@ var require_estree = __commonJS({
var _t = ao;
function oo(e, t2) {
let r = null, n = t2;
- for (; n !== r; )
- r = n, n = zs(e, n), n = Ot(e, n), n = Ye(e, n);
+ for (; n !== r; ) r = n, n = zs(e, n), n = Ot(e, n), n = Ye(e, n);
return n = _t(e, n), n = Ne(e, n), n !== false && Z(e, n);
}
var vt = oo;
@@ -13424,8 +12991,7 @@ var require_estree = __commonJS({
var xr = "'", tu = '"';
function co(e, t2) {
let r = t2 === true || t2 === xr ? xr : tu, n = r === xr ? tu : xr, s = 0, u = 0;
- for (let i of e)
- i === r ? s++ : i === n && u++;
+ for (let i of e) i === r ? s++ : i === n && u++;
return s > u ? n : r;
}
var hr = co;
@@ -13471,8 +13037,7 @@ var require_estree = __commonJS({
return er = tr.prototype = e != null ? e : /* @__PURE__ */ Object.create(null), new tr();
}
var Do = 10;
- for (let e = 0; e <= Do; e++)
- tr();
+ for (let e = 0; e <= Do; e++) tr();
function wn(e) {
return tr(e);
}
@@ -13480,8 +13045,7 @@ var require_estree = __commonJS({
wn(e);
function r(n) {
let s = n[t2], u = e[s];
- if (!Array.isArray(u))
- throw Object.assign(new Error(`Missing visitor keys for '${s}'.`), { node: n });
+ if (!Array.isArray(u)) throw Object.assign(new Error(`Missing visitor keys for '${s}'.`), { node: n });
return u;
}
return r;
@@ -13500,10 +13064,8 @@ var require_estree = __commonJS({
let r = t2.split(".");
for (let n = r.length - 1; n >= 0; n--) {
let s = r[n];
- if (n === 0)
- return e.type === "Identifier" && e.name === s;
- if (e.type !== "MemberExpression" || e.optional || e.computed || e.property.type !== "Identifier" || e.property.name !== s)
- return false;
+ if (n === 0) return e.type === "Identifier" && e.name === s;
+ if (e.type !== "MemberExpression" || e.optional || e.computed || e.property.type !== "Identifier" || e.property.name !== s) return false;
e = e.object;
}
}
@@ -13526,22 +13088,14 @@ var require_estree = __commonJS({
return e.expressions ? e.expressions[0] : (_f = (_e2 = (_d = (_c2 = (_b = (_a2 = e.left) != null ? _a2 : e.test) != null ? _b : e.callee) != null ? _c2 : e.object) != null ? _d : e.tag) != null ? _e2 : e.argument) != null ? _f : e.expression;
}
function kr(e) {
- if (e.expressions)
- return ["expressions", 0];
- if (e.left)
- return ["left"];
- if (e.test)
- return ["test"];
- if (e.object)
- return ["object"];
- if (e.callee)
- return ["callee"];
- if (e.tag)
- return ["tag"];
- if (e.argument)
- return ["argument"];
- if (e.expression)
- return ["expression"];
+ if (e.expressions) return ["expressions", 0];
+ if (e.left) return ["left"];
+ if (e.test) return ["test"];
+ if (e.object) return ["object"];
+ if (e.callee) return ["callee"];
+ if (e.tag) return ["tag"];
+ if (e.argument) return ["argument"];
+ if (e.expression) return ["expression"];
throw new Error("Unexpected node has no left side.");
}
var Ct = R(["Line", "CommentLine", "SingleLine", "HashbangComment", "HTMLOpen", "HTMLClose", "Hashbang", "InterpreterDirective"]), pu = R(["ExportDefaultDeclaration", "DeclareExportDeclaration", "ExportNamedDeclaration", "ExportAllDeclaration", "DeclareExportAllDeclaration"]), Y = R(["ArrayExpression", "TupleExpression"]), se = R(["ObjectExpression", "RecordExpression"]);
@@ -13593,16 +13147,12 @@ var require_estree = __commonJS({
return uu(e, Po);
}
function kt(e, t2) {
- if ((e == null ? void 0 : e.type) !== "CallExpression" || e.optional)
- return false;
+ if ((e == null ? void 0 : e.type) !== "CallExpression" || e.optional) return false;
let r = pe(e);
if (r.length === 1) {
- if (On(e) && kt(t2))
- return Mt(r[0]);
- if (bo(e.callee))
- return On(r[0]);
- } else if ((r.length === 2 || r.length === 3) && (r[0].type === "TemplateLiteral" || te(r[0])) && ko(e.callee))
- return r[2] && !Fe(r[2]) ? false : (r.length === 2 ? Mt(r[1]) : So(r[1]) && z(r[1]).length <= 1) || On(r[1]);
+ if (On(e) && kt(t2)) return Mt(r[0]);
+ if (bo(e.callee)) return On(r[0]);
+ } else if ((r.length === 2 || r.length === 3) && (r[0].type === "TemplateLiteral" || te(r[0])) && ko(e.callee)) return r[2] && !Fe(r[2]) ? false : (r.length === 2 ? Mt(r[1]) : So(r[1]) && z(r[1]).length <= 1) || On(r[1]);
return false;
}
var mu = (e) => (t2) => ((t2 == null ? void 0 : t2.type) === "ChainExpression" && (t2 = t2.expression), e(t2)), L = mu(R(["CallExpression", "OptionalCallExpression"])), W = mu(R(["MemberExpression", "OptionalMemberExpression"]));
@@ -13613,19 +13163,16 @@ var require_estree = __commonJS({
let r = 0;
for (let n in e) {
let s = e[n];
- if (s && typeof s == "object" && typeof s.type == "string" && (r++, r += yu(s, t2 - r)), r > t2)
- return r;
+ if (s && typeof s == "object" && typeof s.type == "string" && (r++, r += yu(s, t2 - r)), r > t2) return r;
}
return r;
}
var Io = 0.25;
function sr(e, t2) {
let { printWidth: r } = t2;
- if (T(e))
- return false;
+ if (T(e)) return false;
let n = r * Io;
- if (e.type === "ThisExpression" || e.type === "Identifier" && e.name.length <= n || Mn(e) && !T(e.argument))
- return true;
+ if (e.type === "ThisExpression" || e.type === "Identifier" && e.name.length <= n || Mn(e) && !T(e.argument)) return true;
let s = e.type === "Literal" && "regex" in e && e.regex.pattern || e.type === "RegExpLiteral" && e.pattern;
return s ? s.length <= n : te(e) ? rt(fe(e), t2).length <= n : e.type === "TemplateLiteral" ? e.expressions.length === 0 && e.quasis[0].value.raw.length <= n && !e.quasis[0].value.raw.includes(`
`) : e.type === "UnaryExpression" ? sr(e.argument, { printWidth: r }) : e.type === "CallExpression" && e.arguments.length === 0 && e.callee.type === "Identifier" ? e.callee.name.length <= n - 2 : Ir(e);
@@ -13641,24 +13188,18 @@ var require_estree = __commonJS({
return (e.type === "TemplateLiteral" && iu(e) || e.type === "TaggedTemplateExpression" && iu(e.quasi)) && !Z(t2, q(e), { backwards: true });
}
function Or(e) {
- if (!T(e))
- return false;
+ if (!T(e)) return false;
let t2 = M(false, ct(e, h.Dangling), -1);
return t2 && !ee(t2);
}
function Du(e) {
- if (e.length <= 1)
- return false;
+ if (e.length <= 1) return false;
let t2 = 0;
- for (let r of e)
- if (Mt(r)) {
- if (t2 += 1, t2 > 1)
- return true;
- } else if (L(r)) {
- for (let n of pe(r))
- if (Mt(n))
- return true;
- }
+ for (let r of e) if (Mt(r)) {
+ if (t2 += 1, t2 > 1) return true;
+ } else if (L(r)) {
+ for (let n of pe(r)) if (Mt(n)) return true;
+ }
return false;
}
function _r(e) {
@@ -13668,22 +13209,15 @@ var require_estree = __commonJS({
var Lo = /* @__PURE__ */ new Set(["!", "-", "+", "~"]);
function Ie(e, t2 = 2) {
var _a2;
- if (t2 <= 0)
- return false;
- if (e.type === "ChainExpression" || e.type === "TSNonNullExpression")
- return Ie(e.expression, t2);
+ if (t2 <= 0) return false;
+ if (e.type === "ChainExpression" || e.type === "TSNonNullExpression") return Ie(e.expression, t2);
let r = (n) => Ie(n, t2 - 1);
- if (Rn(e))
- return tt((_a2 = e.pattern) != null ? _a2 : e.regex.pattern) <= 5;
- if (Ir(e) || go(e) || e.type === "ArgumentPlaceholder")
- return true;
- if (e.type === "TemplateLiteral")
- return e.quasis.every((n) => !n.value.raw.includes(`
+ if (Rn(e)) return tt((_a2 = e.pattern) != null ? _a2 : e.regex.pattern) <= 5;
+ if (Ir(e) || go(e) || e.type === "ArgumentPlaceholder") return true;
+ if (e.type === "TemplateLiteral") return e.quasis.every((n) => !n.value.raw.includes(`
`)) && e.expressions.every(r);
- if (se(e))
- return e.properties.every((n) => !n.computed && (n.shorthand || n.value && r(n.value)));
- if (Y(e))
- return e.elements.every((n) => n === null || r(n));
+ if (se(e)) return e.properties.every((n) => !n.computed && (n.shorthand || n.value && r(n.value)));
+ if (Y(e)) return e.elements.every((n) => n === null || r(n));
if (lt(e)) {
if (e.type === "ImportExpression" || Ie(e.callee, t2)) {
let n = pe(e);
@@ -13752,15 +13286,13 @@ var require_estree = __commonJS({
}
function Fu(e) {
var r;
- if (e.rest)
- return true;
+ if (e.rest) return true;
let t2 = z(e);
return ((r = M(false, t2, -1)) == null ? void 0 : r.type) === "RestElement";
}
var _n = /* @__PURE__ */ new WeakMap();
function z(e) {
- if (_n.has(e))
- return _n.get(e);
+ if (_n.has(e)) return _n.get(e);
let t2 = [];
return e.this && t2.push(e.this), Array.isArray(e.parameters) ? t2.push(...e.parameters) : Array.isArray(e.params) && t2.push(...e.params), e.rest && t2.push(e.rest), _n.set(e, t2), t2;
}
@@ -13770,30 +13302,24 @@ var require_estree = __commonJS({
}
var vn = /* @__PURE__ */ new WeakMap();
function pe(e) {
- if (vn.has(e))
- return vn.get(e);
- if (e.type === "ChainExpression")
- return pe(e.expression);
+ if (vn.has(e)) return vn.get(e);
+ if (e.type === "ChainExpression") return pe(e.expression);
let t2 = e.arguments;
return e.type === "ImportExpression" && (t2 = [e.source], e.options && t2.push(e.options)), vn.set(e, t2), t2;
}
function qt(e, t2) {
let { node: r } = e;
- if (r.type === "ChainExpression")
- return e.call(() => qt(e, t2), "expression");
+ if (r.type === "ChainExpression") return e.call(() => qt(e, t2), "expression");
r.type === "ImportExpression" ? (e.call((n) => t2(n, 0), "source"), r.options && e.call((n) => t2(n, 1), "options")) : e.each(t2, "arguments");
}
function qn(e, t2) {
let r = [];
if (e.type === "ChainExpression" && (e = e.expression, r.push("expression")), e.type === "ImportExpression") {
- if (t2 === 0 || t2 === (e.options ? -2 : -1))
- return [...r, "source"];
- if (e.options && (t2 === 1 || t2 === -1))
- return [...r, "options"];
+ if (t2 === 0 || t2 === (e.options ? -2 : -1)) return [...r, "source"];
+ if (e.options && (t2 === 1 || t2 === -1)) return [...r, "options"];
throw new RangeError("Invalid argument index");
}
- if (t2 < 0 && (t2 = e.arguments.length + t2), t2 < 0 || t2 >= e.arguments.length)
- throw new RangeError("Invalid argument index");
+ if (t2 < 0 && (t2 = e.arguments.length + t2), t2 < 0 || t2 >= e.arguments.length) throw new RangeError("Invalid argument index");
return [...r, "arguments", t2];
}
function ir(e) {
@@ -13803,18 +13329,15 @@ var require_estree = __commonJS({
return (e == null ? void 0 : e.prettierIgnore) || T(e, h.PrettierIgnore);
}
var h = { Leading: 2, Trailing: 4, Dangling: 8, Block: 16, Line: 32, PrettierIgnore: 64, First: 128, Last: 256 }, Au = (e, t2) => {
- if (typeof e == "function" && (t2 = e, e = 0), e || t2)
- return (r, n, s) => !(e & h.Leading && !r.leading || e & h.Trailing && !r.trailing || e & h.Dangling && (r.leading || r.trailing) || e & h.Block && !ee(r) || e & h.Line && !Ct(r) || e & h.First && n !== 0 || e & h.Last && n !== s.length - 1 || e & h.PrettierIgnore && !ir(r) || t2 && !t2(r));
+ if (typeof e == "function" && (t2 = e, e = 0), e || t2) return (r, n, s) => !(e & h.Leading && !r.leading || e & h.Trailing && !r.trailing || e & h.Dangling && (r.leading || r.trailing) || e & h.Block && !ee(r) || e & h.Line && !Ct(r) || e & h.First && n !== 0 || e & h.Last && n !== s.length - 1 || e & h.PrettierIgnore && !ir(r) || t2 && !t2(r));
};
function T(e, t2, r) {
- if (!O(e == null ? void 0 : e.comments))
- return false;
+ if (!O(e == null ? void 0 : e.comments)) return false;
let n = Au(t2, r);
return n ? e.comments.some(n) : true;
}
function ct(e, t2, r) {
- if (!Array.isArray(e == null ? void 0 : e.comments))
- return [];
+ if (!Array.isArray(e == null ? void 0 : e.comments)) return [];
let n = Au(t2, r);
return n ? e.comments.filter(n) : e.comments;
}
@@ -13827,33 +13350,28 @@ var require_estree = __commonJS({
}
var Ae = R(["TSAsExpression", "TSSatisfiesExpression", "AsExpression", "AsConstExpression", "SatisfiesExpression"]), Xe = R(["UnionTypeAnnotation", "TSUnionType"]), vr = R(["IntersectionTypeAnnotation", "TSIntersectionType"]);
var Oo = /* @__PURE__ */ new Set(["range", "raw", "comments", "leadingComments", "trailingComments", "innerComments", "extra", "start", "end", "loc", "flags", "errors", "tokens"]), Wt = (e) => {
- for (let t2 of e.quasis)
- delete t2.value;
+ for (let t2 of e.quasis) delete t2.value;
};
function Tu(e, t2, r) {
var s, u;
- if (e.type === "Program" && delete t2.sourceType, (e.type === "BigIntLiteral" || e.type === "BigIntLiteralTypeAnnotation") && e.value && (t2.value = e.value.toLowerCase()), (e.type === "BigIntLiteral" || e.type === "Literal") && e.bigint && (t2.bigint = e.bigint.toLowerCase()), e.type === "EmptyStatement" || e.type === "JSXText" || e.type === "JSXExpressionContainer" && (e.expression.type === "Literal" || e.expression.type === "StringLiteral") && e.expression.value === " ")
- return null;
+ if (e.type === "Program" && delete t2.sourceType, (e.type === "BigIntLiteral" || e.type === "BigIntLiteralTypeAnnotation") && e.value && (t2.value = e.value.toLowerCase()), (e.type === "BigIntLiteral" || e.type === "Literal") && e.bigint && (t2.bigint = e.bigint.toLowerCase()), e.type === "EmptyStatement" || e.type === "JSXText" || e.type === "JSXExpressionContainer" && (e.expression.type === "Literal" || e.expression.type === "StringLiteral") && e.expression.value === " ") return null;
if ((e.type === "Property" || e.type === "ObjectProperty" || e.type === "MethodDefinition" || e.type === "ClassProperty" || e.type === "ClassMethod" || e.type === "PropertyDefinition" || e.type === "TSDeclareMethod" || e.type === "TSPropertySignature" || e.type === "ObjectTypeProperty" || e.type === "ImportAttribute") && e.key && !e.computed) {
let { key: i } = e;
te(i) || Fe(i) ? t2.key = String(i.value) : i.type === "Identifier" && (t2.key = i.name);
}
- if (e.type === "JSXElement" && e.openingElement.name.name === "style" && e.openingElement.attributes.some((i) => i.type === "JSXAttribute" && i.name.name === "jsx"))
- for (let { type: i, expression: a2 } of t2.children)
- i === "JSXExpressionContainer" && a2.type === "TemplateLiteral" && Wt(a2);
+ if (e.type === "JSXElement" && e.openingElement.name.name === "style" && e.openingElement.attributes.some((i) => i.type === "JSXAttribute" && i.name.name === "jsx")) for (let { type: i, expression: a2 } of t2.children) i === "JSXExpressionContainer" && a2.type === "TemplateLiteral" && Wt(a2);
e.type === "JSXAttribute" && e.name.name === "css" && e.value.type === "JSXExpressionContainer" && e.value.expression.type === "TemplateLiteral" && Wt(t2.value.expression), e.type === "JSXAttribute" && ((s = e.value) == null ? void 0 : s.type) === "Literal" && /["']|"|'/u.test(e.value.value) && (t2.value.value = N(false, e.value.value, /["']|"|'/gu, '"'));
let n = e.expression || e.callee;
if (e.type === "Decorator" && n.type === "CallExpression" && n.callee.name === "Component" && n.arguments.length === 1) {
let i = e.expression.arguments[0].properties;
- for (let [a2, o] of t2.expression.arguments[0].properties.entries())
- switch (i[a2].key.name) {
- case "styles":
- Y(o.value) && Wt(o.value.elements[0]);
- break;
- case "template":
- o.value.type === "TemplateLiteral" && Wt(o.value);
- break;
- }
+ for (let [a2, o] of t2.expression.arguments[0].properties.entries()) switch (i[a2].key.name) {
+ case "styles":
+ Y(o.value) && Wt(o.value.elements[0]);
+ break;
+ case "template":
+ o.value.type === "TemplateLiteral" && Wt(o.value);
+ break;
+ }
}
e.type === "TaggedTemplateExpression" && (e.tag.type === "MemberExpression" || e.tag.type === "Identifier" && (e.tag.name === "gql" || e.tag.name === "graphql" || e.tag.name === "css" || e.tag.name === "md" || e.tag.name === "markdown" || e.tag.name === "html") || e.tag.type === "CallExpression") && Wt(t2.quasi), e.type === "TemplateLiteral" && ((u = e.leadingComments) != null && u.some((a2) => ee(a2) && ["GraphQL", "HTML"].some((o) => a2.value === ` ${o} `)) || r.type === "CallExpression" && r.callee.name === "graphql" || !e.leadingComments) && Wt(t2), e.type === "ChainExpression" && e.expression.type === "TSNonNullExpression" && (t2.type = "TSNonNullExpression", t2.expression.type = "ChainExpression"), e.type === "TSMappedType" && (delete t2.key, delete t2.constraint), e.type === "TSEnumDeclaration" && delete t2.body;
}
@@ -13861,28 +13379,21 @@ var require_estree = __commonJS({
var du = Tu;
var Re = "string", he = "array", nt = "cursor", He = "indent", Ve = "align", $e = "trim", me = "group", we = "fill", Te = "if-break", Ke = "indent-if-break", Qe = "line-suffix", Je = "line-suffix-boundary", ie = "line", ge = "label", Oe = "break-parent", jr = /* @__PURE__ */ new Set([nt, He, Ve, $e, me, we, Te, Ke, Qe, Je, ie, ge, Oe]);
function _o(e) {
- if (typeof e == "string")
- return Re;
- if (Array.isArray(e))
- return he;
- if (!e)
- return;
+ if (typeof e == "string") return Re;
+ if (Array.isArray(e)) return he;
+ if (!e) return;
let { type: t2 } = e;
- if (jr.has(t2))
- return t2;
+ if (jr.has(t2)) return t2;
}
var Se = _o;
var vo = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
function jo(e) {
let t2 = e === null ? "null" : typeof e;
- if (t2 !== "string" && t2 !== "object")
- return `Unexpected doc '${t2}',
+ if (t2 !== "string" && t2 !== "object") return `Unexpected doc '${t2}',
Expected it to be 'string' or 'object'.`;
- if (Se(e))
- throw new Error("doc is valid.");
+ if (Se(e)) throw new Error("doc is valid.");
let r = Object.prototype.toString.call(e);
- if (r !== "[object Object]")
- return `Unexpected doc '${r}'.`;
+ if (r !== "[object Object]") return `Unexpected doc '${r}'.`;
let n = vo([...jr].map((s) => `'${s}'`));
return `Unexpected doc.type '${e.type}'.
Expected it to be ${n}.`;
@@ -13905,55 +13416,47 @@ Expected it to be ${n}.`;
}
r && s.push(u, xu);
let i = Se(u);
- if (!i)
- throw new Tt(u);
- if ((t2 == null ? void 0 : t2(u)) !== false)
- switch (i) {
- case he:
- case we: {
- let a2 = i === he ? u : u.parts;
- for (let o = a2.length, p = o - 1; p >= 0; --p)
- s.push(a2[p]);
- break;
- }
- case Te:
- s.push(u.flatContents, u.breakContents);
- break;
- case me:
- if (n && u.expandedStates)
- for (let a2 = u.expandedStates.length, o = a2 - 1; o >= 0; --o)
- s.push(u.expandedStates[o]);
- else
- s.push(u.contents);
- break;
- case Ve:
- case He:
- case Ke:
- case ge:
- case Qe:
- s.push(u.contents);
- break;
- case Re:
- case nt:
- case $e:
- case Je:
- case ie:
- case Oe:
- break;
- default:
- throw new Tt(u);
+ if (!i) throw new Tt(u);
+ if ((t2 == null ? void 0 : t2(u)) !== false) switch (i) {
+ case he:
+ case we: {
+ let a2 = i === he ? u : u.parts;
+ for (let o = a2.length, p = o - 1; p >= 0; --p) s.push(a2[p]);
+ break;
}
+ case Te:
+ s.push(u.flatContents, u.breakContents);
+ break;
+ case me:
+ if (n && u.expandedStates) for (let a2 = u.expandedStates.length, o = a2 - 1; o >= 0; --o) s.push(u.expandedStates[o]);
+ else s.push(u.contents);
+ break;
+ case Ve:
+ case He:
+ case Ke:
+ case ge:
+ case Qe:
+ s.push(u.contents);
+ break;
+ case Re:
+ case nt:
+ case $e:
+ case Je:
+ case ie:
+ case Oe:
+ break;
+ default:
+ throw new Tt(u);
+ }
}
}
var ar = Mo;
function mt(e, t2) {
- if (typeof e == "string")
- return t2(e);
+ if (typeof e == "string") return t2(e);
let r = /* @__PURE__ */ new Map();
return n(e);
function n(u) {
- if (r.has(u))
- return r.get(u);
+ if (r.has(u)) return r.get(u);
let i = s(u);
return r.set(u, i), i;
}
@@ -13990,16 +13493,14 @@ Expected it to be ${n}.`;
function gu(e, t2, r) {
let n = r, s = false;
function u(i) {
- if (s)
- return false;
+ if (s) return false;
let a2 = t2(i);
a2 !== void 0 && (s = true, n = a2);
}
return ar(e, u), n;
}
function Ro(e) {
- if (e.type === me && e.break || e.type === ie && e.hard || e.type === Oe)
- return true;
+ if (e.type === me && e.break || e.type === ie && e.hard || e.type === Oe) return true;
}
function re(e) {
return gu(e, Ro, false);
@@ -14015,8 +13516,7 @@ Expected it to be ${n}.`;
let t2 = /* @__PURE__ */ new Set(), r = [];
function n(u) {
if (u.type === Oe && hu(r), u.type === me) {
- if (r.push(u), t2.has(u))
- return false;
+ if (r.push(u), t2.has(u)) return false;
t2.add(u);
}
}
@@ -14034,31 +13534,25 @@ Expected it to be ${n}.`;
function qo(e) {
switch (Se(e)) {
case we:
- if (e.parts.every((t2) => t2 === ""))
- return "";
+ if (e.parts.every((t2) => t2 === "")) return "";
break;
case me:
- if (!e.contents && !e.id && !e.break && !e.expandedStates)
- return "";
- if (e.contents.type === me && e.contents.id === e.id && e.contents.break === e.break && e.contents.expandedStates === e.expandedStates)
- return e.contents;
+ if (!e.contents && !e.id && !e.break && !e.expandedStates) return "";
+ if (e.contents.type === me && e.contents.id === e.id && e.contents.break === e.break && e.contents.expandedStates === e.expandedStates) return e.contents;
break;
case Ve:
case He:
case Ke:
case Qe:
- if (!e.contents)
- return "";
+ if (!e.contents) return "";
break;
case Te:
- if (!e.flatContents && !e.breakContents)
- return "";
+ if (!e.flatContents && !e.breakContents) return "";
break;
case he: {
let t2 = [];
for (let r of e) {
- if (!r)
- continue;
+ if (!r) continue;
let [n, ...s] = Array.isArray(r) ? r : [r];
typeof n == "string" && typeof M(false, t2, -1) == "string" ? t2[t2.length - 1] += n : t2.push(n), t2.push(...s);
}
@@ -14085,8 +13579,7 @@ Expected it to be ${n}.`;
`)) : r);
}
function Wo(e) {
- if (e.type === ie)
- return true;
+ if (e.type === ie) return true;
}
function Bu(e) {
return gu(e, Wo, false);
@@ -14099,8 +13592,7 @@ Expected it to be ${n}.`;
return ar(e, (r) => {
switch (Se(r)) {
case Re:
- if (r === "")
- break;
+ if (r === "") break;
case $e:
case Je:
case ie:
@@ -14146,16 +13638,14 @@ Expected it to be ${n}.`;
function b(e, t2) {
ze(e), Un(t2);
let r = [];
- for (let n = 0; n < t2.length; n++)
- n !== 0 && r.push(e), r.push(t2[n]);
+ for (let n = 0; n < t2.length; n++) n !== 0 && r.push(e), r.push(t2[n]);
return r;
}
function Iu(e, t2, r) {
ze(e);
let n = e;
if (t2 > 0) {
- for (let s = 0; s < Math.floor(t2 / r); ++s)
- n = f2(n);
+ for (let s = 0; s < Math.floor(t2 / r); ++s) n = f2(n);
n = Be(t2 % r, n), n = Be(Number.NEGATIVE_INFINITY, n);
}
return n;
@@ -14171,10 +13661,8 @@ Expected it to be ${n}.`;
var Lu = Uo;
function wu(e, t2) {
let r = e.node;
- if (Ct(r))
- return t2.originalText.slice(q(r), k(r)).trimEnd();
- if (ee(r))
- return Lu(r) ? Yo(r) : ["/*", _e(r.value), "*/"];
+ if (Ct(r)) return t2.originalText.slice(q(r), k(r)).trimEnd();
+ if (ee(r)) return Lu(r) ? Yo(r) : ["/*", _e(r.value), "*/"];
throw new Error("Not a comment: " + JSON.stringify(r));
}
function Yo(e) {
@@ -14203,8 +13691,7 @@ Expected it to be ${n}.`;
}
function Xo(e, t2) {
let r = null, n = t2;
- for (; n !== r; )
- r = n, n = Ye(e, n), n = Ot(e, n), n = _t(e, n), n = Ne(e, n);
+ for (; n !== r; ) r = n, n = Ye(e, n), n = Ot(e, n), n = _t(e, n), n = Ne(e, n);
return n;
}
var ut = Xo;
@@ -14214,10 +13701,8 @@ Expected it to be ${n}.`;
}
var be = Ho;
function Vo(e, t2, r) {
- for (let n = t2; n < r; ++n)
- if (e.charAt(n) === `
-`)
- return true;
+ for (let n = t2; n < r; ++n) if (e.charAt(n) === `
+`) return true;
return false;
}
var de = Vo;
@@ -14245,15 +13730,12 @@ Expected it to be ${n}.`;
return t2 && qr(e) ? (le(t2, e), true) : false;
}
function Vn({ comment: e, precedingNode: t2, enclosingNode: r, followingNode: n, text: s }) {
- if ((r == null ? void 0 : r.type) !== "IfStatement" || !n)
- return false;
- if (be(s, k(e)) === ")")
- return V(t2, e), true;
+ if ((r == null ? void 0 : r.type) !== "IfStatement" || !n) return false;
+ if (be(s, k(e)) === ")") return V(t2, e), true;
if (t2 === r.consequent && n === r.alternate) {
let i = ut(s, k(r.consequent));
if (q(e) < i || r.alternate.type === "BlockStatement") {
- if (t2.type === "BlockStatement")
- V(t2, e);
+ if (t2.type === "BlockStatement") V(t2, e);
else {
let a2 = Ct(e) || e.loc.start.line === e.loc.end.line, o = e.loc.start.line === t2.loc.start.line;
a2 && o ? V(t2, e) : je(r, e);
@@ -14285,16 +13767,11 @@ Expected it to be ${n}.`;
var np = /* @__PURE__ */ new Set(["ClassDeclaration", "ClassExpression", "DeclareClass", "DeclareInterface", "InterfaceDeclaration", "TSInterfaceDeclaration"]);
function vu({ comment: e, precedingNode: t2, enclosingNode: r, followingNode: n }) {
if (np.has(r == null ? void 0 : r.type)) {
- if (O(r.decorators) && (n == null ? void 0 : n.type) !== "Decorator")
- return V(M(false, r.decorators, -1), e), true;
- if (r.body && n === r.body)
- return Lt(r.body, e), true;
+ if (O(r.decorators) && (n == null ? void 0 : n.type) !== "Decorator") return V(M(false, r.decorators, -1), e), true;
+ if (r.body && n === r.body) return Lt(r.body, e), true;
if (n) {
- if (r.superClass && n === r.superClass && t2 && (t2 === r.id || t2 === r.typeParameters))
- return V(t2, e), true;
- for (let s of ["implements", "extends", "mixins"])
- if (r[s] && n === r[s][0])
- return t2 && (t2 === r.id || t2 === r.typeParameters || t2 === r.superClass) ? V(t2, e) : je(r, e, s), true;
+ if (r.superClass && n === r.superClass && t2 && (t2 === r.id || t2 === r.typeParameters)) return V(t2, e), true;
+ for (let s of ["implements", "extends", "mixins"]) if (r[s] && n === r[s][0]) return t2 && (t2 === r.id || t2 === r.typeParameters || t2 === r.superClass) ? V(t2, e) : je(r, e, s), true;
}
}
return false;
@@ -14308,8 +13785,7 @@ Expected it to be ${n}.`;
return be(n, k(e)) !== "(" ? false : t2 && up.has(r == null ? void 0 : r.type) ? (V(t2, e), true) : false;
}
function ap({ comment: e, enclosingNode: t2, text: r }) {
- if ((t2 == null ? void 0 : t2.type) !== "ArrowFunctionExpression")
- return false;
+ if ((t2 == null ? void 0 : t2.type) !== "ArrowFunctionExpression") return false;
let n = ut(r, k(e));
return n !== false && r.slice(n, n + 2) === "=>" ? (je(t2, e), true) : false;
}
@@ -14345,8 +13821,7 @@ Expected it to be ${n}.`;
return (t2 == null ? void 0 : t2.type) === "ForInStatement" || (t2 == null ? void 0 : t2.type) === "ForOfStatement" ? (le(t2, e), true) : false;
}
function Ju({ comment: e, precedingNode: t2, enclosingNode: r, text: n }) {
- if ((r == null ? void 0 : r.type) === "ImportSpecifier" || (r == null ? void 0 : r.type) === "ExportSpecifier")
- return le(r, e), true;
+ if ((r == null ? void 0 : r.type) === "ImportSpecifier" || (r == null ? void 0 : r.type) === "ExportSpecifier") return le(r, e), true;
let s = (t2 == null ? void 0 : t2.type) === "ImportSpecifier" && (r == null ? void 0 : r.type) === "ImportDeclaration", u = (t2 == null ? void 0 : t2.type) === "ExportSpecifier" && (r == null ? void 0 : r.type) === "ExportNamedDeclaration";
return (s || u) && Z(n, k(e)) ? (V(t2, e), true) : false;
}
@@ -14361,8 +13836,7 @@ Expected it to be ${n}.`;
return !r && ((t2 == null ? void 0 : t2.type) === "TSMethodSignature" || (t2 == null ? void 0 : t2.type) === "TSDeclareFunction" || (t2 == null ? void 0 : t2.type) === "TSAbstractMethodDefinition") && be(n, k(e)) === ";" ? (V(t2, e), true) : false;
}
function qu({ comment: e, enclosingNode: t2, followingNode: r }) {
- if (ir(e) && (t2 == null ? void 0 : t2.type) === "TSMappedType" && (r == null ? void 0 : r.type) === "TSTypeParameter" && r.constraint)
- return t2.prettierIgnore = true, e.unignore = true, true;
+ if (ir(e) && (t2 == null ? void 0 : t2.type) === "TSMappedType" && (r == null ? void 0 : r.type) === "TSTypeParameter" && r.constraint) return t2.prettierIgnore = true, e.unignore = true, true;
}
function Ap({ comment: e, precedingNode: t2, enclosingNode: r, followingNode: n }) {
return (r == null ? void 0 : r.type) !== "TSMappedType" ? false : (n == null ? void 0 : n.type) === "TSTypeParameter" && n.name ? (le(n.name, e), true) : (t2 == null ? void 0 : t2.type) === "TSTypeParameter" && t2.constraint ? (V(t2.constraint, e), true) : false;
@@ -14374,15 +13848,13 @@ Expected it to be ${n}.`;
return Xe(t2) && ((r.type === "TSArrayType" || r.type === "ArrayTypeAnnotation") && !n || vr(r)) ? (V(M(false, t2.types, -1), e), true) : false;
}
function xp({ comment: e, enclosingNode: t2, precedingNode: r, followingNode: n }) {
- if (((t2 == null ? void 0 : t2.type) === "ObjectPattern" || (t2 == null ? void 0 : t2.type) === "ArrayPattern") && (n == null ? void 0 : n.type) === "TSTypeAnnotation")
- return r ? V(r, e) : je(t2, e), true;
+ if (((t2 == null ? void 0 : t2.type) === "ObjectPattern" || (t2 == null ? void 0 : t2.type) === "ArrayPattern") && (n == null ? void 0 : n.type) === "TSTypeAnnotation") return r ? V(r, e) : je(t2, e), true;
}
function hp({ comment: e, precedingNode: t2, enclosingNode: r, followingNode: n }) {
var s;
if (!n && (r == null ? void 0 : r.type) === "UnaryExpression" && ((t2 == null ? void 0 : t2.type) === "LogicalExpression" || (t2 == null ? void 0 : t2.type) === "BinaryExpression")) {
let u = ((s = r.argument.loc) == null ? void 0 : s.start.line) !== t2.right.loc.start.line, i = Ct(e) || e.loc.start.line === e.loc.end.line, a2 = e.loc.start.line === t2.right.loc.start.line;
- if (u && i && a2)
- return V(t2.right, e), true;
+ if (u && i && a2) return V(t2.right, e), true;
}
return false;
}
@@ -14393,16 +13865,14 @@ Expected it to be ${n}.`;
}
function Bp(e, t2) {
var r;
- if ((t2.parser === "typescript" || t2.parser === "flow" || t2.parser === "acorn" || t2.parser === "espree" || t2.parser === "meriyah" || t2.parser === "__babel_estree") && e.type === "MethodDefinition" && ((r = e.value) == null ? void 0 : r.type) === "FunctionExpression" && z(e.value).length === 0 && !e.value.returnType && !O(e.value.typeParameters) && e.value.body)
- return [...e.decorators || [], e.key, e.value.body];
+ if ((t2.parser === "typescript" || t2.parser === "flow" || t2.parser === "acorn" || t2.parser === "espree" || t2.parser === "meriyah" || t2.parser === "__babel_estree") && e.type === "MethodDefinition" && ((r = e.value) == null ? void 0 : r.type) === "FunctionExpression" && z(e.value).length === 0 && !e.value.returnType && !O(e.value.typeParameters) && e.value.body) return [...e.decorators || [], e.key, e.value.body];
}
function Zn(e) {
let { node: t2, parent: r } = e;
return (X(t2) || r && (r.type === "JSXSpreadAttribute" || r.type === "JSXSpreadChild" || Xe(r) || (r.type === "ClassDeclaration" || r.type === "ClassExpression") && r.superClass === t2)) && (!It(t2) || Xe(r));
}
function bp(e, { parser: t2 }) {
- if (t2 === "flow" || t2 === "babel-flow")
- return e = N(false, e, /[\s(]/gu, ""), e === "" || e === "/*" || e === "/*::";
+ if (t2 === "flow" || t2 === "babel-flow") return e = N(false, e, /[\s(]/gu, ""), e === "" || e === "/*" || e === "/*::";
}
function Gu(e) {
switch (e) {
@@ -14416,7 +13886,7 @@ Expected it to be ${n}.`;
`;
}
}
- var Pe = Symbol("MODE_BREAK"), it = Symbol("MODE_FLAT"), Ut = Symbol("cursor"), es = Symbol("DOC_FILL_PRINTED_LENGTH");
+ var Pe = /* @__PURE__ */ Symbol("MODE_BREAK"), it = /* @__PURE__ */ Symbol("MODE_FLAT"), Ut = /* @__PURE__ */ Symbol("cursor"), es = /* @__PURE__ */ Symbol("DOC_FILL_PRINTED_LENGTH");
function Uu() {
return { value: "", length: 0, queue: [] };
}
@@ -14428,20 +13898,19 @@ Expected it to be ${n}.`;
}
function ts(e, t2, r) {
let n = t2.type === "dedent" ? e.queue.slice(0, -1) : [...e.queue, t2], s = "", u = 0, i = 0, a2 = 0;
- for (let c of n)
- switch (c.type) {
- case "indent":
- y(), r.useTabs ? o(1) : p(r.tabWidth);
- break;
- case "stringAlign":
- y(), s += c.n, u += c.n.length;
- break;
- case "numberAlign":
- i += 1, a2 += c.n;
- break;
- default:
- throw new Error(`Unexpected type '${c.type}'`);
- }
+ for (let c of n) switch (c.type) {
+ case "indent":
+ y(), r.useTabs ? o(1) : p(r.tabWidth);
+ break;
+ case "stringAlign":
+ y(), s += c.n, u += c.n.length;
+ break;
+ case "numberAlign":
+ i += 1, a2 += c.n;
+ break;
+ default:
+ throw new Error(`Unexpected type '${c.type}'`);
+ }
return m(), { ...e, value: s, length: u, queue: n };
function o(c) {
s += " ".repeat(c), u += r.tabWidth * c;
@@ -14464,37 +13933,31 @@ Expected it to be ${n}.`;
}
function rs(e) {
let t2 = 0, r = 0, n = e.length;
- e:
- for (; n--; ) {
- let s = e[n];
- if (s === Ut) {
- r++;
- continue;
- }
- for (let u = s.length - 1; u >= 0; u--) {
- let i = s[u];
- if (i === " " || i === " ")
- t2++;
- else {
- e[n] = s.slice(0, u + 1);
- break e;
- }
+ e: for (; n--; ) {
+ let s = e[n];
+ if (s === Ut) {
+ r++;
+ continue;
+ }
+ for (let u = s.length - 1; u >= 0; u--) {
+ let i = s[u];
+ if (i === " " || i === " ") t2++;
+ else {
+ e[n] = s.slice(0, u + 1);
+ break e;
}
}
- if (t2 > 0 || r > 0)
- for (e.length = n + 1; r-- > 0; )
- e.push(Ut);
+ }
+ if (t2 > 0 || r > 0) for (e.length = n + 1; r-- > 0; ) e.push(Ut);
return t2;
}
function Wr(e, t2, r, n, s, u) {
var _a2;
- if (r === Number.POSITIVE_INFINITY)
- return true;
+ if (r === Number.POSITIVE_INFINITY) return true;
let i = t2.length, a2 = [e], o = [];
for (; r >= 0; ) {
if (a2.length === 0) {
- if (i === 0)
- return true;
+ if (i === 0) return true;
a2.push(t2[--i]);
continue;
}
@@ -14506,8 +13969,7 @@ Expected it to be ${n}.`;
case he:
case we: {
let m = D === he ? y : y.parts, C = (_a2 = y[es]) != null ? _a2 : 0;
- for (let c = m.length - 1; c >= C; c--)
- a2.push({ mode: p, doc: m[c] });
+ for (let c = m.length - 1; c >= C; c--) a2.push({ mode: p, doc: m[c] });
break;
}
case He:
@@ -14520,8 +13982,7 @@ Expected it to be ${n}.`;
r += rs(o);
break;
case me: {
- if (u && y.break)
- return false;
+ if (u && y.break) return false;
let m = y.break ? Pe : p, C = y.expandedStates && m === Pe ? M(false, y.expandedStates, -1) : y.contents;
a2.push({ mode: m, doc: C });
break;
@@ -14532,16 +13993,14 @@ Expected it to be ${n}.`;
break;
}
case ie:
- if (p === Pe || y.hard)
- return true;
+ if (p === Pe || y.hard) return true;
y.soft || (o.push(" "), r--);
break;
case Qe:
n = true;
break;
case Je:
- if (n)
- return false;
+ if (n) return false;
break;
}
}
@@ -14561,12 +14020,10 @@ Expected it to be ${n}.`;
break;
}
case he:
- for (let A2 = c.length - 1; A2 >= 0; A2--)
- i.push({ ind: m, mode: C, doc: c[A2] });
+ for (let A2 = c.length - 1; A2 >= 0; A2--) i.push({ ind: m, mode: C, doc: c[A2] });
break;
case nt:
- if (y >= 2)
- throw new Error("There are too many 'cursor' in doc.");
+ if (y >= 2) throw new Error("There are too many 'cursor' in doc.");
a2.push(Ut), y++;
break;
case He:
@@ -14588,27 +14045,23 @@ Expected it to be ${n}.`;
case Pe: {
o = false;
let A2 = { ind: m, mode: it, doc: c.contents }, d = n - u, S = p.length > 0;
- if (!c.break && Wr(A2, i, d, S, r))
- i.push(A2);
+ if (!c.break && Wr(A2, i, d, S, r)) i.push(A2);
else if (c.expandedStates) {
let g = M(false, c.expandedStates, -1);
if (c.break) {
i.push({ ind: m, mode: Pe, doc: g });
break;
- } else
- for (let _2 = 1; _2 < c.expandedStates.length + 1; _2++)
- if (_2 >= c.expandedStates.length) {
- i.push({ ind: m, mode: Pe, doc: g });
- break;
- } else {
- let v = c.expandedStates[_2], j = { ind: m, mode: it, doc: v };
- if (Wr(j, i, d, S, r)) {
- i.push(j);
- break;
- }
- }
- } else
- i.push({ ind: m, mode: Pe, doc: c.contents });
+ } else for (let _2 = 1; _2 < c.expandedStates.length + 1; _2++) if (_2 >= c.expandedStates.length) {
+ i.push({ ind: m, mode: Pe, doc: g });
+ break;
+ } else {
+ let v = c.expandedStates[_2], j = { ind: m, mode: it, doc: v };
+ if (Wr(j, i, d, S, r)) {
+ i.push(j);
+ break;
+ }
+ }
+ } else i.push({ ind: m, mode: Pe, doc: c.contents });
break;
}
}
@@ -14616,8 +14069,7 @@ Expected it to be ${n}.`;
break;
case we: {
let A2 = n - u, d = (_a2 = c[es]) != null ? _a2 : 0, { parts: S } = c, g = S.length - d;
- if (g === 0)
- break;
+ if (g === 0) break;
let _2 = S[d + 0], v = S[d + 1], j = { ind: m, mode: it, doc: _2 }, I = { ind: m, mode: Pe, doc: _2 }, U = Wr(j, [], A2, p.length > 0, r, true);
if (g === 1) {
U ? i.push(j) : i.push(I);
@@ -14654,8 +14106,7 @@ Expected it to be ${n}.`;
case ie:
switch (C) {
case it:
- if (c.hard)
- o = true;
+ if (c.hard) o = true;
else {
c.soft || (a2.push(" "), u += 1);
break;
@@ -14682,8 +14133,7 @@ Expected it to be ${n}.`;
let D = a2.indexOf(Ut);
if (D !== -1) {
let m = a2.indexOf(Ut, D + 1);
- if (m === -1)
- return { formatted: a2.filter((d) => d !== Ut).join("") };
+ if (m === -1) return { formatted: a2.filter((d) => d !== Ut).join("") };
let C = a2.slice(0, D).join(""), c = a2.slice(D + 1, m).join(""), A2 = a2.slice(m + 1).join("");
return { formatted: C + c + A2, cursorNodeStart: C.length, cursorNodeText: c };
}
@@ -14691,8 +14141,7 @@ Expected it to be ${n}.`;
}
function Ip(e, t2, r = 0) {
let n = 0;
- for (let s = r; s < e.length; ++s)
- e[s] === " " ? n = n + t2 - n % t2 : n++;
+ for (let s = r; s < e.length; ++s) e[s] === " " ? n = n + t2 - n % t2 : n++;
return n;
}
var Yu = Ip;
@@ -14706,8 +14155,7 @@ Expected it to be ${n}.`;
let { node: n } = e;
if (n.type === "TemplateLiteral" && _p(e)) {
let p = wp(e, r, t2);
- if (p)
- return p;
+ if (p) return p;
}
let u = "expressions";
n.type === "TSTemplateLiteralType" && (u = "types");
@@ -14715,8 +14163,7 @@ Expected it to be ${n}.`;
i.push(ve, "`");
let o = 0;
return e.each(({ index: p, node: y }) => {
- if (i.push(t2()), y.tail)
- return;
+ if (i.push(t2()), y.tail) return;
let { tabWidth: D } = r, m = y.value.raw, C = m.includes(`
`) ? Nu(m, D) : o;
o = C;
@@ -14750,9 +14197,7 @@ Expected it to be ${n}.`;
`) && o.push({ hasLineBreak: false, cells: [] });
}
let p = Math.max(s.length, ...o.map((m) => m.cells.length)), y = Array.from({ length: p }).fill(0), D = [{ cells: s }, ...o.filter((m) => m.cells.length > 0)];
- for (let { cells: m } of D.filter((C) => !C.hasLineBreak))
- for (let [C, c] of m.entries())
- y[C] = Math.max(y[C], tt(c));
+ for (let { cells: m } of D.filter((C) => !C.hasLineBreak)) for (let [C, c] of m.entries()) y[C] = Math.max(y[C], tt(c));
return i.push(ve, "`", f2([F, b(F, D.map((m) => b(" | ", m.cells.map((C, c) => m.hasLineBreak ? C : C + " ".repeat(y[c] - tt(C))))))]), F, "`"), i;
}
}
@@ -14792,13 +14237,11 @@ Expected it to be ${n}.`;
}
async function jp(e, t2, r) {
let { node: n } = r, s = n.quasis.map((y) => y.value.raw), u = 0, i = s.reduce((y, D, m) => m === 0 ? D : y + "@prettier-placeholder-" + u++ + "-id" + D, ""), a2 = await e(i, { parser: "scss" }), o = Yt(r, t2), p = Mp(a2, o);
- if (!p)
- throw new Error("Couldn't insert all the expressions");
+ if (!p) throw new Error("Couldn't insert all the expressions");
return ["`", f2([F, p]), E, "`"];
}
function Mp(e, t2) {
- if (!O(t2))
- return e;
+ if (!O(t2)) return e;
let r = 0, n = mt(Gt(e), (s) => typeof s != "string" || !s.includes("@prettier-placeholder") ? s : s.split(/@prettier-placeholder-(\d+)-id/u).map((u, i) => i % 2 === 0 ? _e(u) : (r++, t2[u])));
return t2.length === r ? n : null;
}
@@ -14812,8 +14255,7 @@ Expected it to be ${n}.`;
return /^[A-Z]/u.test(e.object.name) && e.property.name === "extend";
}
function Jp({ parent: e }) {
- if (!e || e.type !== "TaggedTemplateExpression")
- return false;
+ if (!e || e.type !== "TaggedTemplateExpression") return false;
let t2 = e.tag.type === "ParenthesizedExpression" ? e.tag.expression : e.tag;
switch (t2.type) {
case "MemberExpression":
@@ -14830,8 +14272,7 @@ Expected it to be ${n}.`;
return (t2 == null ? void 0 : t2.type) === "JSXAttribute" && e.type === "JSXExpressionContainer" && t2.name.type === "JSXIdentifier" && t2.name.name === "css";
}
function Wp(e) {
- if (Rp(e) || Jp(e) || qp(e) || Hu(e))
- return jp;
+ if (Rp(e) || Jp(e) || qp(e) || Hu(e)) return jp;
}
var Ku = Wp;
async function Gp(e, t2, r) {
@@ -14839,8 +14280,7 @@ Expected it to be ${n}.`;
for (let a2 = 0; a2 < s; a2++) {
let o = n.quasis[a2], p = a2 === 0, y = a2 === s - 1, D = o.value.cooked, m = D.split(`
`), C = m.length, c = u[a2], A2 = C > 2 && m[0].trim() === "" && m[1].trim() === "", d = C > 2 && m[C - 1].trim() === "" && m[C - 2].trim() === "", S = m.every((_2) => /^\s*(?:#[^\n\r]*)?$/u.test(_2));
- if (!y && /#[^\n\r]*$/u.test(m[C - 1]))
- return null;
+ if (!y && /#[^\n\r]*$/u.test(m[C - 1])) return null;
let g = null;
S ? g = Up(m) : g = await e(D, { parser: "graphql" }), g ? (g = Ur(g, false), !p && A2 && i.push(""), i.push(g), !y && d && i.push("")) : !p && !y && A2 && i.push(""), c && i.push(c);
}
@@ -14848,16 +14288,14 @@ Expected it to be ${n}.`;
}
function Up(e) {
let t2 = [], r = false, n = e.map((s) => s.trim());
- for (let [s, u] of n.entries())
- u !== "" && (n[s - 1] === "" && r ? t2.push([F, u]) : t2.push(u), r = true);
+ for (let [s, u] of n.entries()) u !== "" && (n[s - 1] === "" && r ? t2.push([F, u]) : t2.push(u), r = true);
return t2.length === 0 ? null : b(F, t2);
}
function Yp({ node: e, parent: t2 }) {
return Yr({ node: e, parent: t2 }, "GraphQL") || t2 && (t2.type === "TaggedTemplateExpression" && (t2.tag.type === "MemberExpression" && t2.tag.object.name === "graphql" && t2.tag.property.name === "experimental" || t2.tag.type === "Identifier" && (t2.tag.name === "gql" || t2.tag.name === "graphql")) || t2.type === "CallExpression" && t2.callee.type === "Identifier" && t2.callee.name === "graphql");
}
function Np(e) {
- if (Yp(e))
- return Gp;
+ if (Yp(e)) return Gp;
}
var Qu = Np;
var as = 0;
@@ -14867,8 +14305,7 @@ Expected it to be ${n}.`;
let a2 = (S) => `PRETTIER_HTML_PLACEHOLDER_${S}_${i}_IN_JS`, o = u.quasis.map((S, g, _2) => g === _2.length - 1 ? S.value.cooked : S.value.cooked + a2(g)).join(""), p = Yt(n, r), y = new RegExp(a2(String.raw`(\d+)`), "gu"), D = 0, m = await t2(o, { parser: e, __onHtmlRoot(S) {
D = S.children.length;
} }), C = mt(m, (S) => {
- if (typeof S != "string")
- return S;
+ if (typeof S != "string") return S;
let g = [], _2 = S.split(y);
for (let v = 0; v < _2.length; v++) {
let j = _2[v];
@@ -14888,10 +14325,8 @@ Expected it to be ${n}.`;
}
var Hp = zu.bind(void 0, "html"), Vp = zu.bind(void 0, "angular");
function $p(e) {
- if (Xp(e))
- return Hp;
- if (Vu(e))
- return Vp;
+ if (Xp(e)) return Hp;
+ if (Vu(e)) return Vp;
}
var Zu = $p;
async function Kp(e, t2, r) {
@@ -14905,8 +14340,7 @@ Expected it to be ${n}.`;
return t2 === null ? "" : t2[1];
}
function zp(e) {
- if (Zp(e))
- return Kp;
+ if (Zp(e)) return Kp;
}
function Zp({ node: e, parent: t2 }) {
return (t2 == null ? void 0 : t2.type) === "TaggedTemplateExpression" && e.quasis.length === 1 && t2.tag.type === "Identifier" && (t2.tag.name === "md" || t2.tag.name === "markdown");
@@ -14914,15 +14348,12 @@ Expected it to be ${n}.`;
var ei = zp;
function ec(e) {
let { node: t2 } = e;
- if (t2.type !== "TemplateLiteral" || tc(t2))
- return;
+ if (t2.type !== "TemplateLiteral" || tc(t2)) return;
let r;
- for (let n of [Ku, Qu, Zu, ei])
- if (r = n(e), !!r)
- return t2.quasis.length === 1 && t2.quasis[0].value.raw.trim() === "" ? "``" : async (...s) => {
- let u = await r(...s);
- return u && st({ embed: true, ...u.label }, u);
- };
+ for (let n of [Ku, Qu, Zu, ei]) if (r = n(e), !!r) return t2.quasis.length === 1 && t2.quasis[0].value.raw.trim() === "" ? "``" : async (...s) => {
+ let u = await r(...s);
+ return u && st({ embed: true, ...u.label }, u);
+ };
}
function tc({ quasis: e }) {
return e.some(({ value: { cooked: t2 } }) => t2 === null);
@@ -14942,8 +14373,7 @@ Expected it to be ${n}.`;
`;
e = N(false, e.replace(nc, "").replace(rc, ""), ic, "$1");
let r = "";
- for (; r !== e; )
- r = e, e = N(false, e, uc, `${t2}$1 $2${t2}`);
+ for (; r !== e; ) r = e, e = N(false, e, uc, `${t2}$1 $2${t2}`);
e = e.replace(ri, "").trimEnd();
let n = /* @__PURE__ */ Object.create(null), s = N(false, e, ni, "").replace(ri, "").trimEnd(), u;
for (; u = ni.exec(e); ) {
@@ -14951,8 +14381,7 @@ Expected it to be ${n}.`;
if (typeof n[u[1]] == "string" || Array.isArray(n[u[1]])) {
let a2 = n[u[1]];
n[u[1]] = [...ii, ...Array.isArray(a2) ? a2 : [a2], i];
- } else
- n[u[1]] = i;
+ } else n[u[1]] = i;
}
return { comments: s, pragmas: n };
}
@@ -14960,8 +14389,7 @@ Expected it to be ${n}.`;
let r = `
`, n = "/**", s = " *", u = " */", i = Object.keys(t2), a2 = i.flatMap((p) => si(p, t2[p])).map((p) => `${s} ${p}${r}`).join("");
if (!e) {
- if (i.length === 0)
- return "";
+ if (i.length === 0) return "";
if (i.length === 1 && !Array.isArray(t2[i[0]])) {
let p = t2[i[0]];
return `${n} ${si(i[0], p)[0]}${u}`;
@@ -14974,8 +14402,7 @@ Expected it to be ${n}.`;
return [...ii, ...Array.isArray(t2) ? t2 : [t2]].map((r) => `@${e} ${r}`.trim());
}
function ac(e) {
- if (!e.startsWith("#!"))
- return "";
+ if (!e.startsWith("#!")) return "";
let t2 = e.indexOf(`
`);
return t2 === -1 ? e : e.slice(0, t2);
@@ -14997,93 +14424,76 @@ Expected it to be ${n}.`;
`) + u;
}
function pc(e, t2) {
- let { originalText: r, [Symbol.for("comments")]: n, locStart: s, locEnd: u, [Symbol.for("printedComments")]: i } = t2, { node: a2 } = e, o = s(a2), p = u(a2);
- for (let y of n)
- s(y) >= o && u(y) <= p && i.add(y);
+ let { originalText: r, [/* @__PURE__ */ Symbol.for("comments")]: n, locStart: s, locEnd: u, [/* @__PURE__ */ Symbol.for("printedComments")]: i } = t2, { node: a2 } = e, o = s(a2), p = u(a2);
+ for (let y of n) s(y) >= o && u(y) <= p && i.add(y);
return r.slice(o, p);
}
var yi = pc;
function os(e, t2) {
var u, i, a2, o, p, y, D, m, C;
- if (e.isRoot)
- return false;
+ if (e.isRoot) return false;
let { node: r, key: n, parent: s } = e;
- if (t2.__isInHtmlInterpolation && !t2.bracketSpacing && yc(r) && lr(e))
- return true;
- if (cc(r))
- return false;
+ if (t2.__isInHtmlInterpolation && !t2.bracketSpacing && yc(r) && lr(e)) return true;
+ if (cc(r)) return false;
if (r.type === "Identifier") {
- if ((u = r.extra) != null && u.parenthesized && /^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(r.name) || n === "left" && (r.name === "async" && !s.await || r.name === "let") && s.type === "ForOfStatement")
- return true;
+ if ((u = r.extra) != null && u.parenthesized && /^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(r.name) || n === "left" && (r.name === "async" && !s.await || r.name === "let") && s.type === "ForOfStatement") return true;
if (r.name === "let") {
let c = (i = e.findAncestor((A2) => A2.type === "ForOfStatement")) == null ? void 0 : i.left;
- if (c && ae(c, (A2) => A2 === r))
- return true;
+ if (c && ae(c, (A2) => A2 === r)) return true;
}
if (n === "object" && r.name === "let" && s.type === "MemberExpression" && s.computed && !s.optional) {
let c = e.findAncestor((d) => d.type === "ExpressionStatement" || d.type === "ForStatement" || d.type === "ForInStatement"), A2 = c ? c.type === "ExpressionStatement" ? c.expression : c.type === "ForStatement" ? c.init : c.left : void 0;
- if (A2 && ae(A2, (d) => d === r))
- return true;
- }
- if (n === "expression")
- switch (r.name) {
- case "await":
- case "interface":
- case "module":
- case "using":
- case "yield":
- case "let":
- case "component":
- case "hook":
- case "type": {
- let c = e.findAncestor((A2) => !Ae(A2));
- if (c !== s && c.type === "ExpressionStatement")
- return true;
- }
+ if (A2 && ae(A2, (d) => d === r)) return true;
+ }
+ if (n === "expression") switch (r.name) {
+ case "await":
+ case "interface":
+ case "module":
+ case "using":
+ case "yield":
+ case "let":
+ case "component":
+ case "hook":
+ case "type": {
+ let c = e.findAncestor((A2) => !Ae(A2));
+ if (c !== s && c.type === "ExpressionStatement") return true;
}
+ }
return false;
}
if (r.type === "ObjectExpression" || r.type === "FunctionExpression" || r.type === "ClassExpression" || r.type === "DoExpression") {
let c = (a2 = e.findAncestor((A2) => A2.type === "ExpressionStatement")) == null ? void 0 : a2.expression;
- if (c && ae(c, (A2) => A2 === r))
- return true;
+ if (c && ae(c, (A2) => A2 === r)) return true;
}
if (r.type === "ObjectExpression") {
let c = (o = e.findAncestor((A2) => A2.type === "ArrowFunctionExpression")) == null ? void 0 : o.body;
- if (c && c.type !== "SequenceExpression" && c.type !== "AssignmentExpression" && ae(c, (A2) => A2 === r))
- return true;
+ if (c && c.type !== "SequenceExpression" && c.type !== "AssignmentExpression" && ae(c, (A2) => A2 === r)) return true;
}
switch (s.type) {
case "ParenthesizedExpression":
return false;
case "ClassDeclaration":
case "ClassExpression":
- if (n === "superClass" && (r.type === "ArrowFunctionExpression" || r.type === "AssignmentExpression" || r.type === "AwaitExpression" || r.type === "BinaryExpression" || r.type === "ConditionalExpression" || r.type === "LogicalExpression" || r.type === "NewExpression" || r.type === "ObjectExpression" || r.type === "SequenceExpression" || r.type === "TaggedTemplateExpression" || r.type === "UnaryExpression" || r.type === "UpdateExpression" || r.type === "YieldExpression" || r.type === "TSNonNullExpression" || r.type === "ClassExpression" && O(r.decorators)))
- return true;
+ if (n === "superClass" && (r.type === "ArrowFunctionExpression" || r.type === "AssignmentExpression" || r.type === "AwaitExpression" || r.type === "BinaryExpression" || r.type === "ConditionalExpression" || r.type === "LogicalExpression" || r.type === "NewExpression" || r.type === "ObjectExpression" || r.type === "SequenceExpression" || r.type === "TaggedTemplateExpression" || r.type === "UnaryExpression" || r.type === "UpdateExpression" || r.type === "YieldExpression" || r.type === "TSNonNullExpression" || r.type === "ClassExpression" && O(r.decorators))) return true;
break;
case "ExportDefaultDeclaration":
return Di(e, t2) || r.type === "SequenceExpression";
case "Decorator":
- if (n === "expression" && !fc(r))
- return true;
+ if (n === "expression" && !fc(r)) return true;
break;
case "TypeAnnotation":
- if (e.match(void 0, void 0, (c, A2) => A2 === "returnType" && c.type === "ArrowFunctionExpression") && mc(r))
- return true;
+ if (e.match(void 0, void 0, (c, A2) => A2 === "returnType" && c.type === "ArrowFunctionExpression") && mc(r)) return true;
break;
case "BinaryExpression":
- if (n === "left" && (s.operator === "in" || s.operator === "instanceof") && r.type === "UnaryExpression")
- return true;
+ if (n === "left" && (s.operator === "in" || s.operator === "instanceof") && r.type === "UnaryExpression") return true;
break;
case "VariableDeclarator":
- if (n === "init" && e.match(void 0, void 0, (c, A2) => A2 === "declarations" && c.type === "VariableDeclaration", (c, A2) => A2 === "left" && c.type === "ForInStatement"))
- return true;
+ if (n === "init" && e.match(void 0, void 0, (c, A2) => A2 === "declarations" && c.type === "VariableDeclaration", (c, A2) => A2 === "left" && c.type === "ForInStatement")) return true;
break;
}
switch (r.type) {
case "UpdateExpression":
- if (s.type === "UnaryExpression")
- return r.prefix && (r.operator === "++" && s.operator === "+" || r.operator === "--" && s.operator === "-");
+ if (s.type === "UnaryExpression") return r.prefix && (r.operator === "++" && s.operator === "+" || r.operator === "--" && s.operator === "-");
case "UnaryExpression":
switch (s.type) {
case "UnaryExpression":
@@ -15107,12 +14517,10 @@ Expected it to be ${n}.`;
return false;
}
case "BinaryExpression":
- if (s.type === "UpdateExpression" || r.operator === "in" && lc(e))
- return true;
+ if (s.type === "UpdateExpression" || r.operator === "in" && lc(e)) return true;
if (r.operator === "|>" && ((p = r.extra) != null && p.parenthesized)) {
let c = e.grandparent;
- if (c.type === "BinaryExpression" && c.operator === "|>")
- return true;
+ if (c.type === "BinaryExpression" && c.operator === "|>") return true;
}
case "TSTypeAssertion":
case "TSAsExpression":
@@ -15154,12 +14562,10 @@ Expected it to be ${n}.`;
case "AssignmentPattern":
return n === "left" && (r.type === "TSTypeAssertion" || Ae(r));
case "LogicalExpression":
- if (r.type === "LogicalExpression")
- return s.operator !== r.operator;
+ if (r.type === "LogicalExpression") return s.operator !== r.operator;
case "BinaryExpression": {
let { operator: c, type: A2 } = r;
- if (!c && A2 !== "TSTypeAssertion")
- return true;
+ if (!c && A2 !== "TSTypeAssertion") return true;
let d = rr(c), S = s.operator, g = rr(S);
return g > d || n === "right" && g === d || g === d && !ur(S, c) ? true : g < d && c === "%" ? S === "+" || S === "-" : !!Eu(S);
}
@@ -15180,8 +14586,7 @@ Expected it to be ${n}.`;
return true;
}
case "YieldExpression":
- if (s.type === "AwaitExpression" || s.type === "TSTypeAssertion")
- return true;
+ if (s.type === "AwaitExpression" || s.type === "TSTypeAssertion") return true;
case "AwaitExpression":
switch (s.type) {
case "TaggedTemplateExpression":
@@ -15211,29 +14616,22 @@ Expected it to be ${n}.`;
return false;
}
case "TSFunctionType":
- if (e.match((c) => c.type === "TSFunctionType", (c, A2) => A2 === "typeAnnotation" && c.type === "TSTypeAnnotation", (c, A2) => A2 === "returnType" && c.type === "ArrowFunctionExpression"))
- return true;
+ if (e.match((c) => c.type === "TSFunctionType", (c, A2) => A2 === "typeAnnotation" && c.type === "TSTypeAnnotation", (c, A2) => A2 === "returnType" && c.type === "ArrowFunctionExpression")) return true;
case "TSConditionalType":
case "TSConstructorType":
if (n === "extendsType" && s.type === "TSConditionalType") {
- if (r.type === "TSConditionalType")
- return true;
+ if (r.type === "TSConditionalType") return true;
let { typeAnnotation: c } = r.returnType || r.typeAnnotation;
- if (c.type === "TSTypePredicate" && c.typeAnnotation && (c = c.typeAnnotation.typeAnnotation), c.type === "TSInferType" && c.typeParameter.constraint)
- return true;
+ if (c.type === "TSTypePredicate" && c.typeAnnotation && (c = c.typeAnnotation.typeAnnotation), c.type === "TSInferType" && c.typeParameter.constraint) return true;
}
- if (n === "checkType" && s.type === "TSConditionalType")
- return true;
+ if (n === "checkType" && s.type === "TSConditionalType") return true;
case "TSUnionType":
case "TSIntersectionType":
- if ((s.type === "TSUnionType" || s.type === "TSIntersectionType") && s.types.length > 1 && (!r.types || r.types.length > 1))
- return true;
+ if ((s.type === "TSUnionType" || s.type === "TSIntersectionType") && s.types.length > 1 && (!r.types || r.types.length > 1)) return true;
case "TSInferType":
if (r.type === "TSInferType") {
- if (s.type === "TSRestType")
- return false;
- if (n === "types" && (s.type === "TSUnionType" || s.type === "TSIntersectionType") && r.typeParameter.type === "TSTypeParameter" && r.typeParameter.constraint)
- return true;
+ if (s.type === "TSRestType") return false;
+ if (n === "types" && (s.type === "TSUnionType" || s.type === "TSIntersectionType") && r.typeParameter.type === "TSTypeParameter" && r.typeParameter.constraint) return true;
}
case "TSTypeOperator":
return s.type === "TSArrayType" || s.type === "TSOptionalType" || s.type === "TSRestType" || n === "objectType" && s.type === "TSIndexedAccessType" || s.type === "TSTypeOperator" || s.type === "TSTypeAnnotation" && e.grandparent.type.startsWith("TSJSDoc");
@@ -15253,10 +14651,8 @@ Expected it to be ${n}.`;
return s.type === "ArrayTypeAnnotation" || n === "objectType" && (s.type === "IndexedAccessType" || s.type === "OptionalIndexedAccessType");
case "ComponentTypeAnnotation":
case "FunctionTypeAnnotation": {
- if (r.type === "ComponentTypeAnnotation" && (r.rendersType === null || r.rendersType === void 0))
- return false;
- if (e.match(void 0, (A2, d) => d === "typeAnnotation" && A2.type === "TypeAnnotation", (A2, d) => d === "returnType" && A2.type === "ArrowFunctionExpression") || e.match(void 0, (A2, d) => d === "typeAnnotation" && A2.type === "TypePredicate", (A2, d) => d === "typeAnnotation" && A2.type === "TypeAnnotation", (A2, d) => d === "returnType" && A2.type === "ArrowFunctionExpression"))
- return true;
+ if (r.type === "ComponentTypeAnnotation" && (r.rendersType === null || r.rendersType === void 0)) return false;
+ if (e.match(void 0, (A2, d) => d === "typeAnnotation" && A2.type === "TypeAnnotation", (A2, d) => d === "returnType" && A2.type === "ArrowFunctionExpression") || e.match(void 0, (A2, d) => d === "typeAnnotation" && A2.type === "TypePredicate", (A2, d) => d === "typeAnnotation" && A2.type === "TypeAnnotation", (A2, d) => d === "returnType" && A2.type === "ArrowFunctionExpression")) return true;
let c = s.type === "NullableTypeAnnotation" ? e.grandparent : s;
return c.type === "UnionTypeAnnotation" || c.type === "IntersectionTypeAnnotation" || c.type === "ArrayTypeAnnotation" || n === "objectType" && (c.type === "IndexedAccessType" || c.type === "OptionalIndexedAccessType") || n === "checkType" && s.type === "ConditionalTypeAnnotation" || n === "extendsType" && s.type === "ConditionalTypeAnnotation" && ((y = r.returnType) == null ? void 0 : y.type) === "InferTypeAnnotation" && ((D = r.returnType) == null ? void 0 : D.typeParameter.bound) || c.type === "NullableTypeAnnotation" || s.type === "FunctionTypeParam" && s.name === null && z(r).some((A2) => {
var d;
@@ -15264,8 +14660,7 @@ Expected it to be ${n}.`;
});
}
case "ConditionalTypeAnnotation":
- if (n === "extendsType" && s.type === "ConditionalTypeAnnotation" && r.type === "ConditionalTypeAnnotation" || n === "checkType" && s.type === "ConditionalTypeAnnotation")
- return true;
+ if (n === "extendsType" && s.type === "ConditionalTypeAnnotation" && r.type === "ConditionalTypeAnnotation" || n === "checkType" && s.type === "ConditionalTypeAnnotation") return true;
case "OptionalIndexedAccessType":
return n === "objectType" && s.type === "IndexedAccessType";
case "StringLiteral":
@@ -15363,31 +14758,29 @@ Expected it to be ${n}.`;
case "OptionalCallExpression":
case "CallExpression":
case "MemberExpression":
- if (Dc(e))
- return true;
+ if (Dc(e)) return true;
case "TaggedTemplateExpression":
case "TSNonNullExpression":
if (n === "callee" && (s.type === "BindExpression" || s.type === "NewExpression")) {
let c = r;
- for (; c; )
- switch (c.type) {
- case "CallExpression":
- case "OptionalCallExpression":
- return true;
- case "MemberExpression":
- case "OptionalMemberExpression":
- case "BindExpression":
- c = c.object;
- break;
- case "TaggedTemplateExpression":
- c = c.tag;
- break;
- case "TSNonNullExpression":
- c = c.expression;
- break;
- default:
- return false;
- }
+ for (; c; ) switch (c.type) {
+ case "CallExpression":
+ case "OptionalCallExpression":
+ return true;
+ case "MemberExpression":
+ case "OptionalMemberExpression":
+ case "BindExpression":
+ c = c.object;
+ break;
+ case "TaggedTemplateExpression":
+ c = c.tag;
+ break;
+ case "TSNonNullExpression":
+ c = c.expression;
+ break;
+ default:
+ return false;
+ }
}
return false;
case "BindExpression":
@@ -15407,8 +14800,7 @@ Expected it to be ${n}.`;
let t2 = 0, { node: r } = e;
for (; r; ) {
let n = e.getParentNode(t2++);
- if ((n == null ? void 0 : n.type) === "ForStatement" && n.init === r)
- return true;
+ if ((n == null ? void 0 : n.type) === "ForStatement" && n.init === r) return true;
r = n;
}
return false;
@@ -15423,25 +14815,20 @@ Expected it to be ${n}.`;
let { parent: t2, key: r } = e;
switch (t2.type) {
case "NGPipeExpression":
- if (r === "arguments" && e.isLast)
- return e.callParent(lr);
+ if (r === "arguments" && e.isLast) return e.callParent(lr);
break;
case "ObjectProperty":
- if (r === "value")
- return e.callParent(() => e.key === "properties" && e.isLast);
+ if (r === "value") return e.callParent(() => e.key === "properties" && e.isLast);
break;
case "BinaryExpression":
case "LogicalExpression":
- if (r === "right")
- return e.callParent(lr);
+ if (r === "right") return e.callParent(lr);
break;
case "ConditionalExpression":
- if (r === "alternate")
- return e.callParent(lr);
+ if (r === "alternate") return e.callParent(lr);
break;
case "UnaryExpression":
- if (t2.prefix)
- return e.callParent(lr);
+ if (t2.prefix) return e.callParent(lr);
break;
}
return false;
@@ -15478,8 +14865,7 @@ Expected it to be ${n}.`;
if ((y = s.isBlockComment) == null ? void 0 : y.call(s, r)) {
let D = Z(u, a2(r)) ? Z(u, i(r), { backwards: true }) ? F : x : " ";
n.push(D);
- } else
- n.push(F);
+ } else n.push(F);
let p = Ne(u, Ye(u, a2(r)));
return p !== false && Z(u, p) && n.push(F), n;
}
@@ -15494,28 +14880,23 @@ Expected it to be ${n}.`;
}
function J(e, t2, r = {}) {
let { node: n } = e;
- if (!O(n == null ? void 0 : n.comments))
- return "";
+ if (!O(n == null ? void 0 : n.comments)) return "";
let { indent: s = false, marker: u, filter: i = Fc } = r, a2 = [];
if (e.each(({ node: p }) => {
p.leading || p.trailing || p.marker !== u || !i(p) || a2.push(cs(e, t2));
- }, "comments"), a2.length === 0)
- return "";
+ }, "comments"), a2.length === 0) return "";
let o = b(F, a2);
return s ? f2([F, o]) : o;
}
function ls(e, t2) {
let r = e.node;
- if (!r)
- return {};
- let n = t2[Symbol.for("printedComments")];
- if ((r.comments || []).filter((o) => !n.has(o)).length === 0)
- return { leading: "", trailing: "" };
+ if (!r) return {};
+ let n = t2[/* @__PURE__ */ Symbol.for("printedComments")];
+ if ((r.comments || []).filter((o) => !n.has(o)).length === 0) return { leading: "", trailing: "" };
let u = [], i = [], a2;
return e.each(() => {
let o = e.node;
- if (n != null && n.has(o))
- return;
+ if (n != null && n.has(o)) return;
let { leading: p, trailing: y } = o;
p ? u.push(Cc(e, t2)) : y && (a2 = Ac(e, t2, a2), i.push(a2.doc));
}, "comments"), { leading: u, trailing: i };
@@ -15532,8 +14913,7 @@ Expected it to be ${n}.`;
}
}, qe = ms;
function ys(e) {
- if (typeof e != "string")
- throw new TypeError("Expected a string");
+ if (typeof e != "string") throw new TypeError("Expected a string");
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
}
var We, Ds = class {
@@ -15543,14 +14923,12 @@ Expected it to be ${n}.`;
}
getLeadingWhitespaceCount(t2) {
let r = pt(this, We), n = 0;
- for (let s = 0; s < t2.length && r.has(t2.charAt(s)); s++)
- n++;
+ for (let s = 0; s < t2.length && r.has(t2.charAt(s)); s++) n++;
return n;
}
getTrailingWhitespaceCount(t2) {
let r = pt(this, We), n = 0;
- for (let s = t2.length - 1; s >= 0 && r.has(t2.charAt(s)); s--)
- n++;
+ for (let s = t2.length - 1; s >= 0 && r.has(t2.charAt(s)); s--) n++;
return n;
}
getLeadingWhitespace(t2) {
@@ -15602,21 +14980,17 @@ Expected it to be ${n}.`;
function Tc(e, t2, r) {
var _2, v, j, I, U;
let { node: n } = e;
- if (n.type === "JSXElement" && _c(n))
- return [r("openingElement"), r("closingElement")];
+ if (n.type === "JSXElement" && _c(n)) return [r("openingElement"), r("closingElement")];
let s = n.type === "JSXElement" ? r("openingElement") : r("openingFragment"), u = n.type === "JSXElement" ? r("closingElement") : r("closingFragment");
- if (n.children.length === 1 && n.children[0].type === "JSXExpressionContainer" && (n.children[0].expression.type === "TemplateLiteral" || n.children[0].expression.type === "TaggedTemplateExpression"))
- return [s, ...e.map(r, "children"), u];
+ if (n.children.length === 1 && n.children[0].type === "JSXExpressionContainer" && (n.children[0].expression.type === "TemplateLiteral" || n.children[0].expression.type === "TaggedTemplateExpression")) return [s, ...e.map(r, "children"), u];
n.children = n.children.map((P) => vc(P) ? { type: "JSXText", value: " ", raw: " " } : P);
let i = n.children.some(X), a2 = n.children.filter((P) => P.type === "JSXExpressionContainer").length > 1, o = n.type === "JSXElement" && n.openingElement.attributes.length > 1, p = re(s) || i || o || a2, y = e.parent.rootMarker === "mdx", D = t2.singleQuote ? "{' '}" : '{" "}', m = y ? x : B([D, E], " "), C = ((v = (_2 = n.openingElement) == null ? void 0 : _2.name) == null ? void 0 : v.name) === "fbt", c = dc(e, t2, r, m, C), A2 = n.children.some((P) => mr(P));
for (let P = c.length - 2; P >= 0; P--) {
let G = c[P] === "" && c[P + 1] === "", ue = c[P] === F && c[P + 1] === "" && c[P + 2] === F, Q = (c[P] === E || c[P] === F) && c[P + 1] === "" && c[P + 2] === m, St = c[P] === m && c[P + 1] === "" && (c[P + 2] === E || c[P + 2] === F), Ft = c[P] === m && c[P + 1] === "" && c[P + 2] === m, w = c[P] === E && c[P + 1] === "" && c[P + 2] === F || c[P] === F && c[P + 1] === "" && c[P + 2] === E;
ue && A2 || G || Q || Ft || w ? c.splice(P, 2) : St && c.splice(P + 1, 2);
}
- for (; c.length > 0 && fs(M(false, c, -1)); )
- c.pop();
- for (; c.length > 1 && fs(c[0]) && fs(c[1]); )
- c.shift(), c.shift();
+ for (; c.length > 0 && fs(M(false, c, -1)); ) c.pop();
+ for (; c.length > 1 && fs(c[0]) && fs(c[1]); ) c.shift(), c.shift();
let d = [""];
for (let [P, G] of c.entries()) {
if (G === m) {
@@ -15638,8 +15012,7 @@ Expected it to be ${n}.`;
P % 2 === 0 ? d.push([d.pop(), G]) : d.push(G, ""), re(G) && (p = true);
}
let S = A2 ? Jr(d) : l(d, { shouldBreak: true });
- if (((j = t2.cursorNode) == null ? void 0 : j.type) === "JSXText" && n.children.includes(t2.cursorNode) ? S = [cr, S, cr] : ((I = t2.nodeBeforeCursor) == null ? void 0 : I.type) === "JSXText" && n.children.includes(t2.nodeBeforeCursor) ? S = [cr, S] : ((U = t2.nodeAfterCursor) == null ? void 0 : U.type) === "JSXText" && n.children.includes(t2.nodeAfterCursor) && (S = [S, cr]), y)
- return S;
+ if (((j = t2.cursorNode) == null ? void 0 : j.type) === "JSXText" && n.children.includes(t2.cursorNode) ? S = [cr, S, cr] : ((I = t2.nodeBeforeCursor) == null ? void 0 : I.type) === "JSXText" && n.children.includes(t2.nodeBeforeCursor) ? S = [cr, S] : ((U = t2.nodeAfterCursor) == null ? void 0 : U.type) === "JSXText" && n.children.includes(t2.nodeAfterCursor) && (S = [S, cr]), y) return S;
let g = l([s, f2([F, S]), F, u]);
return p ? g : Ze([l([s, ...c, u]), g]);
}
@@ -15658,20 +15031,16 @@ Expected it to be ${n}.`;
let m = Xr.split(D, true);
m[0] === "" && (m.shift(), /\n/u.test(m[0]) ? o(Ci(s, m[1], p, y)) : o(n), m.shift());
let C;
- if (M(false, m, -1) === "" && (m.pop(), C = m.pop()), m.length === 0)
- return;
- for (let [c, A2] of m.entries())
- c % 2 === 1 ? o(x) : a2(A2);
+ if (M(false, m, -1) === "" && (m.pop(), C = m.pop()), m.length === 0) return;
+ for (let [c, A2] of m.entries()) c % 2 === 1 ? o(x) : a2(A2);
C !== void 0 ? /\n/u.test(C) ? o(Ci(s, u, p, y)) : o(n) : o(Fi(s, u, p, y));
- } else
- /\n/u.test(D) ? D.match(/\n/gu).length > 1 && o(F) : o(n);
+ } else /\n/u.test(D) ? D.match(/\n/gu).length > 1 && o(F) : o(n);
} else {
let D = r();
if (a2(D), y && mr(y)) {
let C = Xr.trim(fe(y)), [c] = Xr.split(C);
o(Fi(s, c, p, y));
- } else
- o(F);
+ } else o(F);
}
}, "children"), i;
}
@@ -15684,8 +15053,7 @@ Expected it to be ${n}.`;
var xc = /* @__PURE__ */ new Set(["ArrayExpression", "TupleExpression", "JSXAttribute", "JSXElement", "JSXExpressionContainer", "JSXFragment", "ExpressionStatement", "CallExpression", "OptionalCallExpression", "ConditionalExpression", "JsExpressionRoot"]);
function hc(e, t2, r) {
let { parent: n } = e;
- if (xc.has(n.type))
- return t2;
+ if (xc.has(n.type)) return t2;
let s = e.match(void 0, (i) => i.type === "ArrowFunctionExpression", L, (i) => i.type === "JSXExpressionContainer"), u = ke(e, r);
return l([u ? "" : B("("), f2([E, t2]), E, u ? "" : B(")")], { shouldBreak: s });
}
@@ -15696,8 +15064,7 @@ Expected it to be ${n}.`;
if (te(n.value)) {
let i = fe(n.value), a2 = N(false, N(false, i.slice(1, -1), "'", "'"), """, '"'), o = hr(a2, t2.jsxSingleQuote);
a2 = o === '"' ? N(false, a2, '"', """) : N(false, a2, "'", "'"), u = e.call(() => ye(e, _e(o + a2 + o), t2), "value");
- } else
- u = r("value");
+ } else u = r("value");
s.push("=", u);
}
return s;
@@ -15709,11 +15076,9 @@ Expected it to be ${n}.`;
function Bc(e, t2, r) {
var a2, o;
let { node: n } = e, s = T(n.name) || T(n.typeParameters) || T(n.typeArguments);
- if (n.selfClosing && n.attributes.length === 0 && !s)
- return ["<", r("name"), n.typeArguments ? r("typeArguments") : r("typeParameters"), " />"];
+ if (n.selfClosing && n.attributes.length === 0 && !s) return ["<", r("name"), n.typeArguments ? r("typeArguments") : r("typeParameters"), " />"];
if (((a2 = n.attributes) == null ? void 0 : a2.length) === 1 && te(n.attributes[0].value) && !n.attributes[0].value.value.includes(`
-`) && !s && !T(n.attributes[0]))
- return l(["<", r("name"), n.typeArguments ? r("typeArguments") : r("typeParameters"), " ", ...e.map(r, "attributes"), n.selfClosing ? " />" : ">"]);
+`) && !s && !T(n.attributes[0])) return l(["<", r("name"), n.typeArguments ? r("typeArguments") : r("typeParameters"), " ", ...e.map(r, "attributes"), n.selfClosing ? " />" : ">"]);
let u = (o = n.attributes) == null ? void 0 : o.some((p) => te(p.value) && p.value.value.includes(`
`)), i = t2.singleAttributePerLine && n.attributes.length > 1 ? F : x;
return l(["<", r("name"), n.typeArguments ? r("typeArguments") : r("typeParameters"), f2(e.map(() => [i, r()], "attributes")), ...bc(n, t2, s)], { shouldBreak: u });
@@ -15752,44 +15117,41 @@ Expected it to be ${n}.`;
}
function Ai(e, t2, r) {
let { node: n } = e;
- if (n.type.startsWith("JSX"))
- switch (n.type) {
- case "JSXAttribute":
- return gc(e, t2, r);
- case "JSXIdentifier":
- return n.name;
- case "JSXNamespacedName":
- return b(":", [r("namespace"), r("name")]);
- case "JSXMemberExpression":
- return b(".", [r("object"), r("property")]);
- case "JSXSpreadAttribute":
- case "JSXSpreadChild":
- return Oc(e, t2, r);
- case "JSXExpressionContainer":
- return Sc(e, t2, r);
- case "JSXFragment":
- case "JSXElement":
- return Lc(e, t2, r);
- case "JSXOpeningElement":
- return Bc(e, t2, r);
- case "JSXClosingElement":
- return kc(e, t2, r);
- case "JSXOpeningFragment":
- case "JSXClosingFragment":
- return Ic(e, t2);
- case "JSXEmptyExpression":
- return wc(e, t2);
- case "JSXText":
- throw new Error("JSXText should be handled by JSXElement");
- default:
- throw new qe(n, "JSX");
- }
+ if (n.type.startsWith("JSX")) switch (n.type) {
+ case "JSXAttribute":
+ return gc(e, t2, r);
+ case "JSXIdentifier":
+ return n.name;
+ case "JSXNamespacedName":
+ return b(":", [r("namespace"), r("name")]);
+ case "JSXMemberExpression":
+ return b(".", [r("object"), r("property")]);
+ case "JSXSpreadAttribute":
+ case "JSXSpreadChild":
+ return Oc(e, t2, r);
+ case "JSXExpressionContainer":
+ return Sc(e, t2, r);
+ case "JSXFragment":
+ case "JSXElement":
+ return Lc(e, t2, r);
+ case "JSXOpeningElement":
+ return Bc(e, t2, r);
+ case "JSXClosingElement":
+ return kc(e, t2, r);
+ case "JSXOpeningFragment":
+ case "JSXClosingFragment":
+ return Ic(e, t2);
+ case "JSXEmptyExpression":
+ return wc(e, t2);
+ case "JSXText":
+ throw new Error("JSXText should be handled by JSXElement");
+ default:
+ throw new qe(n, "JSX");
+ }
}
function _c(e) {
- if (e.children.length === 0)
- return true;
- if (e.children.length > 1)
- return false;
+ if (e.children.length === 0) return true;
+ if (e.children.length > 1) return false;
let t2 = e.children[0];
return t2.type === "JSXText" && !mr(t2);
}
@@ -15801,8 +15163,7 @@ Expected it to be ${n}.`;
}
function Ti(e) {
let { node: t2, parent: r } = e;
- if (!X(t2) || !X(r))
- return false;
+ if (!X(t2) || !X(r)) return false;
let { index: n, siblings: s } = e, u;
for (let i = n; i > 0; i--) {
let a2 = s[i - 1];
@@ -15821,49 +15182,39 @@ Expected it to be ${n}.`;
function Vr(e, t2, r) {
var v;
let { node: n, parent: s, grandparent: u, key: i } = e, a2 = i !== "body" && (s.type === "IfStatement" || s.type === "WhileStatement" || s.type === "SwitchStatement" || s.type === "DoWhileStatement"), o = n.operator === "|>" && ((v = e.root.extra) == null ? void 0 : v.__isUsingHackPipeline), p = Es(e, r, t2, false, a2);
- if (a2)
- return p;
- if (o)
- return l(p);
- if (L(s) && s.callee === n || s.type === "UnaryExpression" || W(s) && !s.computed)
- return l([f2([E, ...p]), E]);
+ if (a2) return p;
+ if (o) return l(p);
+ if (L(s) && s.callee === n || s.type === "UnaryExpression" || W(s) && !s.computed) return l([f2([E, ...p]), E]);
let y = s.type === "ReturnStatement" || s.type === "ThrowStatement" || s.type === "JSXExpressionContainer" && u.type === "JSXAttribute" || n.operator !== "|" && s.type === "JsExpressionRoot" || n.type !== "NGPipeExpression" && (s.type === "NGRoot" && t2.parser === "__ng_binding" || s.type === "NGMicrosyntaxExpression" && u.type === "NGMicrosyntax" && u.body.length === 1) || n === s.body && s.type === "ArrowFunctionExpression" || n !== s.body && s.type === "ForStatement" || s.type === "ConditionalExpression" && u.type !== "ReturnStatement" && u.type !== "ThrowStatement" && !L(u) || s.type === "TemplateLiteral", D = s.type === "AssignmentExpression" || s.type === "VariableDeclarator" || s.type === "ClassProperty" || s.type === "PropertyDefinition" || s.type === "TSAbstractPropertyDefinition" || s.type === "ClassPrivateProperty" || Ce(s), m = De(n.left) && ur(n.operator, n.left.operator);
- if (y || Nt(n) && !m || !Nt(n) && D)
- return l(p);
- if (p.length === 0)
- return "";
- let C = X(n.right), c = p.findIndex((j) => typeof j != "string" && !Array.isArray(j) && j.type === me), A2 = p.slice(0, c === -1 ? 1 : c + 1), d = p.slice(A2.length, C ? -1 : void 0), S = Symbol("logicalChain-" + ++Mc), g = l([...A2, f2(d)], { id: S });
- if (!C)
- return g;
+ if (y || Nt(n) && !m || !Nt(n) && D) return l(p);
+ if (p.length === 0) return "";
+ let C = X(n.right), c = p.findIndex((j) => typeof j != "string" && !Array.isArray(j) && j.type === me), A2 = p.slice(0, c === -1 ? 1 : c + 1), d = p.slice(A2.length, C ? -1 : void 0), S = /* @__PURE__ */ Symbol("logicalChain-" + ++Mc), g = l([...A2, f2(d)], { id: S });
+ if (!C) return g;
let _2 = M(false, p, -1);
return l([g, dt(_2, { groupId: S })]);
}
function Es(e, t2, r, n, s) {
var S;
let { node: u } = e;
- if (!De(u))
- return [l(t2())];
+ if (!De(u)) return [l(t2())];
let i = [];
ur(u.operator, u.left.operator) ? i = e.call((g) => Es(g, t2, r, true, s), "left") : i.push(l(t2("left")));
let a2 = Nt(u), o = (u.operator === "|>" || u.type === "NGPipeExpression" || Rc(e, r)) && !Le(r.originalText, u.right), y = !T(u.right, h.Leading, qr) && Le(r.originalText, u.right), D = u.type === "NGPipeExpression" ? "|" : u.operator, m = u.type === "NGPipeExpression" && u.arguments.length > 0 ? l(f2([E, ": ", b([x, ": "], e.map(() => Be(2, l(t2())), "arguments"))])) : "", C;
- if (a2)
- C = [D, " ", t2("right"), m];
+ if (a2) C = [D, " ", t2("right"), m];
else {
let _2 = D === "|>" && ((S = e.root.extra) == null ? void 0 : S.__isUsingHackPipeline) ? e.call((v) => Es(v, t2, r, true, s), "right") : t2("right");
if (r.experimentalOperatorPosition === "start") {
let v = "";
- if (y)
- switch (Se(_2)) {
- case he:
- v = _2.splice(0, 1)[0];
- break;
- case ge:
- v = _2.contents.splice(0, 1)[0];
- break;
- }
+ if (y) switch (Se(_2)) {
+ case he:
+ v = _2.splice(0, 1)[0];
+ break;
+ case ge:
+ v = _2.contents.splice(0, 1)[0];
+ break;
+ }
C = [x, v, D, " ", _2, m];
- } else
- C = [o ? x : "", D, o ? " " : x, _2, m];
+ } else C = [o ? x : "", D, o ? " " : x, _2, m];
}
let { parent: c } = e, A2 = T(u.left, h.Trailing | h.Line);
if ((A2 || !(s && u.type === "LogicalExpression") && c.type !== u.type && u.left.type !== u.type && u.right.type !== u.type) && (C = l(C, { shouldBreak: A2 })), r.experimentalOperatorPosition === "start" ? i.push(a2 || y ? " " : "", C) : i.push(o ? "" : " ", C), n && T(u)) {
@@ -15881,33 +15232,32 @@ Expected it to be ${n}.`;
}
function hi(e, t2, r) {
let { node: n } = e;
- if (n.type.startsWith("NG"))
- switch (n.type) {
- case "NGRoot":
- return [r("node"), T(n.node) ? " //" + ct(n.node)[0].value.trimEnd() : ""];
- case "NGPipeExpression":
- return Vr(e, t2, r);
- case "NGChainedExpression":
- return l(b([";", x], e.map(() => qc(e) ? r() : ["(", r(), ")"], "expressions")));
- case "NGEmptyExpression":
- return "";
- case "NGMicrosyntax":
- return e.map(() => [e.isFirst ? "" : xi(e) ? " " : [";", x], r()], "body");
- case "NGMicrosyntaxKey":
- return /^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/iu.test(n.name) ? n.name : JSON.stringify(n.name);
- case "NGMicrosyntaxExpression":
- return [r("expression"), n.alias === null ? "" : [" as ", r("alias")]];
- case "NGMicrosyntaxKeyedExpression": {
- let { index: s, parent: u } = e, i = xi(e) || (s === 1 && (n.key.name === "then" || n.key.name === "else" || n.key.name === "as") || (s === 2 || s === 3) && (n.key.name === "else" && u.body[s - 1].type === "NGMicrosyntaxKeyedExpression" && u.body[s - 1].key.name === "then" || n.key.name === "track")) && u.body[0].type === "NGMicrosyntaxExpression";
- return [r("key"), i ? " " : ": ", r("expression")];
- }
- case "NGMicrosyntaxLet":
- return ["let ", r("key"), n.value === null ? "" : [" = ", r("value")]];
- case "NGMicrosyntaxAs":
- return [r("key"), " as ", r("alias")];
- default:
- throw new qe(n, "Angular");
- }
+ if (n.type.startsWith("NG")) switch (n.type) {
+ case "NGRoot":
+ return [r("node"), T(n.node) ? " //" + ct(n.node)[0].value.trimEnd() : ""];
+ case "NGPipeExpression":
+ return Vr(e, t2, r);
+ case "NGChainedExpression":
+ return l(b([";", x], e.map(() => qc(e) ? r() : ["(", r(), ")"], "expressions")));
+ case "NGEmptyExpression":
+ return "";
+ case "NGMicrosyntax":
+ return e.map(() => [e.isFirst ? "" : xi(e) ? " " : [";", x], r()], "body");
+ case "NGMicrosyntaxKey":
+ return /^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/iu.test(n.name) ? n.name : JSON.stringify(n.name);
+ case "NGMicrosyntaxExpression":
+ return [r("expression"), n.alias === null ? "" : [" as ", r("alias")]];
+ case "NGMicrosyntaxKeyedExpression": {
+ let { index: s, parent: u } = e, i = xi(e) || (s === 1 && (n.key.name === "then" || n.key.name === "else" || n.key.name === "as") || (s === 2 || s === 3) && (n.key.name === "else" && u.body[s - 1].type === "NGMicrosyntaxKeyedExpression" && u.body[s - 1].key.name === "then" || n.key.name === "track")) && u.body[0].type === "NGMicrosyntaxExpression";
+ return [r("key"), i ? " " : ": ", r("expression")];
+ }
+ case "NGMicrosyntaxLet":
+ return ["let ", r("key"), n.value === null ? "" : [" = ", r("value")]];
+ case "NGMicrosyntaxAs":
+ return [r("key"), " as ", r("alias")];
+ default:
+ throw new qe(n, "Angular");
+ }
}
function xi({ node: e, index: t2 }) {
return e.type === "NGMicrosyntaxKeyedExpression" && e.key.name === "of" && t2 === 1;
@@ -15925,8 +15275,7 @@ Expected it to be ${n}.`;
}
function Si(e, t2, r) {
let { node: n, parent: s } = e, { decorators: u } = n;
- if (!O(u) || bi(s) || Hr(e))
- return "";
+ if (!O(u) || bi(s) || Hr(e)) return "";
let i = n.type === "ClassExpression" || n.type === "ClassDeclaration" || Bi(n, t2);
return [e.key === "declaration" && pu(s) ? F : i ? Ee : "", b(x, e.map(r, "decorators")), x];
}
@@ -15935,8 +15284,7 @@ Expected it to be ${n}.`;
}
function bi(e) {
var r;
- if (e.type !== "ExportDefaultDeclaration" && e.type !== "ExportNamedDeclaration" && e.type !== "DeclareExportDeclaration")
- return false;
+ if (e.type !== "ExportDefaultDeclaration" && e.type !== "ExportNamedDeclaration" && e.type !== "DeclareExportDeclaration") return false;
let t2 = (r = e.declaration) == null ? void 0 : r.decorators;
return O(t2) && bt(e, t2[0]);
}
@@ -15948,8 +15296,7 @@ Expected it to be ${n}.`;
};
function Wc(e, t2, r) {
let { node: n } = e, s = pe(n);
- if (s.length === 0)
- return ["(", J(e, t2), ")"];
+ if (s.length === 0) return ["(", J(e, t2), ")"];
let u = s.length - 1;
if (Yc(s)) {
let D = ["("];
@@ -15966,32 +15313,27 @@ Expected it to be ${n}.`;
function p() {
return l(["(", f2([x, ...a2]), o, x, ")"], { shouldBreak: true });
}
- if (i || e.parent.type !== "Decorator" && Du(s))
- return p();
+ if (i || e.parent.type !== "Decorator" && Du(s)) return p();
if (Uc(s)) {
let D = a2.slice(1);
- if (D.some(re))
- return p();
+ if (D.some(re)) return p();
let m;
try {
m = r(qn(n, 0), { expandFirstArg: true });
} catch (C) {
- if (C instanceof yt)
- return p();
+ if (C instanceof yt) return p();
throw C;
}
return re(m) ? [Ee, Ze([["(", l(m, { shouldBreak: true }), ", ", ...D, ")"], p()])] : Ze([["(", m, ", ", ...D, ")"], ["(", l(m, { shouldBreak: true }), ", ", ...D, ")"], p()]);
}
if (Gc(s, a2, t2)) {
let D = a2.slice(0, -1);
- if (D.some(re))
- return p();
+ if (D.some(re)) return p();
let m;
try {
m = r(qn(n, -1), { expandLastArg: true });
} catch (C) {
- if (C instanceof yt)
- return p();
+ if (C instanceof yt) return p();
throw C;
}
return re(m) ? [Ee, Ze([["(", ...D, l(m, { shouldBreak: true }), ")"], p()])] : Ze([["(", ...D, m, ")"], ["(", ...D, l(m, { shouldBreak: true }), ")"], p()]);
@@ -16007,22 +15349,19 @@ Expected it to be ${n}.`;
let n = M(false, e, -1);
if (e.length === 1) {
let a2 = M(false, t2, -1);
- if ((u = a2.label) != null && u.embed && ((i = a2.label) == null ? void 0 : i.hug) !== false)
- return true;
+ if ((u = a2.label) != null && u.embed && ((i = a2.label) == null ? void 0 : i.hug) !== false) return true;
}
let s = M(false, e, -2);
return !T(n, h.Leading) && !T(n, h.Trailing) && yr(n) && (!s || s.type !== n.type) && (e.length !== 2 || s.type !== "ArrowFunctionExpression" || !Y(n)) && !(e.length > 1 && Cs(n, r));
}
function Uc(e) {
- if (e.length !== 2)
- return false;
+ if (e.length !== 2) return false;
let [t2, r] = e;
return t2.type === "ModuleExpression" && Xc(r) ? true : !T(t2) && (t2.type === "FunctionExpression" || t2.type === "ArrowFunctionExpression" && t2.body.type === "BlockStatement") && r.type !== "FunctionExpression" && r.type !== "ArrowFunctionExpression" && r.type !== "ConditionalExpression" && ki(r) && !yr(r);
}
function ki(e) {
var _a2;
- if (e.type === "ParenthesizedExpression")
- return ki(e.expression);
+ if (e.type === "ParenthesizedExpression") return ki(e.expression);
if (Ae(e) || e.type === "TypeCastExpression") {
let { typeAnnotation: t2 } = e;
if (t2.type === "TypeAnnotation" && (t2 = t2.typeAnnotation), t2.type === "TSArrayType" && (t2 = t2.elementType, t2.type === "TSArrayType" && (t2 = t2.elementType)), t2.type === "GenericTypeAnnotation" || t2.type === "TSTypeReference") {
@@ -16058,8 +15397,7 @@ Expected it to be ${n}.`;
return s.computed ? !s.property || Fe(s.property) ? [u, "[", n, "]"] : l([u, "[", f2([E, n]), E, "]"]) : [u, ".", n];
}
function Li(e, t2, r) {
- if (e.node.type === "ChainExpression")
- return e.call(() => Li(e, t2, r), "expression");
+ if (e.node.type === "ChainExpression") return e.call(() => Li(e, t2, r), "expression");
let { parent: n } = e, s = !n || n.type === "ExpressionStatement", u = [];
function i(w) {
let { originalText: ne } = t2, xe = ut(ne, k(w));
@@ -16067,22 +15405,17 @@ Expected it to be ${n}.`;
}
function a2() {
let { node: w } = e;
- if (w.type === "ChainExpression")
- return e.call(a2, "expression");
+ if (w.type === "ChainExpression") return e.call(a2, "expression");
if (L(w) && (At(w.callee) || L(w.callee))) {
let ne = i(w);
u.unshift({ node: w, hasTrailingEmptyLine: ne, printed: [ye(e, [$(e), et(e, t2, r), Dr(e, t2, r)], t2), ne ? F : ""] }), e.call(a2, "callee");
- } else
- At(w) ? (u.unshift({ node: w, needsParens: ke(e, t2), printed: ye(e, W(w) ? As(e, t2, r) : $r(e, t2, r), t2) }), e.call(a2, "object")) : w.type === "TSNonNullExpression" ? (u.unshift({ node: w, printed: ye(e, "!", t2) }), e.call(a2, "expression")) : u.unshift({ node: w, printed: r() });
+ } else At(w) ? (u.unshift({ node: w, needsParens: ke(e, t2), printed: ye(e, W(w) ? As(e, t2, r) : $r(e, t2, r), t2) }), e.call(a2, "object")) : w.type === "TSNonNullExpression" ? (u.unshift({ node: w, printed: ye(e, "!", t2) }), e.call(a2, "expression")) : u.unshift({ node: w, printed: r() });
}
let { node: o } = e;
u.unshift({ node: o, printed: [$(e), et(e, t2, r), Dr(e, t2, r)] }), o.callee && e.call(a2, "callee");
let p = [], y = [u[0]], D = 1;
- for (; D < u.length && (u[D].node.type === "TSNonNullExpression" || L(u[D].node) || W(u[D].node) && u[D].node.computed && Fe(u[D].node.property)); ++D)
- y.push(u[D]);
- if (!L(u[0].node))
- for (; D + 1 < u.length && (At(u[D].node) && At(u[D + 1].node)); ++D)
- y.push(u[D]);
+ for (; D < u.length && (u[D].node.type === "TSNonNullExpression" || L(u[D].node) || W(u[D].node) && u[D].node.computed && Fe(u[D].node.property)); ++D) y.push(u[D]);
+ if (!L(u[0].node)) for (; D + 1 < u.length && (At(u[D].node) && At(u[D + 1].node)); ++D) y.push(u[D]);
p.push(y), y = [];
let m = false;
for (; D < u.length; ++D) {
@@ -16121,8 +15454,7 @@ Expected it to be ${n}.`;
return w.length === 0 ? "" : f2([F, b(F, w.map(S))]);
}
let _2 = p.map(S), v = _2, j = d ? 3 : 2, I = p.flat(), U = I.slice(1, -1).some((w) => T(w.node, h.Leading)) || I.slice(0, -1).some((w) => T(w.node, h.Trailing)) || p[j] && T(p[j][0].node, h.Leading);
- if (p.length <= j && !U && !p.some((w) => M(false, w, -1).hasTrailingEmptyLine))
- return _r(e) ? v : l(v);
+ if (p.length <= j && !U && !p.some((w) => M(false, w, -1).hasTrailingEmptyLine)) return _r(e) ? v : l(v);
let P = M(false, p[d ? 1 : 0], -1).node, G = !L(P) && i(P), ue = [S(p[0]), d ? p.slice(1, 2).map(S) : "", G ? F : "", g(p.slice(d ? 2 : 1))], Q = u.map(({ node: w }) => w).filter(L);
function St() {
let w = M(false, M(false, p, -1), -1).node, ne = M(false, _2, -1);
@@ -16139,11 +15471,9 @@ Expected it to be ${n}.`;
let D = [];
if (qt(e, () => {
D.push(r());
- }), !(o && ((y = D[0].label) != null && y.embed)))
- return [s ? "new " : "", Oi(e, r), i, et(e, t2, r), "(", b(", ", D), ")"];
+ }), !(o && ((y = D[0].label) != null && y.embed))) return [s ? "new " : "", Oi(e, r), i, et(e, t2, r), "(", b(", ", D), ")"];
}
- if (!u && !s && At(n.callee) && !e.call((D) => ke(D, t2), "callee", ...n.callee.type === "ChainExpression" ? ["expression"] : []))
- return wi(e, t2, r);
+ if (!u && !s && At(n.callee) && !e.call((D) => ke(D, t2), "callee", ...n.callee.type === "ChainExpression" ? ["expression"] : [])) return wi(e, t2, r);
let p = [s ? "new " : "", Oi(e, r), i, et(e, t2, r), Dr(e, t2, r)];
return u || L(n.callee) ? l(p) : p;
}
@@ -16153,8 +15483,7 @@ Expected it to be ${n}.`;
}
function Vc(e) {
let { node: t2 } = e;
- if (t2.type !== "CallExpression" || t2.optional || t2.callee.type !== "Identifier")
- return false;
+ if (t2.type !== "CallExpression" || t2.optional || t2.callee.type !== "Identifier") return false;
let r = pe(t2);
return t2.callee.name === "require" ? r.length === 1 && te(r[0]) || r.length > 1 : t2.callee.name === "define" && e.parent.type === "ExpressionStatement" ? r.length === 1 || r.length === 2 && r[0].type === "ArrayExpression" || r.length === 3 && te(r[0]) && r[1].type === "ArrayExpression" : false;
}
@@ -16166,7 +15495,7 @@ Expected it to be ${n}.`;
case "never-break-after-operator":
return l([l(n), s, " ", a2]);
case "fluid": {
- let o = Symbol("assignment");
+ let o = /* @__PURE__ */ Symbol("assignment");
return l([l(n), s, l(f2(x), { id: o }), ve, dt(a2, { groupId: o })]);
}
case "break-lhs":
@@ -16190,33 +15519,26 @@ Expected it to be ${n}.`;
}
function $c(e, t2, r, n, s) {
let { node: u } = e, i = u[s];
- if (!i)
- return "only-left";
+ if (!i) return "only-left";
let a2 = !Qr(i);
- if (e.match(Qr, Mi, (m) => !a2 || m.type !== "ExpressionStatement" && m.type !== "VariableDeclaration"))
- return a2 ? i.type === "ArrowFunctionExpression" && i.body.type === "ArrowFunctionExpression" ? "chain-tail-arrow-chain" : "chain-tail" : "chain";
- if (!a2 && Qr(i.right) || Le(t2.originalText, i))
- return "break-after-operator";
- if (u.type === "ImportAttribute" || i.type === "CallExpression" && i.callee.name === "require" || t2.parser === "json5" || t2.parser === "jsonc" || t2.parser === "json")
- return "never-break-after-operator";
+ if (e.match(Qr, Mi, (m) => !a2 || m.type !== "ExpressionStatement" && m.type !== "VariableDeclaration")) return a2 ? i.type === "ArrowFunctionExpression" && i.body.type === "ArrowFunctionExpression" ? "chain-tail-arrow-chain" : "chain-tail" : "chain";
+ if (!a2 && Qr(i.right) || Le(t2.originalText, i)) return "break-after-operator";
+ if (u.type === "ImportAttribute" || i.type === "CallExpression" && i.callee.name === "require" || t2.parser === "json5" || t2.parser === "jsonc" || t2.parser === "json") return "never-break-after-operator";
let y = Bu(n);
- if (Qc(u) || tl(u) || Ts(u) && y)
- return "break-lhs";
+ if (Qc(u) || tl(u) || Ts(u) && y) return "break-lhs";
let D = nl(u, n, t2);
return e.call(() => Kc(e, t2, r, D), s) ? "break-after-operator" : zc(u) ? "break-lhs" : !y && (D || i.type === "TemplateLiteral" || i.type === "TaggedTemplateExpression" || i.type === "BooleanLiteral" || Fe(i) || i.type === "ClassExpression") ? "never-break-after-operator" : "fluid";
}
function Kc(e, t2, r, n) {
let s = e.node;
- if (De(s) && !Nt(s))
- return true;
+ if (De(s) && !Nt(s)) return true;
switch (s.type) {
case "StringLiteralTypeAnnotation":
case "SequenceExpression":
return true;
case "TSConditionalType":
case "ConditionalTypeAnnotation":
- if (!t2.experimentalTernaries && !il(s))
- break;
+ if (!t2.experimentalTernaries && !il(s)) break;
return true;
case "ConditionalExpression": {
if (!t2.experimentalTernaries) {
@@ -16229,16 +15551,11 @@ Expected it to be ${n}.`;
case "ClassExpression":
return O(s.decorators);
}
- if (n)
- return false;
+ if (n) return false;
let u = s, i = [];
- for (; ; )
- if (u.type === "UnaryExpression" || u.type === "AwaitExpression" || u.type === "YieldExpression" && u.argument !== null)
- u = u.argument, i.push("argument");
- else if (u.type === "TSNonNullExpression")
- u = u.expression, i.push("expression");
- else
- break;
+ for (; ; ) if (u.type === "UnaryExpression" || u.type === "AwaitExpression" || u.type === "YieldExpression" && u.argument !== null) u = u.argument, i.push("argument");
+ else if (u.type === "TSNonNullExpression") u = u.expression, i.push("expression");
+ else break;
return !!(te(u) || e.call(() => Ri(e, t2, r), ...i));
}
function Qc(e) {
@@ -16261,23 +15578,19 @@ Expected it to be ${n}.`;
let t2 = el(e);
if (O(t2)) {
let r = e.type === "TSTypeAliasDeclaration" ? "constraint" : "bound";
- if (t2.length > 1 && t2.some((n) => n[r] || n.default))
- return true;
+ if (t2.length > 1 && t2.some((n) => n[r] || n.default)) return true;
}
return false;
}
var Zc = R(["TSTypeAliasDeclaration", "TypeAlias"]);
function el(e) {
var t2;
- if (Zc(e))
- return (t2 = e.typeParameters) == null ? void 0 : t2.params;
+ if (Zc(e)) return (t2 = e.typeParameters) == null ? void 0 : t2.params;
}
function tl(e) {
- if (e.type !== "VariableDeclarator")
- return false;
+ if (e.type !== "VariableDeclarator") return false;
let { typeAnnotation: t2 } = e.id;
- if (!t2 || !t2.typeAnnotation)
- return false;
+ if (!t2 || !t2.typeAnnotation) return false;
let r = _i(t2.typeAnnotation);
return O(r) && r.length > 1 && r.some((n) => O(_i(n)) || n.type === "TSConditionalType");
}
@@ -16289,17 +15602,14 @@ Expected it to be ${n}.`;
function _i(e) {
var _a2;
var t2;
- if (rl(e))
- return (t2 = (_a2 = e.typeArguments) != null ? _a2 : e.typeParameters) == null ? void 0 : t2.params;
+ if (rl(e)) return (t2 = (_a2 = e.typeArguments) != null ? _a2 : e.typeParameters) == null ? void 0 : t2.params;
}
function Ri(e, t2, r, n = false) {
var i;
let { node: s } = e, u = () => Ri(e, t2, r, true);
- if (s.type === "ChainExpression" || s.type === "TSNonNullExpression")
- return e.call(u, "expression");
+ if (s.type === "ChainExpression" || s.type === "TSNonNullExpression") return e.call(u, "expression");
if (L(s)) {
- if ((i = Kr(e, t2, r).label) != null && i.memberChain)
- return false;
+ if ((i = Kr(e, t2, r).label) != null && i.memberChain) return false;
let o = pe(s);
return !(o.length === 0 || o.length === 1 && sr(o[0], t2)) || sl(s, r) ? false : e.call(u, "callee");
}
@@ -16311,16 +15621,13 @@ Expected it to be ${n}.`;
function sl(e, t2) {
let r = ul(e);
if (O(r)) {
- if (r.length > 1)
- return true;
+ if (r.length > 1) return true;
if (r.length === 1) {
let s = r[0];
- if (Xe(s) || vr(s) || s.type === "TSTypeLiteral" || s.type === "ObjectTypeAnnotation")
- return true;
+ if (Xe(s) || vr(s) || s.type === "TSTypeLiteral" || s.type === "ObjectTypeAnnotation") return true;
}
let n = e.typeParameters ? "typeParameters" : "typeArguments";
- if (re(t2(n)))
- return true;
+ if (re(t2(n))) return true;
}
return false;
}
@@ -16347,26 +15654,22 @@ Expected it to be ${n}.`;
}
function Ge(e, t2, r, n, s) {
let u = e.node, i = z(u), a2 = s ? et(e, r, t2) : "";
- if (i.length === 0)
- return [a2, "(", J(e, r, { filter: (c) => be(r.originalText, k(c)) === ")" }), ")"];
+ if (i.length === 0) return [a2, "(", J(e, r, { filter: (c) => be(r.originalText, k(c)) === ")" }), ")"];
let { parent: o } = e, p = kt(o), y = ds(u), D = [];
if (Cu(e, (c, A2) => {
let d = A2 === i.length - 1;
d && u.rest && D.push("..."), D.push(t2()), !d && (D.push(","), p || y ? D.push(" ") : ce(i[A2], r) ? D.push(F, F) : D.push(x));
}), n && !ol(e)) {
- if (re(a2) || re(D))
- throw new yt();
+ if (re(a2) || re(D)) throw new yt();
return l([or(a2), "(", or(D), ")"]);
}
let m = i.every((c) => !O(c.decorators));
return y && m ? [a2, "(", ...D, ")"] : p ? [a2, "(", ...D, ")"] : (Lr(o) || lu(o) || o.type === "TypeAlias" || o.type === "UnionTypeAnnotation" || o.type === "IntersectionTypeAnnotation" || o.type === "FunctionTypeAnnotation" && o.returnType === u) && i.length === 1 && i[0].name === null && u.this !== i[0] && i[0].typeAnnotation && u.typeParameters === null && Jt(i[0].typeAnnotation) && !u.rest ? r.arrowParens === "always" || u.type === "HookTypeAnnotation" ? ["(", ...D, ")"] : D : [a2, "(", f2([E, ...D]), B(!Fu(u) && oe(r, "all") ? "," : ""), E, ")"];
}
function ds(e) {
- if (!e)
- return false;
+ if (!e) return false;
let t2 = z(e);
- if (t2.length !== 1)
- return false;
+ if (t2.length !== 1) return false;
let [r] = t2;
return !T(r) && (r.type === "ObjectPattern" || r.type === "ArrayPattern" || r.type === "Identifier" && r.typeAnnotation && (r.typeAnnotation.type === "TypeAnnotation" || r.typeAnnotation.type === "TSTypeAnnotation") && Me(r.typeAnnotation.typeAnnotation) || r.type === "FunctionTypeParam" && Me(r.typeAnnotation) && r !== e.rest || r.type === "AssignmentPattern" && (r.left.type === "ObjectPattern" || r.left.type === "ArrayPattern") && (r.right.type === "Identifier" || se(r.right) && r.right.properties.length === 0 || Y(r.right) && r.right.elements.length === 0));
}
@@ -16377,16 +15680,13 @@ Expected it to be ${n}.`;
function at(e, t2) {
var s;
let r = al(e);
- if (!r)
- return false;
+ if (!r) return false;
let n = (s = e.typeParameters) == null ? void 0 : s.params;
if (n) {
- if (n.length > 1)
- return false;
+ if (n.length > 1) return false;
if (n.length === 1) {
let u = n[0];
- if (u.constraint || u.default)
- return false;
+ if (u.constraint || u.default) return false;
}
}
return z(e).length === 1 && (Me(r) || re(t2));
@@ -16407,8 +15707,7 @@ Expected it to be ${n}.`;
var pl = R(["VoidTypeAnnotation", "TSVoidKeyword", "NullLiteralTypeAnnotation", "TSNullKeyword"]), cl = R(["ObjectTypeAnnotation", "TSTypeLiteral", "GenericTypeAnnotation", "TSTypeReference"]);
function ll(e) {
let { types: t2 } = e;
- if (t2.some((n) => T(n)))
- return false;
+ if (t2.some((n) => T(n))) return false;
let r = t2.find((n) => cl(n));
return r ? t2.every((n) => n === r || pl(n)) : false;
}
@@ -16429,8 +15728,7 @@ Expected it to be ${n}.`;
let n = false;
return l(e.map(({ isFirst: s, previous: u, node: i, index: a2 }) => {
let o = r();
- if (s)
- return o;
+ if (s) return o;
let p = Me(i), y = Me(u);
return y && p ? [" & ", n ? f2(o) : o] : !y && !p ? t2.experimentalOperatorPosition === "start" ? f2([x, "& ", o]) : f2([" &", x, o]) : (a2 > 1 && (n = true), [" & ", a2 > 1 ? f2(o) : o]);
}, "types"));
@@ -16440,8 +15738,7 @@ Expected it to be ${n}.`;
let D = r();
return i || (D = Be(2, D)), ye(y, D, t2);
}, "types");
- if (i)
- return b(" | ", a2);
+ if (i) return b(" | ", a2);
let o = u && !Le(t2.originalText, n), p = [B([o ? x : "", "| "]), b([x, "| "], a2)];
return ke(e, t2) ? l([f2(p), E]) : (s.type === "TupleTypeAnnotation" || s.type === "TSTupleType") && s[s.type === "TupleTypeAnnotation" && s.types ? "types" : "elementTypes"].length > 1 ? l([f2([B(["(", E]), p]), E, B(")")]) : l(u ? f2(p) : p);
}
@@ -16477,8 +15774,7 @@ Expected it to be ${n}.`;
var yl = /* @__PURE__ */ new WeakSet();
function H(e, t2, r = "typeAnnotation") {
let { node: { [r]: n } } = e;
- if (!n)
- return "";
+ if (!n) return "";
let s = false;
if (n.type === "TSTypeAnnotation" || n.type === "TypeAnnotation") {
let u = e.call(Wi, r);
@@ -16540,16 +15836,13 @@ Expected it to be ${n}.`;
}
function Vt(e, t2, r) {
let { node: n } = e, s = [], u = n.type === "TupleExpression" ? "#[" : "[", i = "]", a2 = n.type === "TupleTypeAnnotation" && n.types ? "types" : n.type === "TSTupleType" || n.type === "TupleTypeAnnotation" ? "elementTypes" : "elements", o = n[a2];
- if (o.length === 0)
- s.push(El(e, t2, u, i));
+ if (o.length === 0) s.push(El(e, t2, u, i));
else {
- let p = M(false, o, -1), y = (p == null ? void 0 : p.type) !== "RestElement" && !n.inexact, D = p === null, m = Symbol("array"), C = !t2.__inJestEach && o.length > 1 && o.every((d, S, g) => {
+ let p = M(false, o, -1), y = (p == null ? void 0 : p.type) !== "RestElement" && !n.inexact, D = p === null, m = /* @__PURE__ */ Symbol("array"), C = !t2.__inJestEach && o.length > 1 && o.every((d, S, g) => {
let _2 = d == null ? void 0 : d.type;
- if (!Y(d) && !se(d))
- return false;
+ if (!Y(d) && !se(d)) return false;
let v = g[S + 1];
- if (v && _2 !== v.type)
- return false;
+ if (v && _2 !== v.type) return false;
let j = Y(d) ? "elements" : "properties";
return d[j] && d[j].length > 1;
}), c = Cs(n, t2), A2 = y ? D ? "," : oe(t2) ? c ? B(",", "", { groupId: m }) : B(",") : "" : "";
@@ -16594,8 +15887,7 @@ Expected it to be ${n}.`;
}
function Et(e, t2, r) {
let { node: n } = e;
- if (n.computed)
- return ["[", r("key"), "]"];
+ if (n.computed) return ["[", r("key"), "]"];
let { parent: s } = e, { key: u } = n;
if (t2.quoteProps === "consistent" && !yn.has(s)) {
let i = e.siblings.some((a2) => !a2.computed && te(a2.key) && !Yi(a2, t2));
@@ -16613,8 +15905,7 @@ Expected it to be ${n}.`;
}
var hl = ({ node: e, key: t2, parent: r }) => t2 === "value" && e.type === "FunctionExpression" && (r.type === "ObjectMethod" || r.type === "ClassMethod" || r.type === "ClassPrivateMethod" || r.type === "MethodDefinition" || r.type === "TSAbstractMethodDefinition" || r.type === "TSDeclareMethod" || r.type === "Property" && Pt(r));
function fn(e, t2, r, n) {
- if (hl(e))
- return En(e, r, t2);
+ if (hl(e)) return En(e, r, t2);
let { node: s } = e, u = false;
if ((s.type === "FunctionDeclaration" || s.type === "FunctionExpression") && (n != null && n.expandLastArg)) {
let { parent: y } = e;
@@ -16636,8 +15927,7 @@ Expected it to be ${n}.`;
return t2.length === 1 && !e.typeParameters && !T(e, h.Dangling) && t2[0].type === "Identifier" && !t2[0].typeAnnotation && !T(t2[0]) && !t2[0].optional && !e.predicate && !e.returnType;
}
function Fn(e, t2) {
- if (t2.arrowParens === "always")
- return false;
+ if (t2.arrowParens === "always") return false;
if (t2.arrowParens === "avoid") {
let { node: r } = e;
return gl(r);
@@ -16664,13 +15954,10 @@ Expected it to be ${n}.`;
return ["throw", Xi(e, t2, r)];
}
function Sl(e, t2) {
- if (Le(e.originalText, t2) || T(t2, h.Leading, (r) => de(e.originalText, q(r), k(r))) && !X(t2))
- return true;
+ if (Le(e.originalText, t2) || T(t2, h.Leading, (r) => de(e.originalText, q(r), k(r))) && !X(t2)) return true;
if (Rt(t2)) {
let r = t2, n;
- for (; n = ou(r); )
- if (r = n, Le(e.originalText, r))
- return true;
+ for (; n = ou(r); ) if (r = n, Le(e.originalText, r)) return true;
}
return false;
}
@@ -16683,26 +15970,23 @@ Expected it to be ${n}.`;
let s = [], u, i = [], a2 = false, o = !n.expandLastArg && e.node.body.type === "ArrowFunctionExpression", p;
(function S() {
let { node: g } = e, _2 = Bl(e, t2, r, n);
- if (s.length === 0)
- s.push(_2);
+ if (s.length === 0) s.push(_2);
else {
let { leading: v, trailing: j } = ls(e, t2);
s.push([v, _2]), i.unshift(j);
}
o && (a2 || (a2 = g.returnType && z(g).length > 0 || g.typeParameters || z(g).some((v) => v.type !== "Identifier"))), !o || g.body.type !== "ArrowFunctionExpression" ? (u = r("body", n), p = g.body) : e.call(S, "body");
})();
- let y = !Le(t2.originalText, p) && (Ki(p) || bl(p, u, t2) || !a2 && $i(p)), D = e.key === "callee" && lt(e.parent), m = Symbol("arrow-chain"), C = Pl(e, n, { signatureDocs: s, shouldBreak: a2 }), c = false, A2 = false, d = false;
+ let y = !Le(t2.originalText, p) && (Ki(p) || bl(p, u, t2) || !a2 && $i(p)), D = e.key === "callee" && lt(e.parent), m = /* @__PURE__ */ Symbol("arrow-chain"), C = Pl(e, n, { signatureDocs: s, shouldBreak: a2 }), c = false, A2 = false, d = false;
return o && (D || n.assignmentLayout) && (A2 = true, d = !T(e.node, h.Leading & h.Line), c = n.assignmentLayout === "chain-tail-arrow-chain" || D && !y), u = kl(e, t2, n, { bodyDoc: u, bodyComments: i, functionBody: p, shouldPutBodyOnSameLine: y }), l([l(A2 ? f2([d ? E : "", C]) : C, { shouldBreak: c, id: m }), " =>", o ? dt(u, { groupId: m }) : l(u), o && D ? B(E, "", { groupId: m }) : ""]);
}
function Bl(e, t2, r, n) {
let { node: s } = e, u = [];
- if (s.async && u.push("async "), Fn(e, t2))
- u.push(r(["params", 0]));
+ if (s.async && u.push("async "), Fn(e, t2)) u.push(r(["params", 0]));
else {
let a2 = n.expandLastArg || n.expandFirstArg, o = $t(e, r);
if (a2) {
- if (re(o))
- throw new yt();
+ if (re(o)) throw new yt();
o = l(or(o));
}
u.push(l([Ge(e, r, t2, a2, true), o]));
@@ -16718,8 +16002,7 @@ Expected it to be ${n}.`;
return Y(e) || se(e) || e.type === "ArrowFunctionExpression" || e.type === "DoExpression" || e.type === "BlockStatement" || X(e) || ((n = t2.label) == null ? void 0 : n.hug) !== false && (((s = t2.label) == null ? void 0 : s.embed) || wr(e, r.originalText));
}
function Pl(e, t2, { signatureDocs: r, shouldBreak: n }) {
- if (r.length === 1)
- return r[0];
+ if (r.length === 1) return r[0];
let { parent: s, key: u } = e;
return u !== "callee" && lt(s) || De(s) ? l([r[0], " =>", f2([x, b([" =>", x], r.slice(1))])], { shouldBreak: n }) : u === "callee" && lt(s) || t2.assignmentLayout ? l(b([" =>", x], r), { shouldBreak: n }) : l(f2(b([" =>", x], r)), { shouldBreak: n });
}
@@ -16729,12 +16012,10 @@ Expected it to be ${n}.`;
}
var Il = (e, t2, r) => {
if (!(e && t2 == null)) {
- if (t2.findLast)
- return t2.findLast(r);
+ if (t2.findLast) return t2.findLast(r);
for (let n = t2.length - 1; n >= 0; n--) {
let s = t2[n];
- if (r(s, n, t2))
- return s;
+ if (r(s, n, t2)) return s;
}
}
}, zi = Il;
@@ -16746,11 +16027,9 @@ Expected it to be ${n}.`;
}
function Cn(e, t2, r) {
let n = Ll(e, t2, r), { node: s, parent: u } = e;
- if (s.type === "Program" && (u == null ? void 0 : u.type) !== "ModuleExpression")
- return n ? [n, F] : "";
+ if (s.type === "Program" && (u == null ? void 0 : u.type) !== "ModuleExpression") return n ? [n, F] : "";
let i = [];
- if (s.type === "StaticBlock" && i.push("static "), i.push("{"), n)
- i.push(f2([F, n]), F);
+ if (s.type === "StaticBlock" && i.push("static "), i.push("{"), n) i.push(f2([F, n]), F);
else {
let a2 = e.grandparent;
u.type === "ArrowFunctionExpression" || u.type === "FunctionExpression" || u.type === "FunctionDeclaration" || u.type === "ComponentDeclaration" || u.type === "HookDeclaration" || u.type === "ObjectMethod" || u.type === "ClassMethod" || u.type === "ClassPrivateMethod" || u.type === "ForStatement" || u.type === "WhileStatement" || u.type === "DoWhileStatement" || u.type === "DoExpression" || u.type === "ModuleExpression" || u.type === "CatchClause" && !a2.finalizer || u.type === "TSModuleDeclaration" || s.type === "StaticBlock" || i.push(F);
@@ -16759,8 +16038,7 @@ Expected it to be ${n}.`;
}
function Ll(e, t2, r) {
let { node: n } = e, s = O(n.directives), u = n.body.some((o) => o.type !== "EmptyStatement"), i = T(n, h.Dangling);
- if (!s && !u && !i)
- return "";
+ if (!s && !u && !i) return "";
let a2 = [];
return s && (a2.push(Er(e, t2, r, "directives")), (u || i) && (a2.push(F), ce(M(false, n.directives, -1), t2) && a2.push(F))), u && a2.push(Er(e, t2, r, "body")), i && a2.push(J(e, t2)), a2;
}
@@ -16801,29 +16079,24 @@ Expected it to be ${n}.`;
}
function wt(e, t2, r, n) {
let { node: s } = e;
- if (!s[n])
- return "";
- if (!Array.isArray(s[n]))
- return r(n);
+ if (!s[n]) return "";
+ if (!Array.isArray(s[n])) return r(n);
let u = kt(e.grandparent), i = e.match((p) => !(p[n].length === 1 && Me(p[n][0])), void 0, (p, y) => y === "typeAnnotation", (p) => p.type === "Identifier", Ts);
- if (s[n].length === 0 || !i && (u || s[n].length === 1 && (s[n][0].type === "NullableTypeAnnotation" || xs(s[n][0]))))
- return ["<", b(", ", e.map(r, n)), vl(e, t2), ">"];
+ if (s[n].length === 0 || !i && (u || s[n].length === 1 && (s[n][0].type === "NullableTypeAnnotation" || xs(s[n][0])))) return ["<", b(", ", e.map(r, n)), vl(e, t2), ">"];
let o = s.type === "TSTypeParameterInstantiation" ? "" : _l(e, t2, n) ? "," : oe(t2) ? B(",") : "";
return l(["<", f2([E, b([",", x], e.map(r, n))]), o, E, ">"], { id: Fr(s) });
}
function vl(e, t2) {
let { node: r } = e;
- if (!T(r, h.Dangling))
- return "";
+ if (!T(r, h.Dangling)) return "";
let n = !T(r, h.Line), s = J(e, t2, { indent: !n });
return n ? s : [s, F];
}
function Tn(e, t2, r) {
let { node: n, parent: s } = e, u = [n.const ? "const " : ""], i = n.type === "TSTypeParameter" ? r("name") : n.name;
- if (s.type === "TSMappedType")
- return s.readonly && u.push(Ss(s.readonly, "readonly"), " "), u.push("[", i), n.constraint && u.push(" in ", r("constraint")), s.nameType && u.push(" as ", e.callParent(() => r("nameType"))), u.push("]"), u;
+ if (s.type === "TSMappedType") return s.readonly && u.push(Ss(s.readonly, "readonly"), " "), u.push("[", i), n.constraint && u.push(" in ", r("constraint")), s.nameType && u.push(" as ", e.callParent(() => r("nameType"))), u.push("]"), u;
if (n.variance && u.push(r("variance")), n.in && u.push("in "), n.out && u.push("out "), u.push(i), n.bound && (n.usesExtendsBound && u.push(" extends "), u.push(H(e, r, "bound"))), n.constraint) {
- let a2 = Symbol("constraint");
+ let a2 = /* @__PURE__ */ Symbol("constraint");
u.push(" extends", l(f2(x), { id: a2 }), ve, dt(r("constraint"), { groupId: a2 }));
}
return n.default && u.push(" = ", r("default")), l(u);
@@ -16834,15 +16107,13 @@ Expected it to be ${n}.`;
if (n.id && i.push(" ", r("id")), i.push(r("typeParameters")), n.superClass) {
let y = [Ml(e, t2, r), r(n.superTypeArguments ? "superTypeArguments" : "superTypeParameters")], D = e.call((m) => ["extends ", ye(m, y, t2)], "superClass");
u ? a2.push(x, l(D)) : a2.push(" ", D);
- } else
- a2.push(Bs(e, t2, r, "extends"));
+ } else a2.push(Bs(e, t2, r, "extends"));
a2.push(Bs(e, t2, r, "mixins"), Bs(e, t2, r, "implements"));
let o;
if (u) {
let y;
sa(n) ? y = [...i, f2(a2)] : y = f2([...i, a2]), o = ra(n), s.push(l(y, { id: o }));
- } else
- s.push(...i, ...a2);
+ } else s.push(...i, ...a2);
let p = n.body;
return u && O(p.body) ? s.push(B(F, " ", { groupId: o })) : s.push(" "), s.push(r("body")), s;
}
@@ -16858,8 +16129,7 @@ Expected it to be ${n}.`;
}
function Bs(e, t2, r, n) {
let { node: s } = e;
- if (!O(s[n]))
- return "";
+ if (!O(s[n])) return "";
let u = J(e, t2, { marker: n });
return [sa(s) ? B(" ", x, { groupId: Fr(s.typeParameters) }) : x, u, u && F, n, l(f2([x, b([",", x], e.map(r, n))]))];
}
@@ -16886,17 +16156,13 @@ Expected it to be ${n}.`;
function Rl(e, t2) {
var s;
let { type: r, name: n } = e.key;
- if (!e.computed && r === "Identifier" && (n === "static" || n === "get" || n === "set") && !e.value && !e.typeAnnotation)
- return true;
- if (!t2 || t2.static || t2.accessibility || t2.readonly)
- return false;
+ if (!e.computed && r === "Identifier" && (n === "static" || n === "get" || n === "set") && !e.value && !e.typeAnnotation) return true;
+ if (!t2 || t2.static || t2.accessibility || t2.readonly) return false;
if (!t2.computed) {
let u = (s = t2.key) == null ? void 0 : s.name;
- if (u === "in" || u === "instanceof")
- return true;
+ if (u === "in" || u === "instanceof") return true;
}
- if (ta(t2) && t2.variance && !t2.static && !t2.declare)
- return true;
+ if (ta(t2) && t2.variance && !t2.static && !t2.declare) return true;
switch (t2.type) {
case "ClassProperty":
case "PropertyDefinition":
@@ -16906,8 +16172,7 @@ Expected it to be ${n}.`;
case "TSAbstractMethodDefinition":
case "ClassMethod":
case "ClassPrivateMethod": {
- if ((t2.value ? t2.value.async : t2.async) || t2.kind === "get" || t2.kind === "set")
- return false;
+ if ((t2.value ? t2.value.async : t2.async) || t2.kind === "get" || t2.kind === "set") return false;
let i = t2.value ? t2.value.generator : t2.generator;
return !!(t2.computed || i);
}
@@ -16925,8 +16190,7 @@ Expected it to be ${n}.`;
return e.type === "MemberExpression" || e.type === "OptionalMemberExpression" || e.type === "Identifier" && e.name !== "undefined";
}
function oa(e, t2) {
- if (t2.semi || Ps(e, t2) || ks(e, t2))
- return false;
+ if (t2.semi || Ps(e, t2) || ks(e, t2)) return false;
let { node: r, key: n, parent: s } = e;
return !!(r.type === "ExpressionStatement" && (n === "body" && (s.type === "Program" || s.type === "BlockStatement" || s.type === "StaticBlock" || s.type === "TSModuleBlock") || n === "consequent" && s.type === "SwitchCase") && e.call(() => pa(e, t2), "expression"));
}
@@ -16942,26 +16206,21 @@ Expected it to be ${n}.`;
case "RegExpLiteral":
return true;
case "ArrowFunctionExpression":
- if (!Fn(e, t2))
- return true;
+ if (!Fn(e, t2)) return true;
break;
case "UnaryExpression": {
let { prefix: n, operator: s } = r;
- if (n && (s === "+" || s === "-"))
- return true;
+ if (n && (s === "+" || s === "-")) return true;
break;
}
case "BindExpression":
- if (!r.object)
- return true;
+ if (!r.object) return true;
break;
case "Literal":
- if (r.regex)
- return true;
+ if (r.regex) return true;
break;
default:
- if (X(r))
- return true;
+ if (X(r)) return true;
}
return ke(e, t2) ? true : Rt(r) ? e.call(() => pa(e, t2), ...kr(r)) : false;
}
@@ -16976,15 +16235,13 @@ Expected it to be ${n}.`;
if (ks(e, t2)) {
let s = bs(e.node.expression);
(ia(s) || aa(s)) && n.push(";");
- } else
- Ps(e, t2) || t2.semi && n.push(";");
+ } else Ps(e, t2) || t2.semi && n.push(";");
return n;
}
function la(e, t2, r) {
if (t2.__isVueBindings || t2.__isVueForBindingLeft) {
let n = e.map(r, "program", "body", 0, "params");
- if (n.length === 1)
- return n[0];
+ if (n.length === 1) return n[0];
let s = b([",", x], n);
return t2.__isVueForBindingLeft ? ["(", f2([E, l(s)]), E, ")"] : s;
}
@@ -17011,18 +16268,15 @@ Expected it to be ${n}.`;
case "DirectiveLiteral":
return ya(r.extra.raw, t2);
case "Literal": {
- if (r.regex)
- return ma(r.regex);
- if (r.bigint)
- return gn(r.raw);
+ if (r.regex) return ma(r.regex);
+ if (r.bigint) return gn(r.raw);
let { value: n } = r;
return typeof n == "number" ? ft(r.raw) : typeof n == "string" ? ql(e) ? ya(r.raw, t2) : _e(rt(r.raw, t2)) : String(n);
}
}
}
function ql(e) {
- if (e.key !== "expression")
- return;
+ if (e.key !== "expression") return;
let { parent: t2 } = e;
return t2.type === "ExpressionStatement" && t2.directive;
}
@@ -17034,20 +16288,17 @@ Expected it to be ${n}.`;
}
function ya(e, t2) {
let r = e.slice(1, -1);
- if (r.includes('"') || r.includes("'"))
- return e;
+ if (r.includes('"') || r.includes("'")) return e;
let n = t2.singleQuote ? "'" : '"';
return n + r + n;
}
function Wl(e, t2, r) {
let n = e.originalText.slice(t2, r);
- for (let s of e[Symbol.for("comments")]) {
+ for (let s of e[/* @__PURE__ */ Symbol.for("comments")]) {
let u = q(s);
- if (u > r)
- break;
+ if (u > r) break;
let i = k(s);
- if (i < t2)
- continue;
+ if (i < t2) continue;
let a2 = i - u;
n = n.slice(0, u - t2) + " ".repeat(a2) + n.slice(i - t2);
}
@@ -17078,29 +16329,23 @@ Expected it to be ${n}.`;
}
function Fa(e, t2, r) {
let { node: n } = e;
- if (!n.source)
- return "";
+ if (!n.source) return "";
let s = [];
return Aa(n, t2) && s.push(" from"), s.push(" ", r("source")), s;
}
function Ca(e, t2, r) {
let { node: n } = e;
- if (!Aa(n, t2))
- return "";
+ if (!Aa(n, t2)) return "";
let s = [" "];
if (O(n.specifiers)) {
let u = [], i = [];
e.each(() => {
let a2 = e.node.type;
- if (a2 === "ExportNamespaceSpecifier" || a2 === "ExportDefaultSpecifier" || a2 === "ImportNamespaceSpecifier" || a2 === "ImportDefaultSpecifier")
- u.push(r());
- else if (a2 === "ExportSpecifier" || a2 === "ImportSpecifier")
- i.push(r());
- else
- throw new qe(n, "specifier");
+ if (a2 === "ExportNamespaceSpecifier" || a2 === "ExportDefaultSpecifier" || a2 === "ImportNamespaceSpecifier" || a2 === "ImportDefaultSpecifier") u.push(r());
+ else if (a2 === "ExportSpecifier" || a2 === "ImportSpecifier") i.push(r());
+ else throw new qe(n, "specifier");
}, "specifiers"), s.push(b(", ", u)), i.length > 0 && (u.length > 0 && s.push(", "), i.length > 1 || u.length > 0 || n.specifiers.some((o) => T(o)) ? s.push(l(["{", f2([t2.bracketSpacing ? x : E, b([",", x], i)]), B(oe(t2) ? "," : ""), t2.bracketSpacing ? x : E, "}"])) : s.push(["{", t2.bracketSpacing ? " " : "", ...i, t2.bracketSpacing ? " " : "", "}"]));
- } else
- s.push("{}");
+ } else s.push("{}");
return s;
}
function Aa(e, t2) {
@@ -17108,18 +16353,15 @@ Expected it to be ${n}.`;
}
function Nl(e, t2) {
var n, s;
- if ((n = e.extra) != null && n.deprecatedAssertSyntax)
- return "assert";
+ if ((n = e.extra) != null && n.deprecatedAssertSyntax) return "assert";
let r = Is2(t2, k(e.source), (s = e.attributes) != null && s[0] ? q(e.attributes[0]) : k(e)).trimStart();
return r.startsWith("assert") ? "assert" : r.startsWith("with") || O(e.attributes) ? "with" : void 0;
}
function Ta(e, t2, r) {
let { node: n } = e;
- if (!n.source)
- return "";
+ if (!n.source) return "";
let s = Nl(n, t2);
- if (!s)
- return "";
+ if (!s) return "";
let u = [` ${s} {`];
return O(n.attributes) && (t2.bracketSpacing && u.push(" "), u.push(b(", ", e.map(r, "attributes"))), t2.bracketSpacing && u.push(" ")), u.push("}"), u;
}
@@ -17128,13 +16370,10 @@ Expected it to be ${n}.`;
return s === "ExportNamespaceSpecifier" || s === "ImportNamespaceSpecifier" ? y = "*" : o && (y = r(i)), p && !Xl(n) && (D = r(a2)), [Ls(s === "ImportSpecifier" ? n.importKind : n.exportKind, false), y, y && D ? " as " : "", D];
}
function Xl(e) {
- if (e.type !== "ImportSpecifier" && e.type !== "ExportSpecifier")
- return false;
+ if (e.type !== "ImportSpecifier" && e.type !== "ExportSpecifier") return false;
let { local: t2, [e.type === "ImportSpecifier" ? "imported" : "exported"]: r } = e;
- if (t2.type !== r.type || !nu(t2, r))
- return false;
- if (te(t2))
- return t2.value === r.value && fe(t2) === fe(r);
+ if (t2.type !== r.type || !nu(t2, r)) return false;
+ if (te(t2)) return t2.value === r.value && fe(t2) === fe(r);
switch (t2.type) {
case "Identifier":
return t2.name === r.name;
@@ -17157,17 +16396,14 @@ Expected it to be ${n}.`;
if (T(s, h.Dangling)) {
let U = T(s, h.Line);
I = [J(e, t2), U || Z(t2.originalText, k(M(false, ct(s), -1))) ? F : x, "..."];
- } else
- I = ["..."];
+ } else I = ["..."];
S.push([...d, ...I]);
}
let g = (j = M(false, o, -1)) == null ? void 0 : j.node, _2 = !(s.inexact || s.hasUnknownMembers || g && (g.type === "RestElement" || (g.type === "TSPropertySignature" || g.type === "TSCallSignatureDeclaration" || g.type === "TSMethodSignature" || g.type === "TSConstructSignatureDeclaration") && T(g, h.PrettierIgnore))), v;
if (S.length === 0) {
- if (!T(s, h.Dangling))
- return [c, A2, H(e, r)];
+ if (!T(s, h.Dangling)) return [c, A2, H(e, r)];
v = l([c, J(e, t2, { indent: true }), E, A2, $(e), H(e, r)]);
- } else
- v = [D && O(s.properties) ? na(p) : "", c, f2([t2.bracketSpacing ? x : E, ...S]), B(_2 && (C !== "," || oe(t2)) ? C : ""), t2.bracketSpacing ? x : E, A2, $(e), H(e, r)];
+ } else v = [D && O(s.properties) ? na(p) : "", c, f2([t2.bracketSpacing ? x : E, ...S]), B(_2 && (C !== "," || oe(t2)) ? C : ""), t2.bracketSpacing ? x : E, A2, $(e), H(e, r)];
return e.match((I) => I.type === "ObjectPattern" && !O(I.decorators), Os) || Me(s) && (e.match(void 0, (I, U) => U === "typeAnnotation", (I, U) => U === "typeAnnotation", Os) || e.match(void 0, (I, U) => I.type === "FunctionTypeParam" && U === "typeAnnotation", Os)) || !m && e.match((I) => I.type === "ObjectPattern", (I) => I.type === "AssignmentExpression" || I.type === "VariableDeclarator") ? v : l(v, { shouldBreak: m });
}
function Os(e, t2) {
@@ -17179,8 +16415,7 @@ Expected it to be ${n}.`;
let n = t2[r];
for (let s of ["test", "consequent", "alternate"]) {
let u = n[s];
- if (X(u))
- return true;
+ if (X(u)) return true;
u.type === "ConditionalExpression" && t2.push(u);
}
}
@@ -17193,8 +16428,7 @@ Expected it to be ${n}.`;
var $l = /* @__PURE__ */ new Map([["AssignmentExpression", "right"], ["VariableDeclarator", "init"], ["ReturnStatement", "argument"], ["ThrowStatement", "argument"], ["UnaryExpression", "argument"], ["YieldExpression", "argument"], ["AwaitExpression", "argument"]]);
function Kl(e) {
let { node: t2 } = e;
- if (t2.type !== "ConditionalExpression")
- return false;
+ if (t2.type !== "ConditionalExpression") return false;
let r, n = t2;
for (let s = 0; !r; s++) {
let u = e.getParentNode(s);
@@ -17232,8 +16466,7 @@ Expected it to be ${n}.`;
var Zl = /* @__PURE__ */ new Map([["AssignmentExpression", "right"], ["VariableDeclarator", "init"], ["ReturnStatement", "argument"], ["ThrowStatement", "argument"], ["UnaryExpression", "argument"], ["YieldExpression", "argument"], ["AwaitExpression", "argument"]]);
function em(e) {
let { node: t2 } = e;
- if (t2.type !== "ConditionalExpression")
- return false;
+ if (t2.type !== "ConditionalExpression") return false;
let r, n = t2;
for (let s = 0; !r; s++) {
let u = e.getParentNode(s);
@@ -17247,8 +16480,7 @@ Expected it to be ${n}.`;
}
var _s = (e) => [B("("), f2([E, e]), E, B(")")];
function Kt(e, t2, r, n) {
- if (!t2.experimentalTernaries)
- return xa(e, t2, r);
+ if (!t2.experimentalTernaries) return xa(e, t2, r);
let { node: s } = e, u = s.type === "ConditionalExpression", i = s.type === "TSConditionalType" || s.type === "ConditionalTypeAnnotation", a2 = u ? "consequent" : "trueType", o = u ? "alternate" : "falseType", p = u ? ["test"] : ["checkType", "extendsType"], y = s[a2], D = s[o], m = p.map((Ue) => s[Ue]), { parent: C } = e, c = C.type === s.type, A2 = c && p.some((Ue) => C[Ue] === s), d = c && C[o] === s, S = y.type === s.type, g = D.type === s.type, _2 = g || d, v = t2.tabWidth > 2 || t2.useTabs, j, I, U = 0;
do
I = j || s, j = e.getParentNode(U), U++;
@@ -17263,14 +16495,13 @@ Expected it to be ${n}.`;
}, "test"), !g && T(D, h.Dangling) && e.call((Ue) => {
zt.push(J(Ue, t2));
}, "alternate"), T(s, h.Dangling) && zt.push(J(e, t2));
- let Rs = Symbol("test"), Ga = Symbol("consequent"), Cr = Symbol("test-and-consequent"), Ua = u ? [_s(r("test")), s.test.type === "ConditionalExpression" ? Ee : ""] : [r("checkType"), " ", "extends", " ", s.extendsType.type === "TSConditionalType" || s.extendsType.type === "ConditionalTypeAnnotation" || s.extendsType.type === "TSMappedType" ? r("extendsType") : l(_s(r("extendsType")))], Js = l([Ua, " ?"], { id: Rs }), Ya = r(a2), Ar = f2([S || Q && (X(y) || c || _2) ? F : x, Ms, Ya]), Na = Bt ? l([Js, _2 ? Ar : B(Ar, l(Ar, { id: Ga }), { groupId: Rs })], { id: Cr }) : [Js, Ar], In = r(o), qs = ot ? B(In, Rr(_s(In)), { groupId: Cr }) : In, Zt = [Na, zt.length > 0 ? [f2([F, zt]), F] : g ? F : ot ? B(x, " ", { groupId: Cr }) : x, ":", g ? " " : v ? Bt ? B(ne, B(_2 || ot ? " " : ne, " "), { groupId: Cr }) : B(ne, " ") : " ", g ? qs : l([f2(qs), Q && !ot ? E : ""]), Ft && !St ? E : "", xe ? Ee : ""];
+ let Rs = /* @__PURE__ */ Symbol("test"), Ga = /* @__PURE__ */ Symbol("consequent"), Cr = /* @__PURE__ */ Symbol("test-and-consequent"), Ua = u ? [_s(r("test")), s.test.type === "ConditionalExpression" ? Ee : ""] : [r("checkType"), " ", "extends", " ", s.extendsType.type === "TSConditionalType" || s.extendsType.type === "ConditionalTypeAnnotation" || s.extendsType.type === "TSMappedType" ? r("extendsType") : l(_s(r("extendsType")))], Js = l([Ua, " ?"], { id: Rs }), Ya = r(a2), Ar = f2([S || Q && (X(y) || c || _2) ? F : x, Ms, Ya]), Na = Bt ? l([Js, _2 ? Ar : B(Ar, l(Ar, { id: Ga }), { groupId: Rs })], { id: Cr }) : [Js, Ar], In = r(o), qs = ot ? B(In, Rr(_s(In)), { groupId: Cr }) : In, Zt = [Na, zt.length > 0 ? [f2([F, zt]), F] : g ? F : ot ? B(x, " ", { groupId: Cr }) : x, ":", g ? " " : v ? Bt ? B(ne, B(_2 || ot ? " " : ne, " "), { groupId: Cr }) : B(ne, " ") : " ", g ? qs : l([f2(qs), Q && !ot ? E : ""]), Ft && !St ? E : "", xe ? Ee : ""];
return G && !xe ? l(f2([E, l(Zt)])) : G || ue ? l(f2(Zt)) : St || i && A2 ? l([f2([E, Zt]), w ? E : ""]) : C === P ? l(Zt) : Zt;
}
function ha(e, t2, r, n) {
var _a2;
let { node: s } = e;
- if (Ir(s))
- return Da(e, t2);
+ if (Ir(s)) return Da(e, t2);
let u = t2.semi ? ";" : "", i = [];
switch (s.type) {
case "JsExpressionRoot":
@@ -17326,8 +16557,7 @@ Expected it to be ${n}.`;
if (L(a2) && a2.callee === s || W(a2) && a2.object === s) {
i = [f2([E, ...i]), E];
let o = e.findAncestor((p) => p.type === "AwaitExpression" || p.type === "BlockStatement");
- if ((o == null ? void 0 : o.type) !== "AwaitExpression" || !ae(o.argument, (p) => p === s))
- return l(i);
+ if ((o == null ? void 0 : o.type) !== "AwaitExpression" || !ae(o.argument, (p) => p === s)) return l(i);
}
}
return i;
@@ -17514,8 +16744,7 @@ Expected it to be ${n}.`;
}
function tm(e, t2, r) {
let { node: n } = e, s = n.params;
- if (n.rest && (s = [...s, n.rest]), s.length === 0)
- return ["(", J(e, r, { filter: (i) => be(r.originalText, k(i)) === ")" }), ")"];
+ if (n.rest && (s = [...s, n.rest]), s.length === 0) return ["(", J(e, r, { filter: (i) => be(r.originalText, k(i)) === ")" }), ")"];
let u = [];
return nm(e, (i, a2) => {
let o = a2 === s.length - 1;
@@ -17549,24 +16778,23 @@ Expected it to be ${n}.`;
}
function Pa(e, t2, r) {
let { node: n } = e, s;
- if (n.type === "EnumSymbolBody" || n.explicitType)
- switch (n.type) {
- case "EnumBooleanBody":
- s = "boolean";
- break;
- case "EnumNumberBody":
- s = "number";
- break;
- case "EnumBigIntBody":
- s = "bigint";
- break;
- case "EnumStringBody":
- s = "string";
- break;
- case "EnumSymbolBody":
- s = "symbol";
- break;
- }
+ if (n.type === "EnumSymbolBody" || n.explicitType) switch (n.type) {
+ case "EnumBooleanBody":
+ s = "boolean";
+ break;
+ case "EnumNumberBody":
+ s = "number";
+ break;
+ case "EnumBigIntBody":
+ s = "bigint";
+ break;
+ case "EnumStringBody":
+ s = "string";
+ break;
+ case "EnumSymbolBody":
+ s = "symbol";
+ break;
+ }
return [s ? `of ${s} ` : "", ba(e, t2, r)];
}
function Pn(e, t2, r) {
@@ -17603,8 +16831,7 @@ Expected it to be ${n}.`;
function Oa(e, t2, r) {
var _a2, _b, _c2;
let { node: n } = e;
- if (Br(n))
- return n.type.slice(0, -14).toLowerCase();
+ if (Br(n)) return n.type.slice(0, -14).toLowerCase();
let s = t2.semi ? ";" : "";
switch (n.type) {
case "ComponentDeclaration":
@@ -17757,10 +16984,8 @@ Expected it to be ${n}.`;
function _a(e, t2, r) {
var i;
let { node: n } = e;
- if (!n.type.startsWith("TS"))
- return;
- if (br(n))
- return n.type.slice(2, -7).toLowerCase();
+ if (!n.type.startsWith("TS")) return;
+ if (br(n)) return n.type.slice(2, -7).toLowerCase();
let s = t2.semi ? ";" : "", u = [];
switch (n.type) {
case "TSThisType":
@@ -17892,12 +17117,10 @@ Expected it to be ${n}.`;
}
}
function sm(e, t2, r, n) {
- if (Hr(e))
- return yi(e, t2);
+ if (Hr(e)) return yi(e, t2);
for (let s of [hi, Ai, Oa, _a, ha]) {
let u = s(e, t2, r, n);
- if (u !== void 0)
- return u;
+ if (u !== void 0) return u;
}
}
var um = R(["ClassMethod", "ClassPrivateMethod", "ClassProperty", "ClassAccessorProperty", "AccessorProperty", "TSAbstractAccessorProperty", "PropertyDefinition", "TSAbstractPropertyDefinition", "ClassPrivateProperty", "MethodDefinition", "TSAbstractMethodDefinition", "TSDeclareMethod"]);
@@ -17905,14 +17128,11 @@ Expected it to be ${n}.`;
var D;
e.isRoot && ((D = t2.__onHtmlBindingRoot) == null || D.call(t2, e.node, t2));
let s = sm(e, t2, r, n);
- if (!s)
- return "";
+ if (!s) return "";
let { node: u } = e;
- if (um(u))
- return s;
+ if (um(u)) return s;
let i = O(u.decorators), a2 = Si(e, t2, r), o = u.type === "ClassExpression";
- if (i && !o)
- return pr(s, (m) => l([a2, m]));
+ if (i && !o) return pr(s, (m) => l([a2, m]));
let p = ke(e, t2), y = oa(e, t2);
return !a2 && !p && !y ? s : pr(s, (m) => [y ? ";" : "", p ? "(" : "", p && o && i ? [f2([x, a2, m]), x] : [a2, m], p ? ")" : ""]);
}
@@ -17929,8 +17149,7 @@ Expected it to be ${n}.`;
case "JsonRoot":
return [r("node"), F];
case "ArrayExpression": {
- if (n.elements.length === 0)
- return "[]";
+ if (n.elements.length === 0) return "[]";
let s = e.map(() => e.node === null ? "null" : r(), "elements");
return ["[", f2([F, b([",", F], s)]), F, "]"];
}
@@ -17969,15 +17188,12 @@ Expected it to be ${n}.`;
n.type === "Identifier" ? t2.key = { type: "StringLiteral", value: n.name } : n.type === "NumericLiteral" && (t2.key = { type: "StringLiteral", value: String(n.value) });
return;
}
- if (r === "UnaryExpression" && e.operator === "+")
- return t2.argument;
+ if (r === "UnaryExpression" && e.operator === "+") return t2.argument;
if (r === "ArrayExpression") {
- for (let [n, s] of e.elements.entries())
- s === null && t2.elements.splice(n, 0, { type: "NullLiteral" });
+ for (let [n, s] of e.elements.entries()) s === null && t2.elements.splice(n, 0, { type: "NullLiteral" });
return;
}
- if (r === "TemplateLiteral")
- return { type: "StringLiteral", value: e.quasis[0].value.cooked };
+ if (r === "TemplateLiteral") return { type: "StringLiteral", value: e.quasis[0].value.cooked };
}
qa.ignoredProperties = lm;
var Qt = { bracketSpacing: { category: "Common", type: "boolean", default: true, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, objectWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap object literals.", choices: [{ value: "preserve", description: "Keep as multi-line, if there is a newline between the opening brace and first property." }, { value: "collapse", description: "Fit to a single line when possible." }] }, singleQuote: { category: "Common", type: "boolean", default: false, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: false, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: false, description: "Enforce single attribute per line in HTML, Vue and JSX." } };
@@ -17996,10 +17212,8 @@ var require_standalone = __commonJS({
var o = t2();
return o.default || o;
}
- if (typeof exports == "object" && typeof module == "object")
- module.exports = e();
- else if (typeof define == "function" && define.amd)
- define(e);
+ if (typeof exports == "object" && typeof module == "object") module.exports = e();
+ else if (typeof define == "function" && define.amd) define(e);
else {
var f2 = typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : typeof self < "u" ? self : this || {};
f2.prettier = e();
@@ -18015,12 +17229,9 @@ var require_standalone = __commonJS({
throw TypeError(e);
};
var dr = (e, t2) => () => (t2 || e((t2 = { exports: {} }).exports, t2), t2.exports), vt = (e, t2) => {
- for (var r in t2)
- Me(e, r, { get: t2[r], enumerable: true });
+ for (var r in t2) Me(e, r, { get: t2[r], enumerable: true });
}, pr = (e, t2, r, n) => {
- if (t2 && typeof t2 == "object" || typeof t2 == "function")
- for (let u of Bu(t2))
- !_u.call(e, u) && u !== r && Me(e, u, { get: () => t2[u], enumerable: !(n = vu(t2, u)) || n.enumerable });
+ if (t2 && typeof t2 == "object" || typeof t2 == "function") for (let u of Bu(t2)) !_u.call(e, u) && u !== r && Me(e, u, { get: () => t2[u], enumerable: !(n = vu(t2, u)) || n.enumerable });
return e;
};
var Ve = (e, t2, r) => (r = e != null ? Au(wu(e)) : {}, pr(t2 || !e || !e.__esModule ? Me(r, "default", { value: e, enumerable: true }) : r, e)), xu = (e) => pr(Me({}, "__esModule", { value: true }), e);
@@ -18043,23 +17254,19 @@ var require_standalone = __commonJS({
let n = Object.assign({ column: 0, line: -1 }, e.start), u = Object.assign({}, n, e.end), { linesAbove: i = 2, linesBelow: o = 3 } = r || {}, s = n.line, a2 = n.column, D = u.line, l = u.column, p = Math.max(s - (i + 1), 0), f2 = Math.min(t2.length, D + o);
s === -1 && (p = 0), D === -1 && (f2 = t2.length);
let d = D - s, c = {};
- if (d)
- for (let F = 0; F <= d; F++) {
- let m = F + s;
- if (!a2)
- c[m] = true;
- else if (F === 0) {
- let h = t2[m - 1].length;
- c[m] = [a2, h - a2 + 1];
- } else if (F === d)
- c[m] = [0, l];
- else {
- let h = t2[m - F].length;
- c[m] = [0, h];
- }
+ if (d) for (let F = 0; F <= d; F++) {
+ let m = F + s;
+ if (!a2) c[m] = true;
+ else if (F === 0) {
+ let h = t2[m - 1].length;
+ c[m] = [a2, h - a2 + 1];
+ } else if (F === d) c[m] = [0, l];
+ else {
+ let h = t2[m - F].length;
+ c[m] = [0, h];
}
- else
- a2 === l ? a2 ? c[s] = [a2, 0] : c[s] = true : c[s] = [a2, l - a2];
+ }
+ else a2 === l ? a2 ? c[s] = [a2, 0] : c[s] = true : c[s] = [a2, l - a2];
return { start: p, end: f2, markerLines: c };
}
function xi(e, t2, r = {}) {
@@ -18073,8 +17280,7 @@ var require_standalone = __commonJS({
`, u.gutter(h.replace(/\d/g, " ")), " ", g, u.marker("^").repeat(j)].join(""), v && r.message && (E += " " + u.message(r.message));
}
return [u.marker(">"), u.gutter(h), d.length > 0 ? ` ${d}` : "", E].join("");
- } else
- return ` ${u.gutter(h)}${d.length > 0 ? ` ${d}` : ""}`;
+ } else return ` ${u.gutter(h)}${d.length > 0 ? ` ${d}` : ""}`;
}).join(`
`);
return r.message && !D && (f2 = `${" ".repeat(l + 1)}${r.message}
@@ -18085,8 +17291,7 @@ ${f2}`), f2;
var co = {};
vt(co, { __debug: () => lo, check: () => ao, doc: () => Dr, format: () => yu, formatWithCursor: () => gu, getSupportInfo: () => Do, util: () => cr, version: () => cu });
var Nu = (e, t2, r, n) => {
- if (!(e && t2 == null))
- return t2.replaceAll ? t2.replaceAll(r, n) : r.global ? t2.replace(r, n) : t2.split(r).join(n);
+ if (!(e && t2 == null)) return t2.replaceAll ? t2.replaceAll(r, n) : r.global ? t2.replace(r, n) : t2.split(r).join(n);
}, ne = Nu;
function U() {
}
@@ -18103,8 +17308,7 @@ ${f2}`), f2;
var a2 = r.length, D = t2.length, l = 1, p = a2 + D;
u.maxEditLength != null && (p = Math.min(p, u.maxEditLength));
var f2 = (n = u.timeout) !== null && n !== void 0 ? n : 1 / 0, d = Date.now() + f2, c = [{ oldPos: -1, lastComponent: void 0 }], F = this.extractCommon(c[0], r, t2, 0, u);
- if (c[0].oldPos + 1 >= D && F + 1 >= a2)
- return s(mr(o, c[0].lastComponent, r, t2, o.useLongestToken));
+ if (c[0].oldPos + 1 >= D && F + 1 >= a2) return s(mr(o, c[0].lastComponent, r, t2, o.useLongestToken));
var m = -1 / 0, h = 1 / 0;
function C() {
for (var E = Math.max(m, -l); E <= Math.min(h, l); E += 2) {
@@ -18120,38 +17324,31 @@ ${f2}`), f2;
c[E] = void 0;
continue;
}
- if (!$e || X && j.oldPos < b.oldPos ? g = o.addToPath(b, true, false, 0, u) : g = o.addToPath(j, false, true, 1, u), F = o.extractCommon(g, r, t2, E, u), g.oldPos + 1 >= D && F + 1 >= a2)
- return s(mr(o, g.lastComponent, r, t2, o.useLongestToken));
+ if (!$e || X && j.oldPos < b.oldPos ? g = o.addToPath(b, true, false, 0, u) : g = o.addToPath(j, false, true, 1, u), F = o.extractCommon(g, r, t2, E, u), g.oldPos + 1 >= D && F + 1 >= a2) return s(mr(o, g.lastComponent, r, t2, o.useLongestToken));
c[E] = g, g.oldPos + 1 >= D && (h = Math.min(h, E - 1)), F + 1 >= a2 && (m = Math.max(m, E + 1));
}
l++;
}
- if (i)
- (function E() {
- setTimeout(function() {
- if (l > p || Date.now() > d)
- return i();
- C() || E();
- }, 0);
- })();
- else
- for (; l <= p && Date.now() <= d; ) {
- var v = C();
- if (v)
- return v;
- }
+ if (i) (function E() {
+ setTimeout(function() {
+ if (l > p || Date.now() > d) return i();
+ C() || E();
+ }, 0);
+ })();
+ else for (; l <= p && Date.now() <= d; ) {
+ var v = C();
+ if (v) return v;
+ }
}, addToPath: function(t2, r, n, u, i) {
var o = t2.lastComponent;
return o && !i.oneChangePerToken && o.added === r && o.removed === n ? { oldPos: t2.oldPos + u, lastComponent: { count: o.count + 1, added: r, removed: n, previousComponent: o.previousComponent } } : { oldPos: t2.oldPos + u, lastComponent: { count: 1, added: r, removed: n, previousComponent: o } };
}, extractCommon: function(t2, r, n, u, i) {
- for (var o = r.length, s = n.length, a2 = t2.oldPos, D = a2 - u, l = 0; D + 1 < o && a2 + 1 < s && this.equals(n[a2 + 1], r[D + 1], i); )
- D++, a2++, l++, i.oneChangePerToken && (t2.lastComponent = { count: 1, previousComponent: t2.lastComponent, added: false, removed: false });
+ for (var o = r.length, s = n.length, a2 = t2.oldPos, D = a2 - u, l = 0; D + 1 < o && a2 + 1 < s && this.equals(n[a2 + 1], r[D + 1], i); ) D++, a2++, l++, i.oneChangePerToken && (t2.lastComponent = { count: 1, previousComponent: t2.lastComponent, added: false, removed: false });
return l && !i.oneChangePerToken && (t2.lastComponent = { count: l, previousComponent: t2.lastComponent, added: false, removed: false }), t2.oldPos = a2, D;
}, equals: function(t2, r, n) {
return n.comparator ? n.comparator(t2, r) : t2 === r || n.ignoreCase && t2.toLowerCase() === r.toLowerCase();
}, removeEmpty: function(t2) {
- for (var r = [], n = 0; n < t2.length; n++)
- t2[n] && r.push(t2[n]);
+ for (var r = [], n = 0; n < t2.length; n++) t2[n] && r.push(t2[n]);
return r;
}, castInput: function(t2) {
return t2;
@@ -18163,13 +17360,11 @@ ${f2}`), f2;
return t2;
} };
function mr(e, t2, r, n, u) {
- for (var i = [], o; t2; )
- i.push(t2), o = t2.previousComponent, delete t2.previousComponent, t2 = o;
+ for (var i = [], o; t2; ) i.push(t2), o = t2.previousComponent, delete t2.previousComponent, t2 = o;
i.reverse();
for (var s = 0, a2 = i.length, D = 0, l = 0; s < a2; s++) {
var p = i[s];
- if (p.removed)
- p.value = e.join(n.slice(l, l + p.count)), l += p.count;
+ if (p.removed) p.value = e.join(n.slice(l, l + p.count)), l += p.count;
else {
if (!p.added && u) {
var f2 = r.slice(D, D + p.count);
@@ -18177,8 +17372,7 @@ ${f2}`), f2;
var F = n[l + c];
return F.length > d.length ? F : d;
}), p.value = e.join(f2);
- } else
- p.value = e.join(r.slice(D, D + p.count));
+ } else p.value = e.join(r.slice(D, D + p.count));
D += p.count, p.added || (l += p.count);
}
}
@@ -18187,30 +17381,22 @@ ${f2}`), f2;
var ho = new U();
function hr(e, t2) {
var r;
- for (r = 0; r < e.length && r < t2.length; r++)
- if (e[r] != t2[r])
- return e.slice(0, r);
+ for (r = 0; r < e.length && r < t2.length; r++) if (e[r] != t2[r]) return e.slice(0, r);
return e.slice(0, r);
}
function Er(e, t2) {
var r;
- if (!e || !t2 || e[e.length - 1] != t2[t2.length - 1])
- return "";
- for (r = 0; r < e.length && r < t2.length; r++)
- if (e[e.length - (r + 1)] != t2[t2.length - (r + 1)])
- return e.slice(-r);
+ if (!e || !t2 || e[e.length - 1] != t2[t2.length - 1]) return "";
+ for (r = 0; r < e.length && r < t2.length; r++) if (e[e.length - (r + 1)] != t2[t2.length - (r + 1)]) return e.slice(-r);
return e.slice(-r);
}
function Bt(e, t2, r) {
- if (e.slice(0, t2.length) != t2)
- throw Error("string ".concat(JSON.stringify(e), " doesn't start with prefix ").concat(JSON.stringify(t2), "; this is a bug"));
+ if (e.slice(0, t2.length) != t2) throw Error("string ".concat(JSON.stringify(e), " doesn't start with prefix ").concat(JSON.stringify(t2), "; this is a bug"));
return r + e.slice(t2.length);
}
function wt(e, t2, r) {
- if (!t2)
- return e + r;
- if (e.slice(-t2.length) != t2)
- throw Error("string ".concat(JSON.stringify(e), " doesn't end with suffix ").concat(JSON.stringify(t2), "; this is a bug"));
+ if (!t2) return e + r;
+ if (e.slice(-t2.length) != t2) throw Error("string ".concat(JSON.stringify(e), " doesn't end with suffix ").concat(JSON.stringify(t2), "; this is a bug"));
return e.slice(0, -t2.length) + r;
}
function _e(e, t2) {
@@ -18230,14 +17416,12 @@ ${f2}`), f2;
var u = Array(n), i = 0;
u[0] = 0;
for (var o = 1; o < n; o++) {
- for (t2[o] == t2[i] ? u[o] = u[i] : u[o] = i; i > 0 && t2[o] != t2[i]; )
- i = u[i];
+ for (t2[o] == t2[i] ? u[o] = u[i] : u[o] = i; i > 0 && t2[o] != t2[i]; ) i = u[i];
t2[o] == t2[i] && i++;
}
i = 0;
for (var s = r; s < e.length; s++) {
- for (; i > 0 && e[s] != t2[i]; )
- i = u[i];
+ for (; i > 0 && e[s] != t2[i]; ) i = u[i];
e[s] == t2[i] && i++;
}
return i;
@@ -18249,13 +17433,11 @@ ${f2}`), f2;
Ke.tokenize = function(e) {
var t2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r;
if (t2.intlSegmenter) {
- if (t2.intlSegmenter.resolvedOptions().granularity != "word")
- throw new Error('The segmenter passed must have a granularity of "word"');
+ if (t2.intlSegmenter.resolvedOptions().granularity != "word") throw new Error('The segmenter passed must have a granularity of "word"');
r = Array.from(t2.intlSegmenter.segment(e), function(i) {
return i.segment;
});
- } else
- r = e.match(Su) || [];
+ } else r = e.match(Su) || [];
var n = [], u = null;
return r.forEach(function(i) {
/\s/.test(i) ? u == null ? n.push(i) : n.push(n.pop() + i) : /\s/.test(u) ? n[n.length - 1] == u ? n.push(n.pop() + i) : n.push(u + i) : n.push(i), u = i;
@@ -18267,8 +17449,7 @@ ${f2}`), f2;
}).join("");
};
Ke.postProcess = function(e, t2) {
- if (!e || t2.oneChangePerToken)
- return e;
+ if (!e || t2.oneChangePerToken) return e;
var r = null, n = null, u = null;
return e.forEach(function(i) {
i.added ? n = i : i.removed ? u = i : ((n || u) && gr(r, u, n, i), r = i, n = null, u = null);
@@ -18285,8 +17466,7 @@ ${f2}`), f2;
var D = Er(i, s);
n.value = Bt(n.value, s, D), t2.value = Ue(t2.value, D), r.value = Ue(r.value, D);
}
- } else if (r)
- e && (r.value = r.value.replace(/^\s*/, "")), n && (n.value = n.value.replace(/^\s*/, ""));
+ } else if (r) e && (r.value = r.value.replace(/^\s*/, "")), n && (n.value = n.value.replace(/^\s*/, ""));
else if (e && n) {
var l = n.value.match(/^\s*/)[0], p = t2.value.match(/^\s*/)[0], f2 = t2.value.match(/\s*$/)[0], d = hr(l, p);
t2.value = _e(t2.value, d);
@@ -18355,25 +17535,19 @@ ${f2}`), f2;
function xt(e, t2, r, n, u) {
t2 = t2 || [], r = r || [], n && (e = n(u, e));
var i;
- for (i = 0; i < t2.length; i += 1)
- if (t2[i] === e)
- return r[i];
+ for (i = 0; i < t2.length; i += 1) if (t2[i] === e) return r[i];
var o;
if (Object.prototype.toString.call(e) === "[object Array]") {
- for (t2.push(e), o = new Array(e.length), r.push(o), i = 0; i < e.length; i += 1)
- o[i] = xt(e[i], t2, r, n, u);
+ for (t2.push(e), o = new Array(e.length), r.push(o), i = 0; i < e.length; i += 1) o[i] = xt(e[i], t2, r, n, u);
return t2.pop(), r.pop(), o;
}
if (e && e.toJSON && (e = e.toJSON()), _t(e) === "object" && e !== null) {
t2.push(e), o = {}, r.push(o);
var s = [], a2;
- for (a2 in e)
- Object.prototype.hasOwnProperty.call(e, a2) && s.push(a2);
- for (s.sort(), i = 0; i < s.length; i += 1)
- a2 = s[i], o[a2] = xt(e[a2], t2, r, n, a2);
+ for (a2 in e) Object.prototype.hasOwnProperty.call(e, a2) && s.push(a2);
+ for (s.sort(), i = 0; i < s.length; i += 1) a2 = s[i], o[a2] = xt(e[a2], t2, r, n, a2);
t2.pop(), r.pop();
- } else
- o = e;
+ } else o = e;
return o;
}
var Ge = new U();
@@ -18429,32 +17603,24 @@ ${f2}`), f2;
}
var $ = "string", H = "array", z = "cursor", T = "indent", k = "align", L = "trim", B = "group", N = "fill", w = "if-break", P = "indent-if-break", I = "line-suffix", R = "line-suffix-boundary", y = "line", O = "label", _2 = "break-parent", Je = /* @__PURE__ */ new Set([z, T, k, L, B, N, w, P, I, R, y, O, _2]);
var Pu = (e, t2, r) => {
- if (!(e && t2 == null))
- return Array.isArray(t2) || typeof t2 == "string" ? t2[r < 0 ? t2.length + r : r] : t2.at(r);
+ if (!(e && t2 == null)) return Array.isArray(t2) || typeof t2 == "string" ? t2[r < 0 ? t2.length + r : r] : t2.at(r);
}, A2 = Pu;
function Iu(e) {
- if (typeof e == "string")
- return $;
- if (Array.isArray(e))
- return H;
- if (!e)
- return;
+ if (typeof e == "string") return $;
+ if (Array.isArray(e)) return H;
+ if (!e) return;
let { type: t2 } = e;
- if (Je.has(t2))
- return t2;
+ if (Je.has(t2)) return t2;
}
var M = Iu;
var Ru = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
function Yu(e) {
let t2 = e === null ? "null" : typeof e;
- if (t2 !== "string" && t2 !== "object")
- return `Unexpected doc '${t2}',
+ if (t2 !== "string" && t2 !== "object") return `Unexpected doc '${t2}',
Expected it to be 'string' or 'object'.`;
- if (M(e))
- throw new Error("doc is valid.");
+ if (M(e)) throw new Error("doc is valid.");
let r = Object.prototype.toString.call(e);
- if (r !== "[object Object]")
- return `Unexpected doc '${r}'.`;
+ if (r !== "[object Object]") return `Unexpected doc '${r}'.`;
let n = Ru([...Je].map((u) => `'${u}'`));
return `Unexpected doc.type '${e.type}'.
Expected it to be ${n}.`;
@@ -18477,55 +17643,47 @@ Expected it to be ${n}.`;
}
r && u.push(i, Br);
let o = M(i);
- if (!o)
- throw new Q(i);
- if ((t2 == null ? void 0 : t2(i)) !== false)
- switch (o) {
- case H:
- case N: {
- let s = o === H ? i : i.parts;
- for (let a2 = s.length, D = a2 - 1; D >= 0; --D)
- u.push(s[D]);
- break;
- }
- case w:
- u.push(i.flatContents, i.breakContents);
- break;
- case B:
- if (n && i.expandedStates)
- for (let s = i.expandedStates.length, a2 = s - 1; a2 >= 0; --a2)
- u.push(i.expandedStates[a2]);
- else
- u.push(i.contents);
- break;
- case k:
- case T:
- case P:
- case O:
- case I:
- u.push(i.contents);
- break;
- case $:
- case z:
- case L:
- case R:
- case y:
- case _2:
- break;
- default:
- throw new Q(i);
+ if (!o) throw new Q(i);
+ if ((t2 == null ? void 0 : t2(i)) !== false) switch (o) {
+ case H:
+ case N: {
+ let s = o === H ? i : i.parts;
+ for (let a2 = s.length, D = a2 - 1; D >= 0; --D) u.push(s[D]);
+ break;
}
+ case w:
+ u.push(i.flatContents, i.breakContents);
+ break;
+ case B:
+ if (n && i.expandedStates) for (let s = i.expandedStates.length, a2 = s - 1; a2 >= 0; --a2) u.push(i.expandedStates[a2]);
+ else u.push(i.contents);
+ break;
+ case k:
+ case T:
+ case P:
+ case O:
+ case I:
+ u.push(i.contents);
+ break;
+ case $:
+ case z:
+ case L:
+ case R:
+ case y:
+ case _2:
+ break;
+ default:
+ throw new Q(i);
+ }
}
}
var Fe = ju;
function Oe(e, t2) {
- if (typeof e == "string")
- return t2(e);
+ if (typeof e == "string") return t2(e);
let r = /* @__PURE__ */ new Map();
return n(e);
function n(i) {
- if (r.has(i))
- return r.get(i);
+ if (r.has(i)) return r.get(i);
let o = u(i);
return r.set(i, o), o;
}
@@ -18562,16 +17720,14 @@ Expected it to be ${n}.`;
function qe(e, t2, r) {
let n = r, u = false;
function i(o) {
- if (u)
- return false;
+ if (u) return false;
let s = t2(o);
s !== void 0 && (u = true, n = s);
}
return Fe(e, i), n;
}
function Hu(e) {
- if (e.type === B && e.break || e.type === y && e.hard || e.type === _2)
- return true;
+ if (e.type === B && e.break || e.type === y && e.hard || e.type === _2) return true;
}
function xr(e) {
return qe(e, Hu, false);
@@ -18587,8 +17743,7 @@ Expected it to be ${n}.`;
let t2 = /* @__PURE__ */ new Set(), r = [];
function n(i) {
if (i.type === _2 && wr(r), i.type === B) {
- if (r.push(i), t2.has(i))
- return false;
+ if (r.push(i), t2.has(i)) return false;
t2.add(i);
}
}
@@ -18604,8 +17759,7 @@ Expected it to be ${n}.`;
return Oe(e, Wu);
}
function _r(e) {
- for (e = [...e]; e.length >= 2 && A2(false, e, -2).type === y && A2(false, e, -1).type === _2; )
- e.length -= 2;
+ for (e = [...e]; e.length >= 2 && A2(false, e, -2).type === y && A2(false, e, -1).type === _2; ) e.length -= 2;
if (e.length > 0) {
let t2 = Ne(A2(false, e, -1));
e[e.length - 1] = t2;
@@ -18648,31 +17802,25 @@ Expected it to be ${n}.`;
function $u(e) {
switch (M(e)) {
case N:
- if (e.parts.every((t2) => t2 === ""))
- return "";
+ if (e.parts.every((t2) => t2 === "")) return "";
break;
case B:
- if (!e.contents && !e.id && !e.break && !e.expandedStates)
- return "";
- if (e.contents.type === B && e.contents.id === e.id && e.contents.break === e.break && e.contents.expandedStates === e.expandedStates)
- return e.contents;
+ if (!e.contents && !e.id && !e.break && !e.expandedStates) return "";
+ if (e.contents.type === B && e.contents.id === e.id && e.contents.break === e.break && e.contents.expandedStates === e.expandedStates) return e.contents;
break;
case k:
case T:
case P:
case I:
- if (!e.contents)
- return "";
+ if (!e.contents) return "";
break;
case w:
- if (!e.flatContents && !e.breakContents)
- return "";
+ if (!e.flatContents && !e.breakContents) return "";
break;
case H: {
let t2 = [];
for (let r of e) {
- if (!r)
- continue;
+ if (!r) continue;
let [n, ...u] = Array.isArray(r) ? r : [r];
typeof n == "string" && typeof A2(false, t2, -1) == "string" ? t2[t2.length - 1] += n : t2.push(n), t2.push(...u);
}
@@ -18699,8 +17847,7 @@ Expected it to be ${n}.`;
`)) : r);
}
function Vu(e) {
- if (e.type === y)
- return true;
+ if (e.type === y) return true;
}
function Sr(e) {
return qe(e, Vu, false);
@@ -18747,16 +17894,14 @@ Expected it to be ${n}.`;
function Se(e, t2) {
G(e), Tt(t2);
let r = [];
- for (let n = 0; n < t2.length; n++)
- n !== 0 && r.push(e), r.push(t2[n]);
+ for (let n = 0; n < t2.length; n++) n !== 0 && r.push(e), r.push(t2[n]);
return r;
}
function et(e, t2, r) {
G(e);
let n = e;
if (t2 > 0) {
- for (let u = 0; u < Math.floor(t2 / r); ++u)
- n = le(n);
+ for (let u = 0; u < Math.floor(t2 / r); ++u) n = le(n);
n = De(t2 % r, n), n = De(Number.NEGATIVE_INFINITY, n);
}
return n;
@@ -18766,17 +17911,14 @@ Expected it to be ${n}.`;
}
function ee(e) {
var t2;
- if (!e)
- return "";
+ if (!e) return "";
if (Array.isArray(e)) {
let r = [];
- for (let n of e)
- if (Array.isArray(n))
- r.push(...ee(n));
- else {
- let u = ee(n);
- u !== "" && r.push(u);
- }
+ for (let n of e) if (Array.isArray(n)) r.push(...ee(n));
+ else {
+ let u = ee(n);
+ u !== "" && r.push(u);
+ }
return r;
}
return e.type === w ? { ...e, breakContents: ee(e.breakContents), flatContents: ee(e.flatContents) } : e.type === B ? { ...e, contents: ee(e.contents), expandedStates: (t2 = e.expandedStates) == null ? void 0 : t2.map(ee) } : e.type === N ? { type: "fill", parts: e.parts.map(ee) } : e.contents ? { ...e, contents: ee(e.contents) } : e;
@@ -18786,8 +17928,7 @@ Expected it to be ${n}.`;
return n(ee(e));
function n(i, o, s) {
var a2, D;
- if (typeof i == "string")
- return JSON.stringify(i);
+ if (typeof i == "string") return JSON.stringify(i);
if (Array.isArray(i)) {
let l = i.map(n).filter(Boolean);
return l.length === 1 ? l[0] : `[${l.join(", ")}]`;
@@ -18796,16 +17937,11 @@ Expected it to be ${n}.`;
let l = ((a2 = s == null ? void 0 : s[o + 1]) == null ? void 0 : a2.type) === _2;
return i.literal ? l ? "literalline" : "literallineWithoutBreakParent" : i.hard ? l ? "hardline" : "hardlineWithoutBreakParent" : i.soft ? "softline" : "line";
}
- if (i.type === _2)
- return ((D = s == null ? void 0 : s[o - 1]) == null ? void 0 : D.type) === y && s[o - 1].hard ? void 0 : "breakParent";
- if (i.type === L)
- return "trim";
- if (i.type === T)
- return "indent(" + n(i.contents) + ")";
- if (i.type === k)
- return i.n === Number.NEGATIVE_INFINITY ? "dedentToRoot(" + n(i.contents) + ")" : i.n < 0 ? "dedent(" + n(i.contents) + ")" : i.n.type === "root" ? "markAsRoot(" + n(i.contents) + ")" : "align(" + JSON.stringify(i.n) + ", " + n(i.contents) + ")";
- if (i.type === w)
- return "ifBreak(" + n(i.breakContents) + (i.flatContents ? ", " + n(i.flatContents) : "") + (i.groupId ? (i.flatContents ? "" : ', ""') + `, { groupId: ${u(i.groupId)} }` : "") + ")";
+ if (i.type === _2) return ((D = s == null ? void 0 : s[o - 1]) == null ? void 0 : D.type) === y && s[o - 1].hard ? void 0 : "breakParent";
+ if (i.type === L) return "trim";
+ if (i.type === T) return "indent(" + n(i.contents) + ")";
+ if (i.type === k) return i.n === Number.NEGATIVE_INFINITY ? "dedentToRoot(" + n(i.contents) + ")" : i.n < 0 ? "dedent(" + n(i.contents) + ")" : i.n.type === "root" ? "markAsRoot(" + n(i.contents) + ")" : "align(" + JSON.stringify(i.n) + ", " + n(i.contents) + ")";
+ if (i.type === w) return "ifBreak(" + n(i.breakContents) + (i.flatContents ? ", " + n(i.flatContents) : "") + (i.groupId ? (i.flatContents ? "" : ', ""') + `, { groupId: ${u(i.groupId)} }` : "") + ")";
if (i.type === P) {
let l = [];
i.negate && l.push("negate: true"), i.groupId && l.push(`groupId: ${u(i.groupId)}`);
@@ -18818,26 +17954,19 @@ Expected it to be ${n}.`;
let p = l.length > 0 ? `, { ${l.join(", ")} }` : "";
return i.expandedStates ? `conditionalGroup([${i.expandedStates.map((f2) => n(f2)).join(",")}]${p})` : `group(${n(i.contents)}${p})`;
}
- if (i.type === N)
- return `fill([${i.parts.map((l) => n(l)).join(", ")}])`;
- if (i.type === I)
- return "lineSuffix(" + n(i.contents) + ")";
- if (i.type === R)
- return "lineSuffixBoundary";
- if (i.type === O)
- return `label(${JSON.stringify(i.label)}, ${n(i.contents)})`;
+ if (i.type === N) return `fill([${i.parts.map((l) => n(l)).join(", ")}])`;
+ if (i.type === I) return "lineSuffix(" + n(i.contents) + ")";
+ if (i.type === R) return "lineSuffixBoundary";
+ if (i.type === O) return `label(${JSON.stringify(i.label)}, ${n(i.contents)})`;
throw new Error("Unknown doc type " + i.type);
}
function u(i) {
- if (typeof i != "symbol")
- return JSON.stringify(String(i));
- if (i in t2)
- return t2[i];
+ if (typeof i != "symbol") return JSON.stringify(String(i));
+ if (i in t2) return t2[i];
let o = i.description || "symbol";
for (let s = 0; ; s++) {
let a2 = o + (s > 0 ? ` #${s}` : "");
- if (!r.has(a2))
- return r.add(a2), t2[i] = `Symbol.for(${JSON.stringify(a2)})`;
+ if (!r.has(a2)) return r.add(a2), t2[i] = `Symbol.for(${JSON.stringify(a2)})`;
}
}
}
@@ -18851,10 +17980,8 @@ Expected it to be ${n}.`;
var Kr = (e) => !(zr(e) || Gr(e));
var Uu = /[^\x20-\x7F]/u;
function zu(e) {
- if (!e)
- return 0;
- if (!Uu.test(e))
- return e.length;
+ if (!e) return 0;
+ if (!Uu.test(e)) return e.length;
e = e.replace(Ur(), " ");
let t2 = 0;
for (let r of e) {
@@ -18864,7 +17991,7 @@ Expected it to be ${n}.`;
return t2;
}
var Le = zu;
- var Y = Symbol("MODE_BREAK"), J = Symbol("MODE_FLAT"), Ee = Symbol("cursor"), Pt = Symbol("DOC_FILL_PRINTED_LENGTH");
+ var Y = /* @__PURE__ */ Symbol("MODE_BREAK"), J = /* @__PURE__ */ Symbol("MODE_FLAT"), Ee = /* @__PURE__ */ Symbol("cursor"), Pt = /* @__PURE__ */ Symbol("DOC_FILL_PRINTED_LENGTH");
function Jr() {
return { value: "", length: 0, queue: [] };
}
@@ -18876,20 +18003,19 @@ Expected it to be ${n}.`;
}
function It(e, t2, r) {
let n = t2.type === "dedent" ? e.queue.slice(0, -1) : [...e.queue, t2], u = "", i = 0, o = 0, s = 0;
- for (let c of n)
- switch (c.type) {
- case "indent":
- l(), r.useTabs ? a2(1) : D(r.tabWidth);
- break;
- case "stringAlign":
- l(), u += c.n, i += c.n.length;
- break;
- case "numberAlign":
- o += 1, s += c.n;
- break;
- default:
- throw new Error(`Unexpected type '${c.type}'`);
- }
+ for (let c of n) switch (c.type) {
+ case "indent":
+ l(), r.useTabs ? a2(1) : D(r.tabWidth);
+ break;
+ case "stringAlign":
+ l(), u += c.n, i += c.n.length;
+ break;
+ case "numberAlign":
+ o += 1, s += c.n;
+ break;
+ default:
+ throw new Error(`Unexpected type '${c.type}'`);
+ }
return f2(), { ...e, value: u, length: i, queue: n };
function a2(c) {
u += " ".repeat(c), i += r.tabWidth * c;
@@ -18912,37 +18038,31 @@ Expected it to be ${n}.`;
}
function Rt(e) {
let t2 = 0, r = 0, n = e.length;
- e:
- for (; n--; ) {
- let u = e[n];
- if (u === Ee) {
- r++;
- continue;
- }
- for (let i = u.length - 1; i >= 0; i--) {
- let o = u[i];
- if (o === " " || o === " ")
- t2++;
- else {
- e[n] = u.slice(0, i + 1);
- break e;
- }
+ e: for (; n--; ) {
+ let u = e[n];
+ if (u === Ee) {
+ r++;
+ continue;
+ }
+ for (let i = u.length - 1; i >= 0; i--) {
+ let o = u[i];
+ if (o === " " || o === " ") t2++;
+ else {
+ e[n] = u.slice(0, i + 1);
+ break e;
}
}
- if (t2 > 0 || r > 0)
- for (e.length = n + 1; r-- > 0; )
- e.push(Ee);
+ }
+ if (t2 > 0 || r > 0) for (e.length = n + 1; r-- > 0; ) e.push(Ee);
return t2;
}
function tt(e, t2, r, n, u, i) {
var _a;
- if (r === Number.POSITIVE_INFINITY)
- return true;
+ if (r === Number.POSITIVE_INFINITY) return true;
let o = t2.length, s = [e], a2 = [];
for (; r >= 0; ) {
if (s.length === 0) {
- if (o === 0)
- return true;
+ if (o === 0) return true;
s.push(t2[--o]);
continue;
}
@@ -18954,8 +18074,7 @@ Expected it to be ${n}.`;
case H:
case N: {
let f2 = p === H ? l : l.parts, d = (_a = l[Pt]) != null ? _a : 0;
- for (let c = f2.length - 1; c >= d; c--)
- s.push({ mode: D, doc: f2[c] });
+ for (let c = f2.length - 1; c >= d; c--) s.push({ mode: D, doc: f2[c] });
break;
}
case T:
@@ -18968,8 +18087,7 @@ Expected it to be ${n}.`;
r += Rt(a2);
break;
case B: {
- if (i && l.break)
- return false;
+ if (i && l.break) return false;
let f2 = l.break ? Y : D, d = l.expandedStates && f2 === Y ? A2(false, l.expandedStates, -1) : l.contents;
s.push({ mode: f2, doc: d });
break;
@@ -18980,16 +18098,14 @@ Expected it to be ${n}.`;
break;
}
case y:
- if (D === Y || l.hard)
- return true;
+ if (D === Y || l.hard) return true;
l.soft || (a2.push(" "), r--);
break;
case I:
n = true;
break;
case R:
- if (n)
- return false;
+ if (n) return false;
break;
}
}
@@ -19009,12 +18125,10 @@ Expected it to be ${n}.`;
break;
}
case H:
- for (let F = c.length - 1; F >= 0; F--)
- o.push({ ind: f2, mode: d, doc: c[F] });
+ for (let F = c.length - 1; F >= 0; F--) o.push({ ind: f2, mode: d, doc: c[F] });
break;
case z:
- if (l >= 2)
- throw new Error("There are too many 'cursor' in doc.");
+ if (l >= 2) throw new Error("There are too many 'cursor' in doc.");
s.push(Ee), l++;
break;
case T:
@@ -19036,27 +18150,23 @@ Expected it to be ${n}.`;
case Y: {
a2 = false;
let F = { ind: f2, mode: J, doc: c.contents }, m = n - i, h = D.length > 0;
- if (!c.break && tt(F, o, m, h, r))
- o.push(F);
+ if (!c.break && tt(F, o, m, h, r)) o.push(F);
else if (c.expandedStates) {
let C = A2(false, c.expandedStates, -1);
if (c.break) {
o.push({ ind: f2, mode: Y, doc: C });
break;
- } else
- for (let v = 1; v < c.expandedStates.length + 1; v++)
- if (v >= c.expandedStates.length) {
- o.push({ ind: f2, mode: Y, doc: C });
- break;
- } else {
- let E = c.expandedStates[v], g = { ind: f2, mode: J, doc: E };
- if (tt(g, o, m, h, r)) {
- o.push(g);
- break;
- }
- }
- } else
- o.push({ ind: f2, mode: Y, doc: c.contents });
+ } else for (let v = 1; v < c.expandedStates.length + 1; v++) if (v >= c.expandedStates.length) {
+ o.push({ ind: f2, mode: Y, doc: C });
+ break;
+ } else {
+ let E = c.expandedStates[v], g = { ind: f2, mode: J, doc: E };
+ if (tt(g, o, m, h, r)) {
+ o.push(g);
+ break;
+ }
+ }
+ } else o.push({ ind: f2, mode: Y, doc: c.contents });
break;
}
}
@@ -19064,8 +18174,7 @@ Expected it to be ${n}.`;
break;
case N: {
let F = n - i, m = (_a = c[Pt]) != null ? _a : 0, { parts: h } = c, C = h.length - m;
- if (C === 0)
- break;
+ if (C === 0) break;
let v = h[m + 0], E = h[m + 1], g = { ind: f2, mode: J, doc: v }, j = { ind: f2, mode: Y, doc: v }, b = tt(g, [], F, D.length > 0, r, true);
if (C === 1) {
b ? o.push(g) : o.push(j);
@@ -19102,8 +18211,7 @@ Expected it to be ${n}.`;
case y:
switch (d) {
case J:
- if (c.hard)
- a2 = true;
+ if (c.hard) a2 = true;
else {
c.soft || (s.push(" "), i += 1);
break;
@@ -19130,8 +18238,7 @@ Expected it to be ${n}.`;
let p = s.indexOf(Ee);
if (p !== -1) {
let f2 = s.indexOf(Ee, p + 1);
- if (f2 === -1)
- return { formatted: s.filter((m) => m !== Ee).join("") };
+ if (f2 === -1) return { formatted: s.filter((m) => m !== Ee).join("") };
let d = s.slice(0, p).join(""), c = s.slice(p + 1, f2).join(""), F = s.slice(f2 + 1).join("");
return { formatted: d + c + F, cursorNodeStart: d.length, cursorNodeText: c };
}
@@ -19139,8 +18246,7 @@ Expected it to be ${n}.`;
}
function Ju(e, t2, r = 0) {
let n = 0;
- for (let u = r; u < e.length; ++u)
- e[u] === " " ? n = n + t2 - n % t2 : n++;
+ for (let u = r; u < e.length; ++u) e[u] === " " ? n = n + t2 - n % t2 : n++;
return n;
}
var ge = Ju;
@@ -19213,8 +18319,7 @@ Expected it to be ${n}.`;
}
call(t2, ...r) {
let { stack: n } = this, { length: u } = n, i = A2(false, n, -1);
- for (let o of r)
- i = i[o], n.push(o, i);
+ for (let o of r) i = i[o], n.push(o, i);
try {
return t2(this);
} finally {
@@ -19231,11 +18336,9 @@ Expected it to be ${n}.`;
}
each(t2, ...r) {
let { stack: n } = this, { length: u } = n, i = A2(false, n, -1);
- for (let o of r)
- i = i[o], n.push(o, i);
+ for (let o of r) i = i[o], n.push(o, i);
try {
- for (let o = 0; o < i.length; ++o)
- n.push(o, i[o]), t2(this, o, i), n.length -= 2;
+ for (let o = 0; o < i.length; ++o) n.push(o, i[o]), t2(this, o, i), n.length -= 2;
} finally {
n.length = u;
}
@@ -19249,32 +18352,24 @@ Expected it to be ${n}.`;
match(...t2) {
let r = this.stack.length - 1, n = null, u = this.stack[r--];
for (let i of t2) {
- if (u === void 0)
- return false;
+ if (u === void 0) return false;
let o = null;
- if (typeof n == "number" && (o = n, n = this.stack[r--], u = this.stack[r--]), i && !i(u, n, o))
- return false;
+ if (typeof n == "number" && (o = n, n = this.stack[r--], u = this.stack[r--]), i && !i(u, n, o)) return false;
n = this.stack[r--], u = this.stack[r--];
}
return true;
}
findAncestor(t2) {
- for (let r of pe(this, te, rt).call(this))
- if (t2(r))
- return r;
+ for (let r of pe(this, te, rt).call(this)) if (t2(r)) return r;
}
hasAncestor(t2) {
- for (let r of pe(this, te, rt).call(this))
- if (t2(r))
- return true;
+ for (let r of pe(this, te, rt).call(this)) if (t2(r)) return true;
return false;
}
};
te = /* @__PURE__ */ new WeakSet(), jt = function(t2) {
let { stack: r } = this;
- for (let n = r.length - 1; n >= 0; n -= 2)
- if (!Array.isArray(r[n]) && --t2 < 0)
- return n;
+ for (let n = r.length - 1; n >= 0; n -= 2) if (!Array.isArray(r[n]) && --t2 < 0) return n;
return -1;
}, rt = function* () {
let { stack: t2 } = this;
@@ -19294,19 +18389,15 @@ Expected it to be ${n}.`;
let { getVisitorKeys: r, filter: n = () => true } = t2, u = (i) => Qr(i) && n(i);
for (let i of r(e)) {
let o = e[i];
- if (Array.isArray(o))
- for (let s of o)
- u(s) && (yield s);
- else
- u(o) && (yield o);
+ if (Array.isArray(o)) for (let s of o) u(s) && (yield s);
+ else u(o) && (yield o);
}
}
function* Zr(e, t2) {
let r = [e];
for (let n = 0; n < r.length; n++) {
let u = r[n];
- for (let i of ye(u, t2))
- yield i, r.push(i);
+ for (let i of ye(u, t2)) yield i, r.push(i);
}
}
function en(e, t2) {
@@ -19315,16 +18406,13 @@ Expected it to be ${n}.`;
function Ae(e) {
return (t2, r, n) => {
let u = !!(n != null && n.backwards);
- if (r === false)
- return false;
+ if (r === false) return false;
let { length: i } = t2, o = r;
for (; o >= 0 && o < i; ) {
let s = t2.charAt(o);
if (e instanceof RegExp) {
- if (!e.test(s))
- return o;
- } else if (!e.includes(s))
- return o;
+ if (!e.test(s)) return o;
+ } else if (!e.includes(s)) return o;
u ? o-- : o++;
}
return o === -1 || o === i ? o : false;
@@ -19333,23 +18421,18 @@ Expected it to be ${n}.`;
var tn = Ae(/\s/u), S = Ae(" "), nt = Ae(",; "), ut = Ae(/[^\n\r]/u);
function Xu(e, t2, r) {
let n = !!(r != null && r.backwards);
- if (t2 === false)
- return false;
+ if (t2 === false) return false;
let u = e.charAt(t2);
if (n) {
if (e.charAt(t2 - 1) === "\r" && u === `
-`)
- return t2 - 2;
+`) return t2 - 2;
if (u === `
-` || u === "\r" || u === "\u2028" || u === "\u2029")
- return t2 - 1;
+` || u === "\r" || u === "\u2028" || u === "\u2029") return t2 - 1;
} else {
if (u === "\r" && e.charAt(t2 + 1) === `
-`)
- return t2 + 2;
+`) return t2 + 2;
if (u === `
-` || u === "\r" || u === "\u2028" || u === "\u2029")
- return t2 + 1;
+` || u === "\r" || u === "\u2028" || u === "\u2029") return t2 + 1;
}
return t2;
}
@@ -19388,11 +18471,9 @@ Expected it to be ${n}.`;
var $t = /* @__PURE__ */ new WeakMap();
function it(e, t2) {
var _a;
- if ($t.has(e))
- return $t.get(e);
+ if ($t.has(e)) return $t.get(e);
let { printer: { getCommentChildNodes: r, canAttachComment: n, getVisitorKeys: u }, locStart: i, locEnd: o } = t2;
- if (!n)
- return [];
+ if (!n) return [];
let s = ((_a = r == null ? void 0 : r(e, t2)) != null ? _a : [...ye(e, { getVisitorKeys: q(u) })]).flatMap((a2) => n(a2) ? [a2] : it(a2, t2));
return s.sort((a2, D) => i(a2) - i(D) || o(a2) - o(D)), $t.set(e, s), s;
}
@@ -19400,8 +18481,7 @@ Expected it to be ${n}.`;
let { locStart: u, locEnd: i } = r, o = u(t2), s = i(t2), a2 = it(e, r), D, l, p = 0, f2 = a2.length;
for (; p < f2; ) {
let d = p + f2 >> 1, c = a2[d], F = u(c), m = i(c);
- if (F <= o && s <= m)
- return un(c, t2, r, c);
+ if (F <= o && s <= m) return un(c, t2, r, c);
if (m <= o) {
D = c, p = d + 1;
continue;
@@ -19421,8 +18501,7 @@ Expected it to be ${n}.`;
var Mt = () => false;
function on(e, t2) {
let { comments: r } = e;
- if (delete e.comments, !Ht(r) || !t2.printer.canAttachComment)
- return;
+ if (delete e.comments, !Ht(r) || !t2.printer.canAttachComment) return;
let n = [], { locStart: u, locEnd: i, printer: { experimentalFeatures: { avoidAstMutation: o = false } = {}, handleComments: s = {} }, originalText: a2 } = t2, { ownLine: D = Mt, endOfLine: l = Mt, remaining: p = Mt } = s, f2 = r.map((d, c) => ({ ...un(e, d, t2), comment: d, text: a2, options: t2, ast: e, isLastComment: r.length - 1 === c }));
for (let [d, c] of f2.entries()) {
let { comment: F, precedingNode: m, enclosingNode: h, followingNode: C, text: v, options: E, ast: g, isLastComment: j } = c;
@@ -19437,71 +18516,54 @@ Expected it to be ${n}.`;
}
}
let b;
- if (o ? b = [c] : (F.enclosingNode = h, F.precedingNode = m, F.followingNode = C, b = [F, v, E, g, j]), ni(v, E, f2, d))
- F.placement = "ownLine", D(...b) || (C ? ue(C, F) : m ? ie(m, F) : h ? re(h, F) : re(g, F));
- else if (ui(v, E, f2, d))
- F.placement = "endOfLine", l(...b) || (m ? ie(m, F) : C ? ue(C, F) : h ? re(h, F) : re(g, F));
- else if (F.placement = "remaining", !p(...b))
- if (m && C) {
- let X = n.length;
- X > 0 && n[X - 1].followingNode !== C && nn(n, E), n.push(c);
- } else
- m ? ie(m, F) : C ? ue(C, F) : h ? re(h, F) : re(g, F);
- }
- if (nn(n, t2), !o)
- for (let d of r)
- delete d.precedingNode, delete d.enclosingNode, delete d.followingNode;
+ if (o ? b = [c] : (F.enclosingNode = h, F.precedingNode = m, F.followingNode = C, b = [F, v, E, g, j]), ni(v, E, f2, d)) F.placement = "ownLine", D(...b) || (C ? ue(C, F) : m ? ie(m, F) : h ? re(h, F) : re(g, F));
+ else if (ui(v, E, f2, d)) F.placement = "endOfLine", l(...b) || (m ? ie(m, F) : C ? ue(C, F) : h ? re(h, F) : re(g, F));
+ else if (F.placement = "remaining", !p(...b)) if (m && C) {
+ let X = n.length;
+ X > 0 && n[X - 1].followingNode !== C && nn(n, E), n.push(c);
+ } else m ? ie(m, F) : C ? ue(C, F) : h ? re(h, F) : re(g, F);
+ }
+ if (nn(n, t2), !o) for (let d of r) delete d.precedingNode, delete d.enclosingNode, delete d.followingNode;
}
var sn = (e) => !/[\S\n\u2028\u2029]/u.test(e);
function ni(e, t2, r, n) {
let { comment: u, precedingNode: i } = r[n], { locStart: o, locEnd: s } = t2, a2 = o(u);
- if (i)
- for (let D = n - 1; D >= 0; D--) {
- let { comment: l, precedingNode: p } = r[D];
- if (p !== i || !sn(e.slice(s(l), a2)))
- break;
- a2 = o(l);
- }
+ if (i) for (let D = n - 1; D >= 0; D--) {
+ let { comment: l, precedingNode: p } = r[D];
+ if (p !== i || !sn(e.slice(s(l), a2))) break;
+ a2 = o(l);
+ }
return V(e, a2, { backwards: true });
}
function ui(e, t2, r, n) {
let { comment: u, followingNode: i } = r[n], { locStart: o, locEnd: s } = t2, a2 = s(u);
- if (i)
- for (let D = n + 1; D < r.length; D++) {
- let { comment: l, followingNode: p } = r[D];
- if (p !== i || !sn(e.slice(a2, o(l))))
- break;
- a2 = s(l);
- }
+ if (i) for (let D = n + 1; D < r.length; D++) {
+ let { comment: l, followingNode: p } = r[D];
+ if (p !== i || !sn(e.slice(a2, o(l)))) break;
+ a2 = s(l);
+ }
return V(e, a2);
}
function nn(e, t2) {
var _a;
var s, a2;
let r = e.length;
- if (r === 0)
- return;
+ if (r === 0) return;
let { precedingNode: n, followingNode: u } = e[0], i = t2.locStart(u), o;
for (o = r; o > 0; --o) {
let { comment: D, precedingNode: l, followingNode: p } = e[o - 1];
Pe.strictEqual(l, n), Pe.strictEqual(p, u);
let f2 = t2.originalText.slice(t2.locEnd(D), i);
- if ((_a = (a2 = (s = t2.printer).isGap) == null ? void 0 : a2.call(s, f2, t2)) != null ? _a : /^[\s(]*$/u.test(f2))
- i = t2.locStart(D);
- else
- break;
+ if ((_a = (a2 = (s = t2.printer).isGap) == null ? void 0 : a2.call(s, f2, t2)) != null ? _a : /^[\s(]*$/u.test(f2)) i = t2.locStart(D);
+ else break;
}
- for (let [D, { comment: l }] of e.entries())
- D < o ? ie(n, l) : ue(u, l);
- for (let D of [n, u])
- D.comments && D.comments.length > 1 && D.comments.sort((l, p) => t2.locStart(l) - t2.locStart(p));
+ for (let [D, { comment: l }] of e.entries()) D < o ? ie(n, l) : ue(u, l);
+ for (let D of [n, u]) D.comments && D.comments.length > 1 && D.comments.sort((l, p) => t2.locStart(l) - t2.locStart(p));
e.length = 0;
}
function Vt(e, t2, r) {
let n = r.locStart(t2) - 1;
- for (let u = 1; u < e.length; ++u)
- if (n < r.locStart(e[u]))
- return u - 1;
+ for (let u = 1; u < e.length; ++u) if (n < r.locStart(e[u])) return u - 1;
return 0;
}
function ii(e, t2) {
@@ -19521,8 +18583,7 @@ Expected it to be ${n}.`;
if ((l = u.isBlockComment) == null ? void 0 : l.call(u, r)) {
let p = V(i, s(r)) ? V(i, o(r), { backwards: true }) ? K : Ze : " ";
n.push(p);
- } else
- n.push(K);
+ } else n.push(K);
let D = W(i, S(i, s(r)));
return D !== false && V(i, D) && n.push(K), n;
}
@@ -19537,16 +18598,13 @@ Expected it to be ${n}.`;
}
function ai(e, t2) {
let r = e.node;
- if (!r)
- return {};
- let n = t2[Symbol.for("printedComments")];
- if ((r.comments || []).filter((a2) => !n.has(a2)).length === 0)
- return { leading: "", trailing: "" };
+ if (!r) return {};
+ let n = t2[/* @__PURE__ */ Symbol.for("printedComments")];
+ if ((r.comments || []).filter((a2) => !n.has(a2)).length === 0) return { leading: "", trailing: "" };
let i = [], o = [], s;
return e.each(() => {
let a2 = e.node;
- if (n != null && n.has(a2))
- return;
+ if (n != null && n.has(a2)) return;
let { leading: D, trailing: l } = a2;
D ? i.push(oi(e, t2)) : l && (s = si(e, t2, s), o.push(s.doc));
}, "comments"), { leading: i, trailing: o };
@@ -19556,10 +18614,9 @@ Expected it to be ${n}.`;
return !n && !u ? t2 : me(t2, (i) => [n, i, u]);
}
function ln(e) {
- let { [Symbol.for("comments")]: t2, [Symbol.for("printedComments")]: r } = e;
+ let { [/* @__PURE__ */ Symbol.for("comments")]: t2, [/* @__PURE__ */ Symbol.for("printedComments")]: r } = e;
for (let n of t2) {
- if (!n.printed && !r.has(n))
- throw new Error('Comment "' + n.value.trim() + '" was not printed. Please report this error!');
+ if (!n.printed && !r.has(n)) throw new Error('Comment "' + n.value.trim() + '" was not printed. Please report this error!');
delete n.printed;
}
}
@@ -19589,24 +18646,21 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
var _a;
return (_a = u.languages) != null ? _a : [];
}), n = [];
- for (let u of ci(Object.assign({}, ...e.map(({ options: i }) => i), fn)))
- !t2 && u.deprecated || (Array.isArray(u.choices) && (t2 || (u.choices = u.choices.filter((i) => !i.deprecated)), u.name === "parser" && (u.choices = [...u.choices, ...li(u.choices, r, e)])), u.pluginDefaults = Object.fromEntries(e.filter((i) => {
- var o;
- return ((o = i.defaultOptions) == null ? void 0 : o[u.name]) !== void 0;
- }).map((i) => [i.name, i.defaultOptions[u.name]])), n.push(u));
+ for (let u of ci(Object.assign({}, ...e.map(({ options: i }) => i), fn))) !t2 && u.deprecated || (Array.isArray(u.choices) && (t2 || (u.choices = u.choices.filter((i) => !i.deprecated)), u.name === "parser" && (u.choices = [...u.choices, ...li(u.choices, r, e)])), u.pluginDefaults = Object.fromEntries(e.filter((i) => {
+ var o;
+ return ((o = i.defaultOptions) == null ? void 0 : o[u.name]) !== void 0;
+ }).map((i) => [i.name, i.defaultOptions[u.name]])), n.push(u));
return { languages: r, options: n };
}
function* li(e, t2, r) {
let n = new Set(e.map((u) => u.value));
- for (let u of t2)
- if (u.parsers) {
- for (let i of u.parsers)
- if (!n.has(i)) {
- n.add(i);
- let o = r.find((a2) => a2.parsers && Object.prototype.hasOwnProperty.call(a2.parsers, i)), s = u.name;
- o != null && o.name && (s += ` (plugin: ${o.name})`), yield { value: i, description: s };
- }
+ for (let u of t2) if (u.parsers) {
+ for (let i of u.parsers) if (!n.has(i)) {
+ n.add(i);
+ let o = r.find((a2) => a2.parsers && Object.prototype.hasOwnProperty.call(a2.parsers, i)), s = u.name;
+ o != null && o.name && (s += ` (plugin: ${o.name})`), yield { value: i, description: s };
}
+ }
}
function ci(e) {
let t2 = [];
@@ -19619,15 +18673,13 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
var fi = (e) => String(e).split(/[/\\]/u).pop();
function dn(e, t2) {
var _a;
- if (!t2)
- return;
+ if (!t2) return;
let r = fi(t2).toLowerCase();
return (_a = e.find(({ filenames: n }) => n == null ? void 0 : n.some((u) => u.toLowerCase() === r))) != null ? _a : e.find(({ extensions: n }) => n == null ? void 0 : n.some((u) => r.endsWith(u)));
}
function di(e, t2) {
var _a, _b;
- if (t2)
- return (_b = (_a = e.find(({ name: r }) => r.toLowerCase() === t2)) != null ? _a : e.find(({ aliases: r }) => r == null ? void 0 : r.includes(t2))) != null ? _b : e.find(({ extensions: r }) => r == null ? void 0 : r.includes(`.${t2}`));
+ if (t2) return (_b = (_a = e.find(({ name: r }) => r.toLowerCase() === t2)) != null ? _a : e.find(({ aliases: r }) => r == null ? void 0 : r.includes(t2))) != null ? _b : e.find(({ extensions: r }) => r == null ? void 0 : r.includes(`.${t2}`));
}
function pi(e, t2) {
var _a, _b, _c;
@@ -19639,10 +18691,8 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
}
var pn = pi;
var oe = { key: (e) => /^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e) ? e : JSON.stringify(e), value(e) {
- if (e === null || typeof e != "object")
- return JSON.stringify(e);
- if (Array.isArray(e))
- return `[${e.map((r) => oe.value(r)).join(", ")}]`;
+ if (e === null || typeof e != "object") return JSON.stringify(e);
+ if (Array.isArray(e)) return `[${e.map((r) => oe.value(r)).join(", ")}]`;
let t2 = Object.keys(e);
return t2.length === 0 ? "{}" : `{ ${t2.map((r) => `${oe.key(r)}: ${oe.value(e[r])}`).join(", ")} }`;
}, pair: ({ key: e, value: t2 }) => oe.value({ [e]: t2 }) };
@@ -19651,7 +18701,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
return t2 && n.push(`we now treat it as ${Ut.default.blue(typeof t2 == "string" ? r.key(t2) : r.pair(t2))}`), n.join("; ") + ".";
};
var ce = Ve(st(), 1);
- var at = Symbol.for("vnopts.VALUE_NOT_EXIST"), ve = Symbol.for("vnopts.VALUE_UNCHANGED");
+ var at = /* @__PURE__ */ Symbol.for("vnopts.VALUE_NOT_EXIST"), ve = /* @__PURE__ */ Symbol.for("vnopts.VALUE_UNCHANGED");
var En = " ".repeat(2), gn = (e, t2, r) => {
let { text: n, list: u } = r.normalizeExpectedResult(r.schemas[e].expected(r)), i = [];
return n && i.push(Cn(e, t2, n, r.descriptor)), u && i.push([Cn(e, t2, u.title, r.descriptor)].concat(u.values.map((o) => yn(o, r.loggerPrintWidth))).join(`
@@ -19666,8 +18716,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
`)), An(n, r);
}
function An(e, t2) {
- if (e.length === 1)
- return e[0];
+ if (e.length === 1) return e[0];
let [r, n] = e, [u, i] = e.map((o) => o.split(`
`, 1)[0].length);
return u > t2 && u > i ? n : r;
@@ -19675,24 +18724,17 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
var Kt = Ve(st(), 1);
var zt = [], vn = [];
function Gt(e, t2) {
- if (e === t2)
- return 0;
+ if (e === t2) return 0;
let r = e;
e.length > t2.length && (e = t2, t2 = r);
let n = e.length, u = t2.length;
- for (; n > 0 && e.charCodeAt(~-n) === t2.charCodeAt(~-u); )
- n--, u--;
+ for (; n > 0 && e.charCodeAt(~-n) === t2.charCodeAt(~-u); ) n--, u--;
let i = 0;
- for (; i < n && e.charCodeAt(i) === t2.charCodeAt(i); )
- i++;
- if (n -= i, u -= i, n === 0)
- return u;
+ for (; i < n && e.charCodeAt(i) === t2.charCodeAt(i); ) i++;
+ if (n -= i, u -= i, n === 0) return u;
let o, s, a2, D, l = 0, p = 0;
- for (; l < n; )
- vn[l] = e.charCodeAt(i + l), zt[l] = ++l;
- for (; p < u; )
- for (o = t2.charCodeAt(i + p), a2 = p++, s = p, l = 0; l < n; l++)
- D = o === vn[l] ? a2 : a2 + 1, a2 = zt[l], s = zt[l] = a2 > s ? D > s ? s + 1 : D : D > a2 ? a2 + 1 : D;
+ for (; l < n; ) vn[l] = e.charCodeAt(i + l), zt[l] = ++l;
+ for (; p < u; ) for (o = t2.charCodeAt(i + p), a2 = p++, s = p, l = 0; l < n; l++) D = o === vn[l] ? a2 : a2 + 1, a2 = zt[l], s = zt[l] = a2 > s ? D > s ? s + 1 : D : D > a2 ? a2 + 1 : D;
return s;
}
var Dt = (e, t2, { descriptor: r, logger: n, schemas: u }) => {
@@ -19702,8 +18744,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
var Fi = ["default", "expected", "validate", "deprecated", "forward", "redirect", "overlap", "preprocess", "postprocess"];
function mi(e, t2) {
let r = new e(t2), n = Object.create(r);
- for (let u of Fi)
- u in t2 && (n[u] = hi(t2[u], r, x.prototype[u].length));
+ for (let u of Fi) u in t2 && (n[u] = hi(t2[u], r, x.prototype[u].length));
return n;
}
var x = class {
@@ -19772,8 +18813,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
return { text: r && `an array of ${r}`, list: n && { title: "an array of the following values", values: [{ list: n }] } };
}
validate(t2, r) {
- if (!Array.isArray(t2))
- return false;
+ if (!Array.isArray(t2)) return false;
let n = [];
for (let u of t2) {
let i = r.normalizeValidateResult(this._valueSchema.validate(u, r), u);
@@ -19824,8 +18864,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
let r = /* @__PURE__ */ Object.create(null);
for (let n of e) {
let u = n[t2];
- if (r[u])
- throw new Error(`Duplicate ${t2} ${JSON.stringify(u)}`);
+ if (r[u]) throw new Error(`Duplicate ${t2} ${JSON.stringify(u)}`);
r[u] = n;
}
return r;
@@ -19834,8 +18873,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
let r = /* @__PURE__ */ new Map();
for (let n of e) {
let u = n[t2];
- if (r.has(u))
- throw new Error(`Duplicate ${t2} ${JSON.stringify(u)}`);
+ if (r.has(u)) throw new Error(`Duplicate ${t2} ${JSON.stringify(u)}`);
r.set(u, n);
}
return r;
@@ -19849,16 +18887,14 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
}
function Nn(e, t2) {
let r = [], n = [];
- for (let u of e)
- t2(u) ? r.push(u) : n.push(u);
+ for (let u of e) t2(u) ? r.push(u) : n.push(u);
return [r, n];
}
function On(e) {
return e === Math.floor(e);
}
function Sn(e, t2) {
- if (e === t2)
- return 0;
+ if (e === t2) return 0;
let r = typeof e, n = typeof t2, u = ["undefined", "object", "boolean", "number", "string"];
return r !== n ? u.indexOf(r) - u.indexOf(n) : r !== "string" ? Number(e) - Number(t2) : e.localeCompare(t2);
}
@@ -19872,8 +18908,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
return e === void 0 ? {} : e;
}
function qt(e) {
- if (typeof e == "string")
- return { text: e };
+ if (typeof e == "string") return { text: e };
let { text: t2, list: r } = e;
return Ei((t2 || r) !== void 0, "Unexpected `expected` result, there should be at least one field."), r ? { text: t2, list: { title: r.title, values: r.values.map(qt) } } : { text: t2 };
}
@@ -19894,8 +18929,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
return r.length === 0 ? { remain: t2, redirect: r } : typeof e == "object" && "remain" in e ? { remain: e.remain, redirect: r } : { redirect: r };
}
function Ei(e, t2) {
- if (!e)
- throw new Error(t2);
+ if (!e) throw new Error(t2);
}
var Ft = class extends x {
constructor(t2) {
@@ -19972,8 +19006,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
}
i();
for (let o of Object.keys(this._utils.schemas)) {
- if (!(o in r))
- continue;
+ if (!(o in r)) continue;
let s = this._utils.schemas[o], a2 = r[o], D = s.postprocess(a2, this._utils);
D !== ve && (this._applyValidation(D, o, s), r[o] = D);
}
@@ -19988,17 +19021,14 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
n.push(typeof c == "string" ? { [c]: d } : { [c.key]: c.value });
}, l = ({ value: d, redirectTo: c }) => {
let F = Qt(s.deprecated(d, this._utils), a2, true);
- if (F !== false)
- if (F === true)
- this._hasDeprecationWarned(o) || this._utils.logger.warn(this._deprecatedHandler(o, c, this._utils));
- else
- for (let { value: m } of F) {
- let h = { key: o, value: m };
- if (!this._hasDeprecationWarned(h)) {
- let C = typeof c == "string" ? { key: c, value: m } : c;
- this._utils.logger.warn(this._deprecatedHandler(h, C, this._utils));
- }
- }
+ if (F !== false) if (F === true) this._hasDeprecationWarned(o) || this._utils.logger.warn(this._deprecatedHandler(o, c, this._utils));
+ else for (let { value: m } of F) {
+ let h = { key: o, value: m };
+ if (!this._hasDeprecationWarned(h)) {
+ let C = typeof c == "string" ? { key: c, value: m } : c;
+ this._utils.logger.warn(this._deprecatedHandler(h, C, this._utils));
+ }
+ }
};
pt(s.forward(a2, this._utils), a2).forEach(D);
let f2 = Zt(s.redirect(a2, this._utils), a2);
@@ -20006,8 +19036,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
let d = f2.remain;
r[o] = o in r ? s.overlap(r[o], d, this._utils) : d, l({ value: d });
}
- for (let { from: d, to: c } of f2.redirect)
- l({ value: d, redirectTo: c });
+ for (let { from: d, to: c } of f2.redirect) l({ value: d, redirectTo: c });
}
for (let o of i) {
let s = t2[o];
@@ -20018,9 +19047,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
return n;
}
_applyRequiredCheck(t2) {
- for (let r of Object.keys(this._utils.schemas))
- if (this._identifyMissing(r, t2) && this._identifyRequired(r))
- throw this._invalidHandler(r, at, this._utils);
+ for (let r of Object.keys(this._utils.schemas)) if (this._identifyMissing(r, t2) && this._identifyRequired(r)) throw this._invalidHandler(r, at, this._utils);
}
_partitionOptionKeys(t2) {
let [r, n] = Nn(Object.keys(t2).filter((u) => !this._identifyMissing(u, t2)), (u) => u in this._utils.schemas);
@@ -20028,25 +19055,20 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
}
_applyValidation(t2, r, n) {
let u = Xt(n.validate(t2, this._utils), t2);
- if (u !== true)
- throw this._invalidHandler(r, u.value, this._utils);
+ if (u !== true) throw this._invalidHandler(r, u.value, this._utils);
}
_applyUnknownHandler(t2, r, n, u) {
let i = this._unknownHandler(t2, r, this._utils);
- if (i)
- for (let o of Object.keys(i)) {
- if (this._identifyMissing(o, i))
- continue;
- let s = i[o];
- o in this._utils.schemas ? u(o, s) : n[o] = s;
- }
+ if (i) for (let o of Object.keys(i)) {
+ if (this._identifyMissing(o, i)) continue;
+ let s = i[o];
+ o in this._utils.schemas ? u(o, s) : n[o] = s;
+ }
}
_applyPostprocess(t2) {
let r = this._postprocess(t2, this._utils);
if (r !== ve) {
- if (r.delete)
- for (let n of r.delete)
- delete t2[n];
+ if (r.delete) for (let n of r.delete) delete t2[n];
if (r.override) {
let { knownKeys: n, unknownKeys: u } = this._partitionOptionKeys(r.override);
for (let i of n) {
@@ -20067,12 +19089,9 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
var er;
function gi(e, t2, { logger: r = false, isCLI: n = false, passThrough: u = false, FlagSchema: i, descriptor: o } = {}) {
if (n) {
- if (!i)
- throw new Error("'FlagSchema' option is required.");
- if (!o)
- throw new Error("'descriptor' option is required.");
- } else
- o = oe;
+ if (!i) throw new Error("'FlagSchema' option is required.");
+ if (!o) throw new Error("'descriptor' option is required.");
+ } else o = oe;
let s = u ? Array.isArray(u) ? (f2, d) => u.includes(f2) ? { [f2]: d } : void 0 : (f2, d) => ({ [f2]: d }) : (f2, d, c) => {
let { _: F, ...m } = c.schemas;
return Dt(f2, d, { ...c, schemas: m });
@@ -20084,8 +19103,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
function yi(e, { isCLI: t2, FlagSchema: r }) {
let n = [];
t2 && n.push(ct.create({ name: "_" }));
- for (let u of e)
- n.push(Ai(u, { isCLI: t2, optionInfos: e, FlagSchema: r })), u.alias && t2 && n.push(lt.create({ name: u.alias, sourceName: u.name }));
+ for (let u of e) n.push(Ai(u, { isCLI: t2, optionInfos: e, FlagSchema: r })), u.alias && t2 && n.push(lt.create({ name: u.alias, sourceName: u.name }));
return n;
}
function Ai(e, { isCLI: t2, optionInfos: r, FlagSchema: n }) {
@@ -20121,30 +19139,24 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
var Rn = gi;
var vi = (e, t2, r) => {
if (!(e && t2 == null)) {
- if (t2.findLast)
- return t2.findLast(r);
+ if (t2.findLast) return t2.findLast(r);
for (let n = t2.length - 1; n >= 0; n--) {
let u = t2[n];
- if (r(u, n, t2))
- return u;
+ if (r(u, n, t2)) return u;
}
}
}, tr = vi;
function rr(e, t2) {
- if (!t2)
- throw new Error("parserName is required.");
+ if (!t2) throw new Error("parserName is required.");
let r = tr(false, e, (u) => u.parsers && Object.prototype.hasOwnProperty.call(u.parsers, t2));
- if (r)
- return r;
+ if (r) return r;
let n = `Couldn't resolve parser "${t2}".`;
throw n += " Plugins must be explicitly added to the standalone bundle.", new Re(n);
}
function Yn(e, t2) {
- if (!t2)
- throw new Error("astFormat is required.");
+ if (!t2) throw new Error("astFormat is required.");
let r = tr(false, e, (u) => u.printers && Object.prototype.hasOwnProperty.call(u.printers, t2));
- if (r)
- return r;
+ if (r) return r;
let n = `Couldn't find plugin for AST format "${t2}".`;
throw n += " Plugins must be explicitly added to the standalone bundle.", new Re(n);
}
@@ -20164,19 +19176,15 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
async function Bi(e, t2 = {}) {
var p;
let r = { ...e };
- if (!r.parser)
- if (r.filepath) {
- if (r.parser = pn(r, { physicalFile: r.filepath }), !r.parser)
- throw new Ye(`No parser could be inferred for file "${r.filepath}".`);
- } else
- throw new Ye("No parser and no file path given, couldn't infer a parser.");
+ if (!r.parser) if (r.filepath) {
+ if (r.parser = pn(r, { physicalFile: r.filepath }), !r.parser) throw new Ye(`No parser could be inferred for file "${r.filepath}".`);
+ } else throw new Ye("No parser and no file path given, couldn't infer a parser.");
let n = ot({ plugins: e.plugins, showDeprecated: true }).options, u = { ...Hn, ...Object.fromEntries(n.filter((f2) => f2.default !== void 0).map((f2) => [f2.name, f2.default])) }, i = rr(r.plugins, r.parser), o = await nr(i, r.parser);
r.astFormat = o.astFormat, r.locEnd = o.locEnd, r.locStart = o.locStart;
let s = (p = i.printers) != null && p[o.astFormat] ? i : Yn(r.plugins, o.astFormat), a2 = await jn(s, o.astFormat);
r.printer = a2;
let D = s.defaultOptions ? Object.fromEntries(Object.entries(s.defaultOptions).filter(([, f2]) => f2 !== void 0)) : {}, l = { ...u, ...D };
- for (let [f2, d] of Object.entries(l))
- (r[f2] === null || r[f2] === void 0) && (r[f2] = d);
+ for (let [f2, d] of Object.entries(l)) (r[f2] === null || r[f2] === void 0) && (r[f2] = d);
return r.parser === "json" && (r.trailingComma = "none"), Rn(r, n, { passThrough: Object.keys(Hn), ...t2 });
}
var se = Bi;
@@ -20205,32 +19213,26 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
async function Vn(e, t2, r, n, u) {
var _a;
let { embeddedLanguageFormatting: i, printer: { embed: o, hasPrettierIgnore: s = () => false, getVisitorKeys: a2 } } = r;
- if (!o || i !== "auto")
- return;
- if (o.length > 2)
- throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");
+ if (!o || i !== "auto") return;
+ if (o.length > 2) throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");
let D = q((_a = o.getVisitorKeys) != null ? _a : a2), l = [];
d();
let p = e.stack;
- for (let { print: c, node: F, pathStack: m } of l)
- try {
- e.stack = m;
- let h = await c(f2, t2, e, r);
- h && u.set(F, h);
- } catch (h) {
- if (globalThis.PRETTIER_DEBUG)
- throw h;
- }
+ for (let { print: c, node: F, pathStack: m } of l) try {
+ e.stack = m;
+ let h = await c(f2, t2, e, r);
+ h && u.set(F, h);
+ } catch (h) {
+ if (globalThis.PRETTIER_DEBUG) throw h;
+ }
e.stack = p;
function f2(c, F) {
return Oi(c, F, r, n);
}
function d() {
let { node: c } = e;
- if (c === null || typeof c != "object" || s(e))
- return;
- for (let m of D(c))
- Array.isArray(c[m]) ? e.each(d, m) : e.call(d, m);
+ if (c === null || typeof c != "object" || s(e)) return;
+ for (let m of D(c)) Array.isArray(c[m]) ? e.each(d, m) : e.call(d, m);
let F = o(e, r);
if (F) {
if (typeof F == "function") {
@@ -20246,9 +19248,8 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
return Xe(o);
}
function Si(e, t2) {
- let { originalText: r, [Symbol.for("comments")]: n, locStart: u, locEnd: i, [Symbol.for("printedComments")]: o } = t2, { node: s } = e, a2 = u(s), D = i(s);
- for (let l of n)
- u(l) >= a2 && i(l) <= D && o.add(l);
+ let { originalText: r, [/* @__PURE__ */ Symbol.for("comments")]: n, locStart: u, locEnd: i, [/* @__PURE__ */ Symbol.for("printedComments")]: o } = t2, { node: s } = e, a2 = u(s), D = i(s);
+ for (let l of n) u(l) >= a2 && i(l) <= D && o.add(l);
return r.slice(a2, D);
}
var Un = Si;
@@ -20257,10 +19258,8 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
let r = /* @__PURE__ */ new Map(), n = new qr(e), u = cn(t2), i = /* @__PURE__ */ new Map();
await Vn(n, s, t2, He, i);
let o = await zn(n, t2, s, void 0, i);
- if (ln(t2), t2.nodeAfterCursor && !t2.nodeBeforeCursor)
- return [Z, o];
- if (t2.nodeBeforeCursor && !t2.nodeAfterCursor)
- return [o, Z];
+ if (ln(t2), t2.nodeAfterCursor && !t2.nodeBeforeCursor) return [Z, o];
+ if (t2.nodeBeforeCursor && !t2.nodeAfterCursor) return [o, Z];
return o;
function s(D, l) {
return D === void 0 || D === n ? a2(l) : Array.isArray(D) ? n.call(() => a2(l), ...D) : n.call(() => a2(l), D);
@@ -20268,11 +19267,9 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
function a2(D) {
u(n);
let l = n.node;
- if (l == null)
- return "";
+ if (l == null) return "";
let p = l && typeof l == "object" && D === void 0;
- if (p && r.has(l))
- return r.get(l);
+ if (p && r.has(l)) return r.get(l);
let f2 = zn(n, t2, s, D, i);
return p && r.set(l, f2), f2;
}
@@ -20296,16 +19293,14 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
async function ir(e, t2) {
var _a, _b;
let r = (_a = e.comments) != null ? _a : [];
- t2[Symbol.for("comments")] = r, t2[Symbol.for("tokens")] = (_b = e.tokens) != null ? _b : [], t2[Symbol.for("printedComments")] = /* @__PURE__ */ new Set(), on(e, t2);
+ t2[/* @__PURE__ */ Symbol.for("comments")] = r, t2[/* @__PURE__ */ Symbol.for("tokens")] = (_b = e.tokens) != null ? _b : [], t2[/* @__PURE__ */ Symbol.for("printedComments")] = /* @__PURE__ */ new Set(), on(e, t2);
let { printer: { preprocess: n } } = t2;
return e = n ? await n(e, t2) : e, { ast: e, comments: r };
}
function Ti(e, t2) {
let { cursorOffset: r, locStart: n, locEnd: u } = t2, i = q(t2.printer.getVisitorKeys), o = (d) => n(d) <= r && u(d) >= r, s = e, a2 = [e];
- for (let d of Zr(e, { getVisitorKeys: i, filter: o }))
- a2.push(d), s = d;
- if (en(s, { getVisitorKeys: i }))
- return { cursorNode: s };
+ for (let d of Zr(e, { getVisitorKeys: i, filter: o })) a2.push(d), s = d;
+ if (en(s, { getVisitorKeys: i })) return { cursorNode: s };
let D, l, p = -1, f2 = Number.POSITIVE_INFINITY;
for (; a2.length > 0 && (D === void 0 || l === void 0); ) {
s = a2.pop();
@@ -20327,32 +19322,25 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
function ki(e, t2) {
var _a;
let { printer: { massageAstNode: r, getVisitorKeys: n } } = t2;
- if (!r)
- return e;
+ if (!r) return e;
let u = q(n), i = (_a = r.ignoredProperties) != null ? _a : /* @__PURE__ */ new Set();
return o(e);
function o(s, a2) {
- if (!(s !== null && typeof s == "object"))
- return s;
- if (Array.isArray(s))
- return s.map((f2) => o(f2, a2)).filter(Boolean);
+ if (!(s !== null && typeof s == "object")) return s;
+ if (Array.isArray(s)) return s.map((f2) => o(f2, a2)).filter(Boolean);
let D = {}, l = new Set(u(s));
- for (let f2 in s)
- !Object.prototype.hasOwnProperty.call(s, f2) || i.has(f2) || (l.has(f2) ? D[f2] = o(s[f2], s) : D[f2] = s[f2]);
+ for (let f2 in s) !Object.prototype.hasOwnProperty.call(s, f2) || i.has(f2) || (l.has(f2) ? D[f2] = o(s[f2], s) : D[f2] = s[f2]);
let p = r(s, D, a2);
- if (p !== null)
- return p != null ? p : D;
+ if (p !== null) return p != null ? p : D;
}
}
var Kn = ki;
var Li = (e, t2, r) => {
if (!(e && t2 == null)) {
- if (t2.findLastIndex)
- return t2.findLastIndex(r);
+ if (t2.findLastIndex) return t2.findLastIndex(r);
for (let n = t2.length - 1; n >= 0; n--) {
let u = t2[n];
- if (r(u, n, t2))
- return n;
+ if (r(u, n, t2)) return n;
}
return -1;
}
@@ -20368,22 +19356,15 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
}
function Ri(e, t2, { locStart: r, locEnd: n }) {
let u = e.node, i = t2.node;
- if (u === i)
- return { startNode: u, endNode: i };
+ if (u === i) return { startNode: u, endNode: i };
let o = r(e.node);
- for (let a2 of qn(t2.parentNodes))
- if (r(a2) >= o)
- i = a2;
- else
- break;
+ for (let a2 of qn(t2.parentNodes)) if (r(a2) >= o) i = a2;
+ else break;
let s = n(t2.node);
for (let a2 of qn(e.parentNodes)) {
- if (n(a2) <= s)
- u = a2;
- else
- break;
- if (u === i)
- break;
+ if (n(a2) <= s) u = a2;
+ else break;
+ if (u === i) break;
}
return { startNode: u, endNode: i };
}
@@ -20392,11 +19373,9 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
if (!(t2 > D || t2 < a2 || i === "rangeEnd" && t2 === a2 || i === "rangeStart" && t2 === D)) {
for (let l of it(e, r)) {
let p = or(l, t2, r, n, [e, ...u], i);
- if (p)
- return p;
+ if (p) return p;
}
- if (!n || n(e, u[0]))
- return { node: e, parentNodes: u };
+ if (!n || n(e, u[0])) return { node: e, parentNodes: u };
}
}
function Yi(e, t2) {
@@ -20404,8 +19383,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
}
var Qn = /* @__PURE__ */ new Set(["JsonRoot", "ObjectExpression", "ArrayExpression", "StringLiteral", "NumericLiteral", "BooleanLiteral", "NullLiteral", "UnaryExpression", "TemplateLiteral"]), ji = /* @__PURE__ */ new Set(["OperationDefinition", "FragmentDefinition", "VariableDefinition", "TypeExtensionDefinition", "ObjectTypeDefinition", "FieldDefinition", "DirectiveDefinition", "EnumTypeDefinition", "EnumValueDefinition", "InputValueDefinition", "InputObjectTypeDefinition", "SchemaDefinition", "OperationTypeDefinition", "InterfaceTypeDefinition", "UnionTypeDefinition", "ScalarTypeDefinition"]);
function Xn(e, t2, r) {
- if (!t2)
- return false;
+ if (!t2) return false;
switch (e.parser) {
case "flow":
case "babel":
@@ -20433,24 +19411,19 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
let { rangeStart: n, rangeEnd: u, locStart: i, locEnd: o } = t2;
Pe.ok(u > n);
let s = e.slice(n, u).search(/\S/u), a2 = s === -1;
- if (!a2)
- for (n += s; u > n && !/\S/u.test(e[u - 1]); --u)
- ;
+ if (!a2) for (n += s; u > n && !/\S/u.test(e[u - 1]); --u) ;
let D = or(r, n, t2, (d, c) => Xn(t2, d, c), [], "rangeStart"), l = a2 ? D : or(r, u, t2, (d) => Xn(t2, d), [], "rangeEnd");
- if (!D || !l)
- return { rangeStart: 0, rangeEnd: 0 };
+ if (!D || !l) return { rangeStart: 0, rangeEnd: 0 };
let p, f2;
if (Pi(t2)) {
let d = Ii(D, l);
p = d, f2 = d;
- } else
- ({ startNode: p, endNode: f2 } = Ri(D, l, t2));
+ } else ({ startNode: p, endNode: f2 } = Ri(D, l, t2));
return { rangeStart: Math.min(i(p), i(f2)), rangeEnd: Math.max(o(p), o(f2)) };
}
- var nu = "\uFEFF", eu = Symbol("cursor");
+ var nu = "\uFEFF", eu = /* @__PURE__ */ Symbol("cursor");
async function uu(e, t2, r = 0) {
- if (!e || e.trim().length === 0)
- return { formatted: "", cursorOffset: -1, comments: [] };
+ if (!e || e.trim().length === 0) return { formatted: "", cursorOffset: -1, comments: [] };
let { ast: n, text: u } = await fe(e, t2);
t2.cursorOffset >= 0 && (t2 = { ...t2, ...Gn(n, t2) });
let i = await He(n, t2, r);
@@ -20460,33 +19433,25 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
let a2 = o.formatted.trim();
o.cursorNodeStart !== void 0 && (o.cursorNodeStart -= o.formatted.indexOf(a2), o.cursorNodeStart < 0 && (o.cursorNodeStart = 0, o.cursorNodeText = o.cursorNodeText.trimStart()), o.cursorNodeStart + o.cursorNodeText.length > a2.length && (o.cursorNodeText = o.cursorNodeText.trimEnd())), o.formatted = a2 + be(t2.endOfLine);
}
- let s = t2[Symbol.for("comments")];
+ let s = t2[/* @__PURE__ */ Symbol.for("comments")];
if (t2.cursorOffset >= 0) {
let a2, D, l, p;
- if ((t2.cursorNode || t2.nodeBeforeCursor || t2.nodeAfterCursor) && o.cursorNodeText)
- if (l = o.cursorNodeStart, p = o.cursorNodeText, t2.cursorNode)
- a2 = t2.locStart(t2.cursorNode), D = u.slice(a2, t2.locEnd(t2.cursorNode));
- else {
- if (!t2.nodeBeforeCursor && !t2.nodeAfterCursor)
- throw new Error("Cursor location must contain at least one of cursorNode, nodeBeforeCursor, nodeAfterCursor");
- a2 = t2.nodeBeforeCursor ? t2.locEnd(t2.nodeBeforeCursor) : 0;
- let h = t2.nodeAfterCursor ? t2.locStart(t2.nodeAfterCursor) : u.length;
- D = u.slice(a2, h);
- }
- else
- a2 = 0, D = u, l = 0, p = o.formatted;
+ if ((t2.cursorNode || t2.nodeBeforeCursor || t2.nodeAfterCursor) && o.cursorNodeText) if (l = o.cursorNodeStart, p = o.cursorNodeText, t2.cursorNode) a2 = t2.locStart(t2.cursorNode), D = u.slice(a2, t2.locEnd(t2.cursorNode));
+ else {
+ if (!t2.nodeBeforeCursor && !t2.nodeAfterCursor) throw new Error("Cursor location must contain at least one of cursorNode, nodeBeforeCursor, nodeAfterCursor");
+ a2 = t2.nodeBeforeCursor ? t2.locEnd(t2.nodeBeforeCursor) : 0;
+ let h = t2.nodeAfterCursor ? t2.locStart(t2.nodeAfterCursor) : u.length;
+ D = u.slice(a2, h);
+ }
+ else a2 = 0, D = u, l = 0, p = o.formatted;
let f2 = t2.cursorOffset - a2;
- if (D === p)
- return { formatted: o.formatted, cursorOffset: l + f2, comments: s };
+ if (D === p) return { formatted: o.formatted, cursorOffset: l + f2, comments: s };
let d = D.split("");
d.splice(f2, 0, eu);
let c = p.split(""), F = yr(d, c), m = l;
- for (let h of F)
- if (h.removed) {
- if (h.value.includes(eu))
- break;
- } else
- m += h.count;
+ for (let h of F) if (h.removed) {
+ if (h.value.includes(eu)) break;
+ } else m += h.count;
return { formatted: o.formatted, cursorOffset: m, comments: s };
}
return { formatted: o.formatted, cursorOffset: -1, comments: s };
@@ -20527,8 +19492,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
}
async function ar(e, t2) {
let { hasBOM: r, text: n, options: u } = iu(e, await se(t2));
- if (u.rangeStart >= u.rangeEnd && n !== "" || u.requirePragma && !await ru(n, u))
- return { formatted: e, cursorOffset: t2.cursorOffset, comments: [] };
+ if (u.rangeStart >= u.rangeEnd && n !== "" || u.requirePragma && !await ru(n, u)) return { formatted: e, cursorOffset: t2.cursorOffset, comments: [] };
let i;
return u.rangeStart > 0 || u.rangeEnd < n.length ? i = await Hi(n, u) : (!u.requirePragma && u.insertPragma && u.printer.insertPragma && !await ru(n, u) && (n = u.printer.insertPragma(n)), i = await uu(n, u)), r && (i.formatted = nu + i.formatted, i.cursorOffset >= 0 && i.cursorOffset++), i;
}
@@ -20560,12 +19524,9 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
var cr = {};
vt(cr, { addDanglingComment: () => re, addLeadingComment: () => ue, addTrailingComment: () => ie, getAlignmentSize: () => ge, getIndentSize: () => fu, getMaxContinuousCount: () => du, getNextNonSpaceNonCommentCharacter: () => pu, getNextNonSpaceNonCommentCharacterIndex: () => no, getPreferredQuote: () => mu, getStringWidth: () => Le, hasNewline: () => V, hasNewlineInRange: () => hu, hasSpaces: () => Eu, isNextLineEmpty: () => so, isNextLineEmptyAfterIndex: () => gt, isPreviousLineEmpty: () => io, makeString: () => Cu, skip: () => Ae, skipEverythingButNewLine: () => ut, skipInlineComment: () => Be, skipNewline: () => W, skipSpaces: () => S, skipToLineEnd: () => nt, skipTrailingComment: () => we, skipWhitespace: () => tn });
function Ui(e, t2) {
- if (t2 === false)
- return false;
+ if (t2 === false) return false;
if (e.charAt(t2) === "/" && e.charAt(t2 + 1) === "*") {
- for (let r = t2 + 2; r < e.length; ++r)
- if (e.charAt(r) === "*" && e.charAt(r + 1) === "/")
- return r + 2;
+ for (let r = t2 + 2; r < e.length; ++r) if (e.charAt(r) === "*" && e.charAt(r + 1) === "/") return r + 2;
}
return t2;
}
@@ -20576,15 +19537,13 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
var we = zi;
function Gi(e, t2) {
let r = null, n = t2;
- for (; n !== r; )
- r = n, n = S(e, n), n = Be(e, n), n = we(e, n), n = W(e, n);
+ for (; n !== r; ) r = n, n = S(e, n), n = Be(e, n), n = we(e, n), n = W(e, n);
return n;
}
var We = Gi;
function Ki(e, t2) {
let r = null, n = t2;
- for (; n !== r; )
- r = n, n = nt(e, n), n = Be(e, n), n = S(e, n);
+ for (; n !== r; ) r = n, n = nt(e, n), n = Be(e, n), n = S(e, n);
return n = we(e, n), n = W(e, n), n !== false && V(e, n);
}
var gt = Ki;
@@ -20595,8 +19554,7 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
}
var fu = Ji;
function lr(e) {
- if (typeof e != "string")
- throw new TypeError("Expected a string");
+ if (typeof e != "string") throw new TypeError("Expected a string");
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
}
function qi(e, t2) {
@@ -20612,16 +19570,13 @@ in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "in
var yt = "'", Fu = '"';
function Qi(e, t2) {
let r = t2 === true || t2 === yt ? yt : Fu, n = r === yt ? Fu : yt, u = 0, i = 0;
- for (let o of e)
- o === r ? u++ : o === n && i++;
+ for (let o of e) o === r ? u++ : o === n && i++;
return u > i ? n : r;
}
var mu = Qi;
function Zi(e, t2, r) {
- for (let n = t2; n < r; ++n)
- if (e.charAt(n) === `
-`)
- return true;
+ for (let n = t2; n < r; ++n) if (e.charAt(n) === `
+`) return true;
return false;
}
var hu = Zi;
@@ -21007,7 +19962,7 @@ var require_lodash = __commonJS({
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
var moduleExports = freeModule && freeModule.exports === freeExports;
var freeProcess = moduleExports && freeGlobal.process;
- var nodeUtil = function() {
+ var nodeUtil = (function() {
try {
var types = freeModule && freeModule.require && freeModule.require("util").types;
if (types) {
@@ -21016,7 +19971,7 @@ var require_lodash = __commonJS({
return freeProcess && freeProcess.binding && freeProcess.binding("util");
} catch (e) {
}
- }();
+ })();
var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer, nodeIsDate = nodeUtil && nodeUtil.isDate, nodeIsMap = nodeUtil && nodeUtil.isMap, nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, nodeIsSet = nodeUtil && nodeUtil.isSet, nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
function apply(func, thisArg, args) {
switch (args.length) {
@@ -21362,7 +20317,7 @@ var require_lodash = __commonJS({
function unicodeWords(string2) {
return string2.match(reUnicodeWord) || [];
}
- var runInContext = function runInContext2(context) {
+ var runInContext = (function runInContext2(context) {
context = context == null ? root : _2.defaults(root.Object(), context, _2.pick(root, contextProps));
var Array2 = context.Array, Date2 = context.Date, Error2 = context.Error, Function2 = context.Function, Math2 = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String, TypeError2 = context.TypeError;
var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
@@ -21370,10 +20325,10 @@ var require_lodash = __commonJS({
var funcToString = funcProto.toString;
var hasOwnProperty = objectProto.hasOwnProperty;
var idCounter3 = 0;
- var maskSrcKey = function() {
+ var maskSrcKey = (function() {
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
return uid ? "Symbol(src)_1." + uid : "";
- }();
+ })();
var nativeObjectToString = objectProto.toString;
var objectCtorString = funcToString.call(Object2);
var oldDash = root._;
@@ -21381,14 +20336,14 @@ var require_lodash = __commonJS({
"^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
);
var Buffer2 = moduleExports ? context.Buffer : undefined2, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe = Buffer2 ? Buffer2.allocUnsafe : undefined2, getPrototype = overArg(Object2.getPrototypeOf, Object2), objectCreate = Object2.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice, spreadableSymbol = Symbol2 ? Symbol2.isConcatSpreadable : undefined2, symIterator = Symbol2 ? Symbol2.iterator : undefined2, symToStringTag = Symbol2 ? Symbol2.toStringTag : undefined2;
- var defineProperty = function() {
+ var defineProperty = (function() {
try {
var func = getNative(Object2, "defineProperty");
func({}, "", {});
return func;
} catch (e) {
}
- }();
+ })();
var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, ctxNow = Date2 && Date2.now !== root.Date.now && Date2.now, ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
var nativeCeil = Math2.ceil, nativeFloor = Math2.floor, nativeGetSymbols = Object2.getOwnPropertySymbols, nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : undefined2, nativeIsFinite = context.isFinite, nativeJoin = arrayProto.join, nativeKeys = overArg(Object2.keys, Object2), nativeMax = Math2.max, nativeMin = Math2.min, nativeNow = Date2.now, nativeParseInt = context.parseInt, nativeRandom = Math2.random, nativeReverse = arrayProto.reverse;
var DataView = getNative(context, "DataView"), Map2 = getNative(context, "Map"), Promise2 = getNative(context, "Promise"), Set2 = getNative(context, "Set"), WeakMap2 = getNative(context, "WeakMap"), nativeCreate = getNative(Object2, "create");
@@ -21407,7 +20362,7 @@ var require_lodash = __commonJS({
}
return new LodashWrapper(value);
}
- var baseCreate = /* @__PURE__ */ function() {
+ var baseCreate = /* @__PURE__ */ (function() {
function object() {
}
return function(proto) {
@@ -21422,7 +20377,7 @@ var require_lodash = __commonJS({
object.prototype = undefined2;
return result2;
};
- }();
+ })();
function baseLodash() {
}
function LodashWrapper(value, chainAll) {
@@ -24714,9 +23669,9 @@ var require_lodash = __commonJS({
var gte = createRelationalOperation(function(value, other) {
return value >= other;
});
- var isArguments = baseIsArguments(/* @__PURE__ */ function() {
+ var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
return arguments;
- }()) ? baseIsArguments : function(value) {
+ })()) ? baseIsArguments : function(value) {
return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
};
var isArray = Array2.isArray;
@@ -25968,7 +24923,7 @@ var require_lodash = __commonJS({
lodash.each = forEach;
lodash.eachRight = forEachRight;
lodash.first = head;
- mixin(lodash, function() {
+ mixin(lodash, (function() {
var source = {};
baseForOwn(lodash, function(func, methodName) {
if (!hasOwnProperty.call(lodash.prototype, methodName)) {
@@ -25976,7 +24931,7 @@ var require_lodash = __commonJS({
}
});
return source;
- }(), { "chain": false });
+ })(), { "chain": false });
lodash.VERSION = VERSION;
arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
lodash[methodName].placeholder = lodash;
@@ -26136,7 +25091,7 @@ var require_lodash = __commonJS({
lodash.prototype[symIterator] = wrapperToIterator;
}
return lodash;
- };
+ });
var _2 = runInContext();
if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
root._ = _2;
@@ -27541,47 +26496,45 @@ var require_messageBuffer = __commonJS({
let chunkIndex = 0;
let offset = 0;
let chunkBytesRead = 0;
- row:
- while (chunkIndex < this._chunks.length) {
- const chunk = this._chunks[chunkIndex];
- offset = 0;
- column:
- while (offset < chunk.length) {
- const value = chunk[offset];
- switch (value) {
- case CR:
- switch (state) {
- case 0:
- state = 1;
- break;
- case 2:
- state = 3;
- break;
- default:
- state = 0;
- }
+ row: while (chunkIndex < this._chunks.length) {
+ const chunk = this._chunks[chunkIndex];
+ offset = 0;
+ column: while (offset < chunk.length) {
+ const value = chunk[offset];
+ switch (value) {
+ case CR:
+ switch (state) {
+ case 0:
+ state = 1;
break;
- case LF:
- switch (state) {
- case 1:
- state = 2;
- break;
- case 3:
- state = 4;
- offset++;
- break row;
- default:
- state = 0;
- }
+ case 2:
+ state = 3;
break;
default:
state = 0;
}
- offset++;
- }
- chunkBytesRead += chunk.byteLength;
- chunkIndex++;
+ break;
+ case LF:
+ switch (state) {
+ case 1:
+ state = 2;
+ break;
+ case 3:
+ state = 4;
+ offset++;
+ break row;
+ default:
+ state = 0;
+ }
+ break;
+ default:
+ state = 0;
+ }
+ offset++;
}
+ chunkBytesRead += chunk.byteLength;
+ chunkIndex++;
+ }
if (state !== 4) {
return void 0;
}
@@ -29150,9 +28103,8 @@ var require_ril = __commonJS({
var require_main = __commonJS({
"../../node_modules/vscode-jsonrpc/lib/browser/main.js"(exports) {
"use strict";
- var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
- if (k2 === void 0)
- k2 = k;
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() {
@@ -29160,15 +28112,12 @@ var require_main = __commonJS({
} };
}
Object.defineProperty(o, k2, desc);
- } : function(o, m, k, k2) {
- if (k2 === void 0)
- k2 = k;
+ }) : (function(o, m, k, k2) {
+ if (k2 === void 0) k2 = k;
o[k2] = m[k];
- });
+ }));
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
- for (var p in m)
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
- __createBinding(exports2, m, p);
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.createMessageConnection = exports.BrowserMessageWriter = exports.BrowserMessageReader = void 0;
@@ -30676,9 +29625,8 @@ var require_connection2 = __commonJS({
var require_api2 = __commonJS({
"../../node_modules/vscode-languageserver-protocol/lib/common/api.js"(exports) {
"use strict";
- var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
- if (k2 === void 0)
- k2 = k;
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() {
@@ -30686,15 +29634,12 @@ var require_api2 = __commonJS({
} };
}
Object.defineProperty(o, k2, desc);
- } : function(o, m, k, k2) {
- if (k2 === void 0)
- k2 = k;
+ }) : (function(o, m, k, k2) {
+ if (k2 === void 0) k2 = k;
o[k2] = m[k];
- });
+ }));
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
- for (var p in m)
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
- __createBinding(exports2, m, p);
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.LSPErrorCodes = exports.createProtocolConnection = void 0;
@@ -30722,9 +29667,8 @@ var require_api2 = __commonJS({
var require_main2 = __commonJS({
"../../node_modules/vscode-languageserver-protocol/lib/browser/main.js"(exports) {
"use strict";
- var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
- if (k2 === void 0)
- k2 = k;
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() {
@@ -30732,15 +29676,12 @@ var require_main2 = __commonJS({
} };
}
Object.defineProperty(o, k2, desc);
- } : function(o, m, k, k2) {
- if (k2 === void 0)
- k2 = k;
+ }) : (function(o, m, k, k2) {
+ if (k2 === void 0) k2 = k;
o[k2] = m[k];
- });
+ }));
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
- for (var p in m)
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
- __createBinding(exports2, m, p);
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.createProtocolConnection = void 0;
@@ -32779,9 +31720,8 @@ var require_server = __commonJS({
var require_api3 = __commonJS({
"../../node_modules/vscode-languageserver/lib/common/api.js"(exports) {
"use strict";
- var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
- if (k2 === void 0)
- k2 = k;
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() {
@@ -32789,15 +31729,12 @@ var require_api3 = __commonJS({
} };
}
Object.defineProperty(o, k2, desc);
- } : function(o, m, k, k2) {
- if (k2 === void 0)
- k2 = k;
+ }) : (function(o, m, k, k2) {
+ if (k2 === void 0) k2 = k;
o[k2] = m[k];
- });
+ }));
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
- for (var p in m)
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
- __createBinding(exports2, m, p);
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProposedFeatures = exports.NotebookDocuments = exports.TextDocuments = exports.SemanticTokensBuilder = void 0;
@@ -32838,9 +31775,8 @@ var require_browser2 = __commonJS({
var require_main3 = __commonJS({
"../../node_modules/vscode-languageserver/lib/browser/main.js"(exports) {
"use strict";
- var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
- if (k2 === void 0)
- k2 = k;
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() {
@@ -32848,15 +31784,12 @@ var require_main3 = __commonJS({
} };
}
Object.defineProperty(o, k2, desc);
- } : function(o, m, k, k2) {
- if (k2 === void 0)
- k2 = k;
+ }) : (function(o, m, k, k2) {
+ if (k2 === void 0) k2 = k;
o[k2] = m[k];
- });
+ }));
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
- for (var p in m)
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
- __createBinding(exports2, m, p);
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.createConnection = void 0;
@@ -33081,6 +32014,7 @@ function createScanner(text, ignoreTrivia = false) {
return token = 14;
}
switch (code) {
+ // tokens: []{}:,
case 123:
pos++;
return token = 1;
@@ -33099,10 +32033,12 @@ function createScanner(text, ignoreTrivia = false) {
case 44:
pos++;
return token = 5;
+ // strings
case 34:
pos++;
value = scanString();
return token = 10;
+ // comments
case 47:
const start = pos - 1;
if (text.charCodeAt(pos + 1) === 47) {
@@ -33146,12 +32082,16 @@ function createScanner(text, ignoreTrivia = false) {
value += String.fromCharCode(code);
pos++;
return token = 16;
+ // numbers
case 45:
value += String.fromCharCode(code);
pos++;
if (pos === len || !isDigit(text.charCodeAt(pos))) {
return token = 16;
}
+ // found a minus, followed by a number so
+ // we fall through to proceed with scanning
+ // numbers
case 48:
case 49:
case 50:
@@ -33164,6 +32104,7 @@ function createScanner(text, ignoreTrivia = false) {
case 57:
value += scanNumber();
return token = 11;
+ // literals and unknown symbols
default:
while (pos < len && isUnknownContentCharacter(code)) {
pos++;
@@ -33820,21 +32761,17 @@ var LIB;
"use strict";
var t2 = { 975: (t3) => {
function e2(t4) {
- if ("string" != typeof t4)
- throw new TypeError("Path must be a string. Received " + JSON.stringify(t4));
+ if ("string" != typeof t4) throw new TypeError("Path must be a string. Received " + JSON.stringify(t4));
}
function r2(t4, e3) {
for (var r3, n3 = "", i2 = 0, o2 = -1, s2 = 0, h2 = 0; h2 <= t4.length; ++h2) {
- if (h2 < t4.length)
- r3 = t4.charCodeAt(h2);
+ if (h2 < t4.length) r3 = t4.charCodeAt(h2);
else {
- if (47 === r3)
- break;
+ if (47 === r3) break;
r3 = 47;
}
if (47 === r3) {
- if (o2 === h2 - 1 || 1 === s2)
- ;
+ if (o2 === h2 - 1 || 1 === s2) ;
else if (o2 !== h2 - 1 && 2 === s2) {
if (n3.length < 2 || 2 !== i2 || 46 !== n3.charCodeAt(n3.length - 1) || 46 !== n3.charCodeAt(n3.length - 2)) {
if (n3.length > 2) {
@@ -33849,11 +32786,9 @@ var LIB;
}
}
e3 && (n3.length > 0 ? n3 += "/.." : n3 = "..", i2 = 2);
- } else
- n3.length > 0 ? n3 += "/" + t4.slice(o2 + 1, h2) : n3 = t4.slice(o2 + 1, h2), i2 = h2 - o2 - 1;
+ } else n3.length > 0 ? n3 += "/" + t4.slice(o2 + 1, h2) : n3 = t4.slice(o2 + 1, h2), i2 = h2 - o2 - 1;
o2 = h2, s2 = 0;
- } else
- 46 === r3 && -1 !== s2 ? ++s2 : s2 = -1;
+ } else 46 === r3 && -1 !== s2 ? ++s2 : s2 = -1;
}
return n3;
}
@@ -33864,71 +32799,55 @@ var LIB;
}
return n3 = r2(n3, !i2), i2 ? n3.length > 0 ? "/" + n3 : "/" : n3.length > 0 ? n3 : ".";
}, normalize: function(t4) {
- if (e2(t4), 0 === t4.length)
- return ".";
+ if (e2(t4), 0 === t4.length) return ".";
var n3 = 47 === t4.charCodeAt(0), i2 = 47 === t4.charCodeAt(t4.length - 1);
return 0 !== (t4 = r2(t4, !n3)).length || n3 || (t4 = "."), t4.length > 0 && i2 && (t4 += "/"), n3 ? "/" + t4 : t4;
}, isAbsolute: function(t4) {
return e2(t4), t4.length > 0 && 47 === t4.charCodeAt(0);
}, join: function() {
- if (0 === arguments.length)
- return ".";
+ if (0 === arguments.length) return ".";
for (var t4, r3 = 0; r3 < arguments.length; ++r3) {
var i2 = arguments[r3];
e2(i2), i2.length > 0 && (void 0 === t4 ? t4 = i2 : t4 += "/" + i2);
}
return void 0 === t4 ? "." : n2.normalize(t4);
}, relative: function(t4, r3) {
- if (e2(t4), e2(r3), t4 === r3)
- return "";
- if ((t4 = n2.resolve(t4)) === (r3 = n2.resolve(r3)))
- return "";
- for (var i2 = 1; i2 < t4.length && 47 === t4.charCodeAt(i2); ++i2)
- ;
- for (var o2 = t4.length, s2 = o2 - i2, h2 = 1; h2 < r3.length && 47 === r3.charCodeAt(h2); ++h2)
- ;
+ if (e2(t4), e2(r3), t4 === r3) return "";
+ if ((t4 = n2.resolve(t4)) === (r3 = n2.resolve(r3))) return "";
+ for (var i2 = 1; i2 < t4.length && 47 === t4.charCodeAt(i2); ++i2) ;
+ for (var o2 = t4.length, s2 = o2 - i2, h2 = 1; h2 < r3.length && 47 === r3.charCodeAt(h2); ++h2) ;
for (var a3 = r3.length - h2, c2 = s2 < a3 ? s2 : a3, f3 = -1, u2 = 0; u2 <= c2; ++u2) {
if (u2 === c2) {
if (a3 > c2) {
- if (47 === r3.charCodeAt(h2 + u2))
- return r3.slice(h2 + u2 + 1);
- if (0 === u2)
- return r3.slice(h2 + u2);
- } else
- s2 > c2 && (47 === t4.charCodeAt(i2 + u2) ? f3 = u2 : 0 === u2 && (f3 = 0));
+ if (47 === r3.charCodeAt(h2 + u2)) return r3.slice(h2 + u2 + 1);
+ if (0 === u2) return r3.slice(h2 + u2);
+ } else s2 > c2 && (47 === t4.charCodeAt(i2 + u2) ? f3 = u2 : 0 === u2 && (f3 = 0));
break;
}
var l2 = t4.charCodeAt(i2 + u2);
- if (l2 !== r3.charCodeAt(h2 + u2))
- break;
+ if (l2 !== r3.charCodeAt(h2 + u2)) break;
47 === l2 && (f3 = u2);
}
var g2 = "";
- for (u2 = i2 + f3 + 1; u2 <= o2; ++u2)
- u2 !== o2 && 47 !== t4.charCodeAt(u2) || (0 === g2.length ? g2 += ".." : g2 += "/..");
+ for (u2 = i2 + f3 + 1; u2 <= o2; ++u2) u2 !== o2 && 47 !== t4.charCodeAt(u2) || (0 === g2.length ? g2 += ".." : g2 += "/..");
return g2.length > 0 ? g2 + r3.slice(h2 + f3) : (h2 += f3, 47 === r3.charCodeAt(h2) && ++h2, r3.slice(h2));
}, _makeLong: function(t4) {
return t4;
}, dirname: function(t4) {
- if (e2(t4), 0 === t4.length)
- return ".";
- for (var r3 = t4.charCodeAt(0), n3 = 47 === r3, i2 = -1, o2 = true, s2 = t4.length - 1; s2 >= 1; --s2)
- if (47 === (r3 = t4.charCodeAt(s2))) {
- if (!o2) {
- i2 = s2;
- break;
- }
- } else
- o2 = false;
+ if (e2(t4), 0 === t4.length) return ".";
+ for (var r3 = t4.charCodeAt(0), n3 = 47 === r3, i2 = -1, o2 = true, s2 = t4.length - 1; s2 >= 1; --s2) if (47 === (r3 = t4.charCodeAt(s2))) {
+ if (!o2) {
+ i2 = s2;
+ break;
+ }
+ } else o2 = false;
return -1 === i2 ? n3 ? "/" : "." : n3 && 1 === i2 ? "//" : t4.slice(0, i2);
}, basename: function(t4, r3) {
- if (void 0 !== r3 && "string" != typeof r3)
- throw new TypeError('"ext" argument must be a string');
+ if (void 0 !== r3 && "string" != typeof r3) throw new TypeError('"ext" argument must be a string');
e2(t4);
var n3, i2 = 0, o2 = -1, s2 = true;
if (void 0 !== r3 && r3.length > 0 && r3.length <= t4.length) {
- if (r3.length === t4.length && r3 === t4)
- return "";
+ if (r3.length === t4.length && r3 === t4) return "";
var h2 = r3.length - 1, a3 = -1;
for (n3 = t4.length - 1; n3 >= 0; --n3) {
var c2 = t4.charCodeAt(n3);
@@ -33937,26 +32856,22 @@ var LIB;
i2 = n3 + 1;
break;
}
- } else
- -1 === a3 && (s2 = false, a3 = n3 + 1), h2 >= 0 && (c2 === r3.charCodeAt(h2) ? -1 == --h2 && (o2 = n3) : (h2 = -1, o2 = a3));
+ } else -1 === a3 && (s2 = false, a3 = n3 + 1), h2 >= 0 && (c2 === r3.charCodeAt(h2) ? -1 == --h2 && (o2 = n3) : (h2 = -1, o2 = a3));
}
return i2 === o2 ? o2 = a3 : -1 === o2 && (o2 = t4.length), t4.slice(i2, o2);
}
- for (n3 = t4.length - 1; n3 >= 0; --n3)
- if (47 === t4.charCodeAt(n3)) {
- if (!s2) {
- i2 = n3 + 1;
- break;
- }
- } else
- -1 === o2 && (s2 = false, o2 = n3 + 1);
+ for (n3 = t4.length - 1; n3 >= 0; --n3) if (47 === t4.charCodeAt(n3)) {
+ if (!s2) {
+ i2 = n3 + 1;
+ break;
+ }
+ } else -1 === o2 && (s2 = false, o2 = n3 + 1);
return -1 === o2 ? "" : t4.slice(i2, o2);
}, extname: function(t4) {
e2(t4);
for (var r3 = -1, n3 = 0, i2 = -1, o2 = true, s2 = 0, h2 = t4.length - 1; h2 >= 0; --h2) {
var a3 = t4.charCodeAt(h2);
- if (47 !== a3)
- -1 === i2 && (o2 = false, i2 = h2 + 1), 46 === a3 ? -1 === r3 ? r3 = h2 : 1 !== s2 && (s2 = 1) : -1 !== r3 && (s2 = -1);
+ if (47 !== a3) -1 === i2 && (o2 = false, i2 = h2 + 1), 46 === a3 ? -1 === r3 ? r3 = h2 : 1 !== s2 && (s2 = 1) : -1 !== r3 && (s2 = -1);
else if (!o2) {
n3 = h2 + 1;
break;
@@ -33964,63 +32879,52 @@ var LIB;
}
return -1 === r3 || -1 === i2 || 0 === s2 || 1 === s2 && r3 === i2 - 1 && r3 === n3 + 1 ? "" : t4.slice(r3, i2);
}, format: function(t4) {
- if (null === t4 || "object" != typeof t4)
- throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof t4);
- return function(t5, e3) {
+ if (null === t4 || "object" != typeof t4) throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof t4);
+ return (function(t5, e3) {
var r3 = e3.dir || e3.root, n3 = e3.base || (e3.name || "") + (e3.ext || "");
return r3 ? r3 === e3.root ? r3 + n3 : r3 + "/" + n3 : n3;
- }(0, t4);
+ })(0, t4);
}, parse: function(t4) {
e2(t4);
var r3 = { root: "", dir: "", base: "", ext: "", name: "" };
- if (0 === t4.length)
- return r3;
+ if (0 === t4.length) return r3;
var n3, i2 = t4.charCodeAt(0), o2 = 47 === i2;
o2 ? (r3.root = "/", n3 = 1) : n3 = 0;
- for (var s2 = -1, h2 = 0, a3 = -1, c2 = true, f3 = t4.length - 1, u2 = 0; f3 >= n3; --f3)
- if (47 !== (i2 = t4.charCodeAt(f3)))
- -1 === a3 && (c2 = false, a3 = f3 + 1), 46 === i2 ? -1 === s2 ? s2 = f3 : 1 !== u2 && (u2 = 1) : -1 !== s2 && (u2 = -1);
- else if (!c2) {
- h2 = f3 + 1;
- break;
- }
+ for (var s2 = -1, h2 = 0, a3 = -1, c2 = true, f3 = t4.length - 1, u2 = 0; f3 >= n3; --f3) if (47 !== (i2 = t4.charCodeAt(f3))) -1 === a3 && (c2 = false, a3 = f3 + 1), 46 === i2 ? -1 === s2 ? s2 = f3 : 1 !== u2 && (u2 = 1) : -1 !== s2 && (u2 = -1);
+ else if (!c2) {
+ h2 = f3 + 1;
+ break;
+ }
return -1 === s2 || -1 === a3 || 0 === u2 || 1 === u2 && s2 === a3 - 1 && s2 === h2 + 1 ? -1 !== a3 && (r3.base = r3.name = 0 === h2 && o2 ? t4.slice(1, a3) : t4.slice(h2, a3)) : (0 === h2 && o2 ? (r3.name = t4.slice(1, s2), r3.base = t4.slice(1, a3)) : (r3.name = t4.slice(h2, s2), r3.base = t4.slice(h2, a3)), r3.ext = t4.slice(s2, a3)), h2 > 0 ? r3.dir = t4.slice(0, h2 - 1) : o2 && (r3.dir = "/"), r3;
}, sep: "/", delimiter: ":", win32: null, posix: null };
n2.posix = n2, t3.exports = n2;
} }, e = {};
function r(n2) {
var i2 = e[n2];
- if (void 0 !== i2)
- return i2.exports;
+ if (void 0 !== i2) return i2.exports;
var o2 = e[n2] = { exports: {} };
return t2[n2](o2, o2.exports, r), o2.exports;
}
r.d = (t3, e2) => {
- for (var n2 in e2)
- r.o(e2, n2) && !r.o(t3, n2) && Object.defineProperty(t3, n2, { enumerable: true, get: e2[n2] });
+ for (var n2 in e2) r.o(e2, n2) && !r.o(t3, n2) && Object.defineProperty(t3, n2, { enumerable: true, get: e2[n2] });
}, r.o = (t3, e2) => Object.prototype.hasOwnProperty.call(t3, e2), r.r = (t3) => {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t3, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t3, "__esModule", { value: true });
};
var n = {};
let i;
- if (r.r(n), r.d(n, { URI: () => l, Utils: () => I }), "object" == typeof process)
- i = "win32" === process.platform;
+ if (r.r(n), r.d(n, { URI: () => l, Utils: () => I }), "object" == typeof process) i = "win32" === process.platform;
else if ("object" == typeof navigator) {
let t3 = navigator.userAgent;
i = t3.indexOf("Windows") >= 0;
}
const o = /^\w[\w\d+.-]*$/, s = /^\//, h = /^\/\//;
function a2(t3, e2) {
- if (!t3.scheme && e2)
- throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${t3.authority}", path: "${t3.path}", query: "${t3.query}", fragment: "${t3.fragment}"}`);
- if (t3.scheme && !o.test(t3.scheme))
- throw new Error("[UriError]: Scheme contains illegal characters.");
+ if (!t3.scheme && e2) throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${t3.authority}", path: "${t3.path}", query: "${t3.query}", fragment: "${t3.fragment}"}`);
+ if (t3.scheme && !o.test(t3.scheme)) throw new Error("[UriError]: Scheme contains illegal characters.");
if (t3.path) {
if (t3.authority) {
- if (!s.test(t3.path))
- throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character');
- } else if (h.test(t3.path))
- throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")');
+ if (!s.test(t3.path)) throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character');
+ } else if (h.test(t3.path)) throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")');
}
}
const c = "", f2 = "/", u = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;
@@ -34031,9 +32935,9 @@ var LIB;
__publicField(this, "path");
__publicField(this, "query");
__publicField(this, "fragment");
- "object" == typeof t3 ? (this.scheme = t3.scheme || c, this.authority = t3.authority || c, this.path = t3.path || c, this.query = t3.query || c, this.fragment = t3.fragment || c) : (this.scheme = /* @__PURE__ */ function(t4, e3) {
+ "object" == typeof t3 ? (this.scheme = t3.scheme || c, this.authority = t3.authority || c, this.path = t3.path || c, this.query = t3.query || c, this.fragment = t3.fragment || c) : (this.scheme = /* @__PURE__ */ (function(t4, e3) {
return t4 || e3 ? t4 : "file";
- }(t3, o2), this.authority = e2 || c, this.path = function(t4, e3) {
+ })(t3, o2), this.authority = e2 || c, this.path = (function(t4, e3) {
switch (t4) {
case "https":
case "http":
@@ -34041,7 +32945,7 @@ var LIB;
e3 ? e3[0] !== f2 && (e3 = f2 + e3) : e3 = f2;
}
return e3;
- }(this.scheme, r2 || c), this.query = n2 || c, this.fragment = i2 || c, a2(this, o2));
+ })(this.scheme, r2 || c), this.query = n2 || c, this.fragment = i2 || c, a2(this, o2));
}
static isUri(t3) {
return t3 instanceof l || !!t3 && "string" == typeof t3.authority && "string" == typeof t3.fragment && "string" == typeof t3.path && "string" == typeof t3.query && "string" == typeof t3.scheme && "string" == typeof t3.fsPath && "function" == typeof t3.with && "function" == typeof t3.toString;
@@ -34050,8 +32954,7 @@ var LIB;
return v(this, false);
}
with(t3) {
- if (!t3)
- return this;
+ if (!t3) return this;
let { scheme: e2, authority: r2, path: n2, query: i2, fragment: o2 } = t3;
return void 0 === e2 ? e2 = this.scheme : null === e2 && (e2 = c), void 0 === r2 ? r2 = this.authority : null === r2 && (r2 = c), void 0 === n2 ? n2 = this.path : null === n2 && (n2 = c), void 0 === i2 ? i2 = this.query : null === i2 && (i2 = c), void 0 === o2 ? o2 = this.fragment : null === o2 && (o2 = c), e2 === this.scheme && r2 === this.authority && n2 === this.path && i2 === this.query && o2 === this.fragment ? this : new d(e2, r2, n2, i2, o2);
}
@@ -34079,8 +32982,7 @@ var LIB;
}
static revive(t3) {
if (t3) {
- if (t3 instanceof l)
- return t3;
+ if (t3 instanceof l) return t3;
{
const e2 = new d(t3);
return e2._formatted = t3.external, e2._fsPath = t3._sep === g ? t3.fsPath : null, e2;
@@ -34112,8 +33014,7 @@ var LIB;
let n2, i2 = -1;
for (let o2 = 0; o2 < t3.length; o2++) {
const s2 = t3.charCodeAt(o2);
- if (s2 >= 97 && s2 <= 122 || s2 >= 65 && s2 <= 90 || s2 >= 48 && s2 <= 57 || 45 === s2 || 46 === s2 || 95 === s2 || 126 === s2 || e2 && 47 === s2 || r2 && 91 === s2 || r2 && 93 === s2 || r2 && 58 === s2)
- -1 !== i2 && (n2 += encodeURIComponent(t3.substring(i2, o2)), i2 = -1), void 0 !== n2 && (n2 += t3.charAt(o2));
+ if (s2 >= 97 && s2 <= 122 || s2 >= 65 && s2 <= 90 || s2 >= 48 && s2 <= 57 || 45 === s2 || 46 === s2 || 95 === s2 || 126 === s2 || e2 && 47 === s2 || r2 && 91 === s2 || r2 && 93 === s2 || r2 && 58 === s2) -1 !== i2 && (n2 += encodeURIComponent(t3.substring(i2, o2)), i2 = -1), void 0 !== n2 && (n2 += t3.charAt(o2));
else {
void 0 === n2 && (n2 = t3.substr(0, o2));
const e3 = p[s2];
@@ -34166,12 +33067,12 @@ var LIB;
}
const A2 = /(%[0-9A-Za-z][0-9A-Za-z])+/g;
function w(t3) {
- return t3.match(A2) ? t3.replace(A2, (t4) => C(t4)) : t3;
+ return t3.match(A2) ? t3.replace(A2, ((t4) => C(t4))) : t3;
}
var x = r(975);
const P = x.posix || x, _2 = "/";
var I;
- !function(t3) {
+ !(function(t3) {
t3.joinPath = function(t4, ...e2) {
return t4.with({ path: P.join(t4.path, ...e2) });
}, t3.resolvePath = function(t4, ...e2) {
@@ -34180,8 +33081,7 @@ var LIB;
let i2 = P.resolve(r2, ...e2);
return n2 && i2[0] === _2 && !t4.authority && (i2 = i2.substring(1)), t4.with({ path: i2 });
}, t3.dirname = function(t4) {
- if (0 === t4.path.length || t4.path === _2)
- return t4;
+ if (0 === t4.path.length || t4.path === _2) return t4;
let e2 = P.dirname(t4.path);
return 1 === e2.length && 46 === e2.charCodeAt(0) && (e2 = ""), t4.with({ path: e2 });
}, t3.basename = function(t4) {
@@ -34189,7 +33089,7 @@ var LIB;
}, t3.extname = function(t4) {
return P.extname(t4.path);
};
- }(I || (I = {})), LIB = n;
+ })(I || (I = {})), LIB = n;
})();
var { URI, Utils } = LIB;
@@ -34564,14 +33464,12 @@ function loadMessageBundle() {
}
// ../../node_modules/yaml-language-server/node_modules/vscode-json-languageservice/lib/esm/parser/jsonParser.js
-var __extends = /* @__PURE__ */ function() {
+var __extends = /* @__PURE__ */ (function() {
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
d2.__proto__ = b2;
} || function(d2, b2) {
- for (var p in b2)
- if (Object.prototype.hasOwnProperty.call(b2, p))
- d2[p] = b2[p];
+ for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p];
};
return extendStatics(d, b);
};
@@ -34584,7 +33482,7 @@ var __extends = /* @__PURE__ */ function() {
}
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
-}();
+})();
var localize2 = loadMessageBundle();
var formats = {
"color-hex": { errorMessage: localize2("colorHexFormatWarning", "Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."), pattern: /^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/ },
@@ -34595,7 +33493,7 @@ var formats = {
};
var ASTNodeImpl = (
/** @class */
- function() {
+ (function() {
function ASTNodeImpl3(parent, offset, length) {
if (length === void 0) {
length = 0;
@@ -34615,11 +33513,11 @@ var ASTNodeImpl = (
return "type: " + this.type + " (" + this.offset + "/" + this.length + ")" + (this.parent ? " parent: {" + this.parent.toString() + "}" : "");
};
return ASTNodeImpl3;
- }()
+ })()
);
var NullASTNodeImpl = (
/** @class */
- function(_super) {
+ (function(_super) {
__extends(NullASTNodeImpl3, _super);
function NullASTNodeImpl3(parent, offset) {
var _this = _super.call(this, parent, offset) || this;
@@ -34628,11 +33526,11 @@ var NullASTNodeImpl = (
return _this;
}
return NullASTNodeImpl3;
- }(ASTNodeImpl)
+ })(ASTNodeImpl)
);
var BooleanASTNodeImpl = (
/** @class */
- function(_super) {
+ (function(_super) {
__extends(BooleanASTNodeImpl3, _super);
function BooleanASTNodeImpl3(parent, boolValue, offset) {
var _this = _super.call(this, parent, offset) || this;
@@ -34641,11 +33539,11 @@ var BooleanASTNodeImpl = (
return _this;
}
return BooleanASTNodeImpl3;
- }(ASTNodeImpl)
+ })(ASTNodeImpl)
);
var ArrayASTNodeImpl = (
/** @class */
- function(_super) {
+ (function(_super) {
__extends(ArrayASTNodeImpl3, _super);
function ArrayASTNodeImpl3(parent, offset) {
var _this = _super.call(this, parent, offset) || this;
@@ -34661,11 +33559,11 @@ var ArrayASTNodeImpl = (
configurable: true
});
return ArrayASTNodeImpl3;
- }(ASTNodeImpl)
+ })(ASTNodeImpl)
);
var NumberASTNodeImpl = (
/** @class */
- function(_super) {
+ (function(_super) {
__extends(NumberASTNodeImpl3, _super);
function NumberASTNodeImpl3(parent, offset) {
var _this = _super.call(this, parent, offset) || this;
@@ -34675,11 +33573,11 @@ var NumberASTNodeImpl = (
return _this;
}
return NumberASTNodeImpl3;
- }(ASTNodeImpl)
+ })(ASTNodeImpl)
);
var StringASTNodeImpl = (
/** @class */
- function(_super) {
+ (function(_super) {
__extends(StringASTNodeImpl3, _super);
function StringASTNodeImpl3(parent, offset, length) {
var _this = _super.call(this, parent, offset, length) || this;
@@ -34688,11 +33586,11 @@ var StringASTNodeImpl = (
return _this;
}
return StringASTNodeImpl3;
- }(ASTNodeImpl)
+ })(ASTNodeImpl)
);
var PropertyASTNodeImpl = (
/** @class */
- function(_super) {
+ (function(_super) {
__extends(PropertyASTNodeImpl3, _super);
function PropertyASTNodeImpl3(parent, offset, keyNode) {
var _this = _super.call(this, parent, offset) || this;
@@ -34709,11 +33607,11 @@ var PropertyASTNodeImpl = (
configurable: true
});
return PropertyASTNodeImpl3;
- }(ASTNodeImpl)
+ })(ASTNodeImpl)
);
var ObjectASTNodeImpl = (
/** @class */
- function(_super) {
+ (function(_super) {
__extends(ObjectASTNodeImpl3, _super);
function ObjectASTNodeImpl3(parent, offset) {
var _this = _super.call(this, parent, offset) || this;
@@ -34729,7 +33627,7 @@ var ObjectASTNodeImpl = (
configurable: true
});
return ObjectASTNodeImpl3;
- }(ASTNodeImpl)
+ })(ASTNodeImpl)
);
function asSchema(schema4) {
if (isBoolean(schema4)) {
@@ -34744,7 +33642,7 @@ var EnumMatch;
})(EnumMatch || (EnumMatch = {}));
var SchemaCollector = (
/** @class */
- function() {
+ (function() {
function SchemaCollector3(focusOffset, exclude) {
if (focusOffset === void 0) {
focusOffset = -1;
@@ -34766,11 +33664,11 @@ var SchemaCollector = (
return new SchemaCollector3(-1, this.exclude);
};
return SchemaCollector3;
- }()
+ })()
);
var NoOpSchemaCollector = (
/** @class */
- function() {
+ (function() {
function NoOpSchemaCollector3() {
}
Object.defineProperty(NoOpSchemaCollector3.prototype, "schemas", {
@@ -34792,11 +33690,11 @@ var NoOpSchemaCollector = (
};
NoOpSchemaCollector3.instance = new NoOpSchemaCollector3();
return NoOpSchemaCollector3;
- }()
+ })()
);
var ValidationResult = (
/** @class */
- function() {
+ (function() {
function ValidationResult3() {
this.problems = [];
this.propertiesMatches = 0;
@@ -34857,7 +33755,7 @@ var ValidationResult = (
return this.propertiesMatches - other.propertiesMatches;
};
return ValidationResult3;
- }()
+ })()
);
function getNodeValue3(node) {
return getNodeValue2(node);
@@ -34873,7 +33771,7 @@ function contains2(node, offset, includeRightBound) {
}
var JSONDocument = (
/** @class */
- function() {
+ (function() {
function JSONDocument3(root, syntaxErrors, comments) {
if (syntaxErrors === void 0) {
syntaxErrors = [];
@@ -34935,7 +33833,7 @@ var JSONDocument = (
return matchingSchemas.schemas;
};
return JSONDocument3;
- }()
+ })()
);
function validate(n, schema4, validationResult, matchingSchemas) {
if (!n || !matchingSchemas.include(n)) {
@@ -35611,7 +34509,7 @@ var BANG = "!";
var PATH_SEP = "/";
var FilePatternAssociation = (
/** @class */
- function() {
+ (function() {
function FilePatternAssociation3(pattern, uris) {
this.globWrappers = [];
try {
@@ -35652,11 +34550,11 @@ var FilePatternAssociation = (
return this.uris;
};
return FilePatternAssociation3;
- }()
+ })()
);
var SchemaHandle = (
/** @class */
- function() {
+ (function() {
function SchemaHandle2(service, url, unresolvedSchemaContent) {
this.service = service;
this.url = url;
@@ -35686,11 +34584,11 @@ var SchemaHandle = (
this.dependencies = {};
};
return SchemaHandle2;
- }()
+ })()
);
var UnresolvedSchema = (
/** @class */
- /* @__PURE__ */ function() {
+ /* @__PURE__ */ (function() {
function UnresolvedSchema2(schema4, errors) {
if (errors === void 0) {
errors = [];
@@ -35699,11 +34597,11 @@ var UnresolvedSchema = (
this.errors = errors;
}
return UnresolvedSchema2;
- }()
+ })()
);
var ResolvedSchema = (
/** @class */
- function() {
+ (function() {
function ResolvedSchema2(schema4, errors) {
if (errors === void 0) {
errors = [];
@@ -35748,11 +34646,11 @@ var ResolvedSchema = (
return void 0;
};
return ResolvedSchema2;
- }()
+ })()
);
var JSONSchemaService = (
/** @class */
- function() {
+ (function() {
function JSONSchemaService2(requestService, contextService, promiseConstructor) {
this.contextService = contextService;
this.requestService = requestService;
@@ -36114,7 +35012,7 @@ var JSONSchemaService = (
});
};
return JSONSchemaService2;
- }()
+ })()
);
var idCounter = 0;
function normalizeId(id) {
@@ -36236,13 +35134,13 @@ function getFirstNonWhitespaceCharacterAfterOffset(str, offset) {
var path2 = __toESM(require_path_browserify());
// ../../node_modules/yaml/browser/dist/nodes/identity.js
-var ALIAS = Symbol.for("yaml.alias");
-var DOC = Symbol.for("yaml.document");
-var MAP = Symbol.for("yaml.map");
-var PAIR = Symbol.for("yaml.pair");
-var SCALAR = Symbol.for("yaml.scalar");
-var SEQ = Symbol.for("yaml.seq");
-var NODE_TYPE = Symbol.for("yaml.node.type");
+var ALIAS = /* @__PURE__ */ Symbol.for("yaml.alias");
+var DOC = /* @__PURE__ */ Symbol.for("yaml.document");
+var MAP = /* @__PURE__ */ Symbol.for("yaml.map");
+var PAIR = /* @__PURE__ */ Symbol.for("yaml.pair");
+var SCALAR = /* @__PURE__ */ Symbol.for("yaml.scalar");
+var SEQ = /* @__PURE__ */ Symbol.for("yaml.seq");
+var NODE_TYPE = /* @__PURE__ */ Symbol.for("yaml.node.type");
var isAlias = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === ALIAS;
var isDocument = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === DOC;
var isMap = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === MAP;
@@ -36272,9 +35170,9 @@ function isNode(node) {
var hasAnchor = (node) => (isScalar(node) || isCollection(node)) && !!node.anchor;
// ../../node_modules/yaml/browser/dist/visit.js
-var BREAK = Symbol("break visit");
-var SKIP = Symbol("skip children");
-var REMOVE = Symbol("remove node");
+var BREAK = /* @__PURE__ */ Symbol("break visit");
+var SKIP = /* @__PURE__ */ Symbol("skip children");
+var REMOVE = /* @__PURE__ */ Symbol("remove node");
function visit2(node, visitor) {
const visitor_ = initVisitor(visitor);
if (isDocument(node)) {
@@ -39577,6 +38475,7 @@ function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIn
hasSpace = false;
break;
}
+ // else fallthrough
default:
onError(token, "UNEXPECTED_TOKEN", `Unexpected ${token.type} token`);
atNewline = false;
@@ -39896,19 +38795,18 @@ function resolveFlowCollection({ composeNode: composeNode2, composeEmptyNode: co
onError(props.start, "MISSING_CHAR", `Missing , between ${fcName} items`);
if (props.comment) {
let prevItemComment = "";
- loop:
- for (const st of start) {
- switch (st.type) {
- case "comma":
- case "space":
- break;
- case "comment":
- prevItemComment = st.source.substring(1);
- break loop;
- default:
- break loop;
- }
+ loop: for (const st of start) {
+ switch (st.type) {
+ case "comma":
+ case "space":
+ break;
+ case "comment":
+ prevItemComment = st.source.substring(1);
+ break loop;
+ default:
+ break loop;
}
+ }
if (prevItemComment) {
let prev = coll.items[coll.items.length - 1];
if (isPair(prev))
@@ -40209,6 +39107,7 @@ function parseBlockScalarHeader({ offset, props }, strict, onError) {
switch (token.type) {
case "space":
hasSpace = true;
+ // fallthrough
case "newline":
length += token.source.length;
break;
@@ -40224,6 +39123,7 @@ function parseBlockScalarHeader({ offset, props }, strict, onError) {
onError(token, "UNEXPECTED_TOKEN", token.message);
length += token.source.length;
break;
+ /* istanbul ignore next should not happen */
default: {
const message = `Unexpected token in block scalar header: ${token.type}`;
onError(token, "UNEXPECTED_TOKEN", message);
@@ -40265,6 +39165,7 @@ function resolveFlowScalar(scalar, strict, onError) {
_type = Scalar.QUOTE_DOUBLE;
value = doubleQuotedValue(source, _onError);
break;
+ /* istanbul ignore next should not happen */
default:
onError(scalar, "UNEXPECTED_TOKEN", `Expected a flow scalar value, but found: ${type}`);
return {
@@ -40286,6 +39187,7 @@ function resolveFlowScalar(scalar, strict, onError) {
function plainValue(source, onError) {
let badChar = "";
switch (source[0]) {
+ /* istanbul ignore next should not happen */
case " ":
badChar = "a tab character";
break;
@@ -41121,9 +40023,9 @@ function stringifyItem({ start, key, sep, value }) {
}
// ../../node_modules/yaml/browser/dist/parse/cst-visit.js
-var BREAK2 = Symbol("break visit");
-var SKIP2 = Symbol("skip children");
-var REMOVE2 = Symbol("remove item");
+var BREAK2 = /* @__PURE__ */ Symbol("break visit");
+var SKIP2 = /* @__PURE__ */ Symbol("skip children");
+var REMOVE2 = /* @__PURE__ */ Symbol("remove item");
function visit3(cst, visitor) {
if ("type" in cst && cst.type === "document")
cst = { start: cst.start, value: cst.value };
@@ -41469,6 +40371,7 @@ var Lexer = class {
switch (line[n]) {
case "#":
yield* this.pushCount(line.length - n);
+ // fallthrough
case void 0:
yield* this.pushNewline();
return yield* this.parseLineStart();
@@ -41564,6 +40467,7 @@ var Lexer = class {
return "flow";
}
}
+ // fallthrough
default:
this.flowKey = false;
return yield* this.parsePlainScalar();
@@ -41625,27 +40529,27 @@ var Lexer = class {
let nl = this.pos - 1;
let indent = 0;
let ch;
- loop:
- for (let i2 = this.pos; ch = this.buffer[i2]; ++i2) {
- switch (ch) {
- case " ":
- indent += 1;
- break;
- case "\n":
- nl = i2;
- indent = 0;
+ loop: for (let i2 = this.pos; ch = this.buffer[i2]; ++i2) {
+ switch (ch) {
+ case " ":
+ indent += 1;
+ break;
+ case "\n":
+ nl = i2;
+ indent = 0;
+ break;
+ case "\r": {
+ const next = this.buffer[i2 + 1];
+ if (!next && !this.atEnd)
+ return this.setNext("block-scalar");
+ if (next === "\n")
break;
- case "\r": {
- const next = this.buffer[i2 + 1];
- if (!next && !this.atEnd)
- return this.setNext("block-scalar");
- if (next === "\n")
- break;
- }
- default:
- break loop;
}
+ // fallthrough
+ default:
+ break loop;
}
+ }
if (!ch && !this.atEnd)
return this.setNext("block-scalar");
if (indent >= this.indentNext) {
@@ -41759,7 +40663,9 @@ var Lexer = class {
case "&":
return (yield* this.pushUntil(isNotAnchorChar)) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
case "-":
+ // this is an error
case "?":
+ // this is an error outside flow collections
case ":": {
const inFlow = this.flowLevel > 0;
const ch1 = this.charAt(1);
@@ -41894,6 +40800,7 @@ function getPrevProps(parent) {
}
case "block-seq":
return parent.items[parent.items.length - 1].start;
+ /* istanbul ignore next should not happen */
default:
return [];
}
@@ -41903,17 +40810,16 @@ function getFirstKeyStartProps(prev) {
if (prev.length === 0)
return [];
let i = prev.length;
- loop:
- while (--i >= 0) {
- switch (prev[i].type) {
- case "doc-start":
- case "explicit-key-ind":
- case "map-value-ind":
- case "seq-item-ind":
- case "newline":
- break loop;
- }
+ loop: while (--i >= 0) {
+ switch (prev[i].type) {
+ case "doc-start":
+ case "explicit-key-ind":
+ case "map-value-ind":
+ case "seq-item-ind":
+ case "newline":
+ break loop;
}
+ }
while (((_a = prev[++i]) == null ? void 0 : _a.type) === "space") {
}
return prev.splice(i, prev.length);
@@ -42127,6 +41033,7 @@ var Parser = class {
Object.assign(it, { key: token, sep: [] });
return;
}
+ /* istanbul ignore next should not happen */
default:
yield* this.pop();
yield* this.pop(token);
@@ -42248,6 +41155,7 @@ var Parser = class {
}
yield* this.pop();
break;
+ /* istanbul ignore next should not happen */
default:
yield* this.pop();
yield* this.step();
@@ -42695,6 +41603,7 @@ var Parser = class {
break;
case "newline":
this.onKeyLine = false;
+ // fallthrough
case "space":
case "comment":
default:
@@ -42933,7 +41842,7 @@ var valueCommitCharacters = [",", "}", "]"];
var propertyCommitCharacters = [":"];
var JSONCompletion = (
/** @class */
- function() {
+ (function() {
function JSONCompletion2(schemaService, contributions, promiseConstructor, clientCapabilities) {
if (contributions === void 0) {
contributions = [];
@@ -43849,13 +42758,13 @@ var JSONCompletion = (
return this.supportsCommitCharacters;
};
return JSONCompletion2;
- }()
+ })()
);
// ../../node_modules/yaml-language-server/node_modules/vscode-json-languageservice/lib/esm/services/jsonHover.js
var JSONHover = (
/** @class */
- function() {
+ (function() {
function JSONHover2(schemaService, contributions, promiseConstructor) {
if (contributions === void 0) {
contributions = [];
@@ -43947,7 +42856,7 @@ var JSONHover = (
});
};
return JSONHover2;
- }()
+ })()
);
function toMarkdown(plain) {
if (plain) {
@@ -43967,7 +42876,7 @@ function toMarkdownCodeBlock(content) {
var localize5 = loadMessageBundle();
var JSONValidation = (
/** @class */
- function() {
+ (function() {
function JSONValidation2(jsonSchemaService, promiseConstructor) {
this.jsonSchemaService = jsonSchemaService;
this.promise = promiseConstructor;
@@ -44052,7 +42961,7 @@ var JSONValidation = (
});
};
return JSONValidation2;
- }()
+ })()
);
var idCounter2 = 0;
function schemaAllowsComments(schemaRef) {
@@ -44166,7 +43075,7 @@ function colorFromHex(text) {
// ../../node_modules/yaml-language-server/node_modules/vscode-json-languageservice/lib/esm/services/jsonDocumentSymbols.js
var JSONDocumentSymbols = (
/** @class */
- function() {
+ (function() {
function JSONDocumentSymbols2(schemaService) {
this.schemaService = schemaService;
}
@@ -44423,7 +43332,7 @@ var JSONDocumentSymbols = (
return result;
};
return JSONDocumentSymbols2;
- }()
+ })()
);
function getRange(document, node) {
return Range.create(document.positionAt(node.offset), document.positionAt(node.offset + node.length));
diff --git a/packages/ace-linters/tests/ui/general-ui.tests.ts b/packages/ace-linters/tests/ui/general-ui.tests.ts
index 1733d427..42d9ead0 100644
--- a/packages/ace-linters/tests/ui/general-ui.tests.ts
+++ b/packages/ace-linters/tests/ui/general-ui.tests.ts
@@ -91,12 +91,12 @@ describe("Editor Console Error Tests", function () {
it("should not produce errors when switching modes (without extra settings)", async function () {
const modes = [
- "typescript", "json", "css", "html", "yaml", "php", "xml", "javascript", "lua", "less", "scss",
- "python", "css"
+ "typescript", "json", "css", "html", "yaml", "php", "xml", "javascript", "lua", "less", "scss"
];
for (const mode of modes) {
// Clear errors for each mode.
consoleErrors.length = 0;
+ console.log(mode);
await page.evaluate(function (mode) {
window.testFlags.modeChanged = false;
diff --git a/packages/ace-linters/tsconfig.json b/packages/ace-linters/tsconfig.json
index 0df30640..37966c3b 100644
--- a/packages/ace-linters/tsconfig.json
+++ b/packages/ace-linters/tsconfig.json
@@ -13,7 +13,8 @@
"esModuleInterop": true,
"declaration": true,
"declarationDir": "./types",
- "noEmit": true
+ "noEmit": true,
+ "types": ["mocha"]
},
"ts-node": {
"transpileOnly": true
diff --git a/packages/ace-linters/vite.config.ts b/packages/ace-linters/vite.config.ts
new file mode 100644
index 00000000..1648ed19
--- /dev/null
+++ b/packages/ace-linters/vite.config.ts
@@ -0,0 +1,104 @@
+import { defineConfig, Plugin } from 'vite';
+import { resolve } from 'path';
+import { nodePolyfills } from 'vite-plugin-node-polyfills';
+import commonjs from '@rollup/plugin-commonjs';
+
+function umd2Plugin(): Plugin {
+ return {
+ name: 'umd2-global-exports',
+ generateBundle(_options, bundle) {
+ for (const chunk of Object.values(bundle)) {
+ if (chunk.type === 'chunk' && chunk.code) {
+ // Replace the UMD wrapper to export directly to global instead of namespace
+ chunk.code = chunk.code.replace(
+ /factory\((global\d*)\.[\w]+ = \{\}\)/g,
+ 'factory($1)'
+ );
+ }
+ }
+ },
+ };
+}
+
+const entries: Record = {
+ 'ace-linters': resolve(__dirname, 'src/index.ts'),
+ 'service-manager': resolve(__dirname, 'src/services/service-manager.ts'),
+ 'html-service': resolve(__dirname, 'src/services/html/html-service.ts'),
+ 'css-service': resolve(__dirname, 'src/services/css/css-service.ts'),
+ 'json-service': resolve(__dirname, 'src/services/json/json-service.ts'),
+ 'lua-service': resolve(__dirname, 'src/services/lua/lua-service.ts'),
+ 'typescript-service': resolve(__dirname, 'src/services/typescript/typescript-service.ts'),
+ 'yaml-service': resolve(__dirname, 'src/services/yaml/yaml-service.ts'),
+ 'xml-service': resolve(__dirname, 'src/services/xml/xml-service.ts'),
+ 'php-service': resolve(__dirname, 'src/services/php/php-service.ts'),
+ 'ace-language-client': resolve(__dirname, 'src/ace-language-client.ts'),
+ 'javascript-service': resolve(__dirname, 'src/services/javascript/javascript-service.ts'),
+ 'base-service': resolve(__dirname, 'src/services/base-service.ts'),
+ 'language-client': resolve(__dirname, 'src/services/language-client.ts'),
+};
+
+export { entries };
+
+const entryName = process.env.ENTRY || 'ace-linters';
+const entry = entries[entryName];
+
+if (!entry) {
+ throw new Error(`Unknown entry: ${entryName}. Available: ${Object.keys(entries).join(', ')}`);
+}
+
+const isProduction = process.env.NODE_ENV === 'production';
+
+function toUmdIdentifier(name: string) {
+ return name.replace(/(^\w|-\w)/g, m => m.replace('-', '').toUpperCase());
+}
+
+export default defineConfig({
+ build: {
+ outDir: 'build',
+ sourcemap: isProduction ? false : 'inline',
+ minify: false,
+ emptyOutDir: false,
+ lib: {
+ entry,
+ name: toUmdIdentifier(entryName),
+ formats: ['umd'],
+ fileName: () => `${entryName}.js`,
+ },
+ rollupOptions: {
+ external: [/^ace-code/, /^ace-builds/],
+ output: {
+ exports: 'named',
+ globals: {
+ 'ace-code': 'ace',
+ 'ace-builds': 'ace',
+ },
+ },
+ },
+ },
+
+ esbuild: {
+ target: 'es2019',
+ },
+
+ plugins: [
+ commonjs({
+ include: [/src\/services\/.*\/lib\/.*/],
+ }),
+ nodePolyfills({
+ include: ['buffer', 'process', 'util', 'stream', 'path', 'events'],
+ globals: {
+ Buffer: true,
+ process: true,
+ },
+ }),
+ umd2Plugin(),
+ ],
+
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js'],
+ },
+
+ worker: {
+ format: 'es',
+ },
+});
diff --git a/packages/ace-linters/webpack.config.js b/packages/ace-linters/webpack.config.js
deleted file mode 100644
index b3352a20..00000000
--- a/packages/ace-linters/webpack.config.js
+++ /dev/null
@@ -1,75 +0,0 @@
-"use strict";
-const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");
-
-module.exports = (env, argv) => {
- const isProduction = argv.mode === 'production';
- const isTest = argv.name === 'test';
- let loader;
- loader = {
- test: /\.(t|j)sx?$/,
- use: {
- loader: 'swc-loader',
- options: {
- jsc: {
- "target": "es2019"
- }
- }
- },
- exclude: /node_modules/
- };
- return {
- cache: false,
- devtool: isProduction ? false : 'inline-source-map',
- entry: {
- "ace-linters": './src/index.ts',
- "service-manager": './src/services/service-manager.ts',
- "html-service": './src/services/html/html-service.ts',
- "css-service": './src/services/css/css-service.ts',
- "json-service": './src/services/json/json-service.ts',
- "lua-service": './src/services/lua/lua-service.ts',
- "typescript-service": './src/services/typescript/typescript-service.ts',
- "yaml-service": './src/services/yaml/yaml-service.ts',
- "xml-service": './src/services/xml/xml-service.ts',
- "php-service": './src/services/php/php-service.ts',
- "ace-language-client": './src/ace-language-client.ts',
- "javascript-service": './src/services/javascript/javascript-service.ts',
- "base-service": './src/services/base-service.ts',
- "language-client": './src/services/language-client.ts'
- },
- externals: /ace-code|ace-builds/,
- module: {
- rules: [
- loader, {
- test: /\.wasm$/,
- type: "asset/inline",
- },
- ]
- },
- resolveLoader: {
- alias: {
- "ace-code/src/requirejs/text": __dirname + "/node_modules/text-loader"
- },
- modules: [
- "node_modules", __dirname + "/node_modules"
- ]
- },
- resolve: {
- extensions: ['.tsx', '.ts', '.js']
- },
- output: {
- filename: '[name].js',
- path: __dirname + (isTest ? "/tests/ui/dist/" : "") + '/build',
- publicPath: 'auto',
- library: {
- type: "umd2"
- },
- globalObject: 'this'
- },
- optimization: {
- minimize: false
- },
- plugins: [
- new NodePolyfillPlugin()
- ]
- };
-};
diff --git a/packages/ace-lua-linter/package.json b/packages/ace-lua-linter/package.json
index 06340eb8..d3838383 100644
--- a/packages/ace-lua-linter/package.json
+++ b/packages/ace-lua-linter/package.json
@@ -1,20 +1,22 @@
{
"name": "ace-lua-linter",
"author": "Azat Alimov ",
- "version": "1.1.0",
+ "version": "1.2.0",
"license": "MIT",
"repository": "https://github.com/mkslanc/ace-linters/tree/main/packages/ace-lua-linter",
"scripts": {
"clean": "rimraf build",
"prebuild": "node prebuild.js",
- "build": "npm run clean && webpack --mode=production"
+ "build": "npm run clean && vite build"
},
"devDependencies": {
"luaparse": "^0.3.1",
- "@wasm-fmt/lua_fmt": "^0.1.0"
+ "@wasm-fmt/lua_fmt": "^0.3.2",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
},
"peerDependencies": {
- "ace-linters": "^1.5.0"
+ "ace-linters": "^2.0.0"
},
"files": ["build", "types"],
"typesVersions": {
diff --git a/packages/ace-lua-linter/src/ace-lua-linter.ts b/packages/ace-lua-linter/src/ace-lua-linter.ts
index 85a39068..edc3be23 100644
--- a/packages/ace-lua-linter/src/ace-lua-linter.ts
+++ b/packages/ace-lua-linter/src/ace-lua-linter.ts
@@ -1,5 +1,5 @@
import * as lua from "luaparse";
-import init, {Config, format} from "@wasm-fmt/lua_fmt";
+import init, {Config, format} from "@wasm-fmt/lua_fmt/lua_fmt_web";
import {BaseService} from "ace-linters/src/services/base-service";
@@ -88,7 +88,7 @@ export class AceLuaLinter extends BaseService implements La
const text = fullDocument.getText(range);
try {
- const output = format(text, document.uri, this.getFormattingOptions(options));
+ const output = format(text, this.getFormattingOptions(options));
return Promise.resolve(toTextEdits(output, range));
} catch (e) {
console.log(e);
diff --git a/packages/ace-lua-linter/types/ace-lua-linter.d.ts b/packages/ace-lua-linter/types/ace-lua-linter.d.ts
index 8ef03905..95c8ac55 100644
--- a/packages/ace-lua-linter/types/ace-lua-linter.d.ts
+++ b/packages/ace-lua-linter/types/ace-lua-linter.d.ts
@@ -1,4 +1,4 @@
-import { Config } from "@wasm-fmt/lua_fmt";
+import { Config } from "@wasm-fmt/lua_fmt/lua_fmt_web";
import { BaseService } from "ace-linters/src/services/base-service";
import { LanguageService } from "ace-linters/src/types/language-service";
import type { AceLuaLinterOptions } from "./service";
diff --git a/packages/ace-lua-linter/vite.config.ts b/packages/ace-lua-linter/vite.config.ts
new file mode 100644
index 00000000..9521226d
--- /dev/null
+++ b/packages/ace-lua-linter/vite.config.ts
@@ -0,0 +1,67 @@
+import {defineConfig, Plugin} from 'vite';
+import {resolve} from 'path';
+import {nodePolyfills} from 'vite-plugin-node-polyfills';
+
+function umd2Plugin(): Plugin {
+ return {
+ name: 'umd2-global-exports',
+ generateBundle(_options, bundle) {
+ for (const chunk of Object.values(bundle)) {
+ if (chunk.type === 'chunk' && chunk.code) {
+ chunk.code = chunk.code.replace(
+ /factory\((global\d*)\.[\w]+ = \{\}\)/g,
+ 'factory($1)'
+ );
+ }
+ }
+ },
+ };
+}
+
+export default defineConfig({
+ build: {
+ outDir: 'build',
+ sourcemap: false,
+ minify: false,
+ lib: {
+ entry: resolve(__dirname, 'src/ace-lua-linter.ts'),
+ name: 'AceLuaLinter',
+ formats: ['umd'],
+ fileName: () => 'ace-lua-linter.js',
+ },
+ rollupOptions: {
+ external: [
+ /^ace-code/,
+ /^ace-builds/,
+ ],
+ output: {
+ exports: 'named',
+ globals: {
+ 'ace-code': 'ace',
+ 'ace-builds': 'ace',
+ },
+ },
+ },
+ },
+
+ esbuild: {
+ target: 'es2019',
+ },
+
+ optimizeDeps: {
+ exclude: ['@wasm-fmt/lua_fmt'],
+ },
+
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js'],
+ },
+
+ worker: {
+ format: 'es',
+ },
+
+ plugins: [
+ nodePolyfills(),
+ umd2Plugin(),
+ ],
+});
diff --git a/packages/ace-lua-linter/webpack.config.js b/packages/ace-lua-linter/webpack.config.js
deleted file mode 100644
index ec806990..00000000
--- a/packages/ace-lua-linter/webpack.config.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"use strict";
-const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");
-
-module.exports = (env, argv) => {
- const isProduction = argv.mode === 'production';
- let loader;
- loader = {
- test: /\.(t|j)sx?$/,
- use: {
- loader: 'swc-loader',
- options: {
- jsc: {
- "target": "es2019"
- }
- }
- },
- exclude: /node_modules/
- };
- return {
- cache: false,
- devtool: isProduction ? false : 'inline-source-map',
- entry: {
- "ace-lua-linter": {
- chunkLoading: "import-scripts",
- import: './src/ace-lua-linter.ts'
- },
- },
- module: {
- rules: [
- loader, {
- test: /\.wasm$/,
- type: "asset/inline",
- },
- ]
- },
- resolveLoader: {
- modules: [
- "node_modules", __dirname + "/node_modules"
- ]
- },
- resolve: {
- extensions: ['.tsx', '.ts', '.js']
- },
- output: {
- filename: '[name].js',
- path: __dirname + '/build',
- publicPath: 'auto',
- library: {
- type: "umd2"
- },
- globalObject: 'this'
- },
- optimization: {
- minimize: false
- },
- plugins: [
- new NodePolyfillPlugin()
- ]
- };
-};
diff --git a/packages/ace-python-ruff-linter/package.json b/packages/ace-python-ruff-linter/package.json
index 6d11788f..5dbfb0dc 100644
--- a/packages/ace-python-ruff-linter/package.json
+++ b/packages/ace-python-ruff-linter/package.json
@@ -1,18 +1,20 @@
{
"name": "ace-python-ruff-linter",
"author": "Azat Alimov ",
- "version": "1.1.0",
+ "version": "1.2.0",
"license": "MIT",
"scripts": {
"clean": "rimraf build",
"prebuild": "node prebuild.js",
- "build": "npm run clean && webpack --mode=production"
+ "build": "npm run clean && vite build"
},
"devDependencies": {
- "@astral-sh/ruff-wasm-web": "^0.9.9"
+ "@astral-sh/ruff-wasm-web": "^0.14.14",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
},
"peerDependencies": {
- "ace-linters": "^1.5.0"
+ "ace-linters": "^2.0.0"
},
"files": ["build", "types"],
"typesVersions": {
diff --git a/packages/ace-python-ruff-linter/src/python-converters.ts b/packages/ace-python-ruff-linter/src/python-converters.ts
index c72ecc89..be96c2fb 100644
--- a/packages/ace-python-ruff-linter/src/python-converters.ts
+++ b/packages/ace-python-ruff-linter/src/python-converters.ts
@@ -31,7 +31,7 @@ export function toDiagnostics(diagnostics: Diagnostic[], filterErrors: FilterDia
}
return {
message: code + " " + el.message,
- range: toRange(el.location, el.end_location),
+ range: toRange(el.start_location, el.end_location),
severity: severity,
}
});
diff --git a/packages/ace-python-ruff-linter/src/python-service.ts b/packages/ace-python-ruff-linter/src/python-service.ts
index f0d7a90f..e3c549fc 100644
--- a/packages/ace-python-ruff-linter/src/python-service.ts
+++ b/packages/ace-python-ruff-linter/src/python-service.ts
@@ -45,7 +45,7 @@ export class PythonService extends BaseService implements
this.initOutput = await init();
this.currentOptions = this.getOption("", "configuration");
this.currentOptions = this.currentOptions ? mergeObjects(this.currentOptions, this.defaultOptions) : this.defaultOptions;
- this.$service = new Workspace(this.currentOptions);
+ this.$service = new Workspace(this.currentOptions, 1);
}
setFormattingOptions(options: lsp.FormattingOptions) {
@@ -54,7 +54,7 @@ export class PythonService extends BaseService implements
this.currentOptions['indent-width'] = options.tabSize;
this.currentOptions.format['indent-style'] = indentStyle;
}
- this.$service = new Workspace(this.currentOptions);
+ this.$service = new Workspace(this.currentOptions, 1);
}
async doValidation(document: lsp.TextDocumentIdentifier): Promise {
diff --git a/packages/ace-python-ruff-linter/vite.config.ts b/packages/ace-python-ruff-linter/vite.config.ts
new file mode 100644
index 00000000..3155f403
--- /dev/null
+++ b/packages/ace-python-ruff-linter/vite.config.ts
@@ -0,0 +1,67 @@
+import {defineConfig, Plugin} from 'vite';
+import {resolve} from 'path';
+import {nodePolyfills} from 'vite-plugin-node-polyfills';
+
+function umd2Plugin(): Plugin {
+ return {
+ name: 'umd2-global-exports',
+ generateBundle(_options, bundle) {
+ for (const chunk of Object.values(bundle)) {
+ if (chunk.type === 'chunk' && chunk.code) {
+ chunk.code = chunk.code.replace(
+ /factory\((global\d*)\.[\w]+ = \{\}\)/g,
+ 'factory($1)'
+ );
+ }
+ }
+ },
+ };
+}
+
+export default defineConfig({
+ build: {
+ outDir: 'build',
+ sourcemap: false,
+ minify: false,
+ lib: {
+ entry: resolve(__dirname, 'src/python-service.ts'),
+ name: 'PythonService',
+ formats: ['umd'],
+ fileName: () => 'python-service.js',
+ },
+ rollupOptions: {
+ external: [
+ /^ace-code/,
+ /^ace-builds/,
+ ],
+ output: {
+ exports: 'named',
+ globals: {
+ 'ace-code': 'ace',
+ 'ace-builds': 'ace',
+ },
+ },
+ },
+ },
+
+ esbuild: {
+ target: 'es2019',
+ },
+
+ optimizeDeps: {
+ exclude: ['@astral-sh/ruff-wasm-web'],
+ },
+
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js'],
+ },
+
+ worker: {
+ format: 'es',
+ },
+
+ plugins: [
+ nodePolyfills(),
+ umd2Plugin(),
+ ],
+});
diff --git a/packages/ace-python-ruff-linter/webpack.config.js b/packages/ace-python-ruff-linter/webpack.config.js
deleted file mode 100644
index 3c4a635c..00000000
--- a/packages/ace-python-ruff-linter/webpack.config.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"use strict";
-const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");
-
-module.exports = (env, argv) => {
- const isProduction = argv.mode === 'production';
- let loader;
- loader = {
- test: /\.(t|j)sx?$/,
- use: {
- loader: 'swc-loader',
- options: {
- jsc: {
- "target": "es2019"
- }
- }
- },
- exclude: /node_modules/
- };
- return {
- cache: false,
- devtool: isProduction ? false : 'inline-source-map',
- entry: {
- "python-service": {
- chunkLoading: "import-scripts",
- import: './src/python-service.ts'
- },
- },
- module: {
- rules: [
- loader, {
- test: /\.wasm$/,
- type: "asset/inline",
- },
- ]
- },
- resolveLoader: {
- modules: [
- "node_modules", __dirname + "/node_modules"
- ]
- },
- resolve: {
- extensions: ['.tsx', '.ts', '.js']
- },
- output: {
- filename: '[name].js',
- path: __dirname + '/build',
- publicPath: 'auto',
- library: {
- type: "umd2"
- },
- globalObject: 'this'
- },
- optimization: {
- minimize: false
- },
- plugins: [
- new NodePolyfillPlugin()
- ]
- };
-};
diff --git a/packages/ace-sql-linter/build.mjs b/packages/ace-sql-linter/build.mjs
new file mode 100644
index 00000000..a777940b
--- /dev/null
+++ b/packages/ace-sql-linter/build.mjs
@@ -0,0 +1,35 @@
+#!/usr/bin/env node
+import { execSync } from 'child_process';
+import { rmSync, existsSync } from 'fs';
+
+const entries = [
+ 'mysql-service',
+ 'pgsql-service',
+ 'flinksql-service',
+ 'hivesql-service',
+ 'impalasql-service',
+ 'sparksql-service',
+ 'trinosql-service',
+];
+
+// Clean build directory
+if (existsSync('build')) {
+ rmSync('build', { recursive: true });
+}
+
+console.log('Building ace-sql-linter with Vite (UMD)...\n');
+
+for (const entry of entries) {
+ console.log(`Building ${entry}...`);
+ try {
+ execSync(`npx vite build`, {
+ stdio: 'inherit',
+ env: { ...process.env, ENTRY: entry },
+ });
+ } catch (err) {
+ console.error(`Failed to build ${entry}`);
+ process.exit(1);
+ }
+}
+
+console.log('\nAll builds complete!');
diff --git a/packages/ace-sql-linter/package.json b/packages/ace-sql-linter/package.json
index 74714f9e..c58018c8 100644
--- a/packages/ace-sql-linter/package.json
+++ b/packages/ace-sql-linter/package.json
@@ -1,17 +1,19 @@
{
"name": "ace-sql-linter",
- "version": "1.1.0",
+ "version": "1.2.0",
"license": "MIT",
"scripts": {
"clean": "rimraf build",
"prebuild": "node prebuild.js",
- "build": "npm run clean && webpack --mode=production"
+ "build": "node build.mjs"
},
"devDependencies": {
- "dt-sql-parser": "^4.1.1"
+ "dt-sql-parser": "^4.4.0",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
},
"peerDependencies": {
- "ace-linters": "^1.5.0"
+ "ace-linters": "^2.0.0"
},
"files": ["build", "types"],
"typesVersions": {
diff --git a/packages/ace-sql-linter/vite.config.ts b/packages/ace-sql-linter/vite.config.ts
new file mode 100644
index 00000000..c3dc75fc
--- /dev/null
+++ b/packages/ace-sql-linter/vite.config.ts
@@ -0,0 +1,87 @@
+import {defineConfig, Plugin} from 'vite';
+import {resolve} from 'path';
+import {nodePolyfills} from 'vite-plugin-node-polyfills';
+
+function umd2Plugin(): Plugin {
+ return {
+ name: 'umd2-global-exports',
+ generateBundle(_options, bundle) {
+ for (const chunk of Object.values(bundle)) {
+ if (chunk.type === 'chunk' && chunk.code) {
+ chunk.code = chunk.code.replace(
+ /factory\((global\d*)\.[\w]+ = \{\}\)/g,
+ 'factory($1)'
+ );
+ }
+ }
+ },
+ };
+}
+
+const entries: Record = {
+ 'mysql-service': resolve(__dirname, 'src/mysql-service.ts'),
+ 'pgsql-service': resolve(__dirname, 'src/pgsql-service.ts'),
+ 'flinksql-service': resolve(__dirname, 'src/flinksql-service.ts'),
+ 'hivesql-service': resolve(__dirname, 'src/hivesql-service.ts'),
+ 'impalasql-service': resolve(__dirname, 'src/impalasql-service.ts'),
+ 'sparksql-service': resolve(__dirname, 'src/sparksql-service.ts'),
+ 'trinosql-service': resolve(__dirname, 'src/trinosql-service.ts'),
+};
+
+export {entries};
+
+const entryName = process.env.ENTRY || 'mysql-service';
+const entry = entries[entryName];
+
+if (!entry) {
+ throw new Error(`Unknown entry: ${entryName}. Available: ${Object.keys(entries).join(', ')}`);
+}
+
+function toUmdIdentifier(name: string) {
+ return name.replace(/(^\w|-\w)/g, m => m.replace('-', '').toUpperCase());
+}
+
+export default defineConfig({
+ build: {
+ outDir: 'build',
+ sourcemap: false,
+ minify: false,
+ emptyOutDir: false,
+ lib: {
+ entry,
+ name: toUmdIdentifier(entryName),
+ formats: ['umd'],
+ fileName: () => `${entryName}.js`,
+ },
+ rollupOptions: {
+ external: [
+ /^ace-code/,
+ /^ace-builds/,
+ ],
+ output: {
+ exports: 'named',
+ globals: {
+ 'ace-code': 'ace',
+ 'ace-builds': 'ace',
+ },
+ },
+ },
+ },
+
+ esbuild: {
+ target: 'es2019',
+ },
+
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js'],
+ },
+
+ worker: {
+ format: 'es',
+ },
+
+ plugins: [
+ nodePolyfills(),
+ umd2Plugin(),
+ ],
+});
diff --git a/packages/ace-sql-linter/webpack.config.js b/packages/ace-sql-linter/webpack.config.js
deleted file mode 100644
index 7694e573..00000000
--- a/packages/ace-sql-linter/webpack.config.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"use strict";
-const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");
-
-module.exports = (env, argv) => {
- const isProduction = argv.mode === 'production';
- let loader;
- loader = {
- test: /\.(t|j)sx?$/,
- use: {
- loader: 'swc-loader',
- options: {
- jsc: {
- "target": "es2019"
- }
- }
- },
- exclude: /node_modules/
- };
- return {
- cache: false,
- devtool: isProduction ? false : 'inline-source-map',
- entry: {
- "mysql-service": './src/mysql-service.ts',
- "pgsql-service": './src/pgsql-service.ts',
- "flinksql-service": './src/flinksql-service.ts',
- "hivesql-service": './src/hivesql-service.ts',
- "impalasql-service": './src/impalasql-service.ts',
- "sparksql-service": './src/sparksql-service.ts',
- "trinosql-service": './src/trinosql-service.ts',
- },
- module: {
- rules: [
- loader
- ]
- },
- resolveLoader: {
- modules: [
- "node_modules", __dirname + "/node_modules"
- ]
- },
- resolve: {
- extensions: ['.tsx', '.ts', '.js']
- },
- output: {
- filename: '[name].js',
- path: __dirname + '/build',
- publicPath: 'auto',
- library: {
- type: "umd2"
- },
- globalObject: 'this'
- },
- optimization: {
- minimize: false
- },
- plugins: [
- new NodePolyfillPlugin()
- ]
- };
-};
diff --git a/packages/ace-zig-linter/package.json b/packages/ace-zig-linter/package.json
index 8086077d..3339487a 100644
--- a/packages/ace-zig-linter/package.json
+++ b/packages/ace-zig-linter/package.json
@@ -1,18 +1,20 @@
{
"name": "ace-zig-linter",
"author": "Azat Alimov ",
- "version": "1.1.0",
+ "version": "1.2.0",
"license": "MIT",
"scripts": {
"clean": "rimraf build",
"prebuild": "node prebuild.js",
- "build": "npm run clean && webpack --mode=production"
+ "build": "npm run clean && vite build"
},
"devDependencies": {
- "@wasm-fmt/zig_fmt": "^0.0.5"
+ "@wasm-fmt/zig_fmt": "^0.15.2",
+ "vite": "^6.0.0",
+ "vite-plugin-node-polyfills": "^0.25.0"
},
"peerDependencies": {
- "ace-linters": "^1.5.0"
+ "ace-linters": "^2.0.0"
},
"files": ["build", "types"],
"typesVersions": {
diff --git a/packages/ace-zig-linter/vite.config.ts b/packages/ace-zig-linter/vite.config.ts
new file mode 100644
index 00000000..fb924d7c
--- /dev/null
+++ b/packages/ace-zig-linter/vite.config.ts
@@ -0,0 +1,70 @@
+import {defineConfig, Plugin} from 'vite';
+import {resolve} from 'path';
+import {nodePolyfills} from 'vite-plugin-node-polyfills';
+
+function umd2Plugin(): Plugin {
+ return {
+ name: 'umd2-global-exports',
+ generateBundle(_options, bundle) {
+ for (const chunk of Object.values(bundle)) {
+ if (chunk.type === 'chunk' && chunk.code) {
+ // Replace the UMD wrapper to export directly to global instead of namespace
+ chunk.code = chunk.code.replace(
+ /factory\((global\d*)\.[\w]+ = \{\}\)/g,
+ 'factory($1)'
+ );
+ }
+ }
+ },
+ };
+}
+
+export default defineConfig({
+ build: {
+ outDir: 'build',
+ sourcemap: false,
+ minify: false,
+ lib: {
+ entry: resolve(__dirname, 'src/ace-zig-linter.ts'),
+ name: 'AceZigLinter',
+ formats: ['umd'],
+ fileName: () => 'ace-zig-linter.js',
+ },
+ rollupOptions: {
+ external: [
+ /^ace-code/,
+ /^ace-builds/,
+ ],
+ output: {
+ exports: 'named',
+ globals: {
+ 'ace-code': 'ace',
+ 'ace-builds': 'ace',
+ },
+ },
+ },
+ },
+
+ esbuild: {
+ target: 'es2019',
+ },
+
+ // Handle WASM files
+ optimizeDeps: {
+ exclude: ['@wasm-fmt/zig_fmt'],
+ },
+
+ resolve: {
+ extensions: ['.tsx', '.ts', '.js'],
+ },
+
+ // Worker configuration
+ worker: {
+ format: 'es',
+ },
+
+ plugins: [
+ nodePolyfills(),
+ umd2Plugin(),
+ ],
+});
diff --git a/packages/ace-zig-linter/webpack.config.js b/packages/ace-zig-linter/webpack.config.js
deleted file mode 100644
index cf6f1803..00000000
--- a/packages/ace-zig-linter/webpack.config.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"use strict";
-const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");
-
-module.exports = (env, argv) => {
- const isProduction = argv.mode === 'production';
- let loader;
- loader = {
- test: /\.(t|j)sx?$/,
- use: {
- loader: 'swc-loader',
- options: {
- jsc: {
- "target": "es2019"
- }
- }
- },
- exclude: /node_modules/
- };
- return {
- cache: false,
- devtool: isProduction ? false : 'inline-source-map',
- entry: {
- "ace-zig-linter": {
- chunkLoading: "import-scripts",
- import: './src/ace-zig-linter.ts'
- },
- },
- module: {
- rules: [
- loader, {
- test: /\.wasm$/,
- type: "asset/inline",
- },
- ]
- },
- resolveLoader: {
- modules: [
- "node_modules", __dirname + "/node_modules"
- ]
- },
- resolve: {
- extensions: ['.tsx', '.ts', '.js']
- },
- output: {
- filename: '[name].js',
- path: __dirname + '/build',
- publicPath: 'auto',
- library: {
- type: "umd2"
- },
- globalObject: 'this'
- },
- optimization: {
- minimize: false
- },
- plugins: [
- new NodePolyfillPlugin()
- ]
- };
-};
diff --git a/packages/demo/change_mode.html b/packages/demo/change_mode.html
index 5ae16da9..c5e3b9af 100644
--- a/packages/demo/change_mode.html
+++ b/packages/demo/change_mode.html
@@ -15,7 +15,7 @@
-
+