├── .github └── workflows │ └── build_and_publish.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── biome.json ├── package-lock.json ├── package.json ├── src ├── index.ts └── lib │ ├── dbUtils.ts │ ├── logger.ts │ └── queryFilter.ts └── tsconfig.json /.github/workflows/build_and_publish.yml: -------------------------------------------------------------------------------- 1 | # See: https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-docker-images 2 | # This workflow uses actions that are not certified by GitHub. 3 | # They are provided by a third-party and are governed by 4 | # separate terms of service, privacy policy, and support 5 | # documentation. 6 | 7 | # GitHub recommends pinning actions to a commit SHA. 8 | # To get a newer version, you will need to update the SHA. 9 | # You can also reference a tag or branch, but the action may change without warning. 10 | 11 | name: Publish Docker image 12 | 13 | on: 14 | workflow_dispatch: 15 | 16 | push: 17 | # Sequence of patterns matched against refs/heads 18 | # branches: 19 | # - main 20 | # Sequence of patterns matched against refs/tags 21 | tags: 22 | - 0.* 23 | 24 | jobs: 25 | push_to_registry: 26 | name: Push Docker image to Docker Hub 27 | runs-on: ubuntu-latest 28 | permissions: 29 | packages: write 30 | contents: read 31 | attestations: write 32 | id-token: write 33 | steps: 34 | - name: Check out the repo 35 | uses: actions/checkout@v4 36 | 37 | - name: Log in to Docker Hub 38 | uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a 39 | with: 40 | username: ${{ secrets.DOCKER_USERNAME }} 41 | password: ${{ secrets.DOCKER_PASSWORD }} 42 | 43 | - name: Extract metadata (tags, labels) for Docker 44 | id: meta 45 | uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 46 | with: 47 | images: tobilg/duckdb-api 48 | 49 | - name: Build and push Docker image 50 | id: push 51 | uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 52 | with: 53 | context: . 54 | file: ./Dockerfile 55 | push: true 56 | tags: ${{ steps.meta.outputs.tags }} 57 | labels: ${{ steps.meta.outputs.labels }} 58 | 59 | # - name: Generate artifact attestation 60 | # uses: actions/attest-build-provenance@v1 61 | # with: 62 | # subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}} 63 | # subject-digest: ${{ steps.push.outputs.digest }} 64 | # push-to-registry: true 65 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | lerna-debug.log* 8 | .pnpm-debug.log* 9 | 10 | # Diagnostic reports (https://nodejs.org/api/report.html) 11 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 12 | 13 | # Runtime data 14 | pids 15 | *.pid 16 | *.seed 17 | *.pid.lock 18 | 19 | # Directory for instrumented libs generated by jscoverage/JSCover 20 | lib-cov 21 | 22 | # Coverage directory used by tools like istanbul 23 | coverage 24 | *.lcov 25 | 26 | # nyc test coverage 27 | .nyc_output 28 | 29 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 30 | .grunt 31 | 32 | # Bower dependency directory (https://bower.io/) 33 | bower_components 34 | 35 | # node-waf configuration 36 | .lock-wscript 37 | 38 | # Compiled binary addons (https://nodejs.org/api/addons.html) 39 | build/Release 40 | 41 | # Dependency directories 42 | node_modules/ 43 | jspm_packages/ 44 | 45 | # Snowpack dependency directory (https://snowpack.dev/) 46 | web_modules/ 47 | 48 | # TypeScript cache 49 | *.tsbuildinfo 50 | 51 | # Optional npm cache directory 52 | .npm 53 | 54 | # Optional eslint cache 55 | .eslintcache 56 | 57 | # Optional stylelint cache 58 | .stylelintcache 59 | 60 | # Microbundle cache 61 | .rpt2_cache/ 62 | .rts2_cache_cjs/ 63 | .rts2_cache_es/ 64 | .rts2_cache_umd/ 65 | 66 | # Optional REPL history 67 | .node_repl_history 68 | 69 | # Output of 'npm pack' 70 | *.tgz 71 | 72 | # Yarn Integrity file 73 | .yarn-integrity 74 | 75 | # dotenv environment variable files 76 | .env 77 | .env.development.local 78 | .env.test.local 79 | .env.production.local 80 | .env.local 81 | 82 | # parcel-bundler cache (https://parceljs.org/) 83 | .cache 84 | .parcel-cache 85 | 86 | # Next.js build output 87 | .next 88 | out 89 | 90 | # Nuxt.js build / generate output 91 | .nuxt 92 | dist 93 | 94 | # Gatsby files 95 | .cache/ 96 | # Comment in the public line in if your project uses Gatsby and not Next.js 97 | # https://nextjs.org/blog/next-9-1#public-directory-support 98 | # public 99 | 100 | # vuepress build output 101 | .vuepress/dist 102 | 103 | # vuepress v2.x temp and cache directory 104 | .temp 105 | .cache 106 | 107 | # Docusaurus cache and generated files 108 | .docusaurus 109 | 110 | # Serverless directories 111 | .serverless/ 112 | 113 | # FuseBox cache 114 | .fusebox/ 115 | 116 | # DynamoDB Local files 117 | .dynamodb/ 118 | 119 | # TernJS port file 120 | .tern-port 121 | 122 | # Stores VSCode versions used for testing VSCode extensions 123 | .vscode-test 124 | 125 | # yarn v2 126 | .yarn/cache 127 | .yarn/unplugged 128 | .yarn/build-state.yml 129 | .yarn/install-state.gz 130 | .pnp.* 131 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:20-bookworm-slim 2 | 3 | USER node 4 | WORKDIR /home/node 5 | 6 | COPY package.json . 7 | COPY tsconfig.json . 8 | COPY src/ src/ 9 | RUN npm i 10 | 11 | ARG PORT 12 | EXPOSE ${PORT:-3000} 13 | 14 | CMD ["npm", "run", "serve"] -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Tobi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # duckdb-api 2 | Running [DuckDB](https://duckdb.org/) behind a [Hono.js](https://hono.dev/) API in a Docker container. 3 | 4 | ## Building the Docker image 5 | 6 | ```bash 7 | docker build -t duckdb-api . 8 | ``` 9 | 10 | ## Usage 11 | To build and run the Docker container, use the following commands: 12 | 13 | ```bash 14 | docker run -p 3000:3000 tobilg/duckdb-api:0.1.1 15 | ``` 16 | 17 | ### Environment Variables 18 | The following environment variables can be set to configure the API: 19 | 20 | - `PORT`: The port to run the API on. Defaults to `3000`. (optional) 21 | - `USERNAME`: The username to be used for basic auth. (optional) 22 | - `PASSWORD`: The password to be used for basic auth. (optional) 23 | - `AWS_REGION`: The AWS region to be used for S3 access (optional) 24 | - `AWS_ACCESS_KEY_ID`: The AWS access key ID to be used for S3 access (optional) 25 | - `AWS_SECRET_ACCESS_KEY`: The AWS secret access key to be used for S3 access (optional) 26 | 27 | If you want to activate basic auth for the API, set both the `USERNAME` and the `PASSWORD` environment variables. 28 | 29 | In case you want to use AWS S3, set the `AWS_REGION`, `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables with the appropriate values (you need to have set up the appropriate credentials beforehand in your AWS account). 30 | 31 | ### API Documentation 32 | There are two endpoints available: 33 | 34 | - `POST /query`: Executes a SQL query and returns the result as a JSON object. 35 | - `POST /streaming-query`: Executes a SQL query and streams the Arrow data to the client. 36 | 37 | The request body of both endpoints is a JSON object with a `query` property, which contains the SQL query to execute. 38 | 39 | ### Examples 40 | 41 | Simple query to the JSON endpoint 42 | ```bash 43 | curl -X POST http://localhost:3000/query -H "Content-Type: application/json" -d '{"query": "SELECT 1;"}' 44 | ``` 45 | Streaming query from a remote Parquet file 46 | ```bash 47 | curl --location 'localhost:3000/streaming-query' \ 48 | --header 'Content-Type: application/json' \ 49 | --data '{ 50 | "query": "SELECT * FROM '\''https://shell.duckdb.org/data/tpch/0_01/parquet/orders.parquet'\'' LIMIT 100" 51 | }' 52 | --output /tmp/result.arrow 53 | ``` 54 | -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", 3 | "vcs": { 4 | "enabled": false, 5 | "clientKind": "git", 6 | "useIgnoreFile": false 7 | }, 8 | "files": { 9 | "ignoreUnknown": false, 10 | "ignore": [] 11 | }, 12 | "formatter": { 13 | "enabled": true, 14 | "indentStyle": "tab", 15 | "lineWidth": 120 16 | }, 17 | "organizeImports": { 18 | "enabled": true 19 | }, 20 | "linter": { 21 | "enabled": true, 22 | "rules": { 23 | "recommended": true 24 | } 25 | }, 26 | "javascript": { 27 | "formatter": { 28 | "quoteStyle": "single" 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "duckdb-api", 3 | "version": "0.1.1", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "duckdb-api", 9 | "version": "0.1.1", 10 | "dependencies": { 11 | "@hono/node-server": "^1.13.8", 12 | "bunyan": "^1.8.15", 13 | "duckdb": "^1.2.0", 14 | "hono": "^4.7.4", 15 | "tsx": "^4.19.3", 16 | "typescript": "^5.8.2" 17 | }, 18 | "devDependencies": { 19 | "@biomejs/biome": "1.9.4", 20 | "@types/bunyan": "^1.8.11", 21 | "@types/node": "^22.13.10", 22 | "nodemon": "^3.1.9" 23 | } 24 | }, 25 | "node_modules/@biomejs/biome": { 26 | "version": "1.9.4", 27 | "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-1.9.4.tgz", 28 | "integrity": "sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==", 29 | "dev": true, 30 | "hasInstallScript": true, 31 | "bin": { 32 | "biome": "bin/biome" 33 | }, 34 | "engines": { 35 | "node": ">=14.21.3" 36 | }, 37 | "funding": { 38 | "type": "opencollective", 39 | "url": "https://opencollective.com/biome" 40 | }, 41 | "optionalDependencies": { 42 | "@biomejs/cli-darwin-arm64": "1.9.4", 43 | "@biomejs/cli-darwin-x64": "1.9.4", 44 | "@biomejs/cli-linux-arm64": "1.9.4", 45 | "@biomejs/cli-linux-arm64-musl": "1.9.4", 46 | "@biomejs/cli-linux-x64": "1.9.4", 47 | "@biomejs/cli-linux-x64-musl": "1.9.4", 48 | "@biomejs/cli-win32-arm64": "1.9.4", 49 | "@biomejs/cli-win32-x64": "1.9.4" 50 | } 51 | }, 52 | "node_modules/@biomejs/cli-darwin-arm64": { 53 | "version": "1.9.4", 54 | "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.9.4.tgz", 55 | "integrity": "sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==", 56 | "cpu": [ 57 | "arm64" 58 | ], 59 | "dev": true, 60 | "optional": true, 61 | "os": [ 62 | "darwin" 63 | ], 64 | "engines": { 65 | "node": ">=14.21.3" 66 | } 67 | }, 68 | "node_modules/@biomejs/cli-darwin-x64": { 69 | "version": "1.9.4", 70 | "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.9.4.tgz", 71 | "integrity": "sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==", 72 | "cpu": [ 73 | "x64" 74 | ], 75 | "dev": true, 76 | "optional": true, 77 | "os": [ 78 | "darwin" 79 | ], 80 | "engines": { 81 | "node": ">=14.21.3" 82 | } 83 | }, 84 | "node_modules/@biomejs/cli-linux-arm64": { 85 | "version": "1.9.4", 86 | "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.9.4.tgz", 87 | "integrity": "sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==", 88 | "cpu": [ 89 | "arm64" 90 | ], 91 | "dev": true, 92 | "optional": true, 93 | "os": [ 94 | "linux" 95 | ], 96 | "engines": { 97 | "node": ">=14.21.3" 98 | } 99 | }, 100 | "node_modules/@biomejs/cli-linux-arm64-musl": { 101 | "version": "1.9.4", 102 | "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.9.4.tgz", 103 | "integrity": "sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==", 104 | "cpu": [ 105 | "arm64" 106 | ], 107 | "dev": true, 108 | "optional": true, 109 | "os": [ 110 | "linux" 111 | ], 112 | "engines": { 113 | "node": ">=14.21.3" 114 | } 115 | }, 116 | "node_modules/@biomejs/cli-linux-x64": { 117 | "version": "1.9.4", 118 | "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-1.9.4.tgz", 119 | "integrity": "sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg==", 120 | "cpu": [ 121 | "x64" 122 | ], 123 | "dev": true, 124 | "optional": true, 125 | "os": [ 126 | "linux" 127 | ], 128 | "engines": { 129 | "node": ">=14.21.3" 130 | } 131 | }, 132 | "node_modules/@biomejs/cli-linux-x64-musl": { 133 | "version": "1.9.4", 134 | "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-1.9.4.tgz", 135 | "integrity": "sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg==", 136 | "cpu": [ 137 | "x64" 138 | ], 139 | "dev": true, 140 | "optional": true, 141 | "os": [ 142 | "linux" 143 | ], 144 | "engines": { 145 | "node": ">=14.21.3" 146 | } 147 | }, 148 | "node_modules/@biomejs/cli-win32-arm64": { 149 | "version": "1.9.4", 150 | "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.9.4.tgz", 151 | "integrity": "sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==", 152 | "cpu": [ 153 | "arm64" 154 | ], 155 | "dev": true, 156 | "optional": true, 157 | "os": [ 158 | "win32" 159 | ], 160 | "engines": { 161 | "node": ">=14.21.3" 162 | } 163 | }, 164 | "node_modules/@biomejs/cli-win32-x64": { 165 | "version": "1.9.4", 166 | "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-1.9.4.tgz", 167 | "integrity": "sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==", 168 | "cpu": [ 169 | "x64" 170 | ], 171 | "dev": true, 172 | "optional": true, 173 | "os": [ 174 | "win32" 175 | ], 176 | "engines": { 177 | "node": ">=14.21.3" 178 | } 179 | }, 180 | "node_modules/@esbuild/aix-ppc64": { 181 | "version": "0.25.1", 182 | "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.1.tgz", 183 | "integrity": "sha512-kfYGy8IdzTGy+z0vFGvExZtxkFlA4zAxgKEahG9KE1ScBjpQnFsNOX8KTU5ojNru5ed5CVoJYXFtoxaq5nFbjQ==", 184 | "cpu": [ 185 | "ppc64" 186 | ], 187 | "license": "MIT", 188 | "optional": true, 189 | "os": [ 190 | "aix" 191 | ], 192 | "engines": { 193 | "node": ">=18" 194 | } 195 | }, 196 | "node_modules/@esbuild/android-arm": { 197 | "version": "0.25.1", 198 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.1.tgz", 199 | "integrity": "sha512-dp+MshLYux6j/JjdqVLnMglQlFu+MuVeNrmT5nk6q07wNhCdSnB7QZj+7G8VMUGh1q+vj2Bq8kRsuyA00I/k+Q==", 200 | "cpu": [ 201 | "arm" 202 | ], 203 | "license": "MIT", 204 | "optional": true, 205 | "os": [ 206 | "android" 207 | ], 208 | "engines": { 209 | "node": ">=18" 210 | } 211 | }, 212 | "node_modules/@esbuild/android-arm64": { 213 | "version": "0.25.1", 214 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.1.tgz", 215 | "integrity": "sha512-50tM0zCJW5kGqgG7fQ7IHvQOcAn9TKiVRuQ/lN0xR+T2lzEFvAi1ZcS8DiksFcEpf1t/GYOeOfCAgDHFpkiSmA==", 216 | "cpu": [ 217 | "arm64" 218 | ], 219 | "license": "MIT", 220 | "optional": true, 221 | "os": [ 222 | "android" 223 | ], 224 | "engines": { 225 | "node": ">=18" 226 | } 227 | }, 228 | "node_modules/@esbuild/android-x64": { 229 | "version": "0.25.1", 230 | "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.1.tgz", 231 | "integrity": "sha512-GCj6WfUtNldqUzYkN/ITtlhwQqGWu9S45vUXs7EIYf+7rCiiqH9bCloatO9VhxsL0Pji+PF4Lz2XXCES+Q8hDw==", 232 | "cpu": [ 233 | "x64" 234 | ], 235 | "license": "MIT", 236 | "optional": true, 237 | "os": [ 238 | "android" 239 | ], 240 | "engines": { 241 | "node": ">=18" 242 | } 243 | }, 244 | "node_modules/@esbuild/darwin-arm64": { 245 | "version": "0.25.1", 246 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.1.tgz", 247 | "integrity": "sha512-5hEZKPf+nQjYoSr/elb62U19/l1mZDdqidGfmFutVUjjUZrOazAtwK+Kr+3y0C/oeJfLlxo9fXb1w7L+P7E4FQ==", 248 | "cpu": [ 249 | "arm64" 250 | ], 251 | "license": "MIT", 252 | "optional": true, 253 | "os": [ 254 | "darwin" 255 | ], 256 | "engines": { 257 | "node": ">=18" 258 | } 259 | }, 260 | "node_modules/@esbuild/darwin-x64": { 261 | "version": "0.25.1", 262 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.1.tgz", 263 | "integrity": "sha512-hxVnwL2Dqs3fM1IWq8Iezh0cX7ZGdVhbTfnOy5uURtao5OIVCEyj9xIzemDi7sRvKsuSdtCAhMKarxqtlyVyfA==", 264 | "cpu": [ 265 | "x64" 266 | ], 267 | "license": "MIT", 268 | "optional": true, 269 | "os": [ 270 | "darwin" 271 | ], 272 | "engines": { 273 | "node": ">=18" 274 | } 275 | }, 276 | "node_modules/@esbuild/freebsd-arm64": { 277 | "version": "0.25.1", 278 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.1.tgz", 279 | "integrity": "sha512-1MrCZs0fZa2g8E+FUo2ipw6jw5qqQiH+tERoS5fAfKnRx6NXH31tXBKI3VpmLijLH6yriMZsxJtaXUyFt/8Y4A==", 280 | "cpu": [ 281 | "arm64" 282 | ], 283 | "license": "MIT", 284 | "optional": true, 285 | "os": [ 286 | "freebsd" 287 | ], 288 | "engines": { 289 | "node": ">=18" 290 | } 291 | }, 292 | "node_modules/@esbuild/freebsd-x64": { 293 | "version": "0.25.1", 294 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.1.tgz", 295 | "integrity": "sha512-0IZWLiTyz7nm0xuIs0q1Y3QWJC52R8aSXxe40VUxm6BB1RNmkODtW6LHvWRrGiICulcX7ZvyH6h5fqdLu4gkww==", 296 | "cpu": [ 297 | "x64" 298 | ], 299 | "license": "MIT", 300 | "optional": true, 301 | "os": [ 302 | "freebsd" 303 | ], 304 | "engines": { 305 | "node": ">=18" 306 | } 307 | }, 308 | "node_modules/@esbuild/linux-arm": { 309 | "version": "0.25.1", 310 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.1.tgz", 311 | "integrity": "sha512-NdKOhS4u7JhDKw9G3cY6sWqFcnLITn6SqivVArbzIaf3cemShqfLGHYMx8Xlm/lBit3/5d7kXvriTUGa5YViuQ==", 312 | "cpu": [ 313 | "arm" 314 | ], 315 | "license": "MIT", 316 | "optional": true, 317 | "os": [ 318 | "linux" 319 | ], 320 | "engines": { 321 | "node": ">=18" 322 | } 323 | }, 324 | "node_modules/@esbuild/linux-arm64": { 325 | "version": "0.25.1", 326 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.1.tgz", 327 | "integrity": "sha512-jaN3dHi0/DDPelk0nLcXRm1q7DNJpjXy7yWaWvbfkPvI+7XNSc/lDOnCLN7gzsyzgu6qSAmgSvP9oXAhP973uQ==", 328 | "cpu": [ 329 | "arm64" 330 | ], 331 | "license": "MIT", 332 | "optional": true, 333 | "os": [ 334 | "linux" 335 | ], 336 | "engines": { 337 | "node": ">=18" 338 | } 339 | }, 340 | "node_modules/@esbuild/linux-ia32": { 341 | "version": "0.25.1", 342 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.1.tgz", 343 | "integrity": "sha512-OJykPaF4v8JidKNGz8c/q1lBO44sQNUQtq1KktJXdBLn1hPod5rE/Hko5ugKKZd+D2+o1a9MFGUEIUwO2YfgkQ==", 344 | "cpu": [ 345 | "ia32" 346 | ], 347 | "license": "MIT", 348 | "optional": true, 349 | "os": [ 350 | "linux" 351 | ], 352 | "engines": { 353 | "node": ">=18" 354 | } 355 | }, 356 | "node_modules/@esbuild/linux-loong64": { 357 | "version": "0.25.1", 358 | "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.1.tgz", 359 | "integrity": "sha512-nGfornQj4dzcq5Vp835oM/o21UMlXzn79KobKlcs3Wz9smwiifknLy4xDCLUU0BWp7b/houtdrgUz7nOGnfIYg==", 360 | "cpu": [ 361 | "loong64" 362 | ], 363 | "license": "MIT", 364 | "optional": true, 365 | "os": [ 366 | "linux" 367 | ], 368 | "engines": { 369 | "node": ">=18" 370 | } 371 | }, 372 | "node_modules/@esbuild/linux-mips64el": { 373 | "version": "0.25.1", 374 | "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.1.tgz", 375 | "integrity": "sha512-1osBbPEFYwIE5IVB/0g2X6i1qInZa1aIoj1TdL4AaAb55xIIgbg8Doq6a5BzYWgr+tEcDzYH67XVnTmUzL+nXg==", 376 | "cpu": [ 377 | "mips64el" 378 | ], 379 | "license": "MIT", 380 | "optional": true, 381 | "os": [ 382 | "linux" 383 | ], 384 | "engines": { 385 | "node": ">=18" 386 | } 387 | }, 388 | "node_modules/@esbuild/linux-ppc64": { 389 | "version": "0.25.1", 390 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.1.tgz", 391 | "integrity": "sha512-/6VBJOwUf3TdTvJZ82qF3tbLuWsscd7/1w+D9LH0W/SqUgM5/JJD0lrJ1fVIfZsqB6RFmLCe0Xz3fmZc3WtyVg==", 392 | "cpu": [ 393 | "ppc64" 394 | ], 395 | "license": "MIT", 396 | "optional": true, 397 | "os": [ 398 | "linux" 399 | ], 400 | "engines": { 401 | "node": ">=18" 402 | } 403 | }, 404 | "node_modules/@esbuild/linux-riscv64": { 405 | "version": "0.25.1", 406 | "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.1.tgz", 407 | "integrity": "sha512-nSut/Mx5gnilhcq2yIMLMe3Wl4FK5wx/o0QuuCLMtmJn+WeWYoEGDN1ipcN72g1WHsnIbxGXd4i/MF0gTcuAjQ==", 408 | "cpu": [ 409 | "riscv64" 410 | ], 411 | "license": "MIT", 412 | "optional": true, 413 | "os": [ 414 | "linux" 415 | ], 416 | "engines": { 417 | "node": ">=18" 418 | } 419 | }, 420 | "node_modules/@esbuild/linux-s390x": { 421 | "version": "0.25.1", 422 | "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.1.tgz", 423 | "integrity": "sha512-cEECeLlJNfT8kZHqLarDBQso9a27o2Zd2AQ8USAEoGtejOrCYHNtKP8XQhMDJMtthdF4GBmjR2au3x1udADQQQ==", 424 | "cpu": [ 425 | "s390x" 426 | ], 427 | "license": "MIT", 428 | "optional": true, 429 | "os": [ 430 | "linux" 431 | ], 432 | "engines": { 433 | "node": ">=18" 434 | } 435 | }, 436 | "node_modules/@esbuild/linux-x64": { 437 | "version": "0.25.1", 438 | "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.1.tgz", 439 | "integrity": "sha512-xbfUhu/gnvSEg+EGovRc+kjBAkrvtk38RlerAzQxvMzlB4fXpCFCeUAYzJvrnhFtdeyVCDANSjJvOvGYoeKzFA==", 440 | "cpu": [ 441 | "x64" 442 | ], 443 | "license": "MIT", 444 | "optional": true, 445 | "os": [ 446 | "linux" 447 | ], 448 | "engines": { 449 | "node": ">=18" 450 | } 451 | }, 452 | "node_modules/@esbuild/netbsd-arm64": { 453 | "version": "0.25.1", 454 | "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.1.tgz", 455 | "integrity": "sha512-O96poM2XGhLtpTh+s4+nP7YCCAfb4tJNRVZHfIE7dgmax+yMP2WgMd2OecBuaATHKTHsLWHQeuaxMRnCsH8+5g==", 456 | "cpu": [ 457 | "arm64" 458 | ], 459 | "license": "MIT", 460 | "optional": true, 461 | "os": [ 462 | "netbsd" 463 | ], 464 | "engines": { 465 | "node": ">=18" 466 | } 467 | }, 468 | "node_modules/@esbuild/netbsd-x64": { 469 | "version": "0.25.1", 470 | "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.1.tgz", 471 | "integrity": "sha512-X53z6uXip6KFXBQ+Krbx25XHV/NCbzryM6ehOAeAil7X7oa4XIq+394PWGnwaSQ2WRA0KI6PUO6hTO5zeF5ijA==", 472 | "cpu": [ 473 | "x64" 474 | ], 475 | "license": "MIT", 476 | "optional": true, 477 | "os": [ 478 | "netbsd" 479 | ], 480 | "engines": { 481 | "node": ">=18" 482 | } 483 | }, 484 | "node_modules/@esbuild/openbsd-arm64": { 485 | "version": "0.25.1", 486 | "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.1.tgz", 487 | "integrity": "sha512-Na9T3szbXezdzM/Kfs3GcRQNjHzM6GzFBeU1/6IV/npKP5ORtp9zbQjvkDJ47s6BCgaAZnnnu/cY1x342+MvZg==", 488 | "cpu": [ 489 | "arm64" 490 | ], 491 | "license": "MIT", 492 | "optional": true, 493 | "os": [ 494 | "openbsd" 495 | ], 496 | "engines": { 497 | "node": ">=18" 498 | } 499 | }, 500 | "node_modules/@esbuild/openbsd-x64": { 501 | "version": "0.25.1", 502 | "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.1.tgz", 503 | "integrity": "sha512-T3H78X2h1tszfRSf+txbt5aOp/e7TAz3ptVKu9Oyir3IAOFPGV6O9c2naym5TOriy1l0nNf6a4X5UXRZSGX/dw==", 504 | "cpu": [ 505 | "x64" 506 | ], 507 | "license": "MIT", 508 | "optional": true, 509 | "os": [ 510 | "openbsd" 511 | ], 512 | "engines": { 513 | "node": ">=18" 514 | } 515 | }, 516 | "node_modules/@esbuild/sunos-x64": { 517 | "version": "0.25.1", 518 | "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.1.tgz", 519 | "integrity": "sha512-2H3RUvcmULO7dIE5EWJH8eubZAI4xw54H1ilJnRNZdeo8dTADEZ21w6J22XBkXqGJbe0+wnNJtw3UXRoLJnFEg==", 520 | "cpu": [ 521 | "x64" 522 | ], 523 | "license": "MIT", 524 | "optional": true, 525 | "os": [ 526 | "sunos" 527 | ], 528 | "engines": { 529 | "node": ">=18" 530 | } 531 | }, 532 | "node_modules/@esbuild/win32-arm64": { 533 | "version": "0.25.1", 534 | "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.1.tgz", 535 | "integrity": "sha512-GE7XvrdOzrb+yVKB9KsRMq+7a2U/K5Cf/8grVFRAGJmfADr/e/ODQ134RK2/eeHqYV5eQRFxb1hY7Nr15fv1NQ==", 536 | "cpu": [ 537 | "arm64" 538 | ], 539 | "license": "MIT", 540 | "optional": true, 541 | "os": [ 542 | "win32" 543 | ], 544 | "engines": { 545 | "node": ">=18" 546 | } 547 | }, 548 | "node_modules/@esbuild/win32-ia32": { 549 | "version": "0.25.1", 550 | "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.1.tgz", 551 | "integrity": "sha512-uOxSJCIcavSiT6UnBhBzE8wy3n0hOkJsBOzy7HDAuTDE++1DJMRRVCPGisULScHL+a/ZwdXPpXD3IyFKjA7K8A==", 552 | "cpu": [ 553 | "ia32" 554 | ], 555 | "license": "MIT", 556 | "optional": true, 557 | "os": [ 558 | "win32" 559 | ], 560 | "engines": { 561 | "node": ">=18" 562 | } 563 | }, 564 | "node_modules/@esbuild/win32-x64": { 565 | "version": "0.25.1", 566 | "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.1.tgz", 567 | "integrity": "sha512-Y1EQdcfwMSeQN/ujR5VayLOJ1BHaK+ssyk0AEzPjC+t1lITgsnccPqFjb6V+LsTp/9Iov4ysfjxLaGJ9RPtkVg==", 568 | "cpu": [ 569 | "x64" 570 | ], 571 | "license": "MIT", 572 | "optional": true, 573 | "os": [ 574 | "win32" 575 | ], 576 | "engines": { 577 | "node": ">=18" 578 | } 579 | }, 580 | "node_modules/@gar/promisify": { 581 | "version": "1.1.3", 582 | "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", 583 | "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==" 584 | }, 585 | "node_modules/@hono/node-server": { 586 | "version": "1.13.8", 587 | "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.13.8.tgz", 588 | "integrity": "sha512-fsn8ucecsAXUoVxrUil0m13kOEq4mkX4/4QozCqmY+HpGfKl74OYSn8JcMA8GnG0ClfdRI4/ZSeG7zhFaVg+wg==", 589 | "license": "MIT", 590 | "engines": { 591 | "node": ">=18.14.1" 592 | }, 593 | "peerDependencies": { 594 | "hono": "^4" 595 | } 596 | }, 597 | "node_modules/@isaacs/cliui": { 598 | "version": "8.0.2", 599 | "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", 600 | "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", 601 | "license": "ISC", 602 | "dependencies": { 603 | "string-width": "^5.1.2", 604 | "string-width-cjs": "npm:string-width@^4.2.0", 605 | "strip-ansi": "^7.0.1", 606 | "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", 607 | "wrap-ansi": "^8.1.0", 608 | "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" 609 | }, 610 | "engines": { 611 | "node": ">=12" 612 | } 613 | }, 614 | "node_modules/@isaacs/cliui/node_modules/ansi-regex": { 615 | "version": "6.1.0", 616 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", 617 | "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", 618 | "license": "MIT", 619 | "engines": { 620 | "node": ">=12" 621 | }, 622 | "funding": { 623 | "url": "https://github.com/chalk/ansi-regex?sponsor=1" 624 | } 625 | }, 626 | "node_modules/@isaacs/cliui/node_modules/emoji-regex": { 627 | "version": "9.2.2", 628 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", 629 | "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", 630 | "license": "MIT" 631 | }, 632 | "node_modules/@isaacs/cliui/node_modules/string-width": { 633 | "version": "5.1.2", 634 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", 635 | "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", 636 | "license": "MIT", 637 | "dependencies": { 638 | "eastasianwidth": "^0.2.0", 639 | "emoji-regex": "^9.2.2", 640 | "strip-ansi": "^7.0.1" 641 | }, 642 | "engines": { 643 | "node": ">=12" 644 | }, 645 | "funding": { 646 | "url": "https://github.com/sponsors/sindresorhus" 647 | } 648 | }, 649 | "node_modules/@isaacs/cliui/node_modules/strip-ansi": { 650 | "version": "7.1.0", 651 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", 652 | "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", 653 | "license": "MIT", 654 | "dependencies": { 655 | "ansi-regex": "^6.0.1" 656 | }, 657 | "engines": { 658 | "node": ">=12" 659 | }, 660 | "funding": { 661 | "url": "https://github.com/chalk/strip-ansi?sponsor=1" 662 | } 663 | }, 664 | "node_modules/@isaacs/fs-minipass": { 665 | "version": "4.0.1", 666 | "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", 667 | "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", 668 | "license": "ISC", 669 | "dependencies": { 670 | "minipass": "^7.0.4" 671 | }, 672 | "engines": { 673 | "node": ">=18.0.0" 674 | } 675 | }, 676 | "node_modules/@isaacs/fs-minipass/node_modules/minipass": { 677 | "version": "7.1.2", 678 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", 679 | "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", 680 | "license": "ISC", 681 | "engines": { 682 | "node": ">=16 || 14 >=14.17" 683 | } 684 | }, 685 | "node_modules/@mapbox/node-pre-gyp": { 686 | "version": "2.0.0", 687 | "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-2.0.0.tgz", 688 | "integrity": "sha512-llMXd39jtP0HpQLVI37Bf1m2ADlEb35GYSh1SDSLsBhR+5iCxiNGlT31yqbNtVHygHAtMy6dWFERpU2JgufhPg==", 689 | "license": "BSD-3-Clause", 690 | "dependencies": { 691 | "consola": "^3.2.3", 692 | "detect-libc": "^2.0.0", 693 | "https-proxy-agent": "^7.0.5", 694 | "node-fetch": "^2.6.7", 695 | "nopt": "^8.0.0", 696 | "semver": "^7.5.3", 697 | "tar": "^7.4.0" 698 | }, 699 | "bin": { 700 | "node-pre-gyp": "bin/node-pre-gyp" 701 | }, 702 | "engines": { 703 | "node": ">=18" 704 | } 705 | }, 706 | "node_modules/@mapbox/node-pre-gyp/node_modules/agent-base": { 707 | "version": "7.1.3", 708 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", 709 | "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", 710 | "license": "MIT", 711 | "engines": { 712 | "node": ">= 14" 713 | } 714 | }, 715 | "node_modules/@mapbox/node-pre-gyp/node_modules/brace-expansion": { 716 | "version": "2.0.1", 717 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 718 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 719 | "license": "MIT", 720 | "dependencies": { 721 | "balanced-match": "^1.0.0" 722 | } 723 | }, 724 | "node_modules/@mapbox/node-pre-gyp/node_modules/chownr": { 725 | "version": "3.0.0", 726 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", 727 | "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", 728 | "license": "BlueOak-1.0.0", 729 | "engines": { 730 | "node": ">=18" 731 | } 732 | }, 733 | "node_modules/@mapbox/node-pre-gyp/node_modules/glob": { 734 | "version": "10.4.5", 735 | "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", 736 | "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", 737 | "license": "ISC", 738 | "dependencies": { 739 | "foreground-child": "^3.1.0", 740 | "jackspeak": "^3.1.2", 741 | "minimatch": "^9.0.4", 742 | "minipass": "^7.1.2", 743 | "package-json-from-dist": "^1.0.0", 744 | "path-scurry": "^1.11.1" 745 | }, 746 | "bin": { 747 | "glob": "dist/esm/bin.mjs" 748 | }, 749 | "funding": { 750 | "url": "https://github.com/sponsors/isaacs" 751 | } 752 | }, 753 | "node_modules/@mapbox/node-pre-gyp/node_modules/https-proxy-agent": { 754 | "version": "7.0.6", 755 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", 756 | "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", 757 | "license": "MIT", 758 | "dependencies": { 759 | "agent-base": "^7.1.2", 760 | "debug": "4" 761 | }, 762 | "engines": { 763 | "node": ">= 14" 764 | } 765 | }, 766 | "node_modules/@mapbox/node-pre-gyp/node_modules/minimatch": { 767 | "version": "9.0.5", 768 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", 769 | "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", 770 | "license": "ISC", 771 | "dependencies": { 772 | "brace-expansion": "^2.0.1" 773 | }, 774 | "engines": { 775 | "node": ">=16 || 14 >=14.17" 776 | }, 777 | "funding": { 778 | "url": "https://github.com/sponsors/isaacs" 779 | } 780 | }, 781 | "node_modules/@mapbox/node-pre-gyp/node_modules/minipass": { 782 | "version": "7.1.2", 783 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", 784 | "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", 785 | "license": "ISC", 786 | "engines": { 787 | "node": ">=16 || 14 >=14.17" 788 | } 789 | }, 790 | "node_modules/@mapbox/node-pre-gyp/node_modules/minizlib": { 791 | "version": "3.0.1", 792 | "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.0.1.tgz", 793 | "integrity": "sha512-umcy022ILvb5/3Djuu8LWeqUa8D68JaBzlttKeMWen48SjabqS3iY5w/vzeMzMUNhLDifyhbOwKDSznB1vvrwg==", 794 | "license": "MIT", 795 | "dependencies": { 796 | "minipass": "^7.0.4", 797 | "rimraf": "^5.0.5" 798 | }, 799 | "engines": { 800 | "node": ">= 18" 801 | } 802 | }, 803 | "node_modules/@mapbox/node-pre-gyp/node_modules/mkdirp": { 804 | "version": "3.0.1", 805 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", 806 | "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", 807 | "license": "MIT", 808 | "bin": { 809 | "mkdirp": "dist/cjs/src/bin.js" 810 | }, 811 | "engines": { 812 | "node": ">=10" 813 | }, 814 | "funding": { 815 | "url": "https://github.com/sponsors/isaacs" 816 | } 817 | }, 818 | "node_modules/@mapbox/node-pre-gyp/node_modules/rimraf": { 819 | "version": "5.0.10", 820 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", 821 | "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==", 822 | "license": "ISC", 823 | "dependencies": { 824 | "glob": "^10.3.7" 825 | }, 826 | "bin": { 827 | "rimraf": "dist/esm/bin.mjs" 828 | }, 829 | "funding": { 830 | "url": "https://github.com/sponsors/isaacs" 831 | } 832 | }, 833 | "node_modules/@mapbox/node-pre-gyp/node_modules/tar": { 834 | "version": "7.4.3", 835 | "resolved": "https://registry.npmjs.org/tar/-/tar-7.4.3.tgz", 836 | "integrity": "sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==", 837 | "license": "ISC", 838 | "dependencies": { 839 | "@isaacs/fs-minipass": "^4.0.0", 840 | "chownr": "^3.0.0", 841 | "minipass": "^7.1.2", 842 | "minizlib": "^3.0.1", 843 | "mkdirp": "^3.0.1", 844 | "yallist": "^5.0.0" 845 | }, 846 | "engines": { 847 | "node": ">=18" 848 | } 849 | }, 850 | "node_modules/@mapbox/node-pre-gyp/node_modules/yallist": { 851 | "version": "5.0.0", 852 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", 853 | "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", 854 | "license": "BlueOak-1.0.0", 855 | "engines": { 856 | "node": ">=18" 857 | } 858 | }, 859 | "node_modules/@npmcli/fs": { 860 | "version": "2.1.2", 861 | "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz", 862 | "integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==", 863 | "dependencies": { 864 | "@gar/promisify": "^1.1.3", 865 | "semver": "^7.3.5" 866 | }, 867 | "engines": { 868 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0" 869 | } 870 | }, 871 | "node_modules/@npmcli/move-file": { 872 | "version": "2.0.1", 873 | "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-2.0.1.tgz", 874 | "integrity": "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==", 875 | "deprecated": "This functionality has been moved to @npmcli/fs", 876 | "dependencies": { 877 | "mkdirp": "^1.0.4", 878 | "rimraf": "^3.0.2" 879 | }, 880 | "engines": { 881 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0" 882 | } 883 | }, 884 | "node_modules/@pkgjs/parseargs": { 885 | "version": "0.11.0", 886 | "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", 887 | "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", 888 | "license": "MIT", 889 | "optional": true, 890 | "engines": { 891 | "node": ">=14" 892 | } 893 | }, 894 | "node_modules/@tootallnate/once": { 895 | "version": "2.0.0", 896 | "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", 897 | "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", 898 | "engines": { 899 | "node": ">= 10" 900 | } 901 | }, 902 | "node_modules/@types/bunyan": { 903 | "version": "1.8.11", 904 | "resolved": "https://registry.npmjs.org/@types/bunyan/-/bunyan-1.8.11.tgz", 905 | "integrity": "sha512-758fRH7umIMk5qt5ELmRMff4mLDlN+xyYzC+dkPTdKwbSkJFvz6xwyScrytPU0QIBbRRwbiE8/BIg8bpajerNQ==", 906 | "dev": true, 907 | "dependencies": { 908 | "@types/node": "*" 909 | } 910 | }, 911 | "node_modules/@types/node": { 912 | "version": "22.13.10", 913 | "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.10.tgz", 914 | "integrity": "sha512-I6LPUvlRH+O6VRUqYOcMudhaIdUVWfsjnZavnsraHvpBwaEyMN29ry+0UVJhImYL16xsscu0aske3yA+uPOWfw==", 915 | "dev": true, 916 | "license": "MIT", 917 | "dependencies": { 918 | "undici-types": "~6.20.0" 919 | } 920 | }, 921 | "node_modules/abbrev": { 922 | "version": "1.1.1", 923 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 924 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" 925 | }, 926 | "node_modules/agent-base": { 927 | "version": "6.0.2", 928 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", 929 | "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", 930 | "dependencies": { 931 | "debug": "4" 932 | }, 933 | "engines": { 934 | "node": ">= 6.0.0" 935 | } 936 | }, 937 | "node_modules/agentkeepalive": { 938 | "version": "4.5.0", 939 | "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz", 940 | "integrity": "sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==", 941 | "dependencies": { 942 | "humanize-ms": "^1.2.1" 943 | }, 944 | "engines": { 945 | "node": ">= 8.0.0" 946 | } 947 | }, 948 | "node_modules/aggregate-error": { 949 | "version": "3.1.0", 950 | "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", 951 | "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", 952 | "dependencies": { 953 | "clean-stack": "^2.0.0", 954 | "indent-string": "^4.0.0" 955 | }, 956 | "engines": { 957 | "node": ">=8" 958 | } 959 | }, 960 | "node_modules/ansi-regex": { 961 | "version": "5.0.1", 962 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 963 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 964 | "engines": { 965 | "node": ">=8" 966 | } 967 | }, 968 | "node_modules/ansi-styles": { 969 | "version": "6.2.1", 970 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", 971 | "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", 972 | "license": "MIT", 973 | "engines": { 974 | "node": ">=12" 975 | }, 976 | "funding": { 977 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 978 | } 979 | }, 980 | "node_modules/anymatch": { 981 | "version": "3.1.3", 982 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 983 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 984 | "dev": true, 985 | "license": "ISC", 986 | "dependencies": { 987 | "normalize-path": "^3.0.0", 988 | "picomatch": "^2.0.4" 989 | }, 990 | "engines": { 991 | "node": ">= 8" 992 | } 993 | }, 994 | "node_modules/aproba": { 995 | "version": "2.0.0", 996 | "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", 997 | "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==" 998 | }, 999 | "node_modules/balanced-match": { 1000 | "version": "1.0.2", 1001 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 1002 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" 1003 | }, 1004 | "node_modules/binary-extensions": { 1005 | "version": "2.3.0", 1006 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", 1007 | "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", 1008 | "dev": true, 1009 | "license": "MIT", 1010 | "engines": { 1011 | "node": ">=8" 1012 | }, 1013 | "funding": { 1014 | "url": "https://github.com/sponsors/sindresorhus" 1015 | } 1016 | }, 1017 | "node_modules/brace-expansion": { 1018 | "version": "1.1.11", 1019 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1020 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1021 | "dependencies": { 1022 | "balanced-match": "^1.0.0", 1023 | "concat-map": "0.0.1" 1024 | } 1025 | }, 1026 | "node_modules/braces": { 1027 | "version": "3.0.3", 1028 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", 1029 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", 1030 | "dev": true, 1031 | "license": "MIT", 1032 | "dependencies": { 1033 | "fill-range": "^7.1.1" 1034 | }, 1035 | "engines": { 1036 | "node": ">=8" 1037 | } 1038 | }, 1039 | "node_modules/bunyan": { 1040 | "version": "1.8.15", 1041 | "resolved": "https://registry.npmjs.org/bunyan/-/bunyan-1.8.15.tgz", 1042 | "integrity": "sha512-0tECWShh6wUysgucJcBAoYegf3JJoZWibxdqhTm7OHPeT42qdjkZ29QCMcKwbgU1kiH+auSIasNRXMLWXafXig==", 1043 | "engines": [ 1044 | "node >=0.10.0" 1045 | ], 1046 | "bin": { 1047 | "bunyan": "bin/bunyan" 1048 | }, 1049 | "optionalDependencies": { 1050 | "dtrace-provider": "~0.8", 1051 | "moment": "^2.19.3", 1052 | "mv": "~2", 1053 | "safe-json-stringify": "~1" 1054 | } 1055 | }, 1056 | "node_modules/cacache": { 1057 | "version": "16.1.3", 1058 | "resolved": "https://registry.npmjs.org/cacache/-/cacache-16.1.3.tgz", 1059 | "integrity": "sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ==", 1060 | "dependencies": { 1061 | "@npmcli/fs": "^2.1.0", 1062 | "@npmcli/move-file": "^2.0.0", 1063 | "chownr": "^2.0.0", 1064 | "fs-minipass": "^2.1.0", 1065 | "glob": "^8.0.1", 1066 | "infer-owner": "^1.0.4", 1067 | "lru-cache": "^7.7.1", 1068 | "minipass": "^3.1.6", 1069 | "minipass-collect": "^1.0.2", 1070 | "minipass-flush": "^1.0.5", 1071 | "minipass-pipeline": "^1.2.4", 1072 | "mkdirp": "^1.0.4", 1073 | "p-map": "^4.0.0", 1074 | "promise-inflight": "^1.0.1", 1075 | "rimraf": "^3.0.2", 1076 | "ssri": "^9.0.0", 1077 | "tar": "^6.1.11", 1078 | "unique-filename": "^2.0.0" 1079 | }, 1080 | "engines": { 1081 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0" 1082 | } 1083 | }, 1084 | "node_modules/cacache/node_modules/brace-expansion": { 1085 | "version": "2.0.1", 1086 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 1087 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 1088 | "dependencies": { 1089 | "balanced-match": "^1.0.0" 1090 | } 1091 | }, 1092 | "node_modules/cacache/node_modules/glob": { 1093 | "version": "8.1.0", 1094 | "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", 1095 | "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", 1096 | "deprecated": "Glob versions prior to v9 are no longer supported", 1097 | "dependencies": { 1098 | "fs.realpath": "^1.0.0", 1099 | "inflight": "^1.0.4", 1100 | "inherits": "2", 1101 | "minimatch": "^5.0.1", 1102 | "once": "^1.3.0" 1103 | }, 1104 | "engines": { 1105 | "node": ">=12" 1106 | }, 1107 | "funding": { 1108 | "url": "https://github.com/sponsors/isaacs" 1109 | } 1110 | }, 1111 | "node_modules/cacache/node_modules/minimatch": { 1112 | "version": "5.1.6", 1113 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", 1114 | "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", 1115 | "dependencies": { 1116 | "brace-expansion": "^2.0.1" 1117 | }, 1118 | "engines": { 1119 | "node": ">=10" 1120 | } 1121 | }, 1122 | "node_modules/chokidar": { 1123 | "version": "3.6.0", 1124 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", 1125 | "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", 1126 | "dev": true, 1127 | "license": "MIT", 1128 | "dependencies": { 1129 | "anymatch": "~3.1.2", 1130 | "braces": "~3.0.2", 1131 | "glob-parent": "~5.1.2", 1132 | "is-binary-path": "~2.1.0", 1133 | "is-glob": "~4.0.1", 1134 | "normalize-path": "~3.0.0", 1135 | "readdirp": "~3.6.0" 1136 | }, 1137 | "engines": { 1138 | "node": ">= 8.10.0" 1139 | }, 1140 | "funding": { 1141 | "url": "https://paulmillr.com/funding/" 1142 | }, 1143 | "optionalDependencies": { 1144 | "fsevents": "~2.3.2" 1145 | } 1146 | }, 1147 | "node_modules/chownr": { 1148 | "version": "2.0.0", 1149 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", 1150 | "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", 1151 | "engines": { 1152 | "node": ">=10" 1153 | } 1154 | }, 1155 | "node_modules/clean-stack": { 1156 | "version": "2.2.0", 1157 | "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", 1158 | "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", 1159 | "engines": { 1160 | "node": ">=6" 1161 | } 1162 | }, 1163 | "node_modules/color-convert": { 1164 | "version": "2.0.1", 1165 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 1166 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 1167 | "license": "MIT", 1168 | "dependencies": { 1169 | "color-name": "~1.1.4" 1170 | }, 1171 | "engines": { 1172 | "node": ">=7.0.0" 1173 | } 1174 | }, 1175 | "node_modules/color-name": { 1176 | "version": "1.1.4", 1177 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 1178 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 1179 | "license": "MIT" 1180 | }, 1181 | "node_modules/color-support": { 1182 | "version": "1.1.3", 1183 | "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", 1184 | "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", 1185 | "bin": { 1186 | "color-support": "bin.js" 1187 | } 1188 | }, 1189 | "node_modules/concat-map": { 1190 | "version": "0.0.1", 1191 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1192 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" 1193 | }, 1194 | "node_modules/consola": { 1195 | "version": "3.4.0", 1196 | "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.0.tgz", 1197 | "integrity": "sha512-EiPU8G6dQG0GFHNR8ljnZFki/8a+cQwEQ+7wpxdChl02Q8HXlwEZWD5lqAF8vC2sEC3Tehr8hy7vErz88LHyUA==", 1198 | "license": "MIT", 1199 | "engines": { 1200 | "node": "^14.18.0 || >=16.10.0" 1201 | } 1202 | }, 1203 | "node_modules/console-control-strings": { 1204 | "version": "1.1.0", 1205 | "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", 1206 | "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" 1207 | }, 1208 | "node_modules/cross-spawn": { 1209 | "version": "7.0.6", 1210 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", 1211 | "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", 1212 | "license": "MIT", 1213 | "dependencies": { 1214 | "path-key": "^3.1.0", 1215 | "shebang-command": "^2.0.0", 1216 | "which": "^2.0.1" 1217 | }, 1218 | "engines": { 1219 | "node": ">= 8" 1220 | } 1221 | }, 1222 | "node_modules/debug": { 1223 | "version": "4.3.7", 1224 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", 1225 | "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", 1226 | "dependencies": { 1227 | "ms": "^2.1.3" 1228 | }, 1229 | "engines": { 1230 | "node": ">=6.0" 1231 | }, 1232 | "peerDependenciesMeta": { 1233 | "supports-color": { 1234 | "optional": true 1235 | } 1236 | } 1237 | }, 1238 | "node_modules/delegates": { 1239 | "version": "1.0.0", 1240 | "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", 1241 | "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==" 1242 | }, 1243 | "node_modules/detect-libc": { 1244 | "version": "2.0.3", 1245 | "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz", 1246 | "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==", 1247 | "license": "Apache-2.0", 1248 | "engines": { 1249 | "node": ">=8" 1250 | } 1251 | }, 1252 | "node_modules/dtrace-provider": { 1253 | "version": "0.8.8", 1254 | "resolved": "https://registry.npmjs.org/dtrace-provider/-/dtrace-provider-0.8.8.tgz", 1255 | "integrity": "sha512-b7Z7cNtHPhH9EJhNNbbeqTcXB8LGFFZhq1PGgEvpeHlzd36bhbdTWoE/Ba/YguqpBSlAPKnARWhVlhunCMwfxg==", 1256 | "hasInstallScript": true, 1257 | "optional": true, 1258 | "dependencies": { 1259 | "nan": "^2.14.0" 1260 | }, 1261 | "engines": { 1262 | "node": ">=0.10" 1263 | } 1264 | }, 1265 | "node_modules/duckdb": { 1266 | "version": "1.2.0", 1267 | "resolved": "https://registry.npmjs.org/duckdb/-/duckdb-1.2.0.tgz", 1268 | "integrity": "sha512-zAHHRTMoZhWIwvOsyNkgV9c1nq0gR0j+ZyX0uTCRFZTNOlYO4lnErP5Fddt/6iKMXsTNL9v1oTG9E76S5jMh7w==", 1269 | "hasInstallScript": true, 1270 | "license": "MIT", 1271 | "dependencies": { 1272 | "@mapbox/node-pre-gyp": "^2.0.0", 1273 | "node-addon-api": "^7.0.0", 1274 | "node-gyp": "^9.3.0" 1275 | } 1276 | }, 1277 | "node_modules/eastasianwidth": { 1278 | "version": "0.2.0", 1279 | "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", 1280 | "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", 1281 | "license": "MIT" 1282 | }, 1283 | "node_modules/emoji-regex": { 1284 | "version": "8.0.0", 1285 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 1286 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" 1287 | }, 1288 | "node_modules/encoding": { 1289 | "version": "0.1.13", 1290 | "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", 1291 | "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", 1292 | "optional": true, 1293 | "dependencies": { 1294 | "iconv-lite": "^0.6.2" 1295 | } 1296 | }, 1297 | "node_modules/env-paths": { 1298 | "version": "2.2.1", 1299 | "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", 1300 | "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", 1301 | "engines": { 1302 | "node": ">=6" 1303 | } 1304 | }, 1305 | "node_modules/err-code": { 1306 | "version": "2.0.3", 1307 | "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", 1308 | "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" 1309 | }, 1310 | "node_modules/esbuild": { 1311 | "version": "0.25.1", 1312 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.1.tgz", 1313 | "integrity": "sha512-BGO5LtrGC7vxnqucAe/rmvKdJllfGaYWdyABvyMoXQlfYMb2bbRuReWR5tEGE//4LcNJj9XrkovTqNYRFZHAMQ==", 1314 | "hasInstallScript": true, 1315 | "license": "MIT", 1316 | "bin": { 1317 | "esbuild": "bin/esbuild" 1318 | }, 1319 | "engines": { 1320 | "node": ">=18" 1321 | }, 1322 | "optionalDependencies": { 1323 | "@esbuild/aix-ppc64": "0.25.1", 1324 | "@esbuild/android-arm": "0.25.1", 1325 | "@esbuild/android-arm64": "0.25.1", 1326 | "@esbuild/android-x64": "0.25.1", 1327 | "@esbuild/darwin-arm64": "0.25.1", 1328 | "@esbuild/darwin-x64": "0.25.1", 1329 | "@esbuild/freebsd-arm64": "0.25.1", 1330 | "@esbuild/freebsd-x64": "0.25.1", 1331 | "@esbuild/linux-arm": "0.25.1", 1332 | "@esbuild/linux-arm64": "0.25.1", 1333 | "@esbuild/linux-ia32": "0.25.1", 1334 | "@esbuild/linux-loong64": "0.25.1", 1335 | "@esbuild/linux-mips64el": "0.25.1", 1336 | "@esbuild/linux-ppc64": "0.25.1", 1337 | "@esbuild/linux-riscv64": "0.25.1", 1338 | "@esbuild/linux-s390x": "0.25.1", 1339 | "@esbuild/linux-x64": "0.25.1", 1340 | "@esbuild/netbsd-arm64": "0.25.1", 1341 | "@esbuild/netbsd-x64": "0.25.1", 1342 | "@esbuild/openbsd-arm64": "0.25.1", 1343 | "@esbuild/openbsd-x64": "0.25.1", 1344 | "@esbuild/sunos-x64": "0.25.1", 1345 | "@esbuild/win32-arm64": "0.25.1", 1346 | "@esbuild/win32-ia32": "0.25.1", 1347 | "@esbuild/win32-x64": "0.25.1" 1348 | } 1349 | }, 1350 | "node_modules/exponential-backoff": { 1351 | "version": "3.1.1", 1352 | "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", 1353 | "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==" 1354 | }, 1355 | "node_modules/fill-range": { 1356 | "version": "7.1.1", 1357 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", 1358 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", 1359 | "dev": true, 1360 | "license": "MIT", 1361 | "dependencies": { 1362 | "to-regex-range": "^5.0.1" 1363 | }, 1364 | "engines": { 1365 | "node": ">=8" 1366 | } 1367 | }, 1368 | "node_modules/foreground-child": { 1369 | "version": "3.3.1", 1370 | "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", 1371 | "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", 1372 | "license": "ISC", 1373 | "dependencies": { 1374 | "cross-spawn": "^7.0.6", 1375 | "signal-exit": "^4.0.1" 1376 | }, 1377 | "engines": { 1378 | "node": ">=14" 1379 | }, 1380 | "funding": { 1381 | "url": "https://github.com/sponsors/isaacs" 1382 | } 1383 | }, 1384 | "node_modules/foreground-child/node_modules/signal-exit": { 1385 | "version": "4.1.0", 1386 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", 1387 | "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", 1388 | "license": "ISC", 1389 | "engines": { 1390 | "node": ">=14" 1391 | }, 1392 | "funding": { 1393 | "url": "https://github.com/sponsors/isaacs" 1394 | } 1395 | }, 1396 | "node_modules/fs-minipass": { 1397 | "version": "2.1.0", 1398 | "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", 1399 | "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", 1400 | "dependencies": { 1401 | "minipass": "^3.0.0" 1402 | }, 1403 | "engines": { 1404 | "node": ">= 8" 1405 | } 1406 | }, 1407 | "node_modules/fs.realpath": { 1408 | "version": "1.0.0", 1409 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1410 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" 1411 | }, 1412 | "node_modules/fsevents": { 1413 | "version": "2.3.3", 1414 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", 1415 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", 1416 | "hasInstallScript": true, 1417 | "optional": true, 1418 | "os": [ 1419 | "darwin" 1420 | ], 1421 | "engines": { 1422 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 1423 | } 1424 | }, 1425 | "node_modules/get-tsconfig": { 1426 | "version": "4.8.1", 1427 | "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.8.1.tgz", 1428 | "integrity": "sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg==", 1429 | "dependencies": { 1430 | "resolve-pkg-maps": "^1.0.0" 1431 | }, 1432 | "funding": { 1433 | "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" 1434 | } 1435 | }, 1436 | "node_modules/glob": { 1437 | "version": "7.2.3", 1438 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 1439 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 1440 | "deprecated": "Glob versions prior to v9 are no longer supported", 1441 | "dependencies": { 1442 | "fs.realpath": "^1.0.0", 1443 | "inflight": "^1.0.4", 1444 | "inherits": "2", 1445 | "minimatch": "^3.1.1", 1446 | "once": "^1.3.0", 1447 | "path-is-absolute": "^1.0.0" 1448 | }, 1449 | "engines": { 1450 | "node": "*" 1451 | }, 1452 | "funding": { 1453 | "url": "https://github.com/sponsors/isaacs" 1454 | } 1455 | }, 1456 | "node_modules/glob-parent": { 1457 | "version": "5.1.2", 1458 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1459 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1460 | "dev": true, 1461 | "license": "ISC", 1462 | "dependencies": { 1463 | "is-glob": "^4.0.1" 1464 | }, 1465 | "engines": { 1466 | "node": ">= 6" 1467 | } 1468 | }, 1469 | "node_modules/graceful-fs": { 1470 | "version": "4.2.11", 1471 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", 1472 | "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" 1473 | }, 1474 | "node_modules/has-flag": { 1475 | "version": "3.0.0", 1476 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 1477 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 1478 | "dev": true, 1479 | "license": "MIT", 1480 | "engines": { 1481 | "node": ">=4" 1482 | } 1483 | }, 1484 | "node_modules/has-unicode": { 1485 | "version": "2.0.1", 1486 | "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", 1487 | "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==" 1488 | }, 1489 | "node_modules/hono": { 1490 | "version": "4.7.4", 1491 | "resolved": "https://registry.npmjs.org/hono/-/hono-4.7.4.tgz", 1492 | "integrity": "sha512-Pst8FuGqz3L7tFF+u9Pu70eI0xa5S3LPUmrNd5Jm8nTHze9FxLTK9Kaj5g/k4UcwuJSXTP65SyHOPLrffpcAJg==", 1493 | "license": "MIT", 1494 | "engines": { 1495 | "node": ">=16.9.0" 1496 | } 1497 | }, 1498 | "node_modules/http-cache-semantics": { 1499 | "version": "4.1.1", 1500 | "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", 1501 | "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==" 1502 | }, 1503 | "node_modules/http-proxy-agent": { 1504 | "version": "5.0.0", 1505 | "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", 1506 | "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", 1507 | "dependencies": { 1508 | "@tootallnate/once": "2", 1509 | "agent-base": "6", 1510 | "debug": "4" 1511 | }, 1512 | "engines": { 1513 | "node": ">= 6" 1514 | } 1515 | }, 1516 | "node_modules/https-proxy-agent": { 1517 | "version": "5.0.1", 1518 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", 1519 | "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", 1520 | "dependencies": { 1521 | "agent-base": "6", 1522 | "debug": "4" 1523 | }, 1524 | "engines": { 1525 | "node": ">= 6" 1526 | } 1527 | }, 1528 | "node_modules/humanize-ms": { 1529 | "version": "1.2.1", 1530 | "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", 1531 | "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", 1532 | "dependencies": { 1533 | "ms": "^2.0.0" 1534 | } 1535 | }, 1536 | "node_modules/iconv-lite": { 1537 | "version": "0.6.3", 1538 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", 1539 | "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", 1540 | "optional": true, 1541 | "dependencies": { 1542 | "safer-buffer": ">= 2.1.2 < 3.0.0" 1543 | }, 1544 | "engines": { 1545 | "node": ">=0.10.0" 1546 | } 1547 | }, 1548 | "node_modules/ignore-by-default": { 1549 | "version": "1.0.1", 1550 | "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", 1551 | "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==", 1552 | "dev": true, 1553 | "license": "ISC" 1554 | }, 1555 | "node_modules/imurmurhash": { 1556 | "version": "0.1.4", 1557 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 1558 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", 1559 | "engines": { 1560 | "node": ">=0.8.19" 1561 | } 1562 | }, 1563 | "node_modules/indent-string": { 1564 | "version": "4.0.0", 1565 | "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", 1566 | "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", 1567 | "engines": { 1568 | "node": ">=8" 1569 | } 1570 | }, 1571 | "node_modules/infer-owner": { 1572 | "version": "1.0.4", 1573 | "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", 1574 | "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==" 1575 | }, 1576 | "node_modules/inflight": { 1577 | "version": "1.0.6", 1578 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1579 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 1580 | "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", 1581 | "dependencies": { 1582 | "once": "^1.3.0", 1583 | "wrappy": "1" 1584 | } 1585 | }, 1586 | "node_modules/inherits": { 1587 | "version": "2.0.4", 1588 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1589 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 1590 | }, 1591 | "node_modules/ip-address": { 1592 | "version": "9.0.5", 1593 | "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", 1594 | "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", 1595 | "dependencies": { 1596 | "jsbn": "1.1.0", 1597 | "sprintf-js": "^1.1.3" 1598 | }, 1599 | "engines": { 1600 | "node": ">= 12" 1601 | } 1602 | }, 1603 | "node_modules/is-binary-path": { 1604 | "version": "2.1.0", 1605 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 1606 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 1607 | "dev": true, 1608 | "license": "MIT", 1609 | "dependencies": { 1610 | "binary-extensions": "^2.0.0" 1611 | }, 1612 | "engines": { 1613 | "node": ">=8" 1614 | } 1615 | }, 1616 | "node_modules/is-extglob": { 1617 | "version": "2.1.1", 1618 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1619 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 1620 | "dev": true, 1621 | "license": "MIT", 1622 | "engines": { 1623 | "node": ">=0.10.0" 1624 | } 1625 | }, 1626 | "node_modules/is-fullwidth-code-point": { 1627 | "version": "3.0.0", 1628 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1629 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 1630 | "engines": { 1631 | "node": ">=8" 1632 | } 1633 | }, 1634 | "node_modules/is-glob": { 1635 | "version": "4.0.3", 1636 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1637 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1638 | "dev": true, 1639 | "license": "MIT", 1640 | "dependencies": { 1641 | "is-extglob": "^2.1.1" 1642 | }, 1643 | "engines": { 1644 | "node": ">=0.10.0" 1645 | } 1646 | }, 1647 | "node_modules/is-lambda": { 1648 | "version": "1.0.1", 1649 | "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", 1650 | "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==" 1651 | }, 1652 | "node_modules/is-number": { 1653 | "version": "7.0.0", 1654 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1655 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1656 | "dev": true, 1657 | "license": "MIT", 1658 | "engines": { 1659 | "node": ">=0.12.0" 1660 | } 1661 | }, 1662 | "node_modules/isexe": { 1663 | "version": "2.0.0", 1664 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1665 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" 1666 | }, 1667 | "node_modules/jackspeak": { 1668 | "version": "3.4.3", 1669 | "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", 1670 | "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", 1671 | "license": "BlueOak-1.0.0", 1672 | "dependencies": { 1673 | "@isaacs/cliui": "^8.0.2" 1674 | }, 1675 | "funding": { 1676 | "url": "https://github.com/sponsors/isaacs" 1677 | }, 1678 | "optionalDependencies": { 1679 | "@pkgjs/parseargs": "^0.11.0" 1680 | } 1681 | }, 1682 | "node_modules/jsbn": { 1683 | "version": "1.1.0", 1684 | "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", 1685 | "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==" 1686 | }, 1687 | "node_modules/lru-cache": { 1688 | "version": "7.18.3", 1689 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", 1690 | "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", 1691 | "engines": { 1692 | "node": ">=12" 1693 | } 1694 | }, 1695 | "node_modules/make-fetch-happen": { 1696 | "version": "10.2.1", 1697 | "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", 1698 | "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==", 1699 | "dependencies": { 1700 | "agentkeepalive": "^4.2.1", 1701 | "cacache": "^16.1.0", 1702 | "http-cache-semantics": "^4.1.0", 1703 | "http-proxy-agent": "^5.0.0", 1704 | "https-proxy-agent": "^5.0.0", 1705 | "is-lambda": "^1.0.1", 1706 | "lru-cache": "^7.7.1", 1707 | "minipass": "^3.1.6", 1708 | "minipass-collect": "^1.0.2", 1709 | "minipass-fetch": "^2.0.3", 1710 | "minipass-flush": "^1.0.5", 1711 | "minipass-pipeline": "^1.2.4", 1712 | "negotiator": "^0.6.3", 1713 | "promise-retry": "^2.0.1", 1714 | "socks-proxy-agent": "^7.0.0", 1715 | "ssri": "^9.0.0" 1716 | }, 1717 | "engines": { 1718 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0" 1719 | } 1720 | }, 1721 | "node_modules/minimatch": { 1722 | "version": "3.1.2", 1723 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1724 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1725 | "dependencies": { 1726 | "brace-expansion": "^1.1.7" 1727 | }, 1728 | "engines": { 1729 | "node": "*" 1730 | } 1731 | }, 1732 | "node_modules/minimist": { 1733 | "version": "1.2.8", 1734 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", 1735 | "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", 1736 | "optional": true, 1737 | "funding": { 1738 | "url": "https://github.com/sponsors/ljharb" 1739 | } 1740 | }, 1741 | "node_modules/minipass": { 1742 | "version": "3.3.6", 1743 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", 1744 | "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", 1745 | "dependencies": { 1746 | "yallist": "^4.0.0" 1747 | }, 1748 | "engines": { 1749 | "node": ">=8" 1750 | } 1751 | }, 1752 | "node_modules/minipass-collect": { 1753 | "version": "1.0.2", 1754 | "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", 1755 | "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", 1756 | "dependencies": { 1757 | "minipass": "^3.0.0" 1758 | }, 1759 | "engines": { 1760 | "node": ">= 8" 1761 | } 1762 | }, 1763 | "node_modules/minipass-fetch": { 1764 | "version": "2.1.2", 1765 | "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz", 1766 | "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==", 1767 | "dependencies": { 1768 | "minipass": "^3.1.6", 1769 | "minipass-sized": "^1.0.3", 1770 | "minizlib": "^2.1.2" 1771 | }, 1772 | "engines": { 1773 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0" 1774 | }, 1775 | "optionalDependencies": { 1776 | "encoding": "^0.1.13" 1777 | } 1778 | }, 1779 | "node_modules/minipass-flush": { 1780 | "version": "1.0.5", 1781 | "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", 1782 | "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", 1783 | "dependencies": { 1784 | "minipass": "^3.0.0" 1785 | }, 1786 | "engines": { 1787 | "node": ">= 8" 1788 | } 1789 | }, 1790 | "node_modules/minipass-pipeline": { 1791 | "version": "1.2.4", 1792 | "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", 1793 | "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", 1794 | "dependencies": { 1795 | "minipass": "^3.0.0" 1796 | }, 1797 | "engines": { 1798 | "node": ">=8" 1799 | } 1800 | }, 1801 | "node_modules/minipass-sized": { 1802 | "version": "1.0.3", 1803 | "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", 1804 | "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", 1805 | "dependencies": { 1806 | "minipass": "^3.0.0" 1807 | }, 1808 | "engines": { 1809 | "node": ">=8" 1810 | } 1811 | }, 1812 | "node_modules/minizlib": { 1813 | "version": "2.1.2", 1814 | "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", 1815 | "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", 1816 | "dependencies": { 1817 | "minipass": "^3.0.0", 1818 | "yallist": "^4.0.0" 1819 | }, 1820 | "engines": { 1821 | "node": ">= 8" 1822 | } 1823 | }, 1824 | "node_modules/mkdirp": { 1825 | "version": "1.0.4", 1826 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", 1827 | "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", 1828 | "bin": { 1829 | "mkdirp": "bin/cmd.js" 1830 | }, 1831 | "engines": { 1832 | "node": ">=10" 1833 | } 1834 | }, 1835 | "node_modules/moment": { 1836 | "version": "2.30.1", 1837 | "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", 1838 | "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", 1839 | "optional": true, 1840 | "engines": { 1841 | "node": "*" 1842 | } 1843 | }, 1844 | "node_modules/ms": { 1845 | "version": "2.1.3", 1846 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1847 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" 1848 | }, 1849 | "node_modules/mv": { 1850 | "version": "2.1.1", 1851 | "resolved": "https://registry.npmjs.org/mv/-/mv-2.1.1.tgz", 1852 | "integrity": "sha512-at/ZndSy3xEGJ8i0ygALh8ru9qy7gWW1cmkaqBN29JmMlIvM//MEO9y1sk/avxuwnPcfhkejkLsuPxH81BrkSg==", 1853 | "optional": true, 1854 | "dependencies": { 1855 | "mkdirp": "~0.5.1", 1856 | "ncp": "~2.0.0", 1857 | "rimraf": "~2.4.0" 1858 | }, 1859 | "engines": { 1860 | "node": ">=0.8.0" 1861 | } 1862 | }, 1863 | "node_modules/mv/node_modules/glob": { 1864 | "version": "6.0.4", 1865 | "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz", 1866 | "integrity": "sha512-MKZeRNyYZAVVVG1oZeLaWie1uweH40m9AZwIwxyPbTSX4hHrVYSzLg0Ro5Z5R7XKkIX+Cc6oD1rqeDJnwsB8/A==", 1867 | "deprecated": "Glob versions prior to v9 are no longer supported", 1868 | "optional": true, 1869 | "dependencies": { 1870 | "inflight": "^1.0.4", 1871 | "inherits": "2", 1872 | "minimatch": "2 || 3", 1873 | "once": "^1.3.0", 1874 | "path-is-absolute": "^1.0.0" 1875 | }, 1876 | "engines": { 1877 | "node": "*" 1878 | } 1879 | }, 1880 | "node_modules/mv/node_modules/mkdirp": { 1881 | "version": "0.5.6", 1882 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", 1883 | "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", 1884 | "optional": true, 1885 | "dependencies": { 1886 | "minimist": "^1.2.6" 1887 | }, 1888 | "bin": { 1889 | "mkdirp": "bin/cmd.js" 1890 | } 1891 | }, 1892 | "node_modules/mv/node_modules/rimraf": { 1893 | "version": "2.4.5", 1894 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.4.5.tgz", 1895 | "integrity": "sha512-J5xnxTyqaiw06JjMftq7L9ouA448dw/E7dKghkP9WpKNuwmARNNg+Gk8/u5ryb9N/Yo2+z3MCwuqFK/+qPOPfQ==", 1896 | "deprecated": "Rimraf versions prior to v4 are no longer supported", 1897 | "optional": true, 1898 | "dependencies": { 1899 | "glob": "^6.0.1" 1900 | }, 1901 | "bin": { 1902 | "rimraf": "bin.js" 1903 | } 1904 | }, 1905 | "node_modules/nan": { 1906 | "version": "2.22.0", 1907 | "resolved": "https://registry.npmjs.org/nan/-/nan-2.22.0.tgz", 1908 | "integrity": "sha512-nbajikzWTMwsW+eSsNm3QwlOs7het9gGJU5dDZzRTQGk03vyBOauxgI4VakDzE0PtsGTmXPsXTbbjVhRwR5mpw==", 1909 | "optional": true 1910 | }, 1911 | "node_modules/ncp": { 1912 | "version": "2.0.0", 1913 | "resolved": "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz", 1914 | "integrity": "sha512-zIdGUrPRFTUELUvr3Gmc7KZ2Sw/h1PiVM0Af/oHB6zgnV1ikqSfRk+TOufi79aHYCW3NiOXmr1BP5nWbzojLaA==", 1915 | "optional": true, 1916 | "bin": { 1917 | "ncp": "bin/ncp" 1918 | } 1919 | }, 1920 | "node_modules/negotiator": { 1921 | "version": "0.6.4", 1922 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", 1923 | "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", 1924 | "engines": { 1925 | "node": ">= 0.6" 1926 | } 1927 | }, 1928 | "node_modules/node-addon-api": { 1929 | "version": "7.1.1", 1930 | "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", 1931 | "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==" 1932 | }, 1933 | "node_modules/node-fetch": { 1934 | "version": "2.7.0", 1935 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", 1936 | "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", 1937 | "license": "MIT", 1938 | "dependencies": { 1939 | "whatwg-url": "^5.0.0" 1940 | }, 1941 | "engines": { 1942 | "node": "4.x || >=6.0.0" 1943 | }, 1944 | "peerDependencies": { 1945 | "encoding": "^0.1.0" 1946 | }, 1947 | "peerDependenciesMeta": { 1948 | "encoding": { 1949 | "optional": true 1950 | } 1951 | } 1952 | }, 1953 | "node_modules/node-gyp": { 1954 | "version": "9.4.1", 1955 | "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.1.tgz", 1956 | "integrity": "sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ==", 1957 | "dependencies": { 1958 | "env-paths": "^2.2.0", 1959 | "exponential-backoff": "^3.1.1", 1960 | "glob": "^7.1.4", 1961 | "graceful-fs": "^4.2.6", 1962 | "make-fetch-happen": "^10.0.3", 1963 | "nopt": "^6.0.0", 1964 | "npmlog": "^6.0.0", 1965 | "rimraf": "^3.0.2", 1966 | "semver": "^7.3.5", 1967 | "tar": "^6.1.2", 1968 | "which": "^2.0.2" 1969 | }, 1970 | "bin": { 1971 | "node-gyp": "bin/node-gyp.js" 1972 | }, 1973 | "engines": { 1974 | "node": "^12.13 || ^14.13 || >=16" 1975 | } 1976 | }, 1977 | "node_modules/node-gyp/node_modules/are-we-there-yet": { 1978 | "version": "3.0.1", 1979 | "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", 1980 | "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", 1981 | "deprecated": "This package is no longer supported.", 1982 | "dependencies": { 1983 | "delegates": "^1.0.0", 1984 | "readable-stream": "^3.6.0" 1985 | }, 1986 | "engines": { 1987 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0" 1988 | } 1989 | }, 1990 | "node_modules/node-gyp/node_modules/gauge": { 1991 | "version": "4.0.4", 1992 | "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", 1993 | "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", 1994 | "deprecated": "This package is no longer supported.", 1995 | "dependencies": { 1996 | "aproba": "^1.0.3 || ^2.0.0", 1997 | "color-support": "^1.1.3", 1998 | "console-control-strings": "^1.1.0", 1999 | "has-unicode": "^2.0.1", 2000 | "signal-exit": "^3.0.7", 2001 | "string-width": "^4.2.3", 2002 | "strip-ansi": "^6.0.1", 2003 | "wide-align": "^1.1.5" 2004 | }, 2005 | "engines": { 2006 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0" 2007 | } 2008 | }, 2009 | "node_modules/node-gyp/node_modules/nopt": { 2010 | "version": "6.0.0", 2011 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", 2012 | "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", 2013 | "dependencies": { 2014 | "abbrev": "^1.0.0" 2015 | }, 2016 | "bin": { 2017 | "nopt": "bin/nopt.js" 2018 | }, 2019 | "engines": { 2020 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0" 2021 | } 2022 | }, 2023 | "node_modules/node-gyp/node_modules/npmlog": { 2024 | "version": "6.0.2", 2025 | "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", 2026 | "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", 2027 | "deprecated": "This package is no longer supported.", 2028 | "dependencies": { 2029 | "are-we-there-yet": "^3.0.0", 2030 | "console-control-strings": "^1.1.0", 2031 | "gauge": "^4.0.3", 2032 | "set-blocking": "^2.0.0" 2033 | }, 2034 | "engines": { 2035 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0" 2036 | } 2037 | }, 2038 | "node_modules/nodemon": { 2039 | "version": "3.1.9", 2040 | "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.9.tgz", 2041 | "integrity": "sha512-hdr1oIb2p6ZSxu3PB2JWWYS7ZQ0qvaZsc3hK8DR8f02kRzc8rjYmxAIvdz+aYC+8F2IjNaB7HMcSDg8nQpJxyg==", 2042 | "dev": true, 2043 | "license": "MIT", 2044 | "dependencies": { 2045 | "chokidar": "^3.5.2", 2046 | "debug": "^4", 2047 | "ignore-by-default": "^1.0.1", 2048 | "minimatch": "^3.1.2", 2049 | "pstree.remy": "^1.1.8", 2050 | "semver": "^7.5.3", 2051 | "simple-update-notifier": "^2.0.0", 2052 | "supports-color": "^5.5.0", 2053 | "touch": "^3.1.0", 2054 | "undefsafe": "^2.0.5" 2055 | }, 2056 | "bin": { 2057 | "nodemon": "bin/nodemon.js" 2058 | }, 2059 | "engines": { 2060 | "node": ">=10" 2061 | }, 2062 | "funding": { 2063 | "type": "opencollective", 2064 | "url": "https://opencollective.com/nodemon" 2065 | } 2066 | }, 2067 | "node_modules/nopt": { 2068 | "version": "8.1.0", 2069 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-8.1.0.tgz", 2070 | "integrity": "sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==", 2071 | "license": "ISC", 2072 | "dependencies": { 2073 | "abbrev": "^3.0.0" 2074 | }, 2075 | "bin": { 2076 | "nopt": "bin/nopt.js" 2077 | }, 2078 | "engines": { 2079 | "node": "^18.17.0 || >=20.5.0" 2080 | } 2081 | }, 2082 | "node_modules/nopt/node_modules/abbrev": { 2083 | "version": "3.0.0", 2084 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.0.tgz", 2085 | "integrity": "sha512-+/kfrslGQ7TNV2ecmQwMJj/B65g5KVq1/L3SGVZ3tCYGqlzFuFCGBZJtMP99wH3NpEUyAjn0zPdPUg0D+DwrOA==", 2086 | "license": "ISC", 2087 | "engines": { 2088 | "node": "^18.17.0 || >=20.5.0" 2089 | } 2090 | }, 2091 | "node_modules/normalize-path": { 2092 | "version": "3.0.0", 2093 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 2094 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 2095 | "dev": true, 2096 | "license": "MIT", 2097 | "engines": { 2098 | "node": ">=0.10.0" 2099 | } 2100 | }, 2101 | "node_modules/once": { 2102 | "version": "1.4.0", 2103 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2104 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 2105 | "dependencies": { 2106 | "wrappy": "1" 2107 | } 2108 | }, 2109 | "node_modules/p-map": { 2110 | "version": "4.0.0", 2111 | "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", 2112 | "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", 2113 | "dependencies": { 2114 | "aggregate-error": "^3.0.0" 2115 | }, 2116 | "engines": { 2117 | "node": ">=10" 2118 | }, 2119 | "funding": { 2120 | "url": "https://github.com/sponsors/sindresorhus" 2121 | } 2122 | }, 2123 | "node_modules/package-json-from-dist": { 2124 | "version": "1.0.1", 2125 | "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", 2126 | "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", 2127 | "license": "BlueOak-1.0.0" 2128 | }, 2129 | "node_modules/path-is-absolute": { 2130 | "version": "1.0.1", 2131 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 2132 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 2133 | "engines": { 2134 | "node": ">=0.10.0" 2135 | } 2136 | }, 2137 | "node_modules/path-key": { 2138 | "version": "3.1.1", 2139 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 2140 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 2141 | "license": "MIT", 2142 | "engines": { 2143 | "node": ">=8" 2144 | } 2145 | }, 2146 | "node_modules/path-scurry": { 2147 | "version": "1.11.1", 2148 | "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", 2149 | "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", 2150 | "license": "BlueOak-1.0.0", 2151 | "dependencies": { 2152 | "lru-cache": "^10.2.0", 2153 | "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" 2154 | }, 2155 | "engines": { 2156 | "node": ">=16 || 14 >=14.18" 2157 | }, 2158 | "funding": { 2159 | "url": "https://github.com/sponsors/isaacs" 2160 | } 2161 | }, 2162 | "node_modules/path-scurry/node_modules/lru-cache": { 2163 | "version": "10.4.3", 2164 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", 2165 | "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", 2166 | "license": "ISC" 2167 | }, 2168 | "node_modules/path-scurry/node_modules/minipass": { 2169 | "version": "7.1.2", 2170 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", 2171 | "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", 2172 | "license": "ISC", 2173 | "engines": { 2174 | "node": ">=16 || 14 >=14.17" 2175 | } 2176 | }, 2177 | "node_modules/picomatch": { 2178 | "version": "2.3.1", 2179 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 2180 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 2181 | "dev": true, 2182 | "license": "MIT", 2183 | "engines": { 2184 | "node": ">=8.6" 2185 | }, 2186 | "funding": { 2187 | "url": "https://github.com/sponsors/jonschlinkert" 2188 | } 2189 | }, 2190 | "node_modules/promise-inflight": { 2191 | "version": "1.0.1", 2192 | "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", 2193 | "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==" 2194 | }, 2195 | "node_modules/promise-retry": { 2196 | "version": "2.0.1", 2197 | "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", 2198 | "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", 2199 | "dependencies": { 2200 | "err-code": "^2.0.2", 2201 | "retry": "^0.12.0" 2202 | }, 2203 | "engines": { 2204 | "node": ">=10" 2205 | } 2206 | }, 2207 | "node_modules/pstree.remy": { 2208 | "version": "1.1.8", 2209 | "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", 2210 | "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", 2211 | "dev": true, 2212 | "license": "MIT" 2213 | }, 2214 | "node_modules/readable-stream": { 2215 | "version": "3.6.2", 2216 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", 2217 | "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", 2218 | "dependencies": { 2219 | "inherits": "^2.0.3", 2220 | "string_decoder": "^1.1.1", 2221 | "util-deprecate": "^1.0.1" 2222 | }, 2223 | "engines": { 2224 | "node": ">= 6" 2225 | } 2226 | }, 2227 | "node_modules/readdirp": { 2228 | "version": "3.6.0", 2229 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 2230 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 2231 | "dev": true, 2232 | "license": "MIT", 2233 | "dependencies": { 2234 | "picomatch": "^2.2.1" 2235 | }, 2236 | "engines": { 2237 | "node": ">=8.10.0" 2238 | } 2239 | }, 2240 | "node_modules/resolve-pkg-maps": { 2241 | "version": "1.0.0", 2242 | "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", 2243 | "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", 2244 | "funding": { 2245 | "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" 2246 | } 2247 | }, 2248 | "node_modules/retry": { 2249 | "version": "0.12.0", 2250 | "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", 2251 | "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", 2252 | "engines": { 2253 | "node": ">= 4" 2254 | } 2255 | }, 2256 | "node_modules/rimraf": { 2257 | "version": "3.0.2", 2258 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 2259 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 2260 | "deprecated": "Rimraf versions prior to v4 are no longer supported", 2261 | "dependencies": { 2262 | "glob": "^7.1.3" 2263 | }, 2264 | "bin": { 2265 | "rimraf": "bin.js" 2266 | }, 2267 | "funding": { 2268 | "url": "https://github.com/sponsors/isaacs" 2269 | } 2270 | }, 2271 | "node_modules/safe-buffer": { 2272 | "version": "5.2.1", 2273 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 2274 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 2275 | "funding": [ 2276 | { 2277 | "type": "github", 2278 | "url": "https://github.com/sponsors/feross" 2279 | }, 2280 | { 2281 | "type": "patreon", 2282 | "url": "https://www.patreon.com/feross" 2283 | }, 2284 | { 2285 | "type": "consulting", 2286 | "url": "https://feross.org/support" 2287 | } 2288 | ] 2289 | }, 2290 | "node_modules/safe-json-stringify": { 2291 | "version": "1.2.0", 2292 | "resolved": "https://registry.npmjs.org/safe-json-stringify/-/safe-json-stringify-1.2.0.tgz", 2293 | "integrity": "sha512-gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg==", 2294 | "optional": true 2295 | }, 2296 | "node_modules/safer-buffer": { 2297 | "version": "2.1.2", 2298 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 2299 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", 2300 | "optional": true 2301 | }, 2302 | "node_modules/semver": { 2303 | "version": "7.6.3", 2304 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", 2305 | "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", 2306 | "bin": { 2307 | "semver": "bin/semver.js" 2308 | }, 2309 | "engines": { 2310 | "node": ">=10" 2311 | } 2312 | }, 2313 | "node_modules/set-blocking": { 2314 | "version": "2.0.0", 2315 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", 2316 | "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" 2317 | }, 2318 | "node_modules/shebang-command": { 2319 | "version": "2.0.0", 2320 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 2321 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 2322 | "license": "MIT", 2323 | "dependencies": { 2324 | "shebang-regex": "^3.0.0" 2325 | }, 2326 | "engines": { 2327 | "node": ">=8" 2328 | } 2329 | }, 2330 | "node_modules/shebang-regex": { 2331 | "version": "3.0.0", 2332 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 2333 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 2334 | "license": "MIT", 2335 | "engines": { 2336 | "node": ">=8" 2337 | } 2338 | }, 2339 | "node_modules/signal-exit": { 2340 | "version": "3.0.7", 2341 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", 2342 | "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" 2343 | }, 2344 | "node_modules/simple-update-notifier": { 2345 | "version": "2.0.0", 2346 | "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", 2347 | "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==", 2348 | "dev": true, 2349 | "license": "MIT", 2350 | "dependencies": { 2351 | "semver": "^7.5.3" 2352 | }, 2353 | "engines": { 2354 | "node": ">=10" 2355 | } 2356 | }, 2357 | "node_modules/smart-buffer": { 2358 | "version": "4.2.0", 2359 | "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", 2360 | "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", 2361 | "engines": { 2362 | "node": ">= 6.0.0", 2363 | "npm": ">= 3.0.0" 2364 | } 2365 | }, 2366 | "node_modules/socks": { 2367 | "version": "2.8.3", 2368 | "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz", 2369 | "integrity": "sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==", 2370 | "dependencies": { 2371 | "ip-address": "^9.0.5", 2372 | "smart-buffer": "^4.2.0" 2373 | }, 2374 | "engines": { 2375 | "node": ">= 10.0.0", 2376 | "npm": ">= 3.0.0" 2377 | } 2378 | }, 2379 | "node_modules/socks-proxy-agent": { 2380 | "version": "7.0.0", 2381 | "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz", 2382 | "integrity": "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==", 2383 | "dependencies": { 2384 | "agent-base": "^6.0.2", 2385 | "debug": "^4.3.3", 2386 | "socks": "^2.6.2" 2387 | }, 2388 | "engines": { 2389 | "node": ">= 10" 2390 | } 2391 | }, 2392 | "node_modules/sprintf-js": { 2393 | "version": "1.1.3", 2394 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", 2395 | "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==" 2396 | }, 2397 | "node_modules/ssri": { 2398 | "version": "9.0.1", 2399 | "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz", 2400 | "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", 2401 | "dependencies": { 2402 | "minipass": "^3.1.1" 2403 | }, 2404 | "engines": { 2405 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0" 2406 | } 2407 | }, 2408 | "node_modules/string_decoder": { 2409 | "version": "1.3.0", 2410 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 2411 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 2412 | "dependencies": { 2413 | "safe-buffer": "~5.2.0" 2414 | } 2415 | }, 2416 | "node_modules/string-width": { 2417 | "version": "4.2.3", 2418 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 2419 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 2420 | "dependencies": { 2421 | "emoji-regex": "^8.0.0", 2422 | "is-fullwidth-code-point": "^3.0.0", 2423 | "strip-ansi": "^6.0.1" 2424 | }, 2425 | "engines": { 2426 | "node": ">=8" 2427 | } 2428 | }, 2429 | "node_modules/string-width-cjs": { 2430 | "name": "string-width", 2431 | "version": "4.2.3", 2432 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 2433 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 2434 | "license": "MIT", 2435 | "dependencies": { 2436 | "emoji-regex": "^8.0.0", 2437 | "is-fullwidth-code-point": "^3.0.0", 2438 | "strip-ansi": "^6.0.1" 2439 | }, 2440 | "engines": { 2441 | "node": ">=8" 2442 | } 2443 | }, 2444 | "node_modules/strip-ansi": { 2445 | "version": "6.0.1", 2446 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 2447 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 2448 | "dependencies": { 2449 | "ansi-regex": "^5.0.1" 2450 | }, 2451 | "engines": { 2452 | "node": ">=8" 2453 | } 2454 | }, 2455 | "node_modules/strip-ansi-cjs": { 2456 | "name": "strip-ansi", 2457 | "version": "6.0.1", 2458 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 2459 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 2460 | "license": "MIT", 2461 | "dependencies": { 2462 | "ansi-regex": "^5.0.1" 2463 | }, 2464 | "engines": { 2465 | "node": ">=8" 2466 | } 2467 | }, 2468 | "node_modules/supports-color": { 2469 | "version": "5.5.0", 2470 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 2471 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 2472 | "dev": true, 2473 | "license": "MIT", 2474 | "dependencies": { 2475 | "has-flag": "^3.0.0" 2476 | }, 2477 | "engines": { 2478 | "node": ">=4" 2479 | } 2480 | }, 2481 | "node_modules/tar": { 2482 | "version": "6.2.1", 2483 | "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", 2484 | "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==", 2485 | "dependencies": { 2486 | "chownr": "^2.0.0", 2487 | "fs-minipass": "^2.0.0", 2488 | "minipass": "^5.0.0", 2489 | "minizlib": "^2.1.1", 2490 | "mkdirp": "^1.0.3", 2491 | "yallist": "^4.0.0" 2492 | }, 2493 | "engines": { 2494 | "node": ">=10" 2495 | } 2496 | }, 2497 | "node_modules/tar/node_modules/minipass": { 2498 | "version": "5.0.0", 2499 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", 2500 | "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", 2501 | "engines": { 2502 | "node": ">=8" 2503 | } 2504 | }, 2505 | "node_modules/to-regex-range": { 2506 | "version": "5.0.1", 2507 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 2508 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 2509 | "dev": true, 2510 | "license": "MIT", 2511 | "dependencies": { 2512 | "is-number": "^7.0.0" 2513 | }, 2514 | "engines": { 2515 | "node": ">=8.0" 2516 | } 2517 | }, 2518 | "node_modules/touch": { 2519 | "version": "3.1.1", 2520 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.1.tgz", 2521 | "integrity": "sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==", 2522 | "dev": true, 2523 | "license": "ISC", 2524 | "bin": { 2525 | "nodetouch": "bin/nodetouch.js" 2526 | } 2527 | }, 2528 | "node_modules/tr46": { 2529 | "version": "0.0.3", 2530 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", 2531 | "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", 2532 | "license": "MIT" 2533 | }, 2534 | "node_modules/tsx": { 2535 | "version": "4.19.3", 2536 | "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.19.3.tgz", 2537 | "integrity": "sha512-4H8vUNGNjQ4V2EOoGw005+c+dGuPSnhpPBPHBtsZdGZBk/iJb4kguGlPWaZTZ3q5nMtFOEsY0nRDlh9PJyd6SQ==", 2538 | "license": "MIT", 2539 | "dependencies": { 2540 | "esbuild": "~0.25.0", 2541 | "get-tsconfig": "^4.7.5" 2542 | }, 2543 | "bin": { 2544 | "tsx": "dist/cli.mjs" 2545 | }, 2546 | "engines": { 2547 | "node": ">=18.0.0" 2548 | }, 2549 | "optionalDependencies": { 2550 | "fsevents": "~2.3.3" 2551 | } 2552 | }, 2553 | "node_modules/typescript": { 2554 | "version": "5.8.2", 2555 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz", 2556 | "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==", 2557 | "license": "Apache-2.0", 2558 | "bin": { 2559 | "tsc": "bin/tsc", 2560 | "tsserver": "bin/tsserver" 2561 | }, 2562 | "engines": { 2563 | "node": ">=14.17" 2564 | } 2565 | }, 2566 | "node_modules/undefsafe": { 2567 | "version": "2.0.5", 2568 | "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", 2569 | "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", 2570 | "dev": true, 2571 | "license": "MIT" 2572 | }, 2573 | "node_modules/undici-types": { 2574 | "version": "6.20.0", 2575 | "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", 2576 | "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", 2577 | "dev": true, 2578 | "license": "MIT" 2579 | }, 2580 | "node_modules/unique-filename": { 2581 | "version": "2.0.1", 2582 | "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz", 2583 | "integrity": "sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A==", 2584 | "dependencies": { 2585 | "unique-slug": "^3.0.0" 2586 | }, 2587 | "engines": { 2588 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0" 2589 | } 2590 | }, 2591 | "node_modules/unique-slug": { 2592 | "version": "3.0.0", 2593 | "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-3.0.0.tgz", 2594 | "integrity": "sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w==", 2595 | "dependencies": { 2596 | "imurmurhash": "^0.1.4" 2597 | }, 2598 | "engines": { 2599 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0" 2600 | } 2601 | }, 2602 | "node_modules/util-deprecate": { 2603 | "version": "1.0.2", 2604 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 2605 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" 2606 | }, 2607 | "node_modules/webidl-conversions": { 2608 | "version": "3.0.1", 2609 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", 2610 | "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", 2611 | "license": "BSD-2-Clause" 2612 | }, 2613 | "node_modules/whatwg-url": { 2614 | "version": "5.0.0", 2615 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", 2616 | "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", 2617 | "license": "MIT", 2618 | "dependencies": { 2619 | "tr46": "~0.0.3", 2620 | "webidl-conversions": "^3.0.0" 2621 | } 2622 | }, 2623 | "node_modules/which": { 2624 | "version": "2.0.2", 2625 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 2626 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 2627 | "dependencies": { 2628 | "isexe": "^2.0.0" 2629 | }, 2630 | "bin": { 2631 | "node-which": "bin/node-which" 2632 | }, 2633 | "engines": { 2634 | "node": ">= 8" 2635 | } 2636 | }, 2637 | "node_modules/wide-align": { 2638 | "version": "1.1.5", 2639 | "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", 2640 | "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", 2641 | "dependencies": { 2642 | "string-width": "^1.0.2 || 2 || 3 || 4" 2643 | } 2644 | }, 2645 | "node_modules/wrap-ansi": { 2646 | "version": "8.1.0", 2647 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", 2648 | "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", 2649 | "license": "MIT", 2650 | "dependencies": { 2651 | "ansi-styles": "^6.1.0", 2652 | "string-width": "^5.0.1", 2653 | "strip-ansi": "^7.0.1" 2654 | }, 2655 | "engines": { 2656 | "node": ">=12" 2657 | }, 2658 | "funding": { 2659 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 2660 | } 2661 | }, 2662 | "node_modules/wrap-ansi-cjs": { 2663 | "name": "wrap-ansi", 2664 | "version": "7.0.0", 2665 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 2666 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 2667 | "license": "MIT", 2668 | "dependencies": { 2669 | "ansi-styles": "^4.0.0", 2670 | "string-width": "^4.1.0", 2671 | "strip-ansi": "^6.0.0" 2672 | }, 2673 | "engines": { 2674 | "node": ">=10" 2675 | }, 2676 | "funding": { 2677 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 2678 | } 2679 | }, 2680 | "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { 2681 | "version": "4.3.0", 2682 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 2683 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 2684 | "license": "MIT", 2685 | "dependencies": { 2686 | "color-convert": "^2.0.1" 2687 | }, 2688 | "engines": { 2689 | "node": ">=8" 2690 | }, 2691 | "funding": { 2692 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 2693 | } 2694 | }, 2695 | "node_modules/wrap-ansi/node_modules/ansi-regex": { 2696 | "version": "6.1.0", 2697 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", 2698 | "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", 2699 | "license": "MIT", 2700 | "engines": { 2701 | "node": ">=12" 2702 | }, 2703 | "funding": { 2704 | "url": "https://github.com/chalk/ansi-regex?sponsor=1" 2705 | } 2706 | }, 2707 | "node_modules/wrap-ansi/node_modules/emoji-regex": { 2708 | "version": "9.2.2", 2709 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", 2710 | "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", 2711 | "license": "MIT" 2712 | }, 2713 | "node_modules/wrap-ansi/node_modules/string-width": { 2714 | "version": "5.1.2", 2715 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", 2716 | "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", 2717 | "license": "MIT", 2718 | "dependencies": { 2719 | "eastasianwidth": "^0.2.0", 2720 | "emoji-regex": "^9.2.2", 2721 | "strip-ansi": "^7.0.1" 2722 | }, 2723 | "engines": { 2724 | "node": ">=12" 2725 | }, 2726 | "funding": { 2727 | "url": "https://github.com/sponsors/sindresorhus" 2728 | } 2729 | }, 2730 | "node_modules/wrap-ansi/node_modules/strip-ansi": { 2731 | "version": "7.1.0", 2732 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", 2733 | "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", 2734 | "license": "MIT", 2735 | "dependencies": { 2736 | "ansi-regex": "^6.0.1" 2737 | }, 2738 | "engines": { 2739 | "node": ">=12" 2740 | }, 2741 | "funding": { 2742 | "url": "https://github.com/chalk/strip-ansi?sponsor=1" 2743 | } 2744 | }, 2745 | "node_modules/wrappy": { 2746 | "version": "1.0.2", 2747 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 2748 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" 2749 | }, 2750 | "node_modules/yallist": { 2751 | "version": "4.0.0", 2752 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", 2753 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" 2754 | } 2755 | } 2756 | } 2757 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "duckdb-api", 3 | "version": "0.1.1", 4 | "description": "A DuckDB API", 5 | "type": "module", 6 | "scripts": { 7 | "build": "rm -rf dist/ && tsc --build src/", 8 | "dev": "nodemon --exec tsx src/index.ts", 9 | "serve": "nodemon --exec tsx src/index.ts", 10 | "format": "npx @biomejs/biome format --write src/", 11 | "lint": "npx @biomejs/biome lint --write --unsafe src/", 12 | "test": "echo \"Error: no test specified\" && exit 1" 13 | }, 14 | "dependencies": { 15 | "@hono/node-server": "^1.13.8", 16 | "bunyan": "^1.8.15", 17 | "duckdb": "^1.2.0", 18 | "hono": "^4.7.4", 19 | "tsx": "^4.19.3", 20 | "typescript": "^5.8.2" 21 | }, 22 | "devDependencies": { 23 | "@biomejs/biome": "1.9.4", 24 | "@types/bunyan": "^1.8.11", 25 | "@types/node": "^22.13.10", 26 | "nodemon": "^3.1.9" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | import { serve } from '@hono/node-server'; 2 | import { Hono } from 'hono'; 3 | import { cors } from 'hono/cors'; 4 | import { stream } from 'hono/streaming'; 5 | import { basicAuth } from 'hono/basic-auth'; 6 | import { logger } from 'hono/logger'; 7 | import { prettyJSON } from 'hono/pretty-json'; 8 | import { requestId } from 'hono/request-id'; 9 | import Logger from './lib/logger'; 10 | import { initialize, query, streamingQuery } from './lib/dbUtils'; 11 | 12 | // Setup bindings 13 | type Bindings = { 14 | USERNAME: string; 15 | PASSWORD: string; 16 | }; 17 | 18 | // Patch BigInt 19 | (BigInt.prototype as any).toJSON = function () { 20 | return this.toString(); 21 | }; 22 | 23 | // Instantiate logger 24 | const apiLogger = new Logger({ 25 | name: 'duckdb-api-logger', 26 | }).getInstance(); 27 | 28 | // Get environment variables 29 | const { USERNAME, PASSWORD, PORT } = process.env; 30 | 31 | // Setup port 32 | const port = PORT ? parseInt(PORT) : 3000; 33 | 34 | // Store initialization 35 | let isInitialized = false; 36 | 37 | // Setup API 38 | const api = new Hono<{ Bindings: Bindings }>(); 39 | 40 | // Setup routes & middleware 41 | api.get('/', (c) => c.json({ message: 'Welcome to DuckDB API' })); 42 | api.use(prettyJSON()); 43 | api.use(logger()); 44 | api.use('*', requestId()); 45 | api.notFound((c) => c.json({ message: 'Not Found', ok: false }, 404)); 46 | 47 | // Enable CORS 48 | api.use('/query', cors()); 49 | api.use('/streaming-query', cors()); 50 | 51 | // Enable basic auth if username & password are set 52 | if (USERNAME && PASSWORD) { 53 | api.use('/query', basicAuth({ username: USERNAME, password: PASSWORD })); 54 | } 55 | 56 | // Setup query route 57 | api.post('/query', async (c) => { 58 | // Setup logger 59 | const requestLogger = apiLogger.child({ requestId: c.get('requestId') }); 60 | 61 | // Parse body with query 62 | const body = await c.req.json(); 63 | 64 | if (!body.hasOwnProperty('query')) { 65 | return c.json({ error: 'Missing query property in request body!' }, 400); 66 | } 67 | 68 | // Check if DuckDB has been initalized 69 | if (!isInitialized) { 70 | // Run initalization queries 71 | await initialize(); 72 | 73 | // Store initialization 74 | isInitialized = true; 75 | } 76 | 77 | // Track query start timestamp 78 | const queryStartTimestamp = new Date().getTime(); 79 | 80 | try { 81 | // Run query 82 | const queryResult = await query(body.query); 83 | 84 | // Track query end timestamp 85 | const queryEndTimestamp = new Date().getTime(); 86 | 87 | requestLogger.debug({ 88 | query: body.query, 89 | queryStartTimestamp, 90 | queryEndTimestamp, 91 | }); 92 | 93 | return c.json(queryResult, 200); 94 | } catch (error) { 95 | return c.json({ error: error }, 500); 96 | } 97 | }); 98 | 99 | // Setup query route 100 | api.post('/streaming-query', async (c) => { 101 | // Setup logger 102 | const requestLogger = apiLogger.child({ requestId: c.get('requestId') }); 103 | 104 | // Parse body with query 105 | const body = await c.req.json(); 106 | 107 | if (!body.hasOwnProperty('query')) { 108 | return c.json({ error: 'Missing query property in request body!' }, 400); 109 | } 110 | 111 | // Check if DuckDB has been initalized 112 | if (!isInitialized) { 113 | // Run initalization queries 114 | await initialize(); 115 | 116 | // Store initialization 117 | isInitialized = true; 118 | } 119 | 120 | try { 121 | // Set content type to Arrow IPC stream 122 | c.header('Content-Type', 'application/vnd.apache.arrow.stream'); 123 | 124 | // Set HTTP status code 125 | c.status(200); 126 | 127 | // Stream response 128 | return stream(c, async (stream) => { 129 | // Write a process to be executed when aborted. 130 | stream.onAbort(() => { 131 | requestLogger.error('Aborted!'); 132 | }); 133 | 134 | // Get Arrow IPC stream 135 | const arrowStream = await streamingQuery(body.query, true); 136 | 137 | // Stream Arrow IPC stream to response 138 | for await (const chunk of arrowStream) { 139 | // Write chunk 140 | await stream.write(chunk); 141 | } 142 | }); 143 | } catch (error) { 144 | return c.json({ error: error }, 500); 145 | } 146 | }); 147 | 148 | // Serve API 149 | serve({ 150 | fetch: api.fetch, 151 | port, 152 | }, (info) => { 153 | console.log(`Listening on http://localhost:${info.port}`); 154 | }); 155 | -------------------------------------------------------------------------------- /src/lib/dbUtils.ts: -------------------------------------------------------------------------------- 1 | import DuckDB from 'duckdb'; 2 | import { filterQuery } from './queryFilter'; 3 | 4 | const { AWS_REGION, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY } = process.env; 5 | 6 | // Instantiate DuckDB 7 | const duckDB = new DuckDB.Database(':memory:', { 8 | allow_unsigned_extensions: 'true', 9 | }); 10 | 11 | // Create connection 12 | const connection = duckDB.connect(); 13 | 14 | // Promisify query method 15 | export const query = (query: string, filteringEnabled = true): Promise => { 16 | return new Promise((resolve, reject) => { 17 | connection.all(filterQuery(query, filteringEnabled), (err, res) => { 18 | if (err) reject(err); 19 | resolve(res); 20 | }); 21 | }); 22 | }; 23 | 24 | export const streamingQuery = (query: string, filteringEnabled = true): Promise => { 25 | return connection.arrowIPCStream(filterQuery(query, filteringEnabled)); 26 | }; 27 | 28 | export const initialize = async () => { 29 | // Load home directory 30 | await query(`SET home_directory='/tmp';`, false); 31 | 32 | // Hint: INSTALL httpfs; is needed again, because it's no longer included in the new repo: 33 | // https://github.com/duckdb/duckdb-node/tree/v1.1.1/src/duckdb/extension 34 | await query('INSTALL httpfs;', false); 35 | await query('LOAD httpfs;', false); 36 | await query('INSTALL json;', false); 37 | await query('LOAD json;', false); 38 | await query('INSTALL arrow;', false); 39 | await query('LOAD arrow;', false); 40 | 41 | // Whether or not the global http metadata is used to cache HTTP metadata, see https://github.com/duckdb/duckdb/pull/5405 42 | await query('SET enable_http_metadata_cache=true;', false); 43 | 44 | // Whether or not object cache is used to cache e.g. Parquet metadata 45 | await query('SET enable_object_cache=true;', false); 46 | 47 | if (AWS_REGION && AWS_ACCESS_KEY_ID && AWS_SECRET_ACCESS_KEY) { 48 | // Set AWS credentials 49 | await query(`SET s3_region='${AWS_REGION}';`, false); 50 | await query(`SET s3_access_key_id='${AWS_ACCESS_KEY_ID}';`, false); 51 | await query(`SET s3_secret_access_key='${AWS_SECRET_ACCESS_KEY}';`, false); 52 | } 53 | }; 54 | -------------------------------------------------------------------------------- /src/lib/logger.ts: -------------------------------------------------------------------------------- 1 | import bunyan, { type LogLevelString } from 'bunyan'; 2 | 3 | type LoggerOptions = { 4 | level?: LogLevelString; 5 | name?: string; 6 | }; 7 | 8 | export default class Logger { 9 | private level: LogLevelString; 10 | private name: string; 11 | private loggerInstance: bunyan | undefined; 12 | 13 | // See https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/bunyan/index.d.ts#L196 14 | constructor(options: LoggerOptions | undefined) { 15 | this.level = options?.level || (process.env.LOG_LEVEL as LogLevelString) || ('info' as LogLevelString); 16 | this.name = options?.name || 'duckdb-api-logger'; 17 | } 18 | 19 | public getInstance() { 20 | if (!this.loggerInstance) { 21 | this.loggerInstance = bunyan.createLogger({ 22 | name: this.name, 23 | level: this.level, 24 | }); 25 | } 26 | return this.loggerInstance; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/lib/queryFilter.ts: -------------------------------------------------------------------------------- 1 | export const filterQuery = (query: string | undefined, filteringEnabled = true): string => { 2 | if (query && filteringEnabled && query.toLowerCase().indexOf('duckdb_settings') > -1) { 3 | return `select 'Function is disabled' as error`; 4 | } 5 | if (query && filteringEnabled && query.trim().toLowerCase().startsWith('install')) { 6 | return `select 'Extension installation disabled' as error`; 7 | } 8 | if (query && filteringEnabled && query.trim().toLowerCase().startsWith('load')) { 9 | return `select 'Extension loading is disabled' as error`; 10 | } 11 | if (query && filteringEnabled && query.toLowerCase().indexOf('set') > -1) { 12 | return `select 'Using SET is disabled' as error`; 13 | } 14 | if (query && filteringEnabled && query.toLowerCase().indexOf('pragma') > -1) { 15 | return `select 'Using PRAGMA is disabled' as error`; 16 | } 17 | return query || ''; 18 | }; 19 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Visit https://aka.ms/tsconfig to read more about this file */ 4 | 5 | /* Projects */ 6 | // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ 7 | "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ 8 | // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ 9 | // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */ 10 | // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ 11 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ 12 | 13 | /* Language and Environment */ 14 | "target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ 15 | // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ 16 | // "jsx": "preserve", /* Specify what JSX code is generated. */ 17 | // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */ 18 | // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ 19 | // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */ 20 | // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ 21 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */ 22 | // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ 23 | // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ 24 | // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ 25 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ 26 | 27 | /* Modules */ 28 | "module": "Node16", /* Specify what module code is generated. */ 29 | "rootDir": ".", /* Specify the root folder within your source files. */ 30 | "moduleResolution": "Node16", /* Specify how TypeScript looks up a file from a given module specifier. */ 31 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ 32 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ 33 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 34 | // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ 35 | // "types": [], /* Specify type package names to be included without being referenced in a source file. */ 36 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ 37 | // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ 38 | "resolveJsonModule": true, /* Enable importing .json files. */ 39 | // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */ 40 | 41 | /* JavaScript Support */ 42 | // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ 43 | // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ 44 | // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ 45 | 46 | /* Emit */ 47 | "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ 48 | // "declarationMap": true, /* Create sourcemaps for d.ts files. */ 49 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ 50 | // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ 51 | // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ 52 | "outDir": ".", /* Specify an output folder for all emitted files. */ 53 | // "removeComments": true, /* Disable emitting comments. */ 54 | // "noEmit": true, /* Disable emitting files from a compilation. */ 55 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ 56 | // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */ 57 | // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ 58 | // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ 59 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ 60 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ 61 | // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ 62 | // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ 63 | // "newLine": "crlf", /* Set the newline character for emitting files. */ 64 | // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */ 65 | // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */ 66 | // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */ 67 | // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */ 68 | // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ 69 | // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */ 70 | 71 | /* Interop Constraints */ 72 | // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ 73 | // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ 74 | "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ 75 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ 76 | "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ 77 | 78 | /* Type Checking */ 79 | "strict": true, /* Enable all strict type-checking options. */ 80 | // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ 81 | // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */ 82 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ 83 | // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ 84 | // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ 85 | // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */ 86 | // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */ 87 | // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ 88 | // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */ 89 | // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */ 90 | // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ 91 | // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */ 92 | // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */ 93 | // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */ 94 | // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */ 95 | // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */ 96 | // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */ 97 | // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */ 98 | 99 | /* Completeness */ 100 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ 101 | // "skipLibCheck": true /* Skip type checking all .d.ts files. */ 102 | }, 103 | "include": ["src/**/*.ts"], 104 | //"exclude": ["node_modules", "data/json/iam.old.json"], 105 | "files": [ 106 | "package.json" 107 | ] 108 | } --------------------------------------------------------------------------------