├── .gitignore ├── .idea ├── .gitignore ├── GhostCache-API-Cache.iml ├── modules.xml └── vcs.xml ├── LICENSE ├── README.md ├── __tests__ ├── demo.js ├── ghostCache.test.js └── ghostCache.test.ts ├── index.d.ts ├── jest.config.cjs ├── package-lock.json ├── package.json ├── src ├── ghostCache.ts ├── index.ts └── storage │ ├── IStorageAdapter.ts │ ├── InMemoryStorageAdapter.ts │ ├── IndexedDBAdapter.ts │ ├── LocalStorageAdapter.ts │ ├── RedisAdapter.ts │ └── SessionStorageAdapter.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | /tmp 2 | /out-tsc 3 | 4 | /node_modules 5 | npm-debug.log* 6 | yarn-debug.log* 7 | yarn-error.log* 8 | /.pnp 9 | .pnp.js 10 | 11 | .vscode/* 12 | /dist 13 | /coverage 14 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Editor-based HTTP Client requests 5 | /httpRequests/ 6 | # Datasource local storage ignored files 7 | /dataSources/ 8 | /dataSources.local.xml 9 | -------------------------------------------------------------------------------- /.idea/GhostCache-API-Cache.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2025 Son Nguyen 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 | # GhostCache API Cache Library 2 | 3 | **GhostCache** is a lightweight, auto-caching wrapper for HTTP requests made with `fetch()` and `Axios`. It improves performance and reduces redundant network requests by automatically caching API responses. GhostCache supports multiple storage backends including: 4 | 5 | - **In-Memory Storage** (default) 6 | - **localStorage** 7 | - **sessionStorage** 8 | - **IndexedDB** 9 | - **Redis** (via a provided adapter) 10 | 11 | GhostCache is ideal for web applications, React apps, Node.js projects, and any environment that makes HTTP requests. 12 | 13 | Currently available as a Node.js package on NPM. **NPM Page:** [https://www.npmjs.com/package/ghost-cache](https://www.npmjs.com/package/ghost-cache) 14 | 15 | [![NPM version](https://img.shields.io/npm/v/ghost-cache.svg?style=flat&logo=npm)](https://www.npmjs.com/package/ghost-cache) 16 | [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat&logo=opensource)](LICENSE) 17 | [![Node.js](https://img.shields.io/badge/Node-%3E%3D14-brightgreen.svg?style=flat&logo=node.js)](https://nodejs.org/) 18 | [![TypeScript](https://img.shields.io/badge/TypeScript-5.0%2B-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) 19 | [![Axios](https://img.shields.io/badge/Axios-1.3.0-blue.svg?style=flat&logo=axios)](https://github.com/axios/axios) 20 | [![Jest](https://img.shields.io/badge/Jest-29.0.0-red.svg?style=flat&logo=jest)](https://jestjs.io/) 21 | [![Redis](https://img.shields.io/badge/Redis-4.0.0-green.svg?style=flat&logo=redis)](https://redis.io/) 22 | [![cross-fetch](https://img.shields.io/badge/cross--fetch-4.1.0-blue.svg?style=flat&logo=cross-fetch)](https://github.com/lquixada/cross-fetch) 23 | 24 | ## Table of Contents 25 | 26 | - [Features](#features) 27 | - [Installation](#installation) 28 | - [Configuration Options](#configuration-options) 29 | - [Usage Examples](#usage-examples) 30 | - [Basic Usage with Fetch](#basic-usage-with-fetch) 31 | - [Using GhostCache with Axios](#using-ghostcache-with-axios) 32 | - [Manual Cache API](#manual-cache-api) 33 | - [Storage Adapters](#storage-adapters) 34 | - [localStorage](#localstorage) 35 | - [sessionStorage](#sessionstorage) 36 | - [IndexedDB](#indexeddb) 37 | - [Redis](#redis) 38 | - [Advanced Examples](#advanced-examples) 39 | - [React Application Example](#react-application-example) 40 | - [Node.js Example](#nodejs-example) 41 | - [API Reference](#api-reference) 42 | - [Testing](#testing) 43 | - [Demo Script](#demo-script) 44 | - [Contributing](#contributing) 45 | - [License](#license) 46 | 47 | ## Features 48 | 49 | - **Automatic Caching**: Intercepts requests via `fetch()` and Axios. 50 | - **Multiple Storage Options**: Choose your preferred storage backend. 51 | - **Configurable TTL**: Set cache expiry time in milliseconds. 52 | - **Cache Size Limiting**: Limit the number of in-memory entries. 53 | - **Manual Cache API**: Set and retrieve cache entries manually. 54 | - **Pluggable**: Easily integrate with any HTTP client. 55 | 56 | ## Installation 57 | 58 | Install GhostCache via npm or Yarn: 59 | 60 | ```bash 61 | npm install ghost-cache 62 | # or 63 | yarn add ghost-cache 64 | ``` 65 | 66 | **(Optional, but encouraged)**: Install `cross-fetch` for better compatibility across environments: 67 | 68 | ```bash 69 | npm install --save-dev cross-fetch 70 | ``` 71 | 72 | ## Configuration Options 73 | 74 | When enabling GhostCache, you can pass an options object to customize its behavior: 75 | 76 | - **ttl**: Time-to-live for cache entries in milliseconds (default: 60000). 77 | - **persistent**: Boolean to enable persistent storage (default: false). 78 | - **maxEntries**: Maximum number of in-memory cache entries (default: 100). 79 | - **storage**: Choose storage adapter. Options: 80 | - `'localStorage'` 81 | - `'sessionStorage'` 82 | - `'indexedDB'` 83 | - `'redis'` (requires a valid RedisAdapter instance) 84 | - _Or provide a custom storage adapter object that implements the IStorageAdapter interface (for your flexibility and convenience)._ 85 | 86 | Example: 87 | 88 | ```ts 89 | import { enableGhostCache } from "ghost-cache"; 90 | 91 | enableGhostCache({ 92 | ttl: 120000, // Cache entries expire in 2 minutes 93 | persistent: true, // Enable persistent caching 94 | maxEntries: 200, // Allow up to 200 in-memory entries 95 | storage: "localStorage", // Use localStorage for persistence 96 | }); 97 | ``` 98 | 99 | ## Usage Examples 100 | 101 | ### Basic Usage with Fetch 102 | 103 | Enable caching and make HTTP requests using the native fetch API. GhostCache will intercept and cache the responses. 104 | 105 | ```ts 106 | import { enableGhostCache, disableGhostCache } from "ghost-cache"; 107 | 108 | // Enable GhostCache with default options (TTL: 60 sec, in-memory caching) 109 | enableGhostCache(); 110 | 111 | // Regular fetch calls remain unchanged 112 | fetch("https://pokeapi.co/api/v2/pokemon/ditto") 113 | .then((res) => res.json()) 114 | .then((data) => console.log("Fetched data:", data)); 115 | 116 | // Disable GhostCache to restore original fetch behavior 117 | // disableGhostCache(); 118 | ``` 119 | 120 | ### Using GhostCache with Axios 121 | 122 | You can also integrate GhostCache with Axios by registering your Axios instance. 123 | 124 | ```ts 125 | import axios from "axios"; 126 | import { enableGhostCache, registerAxios } from "ghost-cache"; 127 | 128 | // Enable caching with 30 seconds TTL and persistent localStorage 129 | enableGhostCache({ ttl: 30000, persistent: true, storage: "localStorage" }); 130 | 131 | // Create an Axios instance and register it with GhostCache 132 | const api = axios.create({ baseURL: "https://pokeapi.co/api/v2" }); 133 | registerAxios(api); 134 | 135 | // Make requests using Axios. Subsequent calls will be served from the cache. 136 | api 137 | .get("/pokemon/ditto") 138 | .then((response) => console.log("Axios fetched:", response.data)); 139 | ``` 140 | 141 | ### Manual Cache API 142 | 143 | GhostCache provides methods to manually set and retrieve cache entries. 144 | 145 | ```ts 146 | import { setCache, getCache } from "ghost-cache"; 147 | 148 | // Manually store a cache entry 149 | await setCache("user-profile", { name: "Alice", age: 30 }); 150 | 151 | // Retrieve the manually stored cache entry 152 | const profile = await getCache("user-profile"); 153 | console.log("Manual cache:", profile); 154 | ``` 155 | 156 | ## Storage Adapters 157 | 158 | ### localStorage 159 | 160 | Enable persistent caching using the browser's localStorage: 161 | 162 | ```ts 163 | enableGhostCache({ 164 | persistent: true, 165 | storage: "localStorage", 166 | }); 167 | ``` 168 | 169 | ### sessionStorage 170 | 171 | Use sessionStorage for caching that lasts only for the browser session: 172 | 173 | ```ts 174 | enableGhostCache({ 175 | persistent: true, 176 | storage: "sessionStorage", 177 | }); 178 | ``` 179 | 180 | ### IndexedDB 181 | 182 | Use IndexedDB for structured, persistent storage: 183 | 184 | ```ts 185 | enableGhostCache({ 186 | persistent: true, 187 | storage: "indexedDB", 188 | }); 189 | ``` 190 | 191 | ### Redis 192 | 193 | For server-side caching, you can use Redis by providing a RedisAdapter instance. Ensure you have a valid Redis client (for example, using the `redis` package): 194 | 195 | ```ts 196 | import { createClient } from "redis"; 197 | import { RedisAdapter } from "ghost-cache/dist/storage/RedisAdapter"; 198 | 199 | const redisClient = createClient(); 200 | await redisClient.connect(); 201 | 202 | enableGhostCache({ 203 | persistent: true, 204 | storage: new RedisAdapter(redisClient), 205 | }); 206 | ``` 207 | 208 | ## Advanced Examples 209 | 210 | ### React Application Example 211 | 212 | Integrate GhostCache in a React app to cache API responses automatically. 213 | 214 | ```tsx 215 | // App.tsx 216 | import React, { useEffect, useState } from "react"; 217 | import { enableGhostCache } from "ghost-cache"; 218 | 219 | enableGhostCache({ ttl: 60000, persistent: true, storage: "localStorage" }); 220 | 221 | const App: React.FC = () => { 222 | const [pokemon, setPokemon] = useState(null); 223 | 224 | useEffect(() => { 225 | fetch("https://pokeapi.co/api/v2/pokemon/ditto") 226 | .then((res) => res.json()) 227 | .then(setPokemon); 228 | }, []); 229 | 230 | return ( 231 |
232 |

GhostCache Example in React

233 | {pokemon ? ( 234 |
{JSON.stringify(pokemon, null, 2)}
235 | ) : ( 236 |

Loading...

237 | )} 238 |
239 | ); 240 | }; 241 | 242 | export default App; 243 | ``` 244 | 245 | ### Node.js Example 246 | 247 | If you use GhostCache in a Node.js environment (using Axios), you can enable caching similarly. Note that persistent caching may require a server-side storage adapter like Redis. 248 | 249 | ```ts 250 | // node-example.ts 251 | import axios from "axios"; 252 | import { enableGhostCache, registerAxios } from "ghost-cache"; 253 | 254 | // Enable caching (TTL: 60 sec, in-memory caching) 255 | enableGhostCache({ ttl: 60000 }); 256 | 257 | // Create and register an Axios instance 258 | const api = axios.create({ baseURL: "https://pokeapi.co/api/v2" }); 259 | registerAxios(api); 260 | 261 | // Use Axios to make requests 262 | api 263 | .get("/pokemon/ditto") 264 | .then((response) => { 265 | console.log("Node.js Axios fetched:", response.data); 266 | }) 267 | .catch((error) => { 268 | console.error("Error:", error); 269 | }); 270 | ``` 271 | 272 | ## API Reference 273 | 274 | - **enableGhostCache(options?: GhostCacheOptions): void** 275 | Enables GhostCache. Automatically intercepts HTTP requests made with `fetch()` and Axios. 276 | 277 | - **clearGhostCache(): void** 278 | Clears all cache entries from memory (and persistent storage if enabled). 279 | 280 | - **disableGhostCache(): void** 281 | Disables GhostCache and restores the original HTTP request methods. 282 | 283 | - **setCache(key: string, value: any): Promise** 284 | Manually sets a cache entry. 285 | 286 | - **getCache(key: string): Promise** 287 | Retrieves a manually set cache entry. 288 | 289 | - **registerAxios(instance: AxiosInstance): void** 290 | Registers an Axios instance so that its requests are intercepted and cached. 291 | 292 | ## Testing 293 | 294 | GhostCache comes with a comprehensive Jest test suite. To run tests: 295 | 296 | 1. Ensure you have installed dependencies: 297 | 298 | ```bash 299 | npm install 300 | ``` 301 | 302 | 2. Run tests with: 303 | 304 | ```bash 305 | npm test 306 | ``` 307 | 308 | Tests use the Pokémon API (`https://pokeapi.co/api/v2/pokemon/ditto`) to verify that caching works for both `fetch()` and Axios requests. 309 | 310 | > Note: There may be path/import issues. If you encounter any, please check the test files and adjust the import paths accordingly. 311 | 312 | ## Demo Script 313 | 314 | To run a demo script that showcases GhostCache in action, use the following command: 315 | 316 | ```bash 317 | npm run demo 318 | ``` 319 | 320 | This will execute a script that demonstrates caching with both `fetch()` and Axios. Monitor the console for logs indicating cache hits and misses. 321 | 322 | ## Contributing 323 | 324 | Contributions are welcome! Please follow these steps: 325 | 326 | 1. **Fork the Repository** 327 | 2. **Create a Feature Branch** 328 | 329 | ```bash 330 | git checkout -b feature/my-new-feature 331 | ``` 332 | 333 | 3. **Commit Your Changes** 334 | 4. **Submit a Pull Request** 335 | 336 | For major changes, please open an issue first to discuss what you would like to change. 337 | 338 | ## License 339 | 340 | GhostCache is released under the [MIT License](LICENSE). Feel free to use, modify, and distribute it in your projects. 341 | 342 | ## Final Remarks 343 | 344 | GhostCache is designed to be a simple yet powerful tool for improving the performance of your web applications by reducing unnecessary network calls. With support for multiple storage adapters and both `fetch()` and Axios, it adapts to a wide range of project needs. 345 | 346 | Happy caching! 🎉 347 | -------------------------------------------------------------------------------- /__tests__/demo.js: -------------------------------------------------------------------------------- 1 | import { enableGhostCache, disableGhostCache } from "ghost-cache"; 2 | 3 | // Enable GhostCache with default options (TTL: 60 sec, in-memory) 4 | enableGhostCache(); 5 | 6 | // Make a fetch call to get data from the Pokémon API 7 | fetch("https://pokeapi.co/api/v2/pokemon/ditto") 8 | .then((res) => res.json()) 9 | .then((data) => { 10 | console.log("Fetched data:", data); 11 | 12 | // Optionally disable GhostCache to restore original fetch 13 | // disableGhostCache(); 14 | }) 15 | .catch((error) => console.error("Error fetching data:", error)); 16 | 17 | // Should output something like: 18 | // > node __tests__/demo.js 19 | // 20 | // [GhostCache] (fetch) Fetching from network: {"url":"https://pokeapi.co/api/v2/pokemon/ditto"} 21 | // [GhostCache] Cached response for key: {"url":"https://pokeapi.co/api/v2/pokemon/ditto"} 22 | // Fetched data: { 23 | // abilities: [ 24 | // { ability: [Object], is_hidden: false, slot: 1 }, 25 | // { ability: [Object], is_hidden: true, slot: 3 } 26 | // ], 27 | // base_experience: 101, 28 | // cries: { 29 | // latest: 'https://raw.githubusercontent.com/PokeAPI/cries/main/cries/pokemon/latest/132.ogg', 30 | // legacy: 'https://raw.githubusercontent.com/PokeAPI/cries/main/cries/pokemon/legacy/132.ogg' 31 | // }, 32 | // forms: [ 33 | // { 34 | // name: 'ditto', 35 | // url: 'https://pokeapi.co/api/v2/pokemon-form/132/' 36 | // } 37 | // ], 38 | // game_indices: [ 39 | // { game_index: 76, version: [Object] }, 40 | // { game_index: 76, version: [Object] }, 41 | // { game_index: 76, version: [Object] }, 42 | // { game_index: 132, version: [Object] }, 43 | // { game_index: 132, version: [Object] }, 44 | // { game_index: 132, version: [Object] }, 45 | // { game_index: 132, version: [Object] }, 46 | // { game_index: 132, version: [Object] }, 47 | // { game_index: 132, version: [Object] }, 48 | // { game_index: 132, version: [Object] }, 49 | // { game_index: 132, version: [Object] }, 50 | // { game_index: 132, version: [Object] }, 51 | // { game_index: 132, version: [Object] }, 52 | // { game_index: 132, version: [Object] }, 53 | // { game_index: 132, version: [Object] }, 54 | // { game_index: 132, version: [Object] }, 55 | // { game_index: 132, version: [Object] }, 56 | // { game_index: 132, version: [Object] }, 57 | // { game_index: 132, version: [Object] }, 58 | // { game_index: 132, version: [Object] } 59 | // ], 60 | // height: 3, 61 | // held_items: [ 62 | // { item: [Object], version_details: [Array] }, 63 | // { item: [Object], version_details: [Array] } 64 | // ], 65 | // id: 132, 66 | // is_default: true, 67 | // location_area_encounters: 'https://pokeapi.co/api/v2/pokemon/132/encounters', 68 | // moves: [ { move: [Object], version_group_details: [Array] } ], 69 | // name: 'ditto', 70 | // order: 214, 71 | // past_abilities: [], 72 | // past_types: [], 73 | // species: { 74 | // name: 'ditto', 75 | // url: 'https://pokeapi.co/api/v2/pokemon-species/132/' 76 | // }, 77 | // sprites: { 78 | // back_default: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/132.png', 79 | // back_female: null, 80 | // back_shiny: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/shiny/132.png', 81 | // back_shiny_female: null, 82 | // front_default: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/132.png', 83 | // front_female: null, 84 | // front_shiny: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/shiny/132.png', 85 | // front_shiny_female: null, 86 | // other: { 87 | // dream_world: [Object], 88 | // home: [Object], 89 | // 'official-artwork': [Object], 90 | // showdown: [Object] 91 | // }, 92 | // versions: { 93 | // 'generation-i': [Object], 94 | // 'generation-ii': [Object], 95 | // 'generation-iii': [Object], 96 | // 'generation-iv': [Object], 97 | // 'generation-v': [Object], 98 | // 'generation-vi': [Object], 99 | // 'generation-vii': [Object], 100 | // 'generation-viii': [Object] 101 | // } 102 | // }, 103 | // stats: [ 104 | // { base_stat: 48, effort: 1, stat: [Object] }, 105 | // { base_stat: 48, effort: 0, stat: [Object] }, 106 | // { base_stat: 48, effort: 0, stat: [Object] }, 107 | // { base_stat: 48, effort: 0, stat: [Object] }, 108 | // { base_stat: 48, effort: 0, stat: [Object] }, 109 | // { base_stat: 48, effort: 0, stat: [Object] } 110 | // ], 111 | // types: [ { slot: 1, type: [Object] } ], 112 | // weight: 40 113 | // } 114 | -------------------------------------------------------------------------------- /__tests__/ghostCache.test.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __awaiter = 3 | (this && this.__awaiter) || 4 | function (thisArg, _arguments, P, generator) { 5 | function adopt(value) { 6 | return value instanceof P 7 | ? value 8 | : new P(function (resolve) { 9 | resolve(value); 10 | }); 11 | } 12 | return new (P || (P = Promise))(function (resolve, reject) { 13 | function fulfilled(value) { 14 | try { 15 | step(generator.next(value)); 16 | } catch (e) { 17 | reject(e); 18 | } 19 | } 20 | function rejected(value) { 21 | try { 22 | step(generator["throw"](value)); 23 | } catch (e) { 24 | reject(e); 25 | } 26 | } 27 | function step(result) { 28 | result.done 29 | ? resolve(result.value) 30 | : adopt(result.value).then(fulfilled, rejected); 31 | } 32 | step((generator = generator.apply(thisArg, _arguments || [])).next()); 33 | }); 34 | }; 35 | var __importDefault = 36 | (this && this.__importDefault) || 37 | function (mod) { 38 | return mod && mod.__esModule ? mod : { default: mod }; 39 | }; 40 | Object.defineProperty(exports, "__esModule", { value: true }); 41 | const src_1 = require("../src"); 42 | const axios_1 = __importDefault(require("axios")); 43 | jest.setTimeout(10000); 44 | describe("GhostCache - API Caching Tests", () => { 45 | const POKEMON_API = "https://pokeapi.co/api/v2/pokemon/ditto"; 46 | beforeAll(() => { 47 | // Enable caching with a TTL of 5 seconds, no persistent storage for testing 48 | (0, src_1.enableGhostCache)({ ttl: 5000, persistent: false }); 49 | }); 50 | afterEach(() => { 51 | (0, src_1.clearGhostCache)(); 52 | }); 53 | afterAll(() => { 54 | (0, src_1.disableGhostCache)(); 55 | }); 56 | it("fetches data from the Pokémon API via fetch", () => 57 | __awaiter(void 0, void 0, void 0, function* () { 58 | const response = yield fetch(POKEMON_API); 59 | const data = yield response.json(); 60 | expect(data).toHaveProperty("name", "ditto"); 61 | })); 62 | it("returns cached data on subsequent fetch calls", () => 63 | __awaiter(void 0, void 0, void 0, function* () { 64 | const startTime = Date.now(); 65 | const response1 = yield fetch(POKEMON_API); 66 | const data1 = yield response1.json(); 67 | const networkTime = Date.now() - startTime; 68 | expect(data1).toHaveProperty("name", "ditto"); 69 | const cacheStartTime = Date.now(); 70 | const response2 = yield fetch(POKEMON_API); 71 | const data2 = yield response2.json(); 72 | const cacheTime = Date.now() - cacheStartTime; 73 | expect(data2).toHaveProperty("name", "ditto"); 74 | expect(cacheTime).toBeLessThan(networkTime); 75 | })); 76 | it("expires cache after TTL for fetch", () => 77 | __awaiter(void 0, void 0, void 0, function* () { 78 | const response1 = yield fetch(POKEMON_API); 79 | const data1 = yield response1.json(); 80 | expect(data1).toHaveProperty("name", "ditto"); 81 | // Wait 6 seconds (beyond the 5-second TTL) 82 | yield new Promise((resolve) => setTimeout(resolve, 6000)); 83 | const response2 = yield fetch(POKEMON_API); 84 | const data2 = yield response2.json(); 85 | expect(data2).toHaveProperty("name", "ditto"); 86 | })); 87 | it("allows manual cache set and get", () => 88 | __awaiter(void 0, void 0, void 0, function* () { 89 | yield (0, src_1.setCache)("test-key", { foo: "bar" }); 90 | const cached = yield (0, src_1.getCache)("test-key"); 91 | expect(cached).toEqual({ foo: "bar" }); 92 | })); 93 | it("works with Axios", () => 94 | __awaiter(void 0, void 0, void 0, function* () { 95 | const api = axios_1.default.create(); 96 | (0, src_1.registerAxios)(api); 97 | const response1 = yield api.get(POKEMON_API); 98 | expect(response1.data).toHaveProperty("name", "ditto"); 99 | // Second request should come from cache 100 | const response2 = yield api.get(POKEMON_API); 101 | expect(response2.data).toHaveProperty("name", "ditto"); 102 | })); 103 | }); 104 | -------------------------------------------------------------------------------- /__tests__/ghostCache.test.ts: -------------------------------------------------------------------------------- 1 | import { 2 | enableGhostCache, 3 | clearGhostCache, 4 | disableGhostCache, 5 | getCache, 6 | setCache, 7 | registerAxios, 8 | } from "../src/index.js"; 9 | import axios from "axios"; 10 | 11 | // Increase Jest timeout to allow for slower network requests. 12 | jest.setTimeout(10000); 13 | 14 | describe("GhostCache - API Caching Tests", () => { 15 | const POKEMON_API = "https://pokeapi.co/api/v2/pokemon/ditto"; 16 | 17 | beforeAll(() => { 18 | enableGhostCache({ ttl: 5000, persistent: false }); 19 | }); 20 | 21 | afterEach(() => { 22 | clearGhostCache(); 23 | }); 24 | 25 | afterAll(() => { 26 | disableGhostCache(); 27 | }); 28 | 29 | it("fetches data from the Pokémon API via fetch", async () => { 30 | const res = await fetch(POKEMON_API); 31 | const data = await res.json(); 32 | expect(data).toHaveProperty("name", "ditto"); 33 | }); 34 | 35 | it("returns cached data on subsequent fetch calls", async () => { 36 | const startTime = Date.now(); 37 | const r1 = await fetch(POKEMON_API); 38 | const d1 = await r1.json(); 39 | const networkTime = Date.now() - startTime; 40 | expect(d1.name).toBe("ditto"); 41 | 42 | const cStart = Date.now(); 43 | const r2 = await fetch(POKEMON_API); 44 | const d2 = await r2.json(); 45 | const cacheTime = Date.now() - cStart; 46 | expect(d2.name).toBe("ditto"); 47 | expect(cacheTime).toBeLessThan(networkTime); 48 | }); 49 | 50 | it("expires cache after TTL for fetch", async () => { 51 | const r1 = await fetch(POKEMON_API); 52 | const d1 = await r1.json(); 53 | expect(d1).toHaveProperty("name", "ditto"); 54 | 55 | // Wait 6 seconds to exceed the TTL of 5 seconds. 56 | await new Promise((resolve) => setTimeout(resolve, 6000)); 57 | 58 | const r2 = await fetch(POKEMON_API); 59 | const d2 = await r2.json(); 60 | expect(d2).toHaveProperty("name", "ditto"); 61 | }); 62 | 63 | it("allows manual cache set and get", async () => { 64 | await setCache("test-key", { foo: "bar" }); 65 | const cached = await getCache("test-key"); 66 | expect(cached).toEqual({ foo: "bar" }); 67 | }); 68 | 69 | it("works with Axios", async () => { 70 | const api = axios.create(); 71 | registerAxios(api); 72 | 73 | const resp1 = await api.get(POKEMON_API); 74 | expect(resp1.data).toHaveProperty("name", "ditto"); 75 | 76 | // Second request should come from cache. 77 | const resp2 = await api.get(POKEMON_API); 78 | expect(resp2.data).toHaveProperty("name", "ditto"); 79 | }); 80 | }); 81 | -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- 1 | export interface IStorageAdapter { 2 | getItem(key: string): Promise; 3 | setItem(key: string, value: string): Promise; 4 | removeItem(key: string): Promise; 5 | clear(): Promise; 6 | } 7 | 8 | export interface GhostCacheOptions { 9 | ttl?: number; 10 | persistent?: boolean; 11 | maxEntries?: number; 12 | storage?: "localStorage" | "sessionStorage" | IStorageAdapter; 13 | } 14 | 15 | export declare function enableGhostCache(options?: GhostCacheOptions): void; 16 | export declare function disableGhostCache(): void; 17 | export declare function clearGhostCache(): void; 18 | export declare function setCache(key: string, value: any): Promise; 19 | export declare function getCache(key: string): Promise; 20 | export declare function registerAxios(instance: any): void; 21 | -------------------------------------------------------------------------------- /jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: "ts-jest/presets/default-esm", 3 | testEnvironment: "node", 4 | // Tell ts-jest to treat .ts files as ESM: 5 | extensionsToTreatAsEsm: [".ts"], 6 | transform: { 7 | "^.+\\.tsx?$": ["ts-jest", { useESM: true }], 8 | }, 9 | testMatch: ["**/__tests__/**/*.(test|spec).[jt]s?(x)"], 10 | // Optional: add other Jest config as needed. 11 | }; 12 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ghost-cache", 3 | "version": "1.2.3", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "ghost-cache", 9 | "version": "1.2.3", 10 | "license": "MIT", 11 | "dependencies": { 12 | "axios": "^1.3.0", 13 | "ghost-cache": "^1.2.3", 14 | "prettier": "^3.5.3", 15 | "redis": "^4.0.0" 16 | }, 17 | "devDependencies": { 18 | "@types/jest": "^29.0.0", 19 | "cross-fetch": "^4.1.0", 20 | "jest": "^29.0.0", 21 | "jest-environment-jsdom": "^29.7.0", 22 | "ts-jest": "^29.0.0", 23 | "typescript": "^5.0.0" 24 | }, 25 | "engines": { 26 | "node": ">=14.0.0", 27 | "npm": ">=6.0.0" 28 | } 29 | }, 30 | "node_modules/@ampproject/remapping": { 31 | "version": "2.3.0", 32 | "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", 33 | "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", 34 | "dev": true, 35 | "dependencies": { 36 | "@jridgewell/gen-mapping": "^0.3.5", 37 | "@jridgewell/trace-mapping": "^0.3.24" 38 | }, 39 | "engines": { 40 | "node": ">=6.0.0" 41 | } 42 | }, 43 | "node_modules/@babel/code-frame": { 44 | "version": "7.26.2", 45 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", 46 | "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", 47 | "dev": true, 48 | "dependencies": { 49 | "@babel/helper-validator-identifier": "^7.25.9", 50 | "js-tokens": "^4.0.0", 51 | "picocolors": "^1.0.0" 52 | }, 53 | "engines": { 54 | "node": ">=6.9.0" 55 | } 56 | }, 57 | "node_modules/@babel/compat-data": { 58 | "version": "7.26.8", 59 | "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.8.tgz", 60 | "integrity": "sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==", 61 | "dev": true, 62 | "engines": { 63 | "node": ">=6.9.0" 64 | } 65 | }, 66 | "node_modules/@babel/core": { 67 | "version": "7.26.10", 68 | "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.10.tgz", 69 | "integrity": "sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==", 70 | "dev": true, 71 | "dependencies": { 72 | "@ampproject/remapping": "^2.2.0", 73 | "@babel/code-frame": "^7.26.2", 74 | "@babel/generator": "^7.26.10", 75 | "@babel/helper-compilation-targets": "^7.26.5", 76 | "@babel/helper-module-transforms": "^7.26.0", 77 | "@babel/helpers": "^7.26.10", 78 | "@babel/parser": "^7.26.10", 79 | "@babel/template": "^7.26.9", 80 | "@babel/traverse": "^7.26.10", 81 | "@babel/types": "^7.26.10", 82 | "convert-source-map": "^2.0.0", 83 | "debug": "^4.1.0", 84 | "gensync": "^1.0.0-beta.2", 85 | "json5": "^2.2.3", 86 | "semver": "^6.3.1" 87 | }, 88 | "engines": { 89 | "node": ">=6.9.0" 90 | }, 91 | "funding": { 92 | "type": "opencollective", 93 | "url": "https://opencollective.com/babel" 94 | } 95 | }, 96 | "node_modules/@babel/generator": { 97 | "version": "7.26.10", 98 | "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.10.tgz", 99 | "integrity": "sha512-rRHT8siFIXQrAYOYqZQVsAr8vJ+cBNqcVAY6m5V8/4QqzaPl+zDBe6cLEPRDuNOUf3ww8RfJVlOyQMoSI+5Ang==", 100 | "dev": true, 101 | "dependencies": { 102 | "@babel/parser": "^7.26.10", 103 | "@babel/types": "^7.26.10", 104 | "@jridgewell/gen-mapping": "^0.3.5", 105 | "@jridgewell/trace-mapping": "^0.3.25", 106 | "jsesc": "^3.0.2" 107 | }, 108 | "engines": { 109 | "node": ">=6.9.0" 110 | } 111 | }, 112 | "node_modules/@babel/helper-compilation-targets": { 113 | "version": "7.26.5", 114 | "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.26.5.tgz", 115 | "integrity": "sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA==", 116 | "dev": true, 117 | "dependencies": { 118 | "@babel/compat-data": "^7.26.5", 119 | "@babel/helper-validator-option": "^7.25.9", 120 | "browserslist": "^4.24.0", 121 | "lru-cache": "^5.1.1", 122 | "semver": "^6.3.1" 123 | }, 124 | "engines": { 125 | "node": ">=6.9.0" 126 | } 127 | }, 128 | "node_modules/@babel/helper-module-imports": { 129 | "version": "7.25.9", 130 | "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", 131 | "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", 132 | "dev": true, 133 | "dependencies": { 134 | "@babel/traverse": "^7.25.9", 135 | "@babel/types": "^7.25.9" 136 | }, 137 | "engines": { 138 | "node": ">=6.9.0" 139 | } 140 | }, 141 | "node_modules/@babel/helper-module-transforms": { 142 | "version": "7.26.0", 143 | "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", 144 | "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", 145 | "dev": true, 146 | "dependencies": { 147 | "@babel/helper-module-imports": "^7.25.9", 148 | "@babel/helper-validator-identifier": "^7.25.9", 149 | "@babel/traverse": "^7.25.9" 150 | }, 151 | "engines": { 152 | "node": ">=6.9.0" 153 | }, 154 | "peerDependencies": { 155 | "@babel/core": "^7.0.0" 156 | } 157 | }, 158 | "node_modules/@babel/helper-plugin-utils": { 159 | "version": "7.26.5", 160 | "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.26.5.tgz", 161 | "integrity": "sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==", 162 | "dev": true, 163 | "engines": { 164 | "node": ">=6.9.0" 165 | } 166 | }, 167 | "node_modules/@babel/helper-string-parser": { 168 | "version": "7.25.9", 169 | "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", 170 | "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", 171 | "dev": true, 172 | "engines": { 173 | "node": ">=6.9.0" 174 | } 175 | }, 176 | "node_modules/@babel/helper-validator-identifier": { 177 | "version": "7.25.9", 178 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", 179 | "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", 180 | "dev": true, 181 | "engines": { 182 | "node": ">=6.9.0" 183 | } 184 | }, 185 | "node_modules/@babel/helper-validator-option": { 186 | "version": "7.25.9", 187 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz", 188 | "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==", 189 | "dev": true, 190 | "engines": { 191 | "node": ">=6.9.0" 192 | } 193 | }, 194 | "node_modules/@babel/helpers": { 195 | "version": "7.26.10", 196 | "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.10.tgz", 197 | "integrity": "sha512-UPYc3SauzZ3JGgj87GgZ89JVdC5dj0AoetR5Bw6wj4niittNyFh6+eOGonYvJ1ao6B8lEa3Q3klS7ADZ53bc5g==", 198 | "dev": true, 199 | "dependencies": { 200 | "@babel/template": "^7.26.9", 201 | "@babel/types": "^7.26.10" 202 | }, 203 | "engines": { 204 | "node": ">=6.9.0" 205 | } 206 | }, 207 | "node_modules/@babel/parser": { 208 | "version": "7.26.10", 209 | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.10.tgz", 210 | "integrity": "sha512-6aQR2zGE/QFi8JpDLjUZEPYOs7+mhKXm86VaKFiLP35JQwQb6bwUE+XbvkH0EptsYhbNBSUGaUBLKqxH1xSgsA==", 211 | "dev": true, 212 | "dependencies": { 213 | "@babel/types": "^7.26.10" 214 | }, 215 | "bin": { 216 | "parser": "bin/babel-parser.js" 217 | }, 218 | "engines": { 219 | "node": ">=6.0.0" 220 | } 221 | }, 222 | "node_modules/@babel/plugin-syntax-async-generators": { 223 | "version": "7.8.4", 224 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", 225 | "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", 226 | "dev": true, 227 | "dependencies": { 228 | "@babel/helper-plugin-utils": "^7.8.0" 229 | }, 230 | "peerDependencies": { 231 | "@babel/core": "^7.0.0-0" 232 | } 233 | }, 234 | "node_modules/@babel/plugin-syntax-bigint": { 235 | "version": "7.8.3", 236 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", 237 | "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", 238 | "dev": true, 239 | "dependencies": { 240 | "@babel/helper-plugin-utils": "^7.8.0" 241 | }, 242 | "peerDependencies": { 243 | "@babel/core": "^7.0.0-0" 244 | } 245 | }, 246 | "node_modules/@babel/plugin-syntax-class-properties": { 247 | "version": "7.12.13", 248 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", 249 | "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", 250 | "dev": true, 251 | "dependencies": { 252 | "@babel/helper-plugin-utils": "^7.12.13" 253 | }, 254 | "peerDependencies": { 255 | "@babel/core": "^7.0.0-0" 256 | } 257 | }, 258 | "node_modules/@babel/plugin-syntax-class-static-block": { 259 | "version": "7.14.5", 260 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", 261 | "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", 262 | "dev": true, 263 | "dependencies": { 264 | "@babel/helper-plugin-utils": "^7.14.5" 265 | }, 266 | "engines": { 267 | "node": ">=6.9.0" 268 | }, 269 | "peerDependencies": { 270 | "@babel/core": "^7.0.0-0" 271 | } 272 | }, 273 | "node_modules/@babel/plugin-syntax-import-attributes": { 274 | "version": "7.26.0", 275 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz", 276 | "integrity": "sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==", 277 | "dev": true, 278 | "dependencies": { 279 | "@babel/helper-plugin-utils": "^7.25.9" 280 | }, 281 | "engines": { 282 | "node": ">=6.9.0" 283 | }, 284 | "peerDependencies": { 285 | "@babel/core": "^7.0.0-0" 286 | } 287 | }, 288 | "node_modules/@babel/plugin-syntax-import-meta": { 289 | "version": "7.10.4", 290 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", 291 | "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", 292 | "dev": true, 293 | "dependencies": { 294 | "@babel/helper-plugin-utils": "^7.10.4" 295 | }, 296 | "peerDependencies": { 297 | "@babel/core": "^7.0.0-0" 298 | } 299 | }, 300 | "node_modules/@babel/plugin-syntax-json-strings": { 301 | "version": "7.8.3", 302 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", 303 | "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", 304 | "dev": true, 305 | "dependencies": { 306 | "@babel/helper-plugin-utils": "^7.8.0" 307 | }, 308 | "peerDependencies": { 309 | "@babel/core": "^7.0.0-0" 310 | } 311 | }, 312 | "node_modules/@babel/plugin-syntax-jsx": { 313 | "version": "7.25.9", 314 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.9.tgz", 315 | "integrity": "sha512-ld6oezHQMZsZfp6pWtbjaNDF2tiiCYYDqQszHt5VV437lewP9aSi2Of99CK0D0XB21k7FLgnLcmQKyKzynfeAA==", 316 | "dev": true, 317 | "dependencies": { 318 | "@babel/helper-plugin-utils": "^7.25.9" 319 | }, 320 | "engines": { 321 | "node": ">=6.9.0" 322 | }, 323 | "peerDependencies": { 324 | "@babel/core": "^7.0.0-0" 325 | } 326 | }, 327 | "node_modules/@babel/plugin-syntax-logical-assignment-operators": { 328 | "version": "7.10.4", 329 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", 330 | "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", 331 | "dev": true, 332 | "dependencies": { 333 | "@babel/helper-plugin-utils": "^7.10.4" 334 | }, 335 | "peerDependencies": { 336 | "@babel/core": "^7.0.0-0" 337 | } 338 | }, 339 | "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { 340 | "version": "7.8.3", 341 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", 342 | "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", 343 | "dev": true, 344 | "dependencies": { 345 | "@babel/helper-plugin-utils": "^7.8.0" 346 | }, 347 | "peerDependencies": { 348 | "@babel/core": "^7.0.0-0" 349 | } 350 | }, 351 | "node_modules/@babel/plugin-syntax-numeric-separator": { 352 | "version": "7.10.4", 353 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", 354 | "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", 355 | "dev": true, 356 | "dependencies": { 357 | "@babel/helper-plugin-utils": "^7.10.4" 358 | }, 359 | "peerDependencies": { 360 | "@babel/core": "^7.0.0-0" 361 | } 362 | }, 363 | "node_modules/@babel/plugin-syntax-object-rest-spread": { 364 | "version": "7.8.3", 365 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", 366 | "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", 367 | "dev": true, 368 | "dependencies": { 369 | "@babel/helper-plugin-utils": "^7.8.0" 370 | }, 371 | "peerDependencies": { 372 | "@babel/core": "^7.0.0-0" 373 | } 374 | }, 375 | "node_modules/@babel/plugin-syntax-optional-catch-binding": { 376 | "version": "7.8.3", 377 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", 378 | "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", 379 | "dev": true, 380 | "dependencies": { 381 | "@babel/helper-plugin-utils": "^7.8.0" 382 | }, 383 | "peerDependencies": { 384 | "@babel/core": "^7.0.0-0" 385 | } 386 | }, 387 | "node_modules/@babel/plugin-syntax-optional-chaining": { 388 | "version": "7.8.3", 389 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", 390 | "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", 391 | "dev": true, 392 | "dependencies": { 393 | "@babel/helper-plugin-utils": "^7.8.0" 394 | }, 395 | "peerDependencies": { 396 | "@babel/core": "^7.0.0-0" 397 | } 398 | }, 399 | "node_modules/@babel/plugin-syntax-private-property-in-object": { 400 | "version": "7.14.5", 401 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", 402 | "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", 403 | "dev": true, 404 | "dependencies": { 405 | "@babel/helper-plugin-utils": "^7.14.5" 406 | }, 407 | "engines": { 408 | "node": ">=6.9.0" 409 | }, 410 | "peerDependencies": { 411 | "@babel/core": "^7.0.0-0" 412 | } 413 | }, 414 | "node_modules/@babel/plugin-syntax-top-level-await": { 415 | "version": "7.14.5", 416 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", 417 | "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", 418 | "dev": true, 419 | "dependencies": { 420 | "@babel/helper-plugin-utils": "^7.14.5" 421 | }, 422 | "engines": { 423 | "node": ">=6.9.0" 424 | }, 425 | "peerDependencies": { 426 | "@babel/core": "^7.0.0-0" 427 | } 428 | }, 429 | "node_modules/@babel/plugin-syntax-typescript": { 430 | "version": "7.25.9", 431 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.9.tgz", 432 | "integrity": "sha512-hjMgRy5hb8uJJjUcdWunWVcoi9bGpJp8p5Ol1229PoN6aytsLwNMgmdftO23wnCLMfVmTwZDWMPNq/D1SY60JQ==", 433 | "dev": true, 434 | "dependencies": { 435 | "@babel/helper-plugin-utils": "^7.25.9" 436 | }, 437 | "engines": { 438 | "node": ">=6.9.0" 439 | }, 440 | "peerDependencies": { 441 | "@babel/core": "^7.0.0-0" 442 | } 443 | }, 444 | "node_modules/@babel/template": { 445 | "version": "7.26.9", 446 | "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.26.9.tgz", 447 | "integrity": "sha512-qyRplbeIpNZhmzOysF/wFMuP9sctmh2cFzRAZOn1YapxBsE1i9bJIY586R/WBLfLcmcBlM8ROBiQURnnNy+zfA==", 448 | "dev": true, 449 | "dependencies": { 450 | "@babel/code-frame": "^7.26.2", 451 | "@babel/parser": "^7.26.9", 452 | "@babel/types": "^7.26.9" 453 | }, 454 | "engines": { 455 | "node": ">=6.9.0" 456 | } 457 | }, 458 | "node_modules/@babel/traverse": { 459 | "version": "7.26.10", 460 | "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.10.tgz", 461 | "integrity": "sha512-k8NuDrxr0WrPH5Aupqb2LCVURP/S0vBEn5mK6iH+GIYob66U5EtoZvcdudR2jQ4cmTwhEwW1DLB+Yyas9zjF6A==", 462 | "dev": true, 463 | "dependencies": { 464 | "@babel/code-frame": "^7.26.2", 465 | "@babel/generator": "^7.26.10", 466 | "@babel/parser": "^7.26.10", 467 | "@babel/template": "^7.26.9", 468 | "@babel/types": "^7.26.10", 469 | "debug": "^4.3.1", 470 | "globals": "^11.1.0" 471 | }, 472 | "engines": { 473 | "node": ">=6.9.0" 474 | } 475 | }, 476 | "node_modules/@babel/types": { 477 | "version": "7.26.10", 478 | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.10.tgz", 479 | "integrity": "sha512-emqcG3vHrpxUKTrxcblR36dcrcoRDvKmnL/dCL6ZsHaShW80qxCAcNhzQZrpeM765VzEos+xOi4s+r4IXzTwdQ==", 480 | "dev": true, 481 | "dependencies": { 482 | "@babel/helper-string-parser": "^7.25.9", 483 | "@babel/helper-validator-identifier": "^7.25.9" 484 | }, 485 | "engines": { 486 | "node": ">=6.9.0" 487 | } 488 | }, 489 | "node_modules/@bcoe/v8-coverage": { 490 | "version": "0.2.3", 491 | "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", 492 | "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", 493 | "dev": true 494 | }, 495 | "node_modules/@istanbuljs/load-nyc-config": { 496 | "version": "1.1.0", 497 | "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", 498 | "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", 499 | "dev": true, 500 | "dependencies": { 501 | "camelcase": "^5.3.1", 502 | "find-up": "^4.1.0", 503 | "get-package-type": "^0.1.0", 504 | "js-yaml": "^3.13.1", 505 | "resolve-from": "^5.0.0" 506 | }, 507 | "engines": { 508 | "node": ">=8" 509 | } 510 | }, 511 | "node_modules/@istanbuljs/schema": { 512 | "version": "0.1.3", 513 | "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", 514 | "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", 515 | "dev": true, 516 | "engines": { 517 | "node": ">=8" 518 | } 519 | }, 520 | "node_modules/@jest/console": { 521 | "version": "29.7.0", 522 | "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", 523 | "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", 524 | "dev": true, 525 | "dependencies": { 526 | "@jest/types": "^29.6.3", 527 | "@types/node": "*", 528 | "chalk": "^4.0.0", 529 | "jest-message-util": "^29.7.0", 530 | "jest-util": "^29.7.0", 531 | "slash": "^3.0.0" 532 | }, 533 | "engines": { 534 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 535 | } 536 | }, 537 | "node_modules/@jest/core": { 538 | "version": "29.7.0", 539 | "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", 540 | "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", 541 | "dev": true, 542 | "dependencies": { 543 | "@jest/console": "^29.7.0", 544 | "@jest/reporters": "^29.7.0", 545 | "@jest/test-result": "^29.7.0", 546 | "@jest/transform": "^29.7.0", 547 | "@jest/types": "^29.6.3", 548 | "@types/node": "*", 549 | "ansi-escapes": "^4.2.1", 550 | "chalk": "^4.0.0", 551 | "ci-info": "^3.2.0", 552 | "exit": "^0.1.2", 553 | "graceful-fs": "^4.2.9", 554 | "jest-changed-files": "^29.7.0", 555 | "jest-config": "^29.7.0", 556 | "jest-haste-map": "^29.7.0", 557 | "jest-message-util": "^29.7.0", 558 | "jest-regex-util": "^29.6.3", 559 | "jest-resolve": "^29.7.0", 560 | "jest-resolve-dependencies": "^29.7.0", 561 | "jest-runner": "^29.7.0", 562 | "jest-runtime": "^29.7.0", 563 | "jest-snapshot": "^29.7.0", 564 | "jest-util": "^29.7.0", 565 | "jest-validate": "^29.7.0", 566 | "jest-watcher": "^29.7.0", 567 | "micromatch": "^4.0.4", 568 | "pretty-format": "^29.7.0", 569 | "slash": "^3.0.0", 570 | "strip-ansi": "^6.0.0" 571 | }, 572 | "engines": { 573 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 574 | }, 575 | "peerDependencies": { 576 | "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" 577 | }, 578 | "peerDependenciesMeta": { 579 | "node-notifier": { 580 | "optional": true 581 | } 582 | } 583 | }, 584 | "node_modules/@jest/environment": { 585 | "version": "29.7.0", 586 | "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", 587 | "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", 588 | "dev": true, 589 | "dependencies": { 590 | "@jest/fake-timers": "^29.7.0", 591 | "@jest/types": "^29.6.3", 592 | "@types/node": "*", 593 | "jest-mock": "^29.7.0" 594 | }, 595 | "engines": { 596 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 597 | } 598 | }, 599 | "node_modules/@jest/expect": { 600 | "version": "29.7.0", 601 | "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", 602 | "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", 603 | "dev": true, 604 | "dependencies": { 605 | "expect": "^29.7.0", 606 | "jest-snapshot": "^29.7.0" 607 | }, 608 | "engines": { 609 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 610 | } 611 | }, 612 | "node_modules/@jest/expect-utils": { 613 | "version": "29.7.0", 614 | "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", 615 | "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", 616 | "dev": true, 617 | "dependencies": { 618 | "jest-get-type": "^29.6.3" 619 | }, 620 | "engines": { 621 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 622 | } 623 | }, 624 | "node_modules/@jest/fake-timers": { 625 | "version": "29.7.0", 626 | "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", 627 | "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", 628 | "dev": true, 629 | "dependencies": { 630 | "@jest/types": "^29.6.3", 631 | "@sinonjs/fake-timers": "^10.0.2", 632 | "@types/node": "*", 633 | "jest-message-util": "^29.7.0", 634 | "jest-mock": "^29.7.0", 635 | "jest-util": "^29.7.0" 636 | }, 637 | "engines": { 638 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 639 | } 640 | }, 641 | "node_modules/@jest/globals": { 642 | "version": "29.7.0", 643 | "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", 644 | "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", 645 | "dev": true, 646 | "dependencies": { 647 | "@jest/environment": "^29.7.0", 648 | "@jest/expect": "^29.7.0", 649 | "@jest/types": "^29.6.3", 650 | "jest-mock": "^29.7.0" 651 | }, 652 | "engines": { 653 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 654 | } 655 | }, 656 | "node_modules/@jest/reporters": { 657 | "version": "29.7.0", 658 | "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", 659 | "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", 660 | "dev": true, 661 | "dependencies": { 662 | "@bcoe/v8-coverage": "^0.2.3", 663 | "@jest/console": "^29.7.0", 664 | "@jest/test-result": "^29.7.0", 665 | "@jest/transform": "^29.7.0", 666 | "@jest/types": "^29.6.3", 667 | "@jridgewell/trace-mapping": "^0.3.18", 668 | "@types/node": "*", 669 | "chalk": "^4.0.0", 670 | "collect-v8-coverage": "^1.0.0", 671 | "exit": "^0.1.2", 672 | "glob": "^7.1.3", 673 | "graceful-fs": "^4.2.9", 674 | "istanbul-lib-coverage": "^3.0.0", 675 | "istanbul-lib-instrument": "^6.0.0", 676 | "istanbul-lib-report": "^3.0.0", 677 | "istanbul-lib-source-maps": "^4.0.0", 678 | "istanbul-reports": "^3.1.3", 679 | "jest-message-util": "^29.7.0", 680 | "jest-util": "^29.7.0", 681 | "jest-worker": "^29.7.0", 682 | "slash": "^3.0.0", 683 | "string-length": "^4.0.1", 684 | "strip-ansi": "^6.0.0", 685 | "v8-to-istanbul": "^9.0.1" 686 | }, 687 | "engines": { 688 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 689 | }, 690 | "peerDependencies": { 691 | "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" 692 | }, 693 | "peerDependenciesMeta": { 694 | "node-notifier": { 695 | "optional": true 696 | } 697 | } 698 | }, 699 | "node_modules/@jest/schemas": { 700 | "version": "29.6.3", 701 | "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", 702 | "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", 703 | "dev": true, 704 | "dependencies": { 705 | "@sinclair/typebox": "^0.27.8" 706 | }, 707 | "engines": { 708 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 709 | } 710 | }, 711 | "node_modules/@jest/source-map": { 712 | "version": "29.6.3", 713 | "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", 714 | "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", 715 | "dev": true, 716 | "dependencies": { 717 | "@jridgewell/trace-mapping": "^0.3.18", 718 | "callsites": "^3.0.0", 719 | "graceful-fs": "^4.2.9" 720 | }, 721 | "engines": { 722 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 723 | } 724 | }, 725 | "node_modules/@jest/test-result": { 726 | "version": "29.7.0", 727 | "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", 728 | "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", 729 | "dev": true, 730 | "dependencies": { 731 | "@jest/console": "^29.7.0", 732 | "@jest/types": "^29.6.3", 733 | "@types/istanbul-lib-coverage": "^2.0.0", 734 | "collect-v8-coverage": "^1.0.0" 735 | }, 736 | "engines": { 737 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 738 | } 739 | }, 740 | "node_modules/@jest/test-sequencer": { 741 | "version": "29.7.0", 742 | "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", 743 | "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", 744 | "dev": true, 745 | "dependencies": { 746 | "@jest/test-result": "^29.7.0", 747 | "graceful-fs": "^4.2.9", 748 | "jest-haste-map": "^29.7.0", 749 | "slash": "^3.0.0" 750 | }, 751 | "engines": { 752 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 753 | } 754 | }, 755 | "node_modules/@jest/transform": { 756 | "version": "29.7.0", 757 | "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", 758 | "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", 759 | "dev": true, 760 | "dependencies": { 761 | "@babel/core": "^7.11.6", 762 | "@jest/types": "^29.6.3", 763 | "@jridgewell/trace-mapping": "^0.3.18", 764 | "babel-plugin-istanbul": "^6.1.1", 765 | "chalk": "^4.0.0", 766 | "convert-source-map": "^2.0.0", 767 | "fast-json-stable-stringify": "^2.1.0", 768 | "graceful-fs": "^4.2.9", 769 | "jest-haste-map": "^29.7.0", 770 | "jest-regex-util": "^29.6.3", 771 | "jest-util": "^29.7.0", 772 | "micromatch": "^4.0.4", 773 | "pirates": "^4.0.4", 774 | "slash": "^3.0.0", 775 | "write-file-atomic": "^4.0.2" 776 | }, 777 | "engines": { 778 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 779 | } 780 | }, 781 | "node_modules/@jest/types": { 782 | "version": "29.6.3", 783 | "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", 784 | "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", 785 | "dev": true, 786 | "dependencies": { 787 | "@jest/schemas": "^29.6.3", 788 | "@types/istanbul-lib-coverage": "^2.0.0", 789 | "@types/istanbul-reports": "^3.0.0", 790 | "@types/node": "*", 791 | "@types/yargs": "^17.0.8", 792 | "chalk": "^4.0.0" 793 | }, 794 | "engines": { 795 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 796 | } 797 | }, 798 | "node_modules/@jridgewell/gen-mapping": { 799 | "version": "0.3.8", 800 | "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", 801 | "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", 802 | "dev": true, 803 | "dependencies": { 804 | "@jridgewell/set-array": "^1.2.1", 805 | "@jridgewell/sourcemap-codec": "^1.4.10", 806 | "@jridgewell/trace-mapping": "^0.3.24" 807 | }, 808 | "engines": { 809 | "node": ">=6.0.0" 810 | } 811 | }, 812 | "node_modules/@jridgewell/resolve-uri": { 813 | "version": "3.1.2", 814 | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", 815 | "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", 816 | "dev": true, 817 | "engines": { 818 | "node": ">=6.0.0" 819 | } 820 | }, 821 | "node_modules/@jridgewell/set-array": { 822 | "version": "1.2.1", 823 | "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", 824 | "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", 825 | "dev": true, 826 | "engines": { 827 | "node": ">=6.0.0" 828 | } 829 | }, 830 | "node_modules/@jridgewell/sourcemap-codec": { 831 | "version": "1.5.0", 832 | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", 833 | "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", 834 | "dev": true 835 | }, 836 | "node_modules/@jridgewell/trace-mapping": { 837 | "version": "0.3.25", 838 | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", 839 | "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", 840 | "dev": true, 841 | "dependencies": { 842 | "@jridgewell/resolve-uri": "^3.1.0", 843 | "@jridgewell/sourcemap-codec": "^1.4.14" 844 | } 845 | }, 846 | "node_modules/@redis/bloom": { 847 | "version": "1.2.0", 848 | "resolved": "https://registry.npmjs.org/@redis/bloom/-/bloom-1.2.0.tgz", 849 | "integrity": "sha512-HG2DFjYKbpNmVXsa0keLHp/3leGJz1mjh09f2RLGGLQZzSHpkmZWuwJbAvo3QcRY8p80m5+ZdXZdYOSBLlp7Cg==", 850 | "peerDependencies": { 851 | "@redis/client": "^1.0.0" 852 | } 853 | }, 854 | "node_modules/@redis/client": { 855 | "version": "1.6.0", 856 | "resolved": "https://registry.npmjs.org/@redis/client/-/client-1.6.0.tgz", 857 | "integrity": "sha512-aR0uffYI700OEEH4gYnitAnv3vzVGXCFvYfdpu/CJKvk4pHfLPEy/JSZyrpQ+15WhXe1yJRXLtfQ84s4mEXnPg==", 858 | "dependencies": { 859 | "cluster-key-slot": "1.1.2", 860 | "generic-pool": "3.9.0", 861 | "yallist": "4.0.0" 862 | }, 863 | "engines": { 864 | "node": ">=14" 865 | } 866 | }, 867 | "node_modules/@redis/client/node_modules/yallist": { 868 | "version": "4.0.0", 869 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", 870 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" 871 | }, 872 | "node_modules/@redis/graph": { 873 | "version": "1.1.1", 874 | "resolved": "https://registry.npmjs.org/@redis/graph/-/graph-1.1.1.tgz", 875 | "integrity": "sha512-FEMTcTHZozZciLRl6GiiIB4zGm5z5F3F6a6FZCyrfxdKOhFlGkiAqlexWMBzCi4DcRoyiOsuLfW+cjlGWyExOw==", 876 | "peerDependencies": { 877 | "@redis/client": "^1.0.0" 878 | } 879 | }, 880 | "node_modules/@redis/json": { 881 | "version": "1.0.7", 882 | "resolved": "https://registry.npmjs.org/@redis/json/-/json-1.0.7.tgz", 883 | "integrity": "sha512-6UyXfjVaTBTJtKNG4/9Z8PSpKE6XgSyEb8iwaqDcy+uKrd/DGYHTWkUdnQDyzm727V7p21WUMhsqz5oy65kPcQ==", 884 | "peerDependencies": { 885 | "@redis/client": "^1.0.0" 886 | } 887 | }, 888 | "node_modules/@redis/search": { 889 | "version": "1.2.0", 890 | "resolved": "https://registry.npmjs.org/@redis/search/-/search-1.2.0.tgz", 891 | "integrity": "sha512-tYoDBbtqOVigEDMAcTGsRlMycIIjwMCgD8eR2t0NANeQmgK/lvxNAvYyb6bZDD4frHRhIHkJu2TBRvB0ERkOmw==", 892 | "peerDependencies": { 893 | "@redis/client": "^1.0.0" 894 | } 895 | }, 896 | "node_modules/@redis/time-series": { 897 | "version": "1.1.0", 898 | "resolved": "https://registry.npmjs.org/@redis/time-series/-/time-series-1.1.0.tgz", 899 | "integrity": "sha512-c1Q99M5ljsIuc4YdaCwfUEXsofakb9c8+Zse2qxTadu8TalLXuAESzLvFAvNVbkmSlvlzIQOLpBCmWI9wTOt+g==", 900 | "peerDependencies": { 901 | "@redis/client": "^1.0.0" 902 | } 903 | }, 904 | "node_modules/@sinclair/typebox": { 905 | "version": "0.27.8", 906 | "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", 907 | "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", 908 | "dev": true 909 | }, 910 | "node_modules/@sinonjs/commons": { 911 | "version": "3.0.1", 912 | "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", 913 | "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", 914 | "dev": true, 915 | "dependencies": { 916 | "type-detect": "4.0.8" 917 | } 918 | }, 919 | "node_modules/@sinonjs/fake-timers": { 920 | "version": "10.3.0", 921 | "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", 922 | "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", 923 | "dev": true, 924 | "dependencies": { 925 | "@sinonjs/commons": "^3.0.0" 926 | } 927 | }, 928 | "node_modules/@tootallnate/once": { 929 | "version": "2.0.0", 930 | "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", 931 | "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", 932 | "dev": true, 933 | "engines": { 934 | "node": ">= 10" 935 | } 936 | }, 937 | "node_modules/@types/babel__core": { 938 | "version": "7.20.5", 939 | "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", 940 | "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", 941 | "dev": true, 942 | "dependencies": { 943 | "@babel/parser": "^7.20.7", 944 | "@babel/types": "^7.20.7", 945 | "@types/babel__generator": "*", 946 | "@types/babel__template": "*", 947 | "@types/babel__traverse": "*" 948 | } 949 | }, 950 | "node_modules/@types/babel__generator": { 951 | "version": "7.6.8", 952 | "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", 953 | "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", 954 | "dev": true, 955 | "dependencies": { 956 | "@babel/types": "^7.0.0" 957 | } 958 | }, 959 | "node_modules/@types/babel__template": { 960 | "version": "7.4.4", 961 | "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", 962 | "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", 963 | "dev": true, 964 | "dependencies": { 965 | "@babel/parser": "^7.1.0", 966 | "@babel/types": "^7.0.0" 967 | } 968 | }, 969 | "node_modules/@types/babel__traverse": { 970 | "version": "7.20.6", 971 | "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz", 972 | "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==", 973 | "dev": true, 974 | "dependencies": { 975 | "@babel/types": "^7.20.7" 976 | } 977 | }, 978 | "node_modules/@types/graceful-fs": { 979 | "version": "4.1.9", 980 | "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", 981 | "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", 982 | "dev": true, 983 | "dependencies": { 984 | "@types/node": "*" 985 | } 986 | }, 987 | "node_modules/@types/istanbul-lib-coverage": { 988 | "version": "2.0.6", 989 | "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", 990 | "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", 991 | "dev": true 992 | }, 993 | "node_modules/@types/istanbul-lib-report": { 994 | "version": "3.0.3", 995 | "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", 996 | "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", 997 | "dev": true, 998 | "dependencies": { 999 | "@types/istanbul-lib-coverage": "*" 1000 | } 1001 | }, 1002 | "node_modules/@types/istanbul-reports": { 1003 | "version": "3.0.4", 1004 | "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", 1005 | "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", 1006 | "dev": true, 1007 | "dependencies": { 1008 | "@types/istanbul-lib-report": "*" 1009 | } 1010 | }, 1011 | "node_modules/@types/jest": { 1012 | "version": "29.5.14", 1013 | "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz", 1014 | "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==", 1015 | "dev": true, 1016 | "dependencies": { 1017 | "expect": "^29.0.0", 1018 | "pretty-format": "^29.0.0" 1019 | } 1020 | }, 1021 | "node_modules/@types/jsdom": { 1022 | "version": "20.0.1", 1023 | "resolved": "https://registry.npmjs.org/@types/jsdom/-/jsdom-20.0.1.tgz", 1024 | "integrity": "sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==", 1025 | "dev": true, 1026 | "dependencies": { 1027 | "@types/node": "*", 1028 | "@types/tough-cookie": "*", 1029 | "parse5": "^7.0.0" 1030 | } 1031 | }, 1032 | "node_modules/@types/node": { 1033 | "version": "22.13.10", 1034 | "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.10.tgz", 1035 | "integrity": "sha512-I6LPUvlRH+O6VRUqYOcMudhaIdUVWfsjnZavnsraHvpBwaEyMN29ry+0UVJhImYL16xsscu0aske3yA+uPOWfw==", 1036 | "dev": true, 1037 | "dependencies": { 1038 | "undici-types": "~6.20.0" 1039 | } 1040 | }, 1041 | "node_modules/@types/stack-utils": { 1042 | "version": "2.0.3", 1043 | "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", 1044 | "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", 1045 | "dev": true 1046 | }, 1047 | "node_modules/@types/tough-cookie": { 1048 | "version": "4.0.5", 1049 | "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", 1050 | "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", 1051 | "dev": true 1052 | }, 1053 | "node_modules/@types/yargs": { 1054 | "version": "17.0.33", 1055 | "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz", 1056 | "integrity": "sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==", 1057 | "dev": true, 1058 | "dependencies": { 1059 | "@types/yargs-parser": "*" 1060 | } 1061 | }, 1062 | "node_modules/@types/yargs-parser": { 1063 | "version": "21.0.3", 1064 | "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", 1065 | "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", 1066 | "dev": true 1067 | }, 1068 | "node_modules/abab": { 1069 | "version": "2.0.6", 1070 | "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", 1071 | "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", 1072 | "deprecated": "Use your platform's native atob() and btoa() methods instead", 1073 | "dev": true 1074 | }, 1075 | "node_modules/acorn": { 1076 | "version": "8.14.1", 1077 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz", 1078 | "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==", 1079 | "dev": true, 1080 | "bin": { 1081 | "acorn": "bin/acorn" 1082 | }, 1083 | "engines": { 1084 | "node": ">=0.4.0" 1085 | } 1086 | }, 1087 | "node_modules/acorn-globals": { 1088 | "version": "7.0.1", 1089 | "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-7.0.1.tgz", 1090 | "integrity": "sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==", 1091 | "dev": true, 1092 | "dependencies": { 1093 | "acorn": "^8.1.0", 1094 | "acorn-walk": "^8.0.2" 1095 | } 1096 | }, 1097 | "node_modules/acorn-walk": { 1098 | "version": "8.3.4", 1099 | "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", 1100 | "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", 1101 | "dev": true, 1102 | "dependencies": { 1103 | "acorn": "^8.11.0" 1104 | }, 1105 | "engines": { 1106 | "node": ">=0.4.0" 1107 | } 1108 | }, 1109 | "node_modules/agent-base": { 1110 | "version": "6.0.2", 1111 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", 1112 | "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", 1113 | "dev": true, 1114 | "dependencies": { 1115 | "debug": "4" 1116 | }, 1117 | "engines": { 1118 | "node": ">= 6.0.0" 1119 | } 1120 | }, 1121 | "node_modules/ansi-escapes": { 1122 | "version": "4.3.2", 1123 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", 1124 | "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", 1125 | "dev": true, 1126 | "dependencies": { 1127 | "type-fest": "^0.21.3" 1128 | }, 1129 | "engines": { 1130 | "node": ">=8" 1131 | }, 1132 | "funding": { 1133 | "url": "https://github.com/sponsors/sindresorhus" 1134 | } 1135 | }, 1136 | "node_modules/ansi-regex": { 1137 | "version": "5.0.1", 1138 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 1139 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 1140 | "dev": true, 1141 | "engines": { 1142 | "node": ">=8" 1143 | } 1144 | }, 1145 | "node_modules/ansi-styles": { 1146 | "version": "4.3.0", 1147 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 1148 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 1149 | "dev": true, 1150 | "dependencies": { 1151 | "color-convert": "^2.0.1" 1152 | }, 1153 | "engines": { 1154 | "node": ">=8" 1155 | }, 1156 | "funding": { 1157 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 1158 | } 1159 | }, 1160 | "node_modules/anymatch": { 1161 | "version": "3.1.3", 1162 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 1163 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 1164 | "dev": true, 1165 | "dependencies": { 1166 | "normalize-path": "^3.0.0", 1167 | "picomatch": "^2.0.4" 1168 | }, 1169 | "engines": { 1170 | "node": ">= 8" 1171 | } 1172 | }, 1173 | "node_modules/argparse": { 1174 | "version": "1.0.10", 1175 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 1176 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 1177 | "dev": true, 1178 | "dependencies": { 1179 | "sprintf-js": "~1.0.2" 1180 | } 1181 | }, 1182 | "node_modules/async": { 1183 | "version": "3.2.6", 1184 | "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", 1185 | "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", 1186 | "dev": true 1187 | }, 1188 | "node_modules/asynckit": { 1189 | "version": "0.4.0", 1190 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 1191 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" 1192 | }, 1193 | "node_modules/axios": { 1194 | "version": "1.8.3", 1195 | "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.3.tgz", 1196 | "integrity": "sha512-iP4DebzoNlP/YN2dpwCgb8zoCmhtkajzS48JvwmkSkXvPI3DHc7m+XYL5tGnSlJtR6nImXZmdCuN5aP8dh1d8A==", 1197 | "dependencies": { 1198 | "follow-redirects": "^1.15.6", 1199 | "form-data": "^4.0.0", 1200 | "proxy-from-env": "^1.1.0" 1201 | } 1202 | }, 1203 | "node_modules/babel-jest": { 1204 | "version": "29.7.0", 1205 | "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", 1206 | "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", 1207 | "dev": true, 1208 | "dependencies": { 1209 | "@jest/transform": "^29.7.0", 1210 | "@types/babel__core": "^7.1.14", 1211 | "babel-plugin-istanbul": "^6.1.1", 1212 | "babel-preset-jest": "^29.6.3", 1213 | "chalk": "^4.0.0", 1214 | "graceful-fs": "^4.2.9", 1215 | "slash": "^3.0.0" 1216 | }, 1217 | "engines": { 1218 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 1219 | }, 1220 | "peerDependencies": { 1221 | "@babel/core": "^7.8.0" 1222 | } 1223 | }, 1224 | "node_modules/babel-plugin-istanbul": { 1225 | "version": "6.1.1", 1226 | "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", 1227 | "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", 1228 | "dev": true, 1229 | "dependencies": { 1230 | "@babel/helper-plugin-utils": "^7.0.0", 1231 | "@istanbuljs/load-nyc-config": "^1.0.0", 1232 | "@istanbuljs/schema": "^0.1.2", 1233 | "istanbul-lib-instrument": "^5.0.4", 1234 | "test-exclude": "^6.0.0" 1235 | }, 1236 | "engines": { 1237 | "node": ">=8" 1238 | } 1239 | }, 1240 | "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": { 1241 | "version": "5.2.1", 1242 | "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", 1243 | "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", 1244 | "dev": true, 1245 | "dependencies": { 1246 | "@babel/core": "^7.12.3", 1247 | "@babel/parser": "^7.14.7", 1248 | "@istanbuljs/schema": "^0.1.2", 1249 | "istanbul-lib-coverage": "^3.2.0", 1250 | "semver": "^6.3.0" 1251 | }, 1252 | "engines": { 1253 | "node": ">=8" 1254 | } 1255 | }, 1256 | "node_modules/babel-plugin-jest-hoist": { 1257 | "version": "29.6.3", 1258 | "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", 1259 | "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", 1260 | "dev": true, 1261 | "dependencies": { 1262 | "@babel/template": "^7.3.3", 1263 | "@babel/types": "^7.3.3", 1264 | "@types/babel__core": "^7.1.14", 1265 | "@types/babel__traverse": "^7.0.6" 1266 | }, 1267 | "engines": { 1268 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 1269 | } 1270 | }, 1271 | "node_modules/babel-preset-current-node-syntax": { 1272 | "version": "1.1.0", 1273 | "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz", 1274 | "integrity": "sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==", 1275 | "dev": true, 1276 | "dependencies": { 1277 | "@babel/plugin-syntax-async-generators": "^7.8.4", 1278 | "@babel/plugin-syntax-bigint": "^7.8.3", 1279 | "@babel/plugin-syntax-class-properties": "^7.12.13", 1280 | "@babel/plugin-syntax-class-static-block": "^7.14.5", 1281 | "@babel/plugin-syntax-import-attributes": "^7.24.7", 1282 | "@babel/plugin-syntax-import-meta": "^7.10.4", 1283 | "@babel/plugin-syntax-json-strings": "^7.8.3", 1284 | "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", 1285 | "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", 1286 | "@babel/plugin-syntax-numeric-separator": "^7.10.4", 1287 | "@babel/plugin-syntax-object-rest-spread": "^7.8.3", 1288 | "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", 1289 | "@babel/plugin-syntax-optional-chaining": "^7.8.3", 1290 | "@babel/plugin-syntax-private-property-in-object": "^7.14.5", 1291 | "@babel/plugin-syntax-top-level-await": "^7.14.5" 1292 | }, 1293 | "peerDependencies": { 1294 | "@babel/core": "^7.0.0" 1295 | } 1296 | }, 1297 | "node_modules/babel-preset-jest": { 1298 | "version": "29.6.3", 1299 | "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", 1300 | "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", 1301 | "dev": true, 1302 | "dependencies": { 1303 | "babel-plugin-jest-hoist": "^29.6.3", 1304 | "babel-preset-current-node-syntax": "^1.0.0" 1305 | }, 1306 | "engines": { 1307 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 1308 | }, 1309 | "peerDependencies": { 1310 | "@babel/core": "^7.0.0" 1311 | } 1312 | }, 1313 | "node_modules/balanced-match": { 1314 | "version": "1.0.2", 1315 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 1316 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 1317 | "dev": true 1318 | }, 1319 | "node_modules/brace-expansion": { 1320 | "version": "1.1.11", 1321 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1322 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1323 | "dev": true, 1324 | "dependencies": { 1325 | "balanced-match": "^1.0.0", 1326 | "concat-map": "0.0.1" 1327 | } 1328 | }, 1329 | "node_modules/braces": { 1330 | "version": "3.0.3", 1331 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", 1332 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", 1333 | "dev": true, 1334 | "dependencies": { 1335 | "fill-range": "^7.1.1" 1336 | }, 1337 | "engines": { 1338 | "node": ">=8" 1339 | } 1340 | }, 1341 | "node_modules/browserslist": { 1342 | "version": "4.24.4", 1343 | "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.4.tgz", 1344 | "integrity": "sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==", 1345 | "dev": true, 1346 | "funding": [ 1347 | { 1348 | "type": "opencollective", 1349 | "url": "https://opencollective.com/browserslist" 1350 | }, 1351 | { 1352 | "type": "tidelift", 1353 | "url": "https://tidelift.com/funding/github/npm/browserslist" 1354 | }, 1355 | { 1356 | "type": "github", 1357 | "url": "https://github.com/sponsors/ai" 1358 | } 1359 | ], 1360 | "dependencies": { 1361 | "caniuse-lite": "^1.0.30001688", 1362 | "electron-to-chromium": "^1.5.73", 1363 | "node-releases": "^2.0.19", 1364 | "update-browserslist-db": "^1.1.1" 1365 | }, 1366 | "bin": { 1367 | "browserslist": "cli.js" 1368 | }, 1369 | "engines": { 1370 | "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" 1371 | } 1372 | }, 1373 | "node_modules/bs-logger": { 1374 | "version": "0.2.6", 1375 | "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", 1376 | "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", 1377 | "dev": true, 1378 | "dependencies": { 1379 | "fast-json-stable-stringify": "2.x" 1380 | }, 1381 | "engines": { 1382 | "node": ">= 6" 1383 | } 1384 | }, 1385 | "node_modules/bser": { 1386 | "version": "2.1.1", 1387 | "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", 1388 | "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", 1389 | "dev": true, 1390 | "dependencies": { 1391 | "node-int64": "^0.4.0" 1392 | } 1393 | }, 1394 | "node_modules/buffer-from": { 1395 | "version": "1.1.2", 1396 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", 1397 | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", 1398 | "dev": true 1399 | }, 1400 | "node_modules/call-bind-apply-helpers": { 1401 | "version": "1.0.2", 1402 | "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", 1403 | "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", 1404 | "dependencies": { 1405 | "es-errors": "^1.3.0", 1406 | "function-bind": "^1.1.2" 1407 | }, 1408 | "engines": { 1409 | "node": ">= 0.4" 1410 | } 1411 | }, 1412 | "node_modules/callsites": { 1413 | "version": "3.1.0", 1414 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 1415 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 1416 | "dev": true, 1417 | "engines": { 1418 | "node": ">=6" 1419 | } 1420 | }, 1421 | "node_modules/camelcase": { 1422 | "version": "5.3.1", 1423 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", 1424 | "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", 1425 | "dev": true, 1426 | "engines": { 1427 | "node": ">=6" 1428 | } 1429 | }, 1430 | "node_modules/caniuse-lite": { 1431 | "version": "1.0.30001705", 1432 | "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001705.tgz", 1433 | "integrity": "sha512-S0uyMMiYvA7CxNgomYBwwwPUnWzFD83f3B1ce5jHUfHTH//QL6hHsreI8RVC5606R4ssqravelYO5TU6t8sEyg==", 1434 | "dev": true, 1435 | "funding": [ 1436 | { 1437 | "type": "opencollective", 1438 | "url": "https://opencollective.com/browserslist" 1439 | }, 1440 | { 1441 | "type": "tidelift", 1442 | "url": "https://tidelift.com/funding/github/npm/caniuse-lite" 1443 | }, 1444 | { 1445 | "type": "github", 1446 | "url": "https://github.com/sponsors/ai" 1447 | } 1448 | ] 1449 | }, 1450 | "node_modules/chalk": { 1451 | "version": "4.1.2", 1452 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 1453 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 1454 | "dev": true, 1455 | "dependencies": { 1456 | "ansi-styles": "^4.1.0", 1457 | "supports-color": "^7.1.0" 1458 | }, 1459 | "engines": { 1460 | "node": ">=10" 1461 | }, 1462 | "funding": { 1463 | "url": "https://github.com/chalk/chalk?sponsor=1" 1464 | } 1465 | }, 1466 | "node_modules/char-regex": { 1467 | "version": "1.0.2", 1468 | "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", 1469 | "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", 1470 | "dev": true, 1471 | "engines": { 1472 | "node": ">=10" 1473 | } 1474 | }, 1475 | "node_modules/ci-info": { 1476 | "version": "3.9.0", 1477 | "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", 1478 | "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", 1479 | "dev": true, 1480 | "funding": [ 1481 | { 1482 | "type": "github", 1483 | "url": "https://github.com/sponsors/sibiraj-s" 1484 | } 1485 | ], 1486 | "engines": { 1487 | "node": ">=8" 1488 | } 1489 | }, 1490 | "node_modules/cjs-module-lexer": { 1491 | "version": "1.4.3", 1492 | "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz", 1493 | "integrity": "sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q==", 1494 | "dev": true 1495 | }, 1496 | "node_modules/cliui": { 1497 | "version": "8.0.1", 1498 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", 1499 | "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", 1500 | "dev": true, 1501 | "dependencies": { 1502 | "string-width": "^4.2.0", 1503 | "strip-ansi": "^6.0.1", 1504 | "wrap-ansi": "^7.0.0" 1505 | }, 1506 | "engines": { 1507 | "node": ">=12" 1508 | } 1509 | }, 1510 | "node_modules/cluster-key-slot": { 1511 | "version": "1.1.2", 1512 | "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", 1513 | "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", 1514 | "engines": { 1515 | "node": ">=0.10.0" 1516 | } 1517 | }, 1518 | "node_modules/co": { 1519 | "version": "4.6.0", 1520 | "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", 1521 | "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", 1522 | "dev": true, 1523 | "engines": { 1524 | "iojs": ">= 1.0.0", 1525 | "node": ">= 0.12.0" 1526 | } 1527 | }, 1528 | "node_modules/collect-v8-coverage": { 1529 | "version": "1.0.2", 1530 | "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", 1531 | "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==", 1532 | "dev": true 1533 | }, 1534 | "node_modules/color-convert": { 1535 | "version": "2.0.1", 1536 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 1537 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 1538 | "dev": true, 1539 | "dependencies": { 1540 | "color-name": "~1.1.4" 1541 | }, 1542 | "engines": { 1543 | "node": ">=7.0.0" 1544 | } 1545 | }, 1546 | "node_modules/color-name": { 1547 | "version": "1.1.4", 1548 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 1549 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 1550 | "dev": true 1551 | }, 1552 | "node_modules/combined-stream": { 1553 | "version": "1.0.8", 1554 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 1555 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 1556 | "dependencies": { 1557 | "delayed-stream": "~1.0.0" 1558 | }, 1559 | "engines": { 1560 | "node": ">= 0.8" 1561 | } 1562 | }, 1563 | "node_modules/concat-map": { 1564 | "version": "0.0.1", 1565 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1566 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 1567 | "dev": true 1568 | }, 1569 | "node_modules/convert-source-map": { 1570 | "version": "2.0.0", 1571 | "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", 1572 | "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", 1573 | "dev": true 1574 | }, 1575 | "node_modules/create-jest": { 1576 | "version": "29.7.0", 1577 | "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", 1578 | "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", 1579 | "dev": true, 1580 | "dependencies": { 1581 | "@jest/types": "^29.6.3", 1582 | "chalk": "^4.0.0", 1583 | "exit": "^0.1.2", 1584 | "graceful-fs": "^4.2.9", 1585 | "jest-config": "^29.7.0", 1586 | "jest-util": "^29.7.0", 1587 | "prompts": "^2.0.1" 1588 | }, 1589 | "bin": { 1590 | "create-jest": "bin/create-jest.js" 1591 | }, 1592 | "engines": { 1593 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 1594 | } 1595 | }, 1596 | "node_modules/cross-fetch": { 1597 | "version": "4.1.0", 1598 | "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.1.0.tgz", 1599 | "integrity": "sha512-uKm5PU+MHTootlWEY+mZ4vvXoCn4fLQxT9dSc1sXVMSFkINTJVN8cAQROpwcKm8bJ/c7rgZVIBWzH5T78sNZZw==", 1600 | "dev": true, 1601 | "dependencies": { 1602 | "node-fetch": "^2.7.0" 1603 | } 1604 | }, 1605 | "node_modules/cross-spawn": { 1606 | "version": "7.0.6", 1607 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", 1608 | "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", 1609 | "dev": true, 1610 | "dependencies": { 1611 | "path-key": "^3.1.0", 1612 | "shebang-command": "^2.0.0", 1613 | "which": "^2.0.1" 1614 | }, 1615 | "engines": { 1616 | "node": ">= 8" 1617 | } 1618 | }, 1619 | "node_modules/cssom": { 1620 | "version": "0.5.0", 1621 | "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz", 1622 | "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==", 1623 | "dev": true 1624 | }, 1625 | "node_modules/cssstyle": { 1626 | "version": "2.3.0", 1627 | "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", 1628 | "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", 1629 | "dev": true, 1630 | "dependencies": { 1631 | "cssom": "~0.3.6" 1632 | }, 1633 | "engines": { 1634 | "node": ">=8" 1635 | } 1636 | }, 1637 | "node_modules/cssstyle/node_modules/cssom": { 1638 | "version": "0.3.8", 1639 | "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", 1640 | "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", 1641 | "dev": true 1642 | }, 1643 | "node_modules/data-urls": { 1644 | "version": "3.0.2", 1645 | "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-3.0.2.tgz", 1646 | "integrity": "sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==", 1647 | "dev": true, 1648 | "dependencies": { 1649 | "abab": "^2.0.6", 1650 | "whatwg-mimetype": "^3.0.0", 1651 | "whatwg-url": "^11.0.0" 1652 | }, 1653 | "engines": { 1654 | "node": ">=12" 1655 | } 1656 | }, 1657 | "node_modules/debug": { 1658 | "version": "4.4.0", 1659 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", 1660 | "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", 1661 | "dev": true, 1662 | "dependencies": { 1663 | "ms": "^2.1.3" 1664 | }, 1665 | "engines": { 1666 | "node": ">=6.0" 1667 | }, 1668 | "peerDependenciesMeta": { 1669 | "supports-color": { 1670 | "optional": true 1671 | } 1672 | } 1673 | }, 1674 | "node_modules/decimal.js": { 1675 | "version": "10.5.0", 1676 | "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.5.0.tgz", 1677 | "integrity": "sha512-8vDa8Qxvr/+d94hSh5P3IJwI5t8/c0KsMp+g8bNw9cY2icONa5aPfvKeieW1WlG0WQYwwhJ7mjui2xtiePQSXw==", 1678 | "dev": true 1679 | }, 1680 | "node_modules/dedent": { 1681 | "version": "1.5.3", 1682 | "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", 1683 | "integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==", 1684 | "dev": true, 1685 | "peerDependencies": { 1686 | "babel-plugin-macros": "^3.1.0" 1687 | }, 1688 | "peerDependenciesMeta": { 1689 | "babel-plugin-macros": { 1690 | "optional": true 1691 | } 1692 | } 1693 | }, 1694 | "node_modules/deepmerge": { 1695 | "version": "4.3.1", 1696 | "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", 1697 | "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", 1698 | "dev": true, 1699 | "engines": { 1700 | "node": ">=0.10.0" 1701 | } 1702 | }, 1703 | "node_modules/delayed-stream": { 1704 | "version": "1.0.0", 1705 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 1706 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", 1707 | "engines": { 1708 | "node": ">=0.4.0" 1709 | } 1710 | }, 1711 | "node_modules/detect-newline": { 1712 | "version": "3.1.0", 1713 | "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", 1714 | "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", 1715 | "dev": true, 1716 | "engines": { 1717 | "node": ">=8" 1718 | } 1719 | }, 1720 | "node_modules/diff-sequences": { 1721 | "version": "29.6.3", 1722 | "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", 1723 | "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", 1724 | "dev": true, 1725 | "engines": { 1726 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 1727 | } 1728 | }, 1729 | "node_modules/domexception": { 1730 | "version": "4.0.0", 1731 | "resolved": "https://registry.npmjs.org/domexception/-/domexception-4.0.0.tgz", 1732 | "integrity": "sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==", 1733 | "deprecated": "Use your platform's native DOMException instead", 1734 | "dev": true, 1735 | "dependencies": { 1736 | "webidl-conversions": "^7.0.0" 1737 | }, 1738 | "engines": { 1739 | "node": ">=12" 1740 | } 1741 | }, 1742 | "node_modules/dunder-proto": { 1743 | "version": "1.0.1", 1744 | "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", 1745 | "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", 1746 | "dependencies": { 1747 | "call-bind-apply-helpers": "^1.0.1", 1748 | "es-errors": "^1.3.0", 1749 | "gopd": "^1.2.0" 1750 | }, 1751 | "engines": { 1752 | "node": ">= 0.4" 1753 | } 1754 | }, 1755 | "node_modules/ejs": { 1756 | "version": "3.1.10", 1757 | "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", 1758 | "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==", 1759 | "dev": true, 1760 | "dependencies": { 1761 | "jake": "^10.8.5" 1762 | }, 1763 | "bin": { 1764 | "ejs": "bin/cli.js" 1765 | }, 1766 | "engines": { 1767 | "node": ">=0.10.0" 1768 | } 1769 | }, 1770 | "node_modules/electron-to-chromium": { 1771 | "version": "1.5.119", 1772 | "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.119.tgz", 1773 | "integrity": "sha512-Ku4NMzUjz3e3Vweh7PhApPrZSS4fyiCIbcIrG9eKrriYVLmbMepETR/v6SU7xPm98QTqMSYiCwfO89QNjXLkbQ==", 1774 | "dev": true 1775 | }, 1776 | "node_modules/emittery": { 1777 | "version": "0.13.1", 1778 | "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", 1779 | "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", 1780 | "dev": true, 1781 | "engines": { 1782 | "node": ">=12" 1783 | }, 1784 | "funding": { 1785 | "url": "https://github.com/sindresorhus/emittery?sponsor=1" 1786 | } 1787 | }, 1788 | "node_modules/emoji-regex": { 1789 | "version": "8.0.0", 1790 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 1791 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 1792 | "dev": true 1793 | }, 1794 | "node_modules/entities": { 1795 | "version": "4.5.0", 1796 | "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", 1797 | "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", 1798 | "dev": true, 1799 | "engines": { 1800 | "node": ">=0.12" 1801 | }, 1802 | "funding": { 1803 | "url": "https://github.com/fb55/entities?sponsor=1" 1804 | } 1805 | }, 1806 | "node_modules/error-ex": { 1807 | "version": "1.3.2", 1808 | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", 1809 | "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", 1810 | "dev": true, 1811 | "dependencies": { 1812 | "is-arrayish": "^0.2.1" 1813 | } 1814 | }, 1815 | "node_modules/es-define-property": { 1816 | "version": "1.0.1", 1817 | "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", 1818 | "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", 1819 | "engines": { 1820 | "node": ">= 0.4" 1821 | } 1822 | }, 1823 | "node_modules/es-errors": { 1824 | "version": "1.3.0", 1825 | "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", 1826 | "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", 1827 | "engines": { 1828 | "node": ">= 0.4" 1829 | } 1830 | }, 1831 | "node_modules/es-object-atoms": { 1832 | "version": "1.1.1", 1833 | "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", 1834 | "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", 1835 | "dependencies": { 1836 | "es-errors": "^1.3.0" 1837 | }, 1838 | "engines": { 1839 | "node": ">= 0.4" 1840 | } 1841 | }, 1842 | "node_modules/es-set-tostringtag": { 1843 | "version": "2.1.0", 1844 | "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", 1845 | "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", 1846 | "dependencies": { 1847 | "es-errors": "^1.3.0", 1848 | "get-intrinsic": "^1.2.6", 1849 | "has-tostringtag": "^1.0.2", 1850 | "hasown": "^2.0.2" 1851 | }, 1852 | "engines": { 1853 | "node": ">= 0.4" 1854 | } 1855 | }, 1856 | "node_modules/escalade": { 1857 | "version": "3.2.0", 1858 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", 1859 | "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", 1860 | "dev": true, 1861 | "engines": { 1862 | "node": ">=6" 1863 | } 1864 | }, 1865 | "node_modules/escape-string-regexp": { 1866 | "version": "2.0.0", 1867 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", 1868 | "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", 1869 | "dev": true, 1870 | "engines": { 1871 | "node": ">=8" 1872 | } 1873 | }, 1874 | "node_modules/escodegen": { 1875 | "version": "2.1.0", 1876 | "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", 1877 | "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", 1878 | "dev": true, 1879 | "dependencies": { 1880 | "esprima": "^4.0.1", 1881 | "estraverse": "^5.2.0", 1882 | "esutils": "^2.0.2" 1883 | }, 1884 | "bin": { 1885 | "escodegen": "bin/escodegen.js", 1886 | "esgenerate": "bin/esgenerate.js" 1887 | }, 1888 | "engines": { 1889 | "node": ">=6.0" 1890 | }, 1891 | "optionalDependencies": { 1892 | "source-map": "~0.6.1" 1893 | } 1894 | }, 1895 | "node_modules/esprima": { 1896 | "version": "4.0.1", 1897 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", 1898 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", 1899 | "dev": true, 1900 | "bin": { 1901 | "esparse": "bin/esparse.js", 1902 | "esvalidate": "bin/esvalidate.js" 1903 | }, 1904 | "engines": { 1905 | "node": ">=4" 1906 | } 1907 | }, 1908 | "node_modules/estraverse": { 1909 | "version": "5.3.0", 1910 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 1911 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 1912 | "dev": true, 1913 | "engines": { 1914 | "node": ">=4.0" 1915 | } 1916 | }, 1917 | "node_modules/esutils": { 1918 | "version": "2.0.3", 1919 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 1920 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 1921 | "dev": true, 1922 | "engines": { 1923 | "node": ">=0.10.0" 1924 | } 1925 | }, 1926 | "node_modules/execa": { 1927 | "version": "5.1.1", 1928 | "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", 1929 | "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", 1930 | "dev": true, 1931 | "dependencies": { 1932 | "cross-spawn": "^7.0.3", 1933 | "get-stream": "^6.0.0", 1934 | "human-signals": "^2.1.0", 1935 | "is-stream": "^2.0.0", 1936 | "merge-stream": "^2.0.0", 1937 | "npm-run-path": "^4.0.1", 1938 | "onetime": "^5.1.2", 1939 | "signal-exit": "^3.0.3", 1940 | "strip-final-newline": "^2.0.0" 1941 | }, 1942 | "engines": { 1943 | "node": ">=10" 1944 | }, 1945 | "funding": { 1946 | "url": "https://github.com/sindresorhus/execa?sponsor=1" 1947 | } 1948 | }, 1949 | "node_modules/exit": { 1950 | "version": "0.1.2", 1951 | "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", 1952 | "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", 1953 | "dev": true, 1954 | "engines": { 1955 | "node": ">= 0.8.0" 1956 | } 1957 | }, 1958 | "node_modules/expect": { 1959 | "version": "29.7.0", 1960 | "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", 1961 | "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", 1962 | "dev": true, 1963 | "dependencies": { 1964 | "@jest/expect-utils": "^29.7.0", 1965 | "jest-get-type": "^29.6.3", 1966 | "jest-matcher-utils": "^29.7.0", 1967 | "jest-message-util": "^29.7.0", 1968 | "jest-util": "^29.7.0" 1969 | }, 1970 | "engines": { 1971 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 1972 | } 1973 | }, 1974 | "node_modules/fast-json-stable-stringify": { 1975 | "version": "2.1.0", 1976 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1977 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 1978 | "dev": true 1979 | }, 1980 | "node_modules/fb-watchman": { 1981 | "version": "2.0.2", 1982 | "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", 1983 | "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", 1984 | "dev": true, 1985 | "dependencies": { 1986 | "bser": "2.1.1" 1987 | } 1988 | }, 1989 | "node_modules/filelist": { 1990 | "version": "1.0.4", 1991 | "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", 1992 | "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", 1993 | "dev": true, 1994 | "dependencies": { 1995 | "minimatch": "^5.0.1" 1996 | } 1997 | }, 1998 | "node_modules/filelist/node_modules/brace-expansion": { 1999 | "version": "2.0.1", 2000 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 2001 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 2002 | "dev": true, 2003 | "dependencies": { 2004 | "balanced-match": "^1.0.0" 2005 | } 2006 | }, 2007 | "node_modules/filelist/node_modules/minimatch": { 2008 | "version": "5.1.6", 2009 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", 2010 | "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", 2011 | "dev": true, 2012 | "dependencies": { 2013 | "brace-expansion": "^2.0.1" 2014 | }, 2015 | "engines": { 2016 | "node": ">=10" 2017 | } 2018 | }, 2019 | "node_modules/fill-range": { 2020 | "version": "7.1.1", 2021 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", 2022 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", 2023 | "dev": true, 2024 | "dependencies": { 2025 | "to-regex-range": "^5.0.1" 2026 | }, 2027 | "engines": { 2028 | "node": ">=8" 2029 | } 2030 | }, 2031 | "node_modules/find-up": { 2032 | "version": "4.1.0", 2033 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", 2034 | "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", 2035 | "dev": true, 2036 | "dependencies": { 2037 | "locate-path": "^5.0.0", 2038 | "path-exists": "^4.0.0" 2039 | }, 2040 | "engines": { 2041 | "node": ">=8" 2042 | } 2043 | }, 2044 | "node_modules/follow-redirects": { 2045 | "version": "1.15.9", 2046 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", 2047 | "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", 2048 | "funding": [ 2049 | { 2050 | "type": "individual", 2051 | "url": "https://github.com/sponsors/RubenVerborgh" 2052 | } 2053 | ], 2054 | "engines": { 2055 | "node": ">=4.0" 2056 | }, 2057 | "peerDependenciesMeta": { 2058 | "debug": { 2059 | "optional": true 2060 | } 2061 | } 2062 | }, 2063 | "node_modules/form-data": { 2064 | "version": "4.0.2", 2065 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", 2066 | "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", 2067 | "dependencies": { 2068 | "asynckit": "^0.4.0", 2069 | "combined-stream": "^1.0.8", 2070 | "es-set-tostringtag": "^2.1.0", 2071 | "mime-types": "^2.1.12" 2072 | }, 2073 | "engines": { 2074 | "node": ">= 6" 2075 | } 2076 | }, 2077 | "node_modules/fs.realpath": { 2078 | "version": "1.0.0", 2079 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 2080 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 2081 | "dev": true 2082 | }, 2083 | "node_modules/fsevents": { 2084 | "version": "2.3.3", 2085 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", 2086 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", 2087 | "dev": true, 2088 | "hasInstallScript": true, 2089 | "optional": true, 2090 | "os": [ 2091 | "darwin" 2092 | ], 2093 | "engines": { 2094 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 2095 | } 2096 | }, 2097 | "node_modules/function-bind": { 2098 | "version": "1.1.2", 2099 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", 2100 | "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", 2101 | "funding": { 2102 | "url": "https://github.com/sponsors/ljharb" 2103 | } 2104 | }, 2105 | "node_modules/generic-pool": { 2106 | "version": "3.9.0", 2107 | "resolved": "https://registry.npmjs.org/generic-pool/-/generic-pool-3.9.0.tgz", 2108 | "integrity": "sha512-hymDOu5B53XvN4QT9dBmZxPX4CWhBPPLguTZ9MMFeFa/Kg0xWVfylOVNlJji/E7yTZWFd/q9GO5TxDLq156D7g==", 2109 | "engines": { 2110 | "node": ">= 4" 2111 | } 2112 | }, 2113 | "node_modules/gensync": { 2114 | "version": "1.0.0-beta.2", 2115 | "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", 2116 | "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", 2117 | "dev": true, 2118 | "engines": { 2119 | "node": ">=6.9.0" 2120 | } 2121 | }, 2122 | "node_modules/get-caller-file": { 2123 | "version": "2.0.5", 2124 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 2125 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", 2126 | "dev": true, 2127 | "engines": { 2128 | "node": "6.* || 8.* || >= 10.*" 2129 | } 2130 | }, 2131 | "node_modules/get-intrinsic": { 2132 | "version": "1.3.0", 2133 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", 2134 | "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", 2135 | "dependencies": { 2136 | "call-bind-apply-helpers": "^1.0.2", 2137 | "es-define-property": "^1.0.1", 2138 | "es-errors": "^1.3.0", 2139 | "es-object-atoms": "^1.1.1", 2140 | "function-bind": "^1.1.2", 2141 | "get-proto": "^1.0.1", 2142 | "gopd": "^1.2.0", 2143 | "has-symbols": "^1.1.0", 2144 | "hasown": "^2.0.2", 2145 | "math-intrinsics": "^1.1.0" 2146 | }, 2147 | "engines": { 2148 | "node": ">= 0.4" 2149 | }, 2150 | "funding": { 2151 | "url": "https://github.com/sponsors/ljharb" 2152 | } 2153 | }, 2154 | "node_modules/get-package-type": { 2155 | "version": "0.1.0", 2156 | "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", 2157 | "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", 2158 | "dev": true, 2159 | "engines": { 2160 | "node": ">=8.0.0" 2161 | } 2162 | }, 2163 | "node_modules/get-proto": { 2164 | "version": "1.0.1", 2165 | "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", 2166 | "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", 2167 | "dependencies": { 2168 | "dunder-proto": "^1.0.1", 2169 | "es-object-atoms": "^1.0.0" 2170 | }, 2171 | "engines": { 2172 | "node": ">= 0.4" 2173 | } 2174 | }, 2175 | "node_modules/get-stream": { 2176 | "version": "6.0.1", 2177 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", 2178 | "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", 2179 | "dev": true, 2180 | "engines": { 2181 | "node": ">=10" 2182 | }, 2183 | "funding": { 2184 | "url": "https://github.com/sponsors/sindresorhus" 2185 | } 2186 | }, 2187 | "node_modules/ghost-cache": { 2188 | "version": "1.2.3", 2189 | "resolved": "https://registry.npmjs.org/ghost-cache/-/ghost-cache-1.2.3.tgz", 2190 | "integrity": "sha512-cOmRVMOIpMaXiWYc9VFNDCLfz8qjeM0USW7OO9zXWYqaAjfN0FH+XRwRP314+FK7aRYmrg+BxHKCOMrK6GAf0A==", 2191 | "dependencies": { 2192 | "axios": "^1.3.0", 2193 | "prettier": "^3.5.3", 2194 | "redis": "^4.0.0" 2195 | }, 2196 | "engines": { 2197 | "node": ">=14.0.0", 2198 | "npm": ">=6.0.0" 2199 | } 2200 | }, 2201 | "node_modules/glob": { 2202 | "version": "7.2.3", 2203 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 2204 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 2205 | "deprecated": "Glob versions prior to v9 are no longer supported", 2206 | "dev": true, 2207 | "dependencies": { 2208 | "fs.realpath": "^1.0.0", 2209 | "inflight": "^1.0.4", 2210 | "inherits": "2", 2211 | "minimatch": "^3.1.1", 2212 | "once": "^1.3.0", 2213 | "path-is-absolute": "^1.0.0" 2214 | }, 2215 | "engines": { 2216 | "node": "*" 2217 | }, 2218 | "funding": { 2219 | "url": "https://github.com/sponsors/isaacs" 2220 | } 2221 | }, 2222 | "node_modules/globals": { 2223 | "version": "11.12.0", 2224 | "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", 2225 | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", 2226 | "dev": true, 2227 | "engines": { 2228 | "node": ">=4" 2229 | } 2230 | }, 2231 | "node_modules/gopd": { 2232 | "version": "1.2.0", 2233 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", 2234 | "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", 2235 | "engines": { 2236 | "node": ">= 0.4" 2237 | }, 2238 | "funding": { 2239 | "url": "https://github.com/sponsors/ljharb" 2240 | } 2241 | }, 2242 | "node_modules/graceful-fs": { 2243 | "version": "4.2.11", 2244 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", 2245 | "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", 2246 | "dev": true 2247 | }, 2248 | "node_modules/has-flag": { 2249 | "version": "4.0.0", 2250 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 2251 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 2252 | "dev": true, 2253 | "engines": { 2254 | "node": ">=8" 2255 | } 2256 | }, 2257 | "node_modules/has-symbols": { 2258 | "version": "1.1.0", 2259 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", 2260 | "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", 2261 | "engines": { 2262 | "node": ">= 0.4" 2263 | }, 2264 | "funding": { 2265 | "url": "https://github.com/sponsors/ljharb" 2266 | } 2267 | }, 2268 | "node_modules/has-tostringtag": { 2269 | "version": "1.0.2", 2270 | "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", 2271 | "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", 2272 | "dependencies": { 2273 | "has-symbols": "^1.0.3" 2274 | }, 2275 | "engines": { 2276 | "node": ">= 0.4" 2277 | }, 2278 | "funding": { 2279 | "url": "https://github.com/sponsors/ljharb" 2280 | } 2281 | }, 2282 | "node_modules/hasown": { 2283 | "version": "2.0.2", 2284 | "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", 2285 | "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", 2286 | "dependencies": { 2287 | "function-bind": "^1.1.2" 2288 | }, 2289 | "engines": { 2290 | "node": ">= 0.4" 2291 | } 2292 | }, 2293 | "node_modules/html-encoding-sniffer": { 2294 | "version": "3.0.0", 2295 | "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", 2296 | "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==", 2297 | "dev": true, 2298 | "dependencies": { 2299 | "whatwg-encoding": "^2.0.0" 2300 | }, 2301 | "engines": { 2302 | "node": ">=12" 2303 | } 2304 | }, 2305 | "node_modules/html-escaper": { 2306 | "version": "2.0.2", 2307 | "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", 2308 | "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", 2309 | "dev": true 2310 | }, 2311 | "node_modules/http-proxy-agent": { 2312 | "version": "5.0.0", 2313 | "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", 2314 | "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", 2315 | "dev": true, 2316 | "dependencies": { 2317 | "@tootallnate/once": "2", 2318 | "agent-base": "6", 2319 | "debug": "4" 2320 | }, 2321 | "engines": { 2322 | "node": ">= 6" 2323 | } 2324 | }, 2325 | "node_modules/https-proxy-agent": { 2326 | "version": "5.0.1", 2327 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", 2328 | "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", 2329 | "dev": true, 2330 | "dependencies": { 2331 | "agent-base": "6", 2332 | "debug": "4" 2333 | }, 2334 | "engines": { 2335 | "node": ">= 6" 2336 | } 2337 | }, 2338 | "node_modules/human-signals": { 2339 | "version": "2.1.0", 2340 | "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", 2341 | "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", 2342 | "dev": true, 2343 | "engines": { 2344 | "node": ">=10.17.0" 2345 | } 2346 | }, 2347 | "node_modules/iconv-lite": { 2348 | "version": "0.6.3", 2349 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", 2350 | "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", 2351 | "dev": true, 2352 | "dependencies": { 2353 | "safer-buffer": ">= 2.1.2 < 3.0.0" 2354 | }, 2355 | "engines": { 2356 | "node": ">=0.10.0" 2357 | } 2358 | }, 2359 | "node_modules/import-local": { 2360 | "version": "3.2.0", 2361 | "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", 2362 | "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", 2363 | "dev": true, 2364 | "dependencies": { 2365 | "pkg-dir": "^4.2.0", 2366 | "resolve-cwd": "^3.0.0" 2367 | }, 2368 | "bin": { 2369 | "import-local-fixture": "fixtures/cli.js" 2370 | }, 2371 | "engines": { 2372 | "node": ">=8" 2373 | }, 2374 | "funding": { 2375 | "url": "https://github.com/sponsors/sindresorhus" 2376 | } 2377 | }, 2378 | "node_modules/imurmurhash": { 2379 | "version": "0.1.4", 2380 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 2381 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", 2382 | "dev": true, 2383 | "engines": { 2384 | "node": ">=0.8.19" 2385 | } 2386 | }, 2387 | "node_modules/inflight": { 2388 | "version": "1.0.6", 2389 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 2390 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 2391 | "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.", 2392 | "dev": true, 2393 | "dependencies": { 2394 | "once": "^1.3.0", 2395 | "wrappy": "1" 2396 | } 2397 | }, 2398 | "node_modules/inherits": { 2399 | "version": "2.0.4", 2400 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 2401 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 2402 | "dev": true 2403 | }, 2404 | "node_modules/is-arrayish": { 2405 | "version": "0.2.1", 2406 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", 2407 | "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", 2408 | "dev": true 2409 | }, 2410 | "node_modules/is-core-module": { 2411 | "version": "2.16.1", 2412 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", 2413 | "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", 2414 | "dev": true, 2415 | "dependencies": { 2416 | "hasown": "^2.0.2" 2417 | }, 2418 | "engines": { 2419 | "node": ">= 0.4" 2420 | }, 2421 | "funding": { 2422 | "url": "https://github.com/sponsors/ljharb" 2423 | } 2424 | }, 2425 | "node_modules/is-fullwidth-code-point": { 2426 | "version": "3.0.0", 2427 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 2428 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 2429 | "dev": true, 2430 | "engines": { 2431 | "node": ">=8" 2432 | } 2433 | }, 2434 | "node_modules/is-generator-fn": { 2435 | "version": "2.1.0", 2436 | "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", 2437 | "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", 2438 | "dev": true, 2439 | "engines": { 2440 | "node": ">=6" 2441 | } 2442 | }, 2443 | "node_modules/is-number": { 2444 | "version": "7.0.0", 2445 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 2446 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 2447 | "dev": true, 2448 | "engines": { 2449 | "node": ">=0.12.0" 2450 | } 2451 | }, 2452 | "node_modules/is-potential-custom-element-name": { 2453 | "version": "1.0.1", 2454 | "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", 2455 | "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", 2456 | "dev": true 2457 | }, 2458 | "node_modules/is-stream": { 2459 | "version": "2.0.1", 2460 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", 2461 | "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", 2462 | "dev": true, 2463 | "engines": { 2464 | "node": ">=8" 2465 | }, 2466 | "funding": { 2467 | "url": "https://github.com/sponsors/sindresorhus" 2468 | } 2469 | }, 2470 | "node_modules/isexe": { 2471 | "version": "2.0.0", 2472 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 2473 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 2474 | "dev": true 2475 | }, 2476 | "node_modules/istanbul-lib-coverage": { 2477 | "version": "3.2.2", 2478 | "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", 2479 | "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", 2480 | "dev": true, 2481 | "engines": { 2482 | "node": ">=8" 2483 | } 2484 | }, 2485 | "node_modules/istanbul-lib-instrument": { 2486 | "version": "6.0.3", 2487 | "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", 2488 | "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", 2489 | "dev": true, 2490 | "dependencies": { 2491 | "@babel/core": "^7.23.9", 2492 | "@babel/parser": "^7.23.9", 2493 | "@istanbuljs/schema": "^0.1.3", 2494 | "istanbul-lib-coverage": "^3.2.0", 2495 | "semver": "^7.5.4" 2496 | }, 2497 | "engines": { 2498 | "node": ">=10" 2499 | } 2500 | }, 2501 | "node_modules/istanbul-lib-instrument/node_modules/semver": { 2502 | "version": "7.7.1", 2503 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", 2504 | "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", 2505 | "dev": true, 2506 | "bin": { 2507 | "semver": "bin/semver.js" 2508 | }, 2509 | "engines": { 2510 | "node": ">=10" 2511 | } 2512 | }, 2513 | "node_modules/istanbul-lib-report": { 2514 | "version": "3.0.1", 2515 | "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", 2516 | "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", 2517 | "dev": true, 2518 | "dependencies": { 2519 | "istanbul-lib-coverage": "^3.0.0", 2520 | "make-dir": "^4.0.0", 2521 | "supports-color": "^7.1.0" 2522 | }, 2523 | "engines": { 2524 | "node": ">=10" 2525 | } 2526 | }, 2527 | "node_modules/istanbul-lib-source-maps": { 2528 | "version": "4.0.1", 2529 | "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", 2530 | "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", 2531 | "dev": true, 2532 | "dependencies": { 2533 | "debug": "^4.1.1", 2534 | "istanbul-lib-coverage": "^3.0.0", 2535 | "source-map": "^0.6.1" 2536 | }, 2537 | "engines": { 2538 | "node": ">=10" 2539 | } 2540 | }, 2541 | "node_modules/istanbul-reports": { 2542 | "version": "3.1.7", 2543 | "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", 2544 | "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", 2545 | "dev": true, 2546 | "dependencies": { 2547 | "html-escaper": "^2.0.0", 2548 | "istanbul-lib-report": "^3.0.0" 2549 | }, 2550 | "engines": { 2551 | "node": ">=8" 2552 | } 2553 | }, 2554 | "node_modules/jake": { 2555 | "version": "10.9.2", 2556 | "resolved": "https://registry.npmjs.org/jake/-/jake-10.9.2.tgz", 2557 | "integrity": "sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==", 2558 | "dev": true, 2559 | "dependencies": { 2560 | "async": "^3.2.3", 2561 | "chalk": "^4.0.2", 2562 | "filelist": "^1.0.4", 2563 | "minimatch": "^3.1.2" 2564 | }, 2565 | "bin": { 2566 | "jake": "bin/cli.js" 2567 | }, 2568 | "engines": { 2569 | "node": ">=10" 2570 | } 2571 | }, 2572 | "node_modules/jest": { 2573 | "version": "29.7.0", 2574 | "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", 2575 | "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", 2576 | "dev": true, 2577 | "dependencies": { 2578 | "@jest/core": "^29.7.0", 2579 | "@jest/types": "^29.6.3", 2580 | "import-local": "^3.0.2", 2581 | "jest-cli": "^29.7.0" 2582 | }, 2583 | "bin": { 2584 | "jest": "bin/jest.js" 2585 | }, 2586 | "engines": { 2587 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2588 | }, 2589 | "peerDependencies": { 2590 | "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" 2591 | }, 2592 | "peerDependenciesMeta": { 2593 | "node-notifier": { 2594 | "optional": true 2595 | } 2596 | } 2597 | }, 2598 | "node_modules/jest-changed-files": { 2599 | "version": "29.7.0", 2600 | "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", 2601 | "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", 2602 | "dev": true, 2603 | "dependencies": { 2604 | "execa": "^5.0.0", 2605 | "jest-util": "^29.7.0", 2606 | "p-limit": "^3.1.0" 2607 | }, 2608 | "engines": { 2609 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2610 | } 2611 | }, 2612 | "node_modules/jest-circus": { 2613 | "version": "29.7.0", 2614 | "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", 2615 | "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", 2616 | "dev": true, 2617 | "dependencies": { 2618 | "@jest/environment": "^29.7.0", 2619 | "@jest/expect": "^29.7.0", 2620 | "@jest/test-result": "^29.7.0", 2621 | "@jest/types": "^29.6.3", 2622 | "@types/node": "*", 2623 | "chalk": "^4.0.0", 2624 | "co": "^4.6.0", 2625 | "dedent": "^1.0.0", 2626 | "is-generator-fn": "^2.0.0", 2627 | "jest-each": "^29.7.0", 2628 | "jest-matcher-utils": "^29.7.0", 2629 | "jest-message-util": "^29.7.0", 2630 | "jest-runtime": "^29.7.0", 2631 | "jest-snapshot": "^29.7.0", 2632 | "jest-util": "^29.7.0", 2633 | "p-limit": "^3.1.0", 2634 | "pretty-format": "^29.7.0", 2635 | "pure-rand": "^6.0.0", 2636 | "slash": "^3.0.0", 2637 | "stack-utils": "^2.0.3" 2638 | }, 2639 | "engines": { 2640 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2641 | } 2642 | }, 2643 | "node_modules/jest-cli": { 2644 | "version": "29.7.0", 2645 | "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", 2646 | "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", 2647 | "dev": true, 2648 | "dependencies": { 2649 | "@jest/core": "^29.7.0", 2650 | "@jest/test-result": "^29.7.0", 2651 | "@jest/types": "^29.6.3", 2652 | "chalk": "^4.0.0", 2653 | "create-jest": "^29.7.0", 2654 | "exit": "^0.1.2", 2655 | "import-local": "^3.0.2", 2656 | "jest-config": "^29.7.0", 2657 | "jest-util": "^29.7.0", 2658 | "jest-validate": "^29.7.0", 2659 | "yargs": "^17.3.1" 2660 | }, 2661 | "bin": { 2662 | "jest": "bin/jest.js" 2663 | }, 2664 | "engines": { 2665 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2666 | }, 2667 | "peerDependencies": { 2668 | "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" 2669 | }, 2670 | "peerDependenciesMeta": { 2671 | "node-notifier": { 2672 | "optional": true 2673 | } 2674 | } 2675 | }, 2676 | "node_modules/jest-config": { 2677 | "version": "29.7.0", 2678 | "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", 2679 | "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", 2680 | "dev": true, 2681 | "dependencies": { 2682 | "@babel/core": "^7.11.6", 2683 | "@jest/test-sequencer": "^29.7.0", 2684 | "@jest/types": "^29.6.3", 2685 | "babel-jest": "^29.7.0", 2686 | "chalk": "^4.0.0", 2687 | "ci-info": "^3.2.0", 2688 | "deepmerge": "^4.2.2", 2689 | "glob": "^7.1.3", 2690 | "graceful-fs": "^4.2.9", 2691 | "jest-circus": "^29.7.0", 2692 | "jest-environment-node": "^29.7.0", 2693 | "jest-get-type": "^29.6.3", 2694 | "jest-regex-util": "^29.6.3", 2695 | "jest-resolve": "^29.7.0", 2696 | "jest-runner": "^29.7.0", 2697 | "jest-util": "^29.7.0", 2698 | "jest-validate": "^29.7.0", 2699 | "micromatch": "^4.0.4", 2700 | "parse-json": "^5.2.0", 2701 | "pretty-format": "^29.7.0", 2702 | "slash": "^3.0.0", 2703 | "strip-json-comments": "^3.1.1" 2704 | }, 2705 | "engines": { 2706 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2707 | }, 2708 | "peerDependencies": { 2709 | "@types/node": "*", 2710 | "ts-node": ">=9.0.0" 2711 | }, 2712 | "peerDependenciesMeta": { 2713 | "@types/node": { 2714 | "optional": true 2715 | }, 2716 | "ts-node": { 2717 | "optional": true 2718 | } 2719 | } 2720 | }, 2721 | "node_modules/jest-diff": { 2722 | "version": "29.7.0", 2723 | "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", 2724 | "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", 2725 | "dev": true, 2726 | "dependencies": { 2727 | "chalk": "^4.0.0", 2728 | "diff-sequences": "^29.6.3", 2729 | "jest-get-type": "^29.6.3", 2730 | "pretty-format": "^29.7.0" 2731 | }, 2732 | "engines": { 2733 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2734 | } 2735 | }, 2736 | "node_modules/jest-docblock": { 2737 | "version": "29.7.0", 2738 | "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", 2739 | "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", 2740 | "dev": true, 2741 | "dependencies": { 2742 | "detect-newline": "^3.0.0" 2743 | }, 2744 | "engines": { 2745 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2746 | } 2747 | }, 2748 | "node_modules/jest-each": { 2749 | "version": "29.7.0", 2750 | "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", 2751 | "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", 2752 | "dev": true, 2753 | "dependencies": { 2754 | "@jest/types": "^29.6.3", 2755 | "chalk": "^4.0.0", 2756 | "jest-get-type": "^29.6.3", 2757 | "jest-util": "^29.7.0", 2758 | "pretty-format": "^29.7.0" 2759 | }, 2760 | "engines": { 2761 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2762 | } 2763 | }, 2764 | "node_modules/jest-environment-jsdom": { 2765 | "version": "29.7.0", 2766 | "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-29.7.0.tgz", 2767 | "integrity": "sha512-k9iQbsf9OyOfdzWH8HDmrRT0gSIcX+FLNW7IQq94tFX0gynPwqDTW0Ho6iMVNjGz/nb+l/vW3dWM2bbLLpkbXA==", 2768 | "dev": true, 2769 | "dependencies": { 2770 | "@jest/environment": "^29.7.0", 2771 | "@jest/fake-timers": "^29.7.0", 2772 | "@jest/types": "^29.6.3", 2773 | "@types/jsdom": "^20.0.0", 2774 | "@types/node": "*", 2775 | "jest-mock": "^29.7.0", 2776 | "jest-util": "^29.7.0", 2777 | "jsdom": "^20.0.0" 2778 | }, 2779 | "engines": { 2780 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2781 | }, 2782 | "peerDependencies": { 2783 | "canvas": "^2.5.0" 2784 | }, 2785 | "peerDependenciesMeta": { 2786 | "canvas": { 2787 | "optional": true 2788 | } 2789 | } 2790 | }, 2791 | "node_modules/jest-environment-node": { 2792 | "version": "29.7.0", 2793 | "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", 2794 | "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", 2795 | "dev": true, 2796 | "dependencies": { 2797 | "@jest/environment": "^29.7.0", 2798 | "@jest/fake-timers": "^29.7.0", 2799 | "@jest/types": "^29.6.3", 2800 | "@types/node": "*", 2801 | "jest-mock": "^29.7.0", 2802 | "jest-util": "^29.7.0" 2803 | }, 2804 | "engines": { 2805 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2806 | } 2807 | }, 2808 | "node_modules/jest-get-type": { 2809 | "version": "29.6.3", 2810 | "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", 2811 | "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", 2812 | "dev": true, 2813 | "engines": { 2814 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2815 | } 2816 | }, 2817 | "node_modules/jest-haste-map": { 2818 | "version": "29.7.0", 2819 | "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", 2820 | "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", 2821 | "dev": true, 2822 | "dependencies": { 2823 | "@jest/types": "^29.6.3", 2824 | "@types/graceful-fs": "^4.1.3", 2825 | "@types/node": "*", 2826 | "anymatch": "^3.0.3", 2827 | "fb-watchman": "^2.0.0", 2828 | "graceful-fs": "^4.2.9", 2829 | "jest-regex-util": "^29.6.3", 2830 | "jest-util": "^29.7.0", 2831 | "jest-worker": "^29.7.0", 2832 | "micromatch": "^4.0.4", 2833 | "walker": "^1.0.8" 2834 | }, 2835 | "engines": { 2836 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2837 | }, 2838 | "optionalDependencies": { 2839 | "fsevents": "^2.3.2" 2840 | } 2841 | }, 2842 | "node_modules/jest-leak-detector": { 2843 | "version": "29.7.0", 2844 | "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", 2845 | "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", 2846 | "dev": true, 2847 | "dependencies": { 2848 | "jest-get-type": "^29.6.3", 2849 | "pretty-format": "^29.7.0" 2850 | }, 2851 | "engines": { 2852 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2853 | } 2854 | }, 2855 | "node_modules/jest-matcher-utils": { 2856 | "version": "29.7.0", 2857 | "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", 2858 | "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", 2859 | "dev": true, 2860 | "dependencies": { 2861 | "chalk": "^4.0.0", 2862 | "jest-diff": "^29.7.0", 2863 | "jest-get-type": "^29.6.3", 2864 | "pretty-format": "^29.7.0" 2865 | }, 2866 | "engines": { 2867 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2868 | } 2869 | }, 2870 | "node_modules/jest-message-util": { 2871 | "version": "29.7.0", 2872 | "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", 2873 | "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", 2874 | "dev": true, 2875 | "dependencies": { 2876 | "@babel/code-frame": "^7.12.13", 2877 | "@jest/types": "^29.6.3", 2878 | "@types/stack-utils": "^2.0.0", 2879 | "chalk": "^4.0.0", 2880 | "graceful-fs": "^4.2.9", 2881 | "micromatch": "^4.0.4", 2882 | "pretty-format": "^29.7.0", 2883 | "slash": "^3.0.0", 2884 | "stack-utils": "^2.0.3" 2885 | }, 2886 | "engines": { 2887 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2888 | } 2889 | }, 2890 | "node_modules/jest-mock": { 2891 | "version": "29.7.0", 2892 | "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", 2893 | "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", 2894 | "dev": true, 2895 | "dependencies": { 2896 | "@jest/types": "^29.6.3", 2897 | "@types/node": "*", 2898 | "jest-util": "^29.7.0" 2899 | }, 2900 | "engines": { 2901 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2902 | } 2903 | }, 2904 | "node_modules/jest-pnp-resolver": { 2905 | "version": "1.2.3", 2906 | "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", 2907 | "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", 2908 | "dev": true, 2909 | "engines": { 2910 | "node": ">=6" 2911 | }, 2912 | "peerDependencies": { 2913 | "jest-resolve": "*" 2914 | }, 2915 | "peerDependenciesMeta": { 2916 | "jest-resolve": { 2917 | "optional": true 2918 | } 2919 | } 2920 | }, 2921 | "node_modules/jest-regex-util": { 2922 | "version": "29.6.3", 2923 | "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", 2924 | "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", 2925 | "dev": true, 2926 | "engines": { 2927 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2928 | } 2929 | }, 2930 | "node_modules/jest-resolve": { 2931 | "version": "29.7.0", 2932 | "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", 2933 | "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", 2934 | "dev": true, 2935 | "dependencies": { 2936 | "chalk": "^4.0.0", 2937 | "graceful-fs": "^4.2.9", 2938 | "jest-haste-map": "^29.7.0", 2939 | "jest-pnp-resolver": "^1.2.2", 2940 | "jest-util": "^29.7.0", 2941 | "jest-validate": "^29.7.0", 2942 | "resolve": "^1.20.0", 2943 | "resolve.exports": "^2.0.0", 2944 | "slash": "^3.0.0" 2945 | }, 2946 | "engines": { 2947 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2948 | } 2949 | }, 2950 | "node_modules/jest-resolve-dependencies": { 2951 | "version": "29.7.0", 2952 | "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", 2953 | "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", 2954 | "dev": true, 2955 | "dependencies": { 2956 | "jest-regex-util": "^29.6.3", 2957 | "jest-snapshot": "^29.7.0" 2958 | }, 2959 | "engines": { 2960 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2961 | } 2962 | }, 2963 | "node_modules/jest-runner": { 2964 | "version": "29.7.0", 2965 | "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", 2966 | "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", 2967 | "dev": true, 2968 | "dependencies": { 2969 | "@jest/console": "^29.7.0", 2970 | "@jest/environment": "^29.7.0", 2971 | "@jest/test-result": "^29.7.0", 2972 | "@jest/transform": "^29.7.0", 2973 | "@jest/types": "^29.6.3", 2974 | "@types/node": "*", 2975 | "chalk": "^4.0.0", 2976 | "emittery": "^0.13.1", 2977 | "graceful-fs": "^4.2.9", 2978 | "jest-docblock": "^29.7.0", 2979 | "jest-environment-node": "^29.7.0", 2980 | "jest-haste-map": "^29.7.0", 2981 | "jest-leak-detector": "^29.7.0", 2982 | "jest-message-util": "^29.7.0", 2983 | "jest-resolve": "^29.7.0", 2984 | "jest-runtime": "^29.7.0", 2985 | "jest-util": "^29.7.0", 2986 | "jest-watcher": "^29.7.0", 2987 | "jest-worker": "^29.7.0", 2988 | "p-limit": "^3.1.0", 2989 | "source-map-support": "0.5.13" 2990 | }, 2991 | "engines": { 2992 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 2993 | } 2994 | }, 2995 | "node_modules/jest-runtime": { 2996 | "version": "29.7.0", 2997 | "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", 2998 | "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", 2999 | "dev": true, 3000 | "dependencies": { 3001 | "@jest/environment": "^29.7.0", 3002 | "@jest/fake-timers": "^29.7.0", 3003 | "@jest/globals": "^29.7.0", 3004 | "@jest/source-map": "^29.6.3", 3005 | "@jest/test-result": "^29.7.0", 3006 | "@jest/transform": "^29.7.0", 3007 | "@jest/types": "^29.6.3", 3008 | "@types/node": "*", 3009 | "chalk": "^4.0.0", 3010 | "cjs-module-lexer": "^1.0.0", 3011 | "collect-v8-coverage": "^1.0.0", 3012 | "glob": "^7.1.3", 3013 | "graceful-fs": "^4.2.9", 3014 | "jest-haste-map": "^29.7.0", 3015 | "jest-message-util": "^29.7.0", 3016 | "jest-mock": "^29.7.0", 3017 | "jest-regex-util": "^29.6.3", 3018 | "jest-resolve": "^29.7.0", 3019 | "jest-snapshot": "^29.7.0", 3020 | "jest-util": "^29.7.0", 3021 | "slash": "^3.0.0", 3022 | "strip-bom": "^4.0.0" 3023 | }, 3024 | "engines": { 3025 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 3026 | } 3027 | }, 3028 | "node_modules/jest-snapshot": { 3029 | "version": "29.7.0", 3030 | "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", 3031 | "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", 3032 | "dev": true, 3033 | "dependencies": { 3034 | "@babel/core": "^7.11.6", 3035 | "@babel/generator": "^7.7.2", 3036 | "@babel/plugin-syntax-jsx": "^7.7.2", 3037 | "@babel/plugin-syntax-typescript": "^7.7.2", 3038 | "@babel/types": "^7.3.3", 3039 | "@jest/expect-utils": "^29.7.0", 3040 | "@jest/transform": "^29.7.0", 3041 | "@jest/types": "^29.6.3", 3042 | "babel-preset-current-node-syntax": "^1.0.0", 3043 | "chalk": "^4.0.0", 3044 | "expect": "^29.7.0", 3045 | "graceful-fs": "^4.2.9", 3046 | "jest-diff": "^29.7.0", 3047 | "jest-get-type": "^29.6.3", 3048 | "jest-matcher-utils": "^29.7.0", 3049 | "jest-message-util": "^29.7.0", 3050 | "jest-util": "^29.7.0", 3051 | "natural-compare": "^1.4.0", 3052 | "pretty-format": "^29.7.0", 3053 | "semver": "^7.5.3" 3054 | }, 3055 | "engines": { 3056 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 3057 | } 3058 | }, 3059 | "node_modules/jest-snapshot/node_modules/semver": { 3060 | "version": "7.7.1", 3061 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", 3062 | "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", 3063 | "dev": true, 3064 | "bin": { 3065 | "semver": "bin/semver.js" 3066 | }, 3067 | "engines": { 3068 | "node": ">=10" 3069 | } 3070 | }, 3071 | "node_modules/jest-util": { 3072 | "version": "29.7.0", 3073 | "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", 3074 | "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", 3075 | "dev": true, 3076 | "dependencies": { 3077 | "@jest/types": "^29.6.3", 3078 | "@types/node": "*", 3079 | "chalk": "^4.0.0", 3080 | "ci-info": "^3.2.0", 3081 | "graceful-fs": "^4.2.9", 3082 | "picomatch": "^2.2.3" 3083 | }, 3084 | "engines": { 3085 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 3086 | } 3087 | }, 3088 | "node_modules/jest-validate": { 3089 | "version": "29.7.0", 3090 | "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", 3091 | "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", 3092 | "dev": true, 3093 | "dependencies": { 3094 | "@jest/types": "^29.6.3", 3095 | "camelcase": "^6.2.0", 3096 | "chalk": "^4.0.0", 3097 | "jest-get-type": "^29.6.3", 3098 | "leven": "^3.1.0", 3099 | "pretty-format": "^29.7.0" 3100 | }, 3101 | "engines": { 3102 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 3103 | } 3104 | }, 3105 | "node_modules/jest-validate/node_modules/camelcase": { 3106 | "version": "6.3.0", 3107 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", 3108 | "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", 3109 | "dev": true, 3110 | "engines": { 3111 | "node": ">=10" 3112 | }, 3113 | "funding": { 3114 | "url": "https://github.com/sponsors/sindresorhus" 3115 | } 3116 | }, 3117 | "node_modules/jest-watcher": { 3118 | "version": "29.7.0", 3119 | "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", 3120 | "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", 3121 | "dev": true, 3122 | "dependencies": { 3123 | "@jest/test-result": "^29.7.0", 3124 | "@jest/types": "^29.6.3", 3125 | "@types/node": "*", 3126 | "ansi-escapes": "^4.2.1", 3127 | "chalk": "^4.0.0", 3128 | "emittery": "^0.13.1", 3129 | "jest-util": "^29.7.0", 3130 | "string-length": "^4.0.1" 3131 | }, 3132 | "engines": { 3133 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 3134 | } 3135 | }, 3136 | "node_modules/jest-worker": { 3137 | "version": "29.7.0", 3138 | "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", 3139 | "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", 3140 | "dev": true, 3141 | "dependencies": { 3142 | "@types/node": "*", 3143 | "jest-util": "^29.7.0", 3144 | "merge-stream": "^2.0.0", 3145 | "supports-color": "^8.0.0" 3146 | }, 3147 | "engines": { 3148 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 3149 | } 3150 | }, 3151 | "node_modules/jest-worker/node_modules/supports-color": { 3152 | "version": "8.1.1", 3153 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", 3154 | "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", 3155 | "dev": true, 3156 | "dependencies": { 3157 | "has-flag": "^4.0.0" 3158 | }, 3159 | "engines": { 3160 | "node": ">=10" 3161 | }, 3162 | "funding": { 3163 | "url": "https://github.com/chalk/supports-color?sponsor=1" 3164 | } 3165 | }, 3166 | "node_modules/js-tokens": { 3167 | "version": "4.0.0", 3168 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 3169 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", 3170 | "dev": true 3171 | }, 3172 | "node_modules/js-yaml": { 3173 | "version": "3.14.1", 3174 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", 3175 | "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", 3176 | "dev": true, 3177 | "dependencies": { 3178 | "argparse": "^1.0.7", 3179 | "esprima": "^4.0.0" 3180 | }, 3181 | "bin": { 3182 | "js-yaml": "bin/js-yaml.js" 3183 | } 3184 | }, 3185 | "node_modules/jsdom": { 3186 | "version": "20.0.3", 3187 | "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.3.tgz", 3188 | "integrity": "sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==", 3189 | "dev": true, 3190 | "dependencies": { 3191 | "abab": "^2.0.6", 3192 | "acorn": "^8.8.1", 3193 | "acorn-globals": "^7.0.0", 3194 | "cssom": "^0.5.0", 3195 | "cssstyle": "^2.3.0", 3196 | "data-urls": "^3.0.2", 3197 | "decimal.js": "^10.4.2", 3198 | "domexception": "^4.0.0", 3199 | "escodegen": "^2.0.0", 3200 | "form-data": "^4.0.0", 3201 | "html-encoding-sniffer": "^3.0.0", 3202 | "http-proxy-agent": "^5.0.0", 3203 | "https-proxy-agent": "^5.0.1", 3204 | "is-potential-custom-element-name": "^1.0.1", 3205 | "nwsapi": "^2.2.2", 3206 | "parse5": "^7.1.1", 3207 | "saxes": "^6.0.0", 3208 | "symbol-tree": "^3.2.4", 3209 | "tough-cookie": "^4.1.2", 3210 | "w3c-xmlserializer": "^4.0.0", 3211 | "webidl-conversions": "^7.0.0", 3212 | "whatwg-encoding": "^2.0.0", 3213 | "whatwg-mimetype": "^3.0.0", 3214 | "whatwg-url": "^11.0.0", 3215 | "ws": "^8.11.0", 3216 | "xml-name-validator": "^4.0.0" 3217 | }, 3218 | "engines": { 3219 | "node": ">=14" 3220 | }, 3221 | "peerDependencies": { 3222 | "canvas": "^2.5.0" 3223 | }, 3224 | "peerDependenciesMeta": { 3225 | "canvas": { 3226 | "optional": true 3227 | } 3228 | } 3229 | }, 3230 | "node_modules/jsesc": { 3231 | "version": "3.1.0", 3232 | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", 3233 | "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", 3234 | "dev": true, 3235 | "bin": { 3236 | "jsesc": "bin/jsesc" 3237 | }, 3238 | "engines": { 3239 | "node": ">=6" 3240 | } 3241 | }, 3242 | "node_modules/json-parse-even-better-errors": { 3243 | "version": "2.3.1", 3244 | "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", 3245 | "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", 3246 | "dev": true 3247 | }, 3248 | "node_modules/json5": { 3249 | "version": "2.2.3", 3250 | "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", 3251 | "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", 3252 | "dev": true, 3253 | "bin": { 3254 | "json5": "lib/cli.js" 3255 | }, 3256 | "engines": { 3257 | "node": ">=6" 3258 | } 3259 | }, 3260 | "node_modules/kleur": { 3261 | "version": "3.0.3", 3262 | "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", 3263 | "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", 3264 | "dev": true, 3265 | "engines": { 3266 | "node": ">=6" 3267 | } 3268 | }, 3269 | "node_modules/leven": { 3270 | "version": "3.1.0", 3271 | "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", 3272 | "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", 3273 | "dev": true, 3274 | "engines": { 3275 | "node": ">=6" 3276 | } 3277 | }, 3278 | "node_modules/lines-and-columns": { 3279 | "version": "1.2.4", 3280 | "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", 3281 | "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", 3282 | "dev": true 3283 | }, 3284 | "node_modules/locate-path": { 3285 | "version": "5.0.0", 3286 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", 3287 | "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", 3288 | "dev": true, 3289 | "dependencies": { 3290 | "p-locate": "^4.1.0" 3291 | }, 3292 | "engines": { 3293 | "node": ">=8" 3294 | } 3295 | }, 3296 | "node_modules/lodash.memoize": { 3297 | "version": "4.1.2", 3298 | "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", 3299 | "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", 3300 | "dev": true 3301 | }, 3302 | "node_modules/lru-cache": { 3303 | "version": "5.1.1", 3304 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", 3305 | "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", 3306 | "dev": true, 3307 | "dependencies": { 3308 | "yallist": "^3.0.2" 3309 | } 3310 | }, 3311 | "node_modules/make-dir": { 3312 | "version": "4.0.0", 3313 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", 3314 | "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", 3315 | "dev": true, 3316 | "dependencies": { 3317 | "semver": "^7.5.3" 3318 | }, 3319 | "engines": { 3320 | "node": ">=10" 3321 | }, 3322 | "funding": { 3323 | "url": "https://github.com/sponsors/sindresorhus" 3324 | } 3325 | }, 3326 | "node_modules/make-dir/node_modules/semver": { 3327 | "version": "7.7.1", 3328 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", 3329 | "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", 3330 | "dev": true, 3331 | "bin": { 3332 | "semver": "bin/semver.js" 3333 | }, 3334 | "engines": { 3335 | "node": ">=10" 3336 | } 3337 | }, 3338 | "node_modules/make-error": { 3339 | "version": "1.3.6", 3340 | "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", 3341 | "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", 3342 | "dev": true 3343 | }, 3344 | "node_modules/makeerror": { 3345 | "version": "1.0.12", 3346 | "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", 3347 | "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", 3348 | "dev": true, 3349 | "dependencies": { 3350 | "tmpl": "1.0.5" 3351 | } 3352 | }, 3353 | "node_modules/math-intrinsics": { 3354 | "version": "1.1.0", 3355 | "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", 3356 | "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", 3357 | "engines": { 3358 | "node": ">= 0.4" 3359 | } 3360 | }, 3361 | "node_modules/merge-stream": { 3362 | "version": "2.0.0", 3363 | "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", 3364 | "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", 3365 | "dev": true 3366 | }, 3367 | "node_modules/micromatch": { 3368 | "version": "4.0.8", 3369 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", 3370 | "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", 3371 | "dev": true, 3372 | "dependencies": { 3373 | "braces": "^3.0.3", 3374 | "picomatch": "^2.3.1" 3375 | }, 3376 | "engines": { 3377 | "node": ">=8.6" 3378 | } 3379 | }, 3380 | "node_modules/mime-db": { 3381 | "version": "1.52.0", 3382 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 3383 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 3384 | "engines": { 3385 | "node": ">= 0.6" 3386 | } 3387 | }, 3388 | "node_modules/mime-types": { 3389 | "version": "2.1.35", 3390 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 3391 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 3392 | "dependencies": { 3393 | "mime-db": "1.52.0" 3394 | }, 3395 | "engines": { 3396 | "node": ">= 0.6" 3397 | } 3398 | }, 3399 | "node_modules/mimic-fn": { 3400 | "version": "2.1.0", 3401 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", 3402 | "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", 3403 | "dev": true, 3404 | "engines": { 3405 | "node": ">=6" 3406 | } 3407 | }, 3408 | "node_modules/minimatch": { 3409 | "version": "3.1.2", 3410 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 3411 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 3412 | "dev": true, 3413 | "dependencies": { 3414 | "brace-expansion": "^1.1.7" 3415 | }, 3416 | "engines": { 3417 | "node": "*" 3418 | } 3419 | }, 3420 | "node_modules/ms": { 3421 | "version": "2.1.3", 3422 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 3423 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 3424 | "dev": true 3425 | }, 3426 | "node_modules/natural-compare": { 3427 | "version": "1.4.0", 3428 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 3429 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", 3430 | "dev": true 3431 | }, 3432 | "node_modules/node-fetch": { 3433 | "version": "2.7.0", 3434 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", 3435 | "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", 3436 | "dev": true, 3437 | "dependencies": { 3438 | "whatwg-url": "^5.0.0" 3439 | }, 3440 | "engines": { 3441 | "node": "4.x || >=6.0.0" 3442 | }, 3443 | "peerDependencies": { 3444 | "encoding": "^0.1.0" 3445 | }, 3446 | "peerDependenciesMeta": { 3447 | "encoding": { 3448 | "optional": true 3449 | } 3450 | } 3451 | }, 3452 | "node_modules/node-fetch/node_modules/tr46": { 3453 | "version": "0.0.3", 3454 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", 3455 | "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", 3456 | "dev": true 3457 | }, 3458 | "node_modules/node-fetch/node_modules/webidl-conversions": { 3459 | "version": "3.0.1", 3460 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", 3461 | "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", 3462 | "dev": true 3463 | }, 3464 | "node_modules/node-fetch/node_modules/whatwg-url": { 3465 | "version": "5.0.0", 3466 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", 3467 | "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", 3468 | "dev": true, 3469 | "dependencies": { 3470 | "tr46": "~0.0.3", 3471 | "webidl-conversions": "^3.0.0" 3472 | } 3473 | }, 3474 | "node_modules/node-int64": { 3475 | "version": "0.4.0", 3476 | "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", 3477 | "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", 3478 | "dev": true 3479 | }, 3480 | "node_modules/node-releases": { 3481 | "version": "2.0.19", 3482 | "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", 3483 | "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", 3484 | "dev": true 3485 | }, 3486 | "node_modules/normalize-path": { 3487 | "version": "3.0.0", 3488 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 3489 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 3490 | "dev": true, 3491 | "engines": { 3492 | "node": ">=0.10.0" 3493 | } 3494 | }, 3495 | "node_modules/npm-run-path": { 3496 | "version": "4.0.1", 3497 | "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", 3498 | "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", 3499 | "dev": true, 3500 | "dependencies": { 3501 | "path-key": "^3.0.0" 3502 | }, 3503 | "engines": { 3504 | "node": ">=8" 3505 | } 3506 | }, 3507 | "node_modules/nwsapi": { 3508 | "version": "2.2.18", 3509 | "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.18.tgz", 3510 | "integrity": "sha512-p1TRH/edngVEHVbwqWnxUViEmq5znDvyB+Sik5cmuLpGOIfDf/39zLiq3swPF8Vakqn+gvNiOQAZu8djYlQILA==", 3511 | "dev": true 3512 | }, 3513 | "node_modules/once": { 3514 | "version": "1.4.0", 3515 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 3516 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 3517 | "dev": true, 3518 | "dependencies": { 3519 | "wrappy": "1" 3520 | } 3521 | }, 3522 | "node_modules/onetime": { 3523 | "version": "5.1.2", 3524 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", 3525 | "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", 3526 | "dev": true, 3527 | "dependencies": { 3528 | "mimic-fn": "^2.1.0" 3529 | }, 3530 | "engines": { 3531 | "node": ">=6" 3532 | }, 3533 | "funding": { 3534 | "url": "https://github.com/sponsors/sindresorhus" 3535 | } 3536 | }, 3537 | "node_modules/p-limit": { 3538 | "version": "3.1.0", 3539 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 3540 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 3541 | "dev": true, 3542 | "dependencies": { 3543 | "yocto-queue": "^0.1.0" 3544 | }, 3545 | "engines": { 3546 | "node": ">=10" 3547 | }, 3548 | "funding": { 3549 | "url": "https://github.com/sponsors/sindresorhus" 3550 | } 3551 | }, 3552 | "node_modules/p-locate": { 3553 | "version": "4.1.0", 3554 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", 3555 | "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", 3556 | "dev": true, 3557 | "dependencies": { 3558 | "p-limit": "^2.2.0" 3559 | }, 3560 | "engines": { 3561 | "node": ">=8" 3562 | } 3563 | }, 3564 | "node_modules/p-locate/node_modules/p-limit": { 3565 | "version": "2.3.0", 3566 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", 3567 | "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", 3568 | "dev": true, 3569 | "dependencies": { 3570 | "p-try": "^2.0.0" 3571 | }, 3572 | "engines": { 3573 | "node": ">=6" 3574 | }, 3575 | "funding": { 3576 | "url": "https://github.com/sponsors/sindresorhus" 3577 | } 3578 | }, 3579 | "node_modules/p-try": { 3580 | "version": "2.2.0", 3581 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", 3582 | "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", 3583 | "dev": true, 3584 | "engines": { 3585 | "node": ">=6" 3586 | } 3587 | }, 3588 | "node_modules/parse-json": { 3589 | "version": "5.2.0", 3590 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", 3591 | "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", 3592 | "dev": true, 3593 | "dependencies": { 3594 | "@babel/code-frame": "^7.0.0", 3595 | "error-ex": "^1.3.1", 3596 | "json-parse-even-better-errors": "^2.3.0", 3597 | "lines-and-columns": "^1.1.6" 3598 | }, 3599 | "engines": { 3600 | "node": ">=8" 3601 | }, 3602 | "funding": { 3603 | "url": "https://github.com/sponsors/sindresorhus" 3604 | } 3605 | }, 3606 | "node_modules/parse5": { 3607 | "version": "7.2.1", 3608 | "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.2.1.tgz", 3609 | "integrity": "sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==", 3610 | "dev": true, 3611 | "dependencies": { 3612 | "entities": "^4.5.0" 3613 | }, 3614 | "funding": { 3615 | "url": "https://github.com/inikulin/parse5?sponsor=1" 3616 | } 3617 | }, 3618 | "node_modules/path-exists": { 3619 | "version": "4.0.0", 3620 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 3621 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 3622 | "dev": true, 3623 | "engines": { 3624 | "node": ">=8" 3625 | } 3626 | }, 3627 | "node_modules/path-is-absolute": { 3628 | "version": "1.0.1", 3629 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 3630 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 3631 | "dev": true, 3632 | "engines": { 3633 | "node": ">=0.10.0" 3634 | } 3635 | }, 3636 | "node_modules/path-key": { 3637 | "version": "3.1.1", 3638 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 3639 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 3640 | "dev": true, 3641 | "engines": { 3642 | "node": ">=8" 3643 | } 3644 | }, 3645 | "node_modules/path-parse": { 3646 | "version": "1.0.7", 3647 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 3648 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 3649 | "dev": true 3650 | }, 3651 | "node_modules/picocolors": { 3652 | "version": "1.1.1", 3653 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", 3654 | "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", 3655 | "dev": true 3656 | }, 3657 | "node_modules/picomatch": { 3658 | "version": "2.3.1", 3659 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 3660 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 3661 | "dev": true, 3662 | "engines": { 3663 | "node": ">=8.6" 3664 | }, 3665 | "funding": { 3666 | "url": "https://github.com/sponsors/jonschlinkert" 3667 | } 3668 | }, 3669 | "node_modules/pirates": { 3670 | "version": "4.0.6", 3671 | "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", 3672 | "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", 3673 | "dev": true, 3674 | "engines": { 3675 | "node": ">= 6" 3676 | } 3677 | }, 3678 | "node_modules/pkg-dir": { 3679 | "version": "4.2.0", 3680 | "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", 3681 | "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", 3682 | "dev": true, 3683 | "dependencies": { 3684 | "find-up": "^4.0.0" 3685 | }, 3686 | "engines": { 3687 | "node": ">=8" 3688 | } 3689 | }, 3690 | "node_modules/prettier": { 3691 | "version": "3.5.3", 3692 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz", 3693 | "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==", 3694 | "bin": { 3695 | "prettier": "bin/prettier.cjs" 3696 | }, 3697 | "engines": { 3698 | "node": ">=14" 3699 | }, 3700 | "funding": { 3701 | "url": "https://github.com/prettier/prettier?sponsor=1" 3702 | } 3703 | }, 3704 | "node_modules/pretty-format": { 3705 | "version": "29.7.0", 3706 | "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", 3707 | "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", 3708 | "dev": true, 3709 | "dependencies": { 3710 | "@jest/schemas": "^29.6.3", 3711 | "ansi-styles": "^5.0.0", 3712 | "react-is": "^18.0.0" 3713 | }, 3714 | "engines": { 3715 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0" 3716 | } 3717 | }, 3718 | "node_modules/pretty-format/node_modules/ansi-styles": { 3719 | "version": "5.2.0", 3720 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", 3721 | "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", 3722 | "dev": true, 3723 | "engines": { 3724 | "node": ">=10" 3725 | }, 3726 | "funding": { 3727 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 3728 | } 3729 | }, 3730 | "node_modules/prompts": { 3731 | "version": "2.4.2", 3732 | "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", 3733 | "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", 3734 | "dev": true, 3735 | "dependencies": { 3736 | "kleur": "^3.0.3", 3737 | "sisteransi": "^1.0.5" 3738 | }, 3739 | "engines": { 3740 | "node": ">= 6" 3741 | } 3742 | }, 3743 | "node_modules/proxy-from-env": { 3744 | "version": "1.1.0", 3745 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", 3746 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" 3747 | }, 3748 | "node_modules/psl": { 3749 | "version": "1.15.0", 3750 | "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz", 3751 | "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==", 3752 | "dev": true, 3753 | "dependencies": { 3754 | "punycode": "^2.3.1" 3755 | }, 3756 | "funding": { 3757 | "url": "https://github.com/sponsors/lupomontero" 3758 | } 3759 | }, 3760 | "node_modules/punycode": { 3761 | "version": "2.3.1", 3762 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", 3763 | "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", 3764 | "dev": true, 3765 | "engines": { 3766 | "node": ">=6" 3767 | } 3768 | }, 3769 | "node_modules/pure-rand": { 3770 | "version": "6.1.0", 3771 | "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz", 3772 | "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==", 3773 | "dev": true, 3774 | "funding": [ 3775 | { 3776 | "type": "individual", 3777 | "url": "https://github.com/sponsors/dubzzz" 3778 | }, 3779 | { 3780 | "type": "opencollective", 3781 | "url": "https://opencollective.com/fast-check" 3782 | } 3783 | ] 3784 | }, 3785 | "node_modules/querystringify": { 3786 | "version": "2.2.0", 3787 | "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", 3788 | "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", 3789 | "dev": true 3790 | }, 3791 | "node_modules/react-is": { 3792 | "version": "18.3.1", 3793 | "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", 3794 | "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", 3795 | "dev": true 3796 | }, 3797 | "node_modules/redis": { 3798 | "version": "4.7.0", 3799 | "resolved": "https://registry.npmjs.org/redis/-/redis-4.7.0.tgz", 3800 | "integrity": "sha512-zvmkHEAdGMn+hMRXuMBtu4Vo5P6rHQjLoHftu+lBqq8ZTA3RCVC/WzD790bkKKiNFp7d5/9PcSD19fJyyRvOdQ==", 3801 | "dependencies": { 3802 | "@redis/bloom": "1.2.0", 3803 | "@redis/client": "1.6.0", 3804 | "@redis/graph": "1.1.1", 3805 | "@redis/json": "1.0.7", 3806 | "@redis/search": "1.2.0", 3807 | "@redis/time-series": "1.1.0" 3808 | } 3809 | }, 3810 | "node_modules/require-directory": { 3811 | "version": "2.1.1", 3812 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 3813 | "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", 3814 | "dev": true, 3815 | "engines": { 3816 | "node": ">=0.10.0" 3817 | } 3818 | }, 3819 | "node_modules/requires-port": { 3820 | "version": "1.0.0", 3821 | "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", 3822 | "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", 3823 | "dev": true 3824 | }, 3825 | "node_modules/resolve": { 3826 | "version": "1.22.10", 3827 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", 3828 | "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", 3829 | "dev": true, 3830 | "dependencies": { 3831 | "is-core-module": "^2.16.0", 3832 | "path-parse": "^1.0.7", 3833 | "supports-preserve-symlinks-flag": "^1.0.0" 3834 | }, 3835 | "bin": { 3836 | "resolve": "bin/resolve" 3837 | }, 3838 | "engines": { 3839 | "node": ">= 0.4" 3840 | }, 3841 | "funding": { 3842 | "url": "https://github.com/sponsors/ljharb" 3843 | } 3844 | }, 3845 | "node_modules/resolve-cwd": { 3846 | "version": "3.0.0", 3847 | "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", 3848 | "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", 3849 | "dev": true, 3850 | "dependencies": { 3851 | "resolve-from": "^5.0.0" 3852 | }, 3853 | "engines": { 3854 | "node": ">=8" 3855 | } 3856 | }, 3857 | "node_modules/resolve-from": { 3858 | "version": "5.0.0", 3859 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", 3860 | "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", 3861 | "dev": true, 3862 | "engines": { 3863 | "node": ">=8" 3864 | } 3865 | }, 3866 | "node_modules/resolve.exports": { 3867 | "version": "2.0.3", 3868 | "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz", 3869 | "integrity": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==", 3870 | "dev": true, 3871 | "engines": { 3872 | "node": ">=10" 3873 | } 3874 | }, 3875 | "node_modules/safer-buffer": { 3876 | "version": "2.1.2", 3877 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 3878 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", 3879 | "dev": true 3880 | }, 3881 | "node_modules/saxes": { 3882 | "version": "6.0.0", 3883 | "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz", 3884 | "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==", 3885 | "dev": true, 3886 | "dependencies": { 3887 | "xmlchars": "^2.2.0" 3888 | }, 3889 | "engines": { 3890 | "node": ">=v12.22.7" 3891 | } 3892 | }, 3893 | "node_modules/semver": { 3894 | "version": "6.3.1", 3895 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", 3896 | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", 3897 | "dev": true, 3898 | "bin": { 3899 | "semver": "bin/semver.js" 3900 | } 3901 | }, 3902 | "node_modules/shebang-command": { 3903 | "version": "2.0.0", 3904 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 3905 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 3906 | "dev": true, 3907 | "dependencies": { 3908 | "shebang-regex": "^3.0.0" 3909 | }, 3910 | "engines": { 3911 | "node": ">=8" 3912 | } 3913 | }, 3914 | "node_modules/shebang-regex": { 3915 | "version": "3.0.0", 3916 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 3917 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 3918 | "dev": true, 3919 | "engines": { 3920 | "node": ">=8" 3921 | } 3922 | }, 3923 | "node_modules/signal-exit": { 3924 | "version": "3.0.7", 3925 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", 3926 | "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", 3927 | "dev": true 3928 | }, 3929 | "node_modules/sisteransi": { 3930 | "version": "1.0.5", 3931 | "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", 3932 | "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", 3933 | "dev": true 3934 | }, 3935 | "node_modules/slash": { 3936 | "version": "3.0.0", 3937 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", 3938 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", 3939 | "dev": true, 3940 | "engines": { 3941 | "node": ">=8" 3942 | } 3943 | }, 3944 | "node_modules/source-map": { 3945 | "version": "0.6.1", 3946 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 3947 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 3948 | "dev": true, 3949 | "engines": { 3950 | "node": ">=0.10.0" 3951 | } 3952 | }, 3953 | "node_modules/source-map-support": { 3954 | "version": "0.5.13", 3955 | "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", 3956 | "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", 3957 | "dev": true, 3958 | "dependencies": { 3959 | "buffer-from": "^1.0.0", 3960 | "source-map": "^0.6.0" 3961 | } 3962 | }, 3963 | "node_modules/sprintf-js": { 3964 | "version": "1.0.3", 3965 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 3966 | "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", 3967 | "dev": true 3968 | }, 3969 | "node_modules/stack-utils": { 3970 | "version": "2.0.6", 3971 | "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", 3972 | "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", 3973 | "dev": true, 3974 | "dependencies": { 3975 | "escape-string-regexp": "^2.0.0" 3976 | }, 3977 | "engines": { 3978 | "node": ">=10" 3979 | } 3980 | }, 3981 | "node_modules/string-length": { 3982 | "version": "4.0.2", 3983 | "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", 3984 | "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", 3985 | "dev": true, 3986 | "dependencies": { 3987 | "char-regex": "^1.0.2", 3988 | "strip-ansi": "^6.0.0" 3989 | }, 3990 | "engines": { 3991 | "node": ">=10" 3992 | } 3993 | }, 3994 | "node_modules/string-width": { 3995 | "version": "4.2.3", 3996 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 3997 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 3998 | "dev": true, 3999 | "dependencies": { 4000 | "emoji-regex": "^8.0.0", 4001 | "is-fullwidth-code-point": "^3.0.0", 4002 | "strip-ansi": "^6.0.1" 4003 | }, 4004 | "engines": { 4005 | "node": ">=8" 4006 | } 4007 | }, 4008 | "node_modules/strip-ansi": { 4009 | "version": "6.0.1", 4010 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 4011 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 4012 | "dev": true, 4013 | "dependencies": { 4014 | "ansi-regex": "^5.0.1" 4015 | }, 4016 | "engines": { 4017 | "node": ">=8" 4018 | } 4019 | }, 4020 | "node_modules/strip-bom": { 4021 | "version": "4.0.0", 4022 | "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", 4023 | "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", 4024 | "dev": true, 4025 | "engines": { 4026 | "node": ">=8" 4027 | } 4028 | }, 4029 | "node_modules/strip-final-newline": { 4030 | "version": "2.0.0", 4031 | "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", 4032 | "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", 4033 | "dev": true, 4034 | "engines": { 4035 | "node": ">=6" 4036 | } 4037 | }, 4038 | "node_modules/strip-json-comments": { 4039 | "version": "3.1.1", 4040 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 4041 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 4042 | "dev": true, 4043 | "engines": { 4044 | "node": ">=8" 4045 | }, 4046 | "funding": { 4047 | "url": "https://github.com/sponsors/sindresorhus" 4048 | } 4049 | }, 4050 | "node_modules/supports-color": { 4051 | "version": "7.2.0", 4052 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 4053 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 4054 | "dev": true, 4055 | "dependencies": { 4056 | "has-flag": "^4.0.0" 4057 | }, 4058 | "engines": { 4059 | "node": ">=8" 4060 | } 4061 | }, 4062 | "node_modules/supports-preserve-symlinks-flag": { 4063 | "version": "1.0.0", 4064 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 4065 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", 4066 | "dev": true, 4067 | "engines": { 4068 | "node": ">= 0.4" 4069 | }, 4070 | "funding": { 4071 | "url": "https://github.com/sponsors/ljharb" 4072 | } 4073 | }, 4074 | "node_modules/symbol-tree": { 4075 | "version": "3.2.4", 4076 | "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", 4077 | "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", 4078 | "dev": true 4079 | }, 4080 | "node_modules/test-exclude": { 4081 | "version": "6.0.0", 4082 | "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", 4083 | "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", 4084 | "dev": true, 4085 | "dependencies": { 4086 | "@istanbuljs/schema": "^0.1.2", 4087 | "glob": "^7.1.4", 4088 | "minimatch": "^3.0.4" 4089 | }, 4090 | "engines": { 4091 | "node": ">=8" 4092 | } 4093 | }, 4094 | "node_modules/tmpl": { 4095 | "version": "1.0.5", 4096 | "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", 4097 | "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", 4098 | "dev": true 4099 | }, 4100 | "node_modules/to-regex-range": { 4101 | "version": "5.0.1", 4102 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 4103 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 4104 | "dev": true, 4105 | "dependencies": { 4106 | "is-number": "^7.0.0" 4107 | }, 4108 | "engines": { 4109 | "node": ">=8.0" 4110 | } 4111 | }, 4112 | "node_modules/tough-cookie": { 4113 | "version": "4.1.4", 4114 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz", 4115 | "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==", 4116 | "dev": true, 4117 | "dependencies": { 4118 | "psl": "^1.1.33", 4119 | "punycode": "^2.1.1", 4120 | "universalify": "^0.2.0", 4121 | "url-parse": "^1.5.3" 4122 | }, 4123 | "engines": { 4124 | "node": ">=6" 4125 | } 4126 | }, 4127 | "node_modules/tr46": { 4128 | "version": "3.0.0", 4129 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz", 4130 | "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", 4131 | "dev": true, 4132 | "dependencies": { 4133 | "punycode": "^2.1.1" 4134 | }, 4135 | "engines": { 4136 | "node": ">=12" 4137 | } 4138 | }, 4139 | "node_modules/ts-jest": { 4140 | "version": "29.2.6", 4141 | "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.2.6.tgz", 4142 | "integrity": "sha512-yTNZVZqc8lSixm+QGVFcPe6+yj7+TWZwIesuOWvfcn4B9bz5x4NDzVCQQjOs7Hfouu36aEqfEbo9Qpo+gq8dDg==", 4143 | "dev": true, 4144 | "dependencies": { 4145 | "bs-logger": "^0.2.6", 4146 | "ejs": "^3.1.10", 4147 | "fast-json-stable-stringify": "^2.1.0", 4148 | "jest-util": "^29.0.0", 4149 | "json5": "^2.2.3", 4150 | "lodash.memoize": "^4.1.2", 4151 | "make-error": "^1.3.6", 4152 | "semver": "^7.7.1", 4153 | "yargs-parser": "^21.1.1" 4154 | }, 4155 | "bin": { 4156 | "ts-jest": "cli.js" 4157 | }, 4158 | "engines": { 4159 | "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0" 4160 | }, 4161 | "peerDependencies": { 4162 | "@babel/core": ">=7.0.0-beta.0 <8", 4163 | "@jest/transform": "^29.0.0", 4164 | "@jest/types": "^29.0.0", 4165 | "babel-jest": "^29.0.0", 4166 | "jest": "^29.0.0", 4167 | "typescript": ">=4.3 <6" 4168 | }, 4169 | "peerDependenciesMeta": { 4170 | "@babel/core": { 4171 | "optional": true 4172 | }, 4173 | "@jest/transform": { 4174 | "optional": true 4175 | }, 4176 | "@jest/types": { 4177 | "optional": true 4178 | }, 4179 | "babel-jest": { 4180 | "optional": true 4181 | }, 4182 | "esbuild": { 4183 | "optional": true 4184 | } 4185 | } 4186 | }, 4187 | "node_modules/ts-jest/node_modules/semver": { 4188 | "version": "7.7.1", 4189 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", 4190 | "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", 4191 | "dev": true, 4192 | "bin": { 4193 | "semver": "bin/semver.js" 4194 | }, 4195 | "engines": { 4196 | "node": ">=10" 4197 | } 4198 | }, 4199 | "node_modules/type-detect": { 4200 | "version": "4.0.8", 4201 | "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", 4202 | "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", 4203 | "dev": true, 4204 | "engines": { 4205 | "node": ">=4" 4206 | } 4207 | }, 4208 | "node_modules/type-fest": { 4209 | "version": "0.21.3", 4210 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", 4211 | "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", 4212 | "dev": true, 4213 | "engines": { 4214 | "node": ">=10" 4215 | }, 4216 | "funding": { 4217 | "url": "https://github.com/sponsors/sindresorhus" 4218 | } 4219 | }, 4220 | "node_modules/typescript": { 4221 | "version": "5.8.2", 4222 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz", 4223 | "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==", 4224 | "dev": true, 4225 | "bin": { 4226 | "tsc": "bin/tsc", 4227 | "tsserver": "bin/tsserver" 4228 | }, 4229 | "engines": { 4230 | "node": ">=14.17" 4231 | } 4232 | }, 4233 | "node_modules/undici-types": { 4234 | "version": "6.20.0", 4235 | "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", 4236 | "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", 4237 | "dev": true 4238 | }, 4239 | "node_modules/universalify": { 4240 | "version": "0.2.0", 4241 | "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", 4242 | "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==", 4243 | "dev": true, 4244 | "engines": { 4245 | "node": ">= 4.0.0" 4246 | } 4247 | }, 4248 | "node_modules/update-browserslist-db": { 4249 | "version": "1.1.3", 4250 | "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz", 4251 | "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==", 4252 | "dev": true, 4253 | "funding": [ 4254 | { 4255 | "type": "opencollective", 4256 | "url": "https://opencollective.com/browserslist" 4257 | }, 4258 | { 4259 | "type": "tidelift", 4260 | "url": "https://tidelift.com/funding/github/npm/browserslist" 4261 | }, 4262 | { 4263 | "type": "github", 4264 | "url": "https://github.com/sponsors/ai" 4265 | } 4266 | ], 4267 | "dependencies": { 4268 | "escalade": "^3.2.0", 4269 | "picocolors": "^1.1.1" 4270 | }, 4271 | "bin": { 4272 | "update-browserslist-db": "cli.js" 4273 | }, 4274 | "peerDependencies": { 4275 | "browserslist": ">= 4.21.0" 4276 | } 4277 | }, 4278 | "node_modules/url-parse": { 4279 | "version": "1.5.10", 4280 | "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", 4281 | "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", 4282 | "dev": true, 4283 | "dependencies": { 4284 | "querystringify": "^2.1.1", 4285 | "requires-port": "^1.0.0" 4286 | } 4287 | }, 4288 | "node_modules/v8-to-istanbul": { 4289 | "version": "9.3.0", 4290 | "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", 4291 | "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", 4292 | "dev": true, 4293 | "dependencies": { 4294 | "@jridgewell/trace-mapping": "^0.3.12", 4295 | "@types/istanbul-lib-coverage": "^2.0.1", 4296 | "convert-source-map": "^2.0.0" 4297 | }, 4298 | "engines": { 4299 | "node": ">=10.12.0" 4300 | } 4301 | }, 4302 | "node_modules/w3c-xmlserializer": { 4303 | "version": "4.0.0", 4304 | "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz", 4305 | "integrity": "sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==", 4306 | "dev": true, 4307 | "dependencies": { 4308 | "xml-name-validator": "^4.0.0" 4309 | }, 4310 | "engines": { 4311 | "node": ">=14" 4312 | } 4313 | }, 4314 | "node_modules/walker": { 4315 | "version": "1.0.8", 4316 | "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", 4317 | "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", 4318 | "dev": true, 4319 | "dependencies": { 4320 | "makeerror": "1.0.12" 4321 | } 4322 | }, 4323 | "node_modules/webidl-conversions": { 4324 | "version": "7.0.0", 4325 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", 4326 | "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", 4327 | "dev": true, 4328 | "engines": { 4329 | "node": ">=12" 4330 | } 4331 | }, 4332 | "node_modules/whatwg-encoding": { 4333 | "version": "2.0.0", 4334 | "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz", 4335 | "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==", 4336 | "dev": true, 4337 | "dependencies": { 4338 | "iconv-lite": "0.6.3" 4339 | }, 4340 | "engines": { 4341 | "node": ">=12" 4342 | } 4343 | }, 4344 | "node_modules/whatwg-mimetype": { 4345 | "version": "3.0.0", 4346 | "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", 4347 | "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", 4348 | "dev": true, 4349 | "engines": { 4350 | "node": ">=12" 4351 | } 4352 | }, 4353 | "node_modules/whatwg-url": { 4354 | "version": "11.0.0", 4355 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", 4356 | "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", 4357 | "dev": true, 4358 | "dependencies": { 4359 | "tr46": "^3.0.0", 4360 | "webidl-conversions": "^7.0.0" 4361 | }, 4362 | "engines": { 4363 | "node": ">=12" 4364 | } 4365 | }, 4366 | "node_modules/which": { 4367 | "version": "2.0.2", 4368 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 4369 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 4370 | "dev": true, 4371 | "dependencies": { 4372 | "isexe": "^2.0.0" 4373 | }, 4374 | "bin": { 4375 | "node-which": "bin/node-which" 4376 | }, 4377 | "engines": { 4378 | "node": ">= 8" 4379 | } 4380 | }, 4381 | "node_modules/wrap-ansi": { 4382 | "version": "7.0.0", 4383 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 4384 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 4385 | "dev": true, 4386 | "dependencies": { 4387 | "ansi-styles": "^4.0.0", 4388 | "string-width": "^4.1.0", 4389 | "strip-ansi": "^6.0.0" 4390 | }, 4391 | "engines": { 4392 | "node": ">=10" 4393 | }, 4394 | "funding": { 4395 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 4396 | } 4397 | }, 4398 | "node_modules/wrappy": { 4399 | "version": "1.0.2", 4400 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 4401 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 4402 | "dev": true 4403 | }, 4404 | "node_modules/write-file-atomic": { 4405 | "version": "4.0.2", 4406 | "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", 4407 | "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", 4408 | "dev": true, 4409 | "dependencies": { 4410 | "imurmurhash": "^0.1.4", 4411 | "signal-exit": "^3.0.7" 4412 | }, 4413 | "engines": { 4414 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0" 4415 | } 4416 | }, 4417 | "node_modules/ws": { 4418 | "version": "8.18.1", 4419 | "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.1.tgz", 4420 | "integrity": "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==", 4421 | "dev": true, 4422 | "engines": { 4423 | "node": ">=10.0.0" 4424 | }, 4425 | "peerDependencies": { 4426 | "bufferutil": "^4.0.1", 4427 | "utf-8-validate": ">=5.0.2" 4428 | }, 4429 | "peerDependenciesMeta": { 4430 | "bufferutil": { 4431 | "optional": true 4432 | }, 4433 | "utf-8-validate": { 4434 | "optional": true 4435 | } 4436 | } 4437 | }, 4438 | "node_modules/xml-name-validator": { 4439 | "version": "4.0.0", 4440 | "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz", 4441 | "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", 4442 | "dev": true, 4443 | "engines": { 4444 | "node": ">=12" 4445 | } 4446 | }, 4447 | "node_modules/xmlchars": { 4448 | "version": "2.2.0", 4449 | "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", 4450 | "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", 4451 | "dev": true 4452 | }, 4453 | "node_modules/y18n": { 4454 | "version": "5.0.8", 4455 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 4456 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", 4457 | "dev": true, 4458 | "engines": { 4459 | "node": ">=10" 4460 | } 4461 | }, 4462 | "node_modules/yallist": { 4463 | "version": "3.1.1", 4464 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", 4465 | "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", 4466 | "dev": true 4467 | }, 4468 | "node_modules/yargs": { 4469 | "version": "17.7.2", 4470 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", 4471 | "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", 4472 | "dev": true, 4473 | "dependencies": { 4474 | "cliui": "^8.0.1", 4475 | "escalade": "^3.1.1", 4476 | "get-caller-file": "^2.0.5", 4477 | "require-directory": "^2.1.1", 4478 | "string-width": "^4.2.3", 4479 | "y18n": "^5.0.5", 4480 | "yargs-parser": "^21.1.1" 4481 | }, 4482 | "engines": { 4483 | "node": ">=12" 4484 | } 4485 | }, 4486 | "node_modules/yargs-parser": { 4487 | "version": "21.1.1", 4488 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", 4489 | "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", 4490 | "dev": true, 4491 | "engines": { 4492 | "node": ">=12" 4493 | } 4494 | }, 4495 | "node_modules/yocto-queue": { 4496 | "version": "0.1.0", 4497 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 4498 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 4499 | "dev": true, 4500 | "engines": { 4501 | "node": ">=10" 4502 | }, 4503 | "funding": { 4504 | "url": "https://github.com/sponsors/sindresorhus" 4505 | } 4506 | } 4507 | } 4508 | } 4509 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ghost-cache", 3 | "displayName": "GhostCache API Cache", 4 | "version": "1.2.3", 5 | "description": "A lightweight auto-caching wrapper for fetch() and Axios with multi-storage support (localStorage, sessionStorage, IndexedDB, Redis)", 6 | "main": "dist/index.js", 7 | "types": "index.d.ts", 8 | "repository": { 9 | "type": "git", 10 | "url": "https://github.com/hoangsonww/GhostCache-API-Cache.git" 11 | }, 12 | "bugs": { 13 | "url": "https://github.com/hoangsonww/GhostCache-API-Cache/issues" 14 | }, 15 | "homepage": "https://github.com/hoangsonww/GhostCache-API-Cache#readme", 16 | "scripts": { 17 | "build": "tsc", 18 | "test": "jest --coverage", 19 | "prepublishOnly": "npm run build", 20 | "demo": "node __tests__/demo.js", 21 | "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,scss,md,html}\"" 22 | }, 23 | "type": "module", 24 | "keywords": [ 25 | "cache", 26 | "fetch", 27 | "axios", 28 | "ghost-cache", 29 | "localStorage", 30 | "sessionStorage", 31 | "IndexedDB", 32 | "Redis", 33 | "api-cache", 34 | "performance" 35 | ], 36 | "author": "Son Nguyen ", 37 | "license": "MIT", 38 | "engines": { 39 | "node": ">=14.0.0", 40 | "npm": ">=6.0.0" 41 | }, 42 | "files": [ 43 | "dist", 44 | "index.d.ts" 45 | ], 46 | "devDependencies": { 47 | "@types/jest": "^29.0.0", 48 | "cross-fetch": "^4.1.0", 49 | "jest": "^29.0.0", 50 | "jest-environment-jsdom": "^29.7.0", 51 | "ts-jest": "^29.0.0", 52 | "typescript": "^5.0.0" 53 | }, 54 | "dependencies": { 55 | "axios": "^1.3.0", 56 | "ghost-cache": "^1.2.3", 57 | "prettier": "^3.5.3", 58 | "redis": "^4.0.0" 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/ghostCache.ts: -------------------------------------------------------------------------------- 1 | import axios, { 2 | AxiosInstance, 3 | AxiosResponse, 4 | InternalAxiosRequestConfig, 5 | } from "axios"; 6 | import { IStorageAdapter } from "./storage/IStorageAdapter.js"; 7 | import { LocalStorageAdapter } from "./storage/LocalStorageAdapter.js"; 8 | import { SessionStorageAdapter } from "./storage/SessionStorageAdapter.js"; 9 | import { InMemoryStorageAdapter } from "./storage/InMemoryStorageAdapter.js"; 10 | 11 | // For universal usage in Node or browser 12 | const globalObj: any = globalThis; 13 | 14 | // Polyfill fetch if not defined 15 | if (typeof globalObj.fetch === "undefined") { 16 | try { 17 | const fetchPoly = require("cross-fetch").fetch; 18 | globalObj.fetch = fetchPoly; 19 | } catch (err) { 20 | throw new Error( 21 | "fetch is not defined. Install cross-fetch or another polyfill.", 22 | ); 23 | } 24 | } 25 | 26 | // Polyfill Response if not defined 27 | if (typeof globalObj.Response === "undefined") { 28 | try { 29 | const { Response: FetchResponse } = require("cross-fetch"); 30 | globalObj.Response = FetchResponse; 31 | } catch (err) { 32 | throw new Error( 33 | "Response is not defined. Install cross-fetch or another polyfill.", 34 | ); 35 | } 36 | } 37 | 38 | export interface GhostCacheOptions { 39 | ttl?: number; 40 | persistent?: boolean; 41 | maxEntries?: number; 42 | storage?: "localStorage" | "sessionStorage" | IStorageAdapter; 43 | } 44 | 45 | interface CacheEntry { 46 | timestamp: number; 47 | data: string; 48 | } 49 | 50 | const inMemoryCache = new Map(); 51 | 52 | const defaultConfig: Required = { 53 | ttl: 60000, 54 | persistent: false, 55 | maxEntries: 100, 56 | storage: new InMemoryStorageAdapter(), 57 | }; 58 | 59 | let storageAdapter: IStorageAdapter | null = null; 60 | let originalFetch: typeof globalObj.fetch | null = null; 61 | let axiosInstances: AxiosInstance[] = []; 62 | 63 | /** 64 | * Picks correct storage adapter based on config. 65 | */ 66 | function determineStorageAdapter( 67 | opt: GhostCacheOptions["storage"], 68 | ): IStorageAdapter { 69 | if (typeof opt === "object") return opt; 70 | switch (opt) { 71 | case "localStorage": 72 | return new LocalStorageAdapter(); 73 | case "sessionStorage": 74 | return new SessionStorageAdapter(); 75 | default: 76 | return new InMemoryStorageAdapter(); 77 | } 78 | } 79 | 80 | /** 81 | * Enable GhostCache: intercept fetch and (optionally) Axios requests. 82 | */ 83 | export function enableGhostCache(options: GhostCacheOptions = {}): void { 84 | // Merge user options into defaults 85 | Object.assign(defaultConfig, options); 86 | 87 | // Setup storage adapter if persistent 88 | storageAdapter = defaultConfig.persistent 89 | ? determineStorageAdapter(defaultConfig.storage) 90 | : null; 91 | 92 | // Intercept global fetch if we haven't already 93 | if (!originalFetch) { 94 | originalFetch = globalObj.fetch.bind(globalObj); 95 | globalObj.fetch = async (url: RequestInfo, config?: RequestInit) => { 96 | return handleRequest({ url, config }); 97 | }; 98 | } 99 | 100 | // Set up Axios interceptors 101 | axiosInstances.forEach((instance) => { 102 | instance.interceptors.request.use( 103 | async (config: InternalAxiosRequestConfig) => { 104 | const safeUrl: string = config.url ?? ""; 105 | const cacheKey = JSON.stringify({ 106 | url: safeUrl, 107 | params: config.params, 108 | method: config.method, 109 | }); 110 | 111 | // Check in-memory cache 112 | if (inMemoryCache.has(cacheKey)) { 113 | const entry = inMemoryCache.get(cacheKey)!; 114 | if (Date.now() - entry.timestamp < defaultConfig.ttl) { 115 | console.log( 116 | `[GhostCache] Using in-memory cache for request: ${safeUrl}`, 117 | ); 118 | return Promise.reject({ 119 | __ghostCache__: true, 120 | data: JSON.parse(entry.data), 121 | config, 122 | }); 123 | } else { 124 | inMemoryCache.delete(cacheKey); 125 | } 126 | } 127 | 128 | // Check persistent storage 129 | if (storageAdapter) { 130 | const stored = await storageAdapter.getItem(cacheKey); 131 | if (stored) { 132 | const parsed = JSON.parse(stored) as CacheEntry; 133 | if (Date.now() - parsed.timestamp < defaultConfig.ttl) { 134 | console.log( 135 | `[GhostCache] Using persistent cache for request: ${safeUrl}`, 136 | ); 137 | return Promise.reject({ 138 | __ghostCache__: true, 139 | data: JSON.parse(parsed.data), 140 | config, 141 | }); 142 | } else { 143 | await storageAdapter.removeItem(cacheKey); 144 | } 145 | } 146 | } 147 | 148 | return config; 149 | }, 150 | (err: unknown) => Promise.reject(err), 151 | ); 152 | 153 | instance.interceptors.response.use( 154 | (res: AxiosResponse) => { 155 | const safeUrl: string = res.config.url ?? ""; 156 | const cacheKey = JSON.stringify({ 157 | url: safeUrl, 158 | params: res.config.params, 159 | method: res.config.method, 160 | }); 161 | cacheResponse(cacheKey, JSON.stringify(res.data)); 162 | return res; 163 | }, 164 | (err: unknown) => { 165 | const e: any = err; 166 | if (e && e.__ghostCache__ && e.data) { 167 | return Promise.resolve({ 168 | data: e.data, 169 | status: 200, 170 | statusText: "OK", 171 | headers: {}, 172 | config: e.config, 173 | } as AxiosResponse); 174 | } 175 | return Promise.reject(err); 176 | }, 177 | ); 178 | }); 179 | } 180 | 181 | /** 182 | * Handle fetch() requests with caching. 183 | */ 184 | async function handleRequest(request: { 185 | url: RequestInfo; 186 | config?: RequestInit; 187 | }): Promise { 188 | const cacheKey = JSON.stringify(request); 189 | 190 | // In-memory cache check 191 | if (inMemoryCache.has(cacheKey)) { 192 | const entry = inMemoryCache.get(cacheKey)!; 193 | if (Date.now() - entry.timestamp < defaultConfig.ttl) { 194 | console.log( 195 | `[GhostCache] (fetch) Using in-memory cache for: ${JSON.stringify( 196 | request, 197 | )}`, 198 | ); 199 | return new globalObj.Response(entry.data, { 200 | status: 200, 201 | headers: { "Content-Type": "application/json" }, 202 | }); 203 | } else { 204 | inMemoryCache.delete(cacheKey); 205 | } 206 | } 207 | 208 | // Persistent cache check 209 | if (storageAdapter) { 210 | const stored = await storageAdapter.getItem(cacheKey); 211 | if (stored) { 212 | const entry = JSON.parse(stored) as CacheEntry; 213 | if (Date.now() - entry.timestamp < defaultConfig.ttl) { 214 | console.log( 215 | `[GhostCache] (fetch) Using persistent cache for: ${JSON.stringify( 216 | request, 217 | )}`, 218 | ); 219 | return new globalObj.Response(entry.data, { 220 | status: 200, 221 | headers: { "Content-Type": "application/json" }, 222 | }); 223 | } else { 224 | await storageAdapter.removeItem(cacheKey); 225 | } 226 | } 227 | } 228 | 229 | console.log( 230 | `[GhostCache] (fetch) Fetching from network: ${JSON.stringify(request)}`, 231 | ); 232 | // Network fetch 233 | if (!originalFetch) { 234 | throw new Error("GhostCache: original fetch is missing."); 235 | } 236 | const response = await originalFetch(request.url, request.config); 237 | const cloned = response.clone(); 238 | const textData = await cloned.text(); 239 | cacheResponse(cacheKey, textData); 240 | return response; 241 | } 242 | 243 | /** 244 | * Save to in-memory cache and persistent storage. 245 | */ 246 | function cacheResponse(cacheKey: string, data: string) { 247 | const entry: CacheEntry = { timestamp: Date.now(), data }; 248 | inMemoryCache.set(cacheKey, entry); 249 | 250 | // Enforce maximum cache entries 251 | if (inMemoryCache.size > defaultConfig.maxEntries) { 252 | const firstKey = inMemoryCache.keys().next().value; 253 | if (firstKey) inMemoryCache.delete(firstKey); 254 | } 255 | 256 | if (storageAdapter) { 257 | storageAdapter.setItem(cacheKey, JSON.stringify(entry)); 258 | } 259 | 260 | console.log(`[GhostCache] Cached response for key: ${cacheKey}`); 261 | } 262 | 263 | /** 264 | * Manually set a cache entry. 265 | */ 266 | export async function setCache(key: string, value: any): Promise { 267 | const cacheKey = JSON.stringify(key); 268 | const entry: CacheEntry = { 269 | timestamp: Date.now(), 270 | data: JSON.stringify(value), 271 | }; 272 | inMemoryCache.set(cacheKey, entry); 273 | if (storageAdapter) { 274 | await storageAdapter.setItem(cacheKey, JSON.stringify(entry)); 275 | } 276 | console.log(`[GhostCache] Manually cached key: ${cacheKey}`); 277 | } 278 | 279 | /** 280 | * Retrieve a cache entry. 281 | */ 282 | export async function getCache(key: string): Promise { 283 | const cacheKey = JSON.stringify(key); 284 | if (inMemoryCache.has(cacheKey)) { 285 | const entry = inMemoryCache.get(cacheKey)!; 286 | console.log( 287 | `[GhostCache] Retrieved from in-memory cache for key: ${cacheKey}`, 288 | ); 289 | return JSON.parse(entry.data) as T; 290 | } 291 | if (storageAdapter) { 292 | const stored = await storageAdapter.getItem(cacheKey); 293 | if (stored) { 294 | const entry = JSON.parse(stored) as CacheEntry; 295 | console.log( 296 | `[GhostCache] Retrieved from persistent cache for key: ${cacheKey}`, 297 | ); 298 | return JSON.parse(entry.data) as T; 299 | } 300 | } 301 | return null; 302 | } 303 | 304 | /** 305 | * Clear all cache entries. 306 | */ 307 | export function clearGhostCache(): void { 308 | inMemoryCache.clear(); 309 | if (storageAdapter) { 310 | storageAdapter.clear(); 311 | } 312 | console.log("[GhostCache] Cache cleared"); 313 | } 314 | 315 | /** 316 | * Disable GhostCache and restore the original fetch. 317 | */ 318 | export function disableGhostCache(): void { 319 | if (originalFetch) { 320 | globalObj.fetch = originalFetch; 321 | originalFetch = null; 322 | } 323 | axiosInstances = []; 324 | clearGhostCache(); 325 | console.log("[GhostCache] Disabled and restored original fetch"); 326 | } 327 | 328 | /** 329 | * Register an Axios instance to intercept its requests. 330 | */ 331 | export function registerAxios(instance: AxiosInstance): void { 332 | axiosInstances.push(instance); 333 | console.log("[GhostCache] Registered an Axios instance"); 334 | } 335 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export { 2 | enableGhostCache, 3 | disableGhostCache, 4 | clearGhostCache, 5 | setCache, 6 | getCache, 7 | registerAxios, 8 | } from "./ghostCache.js"; 9 | 10 | export type { GhostCacheOptions } from "./ghostCache.js"; 11 | -------------------------------------------------------------------------------- /src/storage/IStorageAdapter.ts: -------------------------------------------------------------------------------- 1 | export interface IStorageAdapter { 2 | getItem(key: string): Promise; 3 | setItem(key: string, value: string): Promise; 4 | removeItem(key: string): Promise; 5 | clear(): Promise; 6 | } 7 | -------------------------------------------------------------------------------- /src/storage/InMemoryStorageAdapter.ts: -------------------------------------------------------------------------------- 1 | import { IStorageAdapter } from "./IStorageAdapter.js"; 2 | 3 | export class InMemoryStorageAdapter implements IStorageAdapter { 4 | private store: Map = new Map(); 5 | 6 | async getItem(key: string): Promise { 7 | return this.store.has(key) ? this.store.get(key)! : null; 8 | } 9 | 10 | async setItem(key: string, value: string): Promise { 11 | this.store.set(key, value); 12 | } 13 | 14 | async removeItem(key: string): Promise { 15 | this.store.delete(key); 16 | } 17 | 18 | async clear(): Promise { 19 | this.store.clear(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/storage/IndexedDBAdapter.ts: -------------------------------------------------------------------------------- 1 | import { IStorageAdapter } from "./IStorageAdapter.js"; 2 | 3 | const DB_NAME = "GhostCacheDB"; 4 | const STORE_NAME = "CacheStore"; 5 | const DB_VERSION = 1; 6 | 7 | function openDB(): Promise { 8 | return new Promise((resolve, reject) => { 9 | const request = indexedDB.open(DB_NAME, DB_VERSION); 10 | request.onupgradeneeded = function () { 11 | const db = request.result; 12 | if (!db.objectStoreNames.contains(STORE_NAME)) { 13 | db.createObjectStore(STORE_NAME); 14 | } 15 | }; 16 | request.onsuccess = function () { 17 | resolve(request.result); 18 | }; 19 | request.onerror = function () { 20 | reject(request.error); 21 | }; 22 | }); 23 | } 24 | 25 | export class IndexedDBAdapter implements IStorageAdapter { 26 | private dbPromise: Promise; 27 | 28 | constructor() { 29 | this.dbPromise = openDB(); 30 | } 31 | 32 | async getItem(key: string): Promise { 33 | const db = await this.dbPromise; 34 | return new Promise((resolve, reject) => { 35 | const tx = db.transaction(STORE_NAME, "readonly"); 36 | const store = tx.objectStore(STORE_NAME); 37 | const request = store.get(key); 38 | request.onsuccess = () => { 39 | resolve(request.result || null); 40 | }; 41 | request.onerror = () => reject(request.error); 42 | }); 43 | } 44 | 45 | async setItem(key: string, value: string): Promise { 46 | const db = await this.dbPromise; 47 | return new Promise((resolve, reject) => { 48 | const tx = db.transaction(STORE_NAME, "readwrite"); 49 | const store = tx.objectStore(STORE_NAME); 50 | const request = store.put(value, key); 51 | request.onsuccess = () => resolve(); 52 | request.onerror = () => reject(request.error); 53 | }); 54 | } 55 | 56 | async removeItem(key: string): Promise { 57 | const db = await this.dbPromise; 58 | return new Promise((resolve, reject) => { 59 | const tx = db.transaction(STORE_NAME, "readwrite"); 60 | const store = tx.objectStore(STORE_NAME); 61 | const request = store.delete(key); 62 | request.onsuccess = () => resolve(); 63 | request.onerror = () => reject(request.error); 64 | }); 65 | } 66 | 67 | async clear(): Promise { 68 | const db = await this.dbPromise; 69 | return new Promise((resolve, reject) => { 70 | const tx = db.transaction(STORE_NAME, "readwrite"); 71 | const store = tx.objectStore(STORE_NAME); 72 | const request = store.clear(); 73 | request.onsuccess = () => resolve(); 74 | request.onerror = () => reject(request.error); 75 | }); 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /src/storage/LocalStorageAdapter.ts: -------------------------------------------------------------------------------- 1 | import { IStorageAdapter } from "./IStorageAdapter.js"; 2 | 3 | export class LocalStorageAdapter implements IStorageAdapter { 4 | async getItem(key: string): Promise { 5 | return Promise.resolve(localStorage.getItem(key)); 6 | } 7 | 8 | async setItem(key: string, value: string): Promise { 9 | localStorage.setItem(key, value); 10 | return Promise.resolve(); 11 | } 12 | 13 | async removeItem(key: string): Promise { 14 | localStorage.removeItem(key); 15 | return Promise.resolve(); 16 | } 17 | 18 | async clear(): Promise { 19 | localStorage.clear(); 20 | return Promise.resolve(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/storage/RedisAdapter.ts: -------------------------------------------------------------------------------- 1 | import { IStorageAdapter } from "./IStorageAdapter.js"; 2 | 3 | export class RedisAdapter implements IStorageAdapter { 4 | private client: any; 5 | 6 | constructor(client: any) { 7 | if (!client) { 8 | throw new Error("A valid Redis client must be provided."); 9 | } 10 | this.client = client; 11 | } 12 | 13 | async getItem(key: string): Promise { 14 | return this.client.get(key); 15 | } 16 | 17 | async setItem(key: string, value: string): Promise { 18 | await this.client.set(key, value); 19 | } 20 | 21 | async removeItem(key: string): Promise { 22 | await this.client.del(key); 23 | } 24 | 25 | async clear(): Promise { 26 | // WARNING: flushAll clears the entire Redis database! 27 | await this.client.flushAll(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/storage/SessionStorageAdapter.ts: -------------------------------------------------------------------------------- 1 | import { IStorageAdapter } from "./IStorageAdapter.js"; 2 | 3 | export class SessionStorageAdapter implements IStorageAdapter { 4 | async getItem(key: string): Promise { 5 | return Promise.resolve(sessionStorage.getItem(key)); 6 | } 7 | 8 | async setItem(key: string, value: string): Promise { 9 | sessionStorage.setItem(key, value); 10 | return Promise.resolve(); 11 | } 12 | 13 | async removeItem(key: string): Promise { 14 | sessionStorage.removeItem(key); 15 | return Promise.resolve(); 16 | } 17 | 18 | async clear(): Promise { 19 | sessionStorage.clear(); 20 | return Promise.resolve(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | // Node’s next-gen ESM 4 | "module": "NodeNext", 5 | "moduleResolution": "NodeNext", 6 | 7 | // Output modern ES. Node 18 supports ES2020 or higher 8 | "target": "ES2020", 9 | 10 | // Strict type-checking 11 | "strict": true, 12 | "esModuleInterop": true, 13 | // Usually helps with external type definitions 14 | "skipLibCheck": true, 15 | // Force consistent file naming 16 | "forceConsistentCasingInFileNames": true, 17 | 18 | // Dist folder 19 | "outDir": "./dist", 20 | "rootDir": "./src", 21 | 22 | // Generate .d.ts for external use 23 | "declaration": true, 24 | "declarationMap": true 25 | }, 26 | // We compile only "src" and skip node_modules + tests 27 | "include": ["src"], 28 | "exclude": ["node_modules", "**/__tests__"] 29 | } 30 | --------------------------------------------------------------------------------