OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[OV JS] Migrate eslint to v9.x (#31240)
Alicja Miloszewskaf61f5e4d4d2a
diff --git a/src/bindings/js/.eslintrc-global.js b/src/bindings/js/.eslintrc-global.jsdeleted file mode 100644index 8c676c6cbd2..00000000000--- a/src/bindings/js/.eslintrc-global.js+++ /dev/null@@ -1,30 +0,0 @@-module.exports = {- rules: {- 'semi': ['error'],- 'no-var': ['error'],- 'max-len': ['error', { 'ignoreUrls': true }],- 'eol-last': ['error'],- 'indent': ['error', 2],- 'camelcase': ['error'],- 'semi-spacing': ['error'],- 'arrow-spacing': ['error'],- 'comma-spacing': ['error'],- 'no-multi-spaces': ['error'],- 'quotes': ['error', 'single'],- 'no-trailing-spaces': ['error'],- 'space-before-blocks': ['error'],- 'newline-before-return': ['error'],- 'comma-dangle': ['error', 'always-multiline'],- 'space-before-function-paren': ['error', {- named: 'never',- anonymous: 'never',- asyncArrow: 'always'- }],- 'key-spacing': ['error', { beforeColon: false }],- 'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],- 'keyword-spacing': ['error', { overrides: { catch: { after: false } } }],- 'prefer-destructuring': ["error", { "object": true, "array": false }],- '@typescript-eslint/no-var-requires': 0,- "@typescript-eslint/no-misused-new": "off",- }-};diff --git a/src/bindings/js/.eslintrc.js b/src/bindings/js/.eslintrc.jsdeleted file mode 100644index 5958104aa92..00000000000--- a/src/bindings/js/.eslintrc.js+++ /dev/null@@ -1,9 +0,0 @@-module.exports = {- extends: [- 'eslint:recommended',- 'plugin:@typescript-eslint/recommended',- './.eslintrc-global.js',- ],- ignorePatterns: ['node_modules/', 'types/', 'dist/', 'bin/', '.eslintrc.js'],- root: true,-};diff --git a/src/bindings/js/node/.eslintrc.js b/src/bindings/js/node/.eslintrc.jsdeleted file mode 100644index 24ba06e7821..00000000000--- a/src/bindings/js/node/.eslintrc.js+++ /dev/null@@ -1,8 +0,0 @@-module.exports = {- extends: ['../.eslintrc.js'],- env: {- node: true,- },- parser: '@typescript-eslint/parser',- plugins: ['@typescript-eslint'],-};diff --git a/src/bindings/js/node/.gitignore b/src/bindings/js/node/.gitignoreindex 38782682575..5d03e6f657a 100644--- a/src/bindings/js/node/.gitignore+++ b/src/bindings/js/node/.gitignore@@ -4,6 +4,7 @@ buildtypesov_runtimetests/unit/test_models+bin*.expdiff --git a/src/bindings/js/node/.prettierrc b/src/bindings/js/node/.prettierrcnew file mode 100644index 00000000000..915c62694eb--- /dev/null+++ b/src/bindings/js/node/.prettierrc@@ -0,0 +1,11 @@+{+ "$schema": "https://json.schemastore.org/prettierrc",+ "semi": true,+ "printWidth": 100,+ "endOfLine": "lf",+ "tabWidth": 2,+ "singleQuote": false,+ "trailingComma": "all",+ "bracketSpacing": true,+ "proseWrap": "always"+}diff --git a/src/bindings/js/node/CONTRIBUTING.md b/src/bindings/js/node/CONTRIBUTING.mdindex 744485cb266..4d387d6925e 100644--- a/src/bindings/js/node/CONTRIBUTING.md+++ b/src/bindings/js/node/CONTRIBUTING.md@@ -1,9 +1,11 @@# Contributing to OpenVINO™ Node.js API-Your commitment to this project is greatly appreciated and the following guide is intended to help you contribute.--Make sure to read [main contribution guide](https://github.com/openvinotoolkit/openvino/blob/master/CONTRIBUTING.md) first. It covers most topics related to contributing to OpenVINO.+Your commitment to this project is greatly appreciated and the following guide is intended to help+you contribute.+Make sure to read+[main contribution guide](https://github.com/openvinotoolkit/openvino/blob/master/CONTRIBUTING.md)+first. It covers most topics related to contributing to OpenVINO.## TLDR@@ -17,40 +19,47 @@ Make sure to read [main contribution guide](https://github.com/openvinotoolkit/oRead the section below for more details.-## How to Decide What to Change-In case of minor fixes, like changing variable names, additional parameter checks, etc., go to the next step.--However, if you want to bring significant changes, for example, the extension of architecture or a big part of functionality, that involves a large amount-of source code, open [an issue](https://github.com/openvinotoolkit/openvino/issues/new?assignees=octocat&labels=enhancement%2Cfeature&projects=&template=feature_request.yml&title=%5BFeature+Request%5D%3A+) first and discuss your idea with-codeowners. It will prevent you from doing extra work.+In case of minor fixes, like changing variable names, additional parameter checks, etc., go to the+next step.-You can also take one of the well-described tasks from the [Good First Issue](https://github.com/orgs/openvinotoolkit/projects/3/views/14) section. It can be a great start to contributing with codeowners' support!+However, if you want to bring significant changes, for example, the extension of architecture or a+big part of functionality, that involves a large amount of source code, open+[an issue](https://github.com/openvinotoolkit/openvino/issues/new?assignees=octocat&labels=enhancement%2Cfeature&projects=&template=feature_request.yml&title=%5BFeature+Request%5D%3A+)+first and discuss your idea with codeowners. It will prevent you from doing extra work.+You can also take one of the well-described tasks from the+[Good First Issue](https://github.com/orgs/openvinotoolkit/projects/3/views/14) section. It can be a+great start to contributing with codeowners' support!## Let's code-Get familiar with Node.js API architecture and code samples.-Refer to the [guide](../docs/code_examples.md), which will help you understand the component structure and the code style.+Get familiar with Node.js API architecture and code samples. Refer to the+[guide](../docs/code_examples.md), which will help you understand the component structure and the+code style.-The environment setup and build instructions can be found in [Building the Node.js API](https://github.com/openvinotoolkit/openvino/blob/master/src/bindings/js/docs/README.md#openvino-node-package-developer-documentation).+The environment setup and build instructions can be found in+[Building the Node.js API](https://github.com/openvinotoolkit/openvino/blob/master/src/bindings/js/docs/README.md#openvino-node-package-developer-documentation).-Run tests! If you add a new functionality, make sure that it is covered by tests first.-Read [the guide](../docs/test_examples.md) for more details about the tests and their runs.-Many CI checks will run after getting a Code Review. Make sure that-all checks have passed. CI checks are composed of both functional tests and code-style checks and may fail because of warnings/errors in both stages.--Remember to follow [our codestyle](../docs/CODESTYLE.md).-By following the provided guide and using an automotive code style checking tool, like-**eslint** and **clang-format-18**, you will save some time and help with the code review of proposed changes.+Run tests! If you add a new functionality, make sure that it is covered by tests first. Read+[the guide](../docs/test_examples.md) for more details about the tests and their runs. Many CI+checks will run after getting a Code Review. Make sure that all checks have passed. CI checks are+composed of both functional tests and code-style checks and may fail because of warnings/errors in+both stages.+Remember to follow [our codestyle](../docs/CODESTYLE.md). By following the provided guide and using+an automotive code style checking tool, like **eslint** and **clang-format-18**, you will save some+time and help with the code review of proposed changes.## Description of the Pull Request-Append all PR titles with the `[OV JS]` tag. Provide any relevant details in the description, as it will definitely help with the review. The minimum requirement is a compact, bulleted list of proposed changes.+Append all PR titles with the `[OV JS]` tag. Provide any relevant details in the description, as it+will definitely help with the review. The minimum requirement is a compact, bulleted list of+proposed changes.Use the following template:+```*Describe what is the purpose of this PR*@@ -60,8 +69,7 @@ Use the following template:```-## License-By contributing to the OpenVINO project, you agree that your contributions will be-licensed under the terms of the [LICENSE](https://github.com/openvinotoolkit/openvino/blob/master/LICENSE).+By contributing to the OpenVINO project, you agree that your contributions will be licensed under+the terms of the [LICENSE](https://github.com/openvinotoolkit/openvino/blob/master/LICENSE).diff --git a/src/bindings/js/node/README.md b/src/bindings/js/node/README.mdindex 7b3b33ee838..9afe1318313 100644--- a/src/bindings/js/node/README.md+++ b/src/bindings/js/node/README.md@@ -4,30 +4,34 @@ Use OpenVINO to deploy deep learning models easily in Node.js applications.## Introduction-OpenVINO™ is an open-source toolkit designed for high-performance deep learning inference.-Node.js API provides bindings to subset APIs from OpenVINO Runtime.-The Node.js bindings enable JavaScript developers to use the capabilities of OpenVINO in their applications.+OpenVINO™ is an open-source toolkit designed for high-performance deep learning inference. Node.js+API provides bindings to subset APIs from OpenVINO Runtime. The Node.js bindings enable JavaScript+developers to use the capabilities of OpenVINO in their applications.## Quick StartInstall the **openvino-node** package:+```bashnpm install openvino-node```Use the **openvino-node** package:+```js-const { addon: ov } = require('openvino-node');+const { addon: ov } = require("openvino-node");```-Refer to the complete description of the `addon` API in the [documentation](https://docs.openvino.ai/2025/api/nodejs_api/addon.html).+Refer to the complete description of the `addon` API in the+[documentation](https://docs.openvino.ai/2025/api/nodejs_api/addon.html).-See the [samples](https://github.com/openvinotoolkit/openvino/blob/master/samples/js/node/README.md) for more details on how to use it.+See the [samples](https://github.com/openvinotoolkit/openvino/blob/master/samples/js/node/README.md)+for more details on how to use it.## Usage in Electron applications-To use the package in development of Electron applications on Windows, make sure that-**Desktop development with C++** component from+To use the package in development of Electron applications on Windows, make sure that **Desktop+development with C++** component from[Build Tools for Visual Studio](https://aka.ms/vs/17/release/vs_BuildTools.exe) is installed.## Supported Platforms@@ -44,24 +48,28 @@ To use the package in development of Electron applications on Windows, make sure## Live SampleYou can run the following sample in the browser, no installation is required.-[Codesandbox](https://codesandbox.io/) is a free online service with limited resources. For optimal performance and more control, it is recommended to run the sample locally.+[Codesandbox](https://codesandbox.io/) is a free online service with limited resources. For optimal+performance and more control, it is recommended to run the sample locally.- [hello-classification-sample](https://codesandbox.io/p/devbox/openvino-node-hello-classification-sample-djl893)## Build From Sources-For more details, refer to the [OpenVINO™ JavaScript API Developer Documentation](https://github.com/openvinotoolkit/openvino/blob/master/src/bindings/js/docs/README.md#openvino-node-package-developer-documentation)+For more details, refer to the+[OpenVINO™ JavaScript API Developer Documentation](https://github.com/openvinotoolkit/openvino/blob/master/src/bindings/js/docs/README.md#openvino-node-package-developer-documentation)## Contributing-Contributions are always welcome! Read the [Contribution Guide](https://github.com/openvinotoolkit/openvino/blob/master/src/bindings/js/node/CONTRIBUTING.md) to learn how you can get involved.+Contributions are always welcome! Read the+[Contribution Guide](https://github.com/openvinotoolkit/openvino/blob/master/src/bindings/js/node/CONTRIBUTING.md)+to learn how you can get involved.## See Also-* [OpenVINO™ README](https://github.com/openvinotoolkit/openvino/blob/master/README.md)-* [OpenVINO™ Core Components](https://github.com/openvinotoolkit/openvino/blob/master/src/README.md)-* [OpenVINO™ Python API](https://github.com/openvinotoolkit/openvino/blob/master/src/bindings/python/README.md)-* [OpenVINO™ Other Bindings](https://github.com/openvinotoolkit/openvino/blob/master/src/bindings/README.md)+- [OpenVINO™ README](https://github.com/openvinotoolkit/openvino/blob/master/README.md)+- [OpenVINO™ Core Components](https://github.com/openvinotoolkit/openvino/blob/master/src/README.md)+- [OpenVINO™ Python API](https://github.com/openvinotoolkit/openvino/blob/master/src/bindings/python/README.md)+- [OpenVINO™ Other Bindings](https://github.com/openvinotoolkit/openvino/blob/master/src/bindings/README.md)[License](https://github.com/openvinotoolkit/openvino/blob/master/LICENSE)diff --git a/src/bindings/js/node/eslint.config.js b/src/bindings/js/node/eslint.config.jsnew file mode 100644index 00000000000..9f910f635ca--- /dev/null+++ b/src/bindings/js/node/eslint.config.js@@ -0,0 +1,49 @@+const eslint = require("@eslint/js");+const prettierConfig = require("eslint-plugin-prettier/recommended");+const globals = require("globals");+const tseslint = require("typescript-eslint");+const { defineConfig } = require("eslint/config");+const path = require("node:path");++module.exports = defineConfig([+ {+ ignores: ["types/", "dist/"],+ },+ {+ files: ["**/*.*js"],+ languageOptions: {+ globals: globals.node,+ },+ extends: [eslint.configs.recommended],+ },+ {+ files: ["**/*.ts"],+ languageOptions: {+ globals: globals.node,+ parser: tseslint.parser,+ parserOptions: {+ projectService: true,+ project: "./tsconfig.json",+ tsconfigRootDir: path.resolve(),+ },+ },+ extends: [tseslint.configs.recommendedTypeChecked],+ rules: {+ "@typescript-eslint/no-require-imports": 0,+ },+ },+ {+ rules: {+ "no-var": ["error"],+ camelcase: ["error"],+ "prefer-destructuring": ["error", { object: true, array: false }],+ },+ },+ prettierConfig, // to disable stylistic rules from ESLint+ {+ files: ["**/addon.ts"],+ rules: {+ "@typescript-eslint/no-misused-new": "off",+ },+ },+]);diff --git a/src/bindings/js/node/lib/addon.ts b/src/bindings/js/node/lib/addon.tsindex de1cc409047..0a8c4bcfe29 100644--- a/src/bindings/js/node/lib/addon.ts+++ b/src/bindings/js/node/lib/addon.ts@@ -9,17 +9,17 @@ type SupportedTypedArray =| Float64Array;type elementTypeString =- | 'u8'- | 'u32'- | 'u16'- | 'u64'- | 'i8'- | 'i64'- | 'i32'- | 'i16'- | 'f64'- | 'f32'- | 'string';+ | "u8"+ | "u32"+ | "u16"+ | "u64"+ | "i8"+ | "i64"+ | "i32"+ | "i16"+ | "f64"+ | "f32"+ | "string";type OVAny = string | number | boolean;@@ -35,7 +35,7 @@ interface Core {/*** It constructs a new Core object.*/- new(): Core;+ new (): Core;/*** Registers extensions to a Core object.* @param libraryPath Path to the library with ov::Extension.@@ -79,11 +79,7 @@ interface Core {* A synchronous version of {@link Core.compileModel}.* It creates a compiled model from a source model object.*/- compileModelSync(- model: Model,- deviceName: string,- config?: Record<string, OVAny>,- ): CompiledModel;+ compileModelSync(model: Model, deviceName: string, config?: Record<string, OVAny>): CompiledModel;/*** A synchronous version of {@link Core.compileModel}.* It reads a model and creates a compiled model from the IR/ONNX/PDPD file.@@ -114,10 +110,7 @@ interface Core {* @param deviceName The name of a device, the properties of which you get.* @param propertyName Property name.*/- getProperty(- deviceName: string,- propertyName: string,- ): OVAny;+ getProperty(deviceName: string, propertyName: string): OVAny;/*** It returns information on the version of device plugins.* @param deviceName A device name to identify a plugin.@@ -180,10 +173,7 @@ interface Core {* in the IR / ONNX / PDPD / TF or TFLite format.* @param weightsBuffer Binary data with tensor data.*/- readModel(- modelBuffer: Uint8Array,- weightsBuffer?: Uint8Array,- ): Promise<Model>;+ readModel(modelBuffer: Uint8Array, weightsBuffer?: Uint8Array): Promise<Model>;/*** A synchronous version of {@link Core.readModel}.* It reads models from the IR / ONNX / PDPD / TF and TFLite formats.@@ -230,7 +220,7 @@ interface Model {* It constructs a default Model object. Use {@link Core.readModel}* to read Model from supported file format.*/- new(): Model;+ new (): Model;/*** It returns a cloned model.*/@@ -309,7 +299,7 @@ interface Model {*/reshape(partialShape: PartialShape | string,- variablesShapes?: Record<string, PartialShape | string>+ variablesShapes?: Record<string, PartialShape | string>,): Model;/** Reshapes model inputs.* @param partialShapes A Map with partial shapes.@@ -321,7 +311,7 @@ interface Model {*/reshape(partialShapes: Map<number | string | Output, PartialShape | string>,- variablesShapes?: Record<string, PartialShape | string>+ variablesShapes?: Record<string, PartialShape | string>,): Model;/*** It gets all the model inputs as an array.@@ -343,7 +333,7 @@ interface CompiledModel {* It constructs a default CompiledModel object. Use {@link Core.compileModel}* or {@link Core.importModel} to get model compiled for a specific device.*/- new(): CompiledModel;+ new (): CompiledModel;/** It gets all inputs of a compiled model. */inputs: Output[];/** It gets all outputs of a compiled model. */@@ -437,11 +427,7 @@ interface Tensor {* @param tensorData A subclass of TypedArray that will be wrapped* by a {@link Tensor}.*/- new (- type: element | elementTypeString,- shape: number[],- tensorData: SupportedTypedArray,- ): Tensor;+ new (type: element | elementTypeString, shape: number[], tensorData: SupportedTypedArray): Tensor;/*** It constructs a tensor using the element type and shape. The strings from* the array are used to fill the new tensor. Each element of a string tensor@@ -495,7 +481,7 @@ interface InferRequest {* Use {@link CompiledModel.createInferRequest}* to get InferRequest object specific for a given deployed model.*/- new(): InferRequest;+ new (): InferRequest;/*** It infers specified input(s) in the synchronous mode.* @remarks@@ -612,7 +598,7 @@ interface InferRequest {type Dimension = number | [number, number];interface Output {- new(): Output;+ new (): Output;anyName: string;shape: number[];toString(): string;@@ -722,5 +708,4 @@ export interface NodeAddon {resizeAlgorithm: typeof resizeAlgorithm;}-export default // eslint-disable-next-line-require('../bin/ov_node_addon.node') as NodeAddon;+export default require("../bin/ov_node_addon.node") as NodeAddon;diff --git a/src/bindings/js/node/lib/index.ts b/src/bindings/js/node/lib/index.tsindex 08536f85a6d..e097ddab7ce 100644--- a/src/bindings/js/node/lib/index.ts+++ b/src/bindings/js/node/lib/index.ts@@ -1,3 +1,3 @@-import addon from './addon';+import addon from "./addon";export { addon };diff --git a/src/bindings/js/node/package-lock.json b/src/bindings/js/node/package-lock.jsonindex 87c0e9c4fc0..2d9b34dfe3d 100644--- a/src/bindings/js/node/package-lock.json+++ b/src/bindings/js/node/package-lock.json@@ -20,13 +20,17 @@"tar-fs": "^3.0.9"},"devDependencies": {+ "@eslint/js": "^9.30.1","@types/node": "^22.13.4",- "@typescript-eslint/eslint-plugin": "^8.34.0",- "@typescript-eslint/parser": "^8.34.0",- "eslint": "^8.49.0",- "mocha": "^10.6.0",+ "eslint": "^9.30.1",+ "eslint-config-prettier": "^10.1.5",+ "eslint-plugin-prettier": "^5.5.1",+ "globals": "^16.3.0",+ "mocha": "^11.7.1",+ "prettier": "3.6.2","random-bigint": "^0.0.1",- "typescript": "^5.0.4"+ "typescript": "^5.0.4",+ "typescript-eslint": "^8.36.0"},"engines": {"node": ">=21.0.0"@@ -37,6 +41,7 @@"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz","integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==","dev": true,+ "license": "MIT","dependencies": {"eslint-visitor-keys": "^3.4.3"},@@ -50,25 +55,78 @@"eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"}},+ "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": {+ "version": "3.4.3",+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/eslint"+ }+ },"node_modules/@eslint-community/regexpp": {"version": "4.12.1","resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz","integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==","dev": true,+ "license": "MIT","engines": {"node": "^12.0.0 || ^14.0.0 || >=16.0.0"}},+ "node_modules/@eslint/config-array": {+ "version": "0.21.0",+ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.0.tgz",+ "integrity": "sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "@eslint/object-schema": "^2.1.6",+ "debug": "^4.3.1",+ "minimatch": "^3.1.2"+ },+ "engines": {+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ }+ },+ "node_modules/@eslint/config-helpers": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.3.0.tgz",+ "integrity": "sha512-ViuymvFmcJi04qdZeDc2whTHryouGcDlaxPqarTD0ZE10ISpxGUVZGZDx4w01upyIynL3iu6IXH2bS1NhclQMw==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ }+ },+ "node_modules/@eslint/core": {+ "version": "0.15.1",+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz",+ "integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "@types/json-schema": "^7.0.15"+ },+ "engines": {+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ }+ },"node_modules/@eslint/eslintrc": {- "version": "2.1.4",- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz",- "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==",+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz",+ "integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==","dev": true,+ "license": "MIT","dependencies": {"ajv": "^6.12.4","debug": "^4.3.2",- "espree": "^9.6.0",- "globals": "^13.19.0",+ "espree": "^10.0.1",+ "globals": "^14.0.0","ignore": "^5.2.0","import-fresh": "^3.2.1","js-yaml": "^4.1.0",@@ -76,87 +134,98 @@"strip-json-comments": "^3.1.1"},"engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"},"funding": {"url": "https://opencollective.com/eslint"}},- "node_modules/@eslint/eslintrc/node_modules/brace-expansion": {- "version": "1.1.12",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",- "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",- "dev": true,- "dependencies": {- "balanced-match": "^1.0.0",- "concat-map": "0.0.1"- }- },- "node_modules/@eslint/eslintrc/node_modules/ignore": {- "version": "5.3.2",- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",- "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",+ "node_modules/@eslint/eslintrc/node_modules/globals": {+ "version": "14.0.0",+ "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",+ "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==","dev": true,+ "license": "MIT","engines": {- "node": ">= 4"+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/@eslint/eslintrc/node_modules/minimatch": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",+ "node_modules/@eslint/js": {+ "version": "9.31.0",+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.31.0.tgz",+ "integrity": "sha512-LOm5OVt7D4qiKCqoiPbA7LWmI+tbw1VbTUowBcUMgQSuM6poJufkFkYDcQpo5KfgD39TnNySV26QjOh7VFpSyw==","dev": true,- "dependencies": {- "brace-expansion": "^1.1.7"- },+ "license": "MIT","engines": {- "node": "*"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ },+ "funding": {+ "url": "https://eslint.org/donate"}},- "node_modules/@eslint/js": {- "version": "8.57.1",- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz",- "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==",+ "node_modules/@eslint/object-schema": {+ "version": "2.1.6",+ "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz",+ "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==","dev": true,+ "license": "Apache-2.0","engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"}},- "node_modules/@humanwhocodes/config-array": {- "version": "0.13.0",- "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz",- "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==",- "deprecated": "Use @eslint/config-array instead",+ "node_modules/@eslint/plugin-kit": {+ "version": "0.3.3",+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.3.tgz",+ "integrity": "sha512-1+WqvgNMhmlAambTvT3KPtCl/Ibr68VldY2XY40SL1CE0ZXiakFR/cbTspaF5HsnpDMvcYYoJHfl4980NBjGag==","dev": true,+ "license": "Apache-2.0","dependencies": {- "@humanwhocodes/object-schema": "^2.0.3",- "debug": "^4.3.1",- "minimatch": "^3.0.5"+ "@eslint/core": "^0.15.1",+ "levn": "^0.4.1"},"engines": {- "node": ">=10.10.0"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"}},- "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": {- "version": "1.1.12",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",- "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",+ "node_modules/@humanfs/core": {+ "version": "0.19.1",+ "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",+ "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==","dev": true,- "dependencies": {- "balanced-match": "^1.0.0",- "concat-map": "0.0.1"+ "license": "Apache-2.0",+ "engines": {+ "node": ">=18.18.0"}},- "node_modules/@humanwhocodes/config-array/node_modules/minimatch": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",+ "node_modules/@humanfs/node": {+ "version": "0.16.6",+ "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz",+ "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==","dev": true,+ "license": "Apache-2.0","dependencies": {- "brace-expansion": "^1.1.7"+ "@humanfs/core": "^0.19.1",+ "@humanwhocodes/retry": "^0.3.0"},"engines": {- "node": "*"+ "node": ">=18.18.0"+ }+ },+ "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": {+ "version": "0.3.1",+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz",+ "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": ">=18.18"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/nzakas"}},"node_modules/@humanwhocodes/module-importer": {@@ -164,6 +233,7 @@"resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz","integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==","dev": true,+ "license": "Apache-2.0","engines": {"node": ">=12.22"},@@ -172,18 +242,44 @@"url": "https://github.com/sponsors/nzakas"}},- "node_modules/@humanwhocodes/object-schema": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",- "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",- "deprecated": "Use @eslint/object-schema instead",- "dev": true+ "node_modules/@humanwhocodes/retry": {+ "version": "0.4.3",+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz",+ "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": ">=18.18"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/nzakas"+ }+ },+ "node_modules/@isaacs/cliui": {+ "version": "8.0.2",+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",+ "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "string-width": "^5.1.2",+ "string-width-cjs": "npm:string-width@^4.2.0",+ "strip-ansi": "^7.0.1",+ "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",+ "wrap-ansi": "^8.1.0",+ "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"+ },+ "engines": {+ "node": ">=12"+ }},"node_modules/@nodelib/fs.scandir": {"version": "2.1.5","resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz","integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==","dev": true,+ "license": "MIT","dependencies": {"@nodelib/fs.stat": "2.0.5","run-parallel": "^1.1.9"@@ -197,6 +293,7 @@"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz","integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==","dev": true,+ "license": "MIT","engines": {"node": ">= 8"}@@ -206,6 +303,7 @@"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz","integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==","dev": true,+ "license": "MIT","dependencies": {"@nodelib/fs.scandir": "2.1.5","fastq": "^1.6.0"@@ -214,26 +312,66 @@"node": ">= 8"}},+ "node_modules/@pkgjs/parseargs": {+ "version": "0.11.0",+ "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",+ "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "engines": {+ "node": ">=14"+ }+ },+ "node_modules/@pkgr/core": {+ "version": "0.2.7",+ "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.7.tgz",+ "integrity": "sha512-YLT9Zo3oNPJoBjBc4q8G2mjU4tqIbf5CEOORbUUr48dCD9q3umJ3IPlVqOqDakPfd2HuwccBaqlGhN4Gmr5OWg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": "^12.20.0 || ^14.18.0 || >=16.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/pkgr"+ }+ },+ "node_modules/@types/estree": {+ "version": "1.0.8",+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",+ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@types/json-schema": {+ "version": "7.0.15",+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",+ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",+ "dev": true,+ "license": "MIT"+ },"node_modules/@types/node": {- "version": "22.15.31",- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.31.tgz",- "integrity": "sha512-jnVe5ULKl6tijxUhvQeNbQG/84fHfg+yMak02cT8QVhBx/F05rAVxCGBYYTh2EKz22D6JF5ktXuNwdx7b9iEGw==",+ "version": "22.16.4",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.16.4.tgz",+ "integrity": "sha512-PYRhNtZdm2wH/NT2k/oAJ6/f2VD2N2Dag0lGlx2vWgMSJXGNmlce5MiTQzoWAiIJtso30mjnfQCOKVH+kAQC/g==","dev": true,+ "license": "MIT","dependencies": {"undici-types": "~6.21.0"}},"node_modules/@typescript-eslint/eslint-plugin": {- "version": "8.34.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.34.0.tgz",- "integrity": "sha512-QXwAlHlbcAwNlEEMKQS2RCgJsgXrTJdjXT08xEgbPFa2yYQgVjBymxP5DrfrE7X7iodSzd9qBUHUycdyVJTW1w==",+ "version": "8.37.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.37.0.tgz",+ "integrity": "sha512-jsuVWeIkb6ggzB+wPCsR4e6loj+rM72ohW6IBn2C+5NCvfUVY8s33iFPySSVXqtm5Hu29Ne/9bnA0JmyLmgenA==","dev": true,+ "license": "MIT","dependencies": {"@eslint-community/regexpp": "^4.10.0",- "@typescript-eslint/scope-manager": "8.34.0",- "@typescript-eslint/type-utils": "8.34.0",- "@typescript-eslint/utils": "8.34.0",- "@typescript-eslint/visitor-keys": "8.34.0",+ "@typescript-eslint/scope-manager": "8.37.0",+ "@typescript-eslint/type-utils": "8.37.0",+ "@typescript-eslint/utils": "8.37.0",+ "@typescript-eslint/visitor-keys": "8.37.0","graphemer": "^1.4.0","ignore": "^7.0.0","natural-compare": "^1.4.0",@@ -247,21 +385,32 @@"url": "https://opencollective.com/typescript-eslint"},"peerDependencies": {- "@typescript-eslint/parser": "^8.34.0",+ "@typescript-eslint/parser": "^8.37.0","eslint": "^8.57.0 || ^9.0.0","typescript": ">=4.8.4 <5.9.0"}},+ "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {+ "version": "7.0.5",+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",+ "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 4"+ }+ },"node_modules/@typescript-eslint/parser": {- "version": "8.34.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.34.0.tgz",- "integrity": "sha512-vxXJV1hVFx3IXz/oy2sICsJukaBrtDEQSBiV48/YIV5KWjX1dO+bcIr/kCPrW6weKXvsaGKFNlwH0v2eYdRRbA==",+ "version": "8.37.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.37.0.tgz",+ "integrity": "sha512-kVIaQE9vrN9RLCQMQ3iyRlVJpTiDUY6woHGb30JDkfJErqrQEmtdWH3gV0PBAfGZgQXoqzXOO0T3K6ioApbbAA==","dev": true,+ "license": "MIT","dependencies": {- "@typescript-eslint/scope-manager": "8.34.0",- "@typescript-eslint/types": "8.34.0",- "@typescript-eslint/typescript-estree": "8.34.0",- "@typescript-eslint/visitor-keys": "8.34.0",+ "@typescript-eslint/scope-manager": "8.37.0",+ "@typescript-eslint/types": "8.37.0",+ "@typescript-eslint/typescript-estree": "8.37.0",+ "@typescript-eslint/visitor-keys": "8.37.0","debug": "^4.3.4"},"engines": {@@ -277,13 +426,14 @@}},"node_modules/@typescript-eslint/project-service": {- "version": "8.34.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.34.0.tgz",- "integrity": "sha512-iEgDALRf970/B2YExmtPMPF54NenZUf4xpL3wsCRx/lgjz6ul/l13R81ozP/ZNuXfnLCS+oPmG7JIxfdNYKELw==",+ "version": "8.37.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.37.0.tgz",+ "integrity": "sha512-BIUXYsbkl5A1aJDdYJCBAo8rCEbAvdquQ8AnLb6z5Lp1u3x5PNgSSx9A/zqYc++Xnr/0DVpls8iQ2cJs/izTXA==","dev": true,+ "license": "MIT","dependencies": {- "@typescript-eslint/tsconfig-utils": "^8.34.0",- "@typescript-eslint/types": "^8.34.0",+ "@typescript-eslint/tsconfig-utils": "^8.37.0",+ "@typescript-eslint/types": "^8.37.0","debug": "^4.3.4"},"engines": {@@ -298,13 +448,14 @@}},"node_modules/@typescript-eslint/scope-manager": {- "version": "8.34.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.34.0.tgz",- "integrity": "sha512-9Ac0X8WiLykl0aj1oYQNcLZjHgBojT6cW68yAgZ19letYu+Hxd0rE0veI1XznSSst1X5lwnxhPbVdwjDRIomRw==",+ "version": "8.37.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.37.0.tgz",+ "integrity": "sha512-0vGq0yiU1gbjKob2q691ybTg9JX6ShiVXAAfm2jGf3q0hdP6/BruaFjL/ManAR/lj05AvYCH+5bbVo0VtzmjOA==","dev": true,+ "license": "MIT","dependencies": {- "@typescript-eslint/types": "8.34.0",- "@typescript-eslint/visitor-keys": "8.34.0"+ "@typescript-eslint/types": "8.37.0",+ "@typescript-eslint/visitor-keys": "8.37.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -315,10 +466,11 @@}},"node_modules/@typescript-eslint/tsconfig-utils": {- "version": "8.34.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.34.0.tgz",- "integrity": "sha512-+W9VYHKFIzA5cBeooqQxqNriAP0QeQ7xTiDuIOr71hzgffm3EL2hxwWBIIj4GuofIbKxGNarpKqIq6Q6YrShOA==",+ "version": "8.37.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.37.0.tgz",+ "integrity": "sha512-1/YHvAVTimMM9mmlPvTec9NP4bobA1RkDbMydxG8omqwJJLEW/Iy2C4adsAESIXU3WGLXFHSZUU+C9EoFWl4Zg==","dev": true,+ "license": "MIT","engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"},@@ -331,13 +483,15 @@}},"node_modules/@typescript-eslint/type-utils": {- "version": "8.34.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.34.0.tgz",- "integrity": "sha512-n7zSmOcUVhcRYC75W2pnPpbO1iwhJY3NLoHEtbJwJSNlVAZuwqu05zY3f3s2SDWWDSo9FdN5szqc73DCtDObAg==",+ "version": "8.37.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.37.0.tgz",+ "integrity": "sha512-SPkXWIkVZxhgwSwVq9rqj/4VFo7MnWwVaRNznfQDc/xPYHjXnPfLWn+4L6FF1cAz6e7dsqBeMawgl7QjUMj4Ow==","dev": true,+ "license": "MIT","dependencies": {- "@typescript-eslint/typescript-estree": "8.34.0",- "@typescript-eslint/utils": "8.34.0",+ "@typescript-eslint/types": "8.37.0",+ "@typescript-eslint/typescript-estree": "8.37.0",+ "@typescript-eslint/utils": "8.37.0","debug": "^4.3.4","ts-api-utils": "^2.1.0"},@@ -354,10 +508,11 @@}},"node_modules/@typescript-eslint/types": {- "version": "8.34.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.34.0.tgz",- "integrity": "sha512-9V24k/paICYPniajHfJ4cuAWETnt7Ssy+R0Rbcqo5sSFr3QEZ/8TSoUi9XeXVBGXCaLtwTOKSLGcInCAvyZeMA==",+ "version": "8.37.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.37.0.tgz",+ "integrity": "sha512-ax0nv7PUF9NOVPs+lmQ7yIE7IQmAf8LGcXbMvHX5Gm+YJUYNAl340XkGnrimxZ0elXyoQJuN5sbg6C4evKA4SQ==","dev": true,+ "license": "MIT","engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"},@@ -367,15 +522,16 @@}},"node_modules/@typescript-eslint/typescript-estree": {- "version": "8.34.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.34.0.tgz",- "integrity": "sha512-rOi4KZxI7E0+BMqG7emPSK1bB4RICCpF7QD3KCLXn9ZvWoESsOMlHyZPAHyG04ujVplPaHbmEvs34m+wjgtVtg==",+ "version": "8.37.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.37.0.tgz",+ "integrity": "sha512-zuWDMDuzMRbQOM+bHyU4/slw27bAUEcKSKKs3hcv2aNnc/tvE/h7w60dwVw8vnal2Pub6RT1T7BI8tFZ1fE+yg==","dev": true,+ "license": "MIT","dependencies": {- "@typescript-eslint/project-service": "8.34.0",- "@typescript-eslint/tsconfig-utils": "8.34.0",- "@typescript-eslint/types": "8.34.0",- "@typescript-eslint/visitor-keys": "8.34.0",+ "@typescript-eslint/project-service": "8.37.0",+ "@typescript-eslint/tsconfig-utils": "8.37.0",+ "@typescript-eslint/types": "8.37.0",+ "@typescript-eslint/visitor-keys": "8.37.0","debug": "^4.3.4","fast-glob": "^3.3.2","is-glob": "^4.0.3",@@ -394,16 +550,43 @@"typescript": ">=4.8.4 <5.9.0"}},+ "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "balanced-match": "^1.0.0"+ }+ },+ "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {+ "version": "9.0.5",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",+ "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "brace-expansion": "^2.0.1"+ },+ "engines": {+ "node": ">=16 || 14 >=14.17"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },"node_modules/@typescript-eslint/utils": {- "version": "8.34.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.34.0.tgz",- "integrity": "sha512-8L4tWatGchV9A1cKbjaavS6mwYwp39jql8xUmIIKJdm+qiaeHy5KMKlBrf30akXAWBzn2SqKsNOtSENWUwg7XQ==",+ "version": "8.37.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.37.0.tgz",+ "integrity": "sha512-TSFvkIW6gGjN2p6zbXo20FzCABbyUAuq6tBvNRGsKdsSQ6a7rnV6ADfZ7f4iI3lIiXc4F4WWvtUfDw9CJ9pO5A==","dev": true,+ "license": "MIT","dependencies": {"@eslint-community/eslint-utils": "^4.7.0",- "@typescript-eslint/scope-manager": "8.34.0",- "@typescript-eslint/types": "8.34.0",- "@typescript-eslint/typescript-estree": "8.34.0"+ "@typescript-eslint/scope-manager": "8.37.0",+ "@typescript-eslint/types": "8.37.0",+ "@typescript-eslint/typescript-estree": "8.37.0"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -418,13 +601,14 @@}},"node_modules/@typescript-eslint/visitor-keys": {- "version": "8.34.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.34.0.tgz",- "integrity": "sha512-qHV7pW7E85A0x6qyrFn+O+q1k1p3tQCsqIZ1KZ5ESLXY57aTvUd3/a4rdPTeXisvhXn2VQG0VSKUqs8KHF2zcA==",+ "version": "8.37.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.37.0.tgz",+ "integrity": "sha512-YzfhzcTnZVPiLfP/oeKtDp2evwvHLMe0LOy7oe+hb9KKIumLNohYS9Hgp1ifwpu42YWxhZE8yieggz6JpqO/1w==","dev": true,+ "license": "MIT","dependencies": {- "@typescript-eslint/types": "8.34.0",- "eslint-visitor-keys": "^4.2.0"+ "@typescript-eslint/types": "8.37.0",+ "eslint-visitor-keys": "^4.2.1"},"engines": {"node": "^18.18.0 || ^20.9.0 || >=21.1.0"@@ -434,29 +618,12 @@"url": "https://opencollective.com/typescript-eslint"}},- "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {- "version": "4.2.1",- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",- "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",- "dev": true,- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "url": "https://opencollective.com/eslint"- }- },- "node_modules/@ungap/structured-clone": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz",- "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==",- "dev": true- },"node_modules/acorn": {"version": "8.15.0","resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz","integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==","dev": true,+ "license": "MIT","bin": {"acorn": "bin/acorn"},@@ -469,14 +636,16 @@"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz","integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==","dev": true,+ "license": "MIT","peerDependencies": {"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"}},"node_modules/agent-base": {- "version": "7.1.3",- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz",- "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==",+ "version": "7.1.4",+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz",+ "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==",+ "license": "MIT","engines": {"node": ">= 14"}@@ -486,6 +655,7 @@"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz","integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==","dev": true,+ "license": "MIT","dependencies": {"fast-deep-equal": "^3.1.1","fast-json-stable-stringify": "^2.0.0",@@ -497,22 +667,17 @@"url": "https://github.com/sponsors/epoberezkin"}},- "node_modules/ansi-colors": {- "version": "4.1.3",- "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz",- "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==",- "dev": true,- "engines": {- "node": ">=6"- }- },"node_modules/ansi-regex": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",+ "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==","dev": true,+ "license": "MIT","engines": {- "node": ">=8"+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"}},"node_modules/ansi-styles": {@@ -520,6 +685,7 @@"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz","integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==","dev": true,+ "license": "MIT","dependencies": {"color-convert": "^2.0.1"},@@ -530,46 +696,38 @@"url": "https://github.com/chalk/ansi-styles?sponsor=1"}},- "node_modules/anymatch": {- "version": "3.1.3",- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",- "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",- "dev": true,- "dependencies": {- "normalize-path": "^3.0.0",- "picomatch": "^2.0.4"- },- "engines": {- "node": ">= 8"- }- },"node_modules/argparse": {"version": "2.0.1","resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz","integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",- "dev": true+ "dev": true,+ "license": "Python-2.0"},"node_modules/b4a": {"version": "1.6.7","resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz",- "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg=="+ "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==",+ "license": "Apache-2.0"},"node_modules/balanced-match": {"version": "1.0.2","resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz","integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",- "dev": true+ "dev": true,+ "license": "MIT"},"node_modules/bare-events": {- "version": "2.5.4",- "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.5.4.tgz",- "integrity": "sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA==",+ "version": "2.6.0",+ "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.6.0.tgz",+ "integrity": "sha512-EKZ5BTXYExaNqi3I3f9RtEsaI/xBSGjE0XZCZilPzFAV/goswFHuPd9jEZlPIZ/iNZJwDSao9qRiScySz7MbQg==",+ "license": "Apache-2.0","optional": true},"node_modules/bare-fs": {- "version": "4.1.5",- "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.1.5.tgz",- "integrity": "sha512-1zccWBMypln0jEE05LzZt+V/8y8AQsQQqxtklqaIyg5nu6OAYFhZxPXinJTSG+kU5qyNmeLgcn9AW7eHiCHVLA==",+ "version": "4.1.6",+ "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.1.6.tgz",+ "integrity": "sha512-25RsLF33BqooOEFNdMcEhMpJy8EoR88zSMrnOQOaM3USnOK2VmaJ1uaQEwPA6AQjrv1lXChScosN6CzbwbO9OQ==",+ "license": "Apache-2.0","optional": true,"dependencies": {"bare-events": "^2.5.4",@@ -592,6 +750,7 @@"version": "3.6.1","resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.6.1.tgz","integrity": "sha512-uaIjxokhFidJP+bmmvKSgiMzj2sV5GPHaZVAIktcxcpCyBFFWO+YlikVAdhmUo2vYFvFhOXIAlldqV29L8126g==",+ "license": "Apache-2.0","optional": true,"engines": {"bare": ">=1.14.0"@@ -601,6 +760,7 @@"version": "3.0.0","resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.0.0.tgz","integrity": "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==",+ "license": "Apache-2.0","optional": true,"dependencies": {"bare-os": "^3.0.1"@@ -610,6 +770,7 @@"version": "2.6.5","resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.6.5.tgz","integrity": "sha512-jSmxKJNJmHySi6hC42zlZnq00rga4jjxcgNZjY9N5WlOe/iOoGRtdwGsHzQv2RlH2KOYMwGUXhf2zXd32BA9RA==",+ "license": "Apache-2.0","optional": true,"dependencies": {"streamx": "^2.21.0"@@ -627,25 +788,15 @@}}},- "node_modules/binary-extensions": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",- "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",- "dev": true,- "engines": {- "node": ">=8"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },"node_modules/brace-expansion": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",- "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",+ "version": "1.1.12",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==","dev": true,+ "license": "MIT","dependencies": {- "balanced-match": "^1.0.0"+ "balanced-match": "^1.0.0",+ "concat-map": "0.0.1"}},"node_modules/braces": {@@ -653,6 +804,7 @@"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz","integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==","dev": true,+ "license": "MIT","dependencies": {"fill-range": "^7.1.1"},@@ -664,12 +816,14 @@"version": "1.3.1","resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz","integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==",- "dev": true+ "dev": true,+ "license": "ISC"},"node_modules/browserify-zlib": {"version": "0.1.4","resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.1.4.tgz","integrity": "sha512-19OEpq7vWgsH6WkvkBJQDFvJS1uPcbFOQ4v9CU839dO+ZZXUZO6XpE6hNCqvlIIj+4fZvRiJ6DsAQ382GwiyTQ==",+ "license": "MIT","dependencies": {"pako": "~0.2.0"}@@ -677,13 +831,15 @@"node_modules/buffer-from": {"version": "1.1.2","resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",- "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="+ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",+ "license": "MIT"},"node_modules/callsites": {"version": "3.1.0","resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz","integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==","dev": true,+ "license": "MIT","engines": {"node": ">=6"}@@ -693,6 +849,7 @@"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz","integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==","dev": true,+ "license": "MIT","engines": {"node": ">=10"},@@ -705,6 +862,7 @@"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz","integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==","dev": true,+ "license": "MIT","dependencies": {"ansi-styles": "^4.1.0","supports-color": "^7.1.0"@@ -717,86 +875,138 @@}},"node_modules/chokidar": {- "version": "3.6.0",- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",- "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",+ "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==","dev": true,+ "license": "MIT","dependencies": {- "anymatch": "~3.1.2",- "braces": "~3.0.2",- "glob-parent": "~5.1.2",- "is-binary-path": "~2.1.0",- "is-glob": "~4.0.1",- "normalize-path": "~3.0.0",- "readdirp": "~3.6.0"+ "readdirp": "^4.0.1"},"engines": {- "node": ">= 8.10.0"+ "node": ">= 14.16.0"},"funding": {"url": "https://paulmillr.com/funding/"- },- "optionalDependencies": {- "fsevents": "~2.3.2"}},- "node_modules/chokidar/node_modules/glob-parent": {- "version": "5.1.2",- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "node_modules/cliui": {+ "version": "8.0.1",+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==","dev": true,+ "license": "ISC","dependencies": {- "is-glob": "^4.0.1"+ "string-width": "^4.2.0",+ "strip-ansi": "^6.0.1",+ "wrap-ansi": "^7.0.0"},"engines": {- "node": ">= 6"+ "node": ">=12"}},- "node_modules/cliui": {- "version": "7.0.4",- "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz",- "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==",+ "node_modules/cliui/node_modules/ansi-regex": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==","dev": true,- "dependencies": {- "string-width": "^4.2.0",- "strip-ansi": "^6.0.0",- "wrap-ansi": "^7.0.0"+ "license": "MIT",+ "engines": {+ "node": ">=8"}},- "node_modules/color-convert": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "node_modules/cliui/node_modules/emoji-regex": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/cliui/node_modules/string-width": {+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==","dev": true,+ "license": "MIT","dependencies": {- "color-name": "~1.1.4"+ "emoji-regex": "^8.0.0",+ "is-fullwidth-code-point": "^3.0.0",+ "strip-ansi": "^6.0.1"},"engines": {- "node": ">=7.0.0"+ "node": ">=8"}},- "node_modules/color-name": {+ "node_modules/cliui/node_modules/strip-ansi": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ansi-regex": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/cliui/node_modules/wrap-ansi": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ansi-styles": "^4.0.0",+ "string-width": "^4.1.0",+ "strip-ansi": "^6.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"+ }+ },+ "node_modules/color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "color-name": "~1.1.4"+ },+ "engines": {+ "node": ">=7.0.0"+ }+ },+ "node_modules/color-name": {"version": "1.1.4","resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz","integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",- "dev": true+ "dev": true,+ "license": "MIT"},"node_modules/concat-map": {"version": "0.0.1","resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz","integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",- "dev": true+ "dev": true,+ "license": "MIT"},"node_modules/core-util-is": {"version": "1.0.3","resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",- "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="+ "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==",+ "license": "MIT"},"node_modules/cross-spawn": {"version": "7.0.6","resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz","integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==","dev": true,+ "license": "MIT","dependencies": {"path-key": "^3.1.0","shebang-command": "^2.0.0",@@ -810,6 +1020,7 @@"version": "4.4.1","resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz","integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==",+ "license": "MIT","dependencies": {"ms": "^2.1.3"},@@ -827,6 +1038,7 @@"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz","integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==","dev": true,+ "license": "MIT","engines": {"node": ">=10"},@@ -838,33 +1050,24 @@"version": "0.1.4","resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz","integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",- "dev": true+ "dev": true,+ "license": "MIT"},"node_modules/diff": {- "version": "5.2.0",- "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz",- "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==",+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz",+ "integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==","dev": true,+ "license": "BSD-3-Clause","engines": {"node": ">=0.3.1"}},- "node_modules/doctrine": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",- "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",- "dev": true,- "dependencies": {- "esutils": "^2.0.2"- },- "engines": {- "node": ">=6.0.0"- }- },"node_modules/duplexify": {"version": "3.7.1","resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz","integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==",+ "license": "MIT","dependencies": {"end-of-stream": "^1.0.0","inherits": "^2.0.1",@@ -872,16 +1075,25 @@"stream-shift": "^1.0.0"}},+ "node_modules/eastasianwidth": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",+ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",+ "dev": true,+ "license": "MIT"+ },"node_modules/emoji-regex": {- "version": "8.0.0",- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",- "dev": true+ "version": "9.2.2",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",+ "dev": true,+ "license": "MIT"},"node_modules/end-of-stream": {- "version": "1.4.4",- "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",- "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",+ "version": "1.4.5",+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",+ "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==",+ "license": "MIT","dependencies": {"once": "^1.4.0"}@@ -891,6 +1103,7 @@"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz","integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==","dev": true,+ "license": "MIT","engines": {"node": ">=6"}@@ -900,6 +1113,7 @@"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz","integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==","dev": true,+ "license": "MIT","engines": {"node": ">=10"},@@ -908,132 +1122,156 @@}},"node_modules/eslint": {- "version": "8.57.1",- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz",- "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==",- "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.",+ "version": "9.31.0",+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.31.0.tgz",+ "integrity": "sha512-QldCVh/ztyKJJZLr4jXNUByx3gR+TDYZCRXEktiZoUR3PGy4qCmSbkxcIle8GEwGpb5JBZazlaJ/CxLidXdEbQ==","dev": true,+ "license": "MIT","dependencies": {"@eslint-community/eslint-utils": "^4.2.0",- "@eslint-community/regexpp": "^4.6.1",- "@eslint/eslintrc": "^2.1.4",- "@eslint/js": "8.57.1",- "@humanwhocodes/config-array": "^0.13.0",+ "@eslint-community/regexpp": "^4.12.1",+ "@eslint/config-array": "^0.21.0",+ "@eslint/config-helpers": "^0.3.0",+ "@eslint/core": "^0.15.0",+ "@eslint/eslintrc": "^3.3.1",+ "@eslint/js": "9.31.0",+ "@eslint/plugin-kit": "^0.3.1",+ "@humanfs/node": "^0.16.6","@humanwhocodes/module-importer": "^1.0.1",- "@nodelib/fs.walk": "^1.2.8",- "@ungap/structured-clone": "^1.2.0",+ "@humanwhocodes/retry": "^0.4.2",+ "@types/estree": "^1.0.6",+ "@types/json-schema": "^7.0.15","ajv": "^6.12.4","chalk": "^4.0.0",- "cross-spawn": "^7.0.2",+ "cross-spawn": "^7.0.6","debug": "^4.3.2",- "doctrine": "^3.0.0","escape-string-regexp": "^4.0.0",- "eslint-scope": "^7.2.2",- "eslint-visitor-keys": "^3.4.3",- "espree": "^9.6.1",- "esquery": "^1.4.2",+ "eslint-scope": "^8.4.0",+ "eslint-visitor-keys": "^4.2.1",+ "espree": "^10.4.0",+ "esquery": "^1.5.0","esutils": "^2.0.2","fast-deep-equal": "^3.1.3",- "file-entry-cache": "^6.0.1",+ "file-entry-cache": "^8.0.0","find-up": "^5.0.0","glob-parent": "^6.0.2",- "globals": "^13.19.0",- "graphemer": "^1.4.0","ignore": "^5.2.0","imurmurhash": "^0.1.4","is-glob": "^4.0.0",- "is-path-inside": "^3.0.3",- "js-yaml": "^4.1.0","json-stable-stringify-without-jsonify": "^1.0.1",- "levn": "^0.4.1","lodash.merge": "^4.6.2","minimatch": "^3.1.2","natural-compare": "^1.4.0",- "optionator": "^0.9.3",- "strip-ansi": "^6.0.1",- "text-table": "^0.2.0"+ "optionator": "^0.9.3"},"bin": {"eslint": "bin/eslint.js"},"engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"},"funding": {- "url": "https://opencollective.com/eslint"+ "url": "https://eslint.org/donate"+ },+ "peerDependencies": {+ "jiti": "*"+ },+ "peerDependenciesMeta": {+ "jiti": {+ "optional": true+ }}},- "node_modules/eslint-scope": {- "version": "7.2.2",- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",- "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",+ "node_modules/eslint-config-prettier": {+ "version": "10.1.5",+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.5.tgz",+ "integrity": "sha512-zc1UmCpNltmVY34vuLRV61r1K27sWuX39E+uyUnY8xS2Bex88VV9cugG+UZbRSRGtGyFboj+D8JODyme1plMpw==","dev": true,- "dependencies": {- "esrecurse": "^4.3.0",- "estraverse": "^5.2.0"- },- "engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ "license": "MIT",+ "bin": {+ "eslint-config-prettier": "bin/cli.js"},"funding": {- "url": "https://opencollective.com/eslint"+ "url": "https://opencollective.com/eslint-config-prettier"+ },+ "peerDependencies": {+ "eslint": ">=7.0.0"}},- "node_modules/eslint-visitor-keys": {- "version": "3.4.3",- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",- "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",+ "node_modules/eslint-plugin-prettier": {+ "version": "5.5.1",+ "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.1.tgz",+ "integrity": "sha512-dobTkHT6XaEVOo8IO90Q4DOSxnm3Y151QxPJlM/vKC0bVy+d6cVWQZLlFiuZPP0wS6vZwSKeJgKkcS+KfMBlRw==","dev": true,+ "license": "MIT",+ "dependencies": {+ "prettier-linter-helpers": "^1.0.0",+ "synckit": "^0.11.7"+ },"engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ "node": "^14.18.0 || >=16.0.0"},"funding": {- "url": "https://opencollective.com/eslint"+ "url": "https://opencollective.com/eslint-plugin-prettier"+ },+ "peerDependencies": {+ "@types/eslint": ">=8.0.0",+ "eslint": ">=8.0.0",+ "eslint-config-prettier": ">= 7.0.0 <10.0.0 || >=10.1.0",+ "prettier": ">=3.0.0"+ },+ "peerDependenciesMeta": {+ "@types/eslint": {+ "optional": true+ },+ "eslint-config-prettier": {+ "optional": true+ }}},- "node_modules/eslint/node_modules/brace-expansion": {- "version": "1.1.12",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",- "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",+ "node_modules/eslint-scope": {+ "version": "8.4.0",+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",+ "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==","dev": true,+ "license": "BSD-2-Clause","dependencies": {- "balanced-match": "^1.0.0",- "concat-map": "0.0.1"- }- },- "node_modules/eslint/node_modules/ignore": {- "version": "5.3.2",- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",- "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",- "dev": true,+ "esrecurse": "^4.3.0",+ "estraverse": "^5.2.0"+ },"engines": {- "node": ">= 4"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ },+ "funding": {+ "url": "https://opencollective.com/eslint"}},- "node_modules/eslint/node_modules/minimatch": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",+ "node_modules/eslint-visitor-keys": {+ "version": "4.2.1",+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",+ "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==","dev": true,- "dependencies": {- "brace-expansion": "^1.1.7"- },+ "license": "Apache-2.0","engines": {- "node": "*"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ },+ "funding": {+ "url": "https://opencollective.com/eslint"}},"node_modules/espree": {- "version": "9.6.1",- "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",- "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",+ "version": "10.4.0",+ "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",+ "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==","dev": true,+ "license": "BSD-2-Clause","dependencies": {- "acorn": "^8.9.0",+ "acorn": "^8.15.0","acorn-jsx": "^5.3.2",- "eslint-visitor-keys": "^3.4.1"+ "eslint-visitor-keys": "^4.2.1"},"engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"},"funding": {"url": "https://opencollective.com/eslint"@@ -1044,6 +1282,7 @@"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz","integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==","dev": true,+ "license": "BSD-3-Clause","dependencies": {"estraverse": "^5.1.0"},@@ -1056,6 +1295,7 @@"resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz","integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==","dev": true,+ "license": "BSD-2-Clause","dependencies": {"estraverse": "^5.2.0"},@@ -1068,6 +1308,7 @@"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz","integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==","dev": true,+ "license": "BSD-2-Clause","engines": {"node": ">=4.0"}@@ -1077,6 +1318,7 @@"resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz","integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==","dev": true,+ "license": "BSD-2-Clause","engines": {"node": ">=0.10.0"}@@ -1085,18 +1327,28 @@"version": "3.1.3","resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz","integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",- "dev": true+ "dev": true,+ "license": "MIT"+ },+ "node_modules/fast-diff": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz",+ "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==",+ "dev": true,+ "license": "Apache-2.0"},"node_modules/fast-fifo": {"version": "1.3.2","resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz",- "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ=="+ "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==",+ "license": "MIT"},"node_modules/fast-glob": {"version": "3.3.3","resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz","integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==","dev": true,+ "license": "MIT","dependencies": {"@nodelib/fs.stat": "^2.0.2","@nodelib/fs.walk": "^1.2.3",@@ -1113,6 +1365,7 @@"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz","integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==","dev": true,+ "license": "ISC","dependencies": {"is-glob": "^4.0.1"},@@ -1124,33 +1377,37 @@"version": "2.1.0","resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz","integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",- "dev": true+ "dev": true,+ "license": "MIT"},"node_modules/fast-levenshtein": {"version": "2.0.6","resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz","integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",- "dev": true+ "dev": true,+ "license": "MIT"},"node_modules/fastq": {"version": "1.19.1","resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz","integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==","dev": true,+ "license": "ISC","dependencies": {"reusify": "^1.0.4"}},"node_modules/file-entry-cache": {- "version": "6.0.1",- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",- "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",+ "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==","dev": true,+ "license": "MIT","dependencies": {- "flat-cache": "^3.0.4"+ "flat-cache": "^4.0.0"},"engines": {- "node": "^10.12.0 || >=12.0.0"+ "node": ">=16.0.0"}},"node_modules/fill-range": {@@ -1158,6 +1415,7 @@"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz","integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==","dev": true,+ "license": "MIT","dependencies": {"to-regex-range": "^5.0.1"},@@ -1170,6 +1428,7 @@"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz","integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==","dev": true,+ "license": "MIT","dependencies": {"locate-path": "^6.0.0","path-exists": "^4.0.0"@@ -1186,48 +1445,47 @@"resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz","integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==","dev": true,+ "license": "BSD-3-Clause","bin": {"flat": "cli.js"}},"node_modules/flat-cache": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",- "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",+ "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==","dev": true,+ "license": "MIT","dependencies": {"flatted": "^3.2.9",- "keyv": "^4.5.3",- "rimraf": "^3.0.2"+ "keyv": "^4.5.4"},"engines": {- "node": "^10.12.0 || >=12.0.0"+ "node": ">=16"}},"node_modules/flatted": {"version": "3.3.3","resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz","integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",- "dev": true- },- "node_modules/fs.realpath": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",- "dev": true+ "dev": true,+ "license": "ISC"},- "node_modules/fsevents": {- "version": "2.3.3",- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",+ "node_modules/foreground-child": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz",+ "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==","dev": true,- "hasInstallScript": true,- "optional": true,- "os": [- "darwin"- ],+ "license": "ISC",+ "dependencies": {+ "cross-spawn": "^7.0.6",+ "signal-exit": "^4.0.1"+ },"engines": {- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"}},"node_modules/get-caller-file": {@@ -1235,25 +1493,27 @@"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz","integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==","dev": true,+ "license": "ISC","engines": {"node": "6.* || 8.* || >= 10.*"}},"node_modules/glob": {- "version": "8.1.0",- "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",- "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==",- "deprecated": "Glob versions prior to v9 are no longer supported",+ "version": "10.4.5",+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",+ "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==","dev": true,+ "license": "ISC","dependencies": {- "fs.realpath": "^1.0.0",- "inflight": "^1.0.4",- "inherits": "2",- "minimatch": "^5.0.1",- "once": "^1.3.0"+ "foreground-child": "^3.1.0",+ "jackspeak": "^3.1.2",+ "minimatch": "^9.0.4",+ "minipass": "^7.1.2",+ "package-json-from-dist": "^1.0.0",+ "path-scurry": "^1.11.1"},- "engines": {- "node": ">=12"+ "bin": {+ "glob": "dist/esm/bin.mjs"},"funding": {"url": "https://github.com/sponsors/isaacs"@@ -1264,6 +1524,7 @@"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz","integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==","dev": true,+ "license": "ISC","dependencies": {"is-glob": "^4.0.3"},@@ -1271,28 +1532,40 @@"node": ">=10.13.0"}},+ "node_modules/glob/node_modules/brace-expansion": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "balanced-match": "^1.0.0"+ }+ },"node_modules/glob/node_modules/minimatch": {- "version": "5.1.6",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",- "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",+ "version": "9.0.5",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",+ "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==","dev": true,+ "license": "ISC","dependencies": {"brace-expansion": "^2.0.1"},"engines": {- "node": ">=10"+ "node": ">=16 || 14 >=14.17"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"}},"node_modules/globals": {- "version": "13.24.0",- "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",- "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",+ "version": "16.3.0",+ "resolved": "https://registry.npmjs.org/globals/-/globals-16.3.0.tgz",+ "integrity": "sha512-bqWEnJ1Nt3neqx2q5SFfGS8r/ahumIakg3HcwtNlrVlwXIeNumWn/c7Pn/wKzGhf6SaW6H6uWXLqC30STCMchQ==","dev": true,- "dependencies": {- "type-fest": "^0.20.2"- },+ "license": "MIT","engines": {- "node": ">=8"+ "node": ">=18"},"funding": {"url": "https://github.com/sponsors/sindresorhus"@@ -1302,12 +1575,14 @@"version": "1.4.0","resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz","integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",- "dev": true+ "dev": true,+ "license": "MIT"},"node_modules/gunzip-maybe": {"version": "1.4.2","resolved": "https://registry.npmjs.org/gunzip-maybe/-/gunzip-maybe-1.4.2.tgz","integrity": "sha512-4haO1M4mLO91PW57BMsDFf75UmwoRX0GkdD+Faw+Lr+r/OZrOCS0pIBwOL1xCKQqnQzbNFGgK2V2CpBUPeFNTw==",+ "license": "MIT","dependencies": {"browserify-zlib": "^0.1.4","is-deflate": "^1.0.0",@@ -1325,6 +1600,7 @@"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz","integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==","dev": true,+ "license": "MIT","engines": {"node": ">=8"}@@ -1334,6 +1610,7 @@"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz","integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==","dev": true,+ "license": "MIT","bin": {"he": "bin/he"}@@ -1342,6 +1619,7 @@"version": "7.0.6","resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz","integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",+ "license": "MIT","dependencies": {"agent-base": "^7.1.2","debug": "4"@@ -1351,10 +1629,11 @@}},"node_modules/ignore": {- "version": "7.0.5",- "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",- "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",+ "version": "5.3.2",+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",+ "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==","dev": true,+ "license": "MIT","engines": {"node": ">= 4"}@@ -1364,6 +1643,7 @@"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz","integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==","dev": true,+ "license": "MIT","dependencies": {"parent-module": "^1.0.0","resolve-from": "^4.0.0"@@ -1380,48 +1660,29 @@"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz","integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==","dev": true,+ "license": "MIT","engines": {"node": ">=0.8.19"}},- "node_modules/inflight": {- "version": "1.0.6",- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",- "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",- "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.",- "dev": true,- "dependencies": {- "once": "^1.3.0",- "wrappy": "1"- }- },"node_modules/inherits": {"version": "2.0.4","resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="- },- "node_modules/is-binary-path": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",- "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",- "dev": true,- "dependencies": {- "binary-extensions": "^2.0.0"- },- "engines": {- "node": ">=8"- }+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",+ "license": "ISC"},"node_modules/is-deflate": {"version": "1.0.0","resolved": "https://registry.npmjs.org/is-deflate/-/is-deflate-1.0.0.tgz",- "integrity": "sha512-YDoFpuZWu1VRXlsnlYMzKyVRITXj7Ej/V9gXQ2/pAe7X1J7M/RNOqaIYi6qUn+B7nGyB9pDXrv02dsB58d2ZAQ=="+ "integrity": "sha512-YDoFpuZWu1VRXlsnlYMzKyVRITXj7Ej/V9gXQ2/pAe7X1J7M/RNOqaIYi6qUn+B7nGyB9pDXrv02dsB58d2ZAQ==",+ "license": "MIT"},"node_modules/is-extglob": {"version": "2.1.1","resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz","integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==","dev": true,+ "license": "MIT","engines": {"node": ">=0.10.0"}@@ -1431,6 +1692,7 @@"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz","integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==","dev": true,+ "license": "MIT","engines": {"node": ">=8"}@@ -1440,6 +1702,7 @@"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz","integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==","dev": true,+ "license": "MIT","dependencies": {"is-extglob": "^2.1.1"},@@ -1451,6 +1714,7 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/is-gzip/-/is-gzip-1.0.0.tgz","integrity": "sha512-rcfALRIb1YewtnksfRIHGcIY93QnK8BIQ/2c9yDYcG/Y6+vRoJuTWBmmSEbyLLYtXm7q35pHOHbZFQBaLrhlWQ==",+ "license": "MIT","engines": {"node": ">=0.10.0"}@@ -1460,24 +1724,17 @@"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz","integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==","dev": true,+ "license": "MIT","engines": {"node": ">=0.12.0"}},- "node_modules/is-path-inside": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",- "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",- "dev": true,- "engines": {- "node": ">=8"- }- },"node_modules/is-plain-obj": {"version": "2.1.0","resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz","integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==","dev": true,+ "license": "MIT","engines": {"node": ">=8"}@@ -1487,6 +1744,7 @@"resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz","integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==","dev": true,+ "license": "MIT","engines": {"node": ">=10"},@@ -1497,19 +1755,38 @@"node_modules/isarray": {"version": "1.0.0","resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",- "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ=="+ "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",+ "license": "MIT"},"node_modules/isexe": {"version": "2.0.0","resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz","integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",- "dev": true+ "dev": true,+ "license": "ISC"+ },+ "node_modules/jackspeak": {+ "version": "3.4.3",+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",+ "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",+ "dev": true,+ "license": "BlueOak-1.0.0",+ "dependencies": {+ "@isaacs/cliui": "^8.0.2"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ },+ "optionalDependencies": {+ "@pkgjs/parseargs": "^0.11.0"+ }},"node_modules/js-yaml": {"version": "4.1.0","resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz","integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==","dev": true,+ "license": "MIT","dependencies": {"argparse": "^2.0.1"},@@ -1521,25 +1798,29 @@"version": "3.0.1","resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz","integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",- "dev": true+ "dev": true,+ "license": "MIT"},"node_modules/json-schema-traverse": {"version": "0.4.1","resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz","integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",- "dev": true+ "dev": true,+ "license": "MIT"},"node_modules/json-stable-stringify-without-jsonify": {"version": "1.0.1","resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz","integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",- "dev": true+ "dev": true,+ "license": "MIT"},"node_modules/keyv": {"version": "4.5.4","resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz","integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==","dev": true,+ "license": "MIT","dependencies": {"json-buffer": "3.0.1"}@@ -1549,6 +1830,7 @@"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz","integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==","dev": true,+ "license": "MIT","dependencies": {"prelude-ls": "^1.2.1","type-check": "~0.4.0"@@ -1562,6 +1844,7 @@"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz","integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==","dev": true,+ "license": "MIT","dependencies": {"p-locate": "^5.0.0"},@@ -1576,13 +1859,15 @@"version": "4.6.2","resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz","integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",- "dev": true+ "dev": true,+ "license": "MIT"},"node_modules/log-symbols": {"version": "4.1.0","resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz","integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==","dev": true,+ "license": "MIT","dependencies": {"chalk": "^4.1.0","is-unicode-supported": "^0.1.0"@@ -1594,11 +1879,19 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/lru-cache": {+ "version": "10.4.3",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",+ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",+ "dev": true,+ "license": "ISC"+ },"node_modules/merge2": {"version": "1.4.1","resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz","integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==","dev": true,+ "license": "MIT","engines": {"node": ">= 8"}@@ -1608,6 +1901,7 @@"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz","integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==","dev": true,+ "license": "MIT","dependencies": {"braces": "^3.0.3","picomatch": "^2.3.1"@@ -1617,45 +1911,54 @@}},"node_modules/minimatch": {- "version": "9.0.5",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",- "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==","dev": true,+ "license": "ISC","dependencies": {- "brace-expansion": "^2.0.1"+ "brace-expansion": "^1.1.7"},+ "engines": {+ "node": "*"+ }+ },+ "node_modules/minipass": {+ "version": "7.1.2",+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",+ "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",+ "dev": true,+ "license": "ISC","engines": {"node": ">=16 || 14 >=14.17"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"}},"node_modules/mocha": {- "version": "10.8.2",- "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.8.2.tgz",- "integrity": "sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg==",+ "version": "11.7.1",+ "resolved": "https://registry.npmjs.org/mocha/-/mocha-11.7.1.tgz",+ "integrity": "sha512-5EK+Cty6KheMS/YLPPMJC64g5V61gIR25KsRItHw6x4hEKT6Njp1n9LOlH4gpevuwMVS66SXaBBpg+RWZkza4A==","dev": true,+ "license": "MIT","dependencies": {- "ansi-colors": "^4.1.3","browser-stdout": "^1.3.1",- "chokidar": "^3.5.3",+ "chokidar": "^4.0.1","debug": "^4.3.5",- "diff": "^5.2.0",+ "diff": "^7.0.0","escape-string-regexp": "^4.0.0","find-up": "^5.0.0",- "glob": "^8.1.0",+ "glob": "^10.4.5","he": "^1.2.0","js-yaml": "^4.1.0","log-symbols": "^4.1.0",- "minimatch": "^5.1.6",+ "minimatch": "^9.0.5","ms": "^2.1.3",+ "picocolors": "^1.1.1","serialize-javascript": "^6.0.2","strip-json-comments": "^3.1.1","supports-color": "^8.1.1",- "workerpool": "^6.5.1",- "yargs": "^16.2.0",- "yargs-parser": "^20.2.9",+ "workerpool": "^9.2.0",+ "yargs": "^17.7.2",+ "yargs-parser": "^21.1.1","yargs-unparser": "^2.0.0"},"bin": {@@ -1663,26 +1966,41 @@"mocha": "bin/mocha.js"},"engines": {- "node": ">= 14.0.0"+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ }+ },+ "node_modules/mocha/node_modules/brace-expansion": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "balanced-match": "^1.0.0"}},"node_modules/mocha/node_modules/minimatch": {- "version": "5.1.6",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",- "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",+ "version": "9.0.5",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",+ "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==","dev": true,+ "license": "ISC","dependencies": {"brace-expansion": "^2.0.1"},"engines": {- "node": ">=10"- }+ "node": ">=16 || 14 >=14.17"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }},"node_modules/mocha/node_modules/supports-color": {"version": "8.1.1","resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz","integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==","dev": true,+ "license": "MIT","dependencies": {"has-flag": "^4.0.0"},@@ -1696,27 +2014,21 @@"node_modules/ms": {"version": "2.1.3","resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",+ "license": "MIT"},"node_modules/natural-compare": {"version": "1.4.0","resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz","integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",- "dev": true- },- "node_modules/normalize-path": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==","dev": true,- "engines": {- "node": ">=0.10.0"- }+ "license": "MIT"},"node_modules/once": {"version": "1.4.0","resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz","integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",+ "license": "ISC","dependencies": {"wrappy": "1"}@@ -1726,6 +2038,7 @@"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz","integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==","dev": true,+ "license": "MIT","dependencies": {"deep-is": "^0.1.3","fast-levenshtein": "^2.0.6",@@ -1743,6 +2056,7 @@"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz","integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==","dev": true,+ "license": "MIT","dependencies": {"yocto-queue": "^0.1.0"},@@ -1758,6 +2072,7 @@"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz","integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==","dev": true,+ "license": "MIT","dependencies": {"p-limit": "^3.0.2"},@@ -1768,16 +2083,25 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/package-json-from-dist": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",+ "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",+ "dev": true,+ "license": "BlueOak-1.0.0"+ },"node_modules/pako": {"version": "0.2.9","resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz",- "integrity": "sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA=="+ "integrity": "sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==",+ "license": "MIT"},"node_modules/parent-module": {"version": "1.0.1","resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz","integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==","dev": true,+ "license": "MIT","dependencies": {"callsites": "^3.0.0"},@@ -1790,43 +2114,62 @@"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz","integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==","dev": true,+ "license": "MIT","engines": {"node": ">=8"}},- "node_modules/path-is-absolute": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",- "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",- "dev": true,- "engines": {- "node": ">=0.10.0"- }- },"node_modules/path-key": {"version": "3.1.1","resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz","integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==","dev": true,+ "license": "MIT","engines": {"node": ">=8"}},+ "node_modules/path-scurry": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",+ "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",+ "dev": true,+ "license": "BlueOak-1.0.0",+ "dependencies": {+ "lru-cache": "^10.2.0",+ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"+ },+ "engines": {+ "node": ">=16 || 14 >=14.18"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },"node_modules/peek-stream": {"version": "1.1.3","resolved": "https://registry.npmjs.org/peek-stream/-/peek-stream-1.1.3.tgz","integrity": "sha512-FhJ+YbOSBb9/rIl2ZeE/QHEsWn7PqNYt8ARAY3kIgNGOk13g9FGyIY6JIl/xB/3TFRVoTv5as0l11weORrTekA==",+ "license": "MIT","dependencies": {"buffer-from": "^1.0.0","duplexify": "^3.5.0","through2": "^2.0.3"}},+ "node_modules/picocolors": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",+ "dev": true,+ "license": "ISC"+ },"node_modules/picomatch": {"version": "2.3.1","resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz","integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==","dev": true,+ "license": "MIT","engines": {"node": ">=8.6"},@@ -1839,19 +2182,51 @@"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz","integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==","dev": true,+ "license": "MIT","engines": {"node": ">= 0.8.0"}},+ "node_modules/prettier": {+ "version": "3.6.2",+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz",+ "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==",+ "dev": true,+ "license": "MIT",+ "bin": {+ "prettier": "bin/prettier.cjs"+ },+ "engines": {+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/prettier/prettier?sponsor=1"+ }+ },+ "node_modules/prettier-linter-helpers": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz",+ "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "fast-diff": "^1.1.2"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },"node_modules/process-nextick-args": {"version": "2.0.1","resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",- "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",+ "license": "MIT"},"node_modules/pump": {"version": "2.0.1","resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz","integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==",+ "license": "MIT","dependencies": {"end-of-stream": "^1.1.0","once": "^1.3.1"@@ -1861,6 +2236,7 @@"version": "1.5.1","resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz","integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==",+ "license": "MIT","dependencies": {"duplexify": "^3.6.0","inherits": "^2.0.3",@@ -1872,6 +2248,7 @@"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz","integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==","dev": true,+ "license": "MIT","engines": {"node": ">=6"}@@ -1894,13 +2271,15 @@"type": "consulting","url": "https://feross.org/support"}- ]+ ],+ "license": "MIT"},"node_modules/random-bigint": {"version": "0.0.1","resolved": "https://registry.npmjs.org/random-bigint/-/random-bigint-0.0.1.tgz","integrity": "sha512-X+NTsf5Hzl/tRNLiNTD3N1LRU0eKdIE0+plNlV1CmXLTlnAxj6HipcTnOhWvFRoSytCz6l1f4KYFf/iH8NNSLw==","dev": true,+ "license": "ISC","engines": {"node": ">=10.0.0"}@@ -1910,6 +2289,7 @@"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz","integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==","dev": true,+ "license": "MIT","dependencies": {"safe-buffer": "^5.1.0"}@@ -1918,6 +2298,7 @@"version": "2.3.8","resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz","integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",+ "license": "MIT","dependencies": {"core-util-is": "~1.0.0","inherits": "~2.0.3",@@ -1929,15 +2310,17 @@}},"node_modules/readdirp": {- "version": "3.6.0",- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",- "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",+ "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==","dev": true,- "dependencies": {- "picomatch": "^2.2.1"- },+ "license": "MIT","engines": {- "node": ">=8.10.0"+ "node": ">= 14.18.0"+ },+ "funding": {+ "type": "individual",+ "url": "https://paulmillr.com/funding/"}},"node_modules/require-directory": {@@ -1945,6 +2328,7 @@"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz","integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==","dev": true,+ "license": "MIT","engines": {"node": ">=0.10.0"}@@ -1954,6 +2338,7 @@"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz","integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==","dev": true,+ "license": "MIT","engines": {"node": ">=4"}@@ -1963,70 +2348,12 @@"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz","integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==","dev": true,+ "license": "MIT","engines": {"iojs": ">=1.0.0","node": ">=0.10.0"}},- "node_modules/rimraf": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",- "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",- "deprecated": "Rimraf versions prior to v4 are no longer supported",- "dev": true,- "dependencies": {- "glob": "^7.1.3"- },- "bin": {- "rimraf": "bin.js"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"- }- },- "node_modules/rimraf/node_modules/brace-expansion": {- "version": "1.1.12",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",- "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",- "dev": true,- "dependencies": {- "balanced-match": "^1.0.0",- "concat-map": "0.0.1"- }- },- "node_modules/rimraf/node_modules/glob": {- "version": "7.2.3",- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",- "deprecated": "Glob versions prior to v9 are no longer supported",- "dev": true,- "dependencies": {- "fs.realpath": "^1.0.0",- "inflight": "^1.0.4",- "inherits": "2",- "minimatch": "^3.1.1",- "once": "^1.3.0",- "path-is-absolute": "^1.0.0"- },- "engines": {- "node": "*"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"- }- },- "node_modules/rimraf/node_modules/minimatch": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",- "dev": true,- "dependencies": {- "brace-expansion": "^1.1.7"- },- "engines": {- "node": "*"- }- },"node_modules/run-parallel": {"version": "1.2.0","resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",@@ -2046,6 +2373,7 @@"url": "https://feross.org/support"}],+ "license": "MIT","dependencies": {"queue-microtask": "^1.2.2"}@@ -2053,13 +2381,15 @@"node_modules/safe-buffer": {"version": "5.1.2","resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",+ "license": "MIT"},"node_modules/semver": {"version": "7.7.2","resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz","integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==","dev": true,+ "license": "ISC","bin": {"semver": "bin/semver.js"},@@ -2072,6 +2402,7 @@"resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz","integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==","dev": true,+ "license": "BSD-3-Clause","dependencies": {"randombytes": "^2.1.0"}@@ -2081,6 +2412,7 @@"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz","integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==","dev": true,+ "license": "MIT","dependencies": {"shebang-regex": "^3.0.0"},@@ -2093,19 +2425,35 @@"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz","integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==","dev": true,+ "license": "MIT","engines": {"node": ">=8"}},+ "node_modules/signal-exit": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",+ "dev": true,+ "license": "ISC",+ "engines": {+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },"node_modules/stream-shift": {"version": "1.0.3","resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.3.tgz",- "integrity": "sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ=="+ "integrity": "sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==",+ "license": "MIT"},"node_modules/streamx": {"version": "2.22.1","resolved": "https://registry.npmjs.org/streamx/-/streamx-2.22.1.tgz","integrity": "sha512-znKXEBxfatz2GBNK02kRnCXjV+AA4kjZIUxeWSr3UGirZMJfTE9uiwKHobnbgxWyL/JWro8tTq+vOqAK1/qbSA==",+ "license": "MIT","dependencies": {"fast-fifo": "^1.3.2","text-decoder": "^1.1.0"@@ -2118,15 +2466,36 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz","integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",+ "license": "MIT","dependencies": {"safe-buffer": "~5.1.0"}},"node_modules/string-width": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "eastasianwidth": "^0.2.0",+ "emoji-regex": "^9.2.2",+ "strip-ansi": "^7.0.1"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/string-width-cjs": {+ "name": "string-width","version": "4.2.3","resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz","integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==","dev": true,+ "license": "MIT","dependencies": {"emoji-regex": "^8.0.0","is-fullwidth-code-point": "^3.0.0",@@ -2136,11 +2505,59 @@"node": ">=8"}},+ "node_modules/string-width-cjs/node_modules/ansi-regex": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/string-width-cjs/node_modules/emoji-regex": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/string-width-cjs/node_modules/strip-ansi": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ansi-regex": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },"node_modules/strip-ansi": {+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ansi-regex": "^6.0.1"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"+ }+ },+ "node_modules/strip-ansi-cjs": {+ "name": "strip-ansi","version": "6.0.1","resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz","integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==","dev": true,+ "license": "MIT","dependencies": {"ansi-regex": "^5.0.1"},@@ -2148,11 +2565,22 @@"node": ">=8"}},+ "node_modules/strip-ansi-cjs/node_modules/ansi-regex": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },"node_modules/strip-json-comments": {"version": "3.1.1","resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz","integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==","dev": true,+ "license": "MIT","engines": {"node": ">=8"},@@ -2165,6 +2593,7 @@"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz","integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==","dev": true,+ "license": "MIT","dependencies": {"has-flag": "^4.0.0"},@@ -2172,10 +2601,27 @@"node": ">=8"}},+ "node_modules/synckit": {+ "version": "0.11.8",+ "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.8.tgz",+ "integrity": "sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@pkgr/core": "^0.2.4"+ },+ "engines": {+ "node": "^14.18.0 || >=16.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/synckit"+ }+ },"node_modules/tar-fs": {- "version": "3.0.9",- "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.9.tgz",- "integrity": "sha512-XF4w9Xp+ZQgifKakjZYmFdkLoSWd34VGKcsTCwlNWM7QG3ZbaxnTsaBwnjFZqHRf/rROxaR8rXnbtwdvaDI+lA==",+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.0.tgz",+ "integrity": "sha512-5Mty5y/sOF1YWj1J6GiBodjlDc05CUR8PKXrsnFAiSG0xA+GHeWLovaZPYUDXkH/1iKRf2+M5+OrRgzC7O9b7w==",+ "license": "MIT","dependencies": {"pump": "^3.0.0","tar-stream": "^3.1.5"@@ -2186,9 +2632,10 @@}},"node_modules/tar-fs/node_modules/pump": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz",- "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==",+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.3.tgz",+ "integrity": "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==",+ "license": "MIT","dependencies": {"end-of-stream": "^1.1.0","once": "^1.3.1"@@ -2198,6 +2645,7 @@"version": "3.1.7","resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz","integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==",+ "license": "MIT","dependencies": {"b4a": "^1.6.4","fast-fifo": "^1.2.0",@@ -2208,20 +2656,16 @@"version": "1.2.3","resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.3.tgz","integrity": "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==",+ "license": "Apache-2.0","dependencies": {"b4a": "^1.6.4"}},- "node_modules/text-table": {- "version": "0.2.0",- "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",- "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",- "dev": true- },"node_modules/through2": {"version": "2.0.5","resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz","integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==",+ "license": "MIT","dependencies": {"readable-stream": "~2.3.6","xtend": "~4.0.1"@@ -2232,6 +2676,7 @@"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz","integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==","dev": true,+ "license": "MIT","dependencies": {"is-number": "^7.0.0"},@@ -2244,6 +2689,7 @@"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz","integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==","dev": true,+ "license": "MIT","engines": {"node": ">=18.12"},@@ -2256,6 +2702,7 @@"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz","integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==","dev": true,+ "license": "MIT","dependencies": {"prelude-ls": "^1.2.1"},@@ -2263,23 +2710,12 @@"node": ">= 0.8.0"}},- "node_modules/type-fest": {- "version": "0.20.2",- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",- "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",- "dev": true,- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },"node_modules/typescript": {"version": "5.8.3","resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz","integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==","dev": true,+ "license": "Apache-2.0","bin": {"tsc": "bin/tsc","tsserver": "bin/tsserver"@@ -2288,17 +2724,43 @@"node": ">=14.17"}},+ "node_modules/typescript-eslint": {+ "version": "8.37.0",+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.37.0.tgz",+ "integrity": "sha512-TnbEjzkE9EmcO0Q2zM+GE8NQLItNAJpMmED1BdgoBMYNdqMhzlbqfdSwiRlAzEK2pA9UzVW0gzaaIzXWg2BjfA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@typescript-eslint/eslint-plugin": "8.37.0",+ "@typescript-eslint/parser": "8.37.0",+ "@typescript-eslint/typescript-estree": "8.37.0",+ "@typescript-eslint/utils": "8.37.0"+ },+ "engines": {+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/typescript-eslint"+ },+ "peerDependencies": {+ "eslint": "^8.57.0 || ^9.0.0",+ "typescript": ">=4.8.4 <5.9.0"+ }+ },"node_modules/undici-types": {"version": "6.21.0","resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz","integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",- "dev": true+ "dev": true,+ "license": "MIT"},"node_modules/uri-js": {"version": "4.4.1","resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz","integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==","dev": true,+ "license": "BSD-2-Clause","dependencies": {"punycode": "^2.1.0"}@@ -2306,13 +2768,15 @@"node_modules/util-deprecate": {"version": "1.0.2","resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",- "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",+ "license": "MIT"},"node_modules/which": {"version": "2.0.2","resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz","integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==","dev": true,+ "license": "ISC","dependencies": {"isexe": "^2.0.0"},@@ -2328,21 +2792,43 @@"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz","integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==","dev": true,+ "license": "MIT","engines": {"node": ">=0.10.0"}},"node_modules/workerpool": {- "version": "6.5.1",- "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.5.1.tgz",- "integrity": "sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==",- "dev": true+ "version": "9.3.3",+ "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-9.3.3.tgz",+ "integrity": "sha512-slxCaKbYjEdFT/o2rH9xS1hf4uRDch1w7Uo+apxhZ+sf/1d9e0ZVkn42kPNGP2dgjIx6YFvSevj0zHvbWe2jdw==",+ "dev": true,+ "license": "Apache-2.0"},"node_modules/wrap-ansi": {+ "version": "8.1.0",+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ansi-styles": "^6.1.0",+ "string-width": "^5.0.1",+ "strip-ansi": "^7.0.1"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"+ }+ },+ "node_modules/wrap-ansi-cjs": {+ "name": "wrap-ansi","version": "7.0.0","resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz","integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==","dev": true,+ "license": "MIT","dependencies": {"ansi-styles": "^4.0.0","string-width": "^4.1.0",@@ -2355,15 +2841,75 @@"url": "https://github.com/chalk/wrap-ansi?sponsor=1"}},+ "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/wrap-ansi-cjs/node_modules/string-width": {+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "emoji-regex": "^8.0.0",+ "is-fullwidth-code-point": "^3.0.0",+ "strip-ansi": "^6.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ansi-regex": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/wrap-ansi/node_modules/ansi-styles": {+ "version": "6.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"+ }+ },"node_modules/wrappy": {"version": "1.0.2","resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",+ "license": "ISC"},"node_modules/xtend": {"version": "4.0.2","resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz","integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",+ "license": "MIT","engines": {"node": ">=0.4"}@@ -2373,35 +2919,38 @@"resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz","integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==","dev": true,+ "license": "ISC","engines": {"node": ">=10"}},"node_modules/yargs": {- "version": "16.2.0",- "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz",- "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==",+ "version": "17.7.2",+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",+ "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==","dev": true,+ "license": "MIT","dependencies": {- "cliui": "^7.0.2",+ "cliui": "^8.0.1","escalade": "^3.1.1","get-caller-file": "^2.0.5","require-directory": "^2.1.1",- "string-width": "^4.2.0",+ "string-width": "^4.2.3","y18n": "^5.0.5",- "yargs-parser": "^20.2.2"+ "yargs-parser": "^21.1.1"},"engines": {- "node": ">=10"+ "node": ">=12"}},"node_modules/yargs-parser": {- "version": "20.2.9",- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz",- "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==",+ "version": "21.1.1",+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==","dev": true,+ "license": "ISC","engines": {- "node": ">=10"+ "node": ">=12"}},"node_modules/yargs-unparser": {@@ -2409,6 +2958,7 @@"resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz","integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==","dev": true,+ "license": "MIT","dependencies": {"camelcase": "^6.0.0","decamelize": "^4.0.0",@@ -2419,11 +2969,57 @@"node": ">=10"}},+ "node_modules/yargs/node_modules/ansi-regex": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/yargs/node_modules/emoji-regex": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/yargs/node_modules/string-width": {+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "emoji-regex": "^8.0.0",+ "is-fullwidth-code-point": "^3.0.0",+ "strip-ansi": "^6.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/yargs/node_modules/strip-ansi": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ansi-regex": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },"node_modules/yocto-queue": {"version": "0.1.0","resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz","integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==","dev": true,+ "license": "MIT","engines": {"node": ">=10"},diff --git a/src/bindings/js/node/package.json b/src/bindings/js/node/package.jsonindex fbb1afb65bd..3e3b4bc9981 100644--- a/src/bindings/js/node/package.json+++ b/src/bindings/js/node/package.json@@ -18,6 +18,7 @@"build": "npm run tsc","prepare": "npm run build","lint": "eslint .",+ "format": "prettier --ignore-path .gitignore --write .","test_setup": "node ./tests/setup.js","test": "npm run test_setup && node --test ./tests/unit/*.test.js","test:e2e": "mocha ./tests/e2e/electron-app.test.js",@@ -27,13 +28,17 @@"install_runtime": "npm run download_runtime -- --ignore-if-exists"},"devDependencies": {+ "@eslint/js": "^9.30.1","@types/node": "^22.13.4",- "@typescript-eslint/eslint-plugin": "^8.34.0",- "@typescript-eslint/parser": "^8.34.0",- "eslint": "^8.49.0",- "mocha": "^10.6.0",+ "eslint": "^9.30.1",+ "eslint-config-prettier": "^10.1.5",+ "eslint-plugin-prettier": "^5.5.1",+ "globals": "^16.3.0",+ "mocha": "^11.7.1",+ "prettier": "3.6.2","random-bigint": "^0.0.1",- "typescript": "^5.0.4"+ "typescript": "^5.0.4",+ "typescript-eslint": "^8.36.0"},"engines": {"node": ">=21.0.0"diff --git a/src/bindings/js/node/scripts/download-runtime.js b/src/bindings/js/node/scripts/download-runtime.jsindex 0fe2998953c..0b078e5bc79 100644--- a/src/bindings/js/node/scripts/download-runtime.js+++ b/src/bindings/js/node/scripts/download-runtime.js@@ -1,22 +1,21 @@-const { join } = require('node:path');+const { join } = require("node:path");-const BinaryManager = require('./lib/binary-manager');-const packageJson = require('../package.json');+const BinaryManager = require("./lib/binary-manager");+const packageJson = require("../package.json");if (require.main === module) main();async function main() {if (!BinaryManager.isCompatible()) process.exit(1);- const force = process.argv.includes('-f') || process.argv.includes('--force');- const ignoreIfExists = process.argv.includes('-i')- || process.argv.includes('--ignore-if-exists');+ const force = process.argv.includes("-f") || process.argv.includes("--force");+ const ignoreIfExists = process.argv.includes("-i") || process.argv.includes("--ignore-if-exists");const { env } = process;const proxy = env.http_proxy || env.HTTP_PROXY || env.npm_config_proxy;await BinaryManager.prepareBinary(- join(__dirname, '..'),+ join(__dirname, ".."),packageJson.binary.version || packageJson.version,packageJson.binary,{ force, ignoreIfExists, proxy },diff --git a/src/bindings/js/node/scripts/lib/binary-manager.js b/src/bindings/js/node/scripts/lib/binary-manager.jsindex bb35db9bb53..beb5998aca5 100644--- a/src/bindings/js/node/scripts/lib/binary-manager.js+++ b/src/bindings/js/node/scripts/lib/binary-manager.js@@ -1,11 +1,11 @@-const os = require('node:os');-const tar = require('tar-fs');-const path = require('node:path');-const gunzip = require('gunzip-maybe');-const fs = require('node:fs/promises');-const { createReadStream, existsSync } = require('node:fs');+const os = require("node:os");+const tar = require("tar-fs");+const path = require("node:path");+const gunzip = require("gunzip-maybe");+const fs = require("node:fs/promises");+const { createReadStream, existsSync } = require("node:fs");-const { downloadFile, checkIfPathExists, removeDirectory } = require('./utils');+const { downloadFile, checkIfPathExists, removeDirectory } = require("./utils");class BinaryManager {constructor(packageRoot, version, binaryConfig) {@@ -23,7 +23,7 @@ class BinaryManager {}getExtension() {- return 'tar.gz';+ return "tar.gz";}getArchiveUrl() {@@ -34,16 +34,16 @@ class BinaryManager {} = this.binaryConfig;const fullPathTemplate = `${remotePathTemplate}${packageNameTemplate}`;const fullPath = fullPathTemplate- .replace(new RegExp('{version}', 'g'), this.version)- .replace(new RegExp('{platform}', 'g'), this.getPlatformLabel())- .replace(new RegExp('{arch}', 'g'), this.getArchLabel())- .replace(new RegExp('{extension}', 'g'), this.getExtension());+ .replace(new RegExp("{version}", "g"), this.version)+ .replace(new RegExp("{platform}", "g"), this.getPlatformLabel())+ .replace(new RegExp("{arch}", "g"), this.getArchLabel())+ .replace(new RegExp("{extension}", "g"), this.getExtension());return new URL(fullPath, host).toString();}getDestinationPath() {- const modulePath = this.binaryConfig['module_path'];+ const modulePath = this.binaryConfig["module_path"];return path.resolve(this.packageRoot, modulePath);}@@ -76,8 +76,8 @@ class BinaryManager {if (isRuntimeDirectoryExists && !options.force) {if (options.ignoreIfExists) {console.warn(- `Directory '${destinationPath}' already exists. Skipping `- + 'runtime downloading because "ignoreIfExists" flag is passed.'+ `Directory '${destinationPath}' already exists. Skipping ` ++ 'runtime downloading because "ignoreIfExists" flag is passed.',);return;@@ -90,47 +90,46 @@ class BinaryManager {}// Install binaries from directories if possible- if (process.env.npm_package_resolved.startsWith('file:')) {- const binDir = path.join(- path.dirname(process.env.npm_package_resolved),- 'bin'- ).replace('file:', '');- if (existsSync(path.join(binDir, 'libopenvino.so')) ||- existsSync(path.join(binDir, 'openvino.dll'))) {+ if (process.env.npm_package_resolved.startsWith("file:")) {+ const binDir = path+ .join(path.dirname(process.env.npm_package_resolved), "bin")+ .replace("file:", "");+ if (+ existsSync(path.join(binDir, "libopenvino.so")) ||+ existsSync(path.join(binDir, "openvino.dll"))+ ) {try {- await fs.cp(binDir, destinationPath, {'recursive': true});+ await fs.cp(binDir, destinationPath, { recursive: true });return;- } catch(error) {+ } catch (error) {console.error(`Failed to copy bin directory: ${error}.`);}}- console.log('Do not find bin directory with openvino library.');+ console.log("Do not find bin directory with openvino library.");}const archiveUrl = binaryManager.getArchiveUrl();let tempDirectoryPath = null;try {- tempDirectoryPath = await fs.mkdtemp(- path.join(os.tmpdir(), 'temp-ov-runtime-archive-')- );+ tempDirectoryPath = await fs.mkdtemp(path.join(os.tmpdir(), "temp-ov-runtime-archive-"));const filename = path.basename(archiveUrl);- console.log('Downloading OpenVINO runtime archive...');+ console.log("Downloading OpenVINO runtime archive...");const archiveFilePath = await downloadFile(archiveUrl,tempDirectoryPath,filename,options.proxy,);- console.log('OpenVINO runtime archive downloaded.');+ console.log("OpenVINO runtime archive downloaded.");await removeDirectory(destinationPath);await this.unarchive(archiveFilePath, destinationPath);- console.log('The archive was successfully extracted.');- } catch(error) {+ console.log("The archive was successfully extracted.");+ } catch (error) {console.error(`Failed to download OpenVINO runtime: ${error}.`);throw error;} finally {@@ -154,19 +153,19 @@ class BinaryManager {const missleadings = [];const platform = os.platform();- if (!['win32', 'linux', 'darwin'].includes(platform))+ if (!["win32", "linux", "darwin"].includes(platform))missleadings.push(`Platform '${platform}' is not supported.`);const arch = os.arch();- if (!['arm64', 'armhf', 'x64'].includes(arch))+ if (!["arm64", "armhf", "x64"].includes(arch))missleadings.push(`Architecture '${arch}' is not supported.`);- if (platform === 'win32' && arch !== 'x64')+ if (platform === "win32" && arch !== "x64")missleadings.push(`Version for windows and '${arch}' is not supported.`);if (missleadings.length) {- console.error(missleadings.join(' '));+ console.error(missleadings.join(" "));return false;}@@ -186,12 +185,15 @@ class BinaryManager {return new Promise((resolve, reject) => {createReadStream(archivePath).pipe(gunzip())- .pipe(tar.extract(dest)- .on('finish', () => {- resolve();- }).on('error', (err) => {- reject(err);- }),+ .pipe(+ tar+ .extract(dest)+ .on("finish", () => {+ resolve();+ })+ .on("error", (err) => {+ reject(err);+ }),);});}diff --git a/src/bindings/js/node/scripts/lib/utils.js b/src/bindings/js/node/scripts/lib/utils.jsindex 9658ec504fa..de8f2e2ea60 100644--- a/src/bindings/js/node/scripts/lib/utils.js+++ b/src/bindings/js/node/scripts/lib/utils.js@@ -1,11 +1,11 @@-const path = require('node:path');-const https = require('node:https');-const fs = require('node:fs/promises');-const { createWriteStream } = require('node:fs');+const path = require("node:path");+const https = require("node:https");+const fs = require("node:fs/promises");+const { createWriteStream } = require("node:fs");-const { HttpsProxyAgent } = require('https-proxy-agent');+const { HttpsProxyAgent } = require("https-proxy-agent");-const codeENOENT = 'ENOENT';+const codeENOENT = "ENOENT";module.exports = {removeDirectory,@@ -43,6 +43,7 @@ async function removeDirectory(path) {async function checkIfPathExists(path) {try {await fs.access(path);+return true;} catch (error) {if (error.code === codeENOENT) {@@ -63,15 +64,13 @@ async function checkIfPathExists(path) {* @returns {Promise<string>} - Path to downloaded file.*/function downloadFile(url, destination, filename, proxy = null) {- console.log(`Downloading file by link: ${url} to ${destination}`- + `with filename: ${filename}`);+ console.log(`Downloading file by link: ${url} to ${destination}` + `with filename: ${filename}`);const timeout = 5000;const fullPath = path.resolve(destination, filename);const file = createWriteStream(fullPath);- if (new URL(url).protocol === 'http:')- throw new Error('Http link doesn\'t support');+ if (new URL(url).protocol === "http:") throw new Error("Http link doesn't support");let agent;@@ -81,7 +80,7 @@ function downloadFile(url, destination, filename, proxy = null) {}return new Promise((resolve, reject) => {- file.on('error', (error) => {+ file.on("error", (error) => {reject(`Failed to open file stream: ${error}.`);});@@ -96,14 +95,14 @@ function downloadFile(url, destination, filename, proxy = null) {res.pipe(file);- file.on('finish', () => {+ file.on("finish", () => {file.close();console.log(`File was successfully downloaded to '${fullPath}'.`);resolve(fullPath);});});- request.on('error', (error) => {+ request.on("error", (error) => {reject(`Failed to send request: ${error}.`);});diff --git a/src/bindings/js/node/tests/e2e/demo-electron-app/index.js b/src/bindings/js/node/tests/e2e/demo-electron-app/index.jsindex 58cc6b3b3cf..c9a16f6e9cb 100644--- a/src/bindings/js/node/tests/e2e/demo-electron-app/index.js+++ b/src/bindings/js/node/tests/e2e/demo-electron-app/index.js@@ -1,8 +1,8 @@-const { app } = require('electron');-const { addon: ov } = require('openvino-node');+const { app } = require("electron");+const { addon: ov } = require("openvino-node");const epsilon = 0.5; // To avoid very small numbers-const pathToModel = '../tests/unit/test_models/test_model_fp32.xml';+const pathToModel = "../tests/unit/test_models/test_model_fp32.xml";main();@@ -10,28 +10,24 @@ async function main() {await app.whenReady();try {- console.log('Creating OpenVINO Runtime Core');- // eslint-disable-next-line @typescript-eslint/no-unused-vars+ console.log("Creating OpenVINO Runtime Core");const core = new ov.Core();- console.log('Created OpenVINO Runtime Core');+ console.log("Created OpenVINO Runtime Core");const model = await core.readModel(pathToModel);- console.log('Model read successfully:', model);- const compiledModel = await core.compileModel(model, 'CPU');+ console.log("Model read successfully:", model);+ const compiledModel = await core.compileModel(model, "CPU");const inferRequest = compiledModel.createInferRequest();- console.log('Infer request created:', inferRequest);+ console.log("Infer request created:", inferRequest);- const tensorData = Float32Array.from(- { length: 3072 },- () => Math.random() + epsilon,- );+ const tensorData = Float32Array.from({ length: 3072 }, () => Math.random() + epsilon);const tensor = new ov.Tensor(ov.element.f32, [1, 3, 32, 32], tensorData);- console.log('Tensor created:', tensor);+ console.log("Tensor created:", tensor);const result = await inferRequest.inferAsync([tensor]);- console.log('Infer request result:', result);+ console.log("Infer request result:", result);} catch (error) {- console.error('Error:', error);+ console.error("Error:", error);app.exit(1);}diff --git a/src/bindings/js/node/tests/e2e/electron-app.test.js b/src/bindings/js/node/tests/e2e/electron-app.test.jsindex 9cd900d7705..d217da91111 100644--- a/src/bindings/js/node/tests/e2e/electron-app.test.js+++ b/src/bindings/js/node/tests/e2e/electron-app.test.js@@ -1,36 +1,36 @@/* global describe, it, before, after */-const fs = require('node:fs');-const util = require('node:util');-const assert = require('node:assert');-const { exec } = require('child_process');+const fs = require("node:fs");+const util = require("node:util");+const assert = require("node:assert");+const { exec } = require("child_process");const execPromise = util.promisify(exec);-const { testModels, downloadTestModel } = require('../utils.js');+const { testModels, downloadTestModel } = require("../utils.js");-describe('E2E testing for OpenVINO as an Electron dependency.', function() {+describe("E2E testing for OpenVINO as an Electron dependency.", function () {this.timeout(50000);before(async () => {await downloadTestModel(testModels.testModelFP32);- await execPromise('cp -r ./tests/e2e/demo-electron-app/ demo-electron-app-project');+ await execPromise("cp -r ./tests/e2e/demo-electron-app/ demo-electron-app-project");});- it('should install dependencies', (done) => {- exec('cd demo-electron-app-project && npm install', (error) => {+ it("should install dependencies", (done) => {+ exec("cd demo-electron-app-project && npm install", (error) => {if (error) {console.error(`exec error: ${error}`);return done(error);}const packageJson = JSON.parse(- fs.readFileSync('demo-electron-app-project/package-lock.json', 'utf8'),+ fs.readFileSync("demo-electron-app-project/package-lock.json", "utf8"),);- assert.equal(packageJson.name, 'demo-electron-app');+ assert.equal(packageJson.name, "demo-electron-app");done();});});- it('should run electron package and verify output', (done) => {- exec(`cd demo-electron-app-project && npm start`, (error, stdout) => {+ it("should run electron package and verify output", (done) => {+ exec("cd demo-electron-app-project && npm start", (error, stdout) => {if (error) {console.error(`exec error: ${error}`);@@ -38,23 +38,23 @@ describe('E2E testing for OpenVINO as an Electron dependency.', function() {}assert(- stdout.includes('Created OpenVINO Runtime Core'),- 'Check that openvino-node operates fine',+ stdout.includes("Created OpenVINO Runtime Core"),+ "Check that openvino-node operates fine",);assert(- stdout.includes('Model read successfully: ModelWrap {}'),- 'Check that model is read successfully',+ stdout.includes("Model read successfully: ModelWrap {}"),+ "Check that model is read successfully",);assert(- stdout.includes('Infer request result: { fc_out: TensorWrap {} }'),- 'Check that infer request result is successful',+ stdout.includes("Infer request result: { fc_out: TensorWrap {} }"),+ "Check that infer request result is successful",);done();});});after((done) => {- exec('rm -rf demo-electron-app-project', (error) => {+ exec("rm -rf demo-electron-app-project", (error) => {if (error) {console.error(`exec error: ${error}`);diff --git a/src/bindings/js/node/tests/setup.js b/src/bindings/js/node/tests/setup.jsindex 34c110c04e9..024a7efa7c0 100644--- a/src/bindings/js/node/tests/setup.js+++ b/src/bindings/js/node/tests/setup.js@@ -1,4 +1,4 @@-const { testModels, downloadTestModel } = require('./utils.js');+const { testModels, downloadTestModel } = require("./utils.js");if (require.main === module) {main();diff --git a/src/bindings/js/node/tests/unit/basic.test.js b/src/bindings/js/node/tests/unit/basic.test.jsindex f624393cf25..d417065b5fa 100644--- a/src/bindings/js/node/tests/unit/basic.test.js+++ b/src/bindings/js/node/tests/unit/basic.test.js@@ -2,21 +2,21 @@// Copyright (C) 2018-2025 Intel Corporation// SPDX-License-Identifier: Apache-2.0-const { addon: ov } = require('../..');-const assert = require('assert');-const fs = require('fs');-const os = require('os');-const path = require('path');-const { after, describe, it, before, beforeEach } = require('node:test');+const { addon: ov } = require("../..");+const assert = require("assert");+const fs = require("fs");+const os = require("os");+const path = require("path");+const { after, describe, it, before, beforeEach } = require("node:test");const {testModels,compareModels,isModelAvailable,sleep,generateImage,-} = require('../utils.js');+} = require("../utils.js");-describe('ov basic tests.', () => {+describe("ov basic tests.", () => {const { testModelFP32 } = testModels;let core = null;let model = null;@@ -25,14 +25,14 @@ describe('ov basic tests.', () => {let outDir = null;before(async () => {- outDir = await fs.promises.mkdtemp(path.join(os.tmpdir(), 'ov_js_out_'));+ outDir = await fs.promises.mkdtemp(path.join(os.tmpdir(), "ov_js_out_"));await isModelAvailable(testModelFP32);});beforeEach(() => {core = new ov.Core();model = core.readModelSync(testModelFP32.xml);- compiledModel = core.compileModelSync(model, 'CPU');+ compiledModel = core.compileModelSync(model, "CPU");modelLike = [model, compiledModel];});@@ -42,14 +42,14 @@ describe('ov basic tests.', () => {await fs.promises.rm(outDir, { recursive: true });});- it('Core.getAvailableDevices()', () => {+ it("Core.getAvailableDevices()", () => {const devices = core.getAvailableDevices();- assert.ok(devices.includes('CPU'));+ assert.ok(devices.includes("CPU"));});- describe('ov.saveModelSync()', () => {- it('saveModelSync(model, path, compressToFp16=true)', () => {+ describe("ov.saveModelSync()", () => {+ it("saveModelSync(model, path, compressToFp16=true)", () => {const xmlPath = path.join(outDir, `${model.getName()}_fp16.xml`);assert.doesNotThrow(() => ov.saveModelSync(model, xmlPath, true));@@ -57,7 +57,7 @@ describe('ov basic tests.', () => {assert.doesNotThrow(() => compareModels(model, savedModel));});- it('saveModelSync(model, path, compressToFp16)', () => {+ it("saveModelSync(model, path, compressToFp16)", () => {const xmlPath = path.join(outDir, `${model.getName()}_fp32.xml`);assert.doesNotThrow(() => ov.saveModelSync(model, xmlPath));@@ -65,7 +65,7 @@ describe('ov basic tests.', () => {assert.ok(savedModel instanceof ov.Model);assert.doesNotThrow(() => compareModels(model, savedModel));});- it('saveModelSync(model, path, compressToFp16=false)', () => {+ it("saveModelSync(model, path, compressToFp16=false)", () => {const xmlPath = path.join(outDir, `${model.getName()}_fp32.xml`);assert.doesNotThrow(() => ov.saveModelSync(model, xmlPath, false));@@ -73,234 +73,216 @@ describe('ov basic tests.', () => {assert.doesNotThrow(() => compareModels(model, savedModel));});- it('saveModelSync(model) throws', () => {+ it("saveModelSync(model) throws", () => {const expectedMsg = (- '\'saveModelSync\' method called with incorrect parameters.\n' +- 'Provided signature: (object) \n' +- 'Allowed signatures:\n' +- '- (Model, string)\n' +- '- (Model, string, boolean)\n'- ).replace(/[()]/g, '\\$&');+ "'saveModelSync' method called with incorrect parameters.\n" ++ "Provided signature: (object) \n" ++ "Allowed signatures:\n" ++ "- (Model, string)\n" ++ "- (Model, string, boolean)\n"+ ).replace(/[()]/g, "\\$&");- assert.throws(- () => ov.saveModelSync(model),- new RegExp(expectedMsg));+ assert.throws(() => ov.saveModelSync(model), new RegExp(expectedMsg));});- it('saveModelSync(model, path) throws with incorrect path', () => {+ it("saveModelSync(model, path) throws with incorrect path", () => {const expectedMsg = (- 'Path for xml file doesn\'t ' +- 'contains file name with \'xml\' extension'- ).replace(/[()]/g, '\\$&');+ "Path for xml file doesn't " + "contains file name with 'xml' extension"+ ).replace(/[()]/g, "\\$&");const noXmlPath = `${outDir}${model.getName()}_fp32`;- assert.throws(- () => ov.saveModelSync(model, noXmlPath),- new RegExp(expectedMsg));+ assert.throws(() => ov.saveModelSync(model, noXmlPath), new RegExp(expectedMsg));});});- describe('Core.getVersions()', () => {- it('getVersions(validDeviceName: string)', () => {- const deviceVersion = core.getVersions('CPU');- assert.strictEqual(typeof deviceVersion, 'object');- assert.strictEqual(typeof deviceVersion.CPU, 'object');- assert.strictEqual(typeof deviceVersion.CPU.buildNumber, 'string');- assert.strictEqual(typeof deviceVersion.CPU.description, 'string');+ describe("Core.getVersions()", () => {+ it("getVersions(validDeviceName: string)", () => {+ const deviceVersion = core.getVersions("CPU");+ assert.strictEqual(typeof deviceVersion, "object");+ assert.strictEqual(typeof deviceVersion.CPU, "object");+ assert.strictEqual(typeof deviceVersion.CPU.buildNumber, "string");+ assert.strictEqual(typeof deviceVersion.CPU.description, "string");});- it('getVersions() throws if no arguments are passed', () => {+ it("getVersions() throws if no arguments are passed", () => {assert.throws(() => core.getVersions(), {- message: 'getVersions() method expects 1 argument of string type.',+ message: "getVersions() method expects 1 argument of string type.",});});- it('getVersions() throws with non string coercable arg.', () => {- assert.throws(() => core.getVersions({ deviceName: 'CPU' }));+ it("getVersions() throws with non string coercable arg.", () => {+ assert.throws(() => core.getVersions({ deviceName: "CPU" }));});});- it('CompiledModel type', () => {+ it("CompiledModel type", () => {assert.ok(compiledModel instanceof ov.CompiledModel);});- it('compileModel.createInferRequest()', () => {+ it("compileModel.createInferRequest()", () => {const ir = compiledModel.createInferRequest();assert.ok(ir instanceof ov.InferRequest);});- describe('Core.compileModelSync()', () => {- const tput = { PERFORMANCE_HINT: 'THROUGHPUT' };+ describe("Core.compileModelSync()", () => {+ const tput = { PERFORMANCE_HINT: "THROUGHPUT" };- it('compileModelSync(model:Model, deviceName: string, config: {}) ', () => {- const cm = core.compileModelSync(model, 'CPU', tput);+ it("compileModelSync(model:Model, deviceName: string, config: {}) ", () => {+ const cm = core.compileModelSync(model, "CPU", tput);assert.deepStrictEqual(cm.output(0).shape, [1, 10]);});- it('compileModelSync(model_path, deviceName, config: {}) ', () => {- const cm = core.compileModelSync(testModelFP32.xml, 'CPU', tput);+ it("compileModelSync(model_path, deviceName, config: {}) ", () => {+ const cm = core.compileModelSync(testModelFP32.xml, "CPU", tput);assert.equal(cm.inputs.length, 1);});- it('compileModelSync(model:model_path, deviceName: string) ', () => {- const cm = core.compileModelSync(testModelFP32.xml, 'CPU');+ it("compileModelSync(model:model_path, deviceName: string) ", () => {+ const cm = core.compileModelSync(testModelFP32.xml, "CPU");assert.ok(cm instanceof ov.CompiledModel);assert.deepStrictEqual(cm.output(0).shape, [1, 10]);});- it('compileModelSync(model, device, configOfTypeString) throws', () => {+ it("compileModelSync(model, device, configOfTypeString) throws", () => {const expectedMsg = (- '\'compileModelSync\' method called with incorrect parameters.\n' +- 'Provided signature: (object, string, string) \n' +- 'Allowed signatures:\n' +- '- (string, string)\n' +- '- (Model, string)\n' +- '- (string, string, object)\n' +- '- (Model, string, object)\n'- ).replace(/[()]/g, '\\$&');+ "'compileModelSync' method called with incorrect parameters.\n" ++ "Provided signature: (object, string, string) \n" ++ "Allowed signatures:\n" ++ "- (string, string)\n" ++ "- (Model, string)\n" ++ "- (string, string, object)\n" ++ "- (Model, string, object)\n"+ ).replace(/[()]/g, "\\$&");- assert.throws(- () => core.compileModelSync(model, 'CPU', 'string'),- new RegExp(expectedMsg),- );+ assert.throws(() => core.compileModelSync(model, "CPU", "string"), new RegExp(expectedMsg));});- it('compileModelSync(model, device, invalidConfig) throws', () => {+ it("compileModelSync(model, device, invalidConfig) throws", () => {assert.throws(- () => core.compileModelSync(model, 'CPU', { PERFORMANCE_HINT: tput }),+ () => core.compileModelSync(model, "CPU", { PERFORMANCE_HINT: tput }),/Cannot convert to ov::Any/,);});- it('compileModelSync(model) throws with invalid number of args', () => {+ it("compileModelSync(model) throws with invalid number of args", () => {const expectedMsg = (- '\'compileModelSync\' method called with incorrect parameters.\n' +- 'Provided signature: (object) \n' +- 'Allowed signatures:\n' +- '- (string, string)\n' +- '- (Model, string)\n' +- '- (string, string, object)\n' +- '- (Model, string, object)\n'- ).replace(/[()]/g, '\\$&');+ "'compileModelSync' method called with incorrect parameters.\n" ++ "Provided signature: (object) \n" ++ "Allowed signatures:\n" ++ "- (string, string)\n" ++ "- (Model, string)\n" ++ "- (string, string, object)\n" ++ "- (Model, string, object)\n"+ ).replace(/[()]/g, "\\$&");- assert.throws(- () => core.compileModelSync(model),- new RegExp(expectedMsg),- );+ assert.throws(() => core.compileModelSync(model), new RegExp(expectedMsg));});});- describe('Core.compileModel()', () => {- const tput = { PERFORMANCE_HINT: 'THROUGHPUT' };+ describe("Core.compileModel()", () => {+ const tput = { PERFORMANCE_HINT: "THROUGHPUT" };- it('compileModel(model:Model, deviceName: string, config: {}) ', () => {- core.compileModel(model, 'CPU', tput).then((cm) => {+ it("compileModel(model:Model, deviceName: string, config: {}) ", () => {+ core.compileModel(model, "CPU", tput).then((cm) => {assert.deepStrictEqual(cm.output(0).shape, [1, 10]);});});- it('compileModel(model:Model) returns Promise<CompiledModel>', async () => {- const promise = core.compileModel(model, 'CPU');+ it("compileModel(model:Model) returns Promise<CompiledModel>", async () => {+ const promise = core.compileModel(model, "CPU");assert.ok(promise instanceof Promise);const cm = await promise;assert.ok(cm instanceof ov.CompiledModel);});- it('compileModel(model_path) returns Promise<CompiledModel>', async () => {- const promise = core.compileModel(testModelFP32.xml, 'CPU');+ it("compileModel(model_path) returns Promise<CompiledModel>", async () => {+ const promise = core.compileModel(testModelFP32.xml, "CPU");assert.ok(promise instanceof Promise);const cm = await promise;assert.ok(cm instanceof ov.CompiledModel);});- it('compileModel(model_path, deviceName, config: {}) ', () => {- core.compileModel(testModelFP32.xml, 'CPU', tput).then((cm) => {+ it("compileModel(model_path, deviceName, config: {}) ", () => {+ core.compileModel(testModelFP32.xml, "CPU", tput).then((cm) => {assert.equal(cm.inputs.length, 1);});});- it('compileModel(model:model_path, deviceName: string) ', () => {- core.compileModel(testModelFP32.xml, 'CPU').then((cm) => {+ it("compileModel(model:model_path, deviceName: string) ", () => {+ core.compileModel(testModelFP32.xml, "CPU").then((cm) => {assert.deepStrictEqual(cm.output(0).shape, [1, 10]);});});- it('compileModel(model, device, invalidconfig) throws', () => {+ it("compileModel(model, device, invalidconfig) throws", () => {assert.throws(- () => core.compileModel(model, 'CPU', 'string').then(),- 'Argument #3 must be an Object.',+ () => core.compileModel(model, "CPU", "string").then(),+ "Argument #3 must be an Object.",);});- it('compileModel(model, device, invalidConfig) throws', () => {+ it("compileModel(model, device, invalidConfig) throws", () => {assert.throws(- () =>- core.compileModel(model, 'CPU', { PERFORMANCE_HINT: tput }).then(),+ () => core.compileModel(model, "CPU", { PERFORMANCE_HINT: tput }).then(),/Cannot convert to ov::Any/,);});- it('compileModel(model) throws with invalid number of args', () => {- assert.throws(- () => core.compileModel(model).then(),- /Invalid number of arguments/,- );+ it("compileModel(model) throws with invalid number of args", () => {+ assert.throws(() => core.compileModel(model).then(), /Invalid number of arguments/);});});- describe('ov.Model/ov.CompiledModel output()', () => {- it('model.output() type', () => {+ describe("ov.Model/ov.CompiledModel output()", () => {+ it("model.output() type", () => {assert.ok(model.output() instanceof ov.Output);});- it('compiledModel.output() type', () => {+ it("compiledModel.output() type", () => {assert.ok(compiledModel.output() instanceof ov.ConstOutput);});- it('output() methods/properties', () => {+ it("output() methods/properties", () => {modelLike.forEach((obj) => {assert.strictEqual(obj.outputs.length, 1);// tests for an obj with one output- assert.strictEqual(obj.output().toString(), 'fc_out');- assert.strictEqual(obj.output(0).toString(), 'fc_out');- assert.strictEqual(obj.output('fc_out').toString(), 'fc_out');+ assert.strictEqual(obj.output().toString(), "fc_out");+ assert.strictEqual(obj.output(0).toString(), "fc_out");+ assert.strictEqual(obj.output("fc_out").toString(), "fc_out");assert.deepStrictEqual(obj.output(0).shape, [1, 10]);assert.deepStrictEqual(obj.output(0).getShape(), [1, 10]);- assert.strictEqual(obj.output().getAnyName(), 'fc_out');- assert.strictEqual(obj.output().anyName, 'fc_out');+ assert.strictEqual(obj.output().getAnyName(), "fc_out");+ assert.strictEqual(obj.output().anyName, "fc_out");});});});- describe('ov.Model/ov.CompiledModel input()', () => {- it('ov.Model.input() type', () => {+ describe("ov.Model/ov.CompiledModel input()", () => {+ it("ov.Model.input() type", () => {assert.ok(model.input() instanceof ov.Output);});- it('ov.CompiledModel.input() type', () => {+ it("ov.CompiledModel.input() type", () => {assert.ok(compiledModel.input() instanceof ov.ConstOutput);});- it('input() methods/properties', () => {+ it("input() methods/properties", () => {modelLike.forEach((obj) => {- assert.strictEqual(typeof obj.input(), 'object');+ assert.strictEqual(typeof obj.input(), "object");assert.strictEqual(obj.inputs.length, 1);- assert.strictEqual(obj.input().toString(), 'data');- assert.strictEqual(obj.input(0).toString(), 'data');- assert.strictEqual(obj.input('data').toString(), 'data');- assert.strictEqual(obj.input().getAnyName(), 'data');- assert.strictEqual(obj.input().anyName, 'data');+ assert.strictEqual(obj.input().toString(), "data");+ assert.strictEqual(obj.input(0).toString(), "data");+ assert.strictEqual(obj.input("data").toString(), "data");+ assert.strictEqual(obj.input().getAnyName(), "data");+ assert.strictEqual(obj.input().anyName, "data");assert.deepStrictEqual(obj.input(0).shape, testModelFP32.inputShape);- assert.deepStrictEqual(- obj.input(0).getShape(),- testModelFP32.inputShape,- );+ assert.deepStrictEqual(obj.input(0).getShape(), testModelFP32.inputShape);});});});- describe('Test exportModel()/importModel()', () => {+ describe("Test exportModel()/importModel()", () => {let tensor = null;let userStream = null;let res1 = null;@@ -309,115 +291,110 @@ describe('ov basic tests.', () => {tensor = generateImage(testModelFP32.inputShape);const core = new ov.Core();const model = core.readModelSync(testModelFP32.xml);- const compiledModel = core.compileModelSync(model, 'CPU');+ const compiledModel = core.compileModelSync(model, "CPU");userStream = compiledModel.exportModelSync();const inferRequest = compiledModel.createInferRequest();res1 = inferRequest.infer([tensor]);});- it('Test importModelSync(stream, device)', () => {- const newCompiled = core.importModelSync(userStream, 'CPU');+ it("Test importModelSync(stream, device)", () => {+ const newCompiled = core.importModelSync(userStream, "CPU");assert.ok(newCompiled instanceof ov.CompiledModel);const newInferRequest = newCompiled.createInferRequest();const res2 = newInferRequest.infer([tensor]);- assert.deepStrictEqual(res1['fc_out'].data[0], res2['fc_out'].data[0]);+ assert.deepStrictEqual(res1["fc_out"].data[0], res2["fc_out"].data[0]);});- it('Test importModelSync(stream, device, config)', () => {- const newCompiled = core.importModelSync(userStream, 'CPU', {+ it("Test importModelSync(stream, device, config)", () => {+ const newCompiled = core.importModelSync(userStream, "CPU", {NUM_STREAMS: 1,});const newInferRequest = newCompiled.createInferRequest();const res2 = newInferRequest.infer([tensor]);- assert.deepStrictEqual(res1['fc_out'].data[0], res2['fc_out'].data[0]);+ assert.deepStrictEqual(res1["fc_out"].data[0], res2["fc_out"].data[0]);});- it('Test importModelSync(stream, device) throws', () => {+ it("Test importModelSync(stream, device) throws", () => {assert.throws(- () => core.importModelSync(model, 'CPU'),+ () => core.importModelSync(model, "CPU"),/The first argument must be of type Buffer./,);});- it('Test importModelSync(stream, device) throws', () => {+ it("Test importModelSync(stream, device) throws", () => {assert.throws(() => core.importModelSync(userStream, tensor),/The second argument must be of type String./,);});- it('Test importModelSync(stream, device, config: tensor) throws', () => {+ it("Test importModelSync(stream, device, config: tensor) throws", () => {assert.throws(- () => core.importModelSync(userStream, 'CPU', tensor),+ () => core.importModelSync(userStream, "CPU", tensor),/NotFound: Unsupported property 0 by CPU plugin./,);});- it('Test importModelSync(stream, device, config: string) throws', () => {- const testString = 'test';+ it("Test importModelSync(stream, device, config: string) throws", () => {+ const testString = "test";assert.throws(- () => core.importModelSync(userStream, 'CPU', testString),+ () => core.importModelSync(userStream, "CPU", testString),/Passed Napi::Value must be an object./,);});- it('Test importModelSync(stream, device, config: unsupported property) \- throws', () => {- const tmpDir = '/tmp';+ it("Test importModelSync(stream, device, config: unsupported property) \+ throws", () => {+ const tmpDir = "/tmp";assert.throws(- () => core.importModelSync(userStream, 'CPU', { CACHE_DIR: tmpDir }),+ () => core.importModelSync(userStream, "CPU", { CACHE_DIR: tmpDir }),/Unsupported property CACHE_DIR by CPU plugin./,);});- it('importModel returns promise with CompiledModel', async () => {- const promise = core.importModel(userStream, 'CPU');+ it("importModel returns promise with CompiledModel", async () => {+ const promise = core.importModel(userStream, "CPU");assert.ok(promise instanceof Promise);const cm = await promise;assert.ok(cm instanceof ov.CompiledModel);});- it('Test importModel(stream, device)', () => {- core.importModel(userStream, 'CPU').then((newCompiled) => {+ it("Test importModel(stream, device)", () => {+ core.importModel(userStream, "CPU").then((newCompiled) => {const newInferRequest = newCompiled.createInferRequest();const res2 = newInferRequest.infer([tensor]);- assert.deepStrictEqual(res1['fc_out'].data[0], res2['fc_out'].data[0]);+ assert.deepStrictEqual(res1["fc_out"].data[0], res2["fc_out"].data[0]);});});- it('Test importModel(stream, device, config)', () => {- core- .importModel(userStream, 'CPU', { NUM_STREAMS: 1 })- .then((newCompiled) => {- const newInferRequest = newCompiled.createInferRequest();- const res2 = newInferRequest.infer([tensor]);+ it("Test importModel(stream, device, config)", () => {+ core.importModel(userStream, "CPU", { NUM_STREAMS: 1 }).then((newCompiled) => {+ const newInferRequest = newCompiled.createInferRequest();+ const res2 = newInferRequest.infer([tensor]);- assert.deepStrictEqual(- res1['fc_out'].data[0],- res2['fc_out'].data[0],- );- });+ assert.deepStrictEqual(res1["fc_out"].data[0], res2["fc_out"].data[0]);+ });});- it('Test importModel(stream, device) throws', () => {+ it("Test importModel(stream, device) throws", () => {assert.throws(- () => core.importModel(model, 'CPU').then(),+ () => core.importModel(model, "CPU").then(),/'importModel' method called with incorrect parameters./,);});- it('Test importModel(stream, device) throws', () => {+ it("Test importModel(stream, device) throws", () => {assert.throws(() => core.importModel(userStream, tensor).then(),/'importModel' method called with incorrect parameters./,);});- it('Test importModel(stream, device, config: string) throws', () => {- const testString = 'test';+ it("Test importModel(stream, device, config: string) throws", () => {+ const testString = "test";assert.throws(- () => core.importModel(userStream, 'CPU', testString).then(),+ () => core.importModel(userStream, "CPU", testString).then(),/'importModel' method called with incorrect parameters./,);});diff --git a/src/bindings/js/node/tests/unit/compiled_model.test.js b/src/bindings/js/node/tests/unit/compiled_model.test.jsindex 4f416363718..d0fb48fe8e6 100644--- a/src/bindings/js/node/tests/unit/compiled_model.test.js+++ b/src/bindings/js/node/tests/unit/compiled_model.test.js@@ -2,12 +2,12 @@// Copyright (C) 2018-2025 Intel Corporation// SPDX-License-Identifier: Apache-2.0-const { addon: ov } = require('../..');-const assert = require('assert');-const { describe, it, before, beforeEach } = require('node:test');-const { testModels, isModelAvailable } = require('../utils.js');+const { addon: ov } = require("../..");+const assert = require("assert");+const { describe, it, before, beforeEach } = require("node:test");+const { testModels, isModelAvailable } = require("../utils.js");-describe('ov.CompiledModel tests', () => {+describe("ov.CompiledModel tests", () => {const { testModelFP32 } = testModels;let core = null;let compiledModel = null;@@ -19,75 +19,66 @@ describe('ov.CompiledModel tests', () => {beforeEach(() => {const properties = {- AUTO_BATCH_TIMEOUT: '1',+ AUTO_BATCH_TIMEOUT: "1",};- compiledModel = core.compileModelSync(- testModelFP32.xml,- 'BATCH:CPU',- properties- );+ compiledModel = core.compileModelSync(testModelFP32.xml, "BATCH:CPU", properties);});- describe('getProperty()', () => {- it('returns the value of property from compiled model', () => {- assert.strictEqual(compiledModel.getProperty('AUTO_BATCH_TIMEOUT'), '1');+ describe("getProperty()", () => {+ it("returns the value of property from compiled model", () => {+ assert.strictEqual(compiledModel.getProperty("AUTO_BATCH_TIMEOUT"), "1");});- it('throws an error when called without arguments', () => {+ it("throws an error when called without arguments", () => {assert.throws(() => compiledModel.getProperty(),/'getProperty' method called with incorrect parameters/,);});- it('throws when called with property name that does not exists', () => {- assert.throws(() =>- compiledModel.getProperty('PROPERTY_THAT_DOES_NOT_EXIST'),- );+ it("throws when called with property name that does not exists", () => {+ assert.throws(() => compiledModel.getProperty("PROPERTY_THAT_DOES_NOT_EXIST"));});});- describe('setProperty()', () => {- it('sets a properties for compiled model', () => {- const properties = { AUTO_BATCH_TIMEOUT: '1000' };+ describe("setProperty()", () => {+ it("sets a properties for compiled model", () => {+ const properties = { AUTO_BATCH_TIMEOUT: "1000" };assert.doesNotThrow(() => compiledModel.setProperty(properties));});- it('throws an error when called without an object argument', () => {+ it("throws an error when called without an object argument", () => {assert.throws(() => compiledModel.setProperty(),/'setProperty' method called with incorrect parameters/,);});- it('throws an error when called with wrong argument', () => {+ it("throws an error when called with wrong argument", () => {assert.throws(() => compiledModel.setProperty(123),/'setProperty' method called with incorrect parameters/,);});- it('throws an error when called with multiple arguments', () => {+ it("throws an error when called with multiple arguments", () => {assert.throws(() =>- compiledModel.setProperty(- { PERFORMANCE_HINT: 'THROUGHPUT' },- { NUM_STREAMS: 'AUTO' },- ),+ compiledModel.setProperty({ PERFORMANCE_HINT: "THROUGHPUT" }, { NUM_STREAMS: "AUTO" }),/'setProperty' method called with incorrect parameters/,);});- it('returns the set property of the compiled model', () => {- const properties = { AUTO_BATCH_TIMEOUT: '123' };+ it("returns the set property of the compiled model", () => {+ const properties = { AUTO_BATCH_TIMEOUT: "123" };compiledModel.setProperty(properties);- assert.strictEqual(compiledModel.getProperty('AUTO_BATCH_TIMEOUT'), 123);+ assert.strictEqual(compiledModel.getProperty("AUTO_BATCH_TIMEOUT"), 123);});- it('retains the last set property when set multiple times', () => {- compiledModel.setProperty({ AUTO_BATCH_TIMEOUT: '321' });- compiledModel.setProperty({ AUTO_BATCH_TIMEOUT: '132' });- assert.strictEqual(compiledModel.getProperty('AUTO_BATCH_TIMEOUT'), 132);+ it("retains the last set property when set multiple times", () => {+ compiledModel.setProperty({ AUTO_BATCH_TIMEOUT: "321" });+ compiledModel.setProperty({ AUTO_BATCH_TIMEOUT: "132" });+ assert.strictEqual(compiledModel.getProperty("AUTO_BATCH_TIMEOUT"), 132);});- it('allows to pass empty object', () => {+ it("allows to pass empty object", () => {assert.doesNotThrow(() => compiledModel.setProperty({}));});});diff --git a/src/bindings/js/node/tests/unit/core.test.js b/src/bindings/js/node/tests/unit/core.test.jsindex 02fa13c90f1..203a6bd5064 100644--- a/src/bindings/js/node/tests/unit/core.test.js+++ b/src/bindings/js/node/tests/unit/core.test.js@@ -2,12 +2,12 @@// Copyright (C) 2018-2023 Intel Corporation// SPDX-License-Identifier: Apache-2.0-const { addon: ov } = require('../..');-const assert = require('assert');-const { describe, it, before, beforeEach } = require('node:test');-const { testModels, isModelAvailable } = require('../utils.js');+const { addon: ov } = require("../..");+const assert = require("assert");+const { describe, it, before, beforeEach } = require("node:test");+const { testModels, isModelAvailable } = require("../utils.js");-describe('ov.Core tests', () => {+describe("ov.Core tests", () => {const { testModelFP32 } = testModels;let core = null;before(async () => {@@ -18,94 +18,88 @@ describe('ov.Core tests', () => {core = new ov.Core();});- it('Core.setProperty()', () => {- const tmpDir = '/tmp';+ it("Core.setProperty()", () => {+ const tmpDir = "/tmp";core.setProperty({ CACHE_DIR: tmpDir });- const cacheDir = core.getProperty('CACHE_DIR');+ const cacheDir = core.getProperty("CACHE_DIR");assert.equal(cacheDir, tmpDir);});- it('Core.setProperty(\'CPU\')', () => {- const tmpDir = '/tmp';+ it('Core.setProperty("CPU")', () => {+ const tmpDir = "/tmp";- core.setProperty('CPU', { CACHE_DIR: tmpDir });+ core.setProperty("CPU", { CACHE_DIR: tmpDir });- const cacheDir = core.getProperty('CPU', 'CACHE_DIR');+ const cacheDir = core.getProperty("CPU", "CACHE_DIR");assert.equal(cacheDir, tmpDir);});- it('Core.getProperty(\'CPU\', \'SUPPORTED_PROPERTIES\') is Array', () => {- const supportedPropertiesArray = core.getProperty(- 'CPU',- 'SUPPORTED_PROPERTIES',- );+ it('Core.getProperty("CPU", "SUPPORTED_PROPERTIES") is Array', () => {+ const supportedPropertiesArray = core.getProperty("CPU", "SUPPORTED_PROPERTIES");assert.ok(Array.isArray(supportedPropertiesArray));});- it('Core.setProperty(\'CPU\', { \'NUM_STREAMS\': 5 })', () => {+ it('Core.setProperty("CPU", { "NUM_STREAMS": 5 })', () => {const streams = 5;- core.setProperty('CPU', { NUM_STREAMS: streams });- const result = core.getProperty('CPU', 'NUM_STREAMS');+ core.setProperty("CPU", { NUM_STREAMS: streams });+ const result = core.getProperty("CPU", "NUM_STREAMS");assert.equal(result, streams);});- it('Core.setProperty(\'CPU\', { \'INFERENCE_NUM_THREADS\': 3 })', () => {+ it('Core.setProperty("CPU", { "INFERENCE_NUM_THREADS": 3 })', () => {const threads = 3;- core.setProperty('CPU', { INFERENCE_NUM_THREADS: threads });- const result = core.getProperty('CPU', 'INFERENCE_NUM_THREADS');+ core.setProperty("CPU", { INFERENCE_NUM_THREADS: threads });+ const result = core.getProperty("CPU", "INFERENCE_NUM_THREADS");assert.equal(result, threads);});- it('Core.addExtension() with empty parameters', () => {+ it("Core.addExtension() with empty parameters", () => {assert.throws(() => core.addExtension(),/addExtension method applies one argument of string type/,);});- it('Core.addExtension(\'not_exists\') with non-existed library', () => {- const notExistsExt = 'not_exists';+ it('Core.addExtension("not_exists") with non-existed library', () => {+ const notExistsExt = "not_exists";- assert.throws(- () => core.addExtension(notExistsExt),- /Cannot load library 'not_exists'/,- );+ assert.throws(() => core.addExtension(notExistsExt), /Cannot load library 'not_exists'/);});- it('Core.queryModel() with empty parameters should throw an error', () => {+ it("Core.queryModel() with empty parameters should throw an error", () => {assert.throws(() => core.queryModel().then(),/'queryModel' method called with incorrect parameters./,);});- it('Core.queryModel() with less arguments should throw an error', () => {+ it("Core.queryModel() with less arguments should throw an error", () => {assert.throws(- () => core.queryModel('Unexpected Argument').then(),+ () => core.queryModel("Unexpected Argument").then(),/'queryModel' method called with incorrect parameters./,);});- it('Core.queryModel() with incorrect arguments should throw an error', () => {+ it("Core.queryModel() with incorrect arguments should throw an error", () => {const model = core.readModelSync(testModelFP32.xml);assert.throws(- () => core.queryModel(model, 'arg1', 'arg2').then(),+ () => core.queryModel(model, "arg1", "arg2").then(),/'queryModel' method called with incorrect parameters./,);});- it('Core.queryModel() should have device in the result values', () => {+ it("Core.queryModel() should have device in the result values", () => {const model = core.readModelSync(testModelFP32.xml);- const device = 'CPU';+ const device = "CPU";const queryModel = core.queryModel(model, device);assert(Object.values(queryModel).includes(device));});diff --git a/src/bindings/js/node/tests/unit/infer_request.test.js b/src/bindings/js/node/tests/unit/infer_request.test.jsindex 61a809b8792..c63896b8661 100644--- a/src/bindings/js/node/tests/unit/infer_request.test.js+++ b/src/bindings/js/node/tests/unit/infer_request.test.js@@ -2,18 +2,13 @@// Copyright (C) 2018-2025 Intel Corporation// SPDX-License-Identifier: Apache-2.0-const fs = require('node:fs/promises');-const { addon: ov } = require('../..');-const assert = require('assert');-const { describe, it, before, beforeEach } = require('node:test');-const {- testModels,- isModelAvailable,- lengthFromShape,- generateImage,-} = require('../utils.js');--describe('ov.InferRequest tests', () => {+const fs = require("node:fs/promises");+const { addon: ov } = require("../..");+const assert = require("assert");+const { describe, it, before, beforeEach } = require("node:test");+const { testModels, isModelAvailable, lengthFromShape, generateImage } = require("../utils.js");++describe("ov.InferRequest tests", () => {const { testModelFP32 } = testModels;let compiledModel = null;let tensorData = null;@@ -26,68 +21,54 @@ describe('ov.InferRequest tests', () => {const core = new ov.Core();const model = core.readModelSync(testModelFP32.xml);- compiledModel = core.compileModelSync(model, 'CPU');+ compiledModel = core.compileModelSync(model, "CPU");tensorData = generateImage(testModelFP32.inputShape);- tensor = new ov.Tensor(- ov.element.f32,- testModelFP32.inputShape,- tensorData,- );- resTensor = new ov.Tensor(- ov.element.f32,- testModelFP32.outputShape,- tensorData.slice(-10),- );+ tensor = new ov.Tensor(ov.element.f32, testModelFP32.inputShape, tensorData);+ resTensor = new ov.Tensor(ov.element.f32, testModelFP32.outputShape, tensorData.slice(-10));tensorLike = [tensor, tensorData];});- describe('infer() method', () => {+ describe("infer() method", () => {let inferRequest = null;beforeEach(() => {inferRequest = compiledModel.createInferRequest();});- it('infer(inputData: {inputName: string]: Tensor[]/TypedArray[]}', () => {+ it("infer(inputData: {inputName: string]: Tensor[]/TypedArray[]}", () => {tensorLike.forEach((tl) => {const result = inferRequest.infer({ data: tl });- assert.deepStrictEqual(Object.keys(result), ['fc_out']);+ assert.deepStrictEqual(Object.keys(result), ["fc_out"]);assert.deepStrictEqual(- result['fc_out'].data.length,- lengthFromShape(testModelFP32.outputShape)+ result["fc_out"].data.length,+ lengthFromShape(testModelFP32.outputShape),);});});- it('Test infer(inputData: Tensor[]/TypedArray[])', () => {+ it("Test infer(inputData: Tensor[]/TypedArray[])", () => {tensorLike.forEach((tl) => {const result = inferRequest.infer([tl]);- assert.deepStrictEqual(Object.keys(result), ['fc_out']);+ assert.deepStrictEqual(Object.keys(result), ["fc_out"]);assert.deepStrictEqual(- result['fc_out'].data.length,+ result["fc_out"].data.length,lengthFromShape(testModelFP32.outputShape),);});});- it('Test infer(TypedArray) throws', () => {+ it("Test infer(TypedArray) throws", () => {assert.throws(() => inferRequest.infer(tensorData), {message: /TypedArray cannot be passed directly into infer\(\) method./,});});- it('Test for invalid input data', () => {+ it("Test for invalid input data", () => {const buffer = new ArrayBuffer(tensorData.length);const inputMessagePairs = [- ['string', 'Cannot create a tensor from the passed Napi::Value.'],- [- tensorData.slice(-10),- /Memory allocated using shape and element::type mismatch/,- ],- [- new Float32Array(buffer, 4),- 'TypedArray.byteOffset has to be equal to zero.',- ],+ ["string", "Cannot create a tensor from the passed Napi::Value."],+ [tensorData.slice(-10), /Memory allocated using shape and element::type mismatch/],+ [new Float32Array(buffer, 4), "TypedArray.byteOffset has to be equal to zero."],[{}, /Invalid argument/], // Test for object that is not Tensor];@@ -95,181 +76,181 @@ describe('ov.InferRequest tests', () => {assert.throws(() => inferRequest.infer([tl]),{ message: new RegExp(msg) },- 'infer([data]) throws',+ "infer([data]) throws",);assert.throws(() => inferRequest.infer({ data: tl }),{ message: new RegExp(msg) },- 'infer({ data: tl}) throws',+ "infer({ data: tl}) throws",);});});});- describe('inferAsync() method', () => {+ describe("inferAsync() method", () => {let inferRequest = null;before(() => {inferRequest = compiledModel.createInferRequest();});- it('Test inferAsync(inputData: { [inputName: string]: Tensor })', () => {+ it("Test inferAsync(inputData: { [inputName: string]: Tensor })", () => {inferRequest.inferAsync({ data: tensor }).then((result) => {- assert.ok(result['fc_out'] instanceof ov.Tensor);- assert.deepStrictEqual(Object.keys(result), ['fc_out']);+ assert.ok(result["fc_out"] instanceof ov.Tensor);+ assert.deepStrictEqual(Object.keys(result), ["fc_out"]);assert.deepStrictEqual(- result['fc_out'].data.length,+ result["fc_out"].data.length,lengthFromShape(testModelFP32.outputShape),);});});- it('Test inferAsync(inputData: Tensor[])', () => {+ it("Test inferAsync(inputData: Tensor[])", () => {inferRequest.inferAsync([tensor]).then((result) => {- assert.ok(result['fc_out'] instanceof ov.Tensor);- assert.deepStrictEqual(Object.keys(result), ['fc_out']);+ assert.ok(result["fc_out"] instanceof ov.Tensor);+ assert.deepStrictEqual(Object.keys(result), ["fc_out"]);assert.deepStrictEqual(- result['fc_out'].data.length,+ result["fc_out"].data.length,lengthFromShape(testModelFP32.outputShape),);});});- it('Test inferAsync([data]) throws', () => {+ it("Test inferAsync([data]) throws", () => {assert.throws(- () => inferRequest.inferAsync(['string']).then(),+ () => inferRequest.inferAsync(["string"]).then(),/Cannot create a tensor from the passed Napi::Value./,);});it('Test inferAsync({ data: "string"}) throws', () => {assert.throws(- () => inferRequest.inferAsync({ data: 'string' }).then(),+ () => inferRequest.inferAsync({ data: "string" }).then(),/Cannot create a tensor from the passed Napi::Value./,);});});- describe('setters', () => {+ describe("setters", () => {let inferRequest = null;beforeEach(() => {inferRequest = compiledModel.createInferRequest();});- it('setInputTensor(tensor)', () => {+ it("setInputTensor(tensor)", () => {inferRequest.setInputTensor(tensor);const t1 = inferRequest.getInputTensor();assert.deepStrictEqual(tensor.data[0], t1.data[0]);});- it('setInputTensor(object) throws if object is not a Tensor.', () => {+ it("setInputTensor(object) throws if object is not a Tensor.", () => {assert.throws(() => inferRequest.setInputTensor({}), {message: /Argument #[0-9]+ must be a Tensor./,});});- it('setInputTensor(idx, tensor)', () => {+ it("setInputTensor(idx, tensor)", () => {inferRequest.setInputTensor(0, tensor);const t1 = inferRequest.getInputTensor();assert.deepStrictEqual(tensor.data[0], t1.data[0]);});- it('setInputTensor(idx, tensor) throws', () => {+ it("setInputTensor(idx, tensor) throws", () => {const testIdx = 10;assert.throws(() => inferRequest.setInputTensor(testIdx, tensor), {message: /Input port for index [0-9]+ was not found!/,});});- it('setInputTensor(idx, object) throws if object is not a Tensor.', () => {+ it("setInputTensor(idx, object) throws if object is not a Tensor.", () => {assert.throws(() => inferRequest.setInputTensor(0, {}), {message: /Argument #[0-9]+ must be a Tensor./,});});- it('setInputTensor(tensor, tensor) throws', () => {+ it("setInputTensor(tensor, tensor) throws", () => {assert.throws(() => inferRequest.setInputTensor(resTensor, tensor), {message: / invalid argument./,});});- it('setOutputTensor(tensor)', () => {+ it("setOutputTensor(tensor)", () => {inferRequest.setOutputTensor(resTensor);const res2 = inferRequest.getOutputTensor();assert.deepStrictEqual(resTensor.data[0], res2.data[0]);});- it('setOutputTensor(object) throws if object is not a Tensor.', () => {+ it("setOutputTensor(object) throws if object is not a Tensor.", () => {assert.throws(() => inferRequest.setOutputTensor({}), {message: /Argument #[0-9]+ must be a Tensor./,});});- it('setOutputTensor(idx, tensor) throws', () => {+ it("setOutputTensor(idx, tensor) throws", () => {const testIdx = 10;assert.throws(() => inferRequest.setOutputTensor(testIdx, tensor), {message: /Output port for index [0-9]+ was not found!/,});});- it('setOutputTensor(idx, tensor)', () => {+ it("setOutputTensor(idx, tensor)", () => {inferRequest.setOutputTensor(0, resTensor);const res2 = inferRequest.getOutputTensor();assert.deepStrictEqual(resTensor.data[0], res2.data[0]);});- it('setOutputTensor(idx, object) throws if object is not a Tensor.', () => {+ it("setOutputTensor(idx, object) throws if object is not a Tensor.", () => {assert.throws(() => inferRequest.setOutputTensor(0, {}), {message: /Argument #[0-9]+ must be a Tensor./,});});- it('setOutputTensor() - pass two tensors', () => {+ it("setOutputTensor() - pass two tensors", () => {assert.throws(() => inferRequest.setOutputTensor(resTensor, tensor), {message: / invalid argument./,});});- it('setTensor(string, tensor)', () => {- inferRequest.setTensor('fc_out', resTensor);- const res2 = inferRequest.getTensor('fc_out');+ it("setTensor(string, tensor)", () => {+ inferRequest.setTensor("fc_out", resTensor);+ const res2 = inferRequest.getTensor("fc_out");assert.ok(res2 instanceof ov.Tensor);assert.deepStrictEqual(resTensor.data[0], res2.data[0]);});- it('setTensor(string, object) - throws', () => {- const testName = 'testName';+ it("setTensor(string, object) - throws", () => {+ const testName = "testName";assert.throws(() => inferRequest.setTensor(testName, tensor), {message: /Port for tensor name testName was not found./,});});- it('setTensor(string, object) - throws', () => {- assert.throws(() => inferRequest.setTensor('fc_out', {}), {+ it("setTensor(string, object) - throws", () => {+ assert.throws(() => inferRequest.setTensor("fc_out", {}), {message: /Argument #[0-9]+ must be a Tensor./,});});- it('setTensor(string, tensor) - pass one arg', () => {- assert.throws(() => inferRequest.setTensor('fc_out'), {+ it("setTensor(string, tensor) - pass one arg", () => {+ assert.throws(() => inferRequest.setTensor("fc_out"), {message: / invalid argument./,});});- it('setTensor(string, tensor) - pass args in wrong order', () => {- assert.throws(() => inferRequest.setTensor(resTensor, 'fc_out'), {+ it("setTensor(string, tensor) - pass args in wrong order", () => {+ assert.throws(() => inferRequest.setTensor(resTensor, "fc_out"), {message: / invalid argument./,});});- it('setTensor(string, tensor) - pass number as first arg', () => {- assert.throws(() => inferRequest.setTensor(123, 'fc_out'), {+ it("setTensor(string, tensor) - pass number as first arg", () => {+ assert.throws(() => inferRequest.setTensor(123, "fc_out"), {message: / invalid argument/,});});});- describe('getters', () => {+ describe("getters", () => {let inferRequest = null;beforeEach(() => {inferRequest = compiledModel.createInferRequest();@@ -277,32 +258,32 @@ describe('ov.InferRequest tests', () => {inferRequest.infer();});- it('Test getTensor(tensorName)', () => {- const t1 = inferRequest.getTensor('data');+ it("Test getTensor(tensorName)", () => {+ const t1 = inferRequest.getTensor("data");assert.ok(t1 instanceof ov.Tensor);assert.deepStrictEqual(tensor.data[0], t1.data[0]);});- it('Test getTensor(Output)', () => {+ it("Test getTensor(Output)", () => {const input = inferRequest.getCompiledModel().input();const t1 = inferRequest.getTensor(input);assert.ok(t1 instanceof ov.Tensor);assert.deepStrictEqual(tensor.data[0], t1.data[0]);});- it('Test getInputTensor()', () => {+ it("Test getInputTensor()", () => {const t1 = inferRequest.getInputTensor();assert.ok(t1 instanceof ov.Tensor);assert.deepStrictEqual(tensor.data[0], t1.data[0]);});- it('Test getInputTensor(idx)', () => {+ it("Test getInputTensor(idx)", () => {const t1 = inferRequest.getInputTensor(0);assert.ok(t1 instanceof ov.Tensor);assert.deepStrictEqual(tensor.data[0], t1.data[0]);});- it('Test getOutputTensor(idx?)', () => {+ it("Test getOutputTensor(idx?)", () => {const res1 = inferRequest.getOutputTensor();const res2 = inferRequest.getOutputTensor(0);assert.ok(res1 instanceof ov.Tensor);@@ -310,19 +291,19 @@ describe('ov.InferRequest tests', () => {assert.deepStrictEqual(res1.data[0], res2.data[0]);});- it('Test getCompiledModel()', () => {+ it("Test getCompiledModel()", () => {const ir = compiledModel.createInferRequest();const cm = ir.getCompiledModel();assert.ok(cm instanceof ov.CompiledModel);const ir2 = cm.createInferRequest();const res2 = ir2.infer([tensorData]);const res1 = ir.infer([tensorData]);- assert.deepStrictEqual(res1['fc_out'].data[0], res2['fc_out'].data[0]);+ assert.deepStrictEqual(res1["fc_out"].data[0], res2["fc_out"].data[0]);});});});-describe('ov.InferRequest tests with missing outputs names', () => {+describe("ov.InferRequest tests with missing outputs names", () => {const { modelV3Small } = testModels;let compiledModel = null;let tensorData = null;@@ -334,27 +315,24 @@ describe('ov.InferRequest tests with missing outputs names', () => {const core = new ov.Core();- let modelData = await fs.readFile(modelV3Small.xml, 'utf8');+ let modelData = await fs.readFile(modelV3Small.xml, "utf8");const weights = await fs.readFile(modelV3Small.bin);- modelData = modelData.replace(- 'names="MobilenetV3/Predictions/Softmax:0"',- ''- );- const model = await core.readModel(Buffer.from(modelData, 'utf8'), weights);+ modelData = modelData.replace('names="MobilenetV3/Predictions/Softmax:0"', "");+ const model = await core.readModel(Buffer.from(modelData, "utf8"), weights);- compiledModel = await core.compileModel(model, 'CPU');+ compiledModel = await core.compileModel(model, "CPU");inferRequest = compiledModel.createInferRequest();tensorData = generateImage(modelV3Small.inputShape);tensor = new ov.Tensor(ov.element.f32, modelV3Small.inputShape, tensorData);});- it('Test infer(inputData: Tensor[])', () => {+ it("Test infer(inputData: Tensor[])", () => {const result = inferRequest.infer([tensor]);assert.deepStrictEqual(Object.keys(result).length, 1);});- it('Test inferAsync(inputData: Tensor[])', () => {+ it("Test inferAsync(inputData: Tensor[])", () => {inferRequest.inferAsync([tensor]).then((result) => {assert.deepStrictEqual(Object.keys(result).length, 1);});diff --git a/src/bindings/js/node/tests/unit/model.test.js b/src/bindings/js/node/tests/unit/model.test.jsindex 8d66b1ea32d..94f8360c859 100644--- a/src/bindings/js/node/tests/unit/model.test.js+++ b/src/bindings/js/node/tests/unit/model.test.js@@ -2,12 +2,12 @@// Copyright (C) 2018-2025 Intel Corporation// SPDX-License-Identifier: Apache-2.0-const { addon: ov } = require('../..');-const assert = require('assert');-const { describe, it, before, beforeEach } = require('node:test');-const { testModels, isModelAvailable } = require('../utils.js');+const { addon: ov } = require("../..");+const assert = require("assert");+const { describe, it, before, beforeEach } = require("node:test");+const { testModels, isModelAvailable } = require("../utils.js");-describe('ov.Model tests', () => {+describe("ov.Model tests", () => {const { testModelFP32, addModel, addModelWithVar } = testModels;let core = null;let model = null;@@ -21,50 +21,46 @@ describe('ov.Model tests', () => {model = core.readModelSync(testModelFP32.xml);});- describe('Model.isDynamic()', () => {- it('should return a boolean value type', () => {+ describe("Model.isDynamic()", () => {+ it("should return a boolean value type", () => {const result = model.isDynamic();- assert.strictEqual(- typeof result,- 'boolean',- 'isDynamic() should return a boolean value',- );+ assert.strictEqual(typeof result, "boolean", "isDynamic() should return a boolean value");});- it('should not accept any arguments', () => {+ it("should not accept any arguments", () => {assert.throws(() => {- model.isDynamic('unexpected argument');+ model.isDynamic("unexpected argument");},/^Error: isDynamic\(\) does not accept any arguments\.$/,- 'Expected isDynamic to throw an error when called with arguments',+ "Expected isDynamic to throw an error when called with arguments",);});- it('returns false for a static model', () => {+ it("returns false for a static model", () => {const expectedStatus = false;assert.strictEqual(model.isDynamic(),expectedStatus,- 'Expected isDynamic to return false for a static model',+ "Expected isDynamic to return false for a static model",);});});- describe('Model.getFriendlyName()', () => {- it('returns model\'s unique name if no friendly name is set', () => {- const expectedName = 'test_model';+ describe("Model.getFriendlyName()", () => {+ it("returns model unique name if no friendly name is set", () => {+ const expectedName = "test_model";assert.strictEqual(model.getFriendlyName(), expectedName);});- it('throws an error when called with arguments', () => {+ it("throws an error when called with arguments", () => {assert.throws(- () => model.getFriendlyName('unexpected argument'),+ () => model.getFriendlyName("unexpected argument"),/getFriendlyName\(\) does not take any arguments/,);});});- describe('Model.setFriendlyName()', () => {- it('throws an error when called without a string argument', () => {+ describe("Model.setFriendlyName()", () => {+ it("throws an error when called without a string argument", () => {assert.throws(() => model.setFriendlyName(),/Expected a single string argument for the friendly name/,@@ -75,69 +71,69 @@ describe('ov.Model tests', () => {);});- it('throws an error when called with multiple arguments', () => {+ it("throws an error when called with multiple arguments", () => {assert.throws(- () => model.setFriendlyName('Name1', 'Name2'),+ () => model.setFriendlyName("Name1", "Name2"),/Expected a single string argument for the friendly name/,);});- it('returns the set friendly name of the model', () => {- const friendlyName = 'MyFriendlyModel';+ it("returns the set friendly name of the model", () => {+ const friendlyName = "MyFriendlyModel";model.setFriendlyName(friendlyName);assert.strictEqual(model.getFriendlyName(), friendlyName);});- it('retains the last set friendly name when set multiple times', () => {- model.setFriendlyName('InitialName');- model.setFriendlyName('FinalName');- assert.strictEqual(model.getFriendlyName(), 'FinalName');+ it("retains the last set friendly name when set multiple times", () => {+ model.setFriendlyName("InitialName");+ model.setFriendlyName("FinalName");+ assert.strictEqual(model.getFriendlyName(), "FinalName");});- it('handles setting an empty string as a friendly name', () => {- assert.doesNotThrow(() => model.setFriendlyName(''));+ it("handles setting an empty string as a friendly name", () => {+ assert.doesNotThrow(() => model.setFriendlyName(""));assert.strictEqual(model.getFriendlyName(), model.getName());});});- describe('Model.getOutputSize()', () => {- it('getOutputSize() should return a number', () => {+ describe("Model.getOutputSize()", () => {+ it("getOutputSize() should return a number", () => {const result = model.getOutputSize();- assert.strictEqual(typeof result, 'number');+ assert.strictEqual(typeof result, "number");});- it('should not accept any arguments', () => {+ it("should not accept any arguments", () => {assert.throws(() => {- model.getOutputSize('unexpected argument');+ model.getOutputSize("unexpected argument");}, /^Error: getOutputSize\(\) does not accept any arguments\.$/);});- it('should return 1 for the default model', () => {+ it("should return 1 for the default model", () => {assert.strictEqual(model.getOutputSize(), 1);});});- describe('Model.getOutputElementType()', () => {- it('should return a string', () => {+ describe("Model.getOutputElementType()", () => {+ it("should return a string", () => {const result = model.getOutputElementType(0);- assert.strictEqual(typeof result, 'string');+ assert.strictEqual(typeof result, "string");});- it('should accept a single integer argument', () => {+ it("should accept a single integer argument", () => {assert.throws(() => {model.getOutputElementType();},/'getOutputElementType' method called with incorrect parameters/,- 'Should throw when called without arguments',+ "Should throw when called without arguments",);assert.throws(() => {- model.getOutputElementType('unexpected argument');+ model.getOutputElementType("unexpected argument");},/'getOutputElementType' method called with incorrect parameters/,- 'Should throw on non-number argument',+ "Should throw on non-number argument",);assert.throws(@@ -145,7 +141,7 @@ describe('ov.Model tests', () => {model.getOutputElementType(0, 1);},/'getOutputElementType' method called with incorrect parameters/,- 'Should throw on multiple arguments',+ "Should throw on multiple arguments",);assert.throws(@@ -153,19 +149,19 @@ describe('ov.Model tests', () => {model.getOutputElementType(3.14);},/'getOutputElementType' method called with incorrect parameters/,- 'Should throw on non-integer number',+ "Should throw on non-integer number",);});- it('should return a valid element type for the default model', () => {+ it("should return a valid element type for the default model", () => {const elementType = model.getOutputElementType(0);assert.ok(- typeof elementType === 'string' && elementType.length > 0,+ typeof elementType === "string" && elementType.length > 0,`Expected a non-empty string, got ${elementType}`,);});- it('should throw an error for out-of-range index', () => {+ it("should throw an error for out-of-range index", () => {const outputSize = model.getOutputSize();assert.throws(() => {model.getOutputElementType(outputSize);@@ -173,119 +169,114 @@ describe('ov.Model tests', () => {});});- describe('Model.clone()', () => {- it('should return an object of type model', () => {+ describe("Model.clone()", () => {+ it("should return an object of type model", () => {const clonedModel = model.clone();assert.ok(clonedModel instanceof ov.Model);});- it('should return a model that is a clone of the calling model', () => {+ it("should return a model that is a clone of the calling model", () => {const clonedModel = model.clone();assert.deepStrictEqual(clonedModel, model);});- it('should not accept any arguments', () => {+ it("should not accept any arguments", () => {assert.throws(- () => model.clone('Unexpected argument').then(),+ () => model.clone("Unexpected argument").then(),/'clone' method called with incorrect parameters./,);});});- describe('Model.reshape()', () => {- const pShape = '[?,?,1..3,224]';- const pShape14 = new ov.PartialShape('1, 4');- const varId = 'ID1';+ describe("Model.reshape()", () => {+ const pShape = "[?,?,1..3,224]";+ const pShape14 = new ov.PartialShape("1, 4");+ const varId = "ID1";- it('test reshape with PartialShape obj', () => {+ it("test reshape with PartialShape obj", () => {const partialShape = new ov.PartialShape(pShape);const reshapedModel = model.reshape(partialShape);- assert.ok( reshapedModel instanceof ov.Model );+ assert.ok(reshapedModel instanceof ov.Model);const newShape = reshapedModel.input().getPartialShape();- assert.ok( newShape instanceof ov.PartialShape );- assert.deepStrictEqual( newShape.toString(), pShape );-+ assert.ok(newShape instanceof ov.PartialShape);+ assert.deepStrictEqual(newShape.toString(), pShape);});- it('test reshape with PartialShape string', () => {+ it("test reshape with PartialShape string", () => {const reshapedModel = model.reshape(pShape);assert.ok(reshapedModel instanceof ov.Model);const newShape = reshapedModel.input().getPartialShape();- assert.deepStrictEqual( newShape.toString(), pShape);+ assert.deepStrictEqual(newShape.toString(), pShape);});- it('should not accept empty arguments', () => {- assert.throws(- () => model.reshape(),- /'reshape' method called with incorrect parameters./,- );+ it("should not accept empty arguments", () => {+ assert.throws(() => model.reshape(), /'reshape' method called with incorrect parameters./);});- it('test reshape with ports', () => {+ it("test reshape with ports", () => {const model = core.readModelSync(addModel.xml);- const inputShapePairs = model.inputs.map(input => [input, pShape14]);+ const inputShapePairs = model.inputs.map((input) => [input, pShape14]);model.reshape(new Map(inputShapePairs));for (const modelInput of model.inputs) {- assert.deepStrictEqual(- modelInput.getPartialShape().toString(), pShape14.toString());+ assert.deepStrictEqual(modelInput.getPartialShape().toString(), pShape14.toString());}});- it('test reshape with indexes', () => {+ it("test reshape with indexes", () => {const model = core.readModelSync(addModel.xml);- model.reshape(new Map([- [0, pShape14],- [1, pShape14],- ]));+ model.reshape(+ new Map([+ [0, pShape14],+ [1, pShape14],+ ]),+ );for (const modelInput of model.inputs) {- assert.deepStrictEqual(- modelInput.getPartialShape().toString(), pShape14.toString());+ assert.deepStrictEqual(modelInput.getPartialShape().toString(), pShape14.toString());}});- it('test reshape with names', () => {+ it("test reshape with names", () => {const model = core.readModelSync(addModel.xml);- const shapesArr = model.inputs.map(input => [input.anyName, pShape14]);+ const shapesArr = model.inputs.map((input) => [input.anyName, pShape14]);model.reshape(new Map(shapesArr));for (const modelInput of model.inputs) {- assert.deepStrictEqual(- modelInput.getPartialShape().toString(), pShape14.toString());- }});+ assert.deepStrictEqual(modelInput.getPartialShape().toString(), pShape14.toString());+ }+ });- it('test reshape with ports and variable', () => {+ it("test reshape with ports and variable", () => {const model = core.readModelSync(addModelWithVar.xml);- const newShape = new ov.PartialShape('46, 1');- const shapesArr = model.inputs.map(input => [input, newShape]);+ const newShape = new ov.PartialShape("46, 1");+ const shapesArr = model.inputs.map((input) => [input, newShape]);model.reshape(new Map(shapesArr), { [varId]: newShape });for (const modelInput of model.inputs) {- assert.deepStrictEqual(- modelInput.getPartialShape().toString(), newShape.toString());+ assert.deepStrictEqual(modelInput.getPartialShape().toString(), newShape.toString());}});- it('test reshape with indexes and variable', () => {+ it("test reshape with indexes and variable", () => {const model = core.readModelSync(addModelWithVar.xml);- const pShape14 = new ov.PartialShape('1, 4');- model.reshape(new Map([- [0, pShape14],- [1, pShape14],- ]), { [varId]: pShape14 });+ const pShape14 = new ov.PartialShape("1, 4");+ model.reshape(+ new Map([+ [0, pShape14],+ [1, pShape14],+ ]),+ { [varId]: pShape14 },+ );for (const modelInput of model.inputs) {- assert.deepStrictEqual(- modelInput.getPartialShape().toString(), pShape14.toString());+ assert.deepStrictEqual(modelInput.getPartialShape().toString(), pShape14.toString());}});- it('test reshape with names and variable', () => {+ it("test reshape with names and variable", () => {const model = core.readModelSync(addModelWithVar.xml);- const shapesArr = model.inputs.map(input => [input.anyName, pShape14]);+ const shapesArr = model.inputs.map((input) => [input.anyName, pShape14]);model.reshape(new Map(shapesArr), { [varId]: pShape14 });for (const modelInput of model.inputs) {- assert.deepStrictEqual(modelInput.getPartialShape().toString(),- pShape14.toString());+ assert.deepStrictEqual(modelInput.getPartialShape().toString(), pShape14.toString());}});});-});diff --git a/src/bindings/js/node/tests/unit/partial_shape.test.js b/src/bindings/js/node/tests/unit/partial_shape.test.jsindex 22ffae4efea..4d6a4101a21 100644--- a/src/bindings/js/node/tests/unit/partial_shape.test.js+++ b/src/bindings/js/node/tests/unit/partial_shape.test.js@@ -2,51 +2,51 @@// Copyright (C) 2018-2025 Intel Corporation// SPDX-License-Identifier: Apache-2.0-const { addon: ov } = require('../..');-const assert = require('assert');-const { describe, it } = require('node:test');+const { addon: ov } = require("../..");+const assert = require("assert");+const { describe, it } = require("node:test");-const staticShape = '1, 3, 224, 224';-const dynamicShape = '?, -1, 1..3, 224';+const staticShape = "1, 3, 224, 224";+const dynamicShape = "?, -1, 1..3, 224";-describe('ov.PartialShape tests', () => {- it('allows create empty shape', () => {+describe("ov.PartialShape tests", () => {+ it("allows create empty shape", () => {const partialShape = new ov.PartialShape();- assert.strictEqual(partialShape.toString(), '[]');+ assert.strictEqual(partialShape.toString(), "[]");});- it('should detect static shape', () => {+ it("should detect static shape", () => {const partialShape = new ov.PartialShape(staticShape);assert.ok(partialShape.isStatic());});- it('should detect dynamic shape', () => {+ it("should detect dynamic shape", () => {const partialShape = new ov.PartialShape(dynamicShape);assert.strictEqual(partialShape.isStatic(), false);});- it('should return shape as string for static shape', () => {+ it("should return shape as string for static shape", () => {const partialShape = new ov.PartialShape(staticShape);- assert.strictEqual(partialShape.toString(), '[1,3,224,224]');+ assert.strictEqual(partialShape.toString(), "[1,3,224,224]");});- it('should return shape as string for dynamic shape', () => {+ it("should return shape as string for dynamic shape", () => {const partialShape = new ov.PartialShape(dynamicShape);- assert.strictEqual(partialShape.toString(), '[?,?,1..3,224]');+ assert.strictEqual(partialShape.toString(), "[?,?,1..3,224]");});- it('should return array with dimensions for dynamic shape', () => {+ it("should return array with dimensions for dynamic shape", () => {const partialShape = new ov.PartialShape(staticShape);assert.deepStrictEqual(partialShape.getDimensions(), [1, 3, 224, 224]);});- it('should return array with dimensions for dynamic shape', () => {+ it("should return array with dimensions for dynamic shape", () => {const partialShape = new ov.PartialShape(dynamicShape);assert.deepStrictEqual(partialShape.getDimensions(), [-1, -1, [1, 3], 224]);diff --git a/src/bindings/js/node/tests/unit/pre_post_processor.test.js b/src/bindings/js/node/tests/unit/pre_post_processor.test.jsindex 47781567dae..33bc5891944 100644--- a/src/bindings/js/node/tests/unit/pre_post_processor.test.js+++ b/src/bindings/js/node/tests/unit/pre_post_processor.test.js@@ -2,12 +2,12 @@// Copyright (C) 2018-2025 Intel Corporation// SPDX-License-Identifier: Apache-2.0-const { addon: ov } = require('../..');-const assert = require('assert');-const { describe, it, before, beforeEach } = require('node:test');-const { testModels, isModelAvailable } = require('../utils.js');+const { addon: ov } = require("../..");+const assert = require("assert");+const { describe, it, before, beforeEach } = require("node:test");+const { testModels, isModelAvailable } = require("../utils.js");-describe('ov.preprocess.PrePostProcessor tests', () => {+describe("ov.preprocess.PrePostProcessor tests", () => {const { testModelFP32 } = testModels;let core = null;let model = null;@@ -21,156 +21,114 @@ describe('ov.preprocess.PrePostProcessor tests', () => {model = core.readModelSync(testModelFP32.xml);});- describe('PrePostProcess', () => {- it('input() ', () => {- assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model).input(),- );+ describe("PrePostProcess", () => {+ it("input() ", () => {+ assert.doesNotThrow(() => new ov.preprocess.PrePostProcessor(model).input());});- it('input(size_t input_index)', () => {- assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model).input(0),- );+ it("input(size_t input_index)", () => {+ assert.doesNotThrow(() => new ov.preprocess.PrePostProcessor(model).input(0));});- it('input(const std::string& tensor_name)', () => {- assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model).input('data'),- );+ it("input(const std::string& tensor_name)", () => {+ assert.doesNotThrow(() => new ov.preprocess.PrePostProcessor(model).input("data"));});- it('output() ', () => {- assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model).output(),- );+ it("output() ", () => {+ assert.doesNotThrow(() => new ov.preprocess.PrePostProcessor(model).output());});- it('output(size_t output_index)', () => {- assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model).output(0),- );+ it("output(size_t output_index)", () => {+ assert.doesNotThrow(() => new ov.preprocess.PrePostProcessor(model).output(0));});- it('output(const std::string& tensor_name)', () => {- assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model).output('fc_out'),- );+ it("output(const std::string& tensor_name)", () => {+ assert.doesNotThrow(() => new ov.preprocess.PrePostProcessor(model).output("fc_out"));});});- describe('InputInfo', () => {- it('tensor()', () => {- assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model).input(0).tensor(),- );+ describe("InputInfo", () => {+ it("tensor()", () => {+ assert.doesNotThrow(() => new ov.preprocess.PrePostProcessor(model).input(0).tensor());});- it('preprocess()', () => {- assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model).input(0).preprocess(),- );+ it("preprocess()", () => {+ assert.doesNotThrow(() => new ov.preprocess.PrePostProcessor(model).input(0).preprocess());});- it('model()', () => {- assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model).input(0).model(),- );+ it("model()", () => {+ assert.doesNotThrow(() => new ov.preprocess.PrePostProcessor(model).input(0).model());});- it('tensor(param) throws', () => {+ it("tensor(param) throws", () => {assert.throws(() => new ov.preprocess.PrePostProcessor(model).input(0).tensor(0),/Function does not take any parameters./,);});- it('preprocess(param) throws', () => {+ it("preprocess(param) throws", () => {assert.throws(() => new ov.preprocess.PrePostProcessor(model).input(0).preprocess(0),/Function does not take any parameters./,);});- it('model(param) throws', () => {+ it("model(param) throws", () => {assert.throws(() => new ov.preprocess.PrePostProcessor(model).input(0).model(0),/Function does not take any parameters./,);});- it('tensor().setElementType()', () => {+ it("tensor().setElementType()", () => {assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model)- .input(0)- .tensor()- .setElementType(ov.element.u8),+ new ov.preprocess.PrePostProcessor(model).input(0).tensor().setElementType(ov.element.u8),);});- it('tensor().setElementType() throws', () => {+ it("tensor().setElementType() throws", () => {assert.throws(- () =>- new ov.preprocess.PrePostProcessor(model)- .input(0)- .tensor()- .setElementType(),+ () => new ov.preprocess.PrePostProcessor(model).input(0).tensor().setElementType(),/Wrong number of parameters./,);});- it('tensor().setElementType() throws', () => {+ it("tensor().setElementType() throws", () => {assert.throws(() =>- new ov.preprocess.PrePostProcessor(model)- .input(0)- .tensor()- .setElementType('invalidType'),+ new ov.preprocess.PrePostProcessor(model).input(0).tensor().setElementType("invalidType"),/Cannot create ov::element::Type/,);});- it('tensor().SetShape()', () => {+ it("tensor().SetShape()", () => {assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model)- .input(0)- .tensor()- .setShape([1, 10]),+ new ov.preprocess.PrePostProcessor(model).input(0).tensor().setShape([1, 10]),);});- it('tensor().SetShape() throws', () => {+ it("tensor().SetShape() throws", () => {assert.throws(- () =>- new ov.preprocess.PrePostProcessor(model)- .input(0)- .tensor()- .setShape(),+ () => new ov.preprocess.PrePostProcessor(model).input(0).tensor().setShape(),/Wrong number of parameters./,);});- it('tensor().setLayout()', () => {+ it("tensor().setLayout()", () => {assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model)- .input(0)- .tensor()- .setLayout('NHWC'),+ new ov.preprocess.PrePostProcessor(model).input(0).tensor().setLayout("NHWC"),);});- it('tensor().setLayout() throws', () => {+ it("tensor().setLayout() throws", () => {assert.throws(- () =>- new ov.preprocess.PrePostProcessor(model)- .input(0)- .tensor()- .setLayout(),+ () => new ov.preprocess.PrePostProcessor(model).input(0).tensor().setLayout(),/Wrong number of parameters./,);});- it('preprocess().resize()', () => {+ it("preprocess().resize()", () => {assert.doesNotThrow(() =>new ov.preprocess.PrePostProcessor(model).input(0)@@ -179,119 +137,90 @@ describe('ov.preprocess.PrePostProcessor tests', () => {);});- it('preprocess().resize() throws', () => {+ it("preprocess().resize() throws", () => {assert.throws(() =>new ov.preprocess.PrePostProcessor(model).input(0).preprocess()- .resize(ov.preprocess.resizeAlgorithm.RESIZE_LINEAR, 'extraArg'),+ .resize(ov.preprocess.resizeAlgorithm.RESIZE_LINEAR, "extraArg"),/Wrong number of parameters./,);});- it('preprocess().resize() no arg throws', () => {+ it("preprocess().resize() no arg throws", () => {assert.throws(- () =>- new ov.preprocess.PrePostProcessor(model)- .input(0)- .preprocess()- .resize(),+ () => new ov.preprocess.PrePostProcessor(model).input(0).preprocess().resize(),/Wrong number of parameters./,);});- it('model().setLayout()', () => {+ it("model().setLayout()", () => {assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model)- .input(0)- .model()- .setLayout('NCHW'),+ new ov.preprocess.PrePostProcessor(model).input(0).model().setLayout("NCHW"),);});- it('model().setLayout() throws', () => {+ it("model().setLayout() throws", () => {assert.throws(() =>- new ov.preprocess.PrePostProcessor(model)- .input(0)- .model()- .setLayout('NCHW', 'extraArg'),+ new ov.preprocess.PrePostProcessor(model).input(0).model().setLayout("NCHW", "extraArg"),/Wrong number of parameters./,);});- it('model().setLayout() throws', () => {+ it("model().setLayout() throws", () => {assert.throws(() =>- new ov.preprocess.PrePostProcessor(model)- .input(0)- .model()- .setLayout('invalidLayout'),+ new ov.preprocess.PrePostProcessor(model).input(0).model().setLayout("invalidLayout"),);});});- describe('OutputInfo', () => {- it('tensor()', () => {- assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model).output(0).tensor(),- );+ describe("OutputInfo", () => {+ it("tensor()", () => {+ assert.doesNotThrow(() => new ov.preprocess.PrePostProcessor(model).output(0).tensor());});- it('tensor(param) throws', () => {+ it("tensor(param) throws", () => {assert.throws(() => new ov.preprocess.PrePostProcessor(model).output(0).tensor(0),/Function does not take any parameters./,);});- it('tensor().setElementType()', () => {+ it("tensor().setElementType()", () => {assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model)- .output(0)- .tensor()- .setElementType(ov.element.u8),+ new ov.preprocess.PrePostProcessor(model).output(0).tensor().setElementType(ov.element.u8),);});- it('tensor().setElementType() throws', () => {+ it("tensor().setElementType() throws", () => {assert.throws(- () =>- new ov.preprocess.PrePostProcessor(model)- .output(0)- .tensor()- .setElementType(),+ () => new ov.preprocess.PrePostProcessor(model).output(0).tensor().setElementType(),/Wrong number of parameters./,);});- it('tensor().setElementType() throws', () => {+ it("tensor().setElementType() throws", () => {assert.throws(() =>new ov.preprocess.PrePostProcessor(model).output(0).tensor()- .setElementType('invalidType'),+ .setElementType("invalidType"),/Cannot create ov::element::Type/,);});- it('tensor().setLayout()', () => {+ it("tensor().setLayout()", () => {assert.doesNotThrow(() =>- new ov.preprocess.PrePostProcessor(model)- .output(0)- .tensor()- .setLayout('NHWC'),+ new ov.preprocess.PrePostProcessor(model).output(0).tensor().setLayout("NHWC"),);});- it('tensor().setLayout() throws', () => {+ it("tensor().setLayout() throws", () => {assert.throws(- () =>- new ov.preprocess.PrePostProcessor(model)- .output(0)- .tensor()- .setLayout(),+ () => new ov.preprocess.PrePostProcessor(model).output(0).tensor().setLayout(),/Wrong number of parameters./,);});diff --git a/src/bindings/js/node/tests/unit/read_model.test.js b/src/bindings/js/node/tests/unit/read_model.test.jsindex dbfa70566da..f6997770b31 100644--- a/src/bindings/js/node/tests/unit/read_model.test.js+++ b/src/bindings/js/node/tests/unit/read_model.test.js@@ -2,13 +2,13 @@// Copyright (C) 2018-2025 Intel Corporation// SPDX-License-Identifier: Apache-2.0-const fs = require('node:fs');-const { addon: ov } = require('../..');-const assert = require('assert');-const { describe, it, before, beforeEach } = require('node:test');-const { testModels, isModelAvailable } = require('../utils.js');+const fs = require("node:fs");+const { addon: ov } = require("../..");+const assert = require("assert");+const { describe, it, before, beforeEach } = require("node:test");+const { testModels, isModelAvailable } = require("../utils.js");-describe('Tests for reading model.', () => {+describe("Tests for reading model.", () => {const { testModelFP32 } = testModels;let modelFile = null;let modelStr = null;@@ -19,7 +19,7 @@ describe('Tests for reading model.', () => {before(async () => {await isModelAvailable(testModelFP32);modelFile = fs.readFileSync(testModelFP32.xml);- modelStr = fs.readFileSync(testModelFP32.xml, 'utf8');+ modelStr = fs.readFileSync(testModelFP32.xml, "utf8");weightsFile = fs.readFileSync(testModelFP32.bin);});@@ -32,33 +32,33 @@ describe('Tests for reading model.', () => {);});- describe('Core.readModeSync', () => {- it('readModeSync(xmlPath) ', () => {+ describe("Core.readModeSync", () => {+ it("readModeSync(xmlPath) ", () => {const model = core.readModelSync(testModelFP32.xml);assert.ok(model instanceof ov.Model);assert.equal(model.inputs.length, 1);});- it('readModeSync(xmlPath, weightsPath) ', () => {+ it("readModeSync(xmlPath, weightsPath) ", () => {const model = core.readModelSync(testModelFP32.xml, testModelFP32.bin);assert.ok(model instanceof ov.Model);assert.equal(model.inputs.length, 1);});- it('readModeSync throws', () => {+ it("readModeSync throws", () => {assert.throws(() => core.readModelSync(core),/'readModelSync' method called with incorrect parameters./,);});- it('readModelSync(modelString, weightsTensor) ', () => {+ it("readModelSync(modelString, weightsTensor) ", () => {const model = core.readModelSync(modelStr, weightsTensor);assert.ok(model instanceof ov.Model);assert.equal(model.inputs.length, 1);});- it('readModelSync(modelUint8ArrayBuffer, weightsUint8ArrayBuffer) ', () => {+ it("readModelSync(modelUint8ArrayBuffer, weightsUint8ArrayBuffer) ", () => {const model = core.readModelSync(new Uint8Array(modelFile.buffer),new Uint8Array(weightsFile.buffer),@@ -68,24 +68,24 @@ describe('Tests for reading model.', () => {});});- describe('Core.readModel', () => {- it('readModel(xmlPath) ', async () => {+ describe("Core.readModel", () => {+ it("readModel(xmlPath) ", async () => {const model = await core.readModel(testModelFP32.xml);assert.equal(model.inputs.length, 1);});- it('readModel(xmlPath, weightsPath) ', async () => {+ it("readModel(xmlPath, weightsPath) ", async () => {const model = await core.readModel(testModelFP32.xml, testModelFP32.bin);assert.equal(model.inputs.length, 1);});- it('readModel(modelString, weightsTensor) ', async () => {+ it("readModel(modelString, weightsTensor) ", async () => {const model = await core.readModel(modelStr, weightsTensor);assert.ok(model instanceof ov.Model);assert.equal(model.inputs.length, 1);});- it('readModel(Uint8ArrayBuffer, Uint8ArrayBuffer) ', async () => {+ it("readModel(Uint8ArrayBuffer, Uint8ArrayBuffer) ", async () => {const model = await core.readModel(new Uint8Array(modelFile.buffer),new Uint8Array(weightsFile.buffer),diff --git a/src/bindings/js/node/tests/unit/tensor.test.js b/src/bindings/js/node/tests/unit/tensor.test.jsindex 12d2e93733a..92bcd796348 100644--- a/src/bindings/js/node/tests/unit/tensor.test.js+++ b/src/bindings/js/node/tests/unit/tensor.test.js@@ -2,13 +2,13 @@// Copyright (C) 2018-2025 Intel Corporation// SPDX-License-Identifier: Apache-2.0-const { addon: ov } = require('../..');-const assert = require('assert');-const { test, describe, it, before } = require('node:test');-const getRandomBigInt = require('random-bigint');-const { lengthFromShape } = require('../utils');+const { addon: ov } = require("../..");+const assert = require("assert");+const { test, describe, it, before } = require("node:test");+const getRandomBigInt = require("random-bigint");+const { lengthFromShape } = require("../utils");-describe('ov.Tensor tests', () => {+describe("ov.Tensor tests", () => {let shape = null;let elemNum = null;let data = null;@@ -19,116 +19,76 @@ describe('ov.Tensor tests', () => {elemNum = 1 * 3 * 224 * 224;data = Float32Array.from({ length: elemNum }, () => Math.random());params = [- [- ov.element.i8,- 'i8',- Int8Array.from({ length: elemNum }, () => Math.random()),- ],- [- ov.element.u8,- 'u8',- Uint8Array.from({ length: elemNum }, () => Math.random()),- ],- [- ov.element.i16,- 'i16',- Int16Array.from({ length: elemNum }, () => Math.random()),- ],- [- ov.element.u16,- 'u16',- Uint16Array.from({ length: elemNum }, () => Math.random()),- ],- [- ov.element.i32,- 'i32',- Int32Array.from({ length: elemNum }, () => Math.random()),- ],- [- ov.element.u32,- 'u32',- Uint32Array.from({ length: elemNum }, () => Math.random()),- ],- [- ov.element.f32,- 'f32',- Float32Array.from({ length: elemNum }, () => Math.random()),- ],- [- ov.element.f64,- 'f64',- Float64Array.from({ length: elemNum }, () => Math.random()),- ],- [- ov.element.i64,- 'i64',- BigInt64Array.from({ length: elemNum }, () => getRandomBigInt(10)),- ],- [- ov.element.u64,- 'u64',- BigUint64Array.from({ length: elemNum }, () => getRandomBigInt(10)),- ],+ [ov.element.i8, "i8", Int8Array.from({ length: elemNum }, () => Math.random())],+ [ov.element.u8, "u8", Uint8Array.from({ length: elemNum }, () => Math.random())],+ [ov.element.i16, "i16", Int16Array.from({ length: elemNum }, () => Math.random())],+ [ov.element.u16, "u16", Uint16Array.from({ length: elemNum }, () => Math.random())],+ [ov.element.i32, "i32", Int32Array.from({ length: elemNum }, () => Math.random())],+ [ov.element.u32, "u32", Uint32Array.from({ length: elemNum }, () => Math.random())],+ [ov.element.f32, "f32", Float32Array.from({ length: elemNum }, () => Math.random())],+ [ov.element.f64, "f64", Float64Array.from({ length: elemNum }, () => Math.random())],+ [ov.element.i64, "i64", BigInt64Array.from({ length: elemNum }, () => getRandomBigInt(10))],+ [ov.element.u64, "u64", BigUint64Array.from({ length: elemNum }, () => getRandomBigInt(10))],];});- test('Test for number of arguments in tensor', () => {+ test("Test for number of arguments in tensor", () => {assert.throws(() => new ov.Tensor(ov.element.f32, shape, data, params), {message: /Invalid number of arguments for Tensor constructor./,});});- test('Tensor without data parameters', () => {+ test("Tensor without data parameters", () => {const tensor = new ov.Tensor(ov.element.f32, shape);assert.strictEqual(tensor.data.length, elemNum);});- describe('Tensor data', () => {- it('set tensor data with element type', () => {+ describe("Tensor data", () => {+ it("set tensor data with element type", () => {params.forEach(([type, , data]) => {const tensor = new ov.Tensor(type, shape, data);assert.deepStrictEqual(tensor.data, data);});});- it('create string tensor', () => {- const strArray = ['text', 'more text', 'even more text'];+ it("create string tensor", () => {+ const strArray = ["text", "more text", "even more text"];const tensor = new ov.Tensor(strArray);assert.deepStrictEqual(tensor.data, strArray);});- it('create string tensor', () => {- const strArray = ['text', 'more text', 'even more text'];+ it("create string tensor", () => {+ const strArray = ["text", "more text", "even more text"];const tensor = new ov.Tensor(strArray);assert.deepStrictEqual(tensor.data, strArray);});- it('string tensor - passed array does not contain string elements', () => {- const strArray = ['text', true];+ it("string tensor - passed array does not contain string elements", () => {+ const strArray = ["text", true];assert.throws(() => {new ov.Tensor(strArray);}, /The array passed to create string tensor must contain only strings./);});- it('set string tensor data', () => {- const strArray = ['H', 'e', 'l', 'l', 'o'];+ it("set string tensor data", () => {+ const strArray = ["H", "e", "l", "l", "o"];const tensor = new ov.Tensor(ov.element.string, [1, 1, 1, 5]);tensor.data = strArray;assert.deepStrictEqual(tensor.data, strArray);});- it('test tensor getData()', () => {+ it("test tensor getData()", () => {const tensor = new ov.Tensor(ov.element.f32, shape, data);assert.deepStrictEqual(tensor.getData(), data);});- it('getData should throw an error if arguments are provided', () => {+ it("getData should throw an error if arguments are provided", () => {const tensor = new ov.Tensor(ov.element.f32, shape, data);assert.throws(() => tensor.getData(1), {- message: 'getData() does not accept any arguments.',+ message: "getData() does not accept any arguments.",});});- it('test tensor.data setter - different element type throws', () => {+ it("test tensor.data setter - different element type throws", () => {const float64Data = Float64Array.from([1, 2, 3]);const tensor = new ov.Tensor(ov.element.f32, [1, 3]);assert.throws(() => {@@ -136,7 +96,7 @@ describe('ov.Tensor tests', () => {}, /Passed array must have the same size as the Tensor!/);});- it('test tensor.data setter - different element length throws', () => {+ it("test tensor.data setter - different element length throws", () => {const float64Data = Float64Array.from([1, 2, 3]);const tensor = new ov.Tensor(ov.element.f64, [1, 2]);assert.throws(() => {@@ -144,21 +104,21 @@ describe('ov.Tensor tests', () => {}, /Passed array must have the same size as the Tensor!/);});- it('test tensor.data setter', () => {- const testString = 'test';+ it("test tensor.data setter", () => {+ const testString = "test";const tensor = new ov.Tensor(ov.element.f64, [1, 2]);assert.throws(() => {tensor.data = testString;}, /Passed argument must be TypedArray, or Array/);});- it('test tensor.data setter', () => {+ it("test tensor.data setter", () => {const tensor = new ov.Tensor(ov.element.f32, shape);tensor.data = data;assert.deepStrictEqual(tensor.getData(), data);});- it('set tensor data with Float32Array created from ArrayBuffer', () => {+ it("set tensor data with Float32Array created from ArrayBuffer", () => {const size = elemNum * 4;const buffer = new ArrayBuffer(size);const view = new Float32Array(buffer);@@ -167,7 +127,7 @@ describe('ov.Tensor tests', () => {assert.deepStrictEqual(tensor.data, data);});- it('set tensor data with too big Float32Array', () => {+ it("set tensor data with too big Float32Array", () => {const size = elemNum * 8;const buffer = new ArrayBuffer(size);const view = new Float32Array(buffer);@@ -177,49 +137,43 @@ describe('ov.Tensor tests', () => {});});- it('third argument of a tensor cannot be an ArrayBuffer', () => {- assert.throws(- () => new ov.Tensor(ov.element.f32, shape, new ArrayBuffer(1234)),- { message: /Third argument of a tensor must be TypedArray./ },- );+ it("third argument of a tensor cannot be an ArrayBuffer", () => {+ assert.throws(() => new ov.Tensor(ov.element.f32, shape, new ArrayBuffer(1234)), {+ message: /Third argument of a tensor must be TypedArray./,+ });});- it('third argument of a tensor cannot be an array object', () => {+ it("third argument of a tensor cannot be an array object", () => {assert.throws(() => new ov.Tensor(ov.element.f32, shape, [1, 2, 3, 4]), {message: /Third argument of a tensor must be TypedArray./,});});});- describe('Tensor shape', () => {- it('ov::Shape from an array object', () => {+ describe("Tensor shape", () => {+ it("ov::Shape from an array object", () => {const tensor = new ov.Tensor(ov.element.f32, [1, 3, 224, 224], data);assert.deepStrictEqual(tensor.getShape(), [1, 3, 224, 224]);});- it('ov::Shape from an array object with floating point numbers', () => {- const tensor = new ov.Tensor(- ov.element.f32,- [1, 3.0, 224.8, 224.4],- data,- );+ it("ov::Shape from an array object with floating point numbers", () => {+ const tensor = new ov.Tensor(ov.element.f32, [1, 3.0, 224.8, 224.4], data);assert.deepStrictEqual(tensor.getShape(), [1, 3, 224, 224]);});- it('array argument to create ov::Shape can only contain numbers', () => {- assert.throws(- () => new ov.Tensor(ov.element.f32, ['1', 3, 224, 224], data),- { message: /Passed array must contain only numbers/ },- );+ it("array argument to create ov::Shape can only contain numbers", () => {+ assert.throws(() => new ov.Tensor(ov.element.f32, ["1", 3, 224, 224], data), {+ message: /Passed array must contain only numbers/,+ });});- it('ov::Shape from TypedArray -> Int32Array', () => {+ it("ov::Shape from TypedArray -> Int32Array", () => {const shp = Int32Array.from([1, 224, 224, 3]);const tensor = new ov.Tensor(ov.element.f32, shp, data);assert.deepStrictEqual(tensor.getShape(), [1, 224, 224, 3]);});- it('cannot create ov::Shape from Float32Array', () => {+ it("cannot create ov::Shape from Float32Array", () => {const shape = Float32Array.from([1, 224, 224, 3]);assert.throws(() => new ov.Tensor(ov.element.f32, shape, data),@@ -227,7 +181,7 @@ describe('ov.Tensor tests', () => {);});- it('cannot create ov::Shape from ArrayBuffer', () => {+ it("cannot create ov::Shape from ArrayBuffer", () => {const shape = Int32Array.from([1, 224, 224, 3]);assert.throws(() => new ov.Tensor(ov.element.f32, shape.buffer, data),@@ -235,22 +189,22 @@ describe('ov.Tensor tests', () => {);});- it('getShape() method does not accept parameters', () => {+ it("getShape() method does not accept parameters", () => {const tensor = new ov.Tensor(ov.element.f32, [1, 3, 224, 224], data);assert.throws(() => tensor.getShape(1, 2, 3), {- message: 'No parameters are allowed for the getShape() method.',+ message: "No parameters are allowed for the getShape() method.",});});});- describe('Tensor element type', () => {- it('comparisons of ov.element to string', () => {+ describe("Tensor element type", () => {+ it("comparisons of ov.element to string", () => {params.forEach(([elemType, val]) => {assert.strictEqual(elemType, val);});});- it('comparisons of ov.element got from Tensor object', () => {+ it("comparisons of ov.element got from Tensor object", () => {params.forEach(([elemType, , data]) => {const tensor = new ov.Tensor(elemType, shape, data);assert.strictEqual(tensor.getElementType(), elemType);@@ -258,23 +212,23 @@ describe('ov.Tensor tests', () => {});});- describe('Tensor getSize', () => {- it('getSize returns the correct total number of elements', () => {+ describe("Tensor getSize", () => {+ it("getSize returns the correct total number of elements", () => {const tensor = new ov.Tensor(ov.element.f32, shape, data);const expectedSize = lengthFromShape(shape);assert.strictEqual(tensor.getSize(), expectedSize);});- it('getSize should throw an error if arguments are provided', () => {+ it("getSize should throw an error if arguments are provided", () => {const tensor = new ov.Tensor(ov.element.f32, shape, data);assert.throws(() => tensor.getSize(1), {- message: 'getSize() does not accept any arguments.',+ message: "getSize() does not accept any arguments.",});});});- describe('Tensor getSize for various shapes', () => {- it('calculates size for a common image data shape [3, 224, 224]', () => {+ describe("Tensor getSize for various shapes", () => {+ it("calculates size for a common image data shape [3, 224, 224]", () => {const shape = [3, 224, 224];const expectedSize = 3 * 224 * 224;const tensorData = new Float32Array(expectedSize).fill(0);@@ -282,7 +236,7 @@ describe('ov.Tensor tests', () => {assert.strictEqual(tensor.getSize(), expectedSize);});- it('calculates size correctly for a scalar wrapped in a tensor [1]', () => {+ it("calculates size correctly for a scalar wrapped in a tensor [1]", () => {const shape = [1];const expectedSize = 1;const tensorData = new Float32Array(expectedSize).fill(0);@@ -290,7 +244,7 @@ describe('ov.Tensor tests', () => {assert.strictEqual(tensor.getSize(), expectedSize);});- it('calculates size correctly for a vector [10]', () => {+ it("calculates size correctly for a vector [10]", () => {const shape = [10];const expectedSize = 10;const tensorData = new Float32Array(expectedSize).fill(0);@@ -299,16 +253,16 @@ describe('ov.Tensor tests', () => {});});- describe('Tensor isContinuous', () => {- it('isContinuous returns true if tensor is continuous', () => {+ describe("Tensor isContinuous", () => {+ it("isContinuous returns true if tensor is continuous", () => {const tensor = new ov.Tensor(ov.element.f32, [3, 2, 2]);assert.strictEqual(tensor.isContinuous(), true);});- it('isContinuous should throw an error if arguments are provided', () => {+ it("isContinuous should throw an error if arguments are provided", () => {const tensor = new ov.Tensor(ov.element.f32, shape, data);assert.throws(() => tensor.isContinuous(1), {- message: 'isContinuous() does not accept any arguments.',+ message: "isContinuous() does not accept any arguments.",});});});diff --git a/src/bindings/js/node/tests/utils.js b/src/bindings/js/node/tests/utils.jsindex 92ce7e68c06..a5b49588073 100644--- a/src/bindings/js/node/tests/utils.js+++ b/src/bindings/js/node/tests/utils.js@@ -2,14 +2,11 @@// Copyright (C) 2018-2025 Intel Corporation// SPDX-License-Identifier: Apache-2.0-const path = require('path');-const fs = require('node:fs/promises');-const {- downloadFile,- checkIfPathExists,-} = require('../scripts/lib/utils');+const path = require("path");+const fs = require("node:fs/promises");+const { downloadFile, checkIfPathExists } = require("../scripts/lib/utils");-const modelDir = path.join(__dirname, 'unit', 'test_models');+const modelDir = path.join(__dirname, "unit", "test_models");function getModelPath(fileName) {return path.join(modelDir, fileName);@@ -17,30 +14,30 @@ function getModelPath(fileName) {const testModels = {testModelFP32: {- xml: getModelPath('test_model_fp32.xml'),- bin: getModelPath('test_model_fp32.bin'),+ xml: getModelPath("test_model_fp32.xml"),+ bin: getModelPath("test_model_fp32.bin"),inputShape: [1, 3, 32, 32],outputShape: [1, 10],xmlURL:- 'https://raw.githubusercontent.com/openvinotoolkit/testdata/master/models/test_model/test_model_fp32.xml',+ "https://raw.githubusercontent.com/openvinotoolkit/testdata/master/models/test_model/test_model_fp32.xml",binURL:- 'https://media.githubusercontent.com/media/openvinotoolkit/testdata/master/models/test_model/test_model_fp32.bin',+ "https://media.githubusercontent.com/media/openvinotoolkit/testdata/master/models/test_model/test_model_fp32.bin",},modelV3Small: {- xml: getModelPath('v3-small_224_1.0_float.xml'),- bin: getModelPath('v3-small_224_1.0_float.bin'),+ xml: getModelPath("v3-small_224_1.0_float.xml"),+ bin: getModelPath("v3-small_224_1.0_float.bin"),inputShape: [1, 224, 224, 3],outputShape: [1, 1001],xmlURL:- 'https://storage.openvinotoolkit.org/repositories/openvino_notebooks/models/mobelinet-v3-tf/FP32/v3-small_224_1.0_float.xml',+ "https://storage.openvinotoolkit.org/repositories/openvino_notebooks/models/mobelinet-v3-tf/FP32/v3-small_224_1.0_float.xml",binURL:- 'https://storage.openvinotoolkit.org/repositories/openvino_notebooks/models/mobelinet-v3-tf/FP32/v3-small_224_1.0_float.bin',+ "https://storage.openvinotoolkit.org/repositories/openvino_notebooks/models/mobelinet-v3-tf/FP32/v3-small_224_1.0_float.bin",},addModel: {- xml: getModelPath('add_model.xml'),+ xml: getModelPath("add_model.xml"),},addModelWithVar: {- xml: getModelPath('add_model_with_var.xml'),+ xml: getModelPath("add_model_with_var.xml"),},};@@ -57,25 +54,31 @@ module.exports = {function compareModels(model1, model2) {const differences = [];if (model1.getFriendlyName() !== model2.getFriendlyName()) {- differences.push('Friendly names of models are not equal ' ++ differences.push(+ "Friendly names of models are not equal " +`model_one: ${model1.getFriendlyName()},` +- `model_two: ${model2.getFriendlyName()}`);+ `model_two: ${model2.getFriendlyName()}`,+ );}if (model1.inputs.length !== model2.inputs.length) {- differences.push('Number of models\' inputs are not equal ' +- `model_one: ${model1.inputs.length}, ` +- `model_two: ${model2.inputs.length}`);+ differences.push(+ "Number of models' inputs are not equal " ++ `model_one: ${model1.inputs.length}, ` ++ `model_two: ${model2.inputs.length}`,+ );}if (model1.outputs.length !== model2.outputs.length) {- differences.push('Number of models\' outputs are not equal ' ++ differences.push(+ "Number of models' outputs are not equal " +`model_one: ${model1.outputs.length}, ` +- `model_two: ${model2.outputs.length}`);+ `model_two: ${model2.outputs.length}`,+ );}if (differences.length) {- throw new Error(differences.join('\n'));+ throw new Error(differences.join("\n"));}}@@ -84,10 +87,7 @@ function sleep(ms) {}function lengthFromShape(shape) {- return shape.reduce(- (accumulator, currentValue) => accumulator * currentValue,- 1- );+ return shape.reduce((accumulator, currentValue) => accumulator * currentValue, 1);}async function downloadTestModel(model) {@@ -101,22 +101,13 @@ async function downloadTestModel(model) {const proxyUrl = env.http_proxy || env.HTTP_PROXY || env.npm_config_proxy;const modelExists = await checkIfPathExists(model.xml);- if (!modelExists) await downloadFile(- model.xmlURL,- path.dirname(model.xml),- path.basename(model.xml),- proxyUrl,- );+ if (!modelExists)+ await downloadFile(model.xmlURL, path.dirname(model.xml), path.basename(model.xml), proxyUrl);const weightsExists = await checkIfPathExists(model.bin);- if (!weightsExists) await downloadFile(- model.binURL,- path.dirname(model.bin),- path.basename(model.bin),- proxyUrl,- );-- } catch(error) {+ if (!weightsExists)+ await downloadFile(model.binURL, path.dirname(model.bin), path.basename(model.bin), proxyUrl);+ } catch (error) {console.error(`Failed to download the model: ${error}.`);throw error;}@@ -126,19 +117,14 @@ async function isModelAvailable(model) {const modelExists = await checkIfPathExists(model.xml);if (modelExists) return;- console.log(- '\n\nTestModel cannot be found.\nPlease run `npm run test_setup`.\n\n',- );+ console.log("\n\nTestModel cannot be found.\nPlease run `npm run test_setup`.\n\n");process.exit(1);}function generateImage(shape = [1, 3, 32, 32]) {const lemm = lengthFromShape(shape);const epsilon = 0.5; // To avoid very small numbers- const tensorData = Float32Array.from(- { length: lemm },- () => Math.random() + epsilon,- );+ const tensorData = Float32Array.from({ length: lemm }, () => Math.random() + epsilon);return tensorData;}diff --git a/src/bindings/js/node/tsconfig.json b/src/bindings/js/node/tsconfig.jsonindex 07c895e0b2a..4ff60081c54 100644--- a/src/bindings/js/node/tsconfig.json+++ b/src/bindings/js/node/tsconfig.json@@ -1,10 +1,10 @@{- "extends": "../tsconfig.json",- "include": ["lib"],- "compilerOptions": {- "module": "CommonJS",- "allowJs": true,- "outDir": "dist",- "declarationDir": "./types"- }+ "extends": "../tsconfig.json",+ "include": ["lib"],+ "compilerOptions": {+ "module": "CommonJS",+ "allowJs": true,+ "outDir": "dist",+ "declarationDir": "./types"+ }}