├── .gitignore
├── .idea
├── .gitignore
├── GhostIO-API-Prefetch.iml
├── modules.xml
└── vcs.xml
├── LICENSE
├── README.md
├── __tests__
├── demo.js
└── ghostIO.test.ts
├── dist
├── ghostIO.d.ts
├── ghostIO.d.ts.map
├── ghostIO.js
├── index.d.ts
├── index.d.ts.map
└── index.js
├── index.d.ts
├── package-lock.json
├── package.json
├── src
├── ghostIO.ts
└── index.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/*
--------------------------------------------------------------------------------
/.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/GhostIO-API-Prefetch.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 | # 👻 GhostIO – Invisible Background Data Prefetching
2 |
3 | [](https://www.npmjs.com/package/ghost-io)
4 | [](LICENSE)
5 | [](https://nodejs.org/)
6 | [](https://www.typescriptlang.org/)
7 |
8 | **GhostIO** is a smart background prefetching library that invisibly loads API data based on user behavior. By leveraging heuristics like hover, scroll, and idle detection, GhostIO speeds up your SPA or dashboard by preloading API responses before they’re requested.
9 |
10 | Currently available on NPM: [https://www.npmjs.com/package/ghost-io](https://www.npmjs.com/package/ghost-io)
11 |
12 | ---
13 |
14 | ## Table of Contents
15 |
16 | - [Features](#features)
17 | - [Installation](#installation)
18 | - [Usage](#usage)
19 | - [Basic Usage](#basic-usage)
20 | - [Prefetch on Hover, Scroll, & Idle](#prefetch-on-hover-scroll--idle)
21 | - [Axios Integration](#axios-integration)
22 | - [Manually Prefetching and Retrieving Cached Data](#manually-prefetching-and-retrieving-cached-data)
23 | - [API Reference](#api-reference)
24 | - [Testing](#testing)
25 | - [Building & Publishing](#building--publishing)
26 | - [Contributing](#contributing)
27 | - [License](#license)
28 | - [Final Remarks](#final-remarks)
29 |
30 | ---
31 |
32 | ## Features
33 |
34 | - **Invisible Prefetching:** Automatically preloads API data based on user behavior before it is needed.
35 | - **Heuristic-Driven:** Detects hover, scroll proximity, and idle network time to trigger prefetching.
36 | - **In-Memory Caching:** Caches prefetched responses for quick retrieval and deduplication.
37 | - **Concurrency Control:** Limits the number of simultaneous prefetch requests.
38 | - **Axios Integration:** Seamlessly integrate with Axios to intercept and reuse prefetched responses.
39 | - **Customizable:** Fully configurable behavior through an easy-to-use API.
40 | - **TypeScript Support:** Written in TypeScript with complete type definitions for robust development.
41 |
42 | ---
43 |
44 | ## Installation
45 |
46 | ### Prerequisites
47 |
48 | - Node.js v14 or higher
49 | - npm v6 or higher
50 |
51 | ### Via NPM
52 |
53 | ```bash
54 | npm install ghost-io
55 | ```
56 |
57 | ### Via Yarn
58 |
59 | ```bash
60 | yarn add ghost-io
61 | ```
62 |
63 | ---
64 |
65 | ## Usage
66 |
67 | GhostIO can be used to automatically prefetch API data based on various user interactions. Below are several use case examples.
68 |
69 | ### Basic Usage
70 |
71 | Create a new instance of GhostIO with default configuration:
72 |
73 | ```ts
74 | import { GhostIO } from "ghost-io";
75 |
76 | const ghost = new GhostIO();
77 | ```
78 |
79 | This initializes GhostIO with default settings:
80 |
81 | - Maximum cache size of 50 items.
82 | - Prefetching on hover and scroll enabled.
83 | - Idle prefetch triggered after 5000ms.
84 | - Concurrency limited to 3 simultaneous requests.
85 |
86 | ### Prefetch on Hover, Scroll, & Idle
87 |
88 | GhostIO listens for user interactions (hover, scroll, idle) on elements marked with a `data-prefetch` attribute.
89 |
90 | #### Example HTML
91 |
92 | ```html
93 |
94 | Dashboard
95 | ```
96 |
97 | #### How It Works
98 |
99 | - **Hover:** GhostIO listens for `mouseover` events on elements with `data-prefetch` and triggers prefetching.
100 | - **Scroll:** GhostIO checks for elements with `data-prefetch` that are near the viewport.
101 | - **Idle:** After a period of inactivity (configurable delay), GhostIO prefetches all resources marked with `data-prefetch`.
102 |
103 | ### Axios Integration
104 |
105 | Integrate GhostIO with your Axios instance to deduplicate requests and utilize cached data.
106 |
107 | ```ts
108 | import axios from "axios";
109 | import { GhostIO } from "ghost-io";
110 |
111 | const ghost = new GhostIO();
112 |
113 | // Create an Axios instance
114 | const api = axios.create({ baseURL: "https://api.example.com" });
115 |
116 | // Register the Axios instance with GhostIO
117 | ghost.registerAxios({ instance: api });
118 |
119 | // Now when you make requests, if the data has been prefetched,
120 | // GhostIO intercepts and serves cached data.
121 | api
122 | .get("/user-data")
123 | .then((response) => console.log("Axios fetched data:", response.data))
124 | .catch((error) => console.error("Axios error:", error));
125 | ```
126 |
127 | ### Manually Prefetching and Retrieving Cached Data
128 |
129 | You can manually trigger prefetching and later retrieve cached data.
130 |
131 | #### Manually Trigger Prefetch
132 |
133 | ```ts
134 | import { GhostIO } from "ghost-io";
135 |
136 | const ghost = new GhostIO();
137 | ghost
138 | .prefetch("/api/stats")
139 | .then(() => console.log("Successfully prefetched /api/stats"))
140 | .catch((err) => console.error("Prefetch error:", err));
141 | ```
142 |
143 | #### Retrieve Cached Data
144 |
145 | ```ts
146 | const cachedStats = ghost.get("/api/stats");
147 | if (cachedStats) {
148 | console.log("Cached stats:", cachedStats);
149 | } else {
150 | console.log("No cached data; fetch from API instead.");
151 | }
152 | ```
153 |
154 | ---
155 |
156 | ## API Reference
157 |
158 | ### `class GhostIO`
159 |
160 | - **Constructor:**
161 | `new GhostIO(config?: GhostIOConfig)`
162 | Initializes GhostIO with the following configurable options:
163 | - `maxCacheSize` (default: 50): Maximum number of prefetched items.
164 | - `prefetchOnHover` (default: true): Enable prefetching on hover events.
165 | - `prefetchOnScroll` (default: true): Enable prefetching when scrolling near elements.
166 | - `idlePrefetchDelay` (default: 5000): Delay (in ms) before prefetching when the user is idle.
167 | - `concurrencyLimit` (default: 3): Maximum number of simultaneous prefetch requests.
168 |
169 | ### Methods
170 |
171 | - **`prefetch(url: string): Promise`**
172 | Manually prefetch data from the specified URL.
173 |
174 | - **`get(url: string): any | null`**
175 | Returns the cached data for the given URL, or `null` if not cached.
176 |
177 | - **`clearCache(): void`**
178 | Clears the entire prefetch cache.
179 |
180 | - **`registerAxios(options: AxiosIntegrationOptions): void`**
181 | Integrates GhostIO with a provided Axios instance.
182 | _Parameters:_
183 | - `instance`: An Axios instance.
184 |
185 | ---
186 |
187 | ## Testing
188 |
189 | The package comes with a comprehensive Jest test suite.
190 |
191 | ### Run Tests
192 |
193 | 1. Install dependencies:
194 | ```bash
195 | npm install
196 | ```
197 | 2. Run tests:
198 | ```bash
199 | npm test
200 | ```
201 |
202 | Test files in the `__tests__` directory cover event-based prefetching, cache management, and Axios integration.
203 |
204 | ### Demo Script
205 |
206 | A demo script is included in the `__tests__` directory. To run the demo:
207 |
208 | ```bash
209 | npm run demo
210 | ```
211 |
212 | This will execute a series of prefetching scenarios to showcase GhostIO's capabilities.
213 |
214 | ---
215 |
216 | ## Building & Publishing
217 |
218 | ### Building
219 |
220 | Compile the TypeScript source code:
221 |
222 | ```bash
223 | npm run build
224 | ```
225 |
226 | ### Publishing
227 |
228 | 1. Log in to npm:
229 | ```bash
230 | npm login
231 | ```
232 | 2. Publish the package:
233 | ```bash
234 | npm publish --access public
235 | ```
236 |
237 | ---
238 |
239 | ## Contributing
240 |
241 | Contributions are welcome! Please follow these steps:
242 |
243 | 1. **Fork the Repository**
244 | 2. **Create a Feature Branch:**
245 | ```bash
246 | git checkout -b feature/my-new-feature
247 | ```
248 | 3. **Commit Your Changes**
249 | 4. **Submit a Pull Request**
250 |
251 | For major changes, please open an issue first to discuss your ideas.
252 |
253 | ---
254 |
255 | ## License
256 |
257 | This project is licensed under the MIT License.
258 |
259 | ---
260 |
261 | ## Final Remarks
262 |
263 | **GhostIO** enhances user experience by prefetching API data based on real user interactions such as hover, scroll, and idle time. With support for Axios integration and configurable options, it is perfect for SPAs, dashboards, and dynamic web applications where speed and responsiveness are key.
264 |
265 | Happy prefetching! 👻🚀
266 |
--------------------------------------------------------------------------------
/__tests__/demo.js:
--------------------------------------------------------------------------------
1 | import { GhostIO } from "ghost-io";
2 | import axios from "axios";
3 |
4 | // Create a GhostIO instance (user must provide full URLs)
5 | const ghost = new GhostIO({
6 | maxCacheSize: 20,
7 | concurrencyLimit: 2,
8 | idlePrefetchDelay: 4000,
9 | });
10 |
11 | // Optionally, integrate with an Axios instance
12 | const api = axios.create();
13 | ghost.registerAxios({ instance: api });
14 |
15 | // Prefetch using a full absolute URL (no baseURL handling)
16 | ghost
17 | .prefetch("https://pokeapi.co/api/v2/pokemon/ditto")
18 | .then(() => console.log("Prefetched Pokémon data for Ditto"))
19 | .catch((err) => console.error("Prefetch error:", err));
20 |
21 | // Retrieve cached data after a delay
22 | setTimeout(() => {
23 | const data = ghost.get("https://pokeapi.co/api/v2/pokemon/ditto");
24 | if (data) {
25 | console.log("Loaded Pokémon data from prefetch cache:", data);
26 | } else {
27 | console.log("No cached data for https://pokeapi.co/api/v2/pokemon/ditto");
28 | }
29 | }, 5000);
30 |
31 | // Should output something like:
32 | // > ghost-io@1.1.2 demo
33 | // > node __tests__/demo.js
34 | //
35 | // [GhostIO] Initialized with config: {
36 | // maxCacheSize: 20,
37 | // prefetchOnHover: true,
38 | // prefetchOnScroll: true,
39 | // idlePrefetchDelay: 4000,
40 | // concurrencyLimit: 2
41 | // }
42 | // [GhostIO] No DOM detected; ignoring hover/scroll events.
43 | // [GhostIO] Axios integrated successfully.
44 | // [GhostIO] Prefetching: https://pokeapi.co/api/v2/pokemon/ditto
45 | // [GhostIO] Stored in cache: https://pokeapi.co/api/v2/pokemon/ditto
46 | // [GhostIO] Prefetch succeeded for: https://pokeapi.co/api/v2/pokemon/ditto
47 | // Prefetched Pokémon data for Ditto
48 | // Loaded Pokémon data from prefetch cache: {
49 | // abilities: [
50 | // { ability: [Object], is_hidden: false, slot: 1 },
51 | // { ability: [Object], is_hidden: true, slot: 3 }
52 | // ],
53 | // base_experience: 101,
54 | // cries: {
55 | // latest: 'https://raw.githubusercontent.com/PokeAPI/cries/main/cries/pokemon/latest/132.ogg',
56 | // legacy: 'https://raw.githubusercontent.com/PokeAPI/cries/main/cries/pokemon/legacy/132.ogg'
57 | // },
58 | // forms: [
59 | // {
60 | // name: 'ditto',
61 | // url: 'https://pokeapi.co/api/v2/pokemon-form/132/'
62 | // }
63 | // ],
64 | // game_indices: [
65 | // { game_index: 76, version: [Object] },
66 | // { game_index: 76, version: [Object] },
67 | // { game_index: 76, version: [Object] },
68 | // { game_index: 132, version: [Object] },
69 | // { game_index: 132, version: [Object] },
70 | // { game_index: 132, version: [Object] },
71 | // { game_index: 132, version: [Object] },
72 | // { game_index: 132, version: [Object] },
73 | // { game_index: 132, version: [Object] },
74 | // { game_index: 132, version: [Object] },
75 | // { game_index: 132, version: [Object] },
76 | // { game_index: 132, version: [Object] },
77 | // { game_index: 132, version: [Object] },
78 | // { game_index: 132, version: [Object] },
79 | // { game_index: 132, version: [Object] },
80 | // { game_index: 132, version: [Object] },
81 | // { game_index: 132, version: [Object] },
82 | // { game_index: 132, version: [Object] },
83 | // { game_index: 132, version: [Object] },
84 | // { game_index: 132, version: [Object] }
85 | // ],
86 | // height: 3,
87 | // held_items: [
88 | // { item: [Object], version_details: [Array] },
89 | // { item: [Object], version_details: [Array] }
90 | // ],
91 | // id: 132,
92 | // is_default: true,
93 | // location_area_encounters: 'https://pokeapi.co/api/v2/pokemon/132/encounters',
94 | // moves: [ { move: [Object], version_group_details: [Array] } ],
95 | // name: 'ditto',
96 | // order: 214,
97 | // past_abilities: [],
98 | // past_types: [],
99 | // species: {
100 | // name: 'ditto',
101 | // url: 'https://pokeapi.co/api/v2/pokemon-species/132/'
102 | // },
103 | // sprites: {
104 | // back_default: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/132.png',
105 | // back_female: null,
106 | // back_shiny: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/shiny/132.png',
107 | // back_shiny_female: null,
108 | // front_default: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/132.png',
109 | // front_female: null,
110 | // front_shiny: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/shiny/132.png',
111 | // front_shiny_female: null,
112 | // other: {
113 | // dream_world: [Object],
114 | // home: [Object],
115 | // 'official-artwork': [Object],
116 | // showdown: [Object]
117 | // },
118 | // versions: {
119 | // 'generation-i': [Object],
120 | // 'generation-ii': [Object],
121 | // 'generation-iii': [Object],
122 | // 'generation-iv': [Object],
123 | // 'generation-v': [Object],
124 | // 'generation-vi': [Object],
125 | // 'generation-vii': [Object],
126 | // 'generation-viii': [Object]
127 | // }
128 | // },
129 | // stats: [
130 | // { base_stat: 48, effort: 1, stat: [Object] },
131 | // { base_stat: 48, effort: 0, stat: [Object] },
132 | // { base_stat: 48, effort: 0, stat: [Object] },
133 | // { base_stat: 48, effort: 0, stat: [Object] },
134 | // { base_stat: 48, effort: 0, stat: [Object] },
135 | // { base_stat: 48, effort: 0, stat: [Object] }
136 | // ],
137 | // types: [ { slot: 1, type: [Object] } ],
138 | // weight: 40
139 | // }
140 |
--------------------------------------------------------------------------------
/__tests__/ghostIO.test.ts:
--------------------------------------------------------------------------------
1 | import { GhostIO } from "../dist/index.js";
2 |
3 | describe("GhostIO", () => {
4 | let ghost: GhostIO;
5 |
6 | beforeEach(() => {
7 | // Mock DOM if needed, or set up JSDOM environment
8 | (global as any).document = {
9 | addEventListener: jest.fn(),
10 | querySelectorAll: jest.fn(() => []),
11 | };
12 | ghost = new GhostIO({
13 | maxCacheSize: 2,
14 | concurrencyLimit: 1,
15 | });
16 | });
17 |
18 | afterEach(() => {
19 | // Cleanup
20 | delete (global as any).document;
21 | });
22 |
23 | it("initializes with config", () => {
24 | expect(ghost).toBeTruthy();
25 | });
26 |
27 | it("can store and retrieve from cache", () => {
28 | ghost["storeInCache"]("/test", { foo: "bar" });
29 | const data = ghost.get("/test");
30 | expect(data).toEqual({ foo: "bar" });
31 | });
32 |
33 | it("evicts oldest when exceeding maxCacheSize", () => {
34 | ghost["storeInCache"]("/first", { a: 1 });
35 | ghost["storeInCache"]("/second", { b: 2 });
36 | ghost["storeInCache"]("/third", { c: 3 });
37 | // since maxCacheSize = 2, it should have removed "/first"
38 | expect(ghost.get("/first")).toBeNull();
39 | expect(ghost.get("/second")).toEqual({ b: 2 });
40 | expect(ghost.get("/third")).toEqual({ c: 3 });
41 | });
42 |
43 | // Additional tests for concurrency, etc.
44 | });
45 |
--------------------------------------------------------------------------------
/dist/ghostIO.d.ts:
--------------------------------------------------------------------------------
1 | import { GhostIOConfig, AxiosIntegrationOptions } from "../index.js";
2 | export declare class GhostIO {
3 | private config;
4 | private cache;
5 | private inFlight;
6 | private axiosRegisteredInstances;
7 | private currentRequestsCount;
8 | constructor(userConfig?: GhostIOConfig);
9 | registerAxios(options: AxiosIntegrationOptions): void;
10 | prefetch(url: string): Promise;
11 | get(url: string): any;
12 | clearCache(): void;
13 | private storeInCache;
14 | private initEventListeners;
15 | private onHover;
16 | private onScroll;
17 | private idlePrefetch;
18 | }
19 | //# sourceMappingURL=ghostIO.d.ts.map
--------------------------------------------------------------------------------
/dist/ghostIO.d.ts.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"ghostIO.d.ts","sourceRoot":"","sources":["../src/ghostIO.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAkBrE,qBAAa,OAAO;IAClB,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,KAAK,CAAmB;IAChC,OAAO,CAAC,QAAQ,CAAc;IAC9B,OAAO,CAAC,wBAAwB,CAAW;IAC3C,OAAO,CAAC,oBAAoB,CAAK;gBAErB,UAAU,CAAC,EAAE,aAAa;IAStC,aAAa,CAAC,OAAO,EAAE,uBAAuB,GAAG,IAAI;IAsD/C,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAoC1C,GAAG,CAAC,GAAG,EAAE,MAAM;IAKf,UAAU,IAAI,IAAI;IAKlB,OAAO,CAAC,YAAY;IAcpB,OAAO,CAAC,kBAAkB;IAoC1B,OAAO,CAAC,OAAO;IAaf,OAAO,CAAC,QAAQ;IAiBhB,OAAO,CAAC,YAAY;CASrB"}
--------------------------------------------------------------------------------
/dist/ghostIO.js:
--------------------------------------------------------------------------------
1 | import axios from "axios";
2 | const defaultConfig = {
3 | maxCacheSize: 50,
4 | prefetchOnHover: true,
5 | prefetchOnScroll: true,
6 | idlePrefetchDelay: 5000,
7 | concurrencyLimit: 3,
8 | };
9 | export class GhostIO {
10 | constructor(userConfig) {
11 | this.currentRequestsCount = 0;
12 | this.config = { ...defaultConfig, ...userConfig };
13 | this.cache = new Map();
14 | this.inFlight = new Set();
15 | this.axiosRegisteredInstances = new Set();
16 | console.log("[GhostIO] Initialized with config:", this.config);
17 | this.initEventListeners();
18 | }
19 | registerAxios(options) {
20 | const { instance } = options;
21 | if (!instance) {
22 | console.warn("[GhostIO] No Axios instance provided.");
23 | return;
24 | }
25 | if (this.axiosRegisteredInstances.has(instance)) {
26 | console.log("[GhostIO] Axios instance already registered.");
27 | return;
28 | }
29 | this.axiosRegisteredInstances.add(instance);
30 | // Intercept requests
31 | instance.interceptors.request.use(async (config) => {
32 | const url = config.url || "";
33 | // If already cached, short-circuit the request
34 | if (this.cache.has(url)) {
35 | console.log(`[GhostIO] Short-circuiting axios request from cache: ${url}`);
36 | const fakeResponse = {
37 | data: this.cache.get(url),
38 | status: 200,
39 | statusText: "OK",
40 | headers: {},
41 | config,
42 | __ghostIOCache__: true,
43 | };
44 | return Promise.reject(fakeResponse);
45 | }
46 | return config;
47 | }, (error) => Promise.reject(error));
48 | // Intercept responses
49 | instance.interceptors.response.use((response) => {
50 | if (!response.__ghostIOCache__) {
51 | this.storeInCache(response.config.url, response.data);
52 | }
53 | return response;
54 | }, (error) => {
55 | if (error && error.__ghostIOCache__) {
56 | return Promise.resolve(error);
57 | }
58 | return Promise.reject(error);
59 | });
60 | console.log("[GhostIO] Axios integrated successfully.");
61 | }
62 | async prefetch(url) {
63 | // Use the input URL as-is (user must provide full URL)
64 | const finalURL = url;
65 | if (this.cache.has(finalURL)) {
66 | console.log(`[GhostIO] Prefetch skipped; already in cache: ${finalURL}`);
67 | return;
68 | }
69 | if (this.inFlight.has(finalURL)) {
70 | console.log(`[GhostIO] Prefetch skipped; already in-flight: ${finalURL}`);
71 | return;
72 | }
73 | if (this.currentRequestsCount >= this.config.concurrencyLimit) {
74 | console.log("[GhostIO] Concurrency limit reached; deferring prefetch:", finalURL);
75 | return;
76 | }
77 | console.log("[GhostIO] Prefetching:", finalURL);
78 | this.inFlight.add(finalURL);
79 | this.currentRequestsCount++;
80 | try {
81 | const response = await axios.get(finalURL);
82 | this.storeInCache(finalURL, response.data);
83 | console.log("[GhostIO] Prefetch succeeded for:", finalURL);
84 | }
85 | catch (err) {
86 | console.warn("[GhostIO] Failed to prefetch:", finalURL, err);
87 | }
88 | finally {
89 | this.inFlight.delete(finalURL);
90 | this.currentRequestsCount--;
91 | }
92 | }
93 | get(url) {
94 | const finalURL = url;
95 | return this.cache.has(finalURL) ? this.cache.get(finalURL) : null;
96 | }
97 | clearCache() {
98 | console.log("[GhostIO] Clearing entire cache.");
99 | this.cache.clear();
100 | }
101 | storeInCache(url, data) {
102 | this.cache.set(url, data);
103 | console.log("[GhostIO] Stored in cache:", url);
104 | if (this.cache.size > this.config.maxCacheSize) {
105 | const oldestKey = this.cache.keys().next().value;
106 | // @ts-ignore
107 | this.cache.delete(oldestKey);
108 | console.log("[GhostIO] Cache exceeded max size; removed oldest entry:", oldestKey);
109 | }
110 | }
111 | initEventListeners() {
112 | if (typeof document === "undefined") {
113 | console.warn("[GhostIO] No DOM detected; ignoring hover/scroll events.");
114 | return;
115 | }
116 | // Prefetch on hover
117 | if (this.config.prefetchOnHover) {
118 | document.addEventListener("mouseover", this.onHover.bind(this));
119 | console.log("[GhostIO] Hover prefetch event listener attached.");
120 | }
121 | // Prefetch on scroll
122 | if (this.config.prefetchOnScroll) {
123 | document.addEventListener("scroll", this.onScroll.bind(this));
124 | console.log("[GhostIO] Scroll prefetch event listener attached.");
125 | }
126 | // Idle prefetch
127 | if (this.config.idlePrefetchDelay > 0) {
128 | let idleTimeout;
129 | const resetTimer = () => {
130 | clearTimeout(idleTimeout);
131 | idleTimeout = setTimeout(() => this.idlePrefetch(), this.config.idlePrefetchDelay);
132 | };
133 | document.addEventListener("mousemove", resetTimer);
134 | document.addEventListener("keypress", resetTimer);
135 | document.addEventListener("scroll", resetTimer);
136 | resetTimer();
137 | console.log("[GhostIO] Idle prefetch event listeners attached.");
138 | }
139 | }
140 | onHover(e) {
141 | const target = e.target?.closest("[data-prefetch]");
142 | if (!target)
143 | return;
144 | const url = target.getAttribute("data-prefetch");
145 | if (url) {
146 | console.log("[GhostIO] Detected hover on element with data-prefetch:", url);
147 | this.prefetch(url);
148 | }
149 | }
150 | onScroll() {
151 | const elements = document.querySelectorAll("[data-prefetch]");
152 | elements.forEach((el) => {
153 | const rect = el.getBoundingClientRect();
154 | if (rect.top < window.innerHeight * 1.5) {
155 | const url = el.getAttribute("data-prefetch");
156 | if (url) {
157 | console.log("[GhostIO] Element in view during scroll with data-prefetch:", url);
158 | this.prefetch(url);
159 | }
160 | }
161 | });
162 | }
163 | idlePrefetch() {
164 | console.log("[GhostIO] User idle detected; running background prefetch tasks.");
165 | document.querySelectorAll("[data-prefetch]").forEach((el) => {
166 | const url = el.getAttribute("data-prefetch");
167 | if (url)
168 | this.prefetch(url);
169 | });
170 | }
171 | }
172 |
--------------------------------------------------------------------------------
/dist/index.d.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Main entry point for the GhostIO library.
3 | */
4 | export { GhostIO } from "./ghostIO.js";
5 | //# sourceMappingURL=index.d.ts.map
--------------------------------------------------------------------------------
/dist/index.d.ts.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
--------------------------------------------------------------------------------
/dist/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Main entry point for the GhostIO library.
3 | */
4 | export { GhostIO } from "./ghostIO.js";
5 |
--------------------------------------------------------------------------------
/index.d.ts:
--------------------------------------------------------------------------------
1 | export interface GhostIOConfig {
2 | maxCacheSize?: number;
3 | prefetchOnHover?: boolean;
4 | prefetchOnScroll?: boolean;
5 | idlePrefetchDelay?: number;
6 | concurrencyLimit?: number;
7 | }
8 |
9 | export interface AxiosIntegrationOptions {
10 | instance: any;
11 | }
12 |
13 | export declare class GhostIO {
14 | constructor(config?: GhostIOConfig);
15 | registerAxios(options: AxiosIntegrationOptions): void;
16 | prefetch(url: string): Promise;
17 | get(url: string): any | null;
18 | clearCache(): void;
19 | }
20 |
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ghost-io",
3 | "version": "1.1.2",
4 | "lockfileVersion": 3,
5 | "requires": true,
6 | "packages": {
7 | "": {
8 | "name": "ghost-io",
9 | "version": "1.1.2",
10 | "license": "MIT",
11 | "dependencies": {
12 | "axios": "^1.3.0",
13 | "ghost-io": "^1.1.2",
14 | "prettier": "^3.5.3"
15 | },
16 | "devDependencies": {
17 | "@types/jest": "^29.0.0",
18 | "jest": "^29.0.0",
19 | "ts-jest": "^29.0.0",
20 | "typescript": "^5.0.0"
21 | }
22 | },
23 | "node_modules/@ampproject/remapping": {
24 | "version": "2.3.0",
25 | "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz",
26 | "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",
27 | "dev": true,
28 | "dependencies": {
29 | "@jridgewell/gen-mapping": "^0.3.5",
30 | "@jridgewell/trace-mapping": "^0.3.24"
31 | },
32 | "engines": {
33 | "node": ">=6.0.0"
34 | }
35 | },
36 | "node_modules/@babel/code-frame": {
37 | "version": "7.26.2",
38 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz",
39 | "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==",
40 | "dev": true,
41 | "dependencies": {
42 | "@babel/helper-validator-identifier": "^7.25.9",
43 | "js-tokens": "^4.0.0",
44 | "picocolors": "^1.0.0"
45 | },
46 | "engines": {
47 | "node": ">=6.9.0"
48 | }
49 | },
50 | "node_modules/@babel/compat-data": {
51 | "version": "7.26.8",
52 | "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.8.tgz",
53 | "integrity": "sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==",
54 | "dev": true,
55 | "engines": {
56 | "node": ">=6.9.0"
57 | }
58 | },
59 | "node_modules/@babel/core": {
60 | "version": "7.26.10",
61 | "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.10.tgz",
62 | "integrity": "sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==",
63 | "dev": true,
64 | "dependencies": {
65 | "@ampproject/remapping": "^2.2.0",
66 | "@babel/code-frame": "^7.26.2",
67 | "@babel/generator": "^7.26.10",
68 | "@babel/helper-compilation-targets": "^7.26.5",
69 | "@babel/helper-module-transforms": "^7.26.0",
70 | "@babel/helpers": "^7.26.10",
71 | "@babel/parser": "^7.26.10",
72 | "@babel/template": "^7.26.9",
73 | "@babel/traverse": "^7.26.10",
74 | "@babel/types": "^7.26.10",
75 | "convert-source-map": "^2.0.0",
76 | "debug": "^4.1.0",
77 | "gensync": "^1.0.0-beta.2",
78 | "json5": "^2.2.3",
79 | "semver": "^6.3.1"
80 | },
81 | "engines": {
82 | "node": ">=6.9.0"
83 | },
84 | "funding": {
85 | "type": "opencollective",
86 | "url": "https://opencollective.com/babel"
87 | }
88 | },
89 | "node_modules/@babel/generator": {
90 | "version": "7.26.10",
91 | "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.10.tgz",
92 | "integrity": "sha512-rRHT8siFIXQrAYOYqZQVsAr8vJ+cBNqcVAY6m5V8/4QqzaPl+zDBe6cLEPRDuNOUf3ww8RfJVlOyQMoSI+5Ang==",
93 | "dev": true,
94 | "dependencies": {
95 | "@babel/parser": "^7.26.10",
96 | "@babel/types": "^7.26.10",
97 | "@jridgewell/gen-mapping": "^0.3.5",
98 | "@jridgewell/trace-mapping": "^0.3.25",
99 | "jsesc": "^3.0.2"
100 | },
101 | "engines": {
102 | "node": ">=6.9.0"
103 | }
104 | },
105 | "node_modules/@babel/helper-compilation-targets": {
106 | "version": "7.26.5",
107 | "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.26.5.tgz",
108 | "integrity": "sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA==",
109 | "dev": true,
110 | "dependencies": {
111 | "@babel/compat-data": "^7.26.5",
112 | "@babel/helper-validator-option": "^7.25.9",
113 | "browserslist": "^4.24.0",
114 | "lru-cache": "^5.1.1",
115 | "semver": "^6.3.1"
116 | },
117 | "engines": {
118 | "node": ">=6.9.0"
119 | }
120 | },
121 | "node_modules/@babel/helper-module-imports": {
122 | "version": "7.25.9",
123 | "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz",
124 | "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==",
125 | "dev": true,
126 | "dependencies": {
127 | "@babel/traverse": "^7.25.9",
128 | "@babel/types": "^7.25.9"
129 | },
130 | "engines": {
131 | "node": ">=6.9.0"
132 | }
133 | },
134 | "node_modules/@babel/helper-module-transforms": {
135 | "version": "7.26.0",
136 | "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz",
137 | "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==",
138 | "dev": true,
139 | "dependencies": {
140 | "@babel/helper-module-imports": "^7.25.9",
141 | "@babel/helper-validator-identifier": "^7.25.9",
142 | "@babel/traverse": "^7.25.9"
143 | },
144 | "engines": {
145 | "node": ">=6.9.0"
146 | },
147 | "peerDependencies": {
148 | "@babel/core": "^7.0.0"
149 | }
150 | },
151 | "node_modules/@babel/helper-plugin-utils": {
152 | "version": "7.26.5",
153 | "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.26.5.tgz",
154 | "integrity": "sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==",
155 | "dev": true,
156 | "engines": {
157 | "node": ">=6.9.0"
158 | }
159 | },
160 | "node_modules/@babel/helper-string-parser": {
161 | "version": "7.25.9",
162 | "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz",
163 | "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==",
164 | "dev": true,
165 | "engines": {
166 | "node": ">=6.9.0"
167 | }
168 | },
169 | "node_modules/@babel/helper-validator-identifier": {
170 | "version": "7.25.9",
171 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz",
172 | "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==",
173 | "dev": true,
174 | "engines": {
175 | "node": ">=6.9.0"
176 | }
177 | },
178 | "node_modules/@babel/helper-validator-option": {
179 | "version": "7.25.9",
180 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz",
181 | "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==",
182 | "dev": true,
183 | "engines": {
184 | "node": ">=6.9.0"
185 | }
186 | },
187 | "node_modules/@babel/helpers": {
188 | "version": "7.26.10",
189 | "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.10.tgz",
190 | "integrity": "sha512-UPYc3SauzZ3JGgj87GgZ89JVdC5dj0AoetR5Bw6wj4niittNyFh6+eOGonYvJ1ao6B8lEa3Q3klS7ADZ53bc5g==",
191 | "dev": true,
192 | "dependencies": {
193 | "@babel/template": "^7.26.9",
194 | "@babel/types": "^7.26.10"
195 | },
196 | "engines": {
197 | "node": ">=6.9.0"
198 | }
199 | },
200 | "node_modules/@babel/parser": {
201 | "version": "7.26.10",
202 | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.10.tgz",
203 | "integrity": "sha512-6aQR2zGE/QFi8JpDLjUZEPYOs7+mhKXm86VaKFiLP35JQwQb6bwUE+XbvkH0EptsYhbNBSUGaUBLKqxH1xSgsA==",
204 | "dev": true,
205 | "dependencies": {
206 | "@babel/types": "^7.26.10"
207 | },
208 | "bin": {
209 | "parser": "bin/babel-parser.js"
210 | },
211 | "engines": {
212 | "node": ">=6.0.0"
213 | }
214 | },
215 | "node_modules/@babel/plugin-syntax-async-generators": {
216 | "version": "7.8.4",
217 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz",
218 | "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==",
219 | "dev": true,
220 | "dependencies": {
221 | "@babel/helper-plugin-utils": "^7.8.0"
222 | },
223 | "peerDependencies": {
224 | "@babel/core": "^7.0.0-0"
225 | }
226 | },
227 | "node_modules/@babel/plugin-syntax-bigint": {
228 | "version": "7.8.3",
229 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz",
230 | "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==",
231 | "dev": true,
232 | "dependencies": {
233 | "@babel/helper-plugin-utils": "^7.8.0"
234 | },
235 | "peerDependencies": {
236 | "@babel/core": "^7.0.0-0"
237 | }
238 | },
239 | "node_modules/@babel/plugin-syntax-class-properties": {
240 | "version": "7.12.13",
241 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",
242 | "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==",
243 | "dev": true,
244 | "dependencies": {
245 | "@babel/helper-plugin-utils": "^7.12.13"
246 | },
247 | "peerDependencies": {
248 | "@babel/core": "^7.0.0-0"
249 | }
250 | },
251 | "node_modules/@babel/plugin-syntax-class-static-block": {
252 | "version": "7.14.5",
253 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz",
254 | "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==",
255 | "dev": true,
256 | "dependencies": {
257 | "@babel/helper-plugin-utils": "^7.14.5"
258 | },
259 | "engines": {
260 | "node": ">=6.9.0"
261 | },
262 | "peerDependencies": {
263 | "@babel/core": "^7.0.0-0"
264 | }
265 | },
266 | "node_modules/@babel/plugin-syntax-import-attributes": {
267 | "version": "7.26.0",
268 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz",
269 | "integrity": "sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==",
270 | "dev": true,
271 | "dependencies": {
272 | "@babel/helper-plugin-utils": "^7.25.9"
273 | },
274 | "engines": {
275 | "node": ">=6.9.0"
276 | },
277 | "peerDependencies": {
278 | "@babel/core": "^7.0.0-0"
279 | }
280 | },
281 | "node_modules/@babel/plugin-syntax-import-meta": {
282 | "version": "7.10.4",
283 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz",
284 | "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==",
285 | "dev": true,
286 | "dependencies": {
287 | "@babel/helper-plugin-utils": "^7.10.4"
288 | },
289 | "peerDependencies": {
290 | "@babel/core": "^7.0.0-0"
291 | }
292 | },
293 | "node_modules/@babel/plugin-syntax-json-strings": {
294 | "version": "7.8.3",
295 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz",
296 | "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==",
297 | "dev": true,
298 | "dependencies": {
299 | "@babel/helper-plugin-utils": "^7.8.0"
300 | },
301 | "peerDependencies": {
302 | "@babel/core": "^7.0.0-0"
303 | }
304 | },
305 | "node_modules/@babel/plugin-syntax-jsx": {
306 | "version": "7.25.9",
307 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.9.tgz",
308 | "integrity": "sha512-ld6oezHQMZsZfp6pWtbjaNDF2tiiCYYDqQszHt5VV437lewP9aSi2Of99CK0D0XB21k7FLgnLcmQKyKzynfeAA==",
309 | "dev": true,
310 | "dependencies": {
311 | "@babel/helper-plugin-utils": "^7.25.9"
312 | },
313 | "engines": {
314 | "node": ">=6.9.0"
315 | },
316 | "peerDependencies": {
317 | "@babel/core": "^7.0.0-0"
318 | }
319 | },
320 | "node_modules/@babel/plugin-syntax-logical-assignment-operators": {
321 | "version": "7.10.4",
322 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz",
323 | "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==",
324 | "dev": true,
325 | "dependencies": {
326 | "@babel/helper-plugin-utils": "^7.10.4"
327 | },
328 | "peerDependencies": {
329 | "@babel/core": "^7.0.0-0"
330 | }
331 | },
332 | "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": {
333 | "version": "7.8.3",
334 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz",
335 | "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==",
336 | "dev": true,
337 | "dependencies": {
338 | "@babel/helper-plugin-utils": "^7.8.0"
339 | },
340 | "peerDependencies": {
341 | "@babel/core": "^7.0.0-0"
342 | }
343 | },
344 | "node_modules/@babel/plugin-syntax-numeric-separator": {
345 | "version": "7.10.4",
346 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz",
347 | "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==",
348 | "dev": true,
349 | "dependencies": {
350 | "@babel/helper-plugin-utils": "^7.10.4"
351 | },
352 | "peerDependencies": {
353 | "@babel/core": "^7.0.0-0"
354 | }
355 | },
356 | "node_modules/@babel/plugin-syntax-object-rest-spread": {
357 | "version": "7.8.3",
358 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
359 | "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
360 | "dev": true,
361 | "dependencies": {
362 | "@babel/helper-plugin-utils": "^7.8.0"
363 | },
364 | "peerDependencies": {
365 | "@babel/core": "^7.0.0-0"
366 | }
367 | },
368 | "node_modules/@babel/plugin-syntax-optional-catch-binding": {
369 | "version": "7.8.3",
370 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz",
371 | "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==",
372 | "dev": true,
373 | "dependencies": {
374 | "@babel/helper-plugin-utils": "^7.8.0"
375 | },
376 | "peerDependencies": {
377 | "@babel/core": "^7.0.0-0"
378 | }
379 | },
380 | "node_modules/@babel/plugin-syntax-optional-chaining": {
381 | "version": "7.8.3",
382 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz",
383 | "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==",
384 | "dev": true,
385 | "dependencies": {
386 | "@babel/helper-plugin-utils": "^7.8.0"
387 | },
388 | "peerDependencies": {
389 | "@babel/core": "^7.0.0-0"
390 | }
391 | },
392 | "node_modules/@babel/plugin-syntax-private-property-in-object": {
393 | "version": "7.14.5",
394 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz",
395 | "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==",
396 | "dev": true,
397 | "dependencies": {
398 | "@babel/helper-plugin-utils": "^7.14.5"
399 | },
400 | "engines": {
401 | "node": ">=6.9.0"
402 | },
403 | "peerDependencies": {
404 | "@babel/core": "^7.0.0-0"
405 | }
406 | },
407 | "node_modules/@babel/plugin-syntax-top-level-await": {
408 | "version": "7.14.5",
409 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz",
410 | "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==",
411 | "dev": true,
412 | "dependencies": {
413 | "@babel/helper-plugin-utils": "^7.14.5"
414 | },
415 | "engines": {
416 | "node": ">=6.9.0"
417 | },
418 | "peerDependencies": {
419 | "@babel/core": "^7.0.0-0"
420 | }
421 | },
422 | "node_modules/@babel/plugin-syntax-typescript": {
423 | "version": "7.25.9",
424 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.9.tgz",
425 | "integrity": "sha512-hjMgRy5hb8uJJjUcdWunWVcoi9bGpJp8p5Ol1229PoN6aytsLwNMgmdftO23wnCLMfVmTwZDWMPNq/D1SY60JQ==",
426 | "dev": true,
427 | "dependencies": {
428 | "@babel/helper-plugin-utils": "^7.25.9"
429 | },
430 | "engines": {
431 | "node": ">=6.9.0"
432 | },
433 | "peerDependencies": {
434 | "@babel/core": "^7.0.0-0"
435 | }
436 | },
437 | "node_modules/@babel/template": {
438 | "version": "7.26.9",
439 | "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.26.9.tgz",
440 | "integrity": "sha512-qyRplbeIpNZhmzOysF/wFMuP9sctmh2cFzRAZOn1YapxBsE1i9bJIY586R/WBLfLcmcBlM8ROBiQURnnNy+zfA==",
441 | "dev": true,
442 | "dependencies": {
443 | "@babel/code-frame": "^7.26.2",
444 | "@babel/parser": "^7.26.9",
445 | "@babel/types": "^7.26.9"
446 | },
447 | "engines": {
448 | "node": ">=6.9.0"
449 | }
450 | },
451 | "node_modules/@babel/traverse": {
452 | "version": "7.26.10",
453 | "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.10.tgz",
454 | "integrity": "sha512-k8NuDrxr0WrPH5Aupqb2LCVURP/S0vBEn5mK6iH+GIYob66U5EtoZvcdudR2jQ4cmTwhEwW1DLB+Yyas9zjF6A==",
455 | "dev": true,
456 | "dependencies": {
457 | "@babel/code-frame": "^7.26.2",
458 | "@babel/generator": "^7.26.10",
459 | "@babel/parser": "^7.26.10",
460 | "@babel/template": "^7.26.9",
461 | "@babel/types": "^7.26.10",
462 | "debug": "^4.3.1",
463 | "globals": "^11.1.0"
464 | },
465 | "engines": {
466 | "node": ">=6.9.0"
467 | }
468 | },
469 | "node_modules/@babel/types": {
470 | "version": "7.26.10",
471 | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.10.tgz",
472 | "integrity": "sha512-emqcG3vHrpxUKTrxcblR36dcrcoRDvKmnL/dCL6ZsHaShW80qxCAcNhzQZrpeM765VzEos+xOi4s+r4IXzTwdQ==",
473 | "dev": true,
474 | "dependencies": {
475 | "@babel/helper-string-parser": "^7.25.9",
476 | "@babel/helper-validator-identifier": "^7.25.9"
477 | },
478 | "engines": {
479 | "node": ">=6.9.0"
480 | }
481 | },
482 | "node_modules/@bcoe/v8-coverage": {
483 | "version": "0.2.3",
484 | "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz",
485 | "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==",
486 | "dev": true
487 | },
488 | "node_modules/@istanbuljs/load-nyc-config": {
489 | "version": "1.1.0",
490 | "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",
491 | "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==",
492 | "dev": true,
493 | "dependencies": {
494 | "camelcase": "^5.3.1",
495 | "find-up": "^4.1.0",
496 | "get-package-type": "^0.1.0",
497 | "js-yaml": "^3.13.1",
498 | "resolve-from": "^5.0.0"
499 | },
500 | "engines": {
501 | "node": ">=8"
502 | }
503 | },
504 | "node_modules/@istanbuljs/schema": {
505 | "version": "0.1.3",
506 | "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz",
507 | "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==",
508 | "dev": true,
509 | "engines": {
510 | "node": ">=8"
511 | }
512 | },
513 | "node_modules/@jest/console": {
514 | "version": "29.7.0",
515 | "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz",
516 | "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==",
517 | "dev": true,
518 | "dependencies": {
519 | "@jest/types": "^29.6.3",
520 | "@types/node": "*",
521 | "chalk": "^4.0.0",
522 | "jest-message-util": "^29.7.0",
523 | "jest-util": "^29.7.0",
524 | "slash": "^3.0.0"
525 | },
526 | "engines": {
527 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
528 | }
529 | },
530 | "node_modules/@jest/core": {
531 | "version": "29.7.0",
532 | "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz",
533 | "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==",
534 | "dev": true,
535 | "dependencies": {
536 | "@jest/console": "^29.7.0",
537 | "@jest/reporters": "^29.7.0",
538 | "@jest/test-result": "^29.7.0",
539 | "@jest/transform": "^29.7.0",
540 | "@jest/types": "^29.6.3",
541 | "@types/node": "*",
542 | "ansi-escapes": "^4.2.1",
543 | "chalk": "^4.0.0",
544 | "ci-info": "^3.2.0",
545 | "exit": "^0.1.2",
546 | "graceful-fs": "^4.2.9",
547 | "jest-changed-files": "^29.7.0",
548 | "jest-config": "^29.7.0",
549 | "jest-haste-map": "^29.7.0",
550 | "jest-message-util": "^29.7.0",
551 | "jest-regex-util": "^29.6.3",
552 | "jest-resolve": "^29.7.0",
553 | "jest-resolve-dependencies": "^29.7.0",
554 | "jest-runner": "^29.7.0",
555 | "jest-runtime": "^29.7.0",
556 | "jest-snapshot": "^29.7.0",
557 | "jest-util": "^29.7.0",
558 | "jest-validate": "^29.7.0",
559 | "jest-watcher": "^29.7.0",
560 | "micromatch": "^4.0.4",
561 | "pretty-format": "^29.7.0",
562 | "slash": "^3.0.0",
563 | "strip-ansi": "^6.0.0"
564 | },
565 | "engines": {
566 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
567 | },
568 | "peerDependencies": {
569 | "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
570 | },
571 | "peerDependenciesMeta": {
572 | "node-notifier": {
573 | "optional": true
574 | }
575 | }
576 | },
577 | "node_modules/@jest/environment": {
578 | "version": "29.7.0",
579 | "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz",
580 | "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==",
581 | "dev": true,
582 | "dependencies": {
583 | "@jest/fake-timers": "^29.7.0",
584 | "@jest/types": "^29.6.3",
585 | "@types/node": "*",
586 | "jest-mock": "^29.7.0"
587 | },
588 | "engines": {
589 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
590 | }
591 | },
592 | "node_modules/@jest/expect": {
593 | "version": "29.7.0",
594 | "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz",
595 | "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==",
596 | "dev": true,
597 | "dependencies": {
598 | "expect": "^29.7.0",
599 | "jest-snapshot": "^29.7.0"
600 | },
601 | "engines": {
602 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
603 | }
604 | },
605 | "node_modules/@jest/expect-utils": {
606 | "version": "29.7.0",
607 | "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz",
608 | "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==",
609 | "dev": true,
610 | "dependencies": {
611 | "jest-get-type": "^29.6.3"
612 | },
613 | "engines": {
614 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
615 | }
616 | },
617 | "node_modules/@jest/fake-timers": {
618 | "version": "29.7.0",
619 | "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz",
620 | "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==",
621 | "dev": true,
622 | "dependencies": {
623 | "@jest/types": "^29.6.3",
624 | "@sinonjs/fake-timers": "^10.0.2",
625 | "@types/node": "*",
626 | "jest-message-util": "^29.7.0",
627 | "jest-mock": "^29.7.0",
628 | "jest-util": "^29.7.0"
629 | },
630 | "engines": {
631 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
632 | }
633 | },
634 | "node_modules/@jest/globals": {
635 | "version": "29.7.0",
636 | "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz",
637 | "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==",
638 | "dev": true,
639 | "dependencies": {
640 | "@jest/environment": "^29.7.0",
641 | "@jest/expect": "^29.7.0",
642 | "@jest/types": "^29.6.3",
643 | "jest-mock": "^29.7.0"
644 | },
645 | "engines": {
646 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
647 | }
648 | },
649 | "node_modules/@jest/reporters": {
650 | "version": "29.7.0",
651 | "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz",
652 | "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==",
653 | "dev": true,
654 | "dependencies": {
655 | "@bcoe/v8-coverage": "^0.2.3",
656 | "@jest/console": "^29.7.0",
657 | "@jest/test-result": "^29.7.0",
658 | "@jest/transform": "^29.7.0",
659 | "@jest/types": "^29.6.3",
660 | "@jridgewell/trace-mapping": "^0.3.18",
661 | "@types/node": "*",
662 | "chalk": "^4.0.0",
663 | "collect-v8-coverage": "^1.0.0",
664 | "exit": "^0.1.2",
665 | "glob": "^7.1.3",
666 | "graceful-fs": "^4.2.9",
667 | "istanbul-lib-coverage": "^3.0.0",
668 | "istanbul-lib-instrument": "^6.0.0",
669 | "istanbul-lib-report": "^3.0.0",
670 | "istanbul-lib-source-maps": "^4.0.0",
671 | "istanbul-reports": "^3.1.3",
672 | "jest-message-util": "^29.7.0",
673 | "jest-util": "^29.7.0",
674 | "jest-worker": "^29.7.0",
675 | "slash": "^3.0.0",
676 | "string-length": "^4.0.1",
677 | "strip-ansi": "^6.0.0",
678 | "v8-to-istanbul": "^9.0.1"
679 | },
680 | "engines": {
681 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
682 | },
683 | "peerDependencies": {
684 | "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
685 | },
686 | "peerDependenciesMeta": {
687 | "node-notifier": {
688 | "optional": true
689 | }
690 | }
691 | },
692 | "node_modules/@jest/schemas": {
693 | "version": "29.6.3",
694 | "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz",
695 | "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==",
696 | "dev": true,
697 | "dependencies": {
698 | "@sinclair/typebox": "^0.27.8"
699 | },
700 | "engines": {
701 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
702 | }
703 | },
704 | "node_modules/@jest/source-map": {
705 | "version": "29.6.3",
706 | "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz",
707 | "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==",
708 | "dev": true,
709 | "dependencies": {
710 | "@jridgewell/trace-mapping": "^0.3.18",
711 | "callsites": "^3.0.0",
712 | "graceful-fs": "^4.2.9"
713 | },
714 | "engines": {
715 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
716 | }
717 | },
718 | "node_modules/@jest/test-result": {
719 | "version": "29.7.0",
720 | "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz",
721 | "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==",
722 | "dev": true,
723 | "dependencies": {
724 | "@jest/console": "^29.7.0",
725 | "@jest/types": "^29.6.3",
726 | "@types/istanbul-lib-coverage": "^2.0.0",
727 | "collect-v8-coverage": "^1.0.0"
728 | },
729 | "engines": {
730 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
731 | }
732 | },
733 | "node_modules/@jest/test-sequencer": {
734 | "version": "29.7.0",
735 | "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz",
736 | "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==",
737 | "dev": true,
738 | "dependencies": {
739 | "@jest/test-result": "^29.7.0",
740 | "graceful-fs": "^4.2.9",
741 | "jest-haste-map": "^29.7.0",
742 | "slash": "^3.0.0"
743 | },
744 | "engines": {
745 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
746 | }
747 | },
748 | "node_modules/@jest/transform": {
749 | "version": "29.7.0",
750 | "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz",
751 | "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==",
752 | "dev": true,
753 | "dependencies": {
754 | "@babel/core": "^7.11.6",
755 | "@jest/types": "^29.6.3",
756 | "@jridgewell/trace-mapping": "^0.3.18",
757 | "babel-plugin-istanbul": "^6.1.1",
758 | "chalk": "^4.0.0",
759 | "convert-source-map": "^2.0.0",
760 | "fast-json-stable-stringify": "^2.1.0",
761 | "graceful-fs": "^4.2.9",
762 | "jest-haste-map": "^29.7.0",
763 | "jest-regex-util": "^29.6.3",
764 | "jest-util": "^29.7.0",
765 | "micromatch": "^4.0.4",
766 | "pirates": "^4.0.4",
767 | "slash": "^3.0.0",
768 | "write-file-atomic": "^4.0.2"
769 | },
770 | "engines": {
771 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
772 | }
773 | },
774 | "node_modules/@jest/types": {
775 | "version": "29.6.3",
776 | "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz",
777 | "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==",
778 | "dev": true,
779 | "dependencies": {
780 | "@jest/schemas": "^29.6.3",
781 | "@types/istanbul-lib-coverage": "^2.0.0",
782 | "@types/istanbul-reports": "^3.0.0",
783 | "@types/node": "*",
784 | "@types/yargs": "^17.0.8",
785 | "chalk": "^4.0.0"
786 | },
787 | "engines": {
788 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
789 | }
790 | },
791 | "node_modules/@jridgewell/gen-mapping": {
792 | "version": "0.3.8",
793 | "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz",
794 | "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==",
795 | "dev": true,
796 | "dependencies": {
797 | "@jridgewell/set-array": "^1.2.1",
798 | "@jridgewell/sourcemap-codec": "^1.4.10",
799 | "@jridgewell/trace-mapping": "^0.3.24"
800 | },
801 | "engines": {
802 | "node": ">=6.0.0"
803 | }
804 | },
805 | "node_modules/@jridgewell/resolve-uri": {
806 | "version": "3.1.2",
807 | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
808 | "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
809 | "dev": true,
810 | "engines": {
811 | "node": ">=6.0.0"
812 | }
813 | },
814 | "node_modules/@jridgewell/set-array": {
815 | "version": "1.2.1",
816 | "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
817 | "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
818 | "dev": true,
819 | "engines": {
820 | "node": ">=6.0.0"
821 | }
822 | },
823 | "node_modules/@jridgewell/sourcemap-codec": {
824 | "version": "1.5.0",
825 | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
826 | "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",
827 | "dev": true
828 | },
829 | "node_modules/@jridgewell/trace-mapping": {
830 | "version": "0.3.25",
831 | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
832 | "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
833 | "dev": true,
834 | "dependencies": {
835 | "@jridgewell/resolve-uri": "^3.1.0",
836 | "@jridgewell/sourcemap-codec": "^1.4.14"
837 | }
838 | },
839 | "node_modules/@sinclair/typebox": {
840 | "version": "0.27.8",
841 | "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz",
842 | "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==",
843 | "dev": true
844 | },
845 | "node_modules/@sinonjs/commons": {
846 | "version": "3.0.1",
847 | "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz",
848 | "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==",
849 | "dev": true,
850 | "dependencies": {
851 | "type-detect": "4.0.8"
852 | }
853 | },
854 | "node_modules/@sinonjs/fake-timers": {
855 | "version": "10.3.0",
856 | "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz",
857 | "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==",
858 | "dev": true,
859 | "dependencies": {
860 | "@sinonjs/commons": "^3.0.0"
861 | }
862 | },
863 | "node_modules/@types/babel__core": {
864 | "version": "7.20.5",
865 | "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
866 | "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
867 | "dev": true,
868 | "dependencies": {
869 | "@babel/parser": "^7.20.7",
870 | "@babel/types": "^7.20.7",
871 | "@types/babel__generator": "*",
872 | "@types/babel__template": "*",
873 | "@types/babel__traverse": "*"
874 | }
875 | },
876 | "node_modules/@types/babel__generator": {
877 | "version": "7.6.8",
878 | "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz",
879 | "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==",
880 | "dev": true,
881 | "dependencies": {
882 | "@babel/types": "^7.0.0"
883 | }
884 | },
885 | "node_modules/@types/babel__template": {
886 | "version": "7.4.4",
887 | "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
888 | "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
889 | "dev": true,
890 | "dependencies": {
891 | "@babel/parser": "^7.1.0",
892 | "@babel/types": "^7.0.0"
893 | }
894 | },
895 | "node_modules/@types/babel__traverse": {
896 | "version": "7.20.6",
897 | "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz",
898 | "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==",
899 | "dev": true,
900 | "dependencies": {
901 | "@babel/types": "^7.20.7"
902 | }
903 | },
904 | "node_modules/@types/graceful-fs": {
905 | "version": "4.1.9",
906 | "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz",
907 | "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==",
908 | "dev": true,
909 | "dependencies": {
910 | "@types/node": "*"
911 | }
912 | },
913 | "node_modules/@types/istanbul-lib-coverage": {
914 | "version": "2.0.6",
915 | "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz",
916 | "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==",
917 | "dev": true
918 | },
919 | "node_modules/@types/istanbul-lib-report": {
920 | "version": "3.0.3",
921 | "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz",
922 | "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==",
923 | "dev": true,
924 | "dependencies": {
925 | "@types/istanbul-lib-coverage": "*"
926 | }
927 | },
928 | "node_modules/@types/istanbul-reports": {
929 | "version": "3.0.4",
930 | "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz",
931 | "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==",
932 | "dev": true,
933 | "dependencies": {
934 | "@types/istanbul-lib-report": "*"
935 | }
936 | },
937 | "node_modules/@types/jest": {
938 | "version": "29.5.14",
939 | "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz",
940 | "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==",
941 | "dev": true,
942 | "dependencies": {
943 | "expect": "^29.0.0",
944 | "pretty-format": "^29.0.0"
945 | }
946 | },
947 | "node_modules/@types/node": {
948 | "version": "22.13.10",
949 | "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.10.tgz",
950 | "integrity": "sha512-I6LPUvlRH+O6VRUqYOcMudhaIdUVWfsjnZavnsraHvpBwaEyMN29ry+0UVJhImYL16xsscu0aske3yA+uPOWfw==",
951 | "dev": true,
952 | "dependencies": {
953 | "undici-types": "~6.20.0"
954 | }
955 | },
956 | "node_modules/@types/stack-utils": {
957 | "version": "2.0.3",
958 | "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz",
959 | "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==",
960 | "dev": true
961 | },
962 | "node_modules/@types/yargs": {
963 | "version": "17.0.33",
964 | "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz",
965 | "integrity": "sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==",
966 | "dev": true,
967 | "dependencies": {
968 | "@types/yargs-parser": "*"
969 | }
970 | },
971 | "node_modules/@types/yargs-parser": {
972 | "version": "21.0.3",
973 | "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz",
974 | "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==",
975 | "dev": true
976 | },
977 | "node_modules/ansi-escapes": {
978 | "version": "4.3.2",
979 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
980 | "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
981 | "dev": true,
982 | "dependencies": {
983 | "type-fest": "^0.21.3"
984 | },
985 | "engines": {
986 | "node": ">=8"
987 | },
988 | "funding": {
989 | "url": "https://github.com/sponsors/sindresorhus"
990 | }
991 | },
992 | "node_modules/ansi-regex": {
993 | "version": "5.0.1",
994 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
995 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
996 | "dev": true,
997 | "engines": {
998 | "node": ">=8"
999 | }
1000 | },
1001 | "node_modules/ansi-styles": {
1002 | "version": "4.3.0",
1003 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
1004 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
1005 | "dev": true,
1006 | "dependencies": {
1007 | "color-convert": "^2.0.1"
1008 | },
1009 | "engines": {
1010 | "node": ">=8"
1011 | },
1012 | "funding": {
1013 | "url": "https://github.com/chalk/ansi-styles?sponsor=1"
1014 | }
1015 | },
1016 | "node_modules/anymatch": {
1017 | "version": "3.1.3",
1018 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
1019 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
1020 | "dev": true,
1021 | "dependencies": {
1022 | "normalize-path": "^3.0.0",
1023 | "picomatch": "^2.0.4"
1024 | },
1025 | "engines": {
1026 | "node": ">= 8"
1027 | }
1028 | },
1029 | "node_modules/argparse": {
1030 | "version": "1.0.10",
1031 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
1032 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
1033 | "dev": true,
1034 | "dependencies": {
1035 | "sprintf-js": "~1.0.2"
1036 | }
1037 | },
1038 | "node_modules/async": {
1039 | "version": "3.2.6",
1040 | "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz",
1041 | "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==",
1042 | "dev": true
1043 | },
1044 | "node_modules/asynckit": {
1045 | "version": "0.4.0",
1046 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
1047 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
1048 | },
1049 | "node_modules/axios": {
1050 | "version": "1.8.3",
1051 | "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.3.tgz",
1052 | "integrity": "sha512-iP4DebzoNlP/YN2dpwCgb8zoCmhtkajzS48JvwmkSkXvPI3DHc7m+XYL5tGnSlJtR6nImXZmdCuN5aP8dh1d8A==",
1053 | "dependencies": {
1054 | "follow-redirects": "^1.15.6",
1055 | "form-data": "^4.0.0",
1056 | "proxy-from-env": "^1.1.0"
1057 | }
1058 | },
1059 | "node_modules/babel-jest": {
1060 | "version": "29.7.0",
1061 | "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz",
1062 | "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==",
1063 | "dev": true,
1064 | "dependencies": {
1065 | "@jest/transform": "^29.7.0",
1066 | "@types/babel__core": "^7.1.14",
1067 | "babel-plugin-istanbul": "^6.1.1",
1068 | "babel-preset-jest": "^29.6.3",
1069 | "chalk": "^4.0.0",
1070 | "graceful-fs": "^4.2.9",
1071 | "slash": "^3.0.0"
1072 | },
1073 | "engines": {
1074 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
1075 | },
1076 | "peerDependencies": {
1077 | "@babel/core": "^7.8.0"
1078 | }
1079 | },
1080 | "node_modules/babel-plugin-istanbul": {
1081 | "version": "6.1.1",
1082 | "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz",
1083 | "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==",
1084 | "dev": true,
1085 | "dependencies": {
1086 | "@babel/helper-plugin-utils": "^7.0.0",
1087 | "@istanbuljs/load-nyc-config": "^1.0.0",
1088 | "@istanbuljs/schema": "^0.1.2",
1089 | "istanbul-lib-instrument": "^5.0.4",
1090 | "test-exclude": "^6.0.0"
1091 | },
1092 | "engines": {
1093 | "node": ">=8"
1094 | }
1095 | },
1096 | "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": {
1097 | "version": "5.2.1",
1098 | "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz",
1099 | "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==",
1100 | "dev": true,
1101 | "dependencies": {
1102 | "@babel/core": "^7.12.3",
1103 | "@babel/parser": "^7.14.7",
1104 | "@istanbuljs/schema": "^0.1.2",
1105 | "istanbul-lib-coverage": "^3.2.0",
1106 | "semver": "^6.3.0"
1107 | },
1108 | "engines": {
1109 | "node": ">=8"
1110 | }
1111 | },
1112 | "node_modules/babel-plugin-jest-hoist": {
1113 | "version": "29.6.3",
1114 | "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz",
1115 | "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==",
1116 | "dev": true,
1117 | "dependencies": {
1118 | "@babel/template": "^7.3.3",
1119 | "@babel/types": "^7.3.3",
1120 | "@types/babel__core": "^7.1.14",
1121 | "@types/babel__traverse": "^7.0.6"
1122 | },
1123 | "engines": {
1124 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
1125 | }
1126 | },
1127 | "node_modules/babel-preset-current-node-syntax": {
1128 | "version": "1.1.0",
1129 | "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz",
1130 | "integrity": "sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==",
1131 | "dev": true,
1132 | "dependencies": {
1133 | "@babel/plugin-syntax-async-generators": "^7.8.4",
1134 | "@babel/plugin-syntax-bigint": "^7.8.3",
1135 | "@babel/plugin-syntax-class-properties": "^7.12.13",
1136 | "@babel/plugin-syntax-class-static-block": "^7.14.5",
1137 | "@babel/plugin-syntax-import-attributes": "^7.24.7",
1138 | "@babel/plugin-syntax-import-meta": "^7.10.4",
1139 | "@babel/plugin-syntax-json-strings": "^7.8.3",
1140 | "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
1141 | "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
1142 | "@babel/plugin-syntax-numeric-separator": "^7.10.4",
1143 | "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
1144 | "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
1145 | "@babel/plugin-syntax-optional-chaining": "^7.8.3",
1146 | "@babel/plugin-syntax-private-property-in-object": "^7.14.5",
1147 | "@babel/plugin-syntax-top-level-await": "^7.14.5"
1148 | },
1149 | "peerDependencies": {
1150 | "@babel/core": "^7.0.0"
1151 | }
1152 | },
1153 | "node_modules/babel-preset-jest": {
1154 | "version": "29.6.3",
1155 | "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz",
1156 | "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==",
1157 | "dev": true,
1158 | "dependencies": {
1159 | "babel-plugin-jest-hoist": "^29.6.3",
1160 | "babel-preset-current-node-syntax": "^1.0.0"
1161 | },
1162 | "engines": {
1163 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
1164 | },
1165 | "peerDependencies": {
1166 | "@babel/core": "^7.0.0"
1167 | }
1168 | },
1169 | "node_modules/balanced-match": {
1170 | "version": "1.0.2",
1171 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
1172 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
1173 | "dev": true
1174 | },
1175 | "node_modules/brace-expansion": {
1176 | "version": "1.1.11",
1177 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
1178 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
1179 | "dev": true,
1180 | "dependencies": {
1181 | "balanced-match": "^1.0.0",
1182 | "concat-map": "0.0.1"
1183 | }
1184 | },
1185 | "node_modules/braces": {
1186 | "version": "3.0.3",
1187 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
1188 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
1189 | "dev": true,
1190 | "dependencies": {
1191 | "fill-range": "^7.1.1"
1192 | },
1193 | "engines": {
1194 | "node": ">=8"
1195 | }
1196 | },
1197 | "node_modules/browserslist": {
1198 | "version": "4.24.4",
1199 | "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.4.tgz",
1200 | "integrity": "sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==",
1201 | "dev": true,
1202 | "funding": [
1203 | {
1204 | "type": "opencollective",
1205 | "url": "https://opencollective.com/browserslist"
1206 | },
1207 | {
1208 | "type": "tidelift",
1209 | "url": "https://tidelift.com/funding/github/npm/browserslist"
1210 | },
1211 | {
1212 | "type": "github",
1213 | "url": "https://github.com/sponsors/ai"
1214 | }
1215 | ],
1216 | "dependencies": {
1217 | "caniuse-lite": "^1.0.30001688",
1218 | "electron-to-chromium": "^1.5.73",
1219 | "node-releases": "^2.0.19",
1220 | "update-browserslist-db": "^1.1.1"
1221 | },
1222 | "bin": {
1223 | "browserslist": "cli.js"
1224 | },
1225 | "engines": {
1226 | "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
1227 | }
1228 | },
1229 | "node_modules/bs-logger": {
1230 | "version": "0.2.6",
1231 | "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz",
1232 | "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==",
1233 | "dev": true,
1234 | "dependencies": {
1235 | "fast-json-stable-stringify": "2.x"
1236 | },
1237 | "engines": {
1238 | "node": ">= 6"
1239 | }
1240 | },
1241 | "node_modules/bser": {
1242 | "version": "2.1.1",
1243 | "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",
1244 | "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==",
1245 | "dev": true,
1246 | "dependencies": {
1247 | "node-int64": "^0.4.0"
1248 | }
1249 | },
1250 | "node_modules/buffer-from": {
1251 | "version": "1.1.2",
1252 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
1253 | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
1254 | "dev": true
1255 | },
1256 | "node_modules/call-bind-apply-helpers": {
1257 | "version": "1.0.2",
1258 | "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
1259 | "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
1260 | "dependencies": {
1261 | "es-errors": "^1.3.0",
1262 | "function-bind": "^1.1.2"
1263 | },
1264 | "engines": {
1265 | "node": ">= 0.4"
1266 | }
1267 | },
1268 | "node_modules/callsites": {
1269 | "version": "3.1.0",
1270 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
1271 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
1272 | "dev": true,
1273 | "engines": {
1274 | "node": ">=6"
1275 | }
1276 | },
1277 | "node_modules/camelcase": {
1278 | "version": "5.3.1",
1279 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
1280 | "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
1281 | "dev": true,
1282 | "engines": {
1283 | "node": ">=6"
1284 | }
1285 | },
1286 | "node_modules/caniuse-lite": {
1287 | "version": "1.0.30001705",
1288 | "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001705.tgz",
1289 | "integrity": "sha512-S0uyMMiYvA7CxNgomYBwwwPUnWzFD83f3B1ce5jHUfHTH//QL6hHsreI8RVC5606R4ssqravelYO5TU6t8sEyg==",
1290 | "dev": true,
1291 | "funding": [
1292 | {
1293 | "type": "opencollective",
1294 | "url": "https://opencollective.com/browserslist"
1295 | },
1296 | {
1297 | "type": "tidelift",
1298 | "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
1299 | },
1300 | {
1301 | "type": "github",
1302 | "url": "https://github.com/sponsors/ai"
1303 | }
1304 | ]
1305 | },
1306 | "node_modules/chalk": {
1307 | "version": "4.1.2",
1308 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
1309 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
1310 | "dev": true,
1311 | "dependencies": {
1312 | "ansi-styles": "^4.1.0",
1313 | "supports-color": "^7.1.0"
1314 | },
1315 | "engines": {
1316 | "node": ">=10"
1317 | },
1318 | "funding": {
1319 | "url": "https://github.com/chalk/chalk?sponsor=1"
1320 | }
1321 | },
1322 | "node_modules/char-regex": {
1323 | "version": "1.0.2",
1324 | "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz",
1325 | "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==",
1326 | "dev": true,
1327 | "engines": {
1328 | "node": ">=10"
1329 | }
1330 | },
1331 | "node_modules/ci-info": {
1332 | "version": "3.9.0",
1333 | "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz",
1334 | "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==",
1335 | "dev": true,
1336 | "funding": [
1337 | {
1338 | "type": "github",
1339 | "url": "https://github.com/sponsors/sibiraj-s"
1340 | }
1341 | ],
1342 | "engines": {
1343 | "node": ">=8"
1344 | }
1345 | },
1346 | "node_modules/cjs-module-lexer": {
1347 | "version": "1.4.3",
1348 | "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz",
1349 | "integrity": "sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q==",
1350 | "dev": true
1351 | },
1352 | "node_modules/cliui": {
1353 | "version": "8.0.1",
1354 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
1355 | "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
1356 | "dev": true,
1357 | "dependencies": {
1358 | "string-width": "^4.2.0",
1359 | "strip-ansi": "^6.0.1",
1360 | "wrap-ansi": "^7.0.0"
1361 | },
1362 | "engines": {
1363 | "node": ">=12"
1364 | }
1365 | },
1366 | "node_modules/co": {
1367 | "version": "4.6.0",
1368 | "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
1369 | "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==",
1370 | "dev": true,
1371 | "engines": {
1372 | "iojs": ">= 1.0.0",
1373 | "node": ">= 0.12.0"
1374 | }
1375 | },
1376 | "node_modules/collect-v8-coverage": {
1377 | "version": "1.0.2",
1378 | "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz",
1379 | "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==",
1380 | "dev": true
1381 | },
1382 | "node_modules/color-convert": {
1383 | "version": "2.0.1",
1384 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
1385 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
1386 | "dev": true,
1387 | "dependencies": {
1388 | "color-name": "~1.1.4"
1389 | },
1390 | "engines": {
1391 | "node": ">=7.0.0"
1392 | }
1393 | },
1394 | "node_modules/color-name": {
1395 | "version": "1.1.4",
1396 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
1397 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
1398 | "dev": true
1399 | },
1400 | "node_modules/combined-stream": {
1401 | "version": "1.0.8",
1402 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
1403 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
1404 | "dependencies": {
1405 | "delayed-stream": "~1.0.0"
1406 | },
1407 | "engines": {
1408 | "node": ">= 0.8"
1409 | }
1410 | },
1411 | "node_modules/concat-map": {
1412 | "version": "0.0.1",
1413 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
1414 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
1415 | "dev": true
1416 | },
1417 | "node_modules/convert-source-map": {
1418 | "version": "2.0.0",
1419 | "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
1420 | "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
1421 | "dev": true
1422 | },
1423 | "node_modules/create-jest": {
1424 | "version": "29.7.0",
1425 | "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz",
1426 | "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==",
1427 | "dev": true,
1428 | "dependencies": {
1429 | "@jest/types": "^29.6.3",
1430 | "chalk": "^4.0.0",
1431 | "exit": "^0.1.2",
1432 | "graceful-fs": "^4.2.9",
1433 | "jest-config": "^29.7.0",
1434 | "jest-util": "^29.7.0",
1435 | "prompts": "^2.0.1"
1436 | },
1437 | "bin": {
1438 | "create-jest": "bin/create-jest.js"
1439 | },
1440 | "engines": {
1441 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
1442 | }
1443 | },
1444 | "node_modules/cross-spawn": {
1445 | "version": "7.0.6",
1446 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
1447 | "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
1448 | "dev": true,
1449 | "dependencies": {
1450 | "path-key": "^3.1.0",
1451 | "shebang-command": "^2.0.0",
1452 | "which": "^2.0.1"
1453 | },
1454 | "engines": {
1455 | "node": ">= 8"
1456 | }
1457 | },
1458 | "node_modules/debug": {
1459 | "version": "4.4.0",
1460 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
1461 | "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
1462 | "dev": true,
1463 | "dependencies": {
1464 | "ms": "^2.1.3"
1465 | },
1466 | "engines": {
1467 | "node": ">=6.0"
1468 | },
1469 | "peerDependenciesMeta": {
1470 | "supports-color": {
1471 | "optional": true
1472 | }
1473 | }
1474 | },
1475 | "node_modules/dedent": {
1476 | "version": "1.5.3",
1477 | "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz",
1478 | "integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==",
1479 | "dev": true,
1480 | "peerDependencies": {
1481 | "babel-plugin-macros": "^3.1.0"
1482 | },
1483 | "peerDependenciesMeta": {
1484 | "babel-plugin-macros": {
1485 | "optional": true
1486 | }
1487 | }
1488 | },
1489 | "node_modules/deepmerge": {
1490 | "version": "4.3.1",
1491 | "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
1492 | "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
1493 | "dev": true,
1494 | "engines": {
1495 | "node": ">=0.10.0"
1496 | }
1497 | },
1498 | "node_modules/delayed-stream": {
1499 | "version": "1.0.0",
1500 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
1501 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
1502 | "engines": {
1503 | "node": ">=0.4.0"
1504 | }
1505 | },
1506 | "node_modules/detect-newline": {
1507 | "version": "3.1.0",
1508 | "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",
1509 | "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==",
1510 | "dev": true,
1511 | "engines": {
1512 | "node": ">=8"
1513 | }
1514 | },
1515 | "node_modules/diff-sequences": {
1516 | "version": "29.6.3",
1517 | "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz",
1518 | "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==",
1519 | "dev": true,
1520 | "engines": {
1521 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
1522 | }
1523 | },
1524 | "node_modules/dunder-proto": {
1525 | "version": "1.0.1",
1526 | "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
1527 | "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
1528 | "dependencies": {
1529 | "call-bind-apply-helpers": "^1.0.1",
1530 | "es-errors": "^1.3.0",
1531 | "gopd": "^1.2.0"
1532 | },
1533 | "engines": {
1534 | "node": ">= 0.4"
1535 | }
1536 | },
1537 | "node_modules/ejs": {
1538 | "version": "3.1.10",
1539 | "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz",
1540 | "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==",
1541 | "dev": true,
1542 | "dependencies": {
1543 | "jake": "^10.8.5"
1544 | },
1545 | "bin": {
1546 | "ejs": "bin/cli.js"
1547 | },
1548 | "engines": {
1549 | "node": ">=0.10.0"
1550 | }
1551 | },
1552 | "node_modules/electron-to-chromium": {
1553 | "version": "1.5.119",
1554 | "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.119.tgz",
1555 | "integrity": "sha512-Ku4NMzUjz3e3Vweh7PhApPrZSS4fyiCIbcIrG9eKrriYVLmbMepETR/v6SU7xPm98QTqMSYiCwfO89QNjXLkbQ==",
1556 | "dev": true
1557 | },
1558 | "node_modules/emittery": {
1559 | "version": "0.13.1",
1560 | "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz",
1561 | "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==",
1562 | "dev": true,
1563 | "engines": {
1564 | "node": ">=12"
1565 | },
1566 | "funding": {
1567 | "url": "https://github.com/sindresorhus/emittery?sponsor=1"
1568 | }
1569 | },
1570 | "node_modules/emoji-regex": {
1571 | "version": "8.0.0",
1572 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
1573 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
1574 | "dev": true
1575 | },
1576 | "node_modules/error-ex": {
1577 | "version": "1.3.2",
1578 | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
1579 | "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
1580 | "dev": true,
1581 | "dependencies": {
1582 | "is-arrayish": "^0.2.1"
1583 | }
1584 | },
1585 | "node_modules/es-define-property": {
1586 | "version": "1.0.1",
1587 | "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
1588 | "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
1589 | "engines": {
1590 | "node": ">= 0.4"
1591 | }
1592 | },
1593 | "node_modules/es-errors": {
1594 | "version": "1.3.0",
1595 | "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
1596 | "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
1597 | "engines": {
1598 | "node": ">= 0.4"
1599 | }
1600 | },
1601 | "node_modules/es-object-atoms": {
1602 | "version": "1.1.1",
1603 | "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
1604 | "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
1605 | "dependencies": {
1606 | "es-errors": "^1.3.0"
1607 | },
1608 | "engines": {
1609 | "node": ">= 0.4"
1610 | }
1611 | },
1612 | "node_modules/es-set-tostringtag": {
1613 | "version": "2.1.0",
1614 | "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",
1615 | "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",
1616 | "dependencies": {
1617 | "es-errors": "^1.3.0",
1618 | "get-intrinsic": "^1.2.6",
1619 | "has-tostringtag": "^1.0.2",
1620 | "hasown": "^2.0.2"
1621 | },
1622 | "engines": {
1623 | "node": ">= 0.4"
1624 | }
1625 | },
1626 | "node_modules/escalade": {
1627 | "version": "3.2.0",
1628 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
1629 | "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
1630 | "dev": true,
1631 | "engines": {
1632 | "node": ">=6"
1633 | }
1634 | },
1635 | "node_modules/escape-string-regexp": {
1636 | "version": "2.0.0",
1637 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
1638 | "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",
1639 | "dev": true,
1640 | "engines": {
1641 | "node": ">=8"
1642 | }
1643 | },
1644 | "node_modules/esprima": {
1645 | "version": "4.0.1",
1646 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
1647 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
1648 | "dev": true,
1649 | "bin": {
1650 | "esparse": "bin/esparse.js",
1651 | "esvalidate": "bin/esvalidate.js"
1652 | },
1653 | "engines": {
1654 | "node": ">=4"
1655 | }
1656 | },
1657 | "node_modules/execa": {
1658 | "version": "5.1.1",
1659 | "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
1660 | "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
1661 | "dev": true,
1662 | "dependencies": {
1663 | "cross-spawn": "^7.0.3",
1664 | "get-stream": "^6.0.0",
1665 | "human-signals": "^2.1.0",
1666 | "is-stream": "^2.0.0",
1667 | "merge-stream": "^2.0.0",
1668 | "npm-run-path": "^4.0.1",
1669 | "onetime": "^5.1.2",
1670 | "signal-exit": "^3.0.3",
1671 | "strip-final-newline": "^2.0.0"
1672 | },
1673 | "engines": {
1674 | "node": ">=10"
1675 | },
1676 | "funding": {
1677 | "url": "https://github.com/sindresorhus/execa?sponsor=1"
1678 | }
1679 | },
1680 | "node_modules/exit": {
1681 | "version": "0.1.2",
1682 | "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
1683 | "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==",
1684 | "dev": true,
1685 | "engines": {
1686 | "node": ">= 0.8.0"
1687 | }
1688 | },
1689 | "node_modules/expect": {
1690 | "version": "29.7.0",
1691 | "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz",
1692 | "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==",
1693 | "dev": true,
1694 | "dependencies": {
1695 | "@jest/expect-utils": "^29.7.0",
1696 | "jest-get-type": "^29.6.3",
1697 | "jest-matcher-utils": "^29.7.0",
1698 | "jest-message-util": "^29.7.0",
1699 | "jest-util": "^29.7.0"
1700 | },
1701 | "engines": {
1702 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
1703 | }
1704 | },
1705 | "node_modules/fast-json-stable-stringify": {
1706 | "version": "2.1.0",
1707 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
1708 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
1709 | "dev": true
1710 | },
1711 | "node_modules/fb-watchman": {
1712 | "version": "2.0.2",
1713 | "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz",
1714 | "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==",
1715 | "dev": true,
1716 | "dependencies": {
1717 | "bser": "2.1.1"
1718 | }
1719 | },
1720 | "node_modules/filelist": {
1721 | "version": "1.0.4",
1722 | "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz",
1723 | "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==",
1724 | "dev": true,
1725 | "dependencies": {
1726 | "minimatch": "^5.0.1"
1727 | }
1728 | },
1729 | "node_modules/filelist/node_modules/brace-expansion": {
1730 | "version": "2.0.1",
1731 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
1732 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
1733 | "dev": true,
1734 | "dependencies": {
1735 | "balanced-match": "^1.0.0"
1736 | }
1737 | },
1738 | "node_modules/filelist/node_modules/minimatch": {
1739 | "version": "5.1.6",
1740 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",
1741 | "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",
1742 | "dev": true,
1743 | "dependencies": {
1744 | "brace-expansion": "^2.0.1"
1745 | },
1746 | "engines": {
1747 | "node": ">=10"
1748 | }
1749 | },
1750 | "node_modules/fill-range": {
1751 | "version": "7.1.1",
1752 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
1753 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
1754 | "dev": true,
1755 | "dependencies": {
1756 | "to-regex-range": "^5.0.1"
1757 | },
1758 | "engines": {
1759 | "node": ">=8"
1760 | }
1761 | },
1762 | "node_modules/find-up": {
1763 | "version": "4.1.0",
1764 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
1765 | "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
1766 | "dev": true,
1767 | "dependencies": {
1768 | "locate-path": "^5.0.0",
1769 | "path-exists": "^4.0.0"
1770 | },
1771 | "engines": {
1772 | "node": ">=8"
1773 | }
1774 | },
1775 | "node_modules/follow-redirects": {
1776 | "version": "1.15.9",
1777 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz",
1778 | "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==",
1779 | "funding": [
1780 | {
1781 | "type": "individual",
1782 | "url": "https://github.com/sponsors/RubenVerborgh"
1783 | }
1784 | ],
1785 | "engines": {
1786 | "node": ">=4.0"
1787 | },
1788 | "peerDependenciesMeta": {
1789 | "debug": {
1790 | "optional": true
1791 | }
1792 | }
1793 | },
1794 | "node_modules/form-data": {
1795 | "version": "4.0.2",
1796 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz",
1797 | "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==",
1798 | "dependencies": {
1799 | "asynckit": "^0.4.0",
1800 | "combined-stream": "^1.0.8",
1801 | "es-set-tostringtag": "^2.1.0",
1802 | "mime-types": "^2.1.12"
1803 | },
1804 | "engines": {
1805 | "node": ">= 6"
1806 | }
1807 | },
1808 | "node_modules/fs.realpath": {
1809 | "version": "1.0.0",
1810 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
1811 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
1812 | "dev": true
1813 | },
1814 | "node_modules/fsevents": {
1815 | "version": "2.3.3",
1816 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
1817 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
1818 | "dev": true,
1819 | "hasInstallScript": true,
1820 | "optional": true,
1821 | "os": [
1822 | "darwin"
1823 | ],
1824 | "engines": {
1825 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
1826 | }
1827 | },
1828 | "node_modules/function-bind": {
1829 | "version": "1.1.2",
1830 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
1831 | "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
1832 | "funding": {
1833 | "url": "https://github.com/sponsors/ljharb"
1834 | }
1835 | },
1836 | "node_modules/gensync": {
1837 | "version": "1.0.0-beta.2",
1838 | "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
1839 | "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
1840 | "dev": true,
1841 | "engines": {
1842 | "node": ">=6.9.0"
1843 | }
1844 | },
1845 | "node_modules/get-caller-file": {
1846 | "version": "2.0.5",
1847 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
1848 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
1849 | "dev": true,
1850 | "engines": {
1851 | "node": "6.* || 8.* || >= 10.*"
1852 | }
1853 | },
1854 | "node_modules/get-intrinsic": {
1855 | "version": "1.3.0",
1856 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
1857 | "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
1858 | "dependencies": {
1859 | "call-bind-apply-helpers": "^1.0.2",
1860 | "es-define-property": "^1.0.1",
1861 | "es-errors": "^1.3.0",
1862 | "es-object-atoms": "^1.1.1",
1863 | "function-bind": "^1.1.2",
1864 | "get-proto": "^1.0.1",
1865 | "gopd": "^1.2.0",
1866 | "has-symbols": "^1.1.0",
1867 | "hasown": "^2.0.2",
1868 | "math-intrinsics": "^1.1.0"
1869 | },
1870 | "engines": {
1871 | "node": ">= 0.4"
1872 | },
1873 | "funding": {
1874 | "url": "https://github.com/sponsors/ljharb"
1875 | }
1876 | },
1877 | "node_modules/get-package-type": {
1878 | "version": "0.1.0",
1879 | "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz",
1880 | "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==",
1881 | "dev": true,
1882 | "engines": {
1883 | "node": ">=8.0.0"
1884 | }
1885 | },
1886 | "node_modules/get-proto": {
1887 | "version": "1.0.1",
1888 | "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
1889 | "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
1890 | "dependencies": {
1891 | "dunder-proto": "^1.0.1",
1892 | "es-object-atoms": "^1.0.0"
1893 | },
1894 | "engines": {
1895 | "node": ">= 0.4"
1896 | }
1897 | },
1898 | "node_modules/get-stream": {
1899 | "version": "6.0.1",
1900 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
1901 | "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
1902 | "dev": true,
1903 | "engines": {
1904 | "node": ">=10"
1905 | },
1906 | "funding": {
1907 | "url": "https://github.com/sponsors/sindresorhus"
1908 | }
1909 | },
1910 | "node_modules/ghost-io": {
1911 | "version": "1.1.2",
1912 | "resolved": "https://registry.npmjs.org/ghost-io/-/ghost-io-1.1.2.tgz",
1913 | "integrity": "sha512-KUIunMSu/L84A6nOJ1EtloLyEHhvgphxHlMhWHyislQzTb4UQiVCkLVb5cgMGDNBpEDU9IQez+xvx/HPhu2kDw==",
1914 | "dependencies": {
1915 | "axios": "^1.3.0",
1916 | "ghost-io": "^1.1.1",
1917 | "prettier": "^3.5.3"
1918 | }
1919 | },
1920 | "node_modules/glob": {
1921 | "version": "7.2.3",
1922 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
1923 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
1924 | "deprecated": "Glob versions prior to v9 are no longer supported",
1925 | "dev": true,
1926 | "dependencies": {
1927 | "fs.realpath": "^1.0.0",
1928 | "inflight": "^1.0.4",
1929 | "inherits": "2",
1930 | "minimatch": "^3.1.1",
1931 | "once": "^1.3.0",
1932 | "path-is-absolute": "^1.0.0"
1933 | },
1934 | "engines": {
1935 | "node": "*"
1936 | },
1937 | "funding": {
1938 | "url": "https://github.com/sponsors/isaacs"
1939 | }
1940 | },
1941 | "node_modules/globals": {
1942 | "version": "11.12.0",
1943 | "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
1944 | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
1945 | "dev": true,
1946 | "engines": {
1947 | "node": ">=4"
1948 | }
1949 | },
1950 | "node_modules/gopd": {
1951 | "version": "1.2.0",
1952 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
1953 | "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
1954 | "engines": {
1955 | "node": ">= 0.4"
1956 | },
1957 | "funding": {
1958 | "url": "https://github.com/sponsors/ljharb"
1959 | }
1960 | },
1961 | "node_modules/graceful-fs": {
1962 | "version": "4.2.11",
1963 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
1964 | "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
1965 | "dev": true
1966 | },
1967 | "node_modules/has-flag": {
1968 | "version": "4.0.0",
1969 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
1970 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
1971 | "dev": true,
1972 | "engines": {
1973 | "node": ">=8"
1974 | }
1975 | },
1976 | "node_modules/has-symbols": {
1977 | "version": "1.1.0",
1978 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
1979 | "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
1980 | "engines": {
1981 | "node": ">= 0.4"
1982 | },
1983 | "funding": {
1984 | "url": "https://github.com/sponsors/ljharb"
1985 | }
1986 | },
1987 | "node_modules/has-tostringtag": {
1988 | "version": "1.0.2",
1989 | "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
1990 | "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
1991 | "dependencies": {
1992 | "has-symbols": "^1.0.3"
1993 | },
1994 | "engines": {
1995 | "node": ">= 0.4"
1996 | },
1997 | "funding": {
1998 | "url": "https://github.com/sponsors/ljharb"
1999 | }
2000 | },
2001 | "node_modules/hasown": {
2002 | "version": "2.0.2",
2003 | "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
2004 | "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
2005 | "dependencies": {
2006 | "function-bind": "^1.1.2"
2007 | },
2008 | "engines": {
2009 | "node": ">= 0.4"
2010 | }
2011 | },
2012 | "node_modules/html-escaper": {
2013 | "version": "2.0.2",
2014 | "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
2015 | "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
2016 | "dev": true
2017 | },
2018 | "node_modules/human-signals": {
2019 | "version": "2.1.0",
2020 | "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
2021 | "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
2022 | "dev": true,
2023 | "engines": {
2024 | "node": ">=10.17.0"
2025 | }
2026 | },
2027 | "node_modules/import-local": {
2028 | "version": "3.2.0",
2029 | "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz",
2030 | "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==",
2031 | "dev": true,
2032 | "dependencies": {
2033 | "pkg-dir": "^4.2.0",
2034 | "resolve-cwd": "^3.0.0"
2035 | },
2036 | "bin": {
2037 | "import-local-fixture": "fixtures/cli.js"
2038 | },
2039 | "engines": {
2040 | "node": ">=8"
2041 | },
2042 | "funding": {
2043 | "url": "https://github.com/sponsors/sindresorhus"
2044 | }
2045 | },
2046 | "node_modules/imurmurhash": {
2047 | "version": "0.1.4",
2048 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
2049 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
2050 | "dev": true,
2051 | "engines": {
2052 | "node": ">=0.8.19"
2053 | }
2054 | },
2055 | "node_modules/inflight": {
2056 | "version": "1.0.6",
2057 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
2058 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
2059 | "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.",
2060 | "dev": true,
2061 | "dependencies": {
2062 | "once": "^1.3.0",
2063 | "wrappy": "1"
2064 | }
2065 | },
2066 | "node_modules/inherits": {
2067 | "version": "2.0.4",
2068 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
2069 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
2070 | "dev": true
2071 | },
2072 | "node_modules/is-arrayish": {
2073 | "version": "0.2.1",
2074 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
2075 | "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
2076 | "dev": true
2077 | },
2078 | "node_modules/is-core-module": {
2079 | "version": "2.16.1",
2080 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz",
2081 | "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==",
2082 | "dev": true,
2083 | "dependencies": {
2084 | "hasown": "^2.0.2"
2085 | },
2086 | "engines": {
2087 | "node": ">= 0.4"
2088 | },
2089 | "funding": {
2090 | "url": "https://github.com/sponsors/ljharb"
2091 | }
2092 | },
2093 | "node_modules/is-fullwidth-code-point": {
2094 | "version": "3.0.0",
2095 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
2096 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
2097 | "dev": true,
2098 | "engines": {
2099 | "node": ">=8"
2100 | }
2101 | },
2102 | "node_modules/is-generator-fn": {
2103 | "version": "2.1.0",
2104 | "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz",
2105 | "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==",
2106 | "dev": true,
2107 | "engines": {
2108 | "node": ">=6"
2109 | }
2110 | },
2111 | "node_modules/is-number": {
2112 | "version": "7.0.0",
2113 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
2114 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
2115 | "dev": true,
2116 | "engines": {
2117 | "node": ">=0.12.0"
2118 | }
2119 | },
2120 | "node_modules/is-stream": {
2121 | "version": "2.0.1",
2122 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
2123 | "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
2124 | "dev": true,
2125 | "engines": {
2126 | "node": ">=8"
2127 | },
2128 | "funding": {
2129 | "url": "https://github.com/sponsors/sindresorhus"
2130 | }
2131 | },
2132 | "node_modules/isexe": {
2133 | "version": "2.0.0",
2134 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
2135 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
2136 | "dev": true
2137 | },
2138 | "node_modules/istanbul-lib-coverage": {
2139 | "version": "3.2.2",
2140 | "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz",
2141 | "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==",
2142 | "dev": true,
2143 | "engines": {
2144 | "node": ">=8"
2145 | }
2146 | },
2147 | "node_modules/istanbul-lib-instrument": {
2148 | "version": "6.0.3",
2149 | "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz",
2150 | "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==",
2151 | "dev": true,
2152 | "dependencies": {
2153 | "@babel/core": "^7.23.9",
2154 | "@babel/parser": "^7.23.9",
2155 | "@istanbuljs/schema": "^0.1.3",
2156 | "istanbul-lib-coverage": "^3.2.0",
2157 | "semver": "^7.5.4"
2158 | },
2159 | "engines": {
2160 | "node": ">=10"
2161 | }
2162 | },
2163 | "node_modules/istanbul-lib-instrument/node_modules/semver": {
2164 | "version": "7.7.1",
2165 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
2166 | "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",
2167 | "dev": true,
2168 | "bin": {
2169 | "semver": "bin/semver.js"
2170 | },
2171 | "engines": {
2172 | "node": ">=10"
2173 | }
2174 | },
2175 | "node_modules/istanbul-lib-report": {
2176 | "version": "3.0.1",
2177 | "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz",
2178 | "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==",
2179 | "dev": true,
2180 | "dependencies": {
2181 | "istanbul-lib-coverage": "^3.0.0",
2182 | "make-dir": "^4.0.0",
2183 | "supports-color": "^7.1.0"
2184 | },
2185 | "engines": {
2186 | "node": ">=10"
2187 | }
2188 | },
2189 | "node_modules/istanbul-lib-source-maps": {
2190 | "version": "4.0.1",
2191 | "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz",
2192 | "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==",
2193 | "dev": true,
2194 | "dependencies": {
2195 | "debug": "^4.1.1",
2196 | "istanbul-lib-coverage": "^3.0.0",
2197 | "source-map": "^0.6.1"
2198 | },
2199 | "engines": {
2200 | "node": ">=10"
2201 | }
2202 | },
2203 | "node_modules/istanbul-reports": {
2204 | "version": "3.1.7",
2205 | "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz",
2206 | "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==",
2207 | "dev": true,
2208 | "dependencies": {
2209 | "html-escaper": "^2.0.0",
2210 | "istanbul-lib-report": "^3.0.0"
2211 | },
2212 | "engines": {
2213 | "node": ">=8"
2214 | }
2215 | },
2216 | "node_modules/jake": {
2217 | "version": "10.9.2",
2218 | "resolved": "https://registry.npmjs.org/jake/-/jake-10.9.2.tgz",
2219 | "integrity": "sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==",
2220 | "dev": true,
2221 | "dependencies": {
2222 | "async": "^3.2.3",
2223 | "chalk": "^4.0.2",
2224 | "filelist": "^1.0.4",
2225 | "minimatch": "^3.1.2"
2226 | },
2227 | "bin": {
2228 | "jake": "bin/cli.js"
2229 | },
2230 | "engines": {
2231 | "node": ">=10"
2232 | }
2233 | },
2234 | "node_modules/jest": {
2235 | "version": "29.7.0",
2236 | "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz",
2237 | "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==",
2238 | "dev": true,
2239 | "dependencies": {
2240 | "@jest/core": "^29.7.0",
2241 | "@jest/types": "^29.6.3",
2242 | "import-local": "^3.0.2",
2243 | "jest-cli": "^29.7.0"
2244 | },
2245 | "bin": {
2246 | "jest": "bin/jest.js"
2247 | },
2248 | "engines": {
2249 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2250 | },
2251 | "peerDependencies": {
2252 | "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
2253 | },
2254 | "peerDependenciesMeta": {
2255 | "node-notifier": {
2256 | "optional": true
2257 | }
2258 | }
2259 | },
2260 | "node_modules/jest-changed-files": {
2261 | "version": "29.7.0",
2262 | "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz",
2263 | "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==",
2264 | "dev": true,
2265 | "dependencies": {
2266 | "execa": "^5.0.0",
2267 | "jest-util": "^29.7.0",
2268 | "p-limit": "^3.1.0"
2269 | },
2270 | "engines": {
2271 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2272 | }
2273 | },
2274 | "node_modules/jest-circus": {
2275 | "version": "29.7.0",
2276 | "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz",
2277 | "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==",
2278 | "dev": true,
2279 | "dependencies": {
2280 | "@jest/environment": "^29.7.0",
2281 | "@jest/expect": "^29.7.0",
2282 | "@jest/test-result": "^29.7.0",
2283 | "@jest/types": "^29.6.3",
2284 | "@types/node": "*",
2285 | "chalk": "^4.0.0",
2286 | "co": "^4.6.0",
2287 | "dedent": "^1.0.0",
2288 | "is-generator-fn": "^2.0.0",
2289 | "jest-each": "^29.7.0",
2290 | "jest-matcher-utils": "^29.7.0",
2291 | "jest-message-util": "^29.7.0",
2292 | "jest-runtime": "^29.7.0",
2293 | "jest-snapshot": "^29.7.0",
2294 | "jest-util": "^29.7.0",
2295 | "p-limit": "^3.1.0",
2296 | "pretty-format": "^29.7.0",
2297 | "pure-rand": "^6.0.0",
2298 | "slash": "^3.0.0",
2299 | "stack-utils": "^2.0.3"
2300 | },
2301 | "engines": {
2302 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2303 | }
2304 | },
2305 | "node_modules/jest-cli": {
2306 | "version": "29.7.0",
2307 | "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz",
2308 | "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==",
2309 | "dev": true,
2310 | "dependencies": {
2311 | "@jest/core": "^29.7.0",
2312 | "@jest/test-result": "^29.7.0",
2313 | "@jest/types": "^29.6.3",
2314 | "chalk": "^4.0.0",
2315 | "create-jest": "^29.7.0",
2316 | "exit": "^0.1.2",
2317 | "import-local": "^3.0.2",
2318 | "jest-config": "^29.7.0",
2319 | "jest-util": "^29.7.0",
2320 | "jest-validate": "^29.7.0",
2321 | "yargs": "^17.3.1"
2322 | },
2323 | "bin": {
2324 | "jest": "bin/jest.js"
2325 | },
2326 | "engines": {
2327 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2328 | },
2329 | "peerDependencies": {
2330 | "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
2331 | },
2332 | "peerDependenciesMeta": {
2333 | "node-notifier": {
2334 | "optional": true
2335 | }
2336 | }
2337 | },
2338 | "node_modules/jest-config": {
2339 | "version": "29.7.0",
2340 | "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz",
2341 | "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==",
2342 | "dev": true,
2343 | "dependencies": {
2344 | "@babel/core": "^7.11.6",
2345 | "@jest/test-sequencer": "^29.7.0",
2346 | "@jest/types": "^29.6.3",
2347 | "babel-jest": "^29.7.0",
2348 | "chalk": "^4.0.0",
2349 | "ci-info": "^3.2.0",
2350 | "deepmerge": "^4.2.2",
2351 | "glob": "^7.1.3",
2352 | "graceful-fs": "^4.2.9",
2353 | "jest-circus": "^29.7.0",
2354 | "jest-environment-node": "^29.7.0",
2355 | "jest-get-type": "^29.6.3",
2356 | "jest-regex-util": "^29.6.3",
2357 | "jest-resolve": "^29.7.0",
2358 | "jest-runner": "^29.7.0",
2359 | "jest-util": "^29.7.0",
2360 | "jest-validate": "^29.7.0",
2361 | "micromatch": "^4.0.4",
2362 | "parse-json": "^5.2.0",
2363 | "pretty-format": "^29.7.0",
2364 | "slash": "^3.0.0",
2365 | "strip-json-comments": "^3.1.1"
2366 | },
2367 | "engines": {
2368 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2369 | },
2370 | "peerDependencies": {
2371 | "@types/node": "*",
2372 | "ts-node": ">=9.0.0"
2373 | },
2374 | "peerDependenciesMeta": {
2375 | "@types/node": {
2376 | "optional": true
2377 | },
2378 | "ts-node": {
2379 | "optional": true
2380 | }
2381 | }
2382 | },
2383 | "node_modules/jest-diff": {
2384 | "version": "29.7.0",
2385 | "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz",
2386 | "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==",
2387 | "dev": true,
2388 | "dependencies": {
2389 | "chalk": "^4.0.0",
2390 | "diff-sequences": "^29.6.3",
2391 | "jest-get-type": "^29.6.3",
2392 | "pretty-format": "^29.7.0"
2393 | },
2394 | "engines": {
2395 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2396 | }
2397 | },
2398 | "node_modules/jest-docblock": {
2399 | "version": "29.7.0",
2400 | "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz",
2401 | "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==",
2402 | "dev": true,
2403 | "dependencies": {
2404 | "detect-newline": "^3.0.0"
2405 | },
2406 | "engines": {
2407 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2408 | }
2409 | },
2410 | "node_modules/jest-each": {
2411 | "version": "29.7.0",
2412 | "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz",
2413 | "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==",
2414 | "dev": true,
2415 | "dependencies": {
2416 | "@jest/types": "^29.6.3",
2417 | "chalk": "^4.0.0",
2418 | "jest-get-type": "^29.6.3",
2419 | "jest-util": "^29.7.0",
2420 | "pretty-format": "^29.7.0"
2421 | },
2422 | "engines": {
2423 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2424 | }
2425 | },
2426 | "node_modules/jest-environment-node": {
2427 | "version": "29.7.0",
2428 | "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz",
2429 | "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==",
2430 | "dev": true,
2431 | "dependencies": {
2432 | "@jest/environment": "^29.7.0",
2433 | "@jest/fake-timers": "^29.7.0",
2434 | "@jest/types": "^29.6.3",
2435 | "@types/node": "*",
2436 | "jest-mock": "^29.7.0",
2437 | "jest-util": "^29.7.0"
2438 | },
2439 | "engines": {
2440 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2441 | }
2442 | },
2443 | "node_modules/jest-get-type": {
2444 | "version": "29.6.3",
2445 | "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz",
2446 | "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==",
2447 | "dev": true,
2448 | "engines": {
2449 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2450 | }
2451 | },
2452 | "node_modules/jest-haste-map": {
2453 | "version": "29.7.0",
2454 | "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz",
2455 | "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==",
2456 | "dev": true,
2457 | "dependencies": {
2458 | "@jest/types": "^29.6.3",
2459 | "@types/graceful-fs": "^4.1.3",
2460 | "@types/node": "*",
2461 | "anymatch": "^3.0.3",
2462 | "fb-watchman": "^2.0.0",
2463 | "graceful-fs": "^4.2.9",
2464 | "jest-regex-util": "^29.6.3",
2465 | "jest-util": "^29.7.0",
2466 | "jest-worker": "^29.7.0",
2467 | "micromatch": "^4.0.4",
2468 | "walker": "^1.0.8"
2469 | },
2470 | "engines": {
2471 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2472 | },
2473 | "optionalDependencies": {
2474 | "fsevents": "^2.3.2"
2475 | }
2476 | },
2477 | "node_modules/jest-leak-detector": {
2478 | "version": "29.7.0",
2479 | "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz",
2480 | "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==",
2481 | "dev": true,
2482 | "dependencies": {
2483 | "jest-get-type": "^29.6.3",
2484 | "pretty-format": "^29.7.0"
2485 | },
2486 | "engines": {
2487 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2488 | }
2489 | },
2490 | "node_modules/jest-matcher-utils": {
2491 | "version": "29.7.0",
2492 | "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz",
2493 | "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==",
2494 | "dev": true,
2495 | "dependencies": {
2496 | "chalk": "^4.0.0",
2497 | "jest-diff": "^29.7.0",
2498 | "jest-get-type": "^29.6.3",
2499 | "pretty-format": "^29.7.0"
2500 | },
2501 | "engines": {
2502 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2503 | }
2504 | },
2505 | "node_modules/jest-message-util": {
2506 | "version": "29.7.0",
2507 | "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz",
2508 | "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==",
2509 | "dev": true,
2510 | "dependencies": {
2511 | "@babel/code-frame": "^7.12.13",
2512 | "@jest/types": "^29.6.3",
2513 | "@types/stack-utils": "^2.0.0",
2514 | "chalk": "^4.0.0",
2515 | "graceful-fs": "^4.2.9",
2516 | "micromatch": "^4.0.4",
2517 | "pretty-format": "^29.7.0",
2518 | "slash": "^3.0.0",
2519 | "stack-utils": "^2.0.3"
2520 | },
2521 | "engines": {
2522 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2523 | }
2524 | },
2525 | "node_modules/jest-mock": {
2526 | "version": "29.7.0",
2527 | "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz",
2528 | "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==",
2529 | "dev": true,
2530 | "dependencies": {
2531 | "@jest/types": "^29.6.3",
2532 | "@types/node": "*",
2533 | "jest-util": "^29.7.0"
2534 | },
2535 | "engines": {
2536 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2537 | }
2538 | },
2539 | "node_modules/jest-pnp-resolver": {
2540 | "version": "1.2.3",
2541 | "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz",
2542 | "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==",
2543 | "dev": true,
2544 | "engines": {
2545 | "node": ">=6"
2546 | },
2547 | "peerDependencies": {
2548 | "jest-resolve": "*"
2549 | },
2550 | "peerDependenciesMeta": {
2551 | "jest-resolve": {
2552 | "optional": true
2553 | }
2554 | }
2555 | },
2556 | "node_modules/jest-regex-util": {
2557 | "version": "29.6.3",
2558 | "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz",
2559 | "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==",
2560 | "dev": true,
2561 | "engines": {
2562 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2563 | }
2564 | },
2565 | "node_modules/jest-resolve": {
2566 | "version": "29.7.0",
2567 | "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz",
2568 | "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==",
2569 | "dev": true,
2570 | "dependencies": {
2571 | "chalk": "^4.0.0",
2572 | "graceful-fs": "^4.2.9",
2573 | "jest-haste-map": "^29.7.0",
2574 | "jest-pnp-resolver": "^1.2.2",
2575 | "jest-util": "^29.7.0",
2576 | "jest-validate": "^29.7.0",
2577 | "resolve": "^1.20.0",
2578 | "resolve.exports": "^2.0.0",
2579 | "slash": "^3.0.0"
2580 | },
2581 | "engines": {
2582 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2583 | }
2584 | },
2585 | "node_modules/jest-resolve-dependencies": {
2586 | "version": "29.7.0",
2587 | "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz",
2588 | "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==",
2589 | "dev": true,
2590 | "dependencies": {
2591 | "jest-regex-util": "^29.6.3",
2592 | "jest-snapshot": "^29.7.0"
2593 | },
2594 | "engines": {
2595 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2596 | }
2597 | },
2598 | "node_modules/jest-runner": {
2599 | "version": "29.7.0",
2600 | "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz",
2601 | "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==",
2602 | "dev": true,
2603 | "dependencies": {
2604 | "@jest/console": "^29.7.0",
2605 | "@jest/environment": "^29.7.0",
2606 | "@jest/test-result": "^29.7.0",
2607 | "@jest/transform": "^29.7.0",
2608 | "@jest/types": "^29.6.3",
2609 | "@types/node": "*",
2610 | "chalk": "^4.0.0",
2611 | "emittery": "^0.13.1",
2612 | "graceful-fs": "^4.2.9",
2613 | "jest-docblock": "^29.7.0",
2614 | "jest-environment-node": "^29.7.0",
2615 | "jest-haste-map": "^29.7.0",
2616 | "jest-leak-detector": "^29.7.0",
2617 | "jest-message-util": "^29.7.0",
2618 | "jest-resolve": "^29.7.0",
2619 | "jest-runtime": "^29.7.0",
2620 | "jest-util": "^29.7.0",
2621 | "jest-watcher": "^29.7.0",
2622 | "jest-worker": "^29.7.0",
2623 | "p-limit": "^3.1.0",
2624 | "source-map-support": "0.5.13"
2625 | },
2626 | "engines": {
2627 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2628 | }
2629 | },
2630 | "node_modules/jest-runtime": {
2631 | "version": "29.7.0",
2632 | "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz",
2633 | "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==",
2634 | "dev": true,
2635 | "dependencies": {
2636 | "@jest/environment": "^29.7.0",
2637 | "@jest/fake-timers": "^29.7.0",
2638 | "@jest/globals": "^29.7.0",
2639 | "@jest/source-map": "^29.6.3",
2640 | "@jest/test-result": "^29.7.0",
2641 | "@jest/transform": "^29.7.0",
2642 | "@jest/types": "^29.6.3",
2643 | "@types/node": "*",
2644 | "chalk": "^4.0.0",
2645 | "cjs-module-lexer": "^1.0.0",
2646 | "collect-v8-coverage": "^1.0.0",
2647 | "glob": "^7.1.3",
2648 | "graceful-fs": "^4.2.9",
2649 | "jest-haste-map": "^29.7.0",
2650 | "jest-message-util": "^29.7.0",
2651 | "jest-mock": "^29.7.0",
2652 | "jest-regex-util": "^29.6.3",
2653 | "jest-resolve": "^29.7.0",
2654 | "jest-snapshot": "^29.7.0",
2655 | "jest-util": "^29.7.0",
2656 | "slash": "^3.0.0",
2657 | "strip-bom": "^4.0.0"
2658 | },
2659 | "engines": {
2660 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2661 | }
2662 | },
2663 | "node_modules/jest-snapshot": {
2664 | "version": "29.7.0",
2665 | "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz",
2666 | "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==",
2667 | "dev": true,
2668 | "dependencies": {
2669 | "@babel/core": "^7.11.6",
2670 | "@babel/generator": "^7.7.2",
2671 | "@babel/plugin-syntax-jsx": "^7.7.2",
2672 | "@babel/plugin-syntax-typescript": "^7.7.2",
2673 | "@babel/types": "^7.3.3",
2674 | "@jest/expect-utils": "^29.7.0",
2675 | "@jest/transform": "^29.7.0",
2676 | "@jest/types": "^29.6.3",
2677 | "babel-preset-current-node-syntax": "^1.0.0",
2678 | "chalk": "^4.0.0",
2679 | "expect": "^29.7.0",
2680 | "graceful-fs": "^4.2.9",
2681 | "jest-diff": "^29.7.0",
2682 | "jest-get-type": "^29.6.3",
2683 | "jest-matcher-utils": "^29.7.0",
2684 | "jest-message-util": "^29.7.0",
2685 | "jest-util": "^29.7.0",
2686 | "natural-compare": "^1.4.0",
2687 | "pretty-format": "^29.7.0",
2688 | "semver": "^7.5.3"
2689 | },
2690 | "engines": {
2691 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2692 | }
2693 | },
2694 | "node_modules/jest-snapshot/node_modules/semver": {
2695 | "version": "7.7.1",
2696 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
2697 | "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",
2698 | "dev": true,
2699 | "bin": {
2700 | "semver": "bin/semver.js"
2701 | },
2702 | "engines": {
2703 | "node": ">=10"
2704 | }
2705 | },
2706 | "node_modules/jest-util": {
2707 | "version": "29.7.0",
2708 | "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz",
2709 | "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==",
2710 | "dev": true,
2711 | "dependencies": {
2712 | "@jest/types": "^29.6.3",
2713 | "@types/node": "*",
2714 | "chalk": "^4.0.0",
2715 | "ci-info": "^3.2.0",
2716 | "graceful-fs": "^4.2.9",
2717 | "picomatch": "^2.2.3"
2718 | },
2719 | "engines": {
2720 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2721 | }
2722 | },
2723 | "node_modules/jest-validate": {
2724 | "version": "29.7.0",
2725 | "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz",
2726 | "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==",
2727 | "dev": true,
2728 | "dependencies": {
2729 | "@jest/types": "^29.6.3",
2730 | "camelcase": "^6.2.0",
2731 | "chalk": "^4.0.0",
2732 | "jest-get-type": "^29.6.3",
2733 | "leven": "^3.1.0",
2734 | "pretty-format": "^29.7.0"
2735 | },
2736 | "engines": {
2737 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2738 | }
2739 | },
2740 | "node_modules/jest-validate/node_modules/camelcase": {
2741 | "version": "6.3.0",
2742 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",
2743 | "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",
2744 | "dev": true,
2745 | "engines": {
2746 | "node": ">=10"
2747 | },
2748 | "funding": {
2749 | "url": "https://github.com/sponsors/sindresorhus"
2750 | }
2751 | },
2752 | "node_modules/jest-watcher": {
2753 | "version": "29.7.0",
2754 | "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz",
2755 | "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==",
2756 | "dev": true,
2757 | "dependencies": {
2758 | "@jest/test-result": "^29.7.0",
2759 | "@jest/types": "^29.6.3",
2760 | "@types/node": "*",
2761 | "ansi-escapes": "^4.2.1",
2762 | "chalk": "^4.0.0",
2763 | "emittery": "^0.13.1",
2764 | "jest-util": "^29.7.0",
2765 | "string-length": "^4.0.1"
2766 | },
2767 | "engines": {
2768 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2769 | }
2770 | },
2771 | "node_modules/jest-worker": {
2772 | "version": "29.7.0",
2773 | "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz",
2774 | "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==",
2775 | "dev": true,
2776 | "dependencies": {
2777 | "@types/node": "*",
2778 | "jest-util": "^29.7.0",
2779 | "merge-stream": "^2.0.0",
2780 | "supports-color": "^8.0.0"
2781 | },
2782 | "engines": {
2783 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
2784 | }
2785 | },
2786 | "node_modules/jest-worker/node_modules/supports-color": {
2787 | "version": "8.1.1",
2788 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",
2789 | "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",
2790 | "dev": true,
2791 | "dependencies": {
2792 | "has-flag": "^4.0.0"
2793 | },
2794 | "engines": {
2795 | "node": ">=10"
2796 | },
2797 | "funding": {
2798 | "url": "https://github.com/chalk/supports-color?sponsor=1"
2799 | }
2800 | },
2801 | "node_modules/js-tokens": {
2802 | "version": "4.0.0",
2803 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
2804 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
2805 | "dev": true
2806 | },
2807 | "node_modules/js-yaml": {
2808 | "version": "3.14.1",
2809 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
2810 | "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
2811 | "dev": true,
2812 | "dependencies": {
2813 | "argparse": "^1.0.7",
2814 | "esprima": "^4.0.0"
2815 | },
2816 | "bin": {
2817 | "js-yaml": "bin/js-yaml.js"
2818 | }
2819 | },
2820 | "node_modules/jsesc": {
2821 | "version": "3.1.0",
2822 | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
2823 | "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
2824 | "dev": true,
2825 | "bin": {
2826 | "jsesc": "bin/jsesc"
2827 | },
2828 | "engines": {
2829 | "node": ">=6"
2830 | }
2831 | },
2832 | "node_modules/json-parse-even-better-errors": {
2833 | "version": "2.3.1",
2834 | "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
2835 | "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
2836 | "dev": true
2837 | },
2838 | "node_modules/json5": {
2839 | "version": "2.2.3",
2840 | "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
2841 | "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
2842 | "dev": true,
2843 | "bin": {
2844 | "json5": "lib/cli.js"
2845 | },
2846 | "engines": {
2847 | "node": ">=6"
2848 | }
2849 | },
2850 | "node_modules/kleur": {
2851 | "version": "3.0.3",
2852 | "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
2853 | "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
2854 | "dev": true,
2855 | "engines": {
2856 | "node": ">=6"
2857 | }
2858 | },
2859 | "node_modules/leven": {
2860 | "version": "3.1.0",
2861 | "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
2862 | "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==",
2863 | "dev": true,
2864 | "engines": {
2865 | "node": ">=6"
2866 | }
2867 | },
2868 | "node_modules/lines-and-columns": {
2869 | "version": "1.2.4",
2870 | "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
2871 | "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
2872 | "dev": true
2873 | },
2874 | "node_modules/locate-path": {
2875 | "version": "5.0.0",
2876 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
2877 | "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
2878 | "dev": true,
2879 | "dependencies": {
2880 | "p-locate": "^4.1.0"
2881 | },
2882 | "engines": {
2883 | "node": ">=8"
2884 | }
2885 | },
2886 | "node_modules/lodash.memoize": {
2887 | "version": "4.1.2",
2888 | "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz",
2889 | "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==",
2890 | "dev": true
2891 | },
2892 | "node_modules/lru-cache": {
2893 | "version": "5.1.1",
2894 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
2895 | "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
2896 | "dev": true,
2897 | "dependencies": {
2898 | "yallist": "^3.0.2"
2899 | }
2900 | },
2901 | "node_modules/make-dir": {
2902 | "version": "4.0.0",
2903 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",
2904 | "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",
2905 | "dev": true,
2906 | "dependencies": {
2907 | "semver": "^7.5.3"
2908 | },
2909 | "engines": {
2910 | "node": ">=10"
2911 | },
2912 | "funding": {
2913 | "url": "https://github.com/sponsors/sindresorhus"
2914 | }
2915 | },
2916 | "node_modules/make-dir/node_modules/semver": {
2917 | "version": "7.7.1",
2918 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
2919 | "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",
2920 | "dev": true,
2921 | "bin": {
2922 | "semver": "bin/semver.js"
2923 | },
2924 | "engines": {
2925 | "node": ">=10"
2926 | }
2927 | },
2928 | "node_modules/make-error": {
2929 | "version": "1.3.6",
2930 | "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
2931 | "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==",
2932 | "dev": true
2933 | },
2934 | "node_modules/makeerror": {
2935 | "version": "1.0.12",
2936 | "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz",
2937 | "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==",
2938 | "dev": true,
2939 | "dependencies": {
2940 | "tmpl": "1.0.5"
2941 | }
2942 | },
2943 | "node_modules/math-intrinsics": {
2944 | "version": "1.1.0",
2945 | "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
2946 | "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
2947 | "engines": {
2948 | "node": ">= 0.4"
2949 | }
2950 | },
2951 | "node_modules/merge-stream": {
2952 | "version": "2.0.0",
2953 | "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
2954 | "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
2955 | "dev": true
2956 | },
2957 | "node_modules/micromatch": {
2958 | "version": "4.0.8",
2959 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
2960 | "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
2961 | "dev": true,
2962 | "dependencies": {
2963 | "braces": "^3.0.3",
2964 | "picomatch": "^2.3.1"
2965 | },
2966 | "engines": {
2967 | "node": ">=8.6"
2968 | }
2969 | },
2970 | "node_modules/mime-db": {
2971 | "version": "1.52.0",
2972 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
2973 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
2974 | "engines": {
2975 | "node": ">= 0.6"
2976 | }
2977 | },
2978 | "node_modules/mime-types": {
2979 | "version": "2.1.35",
2980 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
2981 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
2982 | "dependencies": {
2983 | "mime-db": "1.52.0"
2984 | },
2985 | "engines": {
2986 | "node": ">= 0.6"
2987 | }
2988 | },
2989 | "node_modules/mimic-fn": {
2990 | "version": "2.1.0",
2991 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
2992 | "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
2993 | "dev": true,
2994 | "engines": {
2995 | "node": ">=6"
2996 | }
2997 | },
2998 | "node_modules/minimatch": {
2999 | "version": "3.1.2",
3000 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
3001 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
3002 | "dev": true,
3003 | "dependencies": {
3004 | "brace-expansion": "^1.1.7"
3005 | },
3006 | "engines": {
3007 | "node": "*"
3008 | }
3009 | },
3010 | "node_modules/ms": {
3011 | "version": "2.1.3",
3012 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
3013 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
3014 | "dev": true
3015 | },
3016 | "node_modules/natural-compare": {
3017 | "version": "1.4.0",
3018 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
3019 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
3020 | "dev": true
3021 | },
3022 | "node_modules/node-int64": {
3023 | "version": "0.4.0",
3024 | "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
3025 | "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==",
3026 | "dev": true
3027 | },
3028 | "node_modules/node-releases": {
3029 | "version": "2.0.19",
3030 | "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz",
3031 | "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==",
3032 | "dev": true
3033 | },
3034 | "node_modules/normalize-path": {
3035 | "version": "3.0.0",
3036 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
3037 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
3038 | "dev": true,
3039 | "engines": {
3040 | "node": ">=0.10.0"
3041 | }
3042 | },
3043 | "node_modules/npm-run-path": {
3044 | "version": "4.0.1",
3045 | "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
3046 | "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
3047 | "dev": true,
3048 | "dependencies": {
3049 | "path-key": "^3.0.0"
3050 | },
3051 | "engines": {
3052 | "node": ">=8"
3053 | }
3054 | },
3055 | "node_modules/once": {
3056 | "version": "1.4.0",
3057 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
3058 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
3059 | "dev": true,
3060 | "dependencies": {
3061 | "wrappy": "1"
3062 | }
3063 | },
3064 | "node_modules/onetime": {
3065 | "version": "5.1.2",
3066 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
3067 | "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
3068 | "dev": true,
3069 | "dependencies": {
3070 | "mimic-fn": "^2.1.0"
3071 | },
3072 | "engines": {
3073 | "node": ">=6"
3074 | },
3075 | "funding": {
3076 | "url": "https://github.com/sponsors/sindresorhus"
3077 | }
3078 | },
3079 | "node_modules/p-limit": {
3080 | "version": "3.1.0",
3081 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
3082 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
3083 | "dev": true,
3084 | "dependencies": {
3085 | "yocto-queue": "^0.1.0"
3086 | },
3087 | "engines": {
3088 | "node": ">=10"
3089 | },
3090 | "funding": {
3091 | "url": "https://github.com/sponsors/sindresorhus"
3092 | }
3093 | },
3094 | "node_modules/p-locate": {
3095 | "version": "4.1.0",
3096 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
3097 | "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
3098 | "dev": true,
3099 | "dependencies": {
3100 | "p-limit": "^2.2.0"
3101 | },
3102 | "engines": {
3103 | "node": ">=8"
3104 | }
3105 | },
3106 | "node_modules/p-locate/node_modules/p-limit": {
3107 | "version": "2.3.0",
3108 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
3109 | "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
3110 | "dev": true,
3111 | "dependencies": {
3112 | "p-try": "^2.0.0"
3113 | },
3114 | "engines": {
3115 | "node": ">=6"
3116 | },
3117 | "funding": {
3118 | "url": "https://github.com/sponsors/sindresorhus"
3119 | }
3120 | },
3121 | "node_modules/p-try": {
3122 | "version": "2.2.0",
3123 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
3124 | "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
3125 | "dev": true,
3126 | "engines": {
3127 | "node": ">=6"
3128 | }
3129 | },
3130 | "node_modules/parse-json": {
3131 | "version": "5.2.0",
3132 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
3133 | "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
3134 | "dev": true,
3135 | "dependencies": {
3136 | "@babel/code-frame": "^7.0.0",
3137 | "error-ex": "^1.3.1",
3138 | "json-parse-even-better-errors": "^2.3.0",
3139 | "lines-and-columns": "^1.1.6"
3140 | },
3141 | "engines": {
3142 | "node": ">=8"
3143 | },
3144 | "funding": {
3145 | "url": "https://github.com/sponsors/sindresorhus"
3146 | }
3147 | },
3148 | "node_modules/path-exists": {
3149 | "version": "4.0.0",
3150 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
3151 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
3152 | "dev": true,
3153 | "engines": {
3154 | "node": ">=8"
3155 | }
3156 | },
3157 | "node_modules/path-is-absolute": {
3158 | "version": "1.0.1",
3159 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
3160 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
3161 | "dev": true,
3162 | "engines": {
3163 | "node": ">=0.10.0"
3164 | }
3165 | },
3166 | "node_modules/path-key": {
3167 | "version": "3.1.1",
3168 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
3169 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
3170 | "dev": true,
3171 | "engines": {
3172 | "node": ">=8"
3173 | }
3174 | },
3175 | "node_modules/path-parse": {
3176 | "version": "1.0.7",
3177 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
3178 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
3179 | "dev": true
3180 | },
3181 | "node_modules/picocolors": {
3182 | "version": "1.1.1",
3183 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
3184 | "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
3185 | "dev": true
3186 | },
3187 | "node_modules/picomatch": {
3188 | "version": "2.3.1",
3189 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
3190 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
3191 | "dev": true,
3192 | "engines": {
3193 | "node": ">=8.6"
3194 | },
3195 | "funding": {
3196 | "url": "https://github.com/sponsors/jonschlinkert"
3197 | }
3198 | },
3199 | "node_modules/pirates": {
3200 | "version": "4.0.6",
3201 | "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
3202 | "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==",
3203 | "dev": true,
3204 | "engines": {
3205 | "node": ">= 6"
3206 | }
3207 | },
3208 | "node_modules/pkg-dir": {
3209 | "version": "4.2.0",
3210 | "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
3211 | "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
3212 | "dev": true,
3213 | "dependencies": {
3214 | "find-up": "^4.0.0"
3215 | },
3216 | "engines": {
3217 | "node": ">=8"
3218 | }
3219 | },
3220 | "node_modules/prettier": {
3221 | "version": "3.5.3",
3222 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
3223 | "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
3224 | "bin": {
3225 | "prettier": "bin/prettier.cjs"
3226 | },
3227 | "engines": {
3228 | "node": ">=14"
3229 | },
3230 | "funding": {
3231 | "url": "https://github.com/prettier/prettier?sponsor=1"
3232 | }
3233 | },
3234 | "node_modules/pretty-format": {
3235 | "version": "29.7.0",
3236 | "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz",
3237 | "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==",
3238 | "dev": true,
3239 | "dependencies": {
3240 | "@jest/schemas": "^29.6.3",
3241 | "ansi-styles": "^5.0.0",
3242 | "react-is": "^18.0.0"
3243 | },
3244 | "engines": {
3245 | "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
3246 | }
3247 | },
3248 | "node_modules/pretty-format/node_modules/ansi-styles": {
3249 | "version": "5.2.0",
3250 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
3251 | "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
3252 | "dev": true,
3253 | "engines": {
3254 | "node": ">=10"
3255 | },
3256 | "funding": {
3257 | "url": "https://github.com/chalk/ansi-styles?sponsor=1"
3258 | }
3259 | },
3260 | "node_modules/prompts": {
3261 | "version": "2.4.2",
3262 | "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
3263 | "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
3264 | "dev": true,
3265 | "dependencies": {
3266 | "kleur": "^3.0.3",
3267 | "sisteransi": "^1.0.5"
3268 | },
3269 | "engines": {
3270 | "node": ">= 6"
3271 | }
3272 | },
3273 | "node_modules/proxy-from-env": {
3274 | "version": "1.1.0",
3275 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
3276 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
3277 | },
3278 | "node_modules/pure-rand": {
3279 | "version": "6.1.0",
3280 | "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz",
3281 | "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==",
3282 | "dev": true,
3283 | "funding": [
3284 | {
3285 | "type": "individual",
3286 | "url": "https://github.com/sponsors/dubzzz"
3287 | },
3288 | {
3289 | "type": "opencollective",
3290 | "url": "https://opencollective.com/fast-check"
3291 | }
3292 | ]
3293 | },
3294 | "node_modules/react-is": {
3295 | "version": "18.3.1",
3296 | "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",
3297 | "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==",
3298 | "dev": true
3299 | },
3300 | "node_modules/require-directory": {
3301 | "version": "2.1.1",
3302 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
3303 | "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
3304 | "dev": true,
3305 | "engines": {
3306 | "node": ">=0.10.0"
3307 | }
3308 | },
3309 | "node_modules/resolve": {
3310 | "version": "1.22.10",
3311 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz",
3312 | "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==",
3313 | "dev": true,
3314 | "dependencies": {
3315 | "is-core-module": "^2.16.0",
3316 | "path-parse": "^1.0.7",
3317 | "supports-preserve-symlinks-flag": "^1.0.0"
3318 | },
3319 | "bin": {
3320 | "resolve": "bin/resolve"
3321 | },
3322 | "engines": {
3323 | "node": ">= 0.4"
3324 | },
3325 | "funding": {
3326 | "url": "https://github.com/sponsors/ljharb"
3327 | }
3328 | },
3329 | "node_modules/resolve-cwd": {
3330 | "version": "3.0.0",
3331 | "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz",
3332 | "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==",
3333 | "dev": true,
3334 | "dependencies": {
3335 | "resolve-from": "^5.0.0"
3336 | },
3337 | "engines": {
3338 | "node": ">=8"
3339 | }
3340 | },
3341 | "node_modules/resolve-from": {
3342 | "version": "5.0.0",
3343 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
3344 | "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
3345 | "dev": true,
3346 | "engines": {
3347 | "node": ">=8"
3348 | }
3349 | },
3350 | "node_modules/resolve.exports": {
3351 | "version": "2.0.3",
3352 | "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz",
3353 | "integrity": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==",
3354 | "dev": true,
3355 | "engines": {
3356 | "node": ">=10"
3357 | }
3358 | },
3359 | "node_modules/semver": {
3360 | "version": "6.3.1",
3361 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
3362 | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
3363 | "dev": true,
3364 | "bin": {
3365 | "semver": "bin/semver.js"
3366 | }
3367 | },
3368 | "node_modules/shebang-command": {
3369 | "version": "2.0.0",
3370 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
3371 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
3372 | "dev": true,
3373 | "dependencies": {
3374 | "shebang-regex": "^3.0.0"
3375 | },
3376 | "engines": {
3377 | "node": ">=8"
3378 | }
3379 | },
3380 | "node_modules/shebang-regex": {
3381 | "version": "3.0.0",
3382 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
3383 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
3384 | "dev": true,
3385 | "engines": {
3386 | "node": ">=8"
3387 | }
3388 | },
3389 | "node_modules/signal-exit": {
3390 | "version": "3.0.7",
3391 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
3392 | "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
3393 | "dev": true
3394 | },
3395 | "node_modules/sisteransi": {
3396 | "version": "1.0.5",
3397 | "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
3398 | "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",
3399 | "dev": true
3400 | },
3401 | "node_modules/slash": {
3402 | "version": "3.0.0",
3403 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
3404 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
3405 | "dev": true,
3406 | "engines": {
3407 | "node": ">=8"
3408 | }
3409 | },
3410 | "node_modules/source-map": {
3411 | "version": "0.6.1",
3412 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
3413 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
3414 | "dev": true,
3415 | "engines": {
3416 | "node": ">=0.10.0"
3417 | }
3418 | },
3419 | "node_modules/source-map-support": {
3420 | "version": "0.5.13",
3421 | "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz",
3422 | "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==",
3423 | "dev": true,
3424 | "dependencies": {
3425 | "buffer-from": "^1.0.0",
3426 | "source-map": "^0.6.0"
3427 | }
3428 | },
3429 | "node_modules/sprintf-js": {
3430 | "version": "1.0.3",
3431 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
3432 | "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",
3433 | "dev": true
3434 | },
3435 | "node_modules/stack-utils": {
3436 | "version": "2.0.6",
3437 | "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz",
3438 | "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==",
3439 | "dev": true,
3440 | "dependencies": {
3441 | "escape-string-regexp": "^2.0.0"
3442 | },
3443 | "engines": {
3444 | "node": ">=10"
3445 | }
3446 | },
3447 | "node_modules/string-length": {
3448 | "version": "4.0.2",
3449 | "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",
3450 | "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==",
3451 | "dev": true,
3452 | "dependencies": {
3453 | "char-regex": "^1.0.2",
3454 | "strip-ansi": "^6.0.0"
3455 | },
3456 | "engines": {
3457 | "node": ">=10"
3458 | }
3459 | },
3460 | "node_modules/string-width": {
3461 | "version": "4.2.3",
3462 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
3463 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
3464 | "dev": true,
3465 | "dependencies": {
3466 | "emoji-regex": "^8.0.0",
3467 | "is-fullwidth-code-point": "^3.0.0",
3468 | "strip-ansi": "^6.0.1"
3469 | },
3470 | "engines": {
3471 | "node": ">=8"
3472 | }
3473 | },
3474 | "node_modules/strip-ansi": {
3475 | "version": "6.0.1",
3476 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
3477 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
3478 | "dev": true,
3479 | "dependencies": {
3480 | "ansi-regex": "^5.0.1"
3481 | },
3482 | "engines": {
3483 | "node": ">=8"
3484 | }
3485 | },
3486 | "node_modules/strip-bom": {
3487 | "version": "4.0.0",
3488 | "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",
3489 | "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==",
3490 | "dev": true,
3491 | "engines": {
3492 | "node": ">=8"
3493 | }
3494 | },
3495 | "node_modules/strip-final-newline": {
3496 | "version": "2.0.0",
3497 | "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
3498 | "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
3499 | "dev": true,
3500 | "engines": {
3501 | "node": ">=6"
3502 | }
3503 | },
3504 | "node_modules/strip-json-comments": {
3505 | "version": "3.1.1",
3506 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
3507 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
3508 | "dev": true,
3509 | "engines": {
3510 | "node": ">=8"
3511 | },
3512 | "funding": {
3513 | "url": "https://github.com/sponsors/sindresorhus"
3514 | }
3515 | },
3516 | "node_modules/supports-color": {
3517 | "version": "7.2.0",
3518 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
3519 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
3520 | "dev": true,
3521 | "dependencies": {
3522 | "has-flag": "^4.0.0"
3523 | },
3524 | "engines": {
3525 | "node": ">=8"
3526 | }
3527 | },
3528 | "node_modules/supports-preserve-symlinks-flag": {
3529 | "version": "1.0.0",
3530 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
3531 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
3532 | "dev": true,
3533 | "engines": {
3534 | "node": ">= 0.4"
3535 | },
3536 | "funding": {
3537 | "url": "https://github.com/sponsors/ljharb"
3538 | }
3539 | },
3540 | "node_modules/test-exclude": {
3541 | "version": "6.0.0",
3542 | "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz",
3543 | "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==",
3544 | "dev": true,
3545 | "dependencies": {
3546 | "@istanbuljs/schema": "^0.1.2",
3547 | "glob": "^7.1.4",
3548 | "minimatch": "^3.0.4"
3549 | },
3550 | "engines": {
3551 | "node": ">=8"
3552 | }
3553 | },
3554 | "node_modules/tmpl": {
3555 | "version": "1.0.5",
3556 | "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz",
3557 | "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==",
3558 | "dev": true
3559 | },
3560 | "node_modules/to-regex-range": {
3561 | "version": "5.0.1",
3562 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
3563 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
3564 | "dev": true,
3565 | "dependencies": {
3566 | "is-number": "^7.0.0"
3567 | },
3568 | "engines": {
3569 | "node": ">=8.0"
3570 | }
3571 | },
3572 | "node_modules/ts-jest": {
3573 | "version": "29.2.6",
3574 | "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.2.6.tgz",
3575 | "integrity": "sha512-yTNZVZqc8lSixm+QGVFcPe6+yj7+TWZwIesuOWvfcn4B9bz5x4NDzVCQQjOs7Hfouu36aEqfEbo9Qpo+gq8dDg==",
3576 | "dev": true,
3577 | "dependencies": {
3578 | "bs-logger": "^0.2.6",
3579 | "ejs": "^3.1.10",
3580 | "fast-json-stable-stringify": "^2.1.0",
3581 | "jest-util": "^29.0.0",
3582 | "json5": "^2.2.3",
3583 | "lodash.memoize": "^4.1.2",
3584 | "make-error": "^1.3.6",
3585 | "semver": "^7.7.1",
3586 | "yargs-parser": "^21.1.1"
3587 | },
3588 | "bin": {
3589 | "ts-jest": "cli.js"
3590 | },
3591 | "engines": {
3592 | "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0"
3593 | },
3594 | "peerDependencies": {
3595 | "@babel/core": ">=7.0.0-beta.0 <8",
3596 | "@jest/transform": "^29.0.0",
3597 | "@jest/types": "^29.0.0",
3598 | "babel-jest": "^29.0.0",
3599 | "jest": "^29.0.0",
3600 | "typescript": ">=4.3 <6"
3601 | },
3602 | "peerDependenciesMeta": {
3603 | "@babel/core": {
3604 | "optional": true
3605 | },
3606 | "@jest/transform": {
3607 | "optional": true
3608 | },
3609 | "@jest/types": {
3610 | "optional": true
3611 | },
3612 | "babel-jest": {
3613 | "optional": true
3614 | },
3615 | "esbuild": {
3616 | "optional": true
3617 | }
3618 | }
3619 | },
3620 | "node_modules/ts-jest/node_modules/semver": {
3621 | "version": "7.7.1",
3622 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
3623 | "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",
3624 | "dev": true,
3625 | "bin": {
3626 | "semver": "bin/semver.js"
3627 | },
3628 | "engines": {
3629 | "node": ">=10"
3630 | }
3631 | },
3632 | "node_modules/type-detect": {
3633 | "version": "4.0.8",
3634 | "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
3635 | "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
3636 | "dev": true,
3637 | "engines": {
3638 | "node": ">=4"
3639 | }
3640 | },
3641 | "node_modules/type-fest": {
3642 | "version": "0.21.3",
3643 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
3644 | "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
3645 | "dev": true,
3646 | "engines": {
3647 | "node": ">=10"
3648 | },
3649 | "funding": {
3650 | "url": "https://github.com/sponsors/sindresorhus"
3651 | }
3652 | },
3653 | "node_modules/typescript": {
3654 | "version": "5.8.2",
3655 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz",
3656 | "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==",
3657 | "dev": true,
3658 | "bin": {
3659 | "tsc": "bin/tsc",
3660 | "tsserver": "bin/tsserver"
3661 | },
3662 | "engines": {
3663 | "node": ">=14.17"
3664 | }
3665 | },
3666 | "node_modules/undici-types": {
3667 | "version": "6.20.0",
3668 | "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
3669 | "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==",
3670 | "dev": true
3671 | },
3672 | "node_modules/update-browserslist-db": {
3673 | "version": "1.1.3",
3674 | "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz",
3675 | "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==",
3676 | "dev": true,
3677 | "funding": [
3678 | {
3679 | "type": "opencollective",
3680 | "url": "https://opencollective.com/browserslist"
3681 | },
3682 | {
3683 | "type": "tidelift",
3684 | "url": "https://tidelift.com/funding/github/npm/browserslist"
3685 | },
3686 | {
3687 | "type": "github",
3688 | "url": "https://github.com/sponsors/ai"
3689 | }
3690 | ],
3691 | "dependencies": {
3692 | "escalade": "^3.2.0",
3693 | "picocolors": "^1.1.1"
3694 | },
3695 | "bin": {
3696 | "update-browserslist-db": "cli.js"
3697 | },
3698 | "peerDependencies": {
3699 | "browserslist": ">= 4.21.0"
3700 | }
3701 | },
3702 | "node_modules/v8-to-istanbul": {
3703 | "version": "9.3.0",
3704 | "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz",
3705 | "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==",
3706 | "dev": true,
3707 | "dependencies": {
3708 | "@jridgewell/trace-mapping": "^0.3.12",
3709 | "@types/istanbul-lib-coverage": "^2.0.1",
3710 | "convert-source-map": "^2.0.0"
3711 | },
3712 | "engines": {
3713 | "node": ">=10.12.0"
3714 | }
3715 | },
3716 | "node_modules/walker": {
3717 | "version": "1.0.8",
3718 | "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz",
3719 | "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==",
3720 | "dev": true,
3721 | "dependencies": {
3722 | "makeerror": "1.0.12"
3723 | }
3724 | },
3725 | "node_modules/which": {
3726 | "version": "2.0.2",
3727 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
3728 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
3729 | "dev": true,
3730 | "dependencies": {
3731 | "isexe": "^2.0.0"
3732 | },
3733 | "bin": {
3734 | "node-which": "bin/node-which"
3735 | },
3736 | "engines": {
3737 | "node": ">= 8"
3738 | }
3739 | },
3740 | "node_modules/wrap-ansi": {
3741 | "version": "7.0.0",
3742 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
3743 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
3744 | "dev": true,
3745 | "dependencies": {
3746 | "ansi-styles": "^4.0.0",
3747 | "string-width": "^4.1.0",
3748 | "strip-ansi": "^6.0.0"
3749 | },
3750 | "engines": {
3751 | "node": ">=10"
3752 | },
3753 | "funding": {
3754 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
3755 | }
3756 | },
3757 | "node_modules/wrappy": {
3758 | "version": "1.0.2",
3759 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
3760 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
3761 | "dev": true
3762 | },
3763 | "node_modules/write-file-atomic": {
3764 | "version": "4.0.2",
3765 | "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz",
3766 | "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==",
3767 | "dev": true,
3768 | "dependencies": {
3769 | "imurmurhash": "^0.1.4",
3770 | "signal-exit": "^3.0.7"
3771 | },
3772 | "engines": {
3773 | "node": "^12.13.0 || ^14.15.0 || >=16.0.0"
3774 | }
3775 | },
3776 | "node_modules/y18n": {
3777 | "version": "5.0.8",
3778 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
3779 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
3780 | "dev": true,
3781 | "engines": {
3782 | "node": ">=10"
3783 | }
3784 | },
3785 | "node_modules/yallist": {
3786 | "version": "3.1.1",
3787 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
3788 | "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
3789 | "dev": true
3790 | },
3791 | "node_modules/yargs": {
3792 | "version": "17.7.2",
3793 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
3794 | "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
3795 | "dev": true,
3796 | "dependencies": {
3797 | "cliui": "^8.0.1",
3798 | "escalade": "^3.1.1",
3799 | "get-caller-file": "^2.0.5",
3800 | "require-directory": "^2.1.1",
3801 | "string-width": "^4.2.3",
3802 | "y18n": "^5.0.5",
3803 | "yargs-parser": "^21.1.1"
3804 | },
3805 | "engines": {
3806 | "node": ">=12"
3807 | }
3808 | },
3809 | "node_modules/yargs-parser": {
3810 | "version": "21.1.1",
3811 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
3812 | "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
3813 | "dev": true,
3814 | "engines": {
3815 | "node": ">=12"
3816 | }
3817 | },
3818 | "node_modules/yocto-queue": {
3819 | "version": "0.1.0",
3820 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
3821 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
3822 | "dev": true,
3823 | "engines": {
3824 | "node": ">=10"
3825 | },
3826 | "funding": {
3827 | "url": "https://github.com/sponsors/sindresorhus"
3828 | }
3829 | }
3830 | }
3831 | }
3832 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ghost-io",
3 | "displayName": "GhostIO Invisible Background Fetcher",
4 | "version": "1.2.3",
5 | "description": "Invisible Background Data Fetching & Prefetching library that uses heuristics (hover, scroll, idle) to speed up your SPA or dashboard.",
6 | "type": "module",
7 | "main": "dist/index.js",
8 | "types": "index.d.ts",
9 | "scripts": {
10 | "build": "tsc",
11 | "test": "jest --coverage",
12 | "prepublishOnly": "npm run build",
13 | "demo": "node __tests__/demo.js",
14 | "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,scss,md,html}\""
15 | },
16 | "keywords": [
17 | "prefetch",
18 | "hover",
19 | "scroll",
20 | "idle",
21 | "background-fetch",
22 | "axios",
23 | "invisible",
24 | "ghostIO"
25 | ],
26 | "author": "Son Nguyen",
27 | "license": "MIT",
28 | "repository": {
29 | "type": "git",
30 | "url": "https://github.com/hoangsonww/GhostIO-Invisible-Data-Prefetch.git"
31 | },
32 | "bugs": {
33 | "url": "https://github.com/hoangsonww/GhostIO-Invisible-Data-Prefetch/issues"
34 | },
35 | "homepage": "https://github.com/hoangsonww/GhostIO-Invisible-Data-Prefetch#readme",
36 | "devDependencies": {
37 | "@types/jest": "^29.0.0",
38 | "jest": "^29.0.0",
39 | "ts-jest": "^29.0.0",
40 | "typescript": "^5.0.0"
41 | },
42 | "dependencies": {
43 | "axios": "^1.3.0",
44 | "ghost-io": "^1.1.2",
45 | "prettier": "^3.5.3"
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/src/ghostIO.ts:
--------------------------------------------------------------------------------
1 | import axios, {
2 | AxiosInstance,
3 | AxiosResponse,
4 | InternalAxiosRequestConfig,
5 | } from "axios";
6 | import { GhostIOConfig, AxiosIntegrationOptions } from "../index.js";
7 |
8 | interface InternalConfig {
9 | maxCacheSize: number;
10 | prefetchOnHover: boolean;
11 | prefetchOnScroll: boolean;
12 | idlePrefetchDelay: number;
13 | concurrencyLimit: number;
14 | }
15 |
16 | const defaultConfig: InternalConfig = {
17 | maxCacheSize: 50,
18 | prefetchOnHover: true,
19 | prefetchOnScroll: true,
20 | idlePrefetchDelay: 5000,
21 | concurrencyLimit: 3,
22 | };
23 |
24 | export class GhostIO {
25 | private config: InternalConfig;
26 | private cache: Map;
27 | private inFlight: Set;
28 | private axiosRegisteredInstances: Set;
29 | private currentRequestsCount = 0;
30 |
31 | constructor(userConfig?: GhostIOConfig) {
32 | this.config = { ...defaultConfig, ...userConfig };
33 | this.cache = new Map();
34 | this.inFlight = new Set();
35 | this.axiosRegisteredInstances = new Set();
36 | console.log("[GhostIO] Initialized with config:", this.config);
37 | this.initEventListeners();
38 | }
39 |
40 | registerAxios(options: AxiosIntegrationOptions): void {
41 | const { instance } = options;
42 | if (!instance) {
43 | console.warn("[GhostIO] No Axios instance provided.");
44 | return;
45 | }
46 | if (this.axiosRegisteredInstances.has(instance)) {
47 | console.log("[GhostIO] Axios instance already registered.");
48 | return;
49 | }
50 | this.axiosRegisteredInstances.add(instance);
51 |
52 | // Intercept requests
53 | instance.interceptors.request.use(
54 | async (config: any) => {
55 | const url = config.url || "";
56 | // If already cached, short-circuit the request
57 | if (this.cache.has(url)) {
58 | console.log(
59 | `[GhostIO] Short-circuiting axios request from cache: ${url}`,
60 | );
61 | const fakeResponse = {
62 | data: this.cache.get(url),
63 | status: 200,
64 | statusText: "OK",
65 | headers: {},
66 | config,
67 | __ghostIOCache__: true,
68 | };
69 | return Promise.reject(fakeResponse);
70 | }
71 | return config;
72 | },
73 | (error: any) => Promise.reject(error),
74 | );
75 |
76 | // Intercept responses
77 | instance.interceptors.response.use(
78 | (response: any) => {
79 | if (!response.__ghostIOCache__) {
80 | this.storeInCache(response.config.url, response.data);
81 | }
82 | return response;
83 | },
84 | (error: any) => {
85 | if (error && error.__ghostIOCache__) {
86 | return Promise.resolve(error);
87 | }
88 | return Promise.reject(error);
89 | },
90 | );
91 | console.log("[GhostIO] Axios integrated successfully.");
92 | }
93 |
94 | async prefetch(url: string): Promise {
95 | // Use the input URL as-is (user must provide full URL)
96 | const finalURL = url;
97 |
98 | if (this.cache.has(finalURL)) {
99 | console.log(`[GhostIO] Prefetch skipped; already in cache: ${finalURL}`);
100 | return;
101 | }
102 | if (this.inFlight.has(finalURL)) {
103 | console.log(`[GhostIO] Prefetch skipped; already in-flight: ${finalURL}`);
104 | return;
105 | }
106 | if (this.currentRequestsCount >= this.config.concurrencyLimit) {
107 | console.log(
108 | "[GhostIO] Concurrency limit reached; deferring prefetch:",
109 | finalURL,
110 | );
111 | return;
112 | }
113 |
114 | console.log("[GhostIO] Prefetching:", finalURL);
115 | this.inFlight.add(finalURL);
116 | this.currentRequestsCount++;
117 |
118 | try {
119 | const response = await axios.get(finalURL);
120 | this.storeInCache(finalURL, response.data);
121 | console.log("[GhostIO] Prefetch succeeded for:", finalURL);
122 | } catch (err) {
123 | console.warn("[GhostIO] Failed to prefetch:", finalURL, err);
124 | } finally {
125 | this.inFlight.delete(finalURL);
126 | this.currentRequestsCount--;
127 | }
128 | }
129 |
130 | get(url: string) {
131 | const finalURL = url;
132 | return this.cache.has(finalURL) ? this.cache.get(finalURL) : null;
133 | }
134 |
135 | clearCache(): void {
136 | console.log("[GhostIO] Clearing entire cache.");
137 | this.cache.clear();
138 | }
139 |
140 | private storeInCache(url: string, data: any) {
141 | this.cache.set(url, data);
142 | console.log("[GhostIO] Stored in cache:", url);
143 | if (this.cache.size > this.config.maxCacheSize) {
144 | const oldestKey = this.cache.keys().next().value;
145 | // @ts-ignore
146 | this.cache.delete(oldestKey);
147 | console.log(
148 | "[GhostIO] Cache exceeded max size; removed oldest entry:",
149 | oldestKey,
150 | );
151 | }
152 | }
153 |
154 | private initEventListeners() {
155 | if (typeof document === "undefined") {
156 | console.warn("[GhostIO] No DOM detected; ignoring hover/scroll events.");
157 | return;
158 | }
159 |
160 | // Prefetch on hover
161 | if (this.config.prefetchOnHover) {
162 | document.addEventListener("mouseover", this.onHover.bind(this));
163 | console.log("[GhostIO] Hover prefetch event listener attached.");
164 | }
165 |
166 | // Prefetch on scroll
167 | if (this.config.prefetchOnScroll) {
168 | document.addEventListener("scroll", this.onScroll.bind(this));
169 | console.log("[GhostIO] Scroll prefetch event listener attached.");
170 | }
171 |
172 | // Idle prefetch
173 | if (this.config.idlePrefetchDelay > 0) {
174 | let idleTimeout: NodeJS.Timeout;
175 | const resetTimer = () => {
176 | clearTimeout(idleTimeout);
177 | idleTimeout = setTimeout(
178 | () => this.idlePrefetch(),
179 | this.config.idlePrefetchDelay,
180 | );
181 | };
182 | document.addEventListener("mousemove", resetTimer);
183 | document.addEventListener("keypress", resetTimer);
184 | document.addEventListener("scroll", resetTimer);
185 | resetTimer();
186 | console.log("[GhostIO] Idle prefetch event listeners attached.");
187 | }
188 | }
189 |
190 | private onHover(e: MouseEvent) {
191 | const target = (e.target as HTMLElement)?.closest("[data-prefetch]");
192 | if (!target) return;
193 | const url = target.getAttribute("data-prefetch");
194 | if (url) {
195 | console.log(
196 | "[GhostIO] Detected hover on element with data-prefetch:",
197 | url,
198 | );
199 | this.prefetch(url);
200 | }
201 | }
202 |
203 | private onScroll() {
204 | const elements = document.querySelectorAll("[data-prefetch]");
205 | elements.forEach((el) => {
206 | const rect = el.getBoundingClientRect();
207 | if (rect.top < window.innerHeight * 1.5) {
208 | const url = el.getAttribute("data-prefetch");
209 | if (url) {
210 | console.log(
211 | "[GhostIO] Element in view during scroll with data-prefetch:",
212 | url,
213 | );
214 | this.prefetch(url);
215 | }
216 | }
217 | });
218 | }
219 |
220 | private idlePrefetch() {
221 | console.log(
222 | "[GhostIO] User idle detected; running background prefetch tasks.",
223 | );
224 | document.querySelectorAll("[data-prefetch]").forEach((el) => {
225 | const url = el.getAttribute("data-prefetch");
226 | if (url) this.prefetch(url);
227 | });
228 | }
229 | }
230 |
--------------------------------------------------------------------------------
/src/index.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Main entry point for the GhostIO library.
3 | */
4 | export { GhostIO } from "./ghostIO.js";
5 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | // Node’s next-gen ESM
4 | "module": "NodeNext",
5 | "moduleResolution": "NodeNext",
6 | "target": "ES2020",
7 | "strict": true,
8 | "esModuleInterop": true,
9 | "skipLibCheck": true,
10 | "forceConsistentCasingInFileNames": true,
11 |
12 | // Output
13 | "outDir": "./dist",
14 | "rootDir": "./src",
15 |
16 | // Generate .d.ts for external use
17 | "declaration": true,
18 | "declarationMap": true
19 | },
20 | "include": ["src"],
21 | "exclude": ["node_modules", "**/__tests__"]
22 | }
23 |
--------------------------------------------------------------------------------