diff --git a/.babelrc.js b/.babelrc.js deleted file mode 100644 index 6e31a88653..0000000000 --- a/.babelrc.js +++ /dev/null @@ -1,70 +0,0 @@ -// About this file: -// Babel 7 introduces .babelrc.js files. The .babelrc file can be removed when Babel 7 is released. (https://github.com/babel/babel/pull/4892) - -// Babel 7 will also remove the 'env' option --> https://github.com/babel/babel/issues/4539#issuecomment-284870486 -const env = process.env.BABEL_ENV || process.env.NODE_ENV - -const defaultBabelPresetEnvConfig = { - // No module transformation, webpack will take care of this if necessary. - modules: false, -} - -// Latest browsers (via package.json browserslists) -const browserBabelPresetEnvConfig = Object.assign({}, defaultBabelPresetEnvConfig) - -// Node -const nodeBabelPresetEnvConfig = Object.assign({}, defaultBabelPresetEnvConfig, { - targets: { - node: '18', - }, -}) - -// Combined node and browser environment for es6 modules version and tests -const modulesBabelPresetEnvConfig = Object.assign({}, defaultBabelPresetEnvConfig, { - targets: Object.assign(nodeBabelPresetEnvConfig.targets), -}) - -const testBabelPresetEnvConfig = Object.assign({}, modulesBabelPresetEnvConfig, { - // Tests need to transform modules - modules: 'commonjs', -}) - -const plugins = [ - '@babel/proposal-class-properties', - '@babel/plugin-proposal-object-rest-spread', - '@babel/plugin-proposal-nullish-coalescing-operator', - '@babel/plugin-proposal-optional-chaining', - '@babel/plugin-proposal-export-namespace-from', - 'lodash', - [ - 'inline-replace-variables', - { - // Inject version number into code - __VERSION__: require('./package.json').version, - }, - ], -] - -let babelConfig = { - plugins, -} - -if (env === 'browser') { - babelConfig = Object.assign(babelConfig, { - presets: [['@babel/preset-env', browserBabelPresetEnvConfig], '@babel/typescript'], - }) -} - -if (env === 'modules') { - babelConfig = Object.assign(babelConfig, { - presets: [['@babel/preset-env', modulesBabelPresetEnvConfig], '@babel/typescript'], - }) -} - -if (env === 'node') { - babelConfig = Object.assign(babelConfig, { - presets: [['@babel/preset-env', nodeBabelPresetEnvConfig], '@babel/typescript'], - }) -} - -module.exports = babelConfig diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 9ec308e468..3434f2793d 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -41,3 +41,6 @@ jobs: - name: Test package size run: npm run test:size + + - name: Run ES version checks + run: npm run check diff --git a/.gitignore b/.gitignore index 99316c9195..b122d627c9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ dist gh-pages -webpack-build-log.json # Esdoc dirs out diff --git a/.nvmrc b/.nvmrc index 3f430af82b..9a2a0e219c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18 +v20 diff --git a/.prettierignore b/.prettierignore index f18cff6b6c..eea6af63e9 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,4 +2,4 @@ node_modules dist coverage out -typings +typings \ No newline at end of file diff --git a/MIGRATION.md b/MIGRATION.md new file mode 100644 index 0000000000..639f8fe884 --- /dev/null +++ b/MIGRATION.md @@ -0,0 +1,106 @@ + + +

+ + Contentful Logo + +

+ +

Content Management API

+ +

Migration

+ +

+ Readme · + Migration · · + Contributing +

+ +

+ + Join Contentful Community Slack + +

+ + + +# Migration information + +- [Migration information](#migration-information) + - [Migration to version 12.x](#migration-to-version-12x) + - [Breaking changes](#breaking-changes) + - [Node.js core modules](#nodejs-core-modules) + - [Pre-bundled code](#pre-bundled-code) + - [Webpack 5](#webpack-5) + - [Rollup](#rollup) + - [Improvements](#improvements) + - [Tree shaking](#tree-shaking) + - [Module support and package configuration](#module-support-and-package-configuration) + - [Testing framework](#testing-framework) + - [Security](#security) + - [Removal of eval](#removal-of-eval) + +From version 3.0.0 onwards, you can access documentation for a specific version by visiting `https://contentful.github.io/contentful-management.js/contentful-management/`. + +You can upgrade to a major version using `npm update contentful` + +## Migration to version 12.x + +Version 12.0.0 introduces full ESM support by default, with CJS variants still available for legacy environments. This version is a significant step forward in modernizing our build and improving performance while maintaining wide compatibility across various environments. + +### Breaking changes + +#### Node.js core modules + +We no longer bundle Node.js core modules. If you’re bundling for the browser, you may need to configure your bundler to provide fallbacks or empty functions, particularly for the fs module. This change was introduced in version 12.x and may affect projects using Node.js-specific modules in the browser. + +#### Pre-bundled code + +Pre-bundled code for Node.js is no longer provided. If your setup relies on pre-bundled packages, you may need to adjust your build configuration. + +##### Webpack 5 + +To make our project bundle properly for the browser with Webpack 5, you need to add this to your configuration: + +```js +module.exports = { + resolve: { + fallback: { + os: false, + zlib: false, + tty: false, + }, + }, +} +``` + +##### Rollup + +To make our project bundle properly for the browser with Rollup, you need to add this to your configuration: + +```js +nodeResolve({ browser: true, preferBuiltins: false }) +``` + +### Improvements + +#### Tree shaking + +Tree shaking is significantly improved, ensuring that only the necessary parts of the library are included in your final bundle. +Smaller browser bundles + +Browser bundle sizes have been reduced by nearly threefold, from 128KB to 45KB, contributing to faster load times and improved performance. + +#### Module support and package configuration + +The package now uses "type": "module" in package.json to define the default module format as ESM, while also providing support for CJS through the exports field. This allows us to support a wide range of environments including Node.js (with and without TypeScript, both CJS and ESM), AngularJS, GatsbyJS, Next.js, Nuxt, React Native (Expo), Rollup, Svelte, Vite, Webpack, and more. + +#### Testing framework + +We’ve migrated our internal test environment from Jest to Vitest, aligning with modern testing frameworks and tools. + +## Security + +### Removal of eval + +We have completely removed the use of eval in our exported code, improving security and compatibility with strict environments. diff --git a/README.md b/README.md index 1119c89a68..2c3e5f38c6 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ [![npm](https://img.shields.io/npm/v/contentful-management.svg)](https://www.npmjs.com/package/contentful-management) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![npm downloads](https://img.shields.io/npm/dm/contentful-management.svg)](http://npm-stat.com/charts.html?package=contentful-management) -[![gzip bundle size](http://img.badgesize.io/https://unpkg.com/contentful-management/dist/contentful-management.browser.min.js?compression=gzip)](https://unpkg.com/contentful-management/dist/contentful-management.browser.min.js) +[![gzip bundle size](http://img.badgesize.io/https://unpkg.com/contentful-management/dist/contentful-management.bundle.browser.min.js?compression=gzip)](https://unpkg.com/contentful-management/dist/contentful-management.bundle.browser.min.js) **What is Contentful?** @@ -43,29 +43,46 @@ -- [Features](#features) -- [Supported Environments](#supported-environments) -- [Getting Started](#getting-started) +- [Getting started](#getting-started) - [Installation](#installation) - - [Node](#node-) - - [Browser](#browser-) - - [Typings](#typings) + - [Node:](#node) + - [Using in Legacy Environments Without ESM/Import Support](#using-in-legacy-environments-without-esmimport-support) + - [Browser:](#browser) + - [Typings](#typings) - [Authentication](#authentication) - - [Using ES6 import](#using-es6-import) - - [Your first Request](#your-first-request) - - [Alternative plain API](#alternative-plain-api) -- [App Framework](#app-framework) -- [Troubleshooting](#troubleshooting) -- [Documentation/References](#documentationreferences) + - [Your first request](#your-first-request) + - [Legacy Client Interface](#legacy-client-interface) + - [App Framework](#app-framework) + - [Troubleshooting](#troubleshooting) + - [Documentation/References](#documentationreferences) - [Configuration](#configuration) - - [Reference Documentation](#reference-documentation) - - [Contentful Javascript resources](#contentful-javascript-resources) - - [REST API reference](#rest-api-reference) -- [Versioning](#versioning) -- [Reach out to us](#reach-out-to-us) -- [Get involved](#get-involved) -- [License](#license) -- [Code of Conduct](#code-of-conduct) + - [accessToken (required, when `apiAdapter` is not set)](#accesstoken-required-when-apiadapter-is-not-set) + - [host (default: `'api.contentful.com'`)](#host-default-apicontentfulcom) + - [hostUpload (default: `'upload.contentful.com'`)](#hostupload-default-uploadcontentfulcom) + - [basePath (default: \`\`)](#basepath-default-) + - [httpAgent (default: `undefined`)](#httpagent-default-undefined) + - [httpsAgent (default: `undefined`)](#httpsagent-default-undefined) + - [headers (default: `{}`)](#headers-default-) + - [proxy (default: `undefined`)](#proxy-default-undefined) + - [retryOnError (default: `true`)](#retryonerror-default-true) + - [logHandler (default: `function (level, data) {}`)](#loghandler-default-function-level-data-) + - [requestLogger (default: `function (config) {}`)](#requestlogger-default-function-config-) + - [responseLogger (default: `function (response) {}`)](#responselogger-default-function-response-) + - [apiAdapter (default: `new RestAdapter(configuration)`)](#apiadapter-default-new-restadapterconfiguration) + - [throttle (default: `0`)](#throttle-default-0) + - [Reference documentation](#reference-documentation) + - [Contentful JavaScript resources](#contentful-javascript-resources) + - [REST API reference](#rest-api-reference) + - [Versioning](#versioning) + - [Experimental features](#experimental-features) + - [Current experimental features](#current-experimental-features) + - [Reach out to us](#reach-out-to-us) + - [You have questions about how to use this library?](#you-have-questions-about-how-to-use-this-library) + - [You found a bug or want to propose a feature?](#you-found-a-bug-or-want-to-propose-a-feature) + - [You need to share confidential information or have other questions?](#you-need-to-share-confidential-information-or-have-other-questions) + - [Get involved](#get-involved) + - [License](#license) + - [Code of Conduct](#code-of-conduct) @@ -85,8 +102,17 @@ Browsers and Node.js: - Edge - Safari - node.js (LTS) +- React Native (Metro bundler) + +> For the minimum supported browser versions, refer to the [package.json of this library.](https://github.com/contentful/contentful-management.js/blob/master/package.json#L12) + +To ensure compatibility across various JavaScript environments, this library is built as an ECMAScript Module (ESM) by default, using the `"type": "module"` declaration in `package.json`. + +We also offer a bundle for the legacy CommonJS (CJS) require syntax, allowing usage in environments that do not support ESM. -Other browsers should also work, but at the moment we're only running automated tests on the browsers and Node.js versions specified above. +Additionally, there is a bundle available for direct usage within browsers. + +For more details on the different variants of this library, see [Installation](#installation). # Getting started @@ -94,7 +120,6 @@ To get started with the Contentful Management JS library you'll need to install - [Installation](#installation) - [Authentication](#authentication) -- [Using ES6 import](#using-es6-import) - [Your first request](#your-first-request) - [Troubleshooting](#troubleshooting) - [Documentation/References](#documentationreferences) @@ -115,6 +140,36 @@ Using [yarn](https://yarnpkg.com/lang/en/): yarn add contentful-management ``` +In a modern environment, you can import this library using: + +```js +import * as contentful from 'contentful-management' +``` + +#### Using in Legacy Environments Without ESM/Import Support + +Typically, your system will default to our CommonJS export when you use the require syntax: + +```js +const contentful = require('contentful-management') +``` + +If this does not work, you can directly require the CJS-compatible code: + +```js +// pure cjs files +const contentful = require('contentful-management/dist/cjs/index.cjs') + +// node bundle +const contentful = require('contentful-management/dist/contentful-management.node.cjs') + +// react-native bundle +const contentful = require('contentful-management/dist/contentful-management.react-native.js') + +// browser bundle +const contentful = require('contentful-management/dist/contentful-management.browser.js') +``` + ### Browser: For browsers, we recommend to download the library via npm or yarn to ensure 100% availability. @@ -122,16 +177,16 @@ For browsers, we recommend to download the library via npm or yarn to ensure 100 If you'd like to use a standalone built file you can use the following script tag or download it from [jsDelivr](https://www.jsdelivr.com/package/npm/contentful-management), under the `dist` directory: ```html - + ``` **It's not recommended to use the above URL for production.** -Using `contentful@latest` will always get you the latest version, but you can also specify a specific version number: +Using `contentful-management@latest` will always get you the latest version, but you can also specify a specific version number: ```html - + ``` The Contentful Management library will be accessible via the `contentfulManagement` global variable. @@ -150,34 +205,18 @@ If you want to use this library for a simple tool or a local app that you won't If you'd like to create an app which would make use of this library but that would be available for other users, where they could authenticate with their own Contentful credentials, make sure to also check out the section about [Creating an OAuth Application](https://www.contentful.com/developers/docs/references/authentication/#creating-an-oauth-20-application) -## Using ES6 import - -You can use the es6 import with the library as follows - -```js -// import createClient directly -import contentful from 'contentful-management' -const client = contentful.createClient( - { - // This is the access token for this space. Normally you get the token in the Contentful web app - accessToken: 'YOUR_ACCESS_TOKEN', - }, - { type: 'plain' } -) -//.... -``` - ## Your first request Beginning with `contentful-management@7` this library provides a client which exposes all CMA endpoints in a simple flat API surface, as opposed to the waterfall structure exposed by legacy versions of the SDK. ```javascript -const contentful = require('contentful-management') +import * as contentful from 'contentful-management' + const plainClient = contentful.createClient( { accessToken: 'YOUR_ACCESS_TOKEN', }, - { type: 'plain' } + { type: 'plain' }, ) const environment = await plainClient.environment.get({ @@ -205,7 +244,7 @@ const scopedPlainClient = contentful.createClient( spaceId: '', environmentId: '', }, - } + }, ) // entries from '' & '' @@ -232,7 +271,8 @@ The benefits of using the "plain" version of the client, over the legacy version The following code snippet is an example of the legacy client interface, which reads and writes data as a sequence of nested requests: ```js -const contentful = require('contentful-management') +import * as contentful from 'contentful-management' + const client = contentful.createClient({ accessToken: 'YOUR_ACCESS_TOKEN', }) @@ -267,8 +307,8 @@ grants your apps access to the supported space-environment scoped entities witho need to expose a management token, and without coding any additional backend middleware. ```javascript -const contentfulApp = require('@contentful/app-sdk') -const contentful = require('contentful-management') +import contentfulApp from '@contentful/app-sdk' +import * as contentful from 'contentful-management' contentfulApp.init((sdk) => { const cma = contentful.createClient( @@ -279,7 +319,7 @@ contentfulApp.init((sdk) => { environmentId: sdk.ids.environmentAlias ?? sdk.ids.environment, spaceId: sdk.ids.space, }, - } + }, ) // ...rest of initialization code @@ -294,9 +334,6 @@ contentfulApp.init((sdk) => { ## Troubleshooting -- **I can't Install the package via npm** - Check your internet connection - It is called `contentful-management` and not `contenful-management` ¯\\\_(ツ)\_/¯ -- **Can I use the library in react native projects** - Yes it is possible -- **I get the error: Unable to resolve module `http`** - Our library is supplied as node and browser version. Most non-node environments, like React Native, act like a browser. To force using of the browser version, you can require it via: `const { createClient } = require('contentful-management/dist/contentful-management.browser.min.js')` - **I am not sure what payload to send when creating and entity (Asset/Entity/ContentType etc...)** - Check the Content Management API [docs](https://www.contentful.com/developers/docs/references/content-management-api/) or the examples in the reference [docs](https://contentful.github.io/contentful-management.js) - Feel free to open an issue if you didn't find what you need in the above links - 😱 **something is wrong what should I do** - If it is a bug related to the code create a GitHub issue and make sure to remove any credential for your code before sharing it. - If you need to share your credentials, for example you have an issue with your space, please create a support ticket. - Please **do not** share your management token in a GitHub issue diff --git a/SETUP.md b/SETUP.md index 16a0da6e7c..68f5fecb99 100644 --- a/SETUP.md +++ b/SETUP.md @@ -30,14 +30,6 @@ Details and notes about the build process and setup -## Stop building on prepublish when running npm install locally - -``` -"prepublish": "in-publish && npm run build || not-in-publish", -``` - -See https://www.npmjs.com/package/in-publish and https://medium.com/greenkeeper-blog/what-is-npm-s-prepublish-and-why-is-it-so-confusing-a948373e6be1#.u5ht8hn77 - ## Vendored axios `index.js` is the entry point for the node.js package, and it requires a vendored version of Axios from the [contentful-sdk-core](https://github.com/contentful/contentful-sdk-core) package. diff --git a/eslint.config.mjs b/eslint.config.js similarity index 79% rename from eslint.config.mjs rename to eslint.config.js index 0e2a2c7694..d538dc76f1 100644 --- a/eslint.config.mjs +++ b/eslint.config.js @@ -1,12 +1,14 @@ // @ts-check import eslint from '@eslint/js' +import { globalIgnores } from 'eslint/config' import tseslint from 'typescript-eslint' import globals from 'globals' export default tseslint.config( eslint.configs.recommended, tseslint.configs.recommended, + globalIgnores(['test/output-integration/**/*'], 'Ignore public directory with our copied bundle'), { languageOptions: { globals: { @@ -26,6 +28,7 @@ export default tseslint.config( '@typescript-eslint/no-explicit-any': 'warn', '@typescript-eslint/no-unsafe-function-type': 'warn', '@typescript-eslint/no-unused-vars': 'warn', + '@typescript-eslint/no-unused-expressions': 'warn', // Things we won't allow '@typescript-eslint/consistent-type-imports': 'error', '@typescript-eslint/no-this-alias': [ @@ -37,6 +40,13 @@ export default tseslint.config( ], }, }, + // Dist + { + files: ['dist/cjs/**/*'], + rules: { + '@typescript-eslint/no-require-imports': 'off', + }, + }, // Tests { files: ['test/**/*'], @@ -45,5 +55,5 @@ export default tseslint.config( '@typescript-eslint/no-explicit-any': 'warn', '@typescript-eslint/ban-ts-comment': 'warn', }, - } + }, ) diff --git a/lib/adapters/REST/endpoints/access-token.ts b/lib/adapters/REST/endpoints/access-token.ts index 57b1abc66f..7509430f9a 100644 --- a/lib/adapters/REST/endpoints/access-token.ts +++ b/lib/adapters/REST/endpoints/access-token.ts @@ -1,12 +1,12 @@ import type { RawAxiosRequestHeaders } from 'axios' import type { AxiosInstance } from 'contentful-sdk-core' -import type { CollectionProp, GetOrganizationParams, QueryParams } from '../../../common-types' +import type { CollectionProp, GetOrganizationParams, QueryParams } from '../../../common-types.js' import type { CreatePersonalAccessTokenProps, AccessTokenProps, -} from '../../../entities/access-token' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../entities/access-token.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' /** * Retrieves an access token by its unique token ID for the currently authenticated user. diff --git a/lib/adapters/REST/endpoints/ai-action-invocation.ts b/lib/adapters/REST/endpoints/ai-action-invocation.ts index ba24a62d4c..17e6bf9230 100644 --- a/lib/adapters/REST/endpoints/ai-action-invocation.ts +++ b/lib/adapters/REST/endpoints/ai-action-invocation.ts @@ -1,8 +1,8 @@ import type { RawAxiosRequestHeaders } from 'axios' import type { AxiosInstance } from 'contentful-sdk-core' -import type { GetSpaceEnvironmentParams } from '../../../common-types' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +import type { GetSpaceEnvironmentParams } from '../../../common-types.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' export const get: RestEndpoint<'AiActionInvocation', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/ai-action.ts b/lib/adapters/REST/endpoints/ai-action.ts index d1ef85ef26..b0d73d8b09 100644 --- a/lib/adapters/REST/endpoints/ai-action.ts +++ b/lib/adapters/REST/endpoints/ai-action.ts @@ -6,11 +6,11 @@ import type { GetSpaceEnvironmentParams, GetSpaceParams, QueryParams, -} from '../../../common-types' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import type { AiActionProps, CreateAiActionProps } from '../../../entities/ai-action' -import type { AiActionInvocationType } from '../../../entities/ai-action-invocation' +} from '../../../common-types.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import type { AiActionProps, CreateAiActionProps } from '../../../entities/ai-action.js' +import type { AiActionInvocationType } from '../../../entities/ai-action-invocation.js' export const get: RestEndpoint<'AiAction', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/api-key.ts b/lib/adapters/REST/endpoints/api-key.ts index 01d4ca7ef3..734d7732b5 100644 --- a/lib/adapters/REST/endpoints/api-key.ts +++ b/lib/adapters/REST/endpoints/api-key.ts @@ -2,10 +2,10 @@ import type { RawAxiosRequestHeaders } from 'axios' import type { AxiosInstance } from 'contentful-sdk-core' import copy from 'fast-copy' import type { SetOptional } from 'type-fest' -import type { CollectionProp, GetSpaceParams, QueryParams } from '../../../common-types' -import type { ApiKeyProps, CreateApiKeyProps } from '../../../entities/api-key' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +import type { CollectionProp, GetSpaceParams, QueryParams } from '../../../common-types.js' +import type { ApiKeyProps, CreateApiKeyProps } from '../../../entities/api-key.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' export const get: RestEndpoint<'ApiKey', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/app-access-token.ts b/lib/adapters/REST/endpoints/app-access-token.ts index aeceb4a9a2..9cc3c0f387 100644 --- a/lib/adapters/REST/endpoints/app-access-token.ts +++ b/lib/adapters/REST/endpoints/app-access-token.ts @@ -2,10 +2,10 @@ import type { AxiosInstance } from 'contentful-sdk-core' import type { AppAccessTokenProps, CreateAppAccessTokenProps, -} from '../../../entities/app-access-token' -import * as raw from './raw' -import type { RestEndpoint } from '../types' -import type { GetAppInstallationParams } from '../../../common-types' +} from '../../../entities/app-access-token.js' +import * as raw from './raw.js' +import type { RestEndpoint } from '../types.js' +import type { GetAppInstallationParams } from '../../../common-types.js' export const create: RestEndpoint<'AppAccessToken', 'create'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/app-action-call.ts b/lib/adapters/REST/endpoints/app-action-call.ts index f44354bdf5..988703de9d 100644 --- a/lib/adapters/REST/endpoints/app-action-call.ts +++ b/lib/adapters/REST/endpoints/app-action-call.ts @@ -4,17 +4,17 @@ import type { AppActionCallResponse, AppActionCallRawResponseProps, CreateAppActionCallProps, -} from '../../../entities/app-action-call' -import * as raw from './raw' -import type { RestEndpoint } from '../types' +} from '../../../entities/app-action-call.js' +import * as raw from './raw.js' +import type { RestEndpoint } from '../types.js' import type { CreateWithResponseParams, CreateWithResultParams, GetAppActionCallDetailsParams, GetAppActionCallParams, GetAppActionCallParamsWithId, -} from '../../../common-types' -import { isSuccessful, shouldRePoll, waitFor } from '../../../common-utils' +} from '../../../common-types.js' +import { isSuccessful, shouldRePoll, waitFor } from '../../../common-utils.js' export const create: RestEndpoint<'AppActionCall', 'create'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/app-action.ts b/lib/adapters/REST/endpoints/app-action.ts index b29fa5783d..b73ddd056b 100644 --- a/lib/adapters/REST/endpoints/app-action.ts +++ b/lib/adapters/REST/endpoints/app-action.ts @@ -1,15 +1,15 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import * as raw from './raw' -import { normalizeSelect } from './utils' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' import type { CollectionProp, GetAppActionParams, GetAppActionsForEnvParams, GetAppDefinitionParams, QueryParams, -} from '../../../common-types' -import type { RestEndpoint } from '../types' -import type { AppActionProps, CreateAppActionProps } from '../../../entities/app-action' +} from '../../../common-types.js' +import type { RestEndpoint } from '../types.js' +import type { AppActionProps, CreateAppActionProps } from '../../../entities/app-action.js' const getBaseUrl = (params: GetAppDefinitionParams) => `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/actions` diff --git a/lib/adapters/REST/endpoints/app-bundle.ts b/lib/adapters/REST/endpoints/app-bundle.ts index a7b91dc003..2709353141 100644 --- a/lib/adapters/REST/endpoints/app-bundle.ts +++ b/lib/adapters/REST/endpoints/app-bundle.ts @@ -1,14 +1,14 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import * as raw from './raw' -import { normalizeSelect } from './utils' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' import type { CollectionProp, GetAppBundleParams, GetAppDefinitionParams, QueryParams, -} from '../../../common-types' -import type { RestEndpoint } from '../types' -import type { AppBundleProps, CreateAppBundleProps } from '../../../entities/app-bundle' +} from '../../../common-types.js' +import type { RestEndpoint } from '../types.js' +import type { AppBundleProps, CreateAppBundleProps } from '../../../entities/app-bundle.js' const getBaseUrl = (params: GetAppDefinitionParams) => `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/app_bundles` diff --git a/lib/adapters/REST/endpoints/app-definition.ts b/lib/adapters/REST/endpoints/app-definition.ts index 6ce60b5392..b7de87a082 100644 --- a/lib/adapters/REST/endpoints/app-definition.ts +++ b/lib/adapters/REST/endpoints/app-definition.ts @@ -1,21 +1,21 @@ import type { RawAxiosRequestHeaders } from 'axios' import type { AxiosInstance } from 'contentful-sdk-core' -import * as raw from './raw' +import * as raw from './raw.js' import copy from 'fast-copy' -import { normalizeSelect, normalizeSpaceId } from './utils' +import { normalizeSelect, normalizeSpaceId } from './utils.js' import type { GetAppDefinitionParams, GetOrganizationParams, QueryParams, GetAppInstallationsForOrgParams, PaginationQueryParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { AppDefinitionProps, CreateAppDefinitionProps, AppInstallationsForOrganizationProps, -} from '../../../entities/app-definition' -import type { RestEndpoint } from '../types' +} from '../../../entities/app-definition.js' +import type { RestEndpoint } from '../types.js' import type { SetOptional } from 'type-fest' const getBaseUrl = (params: GetOrganizationParams) => diff --git a/lib/adapters/REST/endpoints/app-details.ts b/lib/adapters/REST/endpoints/app-details.ts index 6eb5fc58c7..7bfd85f323 100644 --- a/lib/adapters/REST/endpoints/app-details.ts +++ b/lib/adapters/REST/endpoints/app-details.ts @@ -1,8 +1,8 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import type { AppDetailsProps, CreateAppDetailsProps } from '../../../entities/app-details' -import * as raw from './raw' -import type { RestEndpoint } from '../types' -import type { GetAppDefinitionParams } from '../../../common-types' +import type { AppDetailsProps, CreateAppDetailsProps } from '../../../entities/app-details.js' +import * as raw from './raw.js' +import type { RestEndpoint } from '../types.js' +import type { GetAppDefinitionParams } from '../../../common-types.js' export const get: RestEndpoint<'AppDetails', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/app-event-subscription.ts b/lib/adapters/REST/endpoints/app-event-subscription.ts index 01b129455d..0f1acf7739 100644 --- a/lib/adapters/REST/endpoints/app-event-subscription.ts +++ b/lib/adapters/REST/endpoints/app-event-subscription.ts @@ -2,10 +2,10 @@ import type { AxiosInstance } from 'contentful-sdk-core' import type { CreateAppEventSubscriptionProps, AppEventSubscriptionProps, -} from '../../../entities/app-event-subscription' -import * as raw from './raw' -import type { RestEndpoint } from '../types' -import type { GetAppDefinitionParams } from '../../../common-types' +} from '../../../entities/app-event-subscription.js' +import * as raw from './raw.js' +import type { RestEndpoint } from '../types.js' +import type { GetAppDefinitionParams } from '../../../common-types.js' export const get: RestEndpoint<'AppEventSubscription', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/app-installation.ts b/lib/adapters/REST/endpoints/app-installation.ts index 4919d4265f..b1ce81335e 100644 --- a/lib/adapters/REST/endpoints/app-installation.ts +++ b/lib/adapters/REST/endpoints/app-installation.ts @@ -1,7 +1,7 @@ import type { RawAxiosRequestHeaders } from 'axios' import type { AxiosInstance } from 'contentful-sdk-core' -import * as raw from './raw' -import { normalizeSelect, normalizeSpaceId } from './utils' +import * as raw from './raw.js' +import { normalizeSelect, normalizeSpaceId } from './utils.js' import copy from 'fast-copy' import type { GetAppInstallationParams, @@ -9,14 +9,14 @@ import type { PaginationQueryParams, GetAppInstallationsForOrgParams, SpaceQueryParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { AppInstallationProps, CreateAppInstallationProps, -} from '../../../entities/app-installation' -import type { AppInstallationsForOrganizationProps } from '../../../entities/app-definition' -import type { CollectionProp } from '../../../common-types' -import type { RestEndpoint } from '../types' +} from '../../../entities/app-installation.js' +import type { AppInstallationsForOrganizationProps } from '../../../entities/app-definition.js' +import type { CollectionProp } from '../../../common-types.js' +import type { RestEndpoint } from '../types.js' const getBaseUrl = (params: GetSpaceEnvironmentParams) => `/spaces/${params.spaceId}/environments/${params.environmentId}/app_installations` diff --git a/lib/adapters/REST/endpoints/app-key.ts b/lib/adapters/REST/endpoints/app-key.ts index 7d36802e82..42addab630 100644 --- a/lib/adapters/REST/endpoints/app-key.ts +++ b/lib/adapters/REST/endpoints/app-key.ts @@ -1,8 +1,12 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import type { CreateAppKeyProps, AppKeyProps } from '../../../entities/app-key' -import * as raw from './raw' -import type { RestEndpoint } from '../types' -import type { CollectionProp, GetAppDefinitionParams, GetAppKeyParams } from '../../../common-types' +import type { CreateAppKeyProps, AppKeyProps } from '../../../entities/app-key.js' +import * as raw from './raw.js' +import type { RestEndpoint } from '../types.js' +import type { + CollectionProp, + GetAppDefinitionParams, + GetAppKeyParams, +} from '../../../common-types.js' export const get: RestEndpoint<'AppKey', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/app-signed-request.ts b/lib/adapters/REST/endpoints/app-signed-request.ts index 6a3068f5ba..c2d52df74f 100644 --- a/lib/adapters/REST/endpoints/app-signed-request.ts +++ b/lib/adapters/REST/endpoints/app-signed-request.ts @@ -2,10 +2,10 @@ import type { AxiosInstance } from 'contentful-sdk-core' import type { CreateAppSignedRequestProps, AppSignedRequestProps, -} from '../../../entities/app-signed-request' -import * as raw from './raw' -import type { RestEndpoint } from '../types' -import type { GetAppInstallationParams } from '../../../common-types' +} from '../../../entities/app-signed-request.js' +import * as raw from './raw.js' +import type { RestEndpoint } from '../types.js' +import type { GetAppInstallationParams } from '../../../common-types.js' export const create: RestEndpoint<'AppSignedRequest', 'create'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/app-signing-secret.ts b/lib/adapters/REST/endpoints/app-signing-secret.ts index 442587c150..34a3a355c4 100644 --- a/lib/adapters/REST/endpoints/app-signing-secret.ts +++ b/lib/adapters/REST/endpoints/app-signing-secret.ts @@ -2,10 +2,10 @@ import type { AxiosInstance } from 'contentful-sdk-core' import type { CreateAppSigningSecretProps, AppSigningSecretProps, -} from '../../../entities/app-signing-secret' -import * as raw from './raw' -import type { RestEndpoint } from '../types' -import type { GetAppDefinitionParams } from '../../../common-types' +} from '../../../entities/app-signing-secret.js' +import * as raw from './raw.js' +import type { RestEndpoint } from '../types.js' +import type { GetAppDefinitionParams } from '../../../common-types.js' export const get: RestEndpoint<'AppSigningSecret', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/app-upload.ts b/lib/adapters/REST/endpoints/app-upload.ts index c7bcd0d4e7..bb046c6bb5 100644 --- a/lib/adapters/REST/endpoints/app-upload.ts +++ b/lib/adapters/REST/endpoints/app-upload.ts @@ -1,10 +1,10 @@ import type { AxiosInstance } from 'contentful-sdk-core' import type { Stream } from 'stream' -import * as raw from './raw' -import type { GetAppUploadParams, GetOrganizationParams } from '../../../common-types' -import type { RestEndpoint } from '../types' -import type { AppUploadProps } from '../../../entities/app-upload' -import { getUploadHttpClient } from '../../../upload-http-client' +import * as raw from './raw.js' +import type { GetAppUploadParams, GetOrganizationParams } from '../../../common-types.js' +import type { RestEndpoint } from '../types.js' +import type { AppUploadProps } from '../../../entities/app-upload.js' +import { getUploadHttpClient } from '../../../upload-http-client.js' const getBaseUrl = (params: GetOrganizationParams) => `/organizations/${params.organizationId}/app_uploads` diff --git a/lib/adapters/REST/endpoints/asset-key.ts b/lib/adapters/REST/endpoints/asset-key.ts index f3302996f6..d9b4c79183 100644 --- a/lib/adapters/REST/endpoints/asset-key.ts +++ b/lib/adapters/REST/endpoints/asset-key.ts @@ -1,8 +1,8 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import type { CreateAssetKeyProps, AssetKeyProps } from '../../../entities/asset-key' -import * as raw from './raw' -import type { RestEndpoint } from '../types' -import type { GetSpaceEnvironmentParams } from '../../../common-types' +import type { CreateAssetKeyProps, AssetKeyProps } from '../../../entities/asset-key.js' +import * as raw from './raw.js' +import type { RestEndpoint } from '../types.js' +import type { GetSpaceEnvironmentParams } from '../../../common-types.js' const ASSET_KEY_MAX_LIFETIME = 48 * 60 * 60 diff --git a/lib/adapters/REST/endpoints/asset.ts b/lib/adapters/REST/endpoints/asset.ts index 9188410af1..29758adea6 100644 --- a/lib/adapters/REST/endpoints/asset.ts +++ b/lib/adapters/REST/endpoints/asset.ts @@ -13,19 +13,19 @@ import type { Link, QueryParams, UpdateReleaseAssetParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { AssetFileProp, AssetProcessingForLocale, AssetProps, CreateAssetProps, -} from '../../../entities/asset' -import { getUploadHttpClient } from '../../../upload-http-client' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { create as createUpload } from './upload' -import { normalizeSelect } from './utils' -import * as releaseAsset from './release-asset' +} from '../../../entities/asset.js' +import { getUploadHttpClient } from '../../../upload-http-client.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { create as createUpload } from './upload.js' +import { normalizeSelect } from './utils.js' +import * as releaseAsset from './release-asset.js' export const get: RestEndpoint<'Asset', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/bulk-action.ts b/lib/adapters/REST/endpoints/bulk-action.ts index 6709d733ad..5b183ec130 100644 --- a/lib/adapters/REST/endpoints/bulk-action.ts +++ b/lib/adapters/REST/endpoints/bulk-action.ts @@ -1,5 +1,5 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import type { GetBulkActionParams, GetSpaceEnvironmentParams } from '../../../common-types' +import type { GetBulkActionParams, GetSpaceEnvironmentParams } from '../../../common-types.js' import type { BulkActionProps, BulkActionPublishPayload, @@ -8,9 +8,9 @@ import type { PublishBulkActionV2Payload, UnpublishBulkActionV2Payload, ValidateBulkActionV2Payload, -} from '../../../entities/bulk-action' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../entities/bulk-action.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' export const get: RestEndpoint<'BulkAction', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/comment.ts b/lib/adapters/REST/endpoints/comment.ts index fb118ff369..62c3ca7dcc 100644 --- a/lib/adapters/REST/endpoints/comment.ts +++ b/lib/adapters/REST/endpoints/comment.ts @@ -7,7 +7,7 @@ import type { GetCommentParams, GetSpaceEnvironmentParams, QueryParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { CreateCommentParams, CreateCommentProps, @@ -18,10 +18,10 @@ import type { PlainTextBodyFormat, RichTextBodyFormat, RichTextCommentBodyPayload, -} from '../../../entities/comment' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { normalizeSelect } from './utils' +} from '../../../entities/comment.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' const VERSION_HEADER = 'X-Contentful-Version' const BODY_FORMAT_HEADER = 'x-contentful-comment-body-format' diff --git a/lib/adapters/REST/endpoints/concept-scheme.ts b/lib/adapters/REST/endpoints/concept-scheme.ts index 564ff76df6..a0ad5ba8a6 100644 --- a/lib/adapters/REST/endpoints/concept-scheme.ts +++ b/lib/adapters/REST/endpoints/concept-scheme.ts @@ -8,10 +8,13 @@ import type { GetManyConceptSchemeParams, GetOrganizationParams, UpdateConceptSchemeParams, -} from '../../../common-types' -import type { ConceptSchemeProps, CreateConceptSchemeProps } from '../../../entities/concept-scheme' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../common-types.js' +import type { + ConceptSchemeProps, + CreateConceptSchemeProps, +} from '../../../entities/concept-scheme.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' function basePath(orgId: string) { return `/organizations/${orgId}/taxonomy/concept-schemes` @@ -93,7 +96,7 @@ export const patch: RestEndpoint<'ConceptScheme', 'patch'> = ( export const update: RestEndpoint<'ConceptScheme', 'update'> = ( http: AxiosInstance, params: UpdateConceptSchemeParams, - data: OpPatch[], + data: ConceptSchemeProps, headers?: RawAxiosRequestHeaders, ) => { return raw.patch( @@ -109,22 +112,3 @@ export const update: RestEndpoint<'ConceptScheme', 'update'> = ( }, ) } - -export const updatePut: RestEndpoint<'ConceptScheme', 'updatePut'> = ( - http: AxiosInstance, - params: UpdateConceptSchemeParams, - data: CreateConceptSchemeProps, - headers?: RawAxiosRequestHeaders, -) => { - return raw.put( - http, - `${basePath(params.organizationId)}/${params.conceptSchemeId}`, - data, - { - headers: { - 'X-Contentful-Version': params.version, - ...headers, - }, - }, - ) -} diff --git a/lib/adapters/REST/endpoints/concept.ts b/lib/adapters/REST/endpoints/concept.ts index 58c5532374..cdb7e92fe8 100644 --- a/lib/adapters/REST/endpoints/concept.ts +++ b/lib/adapters/REST/endpoints/concept.ts @@ -10,10 +10,10 @@ import type { GetOrganizationParams, UpdateConceptParams, Link, -} from '../../../common-types' -import type { ConceptProps, CreateConceptProps } from '../../../entities/concept' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../common-types.js' +import type { ConceptProps, CreateConceptProps } from '../../../entities/concept.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' function basePath(organizationId: string) { return `/organizations/${organizationId}/taxonomy/concepts` @@ -58,7 +58,7 @@ export const patch: RestEndpoint<'Concept', 'patch'> = ( export const update: RestEndpoint<'Concept', 'update'> = ( http: AxiosInstance, params: UpdateConceptParams, - data: OpPatch[], + data: CreateConceptProps, headers?: RawAxiosRequestHeaders, ) => { return raw.patch( @@ -75,25 +75,6 @@ export const update: RestEndpoint<'Concept', 'update'> = ( ) } -export const updatePut: RestEndpoint<'Concept', 'updatePut'> = ( - http: AxiosInstance, - params: UpdateConceptParams, - data: CreateConceptProps, - headers?: RawAxiosRequestHeaders, -) => { - return raw.put( - http, - `${basePath(params.organizationId)}/${params.conceptId}`, - data, - { - headers: { - 'X-Contentful-Version': params.version, - ...headers, - }, - }, - ) -} - export const get: RestEndpoint<'Concept', 'get'> = ( http: AxiosInstance, params: GetConceptParams, diff --git a/lib/adapters/REST/endpoints/content-type.ts b/lib/adapters/REST/endpoints/content-type.ts index 782901f167..4bcd79e399 100644 --- a/lib/adapters/REST/endpoints/content-type.ts +++ b/lib/adapters/REST/endpoints/content-type.ts @@ -7,11 +7,11 @@ import type { GetContentTypeParams, GetSpaceEnvironmentParams, QueryParams, -} from '../../../common-types' -import type { ContentTypeProps, CreateContentTypeProps } from '../../../entities/content-type' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { normalizeSelect } from './utils' +} from '../../../common-types.js' +import type { ContentTypeProps, CreateContentTypeProps } from '../../../entities/content-type.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' const getBaseUrl = (params: GetSpaceEnvironmentParams) => `/spaces/${params.spaceId}/environments/${params.environmentId}/content_types` diff --git a/lib/adapters/REST/endpoints/editor-interface.ts b/lib/adapters/REST/endpoints/editor-interface.ts index d08c53b579..0f4d03d9c3 100644 --- a/lib/adapters/REST/endpoints/editor-interface.ts +++ b/lib/adapters/REST/endpoints/editor-interface.ts @@ -7,10 +7,10 @@ import type { GetEditorInterfaceParams, GetSpaceEnvironmentParams, QueryParams, -} from '../../../common-types' -import type { EditorInterfaceProps } from '../../../entities/editor-interface' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../common-types.js' +import type { EditorInterfaceProps } from '../../../entities/editor-interface.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' const getBaseUrl = (params: GetEditorInterfaceParams) => `/spaces/${params.spaceId}/environments/${params.environmentId}/content_types/${params.contentTypeId}/editor_interface` diff --git a/lib/adapters/REST/endpoints/entry.ts b/lib/adapters/REST/endpoints/entry.ts index 5a1e41bf68..ae188ececb 100644 --- a/lib/adapters/REST/endpoints/entry.ts +++ b/lib/adapters/REST/endpoints/entry.ts @@ -14,12 +14,12 @@ import type { PatchReleaseEntryParams, QueryParams, UpdateReleaseEntryParams, -} from '../../../common-types' -import type { CreateEntryProps, EntryProps, EntryReferenceProps } from '../../../entities/entry' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import * as releaseEntry from './release-entry' -import { normalizeSelect } from './utils' +} from '../../../common-types.js' +import type { CreateEntryProps, EntryProps, EntryReferenceProps } from '../../../entities/entry.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import * as releaseEntry from './release-entry.js' +import { normalizeSelect } from './utils.js' export const get: RestEndpoint<'Entry', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/environment-alias.ts b/lib/adapters/REST/endpoints/environment-alias.ts index 12fe3e610e..44fec09296 100644 --- a/lib/adapters/REST/endpoints/environment-alias.ts +++ b/lib/adapters/REST/endpoints/environment-alias.ts @@ -7,13 +7,13 @@ import type { GetSpaceEnvAliasParams, GetSpaceParams, PaginationQueryParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { CreateEnvironmentAliasProps, EnvironmentAliasProps, -} from '../../../entities/environment-alias' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../entities/environment-alias.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' /** * Urls diff --git a/lib/adapters/REST/endpoints/environment-template-installation.ts b/lib/adapters/REST/endpoints/environment-template-installation.ts index c98beb0fbd..612e780d13 100644 --- a/lib/adapters/REST/endpoints/environment-template-installation.ts +++ b/lib/adapters/REST/endpoints/environment-template-installation.ts @@ -1,6 +1,6 @@ import type { RawAxiosRequestHeaders } from 'axios' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' const apiPath = (organizationId: string, ...pathSegments: (number | string)[]) => `/organizations/${organizationId}/environment_templates/` + pathSegments.join('/') diff --git a/lib/adapters/REST/endpoints/environment-template.ts b/lib/adapters/REST/endpoints/environment-template.ts index a48fc3c03d..b72634cd12 100644 --- a/lib/adapters/REST/endpoints/environment-template.ts +++ b/lib/adapters/REST/endpoints/environment-template.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import type { SetOptional } from 'type-fest' -import type { EnvironmentTemplateProps } from '../../../entities/environment-template' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +import type { EnvironmentTemplateProps } from '../../../entities/environment-template.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' import type { RawAxiosRequestHeaders } from 'axios' const apiPath = (organizationId: string, ...pathSegments: (number | string)[]) => diff --git a/lib/adapters/REST/endpoints/environment.ts b/lib/adapters/REST/endpoints/environment.ts index 8b35c27915..d93c4b94c1 100644 --- a/lib/adapters/REST/endpoints/environment.ts +++ b/lib/adapters/REST/endpoints/environment.ts @@ -7,10 +7,10 @@ import type { GetSpaceEnvironmentParams, GetSpaceParams, PaginationQueryParams, -} from '../../../common-types' -import type { CreateEnvironmentProps, EnvironmentProps } from '../../../entities/environment' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../common-types.js' +import type { CreateEnvironmentProps, EnvironmentProps } from '../../../entities/environment.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' export const get: RestEndpoint<'Environment', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/extension.ts b/lib/adapters/REST/endpoints/extension.ts index 915c21dad2..20652894a5 100644 --- a/lib/adapters/REST/endpoints/extension.ts +++ b/lib/adapters/REST/endpoints/extension.ts @@ -7,11 +7,11 @@ import type { GetSpaceEnvironmentParams, GetExtensionParams, QueryParams, -} from '../../../common-types' -import type { CreateExtensionProps, ExtensionProps } from '../../../entities/extension' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { normalizeSelect } from './utils' +} from '../../../common-types.js' +import type { CreateExtensionProps, ExtensionProps } from '../../../entities/extension.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' const getBaseUrl = (params: GetSpaceEnvironmentParams) => `/spaces/${params.spaceId}/environments/${params.environmentId}/extensions` diff --git a/lib/adapters/REST/endpoints/function-log.ts b/lib/adapters/REST/endpoints/function-log.ts index d0ac89df8d..1b027d12a0 100644 --- a/lib/adapters/REST/endpoints/function-log.ts +++ b/lib/adapters/REST/endpoints/function-log.ts @@ -1,12 +1,12 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import * as raw from './raw' +import * as raw from './raw.js' import type { CollectionProp, GetFunctionLogParams, GetManyFunctionLogParams, -} from '../../../common-types' -import type { RestEndpoint } from '../types' -import type { FunctionLogProps } from '../../../entities/function-log' +} from '../../../common-types.js' +import type { RestEndpoint } from '../types.js' +import type { FunctionLogProps } from '../../../entities/function-log.js' const FunctionLogAlphaHeaders = { 'x-contentful-enable-alpha-feature': 'function-logs', diff --git a/lib/adapters/REST/endpoints/function.ts b/lib/adapters/REST/endpoints/function.ts index dac8c033a6..314a229c8c 100644 --- a/lib/adapters/REST/endpoints/function.ts +++ b/lib/adapters/REST/endpoints/function.ts @@ -1,13 +1,13 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import * as raw from './raw' +import * as raw from './raw.js' import type { CollectionProp, GetFunctionForEnvParams, GetFunctionParams, GetManyFunctionParams, -} from '../../../common-types' -import type { RestEndpoint } from '../types' -import type { FunctionProps } from '../../../entities/function' +} from '../../../common-types.js' +import type { RestEndpoint } from '../types.js' +import type { FunctionProps } from '../../../entities/function.js' // Base URL const getManyUrl = (params: GetManyFunctionParams) => diff --git a/lib/adapters/REST/endpoints/http.ts b/lib/adapters/REST/endpoints/http.ts index f6917d4d5f..2c5186a6d6 100644 --- a/lib/adapters/REST/endpoints/http.ts +++ b/lib/adapters/REST/endpoints/http.ts @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ import type { AxiosInstance, RawAxiosRequestConfig } from 'axios' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' export const get: RestEndpoint<'Http', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/index.ts b/lib/adapters/REST/endpoints/index.ts index e40f87d20f..f57860a463 100644 --- a/lib/adapters/REST/endpoints/index.ts +++ b/lib/adapters/REST/endpoints/index.ts @@ -1,71 +1,71 @@ -import * as AiAction from './ai-action' -import * as AiActionInvocation from './ai-action-invocation' -import * as AccessToken from './access-token' -import * as ApiKey from './api-key' -import * as AppAccessToken from './app-access-token' -import * as AppAction from './app-action' -import * as AppActionCall from './app-action-call' -import * as AppBundle from './app-bundle' -import * as AppDefinition from './app-definition' -import * as AppDetails from './app-details' -import * as AppEventSubscription from './app-event-subscription' -import * as AppInstallation from './app-installation' -import * as AppKey from './app-key' -import * as AppSignedRequest from './app-signed-request' -import * as AppSigningSecret from './app-signing-secret' -import * as AppUpload from './app-upload' -import * as Asset from './asset' -import * as AssetKey from './asset-key' -import * as BulkAction from './bulk-action' -import * as Comment from './comment' -import * as Concept from './concept' -import * as ConceptScheme from './concept-scheme' -import * as ContentType from './content-type' -import * as EditorInterface from './editor-interface' -import * as Entry from './entry' -import * as Environment from './environment' -import * as EnvironmentAlias from './environment-alias' -import * as EnvironmentTemplate from './environment-template' -import * as EnvironmentTemplateInstallation from './environment-template-installation' -import * as Extension from './extension' -import * as Function from './function' -import * as FunctionLog from './function-log' -import * as Http from './http' -import * as Locale from './locale' -import * as Organization from './organization' -import * as OrganizationInvitation from './organization-invitation' -import * as OrganizationMembership from './organization-membership' -import * as OAuthApplication from './oauth-application' -import * as PersonalAccessToken from './personal-access-token' -import * as PreviewApiKey from './preview-api-key' -import * as Release from './release' -import * as ReleaseAsset from './release-asset' -import * as ReleaseEntry from './release-entry' -import * as ReleaseAction from './release-action' -import * as Resource from './resource' -import * as ResourceProvider from './resource-provider' -import * as ResourceType from './resource-type' -import * as Role from './role' -import * as ScheduledAction from './scheduled-action' -import * as Snapshot from './snapshot' -import * as Space from './space' -import * as SpaceMember from './space-member' -import * as SpaceMembership from './space-membership' -import * as Tag from './tag' -import * as Task from './task' -import * as Team from './team' -import * as TeamMembership from './team-membership' -import * as TeamSpaceMembership from './team-space-membership' -import * as UIConfig from './ui-config' -import * as Upload from './upload' -import * as UploadCredential from './upload-credentials' -import * as Usage from './usage' -import * as User from './user' -import * as UserUIConfig from './user-ui-config' -import * as Webhook from './webhook' -import * as Workflow from './workflow' -import * as WorkflowDefinition from './workflow-definition' -import * as WorkflowsChangelog from './workflows-changelog' +import * as AiAction from './ai-action.js' +import * as AiActionInvocation from './ai-action-invocation.js' +import * as AccessToken from './access-token.js' +import * as ApiKey from './api-key.js' +import * as AppAccessToken from './app-access-token.js' +import * as AppAction from './app-action.js' +import * as AppActionCall from './app-action-call.js' +import * as AppBundle from './app-bundle.js' +import * as AppDefinition from './app-definition.js' +import * as AppDetails from './app-details.js' +import * as AppEventSubscription from './app-event-subscription.js' +import * as AppInstallation from './app-installation.js' +import * as AppKey from './app-key.js' +import * as AppSignedRequest from './app-signed-request.js' +import * as AppSigningSecret from './app-signing-secret.js' +import * as AppUpload from './app-upload.js' +import * as Asset from './asset.js' +import * as AssetKey from './asset-key.js' +import * as BulkAction from './bulk-action.js' +import * as Comment from './comment.js' +import * as Concept from './concept.js' +import * as ConceptScheme from './concept-scheme.js' +import * as ContentType from './content-type.js' +import * as EditorInterface from './editor-interface.js' +import * as Entry from './entry.js' +import * as Environment from './environment.js' +import * as EnvironmentAlias from './environment-alias.js' +import * as EnvironmentTemplate from './environment-template.js' +import * as EnvironmentTemplateInstallation from './environment-template-installation.js' +import * as Extension from './extension.js' +import * as Function from './function.js' +import * as FunctionLog from './function-log.js' +import * as Http from './http.js' +import * as Locale from './locale.js' +import * as Organization from './organization.js' +import * as OrganizationInvitation from './organization-invitation.js' +import * as OrganizationMembership from './organization-membership.js' +import * as OAuthApplication from './oauth-application.js' +import * as PersonalAccessToken from './personal-access-token.js' +import * as PreviewApiKey from './preview-api-key.js' +import * as Release from './release.js' +import * as ReleaseAction from './release-action.js' +import * as ReleaseAsset from './release-asset.js' +import * as ReleaseEntry from './release-entry.js' +import * as Resource from './resource.js' +import * as ResourceProvider from './resource-provider.js' +import * as ResourceType from './resource-type.js' +import * as Role from './role.js' +import * as ScheduledAction from './scheduled-action.js' +import * as Snapshot from './snapshot.js' +import * as Space from './space.js' +import * as SpaceMember from './space-member.js' +import * as SpaceMembership from './space-membership.js' +import * as Tag from './tag.js' +import * as Task from './task.js' +import * as Team from './team.js' +import * as TeamMembership from './team-membership.js' +import * as TeamSpaceMembership from './team-space-membership.js' +import * as UIConfig from './ui-config.js' +import * as Upload from './upload.js' +import * as UploadCredential from './upload-credentials.js' +import * as Usage from './usage.js' +import * as User from './user.js' +import * as UserUIConfig from './user-ui-config.js' +import * as Webhook from './webhook.js' +import * as Workflow from './workflow.js' +import * as WorkflowDefinition from './workflow-definition.js' +import * as WorkflowsChangelog from './workflows-changelog.js' export default { AiAction, diff --git a/lib/adapters/REST/endpoints/locale.ts b/lib/adapters/REST/endpoints/locale.ts index 1c41e0551f..ada9283fdc 100644 --- a/lib/adapters/REST/endpoints/locale.ts +++ b/lib/adapters/REST/endpoints/locale.ts @@ -2,11 +2,15 @@ import type { RawAxiosRequestHeaders } from 'axios' import type { AxiosInstance } from 'contentful-sdk-core' import copy from 'fast-copy' import type { SetOptional } from 'type-fest' -import type { CollectionProp, GetSpaceEnvironmentParams, QueryParams } from '../../../common-types' -import type { CreateLocaleProps, LocaleProps } from '../../../entities/locale' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { normalizeSelect } from './utils' +import type { + CollectionProp, + GetSpaceEnvironmentParams, + QueryParams, +} from '../../../common-types.js' +import type { CreateLocaleProps, LocaleProps } from '../../../entities/locale.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' export const get: RestEndpoint<'Locale', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/oauth-application.ts b/lib/adapters/REST/endpoints/oauth-application.ts index 7b65b1c177..87bb478d46 100644 --- a/lib/adapters/REST/endpoints/oauth-application.ts +++ b/lib/adapters/REST/endpoints/oauth-application.ts @@ -5,14 +5,14 @@ import type { GetOAuthApplicationParams, GetUserParams, QueryParams, -} from '../../../common-types' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../common-types.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' import type { OAuthApplicationProps, CreateOAuthApplicationProps, UpdateOAuthApplicationProps, -} from '../../../entities/oauth-application' +} from '../../../entities/oauth-application.js' /** * Retrieves details of a specific OAuth application. by its unique user ID and oauth application ID. diff --git a/lib/adapters/REST/endpoints/organization-invitation.ts b/lib/adapters/REST/endpoints/organization-invitation.ts index 62a8ca4af6..e3ca17188c 100644 --- a/lib/adapters/REST/endpoints/organization-invitation.ts +++ b/lib/adapters/REST/endpoints/organization-invitation.ts @@ -3,9 +3,9 @@ import type { AxiosInstance } from 'contentful-sdk-core' import type { CreateOrganizationInvitationProps, OrganizationInvitationProps, -} from '../../../entities/organization-invitation' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../entities/organization-invitation.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' const OrganizationUserManagementAlphaHeaders = { 'x-contentful-enable-alpha-feature': 'organization-user-management-api', diff --git a/lib/adapters/REST/endpoints/organization-membership.ts b/lib/adapters/REST/endpoints/organization-membership.ts index e5218da15c..3ac4778431 100644 --- a/lib/adapters/REST/endpoints/organization-membership.ts +++ b/lib/adapters/REST/endpoints/organization-membership.ts @@ -7,10 +7,10 @@ import type { GetOrganizationMembershipParams, GetOrganizationParams, QueryParams, -} from '../../../common-types' -import type { OrganizationMembershipProps } from '../../../entities/organization-membership' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../common-types.js' +import type { OrganizationMembershipProps } from '../../../entities/organization-membership.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' const getBaseUrl = (params: GetOrganizationParams) => `/organizations/${params.organizationId}/organization_memberships` diff --git a/lib/adapters/REST/endpoints/organization.ts b/lib/adapters/REST/endpoints/organization.ts index b47726e0de..e86f4c7c79 100644 --- a/lib/adapters/REST/endpoints/organization.ts +++ b/lib/adapters/REST/endpoints/organization.ts @@ -3,10 +3,10 @@ import type { CollectionProp, GetOrganizationParams, PaginationQueryParams, -} from '../../../common-types' -import type { OrganizationProps } from '../../../entities/organization' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../common-types.js' +import type { OrganizationProps } from '../../../entities/organization.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' export const getMany: RestEndpoint<'Organization', 'getMany'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/personal-access-token.ts b/lib/adapters/REST/endpoints/personal-access-token.ts index 29e99f5ef9..c67ac2960e 100644 --- a/lib/adapters/REST/endpoints/personal-access-token.ts +++ b/lib/adapters/REST/endpoints/personal-access-token.ts @@ -1,12 +1,12 @@ import type { RawAxiosRequestHeaders } from 'axios' import type { AxiosInstance } from 'contentful-sdk-core' -import type { CollectionProp, QueryParams } from '../../../common-types' +import type { CollectionProp, QueryParams } from '../../../common-types.js' import type { CreatePersonalAccessTokenProps, PersonalAccessTokenProps, -} from '../../../entities/personal-access-token' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../entities/personal-access-token.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' /** * @deprecated use `access-token.get` instead `personal-access-token.get` diff --git a/lib/adapters/REST/endpoints/preview-api-key.ts b/lib/adapters/REST/endpoints/preview-api-key.ts index 578582a4e8..d7c7adfa16 100644 --- a/lib/adapters/REST/endpoints/preview-api-key.ts +++ b/lib/adapters/REST/endpoints/preview-api-key.ts @@ -1,8 +1,8 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import type { CollectionProp, GetSpaceParams, QueryParams } from '../../../common-types' -import type { PreviewApiKeyProps } from '../../../entities/preview-api-key' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +import type { CollectionProp, GetSpaceParams, QueryParams } from '../../../common-types.js' +import type { PreviewApiKeyProps } from '../../../entities/preview-api-key.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' export const get: RestEndpoint<'PreviewApiKey', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/release-action.ts b/lib/adapters/REST/endpoints/release-action.ts index ac110607b2..97c814ac62 100644 --- a/lib/adapters/REST/endpoints/release-action.ts +++ b/lib/adapters/REST/endpoints/release-action.ts @@ -1,8 +1,8 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import type { GetReleaseParams, GetSpaceEnvironmentParams } from '../../../common-types' -import type { ReleaseActionQueryOptions } from '../../../entities/release-action' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +import type { GetReleaseParams, GetSpaceEnvironmentParams } from '../../../common-types.js' +import type { ReleaseActionQueryOptions } from '../../../entities/release-action.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' export const get: RestEndpoint<'ReleaseAction', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/release-asset.ts b/lib/adapters/REST/endpoints/release-asset.ts index a9dc001153..17a175ed89 100644 --- a/lib/adapters/REST/endpoints/release-asset.ts +++ b/lib/adapters/REST/endpoints/release-asset.ts @@ -14,18 +14,18 @@ import type { ProcessForLocaleReleaseAssetParams, QueryParams, UpdateReleaseAssetParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { AssetFileProp, AssetProcessingForLocale, AssetProps, CreateAssetProps, -} from '../../../entities/asset' -import { getUploadHttpClient } from '../../../upload-http-client' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { create as createUpload } from './upload' -import { normalizeSelect } from './utils' +} from '../../../entities/asset.js' +import { getUploadHttpClient } from '../../../upload-http-client.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { create as createUpload } from './upload.js' +import { normalizeSelect } from './utils.js' type ReleaseAssetProps = AssetProps<{ release: Link<'Release'> }> diff --git a/lib/adapters/REST/endpoints/release-entry.ts b/lib/adapters/REST/endpoints/release-entry.ts index 6ea784a9fb..7fa2885e9c 100644 --- a/lib/adapters/REST/endpoints/release-entry.ts +++ b/lib/adapters/REST/endpoints/release-entry.ts @@ -14,11 +14,11 @@ import type { PatchReleaseEntryParams, QueryParams, UpdateReleaseEntryParams, -} from '../../../common-types' -import type { CreateEntryProps, EntryProps } from '../../../entities/entry' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { normalizeSelect } from './utils' +} from '../../../common-types.js' +import type { CreateEntryProps, EntryProps } from '../../../entities/entry.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' type ReleaseEntryProps = EntryProps }> diff --git a/lib/adapters/REST/endpoints/release.ts b/lib/adapters/REST/endpoints/release.ts index 921c94dad7..7406b6ae46 100644 --- a/lib/adapters/REST/endpoints/release.ts +++ b/lib/adapters/REST/endpoints/release.ts @@ -1,14 +1,14 @@ import type { RawAxiosRequestHeaders } from 'axios' import type { AxiosInstance } from 'contentful-sdk-core' -import type { GetReleaseParams, ReleaseEnvironmentParams } from '../../../common-types' +import type { GetReleaseParams, ReleaseEnvironmentParams } from '../../../common-types.js' import type { ReleasePayload, ReleasePayloadV2, ReleaseQueryOptions, ReleaseValidatePayload, -} from '../../../entities/release' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../entities/release.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' export const get: RestEndpoint<'Release', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/resource-provider.ts b/lib/adapters/REST/endpoints/resource-provider.ts index df00f8bac6..eefe1955d7 100644 --- a/lib/adapters/REST/endpoints/resource-provider.ts +++ b/lib/adapters/REST/endpoints/resource-provider.ts @@ -1,12 +1,12 @@ import type { RawAxiosRequestHeaders } from 'axios' import type { AxiosInstance } from 'contentful-sdk-core' -import * as raw from './raw' -import type { GetResourceProviderParams } from '../../../common-types' -import type { RestEndpoint } from '../types' +import * as raw from './raw.js' +import type { GetResourceProviderParams } from '../../../common-types.js' +import type { RestEndpoint } from '../types.js' import type { ResourceProviderProps, UpsertResourceProviderProps, -} from '../../../entities/resource-provider' +} from '../../../entities/resource-provider.js' const getBaseUrl = (params: GetResourceProviderParams) => `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/resource_provider` diff --git a/lib/adapters/REST/endpoints/resource-type.ts b/lib/adapters/REST/endpoints/resource-type.ts index 310034fb16..cce2cab52b 100644 --- a/lib/adapters/REST/endpoints/resource-type.ts +++ b/lib/adapters/REST/endpoints/resource-type.ts @@ -1,6 +1,6 @@ import type { RawAxiosRequestHeaders } from 'axios' import type { AxiosInstance } from 'contentful-sdk-core' -import * as raw from './raw' +import * as raw from './raw.js' import copy from 'fast-copy' import type { BasicCursorPaginationOptions, @@ -8,13 +8,13 @@ import type { GetResourceTypeParams, CollectionProp, GetSpaceEnvironmentParams, -} from '../../../common-types' -import type { RestEndpoint } from '../types' +} from '../../../common-types.js' +import type { RestEndpoint } from '../types.js' import type { ResourceTypeProps, SpaceEnvResourceTypeProps, UpsertResourceTypeProps, -} from '../../../entities/resource-type' +} from '../../../entities/resource-type.js' const getBaseUrl = ( params: GetResourceTypeParams | Omit, diff --git a/lib/adapters/REST/endpoints/resource.ts b/lib/adapters/REST/endpoints/resource.ts index 7252f3881f..fea0fc2f87 100644 --- a/lib/adapters/REST/endpoints/resource.ts +++ b/lib/adapters/REST/endpoints/resource.ts @@ -1,8 +1,8 @@ -import type { CursorPaginatedCollectionProp, GetResourceParams } from '../../../common-types' -import type { RestEndpoint } from '../types' +import type { CursorPaginatedCollectionProp, GetResourceParams } from '../../../common-types.js' +import type { RestEndpoint } from '../types.js' import type { AxiosInstance } from 'contentful-sdk-core' -import * as raw from './raw' -import type { ResourceProps, ResourceQueryOptions } from '../../../entities/resource' +import * as raw from './raw.js' +import type { ResourceProps, ResourceQueryOptions } from '../../../entities/resource.js' const getBaseUrl = (params: GetResourceParams) => `/spaces/${params.spaceId}/environments/${params.environmentId}/resource_types/${params.resourceTypeId}/resources` diff --git a/lib/adapters/REST/endpoints/role.ts b/lib/adapters/REST/endpoints/role.ts index b5f1b0ac0b..fec851313c 100644 --- a/lib/adapters/REST/endpoints/role.ts +++ b/lib/adapters/REST/endpoints/role.ts @@ -7,11 +7,11 @@ import type { GetOrganizationParams, GetSpaceParams, QueryParams, -} from '../../../common-types' -import type { CreateRoleProps, RoleProps } from '../../../entities/role' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { normalizeSelect } from './utils' +} from '../../../common-types.js' +import type { CreateRoleProps, RoleProps } from '../../../entities/role.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' export const get: RestEndpoint<'Role', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/scheduled-action.ts b/lib/adapters/REST/endpoints/scheduled-action.ts index ee284f9463..95e49dd8ac 100644 --- a/lib/adapters/REST/endpoints/scheduled-action.ts +++ b/lib/adapters/REST/endpoints/scheduled-action.ts @@ -4,11 +4,11 @@ import type { GetSpaceEnvironmentParams, GetSpaceParams, QueryParams, -} from '../../../common-types' -import type { ScheduledActionProps } from '../../../entities/scheduled-action' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { normalizeSelect } from './utils' +} from '../../../common-types.js' +import type { ScheduledActionProps } from '../../../entities/scheduled-action.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' export const get: RestEndpoint<'ScheduledAction', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/snapshot.ts b/lib/adapters/REST/endpoints/snapshot.ts index 3f6cc98e16..f421d10e50 100644 --- a/lib/adapters/REST/endpoints/snapshot.ts +++ b/lib/adapters/REST/endpoints/snapshot.ts @@ -5,13 +5,13 @@ import type { GetSnapshotForEntryParams, KeyValueMap, QueryParams, -} from '../../../common-types' -import type { ContentTypeProps } from '../../../entities/content-type' -import type { EntryProps } from '../../../entities/entry' -import type { SnapshotProps } from '../../../entities/snapshot' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { normalizeSelect } from './utils' +} from '../../../common-types.js' +import type { ContentTypeProps } from '../../../entities/content-type.js' +import type { EntryProps } from '../../../entities/entry.js' +import type { SnapshotProps } from '../../../entities/snapshot.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' const getBaseEntryUrl = (params: GetSnapshotForEntryParams) => `/spaces/${params.spaceId}/environments/${params.environmentId}/entries/${params.entryId}/snapshots` diff --git a/lib/adapters/REST/endpoints/space-member.ts b/lib/adapters/REST/endpoints/space-member.ts index 2b2b1ecfde..b1185982ba 100644 --- a/lib/adapters/REST/endpoints/space-member.ts +++ b/lib/adapters/REST/endpoints/space-member.ts @@ -1,8 +1,8 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import type { CollectionProp, GetSpaceParams, QueryParams } from '../../../common-types' -import type { SpaceMemberProps } from '../../../entities/space-member' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +import type { CollectionProp, GetSpaceParams, QueryParams } from '../../../common-types.js' +import type { SpaceMemberProps } from '../../../entities/space-member.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' export const get: RestEndpoint<'SpaceMember', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/space-membership.ts b/lib/adapters/REST/endpoints/space-membership.ts index b6f486ba2a..13ca31e9da 100644 --- a/lib/adapters/REST/endpoints/space-membership.ts +++ b/lib/adapters/REST/endpoints/space-membership.ts @@ -8,13 +8,13 @@ import type { GetSpaceMembershipProps, GetSpaceParams, QueryParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { CreateSpaceMembershipProps, SpaceMembershipProps, -} from '../../../entities/space-membership' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../entities/space-membership.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' function spaceMembershipDeprecationWarning() { console.warn( diff --git a/lib/adapters/REST/endpoints/space.ts b/lib/adapters/REST/endpoints/space.ts index 924fdc5c63..435607a447 100644 --- a/lib/adapters/REST/endpoints/space.ts +++ b/lib/adapters/REST/endpoints/space.ts @@ -7,10 +7,10 @@ import type { GetOrganizationParams, GetSpaceParams, QueryParams, -} from '../../../common-types' -import type { SpaceProps } from '../../../entities/space' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../common-types.js' +import type { SpaceProps } from '../../../entities/space.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' export const get: RestEndpoint<'Space', 'get'> = (http: AxiosInstance, params: GetSpaceParams) => raw.get(http, `/spaces/${params.spaceId}`) diff --git a/lib/adapters/REST/endpoints/tag.ts b/lib/adapters/REST/endpoints/tag.ts index 1b71512142..da301c8792 100644 --- a/lib/adapters/REST/endpoints/tag.ts +++ b/lib/adapters/REST/endpoints/tag.ts @@ -7,15 +7,15 @@ import type { GetSpaceEnvironmentParams, GetTagParams, QueryParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { CreateTagProps, DeleteTagParams, TagProps, UpdateTagProps, -} from '../../../entities/tag' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../entities/tag.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' const getBaseUrl = (params: GetSpaceEnvironmentParams) => `/spaces/${params.spaceId}/environments/${params.environmentId}/tags` diff --git a/lib/adapters/REST/endpoints/task.ts b/lib/adapters/REST/endpoints/task.ts index 08f18dbf80..f24d0b1be5 100644 --- a/lib/adapters/REST/endpoints/task.ts +++ b/lib/adapters/REST/endpoints/task.ts @@ -7,17 +7,17 @@ import type { GetTaskParams, PaginationQueryOptions, QueryParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { CreateTaskParams, CreateTaskProps, DeleteTaskParams, TaskProps, UpdateTaskProps, -} from '../../../entities/task' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { normalizeSelect } from './utils' +} from '../../../entities/task.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' const getBaseUrl = (params: GetEntryParams) => `/spaces/${params.spaceId}/environments/${params.environmentId}/entries/${params.entryId}/tasks` diff --git a/lib/adapters/REST/endpoints/team-membership.ts b/lib/adapters/REST/endpoints/team-membership.ts index 240609e483..7a2370cbe8 100644 --- a/lib/adapters/REST/endpoints/team-membership.ts +++ b/lib/adapters/REST/endpoints/team-membership.ts @@ -8,14 +8,14 @@ import type { GetTeamMembershipParams, GetTeamParams, QueryParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { CreateTeamMembershipProps, TeamMembershipProps, -} from '../../../entities/team-membership' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { normalizeSelect } from './utils' +} from '../../../entities/team-membership.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' const getBaseUrl = (params: GetTeamParams) => `/organizations/${params.organizationId}/teams/${params.teamId}/team_memberships` diff --git a/lib/adapters/REST/endpoints/team-space-membership.ts b/lib/adapters/REST/endpoints/team-space-membership.ts index 8bf0e10755..f69a4b5d9a 100644 --- a/lib/adapters/REST/endpoints/team-space-membership.ts +++ b/lib/adapters/REST/endpoints/team-space-membership.ts @@ -8,13 +8,13 @@ import type { GetSpaceParams, GetTeamSpaceMembershipParams, QueryParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { CreateTeamSpaceMembershipProps, TeamSpaceMembershipProps, -} from '../../../entities/team-space-membership' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../entities/team-space-membership.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' const getBaseUrl = (params: GetSpaceParams) => `/spaces/${params.spaceId}/team_space_memberships` diff --git a/lib/adapters/REST/endpoints/team.ts b/lib/adapters/REST/endpoints/team.ts index 53c8f4155d..22442549b2 100644 --- a/lib/adapters/REST/endpoints/team.ts +++ b/lib/adapters/REST/endpoints/team.ts @@ -8,11 +8,11 @@ import type { GetSpaceParams, GetTeamParams, QueryParams, -} from '../../../common-types' -import type { CreateTeamProps, TeamProps } from '../../../entities/team' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { normalizeSelect } from './utils' +} from '../../../common-types.js' +import type { CreateTeamProps, TeamProps } from '../../../entities/team.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' const getBaseUrl = (params: GetOrganizationParams) => `/organizations/${params.organizationId}/teams` diff --git a/lib/adapters/REST/endpoints/ui-config.ts b/lib/adapters/REST/endpoints/ui-config.ts index c1f6b0c43a..2a1a65a2eb 100644 --- a/lib/adapters/REST/endpoints/ui-config.ts +++ b/lib/adapters/REST/endpoints/ui-config.ts @@ -1,9 +1,9 @@ import type { AxiosInstance } from 'contentful-sdk-core' import type { SetOptional } from 'type-fest' -import type { GetUIConfigParams } from '../../../common-types' -import type { UIConfigProps } from '../../../entities/ui-config' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +import type { GetUIConfigParams } from '../../../common-types.js' +import type { UIConfigProps } from '../../../entities/ui-config.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' import copy from 'fast-copy' const getUrl = (params: GetUIConfigParams) => diff --git a/lib/adapters/REST/endpoints/upload-credentials.ts b/lib/adapters/REST/endpoints/upload-credentials.ts index 0e4d64d9a8..d22b3ace0f 100644 --- a/lib/adapters/REST/endpoints/upload-credentials.ts +++ b/lib/adapters/REST/endpoints/upload-credentials.ts @@ -1,8 +1,8 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import type { GetSpaceEnvironmentParams } from '../../../common-types' -import { getUploadHttpClient } from '../../../upload-http-client' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +import type { GetSpaceEnvironmentParams } from '../../../common-types.js' +import { getUploadHttpClient } from '../../../upload-http-client.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' const getBaseUrl = (params: GetSpaceEnvironmentParams) => { return `/spaces/${params.spaceId}/environments/${ diff --git a/lib/adapters/REST/endpoints/upload.ts b/lib/adapters/REST/endpoints/upload.ts index dfe63b8906..f6e72f8d12 100644 --- a/lib/adapters/REST/endpoints/upload.ts +++ b/lib/adapters/REST/endpoints/upload.ts @@ -3,10 +3,10 @@ import type { Stream } from 'stream' import type { GetSpaceEnvironmentParams, GetSpaceEnvironmentUploadParams, -} from '../../../common-types' -import { getUploadHttpClient } from '../../../upload-http-client' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../common-types.js' +import { getUploadHttpClient } from '../../../upload-http-client.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' const getBaseUploadUrl = (params: GetSpaceEnvironmentParams) => { const spacePath = `/spaces/${params.spaceId}/uploads` diff --git a/lib/adapters/REST/endpoints/usage.ts b/lib/adapters/REST/endpoints/usage.ts index 3f1e29f9b3..dde8b98184 100644 --- a/lib/adapters/REST/endpoints/usage.ts +++ b/lib/adapters/REST/endpoints/usage.ts @@ -1,14 +1,14 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import type { CollectionProp, QueryParams } from '../../../common-types' -import type { UsageProps } from '../../../entities/usage' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +import type { CollectionProp, QueryParams } from '../../../common-types.js' +import type { UsageProps } from '../../../entities/usage.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' export const getManyForSpace: RestEndpoint<'Usage', 'getManyForSpace'> = ( http: AxiosInstance, params: { organizationId: string } & QueryParams, ) => { - return raw.get>( + return raw.get>>( http, `/organizations/${params.organizationId}/space_periodic_usages`, { @@ -21,7 +21,7 @@ export const getManyForOrganization: RestEndpoint<'Usage', 'getManyForOrganizati http: AxiosInstance, params: { organizationId: string } & QueryParams, ) => { - return raw.get>( + return raw.get>>( http, `/organizations/${params.organizationId}/organization_periodic_usages`, { diff --git a/lib/adapters/REST/endpoints/user-ui-config.ts b/lib/adapters/REST/endpoints/user-ui-config.ts index 79af566686..0e6bf965a5 100644 --- a/lib/adapters/REST/endpoints/user-ui-config.ts +++ b/lib/adapters/REST/endpoints/user-ui-config.ts @@ -1,10 +1,10 @@ import type { AxiosInstance } from 'contentful-sdk-core' import copy from 'fast-copy' import type { SetOptional } from 'type-fest' -import type { GetUserUIConfigParams } from '../../../common-types' -import type { UserUIConfigProps } from '../../../entities/user-ui-config' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +import type { GetUserUIConfigParams } from '../../../common-types.js' +import type { UserUIConfigProps } from '../../../entities/user-ui-config.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' const getUrl = (params: GetUserUIConfigParams) => `/spaces/${params.spaceId}/environments/${params.environmentId}/ui_config/me` diff --git a/lib/adapters/REST/endpoints/user.ts b/lib/adapters/REST/endpoints/user.ts index 5a1c2c2fdb..e1b1d24088 100644 --- a/lib/adapters/REST/endpoints/user.ts +++ b/lib/adapters/REST/endpoints/user.ts @@ -4,10 +4,10 @@ import type { GetOrganizationParams, GetSpaceParams, QueryParams, -} from '../../../common-types' -import type { UserProps } from '../../../entities/user' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../common-types.js' +import type { UserProps } from '../../../entities/user.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' export const getForSpace: RestEndpoint<'User', 'getForSpace'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/utils.ts b/lib/adapters/REST/endpoints/utils.ts index 6c4e3679b1..81e6e8759b 100644 --- a/lib/adapters/REST/endpoints/utils.ts +++ b/lib/adapters/REST/endpoints/utils.ts @@ -1,4 +1,4 @@ -import type { QueryOptions } from '../../../common-types' +import type { QueryOptions } from '../../../common-types.js' export function normalizeSelect(query?: QueryOptions): QueryOptions | undefined { if (query && query.select && !/sys/i.test(query.select)) { diff --git a/lib/adapters/REST/endpoints/webhook.ts b/lib/adapters/REST/endpoints/webhook.ts index 34e916d223..39d8910762 100644 --- a/lib/adapters/REST/endpoints/webhook.ts +++ b/lib/adapters/REST/endpoints/webhook.ts @@ -7,7 +7,7 @@ import type { GetWebhookCallDetailsUrl, GetWebhookParams, QueryParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { CreateWebhooksProps, UpsertWebhookSigningSecretPayload, @@ -15,10 +15,10 @@ import type { WebhookRetryPolicyPayload, WebhookRetryPolicyProps, WebhookSigningSecretProps, -} from '../../../entities/webhook' -import type { RestEndpoint } from '../types' -import * as raw from './raw' -import { normalizeSelect } from './utils' +} from '../../../entities/webhook.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' +import { normalizeSelect } from './utils.js' const getBaseUrl = (params: GetSpaceParams) => `/spaces/${params.spaceId}/webhook_definitions` diff --git a/lib/adapters/REST/endpoints/workflow-definition.ts b/lib/adapters/REST/endpoints/workflow-definition.ts index 0ccbd424c0..543951bf62 100644 --- a/lib/adapters/REST/endpoints/workflow-definition.ts +++ b/lib/adapters/REST/endpoints/workflow-definition.ts @@ -5,7 +5,7 @@ import type { CollectionProp, GetSpaceEnvironmentParams, GetWorkflowDefinitionParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { CreateWorkflowDefinitionParams, CreateWorkflowDefinitionProps, @@ -13,9 +13,9 @@ import type { UpdateWorkflowDefinitionProps, WorkflowDefinitionProps, WorkflowDefinitionQueryOptions, -} from '../../../entities/workflow-definition' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../entities/workflow-definition.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' const getBaseUrl = (params: GetSpaceEnvironmentParams) => `/spaces/${params.spaceId}/environments/${params.environmentId}/workflow_definitions` diff --git a/lib/adapters/REST/endpoints/workflow.ts b/lib/adapters/REST/endpoints/workflow.ts index c4152b51b8..b9a79db0b6 100644 --- a/lib/adapters/REST/endpoints/workflow.ts +++ b/lib/adapters/REST/endpoints/workflow.ts @@ -5,7 +5,7 @@ import type { CollectionProp, GetSpaceEnvironmentParams, GetWorkflowParams, -} from '../../../common-types' +} from '../../../common-types.js' import type { CompleteWorkflowParams, CreateWorkflowParams, @@ -15,9 +15,9 @@ import type { UpdateWorkflowProps, WorkflowProps, WorkflowQueryOptions, -} from '../../../entities/workflow' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../entities/workflow.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' const getBaseUrl = (params: GetSpaceEnvironmentParams) => `/spaces/${params.spaceId}/environments/${params.environmentId}/workflows` diff --git a/lib/adapters/REST/endpoints/workflows-changelog.ts b/lib/adapters/REST/endpoints/workflows-changelog.ts index 239d799311..6dcdcc18ac 100644 --- a/lib/adapters/REST/endpoints/workflows-changelog.ts +++ b/lib/adapters/REST/endpoints/workflows-changelog.ts @@ -1,11 +1,11 @@ import type { AxiosInstance, RawAxiosRequestHeaders } from 'axios' -import type { CollectionProp, GetSpaceEnvironmentParams } from '../../../common-types' +import type { CollectionProp, GetSpaceEnvironmentParams } from '../../../common-types.js' import type { WorkflowsChangelogQueryOptions, WorkflowsChangelogEntryProps, -} from '../../../entities/workflows-changelog-entry' -import type { RestEndpoint } from '../types' -import * as raw from './raw' +} from '../../../entities/workflows-changelog-entry.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.js' const getBaseUrl = (params: GetSpaceEnvironmentParams) => `/spaces/${params.spaceId}/environments/${params.environmentId}/workflows_changelog` diff --git a/lib/adapters/REST/make-request.ts b/lib/adapters/REST/make-request.ts index 6e6d599ed1..2bfb75e599 100644 --- a/lib/adapters/REST/make-request.ts +++ b/lib/adapters/REST/make-request.ts @@ -1,8 +1,8 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import type { MakeRequestOptions, MakeRequestPayload } from '../../common-types' +import type { MakeRequestOptions, MakeRequestPayload } from '../../common-types.js' import type { OpPatch } from 'json-patch' import type { RawAxiosRequestHeaders } from 'axios' -import endpoints from './endpoints' +import endpoints from './endpoints/index.js' type makeAxiosRequest = MakeRequestOptions & { axiosInstance: AxiosInstance diff --git a/lib/adapters/REST/rest-adapter.ts b/lib/adapters/REST/rest-adapter.ts index 93f01788f5..76056fc253 100644 --- a/lib/adapters/REST/rest-adapter.ts +++ b/lib/adapters/REST/rest-adapter.ts @@ -2,8 +2,8 @@ import axios from 'axios' import type { AxiosInstance, CreateHttpClientParams } from 'contentful-sdk-core' import { createHttpClient } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { Adapter, MakeRequestOptions } from '../../common-types' -import { makeRequest } from './make-request' +import type { Adapter, MakeRequestOptions } from '../../common-types.js' +import { makeRequest } from './make-request.js' export type RestAdapterParams = CreateHttpClientParams & { /** diff --git a/lib/adapters/REST/types.ts b/lib/adapters/REST/types.ts index aee82370b5..9644375a5c 100644 --- a/lib/adapters/REST/types.ts +++ b/lib/adapters/REST/types.ts @@ -1,5 +1,5 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import type { MRActions, MROpts, MRReturn } from '../../common-types' +import type { MRActions, MROpts, MRReturn } from '../../common-types.js' /** * @private diff --git a/lib/common-types.ts b/lib/common-types.ts index 76b6b96261..8f62b8f3fe 100644 --- a/lib/common-types.ts +++ b/lib/common-types.ts @@ -4,39 +4,42 @@ import type { Stream } from 'stream' import type { AccessTokenProps, CreatePersonalAccessTokenProps as CreatePATProps, -} from './entities/access-token' -import type { ApiKeyProps, CreateApiKeyProps } from './entities/api-key' -import type { AppActionProps, CreateAppActionProps } from './entities/app-action' +} from './entities/access-token.js' +import type { ApiKeyProps, CreateApiKeyProps } from './entities/api-key.js' +import type { AppActionProps, CreateAppActionProps } from './entities/app-action.js' import type { AppActionCallProps, AppActionCallResponse, AppActionCallRawResponseProps, CreateAppActionCallProps, -} from './entities/app-action-call' -import type { AppBundleProps, CreateAppBundleProps } from './entities/app-bundle' +} from './entities/app-action-call.js' +import type { AppBundleProps, CreateAppBundleProps } from './entities/app-bundle.js' import type { AppDefinitionProps, AppInstallationsForOrganizationProps, CreateAppDefinitionProps, -} from './entities/app-definition' -import type { AppDetailsProps, CreateAppDetailsProps } from './entities/app-details' -import type { AppInstallationProps, CreateAppInstallationProps } from './entities/app-installation' +} from './entities/app-definition.js' +import type { AppDetailsProps, CreateAppDetailsProps } from './entities/app-details.js' +import type { + AppInstallationProps, + CreateAppInstallationProps, +} from './entities/app-installation.js' import type { AppSignedRequestProps, CreateAppSignedRequestProps, -} from './entities/app-signed-request' +} from './entities/app-signed-request.js' import type { AppSigningSecretProps, CreateAppSigningSecretProps, -} from './entities/app-signing-secret' -import type { AppUploadProps } from './entities/app-upload' +} from './entities/app-signing-secret.js' +import type { AppUploadProps } from './entities/app-upload.js' import type { AssetFileProp, AssetProcessingForLocale, AssetProps, CreateAssetProps, -} from './entities/asset' -import type { AssetKeyProps, CreateAssetKeyProps } from './entities/asset-key' +} from './entities/asset.js' +import type { AssetKeyProps, CreateAssetKeyProps } from './entities/asset-key.js' import type { BulkActionProps, BulkActionPublishPayload, @@ -46,7 +49,7 @@ import type { PublishBulkActionV2Payload, UnpublishBulkActionV2Payload, ValidateBulkActionV2Payload, -} from './entities/bulk-action' +} from './entities/bulk-action.js' import type { CommentProps, CreateCommentParams, @@ -60,55 +63,58 @@ import type { RichTextCommentProps, UpdateCommentParams, UpdateCommentProps, -} from './entities/comment' -import type { ContentTypeProps, CreateContentTypeProps } from './entities/content-type' -import type { EditorInterfaceProps } from './entities/editor-interface' -import type { CreateEntryProps, EntryProps, EntryReferenceProps } from './entities/entry' -import type { CreateEnvironmentProps, EnvironmentProps } from './entities/environment' +} from './entities/comment.js' +import type { ContentTypeProps, CreateContentTypeProps } from './entities/content-type.js' +import type { EditorInterfaceProps } from './entities/editor-interface.js' +import type { CreateEntryProps, EntryProps, EntryReferenceProps } from './entities/entry.js' +import type { CreateEnvironmentProps, EnvironmentProps } from './entities/environment.js' import type { CreateEnvironmentAliasProps, EnvironmentAliasProps, -} from './entities/environment-alias' -import type { CreateExtensionProps, ExtensionProps } from './entities/extension' -import type { CreateLocaleProps, LocaleProps } from './entities/locale' -import type { OrganizationProps } from './entities/organization' +} from './entities/environment-alias.js' +import type { CreateExtensionProps, ExtensionProps } from './entities/extension.js' +import type { CreateLocaleProps, LocaleProps } from './entities/locale.js' +import type { OrganizationProps } from './entities/organization.js' import type { CreateOrganizationInvitationProps, OrganizationInvitationProps, -} from './entities/organization-invitation' -import type { OrganizationMembershipProps } from './entities/organization-membership' +} from './entities/organization-invitation.js' +import type { OrganizationMembershipProps } from './entities/organization-membership.js' import type { CreatePersonalAccessTokenProps, PersonalAccessTokenProps, -} from './entities/personal-access-token' -import type { PreviewApiKeyProps } from './entities/preview-api-key' +} from './entities/personal-access-token.js' +import type { PreviewApiKeyProps } from './entities/preview-api-key.js' import type { ReleasePayload, ReleasePayloadV2, ReleaseProps, ReleaseQueryOptions, ReleaseValidatePayload, -} from './entities/release' +} from './entities/release.js' import type { ReleaseAction, ReleaseActionProps, ReleaseActionQueryOptions, -} from './entities/release-action' -import type { CreateRoleProps, RoleProps } from './entities/role' -import type { ScheduledActionProps } from './entities/scheduled-action' -import type { SnapshotProps } from './entities/snapshot' -import type { SpaceProps } from './entities/space' -import type { SpaceMemberProps } from './entities/space-member' -import type { CreateSpaceMembershipProps, SpaceMembershipProps } from './entities/space-membership' -import type { CreateTagProps, DeleteTagParams, TagProps, UpdateTagProps } from './entities/tag' -import type { CreateTeamProps, TeamProps } from './entities/team' -import type { CreateTeamMembershipProps, TeamMembershipProps } from './entities/team-membership' +} from './entities/release-action.js' +import type { CreateRoleProps, RoleProps } from './entities/role.js' +import type { ScheduledActionProps } from './entities/scheduled-action.js' +import type { SnapshotProps } from './entities/snapshot.js' +import type { SpaceProps } from './entities/space.js' +import type { SpaceMemberProps } from './entities/space-member.js' +import type { + CreateSpaceMembershipProps, + SpaceMembershipProps, +} from './entities/space-membership.js' +import type { CreateTagProps, DeleteTagParams, TagProps, UpdateTagProps } from './entities/tag.js' +import type { CreateTeamProps, TeamProps } from './entities/team.js' +import type { CreateTeamMembershipProps, TeamMembershipProps } from './entities/team-membership.js' import type { CreateTeamSpaceMembershipProps, TeamSpaceMembershipProps, -} from './entities/team-space-membership' -import type { UsageProps } from './entities/usage' -import type { UserProps } from './entities/user' +} from './entities/team-space-membership.js' +import type { UsageProps } from './entities/usage.js' +import type { UserProps } from './entities/user.js' import type { CreateWebhooksProps, UpsertWebhookSigningSecretPayload, @@ -119,7 +125,7 @@ import type { WebhookRetryPolicyPayload, WebhookRetryPolicyProps, WebhookSigningSecretProps, -} from './entities/webhook' +} from './entities/webhook.js' import type { CreateTaskParams, @@ -128,39 +134,39 @@ import type { TaskProps, UpdateTaskParams, UpdateTaskProps, -} from './entities/task' +} from './entities/task.js' -import type { AppAccessTokenProps, CreateAppAccessTokenProps } from './entities/app-access-token' +import type { AppAccessTokenProps, CreateAppAccessTokenProps } from './entities/app-access-token.js' import type { AppEventSubscriptionProps, CreateAppEventSubscriptionProps, -} from './entities/app-event-subscription' -import type { AppKeyProps, CreateAppKeyProps } from './entities/app-key' -import type { ConceptProps, CreateConceptProps } from './entities/concept' -import type { ConceptSchemeProps, CreateConceptSchemeProps } from './entities/concept-scheme' +} from './entities/app-event-subscription.js' +import type { AppKeyProps, CreateAppKeyProps } from './entities/app-key.js' +import type { ConceptProps, CreateConceptProps } from './entities/concept.js' +import type { ConceptSchemeProps, CreateConceptSchemeProps } from './entities/concept-scheme.js' import type { CreateEnvironmentTemplateProps, EnvironmentTemplateProps, -} from './entities/environment-template' +} from './entities/environment-template.js' import type { CreateEnvironmentTemplateInstallationProps, EnvironmentTemplateInstallationProps, EnvironmentTemplateValidationProps, ValidateEnvironmentTemplateInstallationProps, -} from './entities/environment-template-installation' -import type { FunctionProps } from './entities/function' -import type { ResourceProps, ResourceQueryOptions } from './entities/resource' +} from './entities/environment-template-installation.js' +import type { FunctionProps } from './entities/function.js' +import type { ResourceProps, ResourceQueryOptions } from './entities/resource.js' import type { ResourceProviderProps, UpsertResourceProviderProps, -} from './entities/resource-provider' +} from './entities/resource-provider.js' import type { ResourceTypeProps, SpaceEnvResourceTypeProps, UpsertResourceTypeProps, -} from './entities/resource-type' -import type { UIConfigProps } from './entities/ui-config' -import type { UserUIConfigProps } from './entities/user-ui-config' +} from './entities/resource-type.js' +import type { UIConfigProps } from './entities/ui-config.js' +import type { UserUIConfigProps } from './entities/user-ui-config.js' import type { CompleteWorkflowParams, CreateWorkflowParams, @@ -168,29 +174,33 @@ import type { DeleteWorkflowParams, WorkflowProps, WorkflowQueryOptions, -} from './entities/workflow' +} from './entities/workflow.js' import type { CreateWorkflowDefinitionParams, CreateWorkflowDefinitionProps, DeleteWorkflowDefinitionParams, WorkflowDefinitionProps, WorkflowDefinitionQueryOptions, -} from './entities/workflow-definition' +} from './entities/workflow-definition.js' import type { WorkflowsChangelogEntryProps, WorkflowsChangelogQueryOptions, -} from './entities/workflows-changelog-entry' +} from './entities/workflows-changelog-entry.js' import type { CreateOAuthApplicationProps, OAuthApplicationProps, UpdateOAuthApplicationProps, -} from './entities/oauth-application' -import type { FunctionLogProps } from './entities/function-log' -import type { AiActionProps, AiActionQueryOptions, CreateAiActionProps } from './entities/ai-action' +} from './entities/oauth-application.js' +import type { FunctionLogProps } from './entities/function-log.js' +import type { + AiActionProps, + AiActionQueryOptions, + CreateAiActionProps, +} from './entities/ai-action.js' import type { AiActionInvocationProps, AiActionInvocationType, -} from './entities/ai-action-invocation' +} from './entities/ai-action-invocation.js' export interface DefaultElements { toPlainObject(): TPlainObject @@ -552,7 +562,6 @@ type MRInternal = { (opts: MROpts<'Concept', 'createWithId', UA>): MRReturn<'Concept', 'createWithId'> (opts: MROpts<'Concept', 'patch', UA>): MRReturn<'Concept', 'patch'> (opts: MROpts<'Concept', 'update', UA>): MRReturn<'Concept', 'update'> - (opts: MROpts<'Concept', 'updatePut', UA>): MRReturn<'Concept', 'updatePut'> (opts: MROpts<'Concept', 'delete', UA>): MRReturn<'Concept', 'delete'> (opts: MROpts<'ConceptScheme', 'get', UA>): MRReturn<'ConceptScheme', 'get'> @@ -562,7 +571,6 @@ type MRInternal = { (opts: MROpts<'ConceptScheme', 'createWithId', UA>): MRReturn<'ConceptScheme', 'createWithId'> (opts: MROpts<'ConceptScheme', 'patch', UA>): MRReturn<'ConceptScheme', 'patch'> (opts: MROpts<'ConceptScheme', 'update', UA>): MRReturn<'ConceptScheme', 'update'> - (opts: MROpts<'ConceptScheme', 'updatePut', UA>): MRReturn<'ConceptScheme', 'updatePut'> (opts: MROpts<'ConceptScheme', 'delete', UA>): MRReturn<'ConceptScheme', 'delete'> (opts: MROpts<'ContentType', 'get', UA>): MRReturn<'ContentType', 'get'> @@ -836,9 +844,9 @@ type MRInternal = { (opts: MROpts<'UIConfig', 'get', UA>): MRReturn<'UIConfig', 'get'> (opts: MROpts<'UIConfig', 'update', UA>): MRReturn<'UIConfig', 'update'> - (opts: MROpts<'Upload', 'get', UA>): MRReturn<'Entry', 'get'> - (opts: MROpts<'Upload', 'create', UA>): MRReturn<'Entry', 'create'> - (opts: MROpts<'Upload', 'delete', UA>): MRReturn<'Entry', 'delete'> + (opts: MROpts<'Upload', 'get', UA>): MRReturn<'Upload', 'get'> + (opts: MROpts<'Upload', 'create', UA>): MRReturn<'Upload', 'create'> + (opts: MROpts<'Upload', 'delete', UA>): MRReturn<'Upload', 'delete'> (opts: MROpts<'UploadCredential', 'create', UA>): MRReturn<'UploadCredential', 'create'> @@ -1399,11 +1407,6 @@ export type MRActions = { return: ConceptProps } update: { - params: UpdateConceptParams - payload: OpPatch[] - return: ConceptProps - } - updatePut: { params: UpdateConceptParams payload: CreateConceptProps return: ConceptProps @@ -1451,12 +1454,7 @@ export type MRActions = { } update: { params: UpdateConceptSchemeParams - payload: OpPatch[] - return: ConceptSchemeProps - } - updatePut: { - params: UpdateConceptSchemeParams - payload: CreateConceptSchemeProps + payload: ConceptSchemeProps return: ConceptSchemeProps } get: { diff --git a/lib/common-utils.ts b/lib/common-utils.ts index 0da3ea5f8b..58478b9da1 100644 --- a/lib/common-utils.ts +++ b/lib/common-utils.ts @@ -8,7 +8,7 @@ import type { CursorPaginatedCollection, CursorPaginatedCollectionProp, MakeRequest, -} from './common-types' +} from './common-types.js' /** * @private diff --git a/lib/constants/editor-interface-defaults/controls-defaults.ts b/lib/constants/editor-interface-defaults/controls-defaults.ts index 03c1101f0a..d67666d55d 100644 --- a/lib/constants/editor-interface-defaults/controls-defaults.ts +++ b/lib/constants/editor-interface-defaults/controls-defaults.ts @@ -1,5 +1,8 @@ -import type { ContentFields, ContentTypeFieldValidation } from '../../entities/content-type-fields' -import { in_ } from './types' +import type { + ContentFields, + ContentTypeFieldValidation, +} from '../../entities/content-type-fields.js' +import { in_ } from './types.js' const DROPDOWN_TYPES = ['Text', 'Symbol', 'Integer', 'Number', 'Boolean'] @@ -172,7 +175,7 @@ export function toApiFieldType(internal: keyof typeof INTERNAL_TO_API) { * - If a Text field is a title then the `singleLine` widget is used. * - Otherwise a simple type-to-editor mapping is used. */ -export default function getDefaultControlOfField(field: ContentFields): DefaultWidget { +export function getDefaultControlOfField(field: ContentFields): DefaultWidget { const fieldType = toInternalFieldType(field) if (!fieldType) { diff --git a/lib/constants/editor-interface-defaults/editors-defaults.ts b/lib/constants/editor-interface-defaults/editors-defaults.ts index f4f9f4f9a7..f5a28da65d 100644 --- a/lib/constants/editor-interface-defaults/editors-defaults.ts +++ b/lib/constants/editor-interface-defaults/editors-defaults.ts @@ -1,4 +1,4 @@ -import { DEFAULT_EDITOR_ID, WidgetNamespace } from './types' +import { DEFAULT_EDITOR_ID, WidgetNamespace } from './types.js' export const EntryEditorWidgetTypes = { DEFAULT_EDITOR: { diff --git a/lib/constants/editor-interface-defaults/index.ts b/lib/constants/editor-interface-defaults/index.ts index b739eaac1d..5201e56caa 100644 --- a/lib/constants/editor-interface-defaults/index.ts +++ b/lib/constants/editor-interface-defaults/index.ts @@ -1,6 +1,6 @@ -import { SidebarAssetConfiguration, SidebarEntryConfiguration } from './sidebar-defaults' -import { EntryConfiguration } from './editors-defaults' -import getDefaultControlOfField from './controls-defaults' +import { SidebarAssetConfiguration, SidebarEntryConfiguration } from './sidebar-defaults.js' +import { EntryConfiguration } from './editors-defaults.js' +import { getDefaultControlOfField } from './controls-defaults.js' export default { SidebarEntryConfiguration, diff --git a/lib/constants/editor-interface-defaults/sidebar-defaults.ts b/lib/constants/editor-interface-defaults/sidebar-defaults.ts index fcb963753a..eaf3dd1c90 100644 --- a/lib/constants/editor-interface-defaults/sidebar-defaults.ts +++ b/lib/constants/editor-interface-defaults/sidebar-defaults.ts @@ -1,4 +1,4 @@ -import { WidgetNamespace } from './types' +import { WidgetNamespace } from './types.js' const SidebarWidgetTypes = { USERS: 'users-widget', diff --git a/lib/contentful-management.d.ts b/lib/contentful-management.d.ts new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/create-adapter.ts b/lib/create-adapter.ts index b3906288ee..f4944ede8b 100644 --- a/lib/create-adapter.ts +++ b/lib/create-adapter.ts @@ -3,9 +3,9 @@ * @hidden */ -import type { Adapter } from './common-types' -import type { RestAdapterParams } from './adapters/REST/rest-adapter' -import { RestAdapter } from './adapters/REST/rest-adapter' +import type { Adapter } from './common-types.js' +import type { RestAdapterParams } from './adapters/REST/rest-adapter.js' +import { RestAdapter } from './adapters/REST/rest-adapter.js' export type AdapterParams = { apiAdapter: Adapter diff --git a/lib/create-app-definition-api.ts b/lib/create-app-definition-api.ts index 081e9dec2a..905c186bed 100644 --- a/lib/create-app-definition-api.ts +++ b/lib/create-app-definition-api.ts @@ -1,9 +1,10 @@ -import type { MakeRequest, QueryOptions, SpaceQueryOptions } from './common-types' -import entities from './entities' -import type { CreateAppBundleProps } from './entities/app-bundle' -import type { AppDefinitionProps } from './entities/app-definition' -import { wrapAppDefinition } from './entities/app-definition' -import type { UpsertResourceProviderProps } from './entities/resource-provider' +import type { MakeRequest, QueryOptions, SpaceQueryOptions } from './common-types.js' +import { wrapAppBundle, wrapAppBundleCollection } from './entities/app-bundle.js' +import { wrapResourceProvider } from './entities/resource-provider.js' +import type { CreateAppBundleProps } from './entities/app-bundle.js' +import type { AppDefinitionProps } from './entities/app-definition.js' +import { wrapAppDefinition } from './entities/app-definition.js' +import type { UpsertResourceProviderProps } from './entities/resource-provider.js' /** * @private @@ -14,9 +15,6 @@ export type ContentfulAppDefinitionAPI = ReturnType ({ appDefinitionId: data.sys.id, organizationId: data.sys.organization.sys.id, diff --git a/lib/create-contentful-api.ts b/lib/create-contentful-api.ts index a019e778d5..4f72acf944 100644 --- a/lib/create-contentful-api.ts +++ b/lib/create-contentful-api.ts @@ -11,25 +11,40 @@ import type { BasicCursorPaginationOptions, GetOAuthApplicationParams, GetUserParams, -} from './common-types' -import entities from './entities' -import type { Organization, OrganizationProps } from './entities/organization' -import type { CreatePersonalAccessTokenProps } from './entities/personal-access-token' -import type { Space, SpaceProps } from './entities/space' -import type { AppDefinition } from './entities/app-definition' -import type { UsageQuery } from './entities/usage' -import type { UserProps } from './entities/user' -import type { - CreateEnvironmentTemplateProps, - EnvironmentTemplate, - EnvironmentTemplateProps, -} from './entities/environment-template' +} from './common-types.js' +import { + wrapOrganization, + wrapOrganizationCollection, + type Organization, + type OrganizationProps, +} from './entities/organization.js' +import { + wrapPersonalAccessToken, + wrapPersonalAccessTokenCollection, + type CreatePersonalAccessTokenProps, +} from './entities/personal-access-token.js' +import { wrapSpace, wrapSpaceCollection, type Space, type SpaceProps } from './entities/space.js' +import { wrapAppDefinition, type AppDefinition } from './entities/app-definition.js' +import { wrapUsageCollection, type UsageQuery } from './entities/usage.js' +import { wrapUser, type UserProps } from './entities/user.js' +import { + wrapEnvironmentTemplate, + wrapEnvironmentTemplateCollection, + type CreateEnvironmentTemplateProps, + type EnvironmentTemplate, + type EnvironmentTemplateProps, +} from './entities/environment-template.js' import type { RawAxiosRequestConfig } from 'axios' import type { CreateOAuthApplicationProps, OAuthApplication, OAuthApplicationProps, -} from './export-types' +} from './export-types.js' +import { wrapAccessToken, wrapAccessTokenCollection } from './entities/access-token.js' +import { + wrapOAuthApplication, + wrapOAuthApplicationCollection, +} from './entities/oauth-application.js' export type ClientAPI = ReturnType type CreateSpaceProps = Omit & { defaultLocale?: string } @@ -38,19 +53,8 @@ type CreateSpaceProps = Omit & { defaultLocale?: string } * @private */ export default function createClientApi(makeRequest: MakeRequest) { - const { wrapSpace, wrapSpaceCollection } = entities.space - const { wrapUser } = entities.user - const { wrapPersonalAccessToken, wrapPersonalAccessTokenCollection } = - entities.personalAccessToken - const { wrapAccessToken, wrapAccessTokenCollection } = entities.accessToken - const { wrapOrganization, wrapOrganizationCollection } = entities.organization - const { wrapUsageCollection } = entities.usage - const { wrapAppDefinition } = entities.appDefinition - const { wrapEnvironmentTemplate, wrapEnvironmentTemplateCollection } = - entities.environmentTemplate - const { wrapOAuthApplication, wrapOAuthApplicationCollection } = entities.oauthApplication - return { + version: __VERSION__, /** * Gets all environment templates for a given organization with the lasted version * @param organizationId - Organization ID diff --git a/lib/create-entry-api.ts b/lib/create-entry-api.ts index bbc3f8cbe1..568374981c 100644 --- a/lib/create-entry-api.ts +++ b/lib/create-entry-api.ts @@ -1,10 +1,21 @@ import type { OpPatch } from 'json-patch' -import type { MakeRequest } from './common-types' -import type { CreateCommentParams, CreateCommentProps } from './entities/comment' -import type { Entry, EntryProps, EntryReferenceOptionsProps } from './entities/entry' -import type { CreateTaskProps } from './entities/task' -import * as checks from './plain/checks' -import entities from './entities' +import type { MakeRequest } from './common-types.js' +import { + wrapComment, + wrapCommentCollection, + type CreateCommentParams, + type CreateCommentProps, +} from './entities/comment.js' +import { + wrapEntry, + wrapEntryCollection, + type Entry, + type EntryProps, + type EntryReferenceOptionsProps, +} from './entities/entry.js' +import { wrapTask, wrapTaskCollection, type CreateTaskProps } from './entities/task.js' +import * as checks from './plain/checks.js' +import { wrapSnapshotCollection, wrapSnapshot } from './entities/snapshot.js' /** * @private @@ -15,11 +26,6 @@ export type ContentfulEntryApi = ReturnType * @private */ export default function createEntryApi(makeRequest: MakeRequest) { - const { wrapEntry, wrapEntryCollection } = entities.entry - const { wrapSnapshot, wrapSnapshotCollection } = entities.snapshot - const { wrapTask, wrapTaskCollection } = entities.task - const { wrapComment, wrapCommentCollection } = entities.comment - const getParams = (self: Entry) => { const entry = self.toPlainObject() as EntryProps diff --git a/lib/create-environment-api.ts b/lib/create-environment-api.ts index fb20b81f9f..328a6f5f76 100644 --- a/lib/create-environment-api.ts +++ b/lib/create-environment-api.ts @@ -6,61 +6,86 @@ import type { CreatedAtIntervalParams, CursorBasedParams, QueryOptions, -} from './common-types' -import type { BasicQueryOptions, MakeRequest } from './common-types' -import entities from './entities' -import type { CreateAppInstallationProps } from './entities/app-installation' -import type { CreateAppSignedRequestProps } from './entities/app-signed-request' -import type { - CreateAppActionCallProps, - AppActionCallRawResponseProps, -} from './entities/app-action-call' -import type { - AssetFileProp, - AssetProps, - CreateAssetFromFilesOptions, - CreateAssetProps, -} from './entities/asset' -import type { CreateAssetKeyProps } from './entities/asset-key' -import type { - BulkAction, - BulkActionPayload, - BulkActionPublishPayload, - BulkActionUnpublishPayload, - BulkActionValidatePayload, -} from './entities/bulk-action' - -import type { ReleaseActionQueryOptions } from './entities/release-action' -import { wrapReleaseAction, wrapReleaseActionCollection } from './entities/release-action' +} from './common-types.js' +import type { BasicQueryOptions, MakeRequest } from './common-types.js' +import { + wrapAppInstallation, + wrapAppInstallationCollection, + type CreateAppInstallationProps, +} from './entities/app-installation.js' +import { + wrapAppSignedRequest, + type CreateAppSignedRequestProps, +} from './entities/app-signed-request.js' +import { + wrapAppActionCall, + type CreateAppActionCallProps, + type AppActionCallRawResponseProps, +} from './entities/app-action-call.js' +import { + wrapAsset, + wrapAssetCollection, + type AssetFileProp, + type AssetProps, + type CreateAssetFromFilesOptions, + type CreateAssetProps, +} from './entities/asset.js' +import { wrapAssetKey, type CreateAssetKeyProps } from './entities/asset-key.js' +import { + wrapBulkAction, + type BulkAction, + type BulkActionPayload, + type BulkActionPublishPayload, + type BulkActionUnpublishPayload, + type BulkActionValidatePayload, +} from './entities/bulk-action.js' + +import type { ReleaseActionQueryOptions } from './entities/release-action.js' +import { wrapReleaseAction, wrapReleaseActionCollection } from './entities/release-action.js' import type { ReleasePayload, ReleaseQueryOptions, ReleaseValidatePayload, -} from './entities/release' -import { wrapRelease, wrapReleaseCollection } from './entities/release' - -import type { ContentTypeProps, CreateContentTypeProps } from './entities/content-type' -import type { - CreateEntryProps, - EntryProps, - EntryReferenceOptionsProps, - EntryReferenceProps, -} from './entities/entry' -import type { EnvironmentProps } from './entities/environment' -import type { CreateExtensionProps } from './entities/extension' -import type { CreateLocaleProps } from './entities/locale' -import type { TagVisibility } from './entities/tag' -import { wrapTag, wrapTagCollection } from './entities/tag' -import { wrapUIConfig } from './entities/ui-config' -import { wrapUserUIConfig } from './entities/user-ui-config' -import { wrapEnvironmentTemplateInstallationCollection } from './entities/environment-template-installation' -import { wrapFunctionCollection } from './entities/function' -import { wrapFunctionLog, wrapFunctionLogCollection } from './entities/function-log' -import type { CreateAppAccessTokenProps } from './entities/app-access-token' -import type { ResourceQueryOptions } from './entities/resource' -import type { AiActionInvocationType } from './entities/ai-action-invocation' -import { wrapAiActionInvocation } from './entities/ai-action-invocation' +} from './entities/release.js' +import { wrapRelease, wrapReleaseCollection } from './entities/release.js' + +import { + wrapContentType, + wrapContentTypeCollection, + type ContentTypeProps, + type CreateContentTypeProps, +} from './entities/content-type.js' +import { + wrapEntry, + wrapEntryCollection, + type CreateEntryProps, + type EntryProps, + type EntryReferenceOptionsProps, + type EntryReferenceProps, +} from './entities/entry.js' +import { wrapEnvironment, type EnvironmentProps } from './entities/environment.js' +import { + wrapExtension, + wrapExtensionCollection, + type CreateExtensionProps, +} from './entities/extension.js' +import { wrapLocale, wrapLocaleCollection, type CreateLocaleProps } from './entities/locale.js' +import type { TagVisibility } from './entities/tag.js' +import { wrapTag, wrapTagCollection } from './entities/tag.js' +import { wrapUIConfig } from './entities/ui-config.js' +import { wrapUserUIConfig } from './entities/user-ui-config.js' +import { wrapEnvironmentTemplateInstallationCollection } from './entities/environment-template-installation.js' +import { wrapFunctionCollection } from './entities/function.js' +import { wrapFunctionLog, wrapFunctionLogCollection } from './entities/function-log.js' +import { wrapAppAccessToken, type CreateAppAccessTokenProps } from './entities/app-access-token.js' +import { wrapResourceCollection, type ResourceQueryOptions } from './entities/resource.js' +import type { AiActionInvocationType } from './entities/ai-action-invocation.js' +import { wrapAiActionInvocation } from './entities/ai-action-invocation.js' +import { wrapEditorInterface, wrapEditorInterfaceCollection } from './entities/editor-interface.js' +import { wrapResourceTypesForEnvironmentCollection } from './entities/resource-type.js' +import { wrapSnapshotCollection } from './entities/snapshot.js' +import { wrapUpload } from './entities/upload.js' /** * @private @@ -74,24 +99,6 @@ export type ContentfulEnvironmentAPI = ReturnType * @private */ export default function createEnvironmentApi(makeRequest: MakeRequest) { - const { wrapEnvironment } = entities.environment - const { wrapContentType, wrapContentTypeCollection } = entities.contentType - const { wrapEntry, wrapEntryCollection } = entities.entry - const { wrapAsset, wrapAssetCollection } = entities.asset - const { wrapAssetKey } = entities.assetKey - const { wrapLocale, wrapLocaleCollection } = entities.locale - const { wrapSnapshotCollection } = entities.snapshot - const { wrapEditorInterface, wrapEditorInterfaceCollection } = entities.editorInterface - const { wrapUpload } = entities.upload - const { wrapExtension, wrapExtensionCollection } = entities.extension - const { wrapAppInstallation, wrapAppInstallationCollection } = entities.appInstallation - const { wrapAppSignedRequest } = entities.appSignedRequest - const { wrapAppActionCall } = entities.appActionCall - const { wrapBulkAction } = entities.bulkAction - const { wrapAppAccessToken } = entities.appAccessToken - const { wrapResourceTypesForEnvironmentCollection } = entities.resourceType - const { wrapResourceCollection } = entities.resource - return { /** * Deletes the environment @@ -1103,7 +1110,7 @@ export default function createEnvironmentApi(makeRequest: MakeRequest) { * .catch(console.error) * ``` */ - createAssetFromFiles(data: Omit, options?: CreateAssetFromFilesOptions) { + createAssetFromFiles(data: AssetFileProp, options?: CreateAssetFromFilesOptions) { const raw = this.toPlainObject() as EnvironmentProps return makeRequest({ entityType: 'Asset', diff --git a/lib/create-environment-template-api.ts b/lib/create-environment-template-api.ts index 9bf39a64e3..054259811d 100644 --- a/lib/create-environment-template-api.ts +++ b/lib/create-environment-template-api.ts @@ -1,20 +1,19 @@ import { createRequestConfig } from 'contentful-sdk-core' -import type { BasicCursorPaginationOptions, MakeRequest } from './common-types' -import entities from './entities' -import type { EnvironmentTemplateProps } from './entities/environment-template' -import type { - CreateEnvironmentTemplateInstallationProps, - ValidateEnvironmentTemplateInstallationProps, -} from './entities/environment-template-installation' +import type { BasicCursorPaginationOptions, MakeRequest } from './common-types.js' +import { + wrapEnvironmentTemplate, + wrapEnvironmentTemplateCollection, + type EnvironmentTemplateProps, +} from './entities/environment-template.js' +import { + wrapEnvironmentTemplateInstallationCollection, + type CreateEnvironmentTemplateInstallationProps, + type ValidateEnvironmentTemplateInstallationProps, +} from './entities/environment-template-installation.js' export type ContentfulEnvironmentTemplateApi = ReturnType export function createEnvironmentTemplateApi(makeRequest: MakeRequest, organizationId: string) { - const { wrapEnvironmentTemplate, wrapEnvironmentTemplateCollection } = - entities.environmentTemplate - - const { wrapEnvironmentTemplateInstallationCollection } = entities.environmentTemplateInstallation - return { /** * Updates a environment template diff --git a/lib/create-organization-api.ts b/lib/create-organization-api.ts index dee1318bd8..3b05e49fe4 100644 --- a/lib/create-organization-api.ts +++ b/lib/create-organization-api.ts @@ -1,23 +1,57 @@ import { createRequestConfig } from 'contentful-sdk-core' -import entities from './entities' import type { Stream } from 'stream' -import type { CreateTeamMembershipProps } from './entities/team-membership' -import type { CreateTeamProps } from './entities/team' -import type { CreateOrganizationInvitationProps } from './entities/organization-invitation' +import { + wrapTeamMembership, + wrapTeamMembershipCollection, + type CreateTeamMembershipProps, +} from './entities/team-membership.js' +import { wrapTeam, wrapTeamCollection, type CreateTeamProps } from './entities/team.js' +import { + wrapOrganizationInvitation, + type CreateOrganizationInvitationProps, +} from './entities/organization-invitation.js' import type { AcceptsQueryOptions, BasicQueryOptions, MakeRequest, QueryOptions, QueryParams, -} from './common-types' -import type { CreateAppDefinitionProps } from './entities/app-definition' -import type { CreateAppActionProps } from './entities/app-action' -import type { CreateAppSigningSecretProps } from './entities/app-signing-secret' -import type { CreateAppEventSubscriptionProps } from './entities/app-event-subscription' -import type { CreateAppKeyProps } from './entities/app-key' -import type { CreateAppDetailsProps } from './entities/app-details' -import type { OrganizationProps } from './entities/organization' +} from './common-types.js' +import { + wrapAppDefinition, + wrapAppDefinitionCollection, + type CreateAppDefinitionProps, +} from './entities/app-definition.js' +import { + wrapAppAction, + wrapAppActionCollection, + type CreateAppActionProps, +} from './entities/app-action.js' +import { + wrapAppSigningSecret, + type CreateAppSigningSecretProps, +} from './entities/app-signing-secret.js' +import { + wrapAppEventSubscription, + type CreateAppEventSubscriptionProps, +} from './entities/app-event-subscription.js' +import { wrapAppKey, wrapAppKeyCollection, type CreateAppKeyProps } from './entities/app-key.js' +import { wrapAppDetails, type CreateAppDetailsProps } from './entities/app-details.js' +import type { OrganizationProps } from './entities/organization.js' +import { wrapAppUpload } from './entities/app-upload.js' +import { wrapFunction, wrapFunctionCollection } from './entities/function.js' +import { + wrapOrganizationMembership, + wrapOrganizationMembershipCollection, +} from './entities/organization-membership.js' +import { wrapRoleCollection } from './entities/role.js' +import { wrapSpaceMembership, wrapSpaceMembershipCollection } from './entities/space-membership.js' +import { wrapSpaceCollection } from './entities/space.js' +import { + wrapTeamSpaceMembershipCollection, + wrapTeamSpaceMembership, +} from './entities/team-space-membership.js' +import { wrapUser, wrapUserCollection } from './entities/user.js' /** * @private @@ -31,26 +65,6 @@ export type ContentfulOrganizationAPI = ReturnType * @private */ export default function createOrganizationApi(makeRequest: MakeRequest) { - const { wrapAppDefinition, wrapAppDefinitionCollection } = entities.appDefinition - const { wrapUser, wrapUserCollection } = entities.user - const { wrapOrganizationMembership, wrapOrganizationMembershipCollection } = - entities.organizationMembership - const { wrapTeamMembership, wrapTeamMembershipCollection } = entities.teamMembership - const { wrapTeamSpaceMembership, wrapTeamSpaceMembershipCollection } = - entities.teamSpaceMembership - const { wrapTeam, wrapTeamCollection } = entities.team - const { wrapSpaceMembership, wrapSpaceMembershipCollection } = entities.spaceMembership - const { wrapOrganizationInvitation } = entities.organizationInvitation - const { wrapAppUpload } = entities.appUpload - const { wrapAppSigningSecret } = entities.appSigningSecret - const { wrapAppEventSubscription } = entities.appEventSubscription - const { wrapAppKey, wrapAppKeyCollection } = entities.appKey - const { wrapAppDetails } = entities.appDetails - const { wrapAppAction, wrapAppActionCollection } = entities.appAction - const { wrapFunction, wrapFunctionCollection } = entities.func - const { wrapRoleCollection } = entities.role - const { wrapSpaceCollection } = entities.space - return { /** * Gets a collection of spaces in the organization diff --git a/lib/create-space-api.ts b/lib/create-space-api.ts index 77e894b7b4..fd62e139ed 100644 --- a/lib/create-space-api.ts +++ b/lib/create-space-api.ts @@ -4,22 +4,59 @@ */ import { createRequestConfig } from 'contentful-sdk-core' -import type { MakeRequest, PaginationQueryOptions, QueryOptions } from './common-types' -import entities from './entities' -import type { CreateApiKeyProps } from './entities/api-key' -import type { CreateEnvironmentProps } from './entities/environment' -import type { CreateEnvironmentAliasProps } from './entities/environment-alias' -import type { CreateRoleProps, RoleProps } from './entities/role' -import type { ScheduledActionProps, ScheduledActionQueryOptions } from './entities/scheduled-action' -import type { SpaceProps } from './entities/space' -import type { CreateSpaceMembershipProps } from './entities/space-membership' -import type { CreateTeamSpaceMembershipProps } from './entities/team-space-membership' -import type { - CreateWebhooksProps, - UpsertWebhookSigningSecretPayload, - WebhookRetryPolicyPayload, -} from './entities/webhook' -import type { AiActionProps, AiActionQueryOptions, CreateAiActionProps } from './entities/ai-action' +import type { MakeRequest, PaginationQueryOptions, QueryOptions } from './common-types.js' +import { wrapApiKey, wrapApiKeyCollection, type CreateApiKeyProps } from './entities/api-key.js' +import { + wrapEnvironment, + wrapEnvironmentCollection, + type CreateEnvironmentProps, +} from './entities/environment.js' +import { + wrapEnvironmentAlias, + wrapEnvironmentAliasCollection, + type CreateEnvironmentAliasProps, +} from './entities/environment-alias.js' +import { + wrapRole, + wrapRoleCollection, + type CreateRoleProps, + type RoleProps, +} from './entities/role.js' +import { + wrapScheduledAction, + wrapScheduledActionCollection, + type ScheduledActionProps, + type ScheduledActionQueryOptions, +} from './entities/scheduled-action.js' +import { wrapSpace, type SpaceProps } from './entities/space.js' +import { + wrapSpaceMembership, + wrapSpaceMembershipCollection, + type CreateSpaceMembershipProps, +} from './entities/space-membership.js' +import { + wrapTeamSpaceMembership, + wrapTeamSpaceMembershipCollection, + type CreateTeamSpaceMembershipProps, +} from './entities/team-space-membership.js' +import { + wrapWebhook, + wrapWebhookCollection, + type CreateWebhooksProps, + type UpsertWebhookSigningSecretPayload, + type WebhookRetryPolicyPayload, +} from './entities/webhook.js' +import { + wrapAiAction, + wrapAiActionCollection, + type AiActionProps, + type AiActionQueryOptions, + type CreateAiActionProps, +} from './entities/ai-action.js' +import { wrapPreviewApiKeyCollection, wrapPreviewApiKey } from './entities/preview-api-key.js' +import { wrapSpaceMember, wrapSpaceMemberCollection } from './entities/space-member.js' +import { wrapTeamCollection } from './entities/team.js' +import { wrapUser, wrapUserCollection } from './entities/user.js' /** * @private @@ -33,23 +70,6 @@ export type ContentfulSpaceAPI = ReturnType * @private */ export default function createSpaceApi(makeRequest: MakeRequest) { - const { wrapSpace } = entities.space - const { wrapEnvironment, wrapEnvironmentCollection } = entities.environment - const { wrapWebhook, wrapWebhookCollection } = entities.webhook - const { wrapRole, wrapRoleCollection } = entities.role - const { wrapUser, wrapUserCollection } = entities.user - const { wrapSpaceMember, wrapSpaceMemberCollection } = entities.spaceMember - const { wrapSpaceMembership, wrapSpaceMembershipCollection } = entities.spaceMembership - const { wrapTeamSpaceMembership, wrapTeamSpaceMembershipCollection } = - entities.teamSpaceMembership - const { wrapTeamCollection } = entities.team - const { wrapApiKey, wrapApiKeyCollection } = entities.apiKey - const { wrapEnvironmentAlias, wrapEnvironmentAliasCollection } = entities.environmentAlias - const { wrapPreviewApiKey, wrapPreviewApiKeyCollection } = entities.previewApiKey - const { wrapScheduledAction, wrapScheduledActionCollection } = entities.scheduledAction - const { wrapAiAction, wrapAiActionCollection } = entities.aiAction - const { wrapAiActionInvocation, wrapAiActionInvocationCollection } = entities.aiActionInvocation - return { /** * Deletes the space diff --git a/lib/create-ui-config-api.ts b/lib/create-ui-config-api.ts index 7cde502af8..71fdbd0417 100644 --- a/lib/create-ui-config-api.ts +++ b/lib/create-ui-config-api.ts @@ -1,6 +1,5 @@ -import type { MakeRequest } from './common-types' -import entities from './entities' -import type { UIConfig } from './entities/ui-config' +import type { MakeRequest } from './common-types.js' +import { wrapUIConfig, type UIConfig } from './entities/ui-config.js' /** * @private @@ -11,8 +10,6 @@ export type ContentfulUIConfigApi = ReturnType * @private */ export default function createUIConfigApi(makeRequest: MakeRequest) { - const { wrapUIConfig } = entities.uiConfig - const getParams = (self: UIConfig) => { const uiConfig = self.toPlainObject() diff --git a/lib/create-user-ui-config-api.ts b/lib/create-user-ui-config-api.ts index e18e7d5bfc..45dda0168f 100644 --- a/lib/create-user-ui-config-api.ts +++ b/lib/create-user-ui-config-api.ts @@ -1,6 +1,5 @@ -import type { MakeRequest } from './common-types' -import entities from './entities' -import type { UserUIConfig } from './entities/user-ui-config' +import type { MakeRequest } from './common-types.js' +import { wrapUserUIConfig, type UserUIConfig } from './entities/user-ui-config.js' /** * @private @@ -11,8 +10,6 @@ export type ContentfulUIConfigApi = ReturnType * @private */ export default function createUserUIConfigApi(makeRequest: MakeRequest) { - const { wrapUserUIConfig } = entities.userUIConfig - const getParams = (self: UserUIConfig) => { const userUIConfig = self.toPlainObject() diff --git a/lib/entities/access-token.ts b/lib/entities/access-token.ts index baee1e0760..a2d2f9ab0e 100644 --- a/lib/entities/access-token.ts +++ b/lib/entities/access-token.ts @@ -1,13 +1,13 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' -import type { DefaultElements, MakeRequest, BasicMetaSysProps, SysLink } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' +import type { DefaultElements, MakeRequest, BasicMetaSysProps, Link } from '../common-types.js' type Application = { id?: string name?: string - sys: SysLink + sys: Link<'Application'> } type AccessTokenSysProps = BasicMetaSysProps & { diff --git a/lib/entities/ai-action-invocation.ts b/lib/entities/ai-action-invocation.ts index 57cf156070..28ceffaeca 100644 --- a/lib/entities/ai-action-invocation.ts +++ b/lib/entities/ai-action-invocation.ts @@ -1,7 +1,7 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, MakeRequest, SysLink } from '../common-types' -import { wrapCollection } from '../common-utils' +import type { DefaultElements, Link, MakeRequest } from '../common-types.js' +import { wrapCollection } from '../common-utils.js' import type { Document as RichTextDocument } from '@contentful/rich-text-types' export type InvocationStatus = 'SCHEDULED' | 'IN_PROGRESS' | 'FAILED' | 'COMPLETED' | 'CANCELLED' @@ -40,9 +40,9 @@ export type AiActionInvocationProps = { sys: { id: string type: 'AiActionInvocation' - space: SysLink - environment: SysLink - aiAction: SysLink + space: Link<'Space'> + environment: Link<'Environment'> + aiAction: Link<'AiAction'> status: InvocationStatus errorCode?: string } diff --git a/lib/entities/ai-action.ts b/lib/entities/ai-action.ts index 7014a5e2c3..e3280b7bbe 100644 --- a/lib/entities/ai-action.ts +++ b/lib/entities/ai-action.ts @@ -1,13 +1,13 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' import { wrapAiActionInvocation, type AiActionInvocationType, type AiActionInvocation, -} from './ai-action-invocation' +} from './ai-action-invocation.js' export type VariableType = | 'ResourceLink' @@ -77,9 +77,6 @@ export type AiActionProps = { publishedVersion?: number version: number publishedAt?: string - updatedAt: string - createdAt: string - id: string } name: string description: string diff --git a/lib/entities/api-key.ts b/lib/entities/api-key.ts index d21ad2f7d1..9adb460ab4 100644 --- a/lib/entities/api-key.ts +++ b/lib/entities/api-key.ts @@ -1,17 +1,15 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, MakeRequest, MetaLinkProps, MetaSysProps } from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' export type ApiKeyProps = { sys: MetaSysProps name: string accessToken: string - environments: { - sys: MetaLinkProps - }[] - preview_api_key: { sys: MetaLinkProps } + environments: Link<'Environment'>[] + preview_api_key: Link<'PreviewApiKey'> description?: string policies?: { effect: string; action: string }[] } diff --git a/lib/entities/app-access-token.ts b/lib/entities/app-access-token.ts index 631c7c6cde..2b9b4a8c72 100644 --- a/lib/entities/app-access-token.ts +++ b/lib/entities/app-access-token.ts @@ -1,12 +1,12 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, MakeRequest, SysLink } from '../common-types' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' type AppAccessTokenSys = Except & { - space: SysLink - environment: SysLink - appDefinition: SysLink + space: Link<'Space'> + environment: Link<'Environment'> + appDefinition: Link<'AppDefinition'> expiresAt: string } diff --git a/lib/entities/app-action-call.ts b/lib/entities/app-action-call.ts index eb56a277f3..219f83558d 100644 --- a/lib/entities/app-action-call.ts +++ b/lib/entities/app-action-call.ts @@ -11,9 +11,9 @@ import type { CreateWithResultParams, GetAppActionCallDetailsParams, GetAppActionCallParamsWithId, -} from '../common-types' -import type { WebhookCallDetailsProps } from './webhook' -import enhanceWithMethods from '../enhance-with-methods' +} from '../common-types.js' +import type { WebhookCallDetailsProps } from './webhook.js' +import enhanceWithMethods from '../enhance-with-methods.js' type AppActionCallSys = Except & { appDefinition: SysLink @@ -102,7 +102,7 @@ export type AppActionCall = AppActionCallProps & DefaultElements & { - appDefinition: SysLink - organization: SysLink + appDefinition: Link<'AppDefinition'> + organization: Link<'Organization'> } export type AppActionParameterDefinition = Omit diff --git a/lib/entities/app-bundle.ts b/lib/entities/app-bundle.ts index 9903483d34..e0688e8f3e 100644 --- a/lib/entities/app-bundle.ts +++ b/lib/entities/app-bundle.ts @@ -1,13 +1,13 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' import type { Except } from 'type-fest' -import { wrapCollection } from '../common-utils' -import type { BasicMetaSysProps, DefaultElements, MakeRequest, SysLink } from '../common-types' -import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils.js' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods.js' type AppBundleSys = Except & { - appDefinition: SysLink - organization: SysLink + appDefinition: Link<'AppDefinition'> + organization: Link<'Organization'> } interface ActionManifestProps { diff --git a/lib/entities/app-definition.ts b/lib/entities/app-definition.ts index 7e536e1642..666e5401a6 100644 --- a/lib/entities/app-definition.ts +++ b/lib/entities/app-definition.ts @@ -1,21 +1,15 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import type { - DefaultElements, - BasicMetaSysProps, - SysLink, - MakeRequest, - Link, -} from '../common-types' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' -import type { ContentfulAppDefinitionAPI } from '../create-app-definition-api' -import createAppDefinitionApi from '../create-app-definition-api' +import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' +import type { ContentfulAppDefinitionAPI } from '../create-app-definition-api.js' +import createAppDefinitionApi from '../create-app-definition-api.js' import type { SetOptional, Except } from 'type-fest' -import type { FieldType } from './field-type' -import type { InstallationParameterType, ParameterDefinition } from './widget-parameters' -import type { AppInstallationProps } from './app-installation' -import type { EnvironmentProps } from './environment' +import type { FieldType } from './field-type.js' +import type { InstallationParameterType, ParameterDefinition } from './widget-parameters.js' +import type { AppInstallationProps } from './app-installation.js' +import type { EnvironmentProps } from './environment.js' export interface NavigationItem { name: string @@ -59,7 +53,7 @@ export type AppDefinitionProps = { * System metadata */ sys: BasicMetaSysProps & { - organization: SysLink + organization: Link<'Organization'> shared: boolean } /** diff --git a/lib/entities/app-details.ts b/lib/entities/app-details.ts index d4d5b76f46..f2e74a46ce 100644 --- a/lib/entities/app-details.ts +++ b/lib/entities/app-details.ts @@ -1,12 +1,12 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, MakeRequest, SysLink } from '../common-types' -import enhanceWithMethods from '../enhance-with-methods' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods.js' type AppDetailsSys = Except & { - appDefinition: SysLink - organization: SysLink + appDefinition: Link<'AppDefinition'> + organization: Link<'Organization'> } export type IconType = 'base64' diff --git a/lib/entities/app-event-subscription.ts b/lib/entities/app-event-subscription.ts index 52cb7d98cb..b991992f4f 100644 --- a/lib/entities/app-event-subscription.ts +++ b/lib/entities/app-event-subscription.ts @@ -1,18 +1,12 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { - BasicMetaSysProps, - DefaultElements, - Link, - MakeRequest, - SysLink, -} from '../common-types' -import enhanceWithMethods from '../enhance-with-methods' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods.js' type AppEventSubscriptionSys = Except & { - appDefinition: SysLink - organization: SysLink + appDefinition: Link<'AppDefinition'> + organization: Link<'Organization'> } export type AppEventSubscriptionProps = { diff --git a/lib/entities/app-installation.ts b/lib/entities/app-installation.ts index 95ecb7fd0a..f1dab51d5d 100644 --- a/lib/entities/app-installation.ts +++ b/lib/entities/app-installation.ts @@ -1,17 +1,17 @@ import { toPlainObject, freezeSys } from 'contentful-sdk-core' import copy from 'fast-copy' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' -import type { DefaultElements, BasicMetaSysProps, SysLink, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' +import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types.js' import type { Except } from 'type-fest' -import type { FreeFormParameters } from './widget-parameters' +import type { FreeFormParameters } from './widget-parameters.js' export type AppInstallationProps = { sys: Omit & { - appDefinition: SysLink - environment: SysLink - space: SysLink - organization: SysLink + appDefinition: Link<'AppDefinition'> + environment: Link<'Environment'> + space: Link<'Space'> + organization: Link<'Organization'> } /** * Free-form installation parameters (API limits stringified length to 32KB) diff --git a/lib/entities/app-key.ts b/lib/entities/app-key.ts index fff467f566..27746eef91 100644 --- a/lib/entities/app-key.ts +++ b/lib/entities/app-key.ts @@ -1,13 +1,13 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, MakeRequest, SysLink } from '../common-types' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' type AppKeySys = Except & { - appDefinition: SysLink - organization: SysLink + appDefinition: Link<'AppDefinition'> + organization: Link<'Organization'> } export interface JWK { diff --git a/lib/entities/app-signed-request.ts b/lib/entities/app-signed-request.ts index 873ffdce3a..509788cf10 100644 --- a/lib/entities/app-signed-request.ts +++ b/lib/entities/app-signed-request.ts @@ -1,12 +1,12 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, MakeRequest, SysLink } from '../common-types' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' type AppSignedRequestSys = Except & { - appDefinition: SysLink - space: SysLink - environment: SysLink + appDefinition: Link<'AppDefinition'> + space: Link<'Space'> + environment: Link<'Environment'> } export type AppSignedRequestProps = { diff --git a/lib/entities/app-signing-secret.ts b/lib/entities/app-signing-secret.ts index 102b7a6b96..77901c79cd 100644 --- a/lib/entities/app-signing-secret.ts +++ b/lib/entities/app-signing-secret.ts @@ -1,12 +1,12 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, MakeRequest, SysLink } from '../common-types' -import enhanceWithMethods from '../enhance-with-methods' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods.js' type AppSigningSecretSys = Except & { - appDefinition: SysLink - organization: SysLink + appDefinition: Link<'AppDefinition'> + organization: Link<'Organization'> } export type AppSigningSecretProps = { diff --git a/lib/entities/app-upload.ts b/lib/entities/app-upload.ts index 8b36b14f7b..ed6d175b63 100644 --- a/lib/entities/app-upload.ts +++ b/lib/entities/app-upload.ts @@ -1,16 +1,16 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, SysLink, DefaultElements, MakeRequest } from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' +import type { BasicMetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' type AppUploadSys = Except export type AppUploadProps = { sys: AppUploadSys & { expiresAt: string - organization: SysLink + organization: Link<'Organization'> } } diff --git a/lib/entities/asset-key.ts b/lib/entities/asset-key.ts index b3e1df6e55..4a39bd6a3c 100644 --- a/lib/entities/asset-key.ts +++ b/lib/entities/asset-key.ts @@ -1,6 +1,6 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' -import type { DefaultElements, MakeRequest } from '../common-types' +import type { DefaultElements, MakeRequest } from '../common-types.js' export type AssetKeyProps = { /** A JWT describing a policy; needs to be attached to signed URLs */ diff --git a/lib/entities/asset.ts b/lib/entities/asset.ts index 332b2ebf87..3add15c855 100644 --- a/lib/entities/asset.ts +++ b/lib/entities/asset.ts @@ -1,16 +1,16 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' import type { Stream } from 'stream' -import enhanceWithMethods from '../enhance-with-methods' +import enhanceWithMethods from '../enhance-with-methods.js' import type { MetaSysProps, DefaultElements, EntityMetaSysProps, MetadataProps, MakeRequest, -} from '../common-types' -import { wrapCollection } from '../common-utils' -import * as checks from '../plain/checks' +} from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import * as checks from '../plain/checks.js' export type AssetProps = { sys: EntityMetaSysProps & S @@ -42,7 +42,6 @@ export type CreateAssetProps = Omit export type CreateAssetFromFilesOptions = { uploadTimeout?: number } export interface AssetFileProp { - sys: MetaSysProps fields: { title: { [key: string]: string } description: { [key: string]: string } diff --git a/lib/entities/bulk-action.ts b/lib/entities/bulk-action.ts index 1fe8f0b69e..e71ca58544 100644 --- a/lib/entities/bulk-action.ts +++ b/lib/entities/bulk-action.ts @@ -8,10 +8,10 @@ import type { MakeRequest, MakeRequestPayload, VersionedLink, -} from '../common-types' -import enhanceWithMethods from '../enhance-with-methods' -import type { AsyncActionProcessingOptions } from '../methods/action' -import { pollAsyncActionStatus } from '../methods/action' +} from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods.js' +import type { AsyncActionProcessingOptions } from '../methods/action.js' +import { pollAsyncActionStatus } from '../methods/action.js' /** Entity types supported by the BulkAction API */ type Entity = 'Entry' | 'Asset' diff --git a/lib/entities/comment.ts b/lib/entities/comment.ts index 1fc40a5424..f4e351868f 100644 --- a/lib/entities/comment.ts +++ b/lib/entities/comment.ts @@ -9,11 +9,10 @@ import type { GetSpaceEnvironmentParams, Link, MakeRequest, - SysLink, VersionedLink, -} from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' +} from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' // PROPS // @@ -28,8 +27,8 @@ export type CommentSysProps = Pick< 'id' | 'version' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' > & { type: 'Comment' - space: SysLink - environment: SysLink + space: Link<'Space'> + environment: Link<'Environment'> parentEntity: | Link<'ContentType'> | LinkWithReference<'ContentType'> @@ -138,7 +137,7 @@ export interface RichTextComment /** * @private */ -export default function createCommentApi(makeRequest: MakeRequest): CommentApi { +function createCommentApi(makeRequest: MakeRequest): CommentApi { const getParams = (comment: CommentProps): GetCommentParams => ({ spaceId: comment.sys.space.sys.id, environmentId: comment.sys.environment.sys.id, diff --git a/lib/entities/concept-scheme.ts b/lib/entities/concept-scheme.ts index c2a8cdea5d..a747e6a202 100644 --- a/lib/entities/concept-scheme.ts +++ b/lib/entities/concept-scheme.ts @@ -1,6 +1,6 @@ -import type { Link } from '../common-types' -import type { TaxonomyConceptLink } from './concept' -import type { LocalizedEntity } from './utils' +import type { Link } from '../common-types.js' +import type { TaxonomyConceptLink } from './concept.js' +import type { LocalizedEntity } from './utils.js' export type ConceptScheme = { uri: string | null diff --git a/lib/entities/concept.ts b/lib/entities/concept.ts index 093e41da1b..d412b76fb7 100644 --- a/lib/entities/concept.ts +++ b/lib/entities/concept.ts @@ -1,5 +1,5 @@ -import type { Link } from '../common-types' -import type { LocalizedEntity } from './utils' +import type { Link } from '../common-types.js' +import type { LocalizedEntity } from './utils.js' export type TaxonomyConceptLink = Link<'TaxonomyConcept'> diff --git a/lib/entities/content-type-fields.ts b/lib/entities/content-type-fields.ts index c4c05fae79..1084b313c3 100644 --- a/lib/entities/content-type-fields.ts +++ b/lib/entities/content-type-fields.ts @@ -1,4 +1,4 @@ -import type { KeyValueMap } from '../common-types' +import type { KeyValueMap } from '../common-types.js' import type { INLINES, BLOCKS } from '@contentful/rich-text-types' interface NumRange { diff --git a/lib/entities/content-type.ts b/lib/entities/content-type.ts index cb8d3e40bc..54725e80c9 100644 --- a/lib/entities/content-type.ts +++ b/lib/entities/content-type.ts @@ -8,17 +8,16 @@ import type { Link, MakeRequest, QueryOptions, - SysLink, -} from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' -import { isDraft, isPublished, isUpdated } from '../plain/checks' -import type { ContentFields } from './content-type-fields' -import type { EditorInterface } from './editor-interface' -import { wrapEditorInterface } from './editor-interface' -import type { Snapshot, SnapshotProps } from './snapshot' -import { wrapSnapshot, wrapSnapshotCollection } from './snapshot' -import { omitAndDeleteField } from '../methods/content-type' +} from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' +import { isDraft, isPublished, isUpdated } from '../plain/checks.js' +import type { ContentFields } from './content-type-fields.js' +import type { EditorInterface } from './editor-interface.js' +import { wrapEditorInterface } from './editor-interface.js' +import type { Snapshot, SnapshotProps } from './snapshot.js' +import { wrapSnapshot, wrapSnapshotCollection } from './snapshot.js' +import { omitAndDeleteField } from '../methods/content-type.js' type TaxonomyConceptValidationLink = Link<'TaxonomyConcept'> & { required?: boolean } type TaxonomyConceptSchemeValidationLink = Link<'TaxonomyConceptScheme'> & { required?: boolean } @@ -40,8 +39,8 @@ export type AnnotationAssignment = Link<'Annotation'> & { export type ContentTypeProps = { sys: BasicMetaSysProps & { - space: SysLink - environment: SysLink + space: Link<'Space'> + environment: Link<'Environment'> firstPublishedAt?: string publishedCounter?: number publishedVersion?: number diff --git a/lib/entities/editor-interface.ts b/lib/entities/editor-interface.ts index 5072db9c01..0644160658 100644 --- a/lib/entities/editor-interface.ts +++ b/lib/entities/editor-interface.ts @@ -1,9 +1,9 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import type { MetaSysProps, MetaLinkProps, DefaultElements, MakeRequest } from '../common-types' -import { wrapCollection } from '../common-utils' -import type { DefinedParameters } from './widget-parameters' +import enhanceWithMethods from '../enhance-with-methods.js' +import type { MetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import type { DefinedParameters } from './widget-parameters.js' interface WidgetConfig { /** @@ -86,9 +86,9 @@ export interface SidebarItem { export type EditorInterfaceProps = { sys: MetaSysProps & { - space: { sys: MetaLinkProps } - environment: { sys: MetaLinkProps } - contentType: { sys: MetaLinkProps } + space: Link<'Space'> + environment: Link<'Environment'> + contentType: Link<'ContentType'> } /** * Array of fields and their associated widgetId diff --git a/lib/entities/entry.ts b/lib/entities/entry.ts index afc0bb4736..4425799d63 100644 --- a/lib/entities/entry.ts +++ b/lib/entities/entry.ts @@ -3,16 +3,22 @@ import copy from 'fast-copy' import type { CollectionProp, DefaultElements, - EntryMetaSysProps, + EntityMetaSysProps, KeyValueMap, + Link, MakeRequest, MetadataProps, -} from '../common-types' -import { wrapCollection } from '../common-utils' -import type { ContentfulEntryApi } from '../create-entry-api' -import createEntryApi from '../create-entry-api' -import enhanceWithMethods from '../enhance-with-methods' -import type { AssetProps } from './asset' +} from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import type { ContentfulEntryApi } from '../create-entry-api.js' +import createEntryApi from '../create-entry-api.js' +import enhanceWithMethods from '../enhance-with-methods.js' +import type { AssetProps } from './asset.js' + +export interface EntryMetaSysProps extends EntityMetaSysProps { + contentType: Link<'ContentType'> + automationTags: Link<'Tag'>[] +} export type EntryProps = { sys: EntryMetaSysProps & S diff --git a/lib/entities/environment-alias.ts b/lib/entities/environment-alias.ts index 15f53153b4..2bd8c83923 100644 --- a/lib/entities/environment-alias.ts +++ b/lib/entities/environment-alias.ts @@ -1,21 +1,15 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' -import type { - DefaultElements, - MetaLinkProps, - BasicMetaSysProps, - SysLink, - MakeRequest, -} from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' +import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types.js' export type EnvironmentAliasProps = { /** * System meta data */ - sys: BasicMetaSysProps & { space: SysLink } - environment: { sys: MetaLinkProps } + sys: BasicMetaSysProps & { space: Link<'Space'> } + environment: Link<'Environment'> } export type CreateEnvironmentAliasProps = Omit diff --git a/lib/entities/environment-template-installation.ts b/lib/entities/environment-template-installation.ts index b7ad4e0acc..1ff51d6c26 100644 --- a/lib/entities/environment-template-installation.ts +++ b/lib/entities/environment-template-installation.ts @@ -7,8 +7,8 @@ import type { Link, MakeRequest, VersionedLink, -} from '../common-types' -import { wrapCursorPaginatedCollection } from '../common-utils' +} from '../common-types.js' +import { wrapCursorPaginatedCollection } from '../common-utils.js' type JsonObject = { [Key in string]?: JsonValue } type JsonArray = Array diff --git a/lib/entities/environment-template.ts b/lib/entities/environment-template.ts index abd87d5bcb..128a208b85 100644 --- a/lib/entities/environment-template.ts +++ b/lib/entities/environment-template.ts @@ -1,12 +1,12 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { BasicMetaSysProps, Link, MakeRequest, DefaultElements } from '../common-types' -import { wrapCursorPaginatedCollection } from '../common-utils' -import type { ContentfulEnvironmentTemplateApi } from '../create-environment-template-api' -import { createEnvironmentTemplateApi } from '../create-environment-template-api' -import enhanceWithMethods from '../enhance-with-methods' -import type { ContentTypeProps } from './content-type' -import type { EditorInterfaceProps } from './editor-interface' +import type { BasicMetaSysProps, Link, MakeRequest, DefaultElements } from '../common-types.js' +import { wrapCursorPaginatedCollection } from '../common-utils.js' +import type { ContentfulEnvironmentTemplateApi } from '../create-environment-template-api.js' +import { createEnvironmentTemplateApi } from '../create-environment-template-api.js' +import enhanceWithMethods from '../enhance-with-methods.js' +import type { ContentTypeProps } from './content-type.js' +import type { EditorInterfaceProps } from './editor-interface.js' export type Hint = { operation: 'renameFieldId' @@ -29,7 +29,10 @@ export interface ContentTypeTemplateProps extends Omit } export type EnvironmentTemplateProps = { - sys: BasicMetaSysProps & { version: number; organization: Link<'Organization'> } + sys: BasicMetaSysProps & { + version: number + organization: Link<'Organization'> + } name: string description?: string versionName: string diff --git a/lib/entities/environment.ts b/lib/entities/environment.ts index 96d89aec6f..461ae84306 100644 --- a/lib/entities/environment.ts +++ b/lib/entities/environment.ts @@ -1,16 +1,16 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import type { ContentfulEnvironmentAPI } from '../create-environment-api' -import createEnvironmentApi from '../create-environment-api' -import { wrapCollection } from '../common-utils' -import type { DefaultElements, SysLink, BasicMetaSysProps, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import type { ContentfulEnvironmentAPI } from '../create-environment-api.js' +import createEnvironmentApi from '../create-environment-api.js' +import { wrapCollection } from '../common-utils.js' +import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types.js' type EnvironmentMetaSys = BasicMetaSysProps & { - status: SysLink - space: SysLink - aliases?: Array - aliasedEnvironment?: SysLink + status: Link<'Status'> + space: Link<'Space'> + aliases?: Array> + aliasedEnvironment?: Link<'Environment'> } export type EnvironmentProps = { diff --git a/lib/entities/extension.ts b/lib/entities/extension.ts index e76a5f535b..89233c80e3 100644 --- a/lib/entities/extension.ts +++ b/lib/entities/extension.ts @@ -1,19 +1,19 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import type { FieldType } from './field-type' +import enhanceWithMethods from '../enhance-with-methods.js' +import type { FieldType } from './field-type.js' import type { DefinedParameters, InstallationParameterType, ParameterDefinition, -} from './widget-parameters' -import { wrapCollection } from '../common-utils' -import type { DefaultElements, BasicMetaSysProps, SysLink, MakeRequest } from '../common-types' +} from './widget-parameters.js' +import { wrapCollection } from '../common-utils.js' +import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types.js' import type { SetRequired, RequireExactlyOne } from 'type-fest' type ExtensionSysProps = BasicMetaSysProps & { - space: SysLink - environment: SysLink + space: Link<'Space'> + environment: Link<'Environment'> srcdocSha256?: string } diff --git a/lib/entities/function-log.ts b/lib/entities/function-log.ts index f1fd32dd75..bfa87d11ad 100644 --- a/lib/entities/function-log.ts +++ b/lib/entities/function-log.ts @@ -1,9 +1,9 @@ -import type { Link, DefaultElements } from '../common-types' +import type { Link, DefaultElements } from '../common-types.js' import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import { wrapCollection } from '../common-utils' -import type { MakeRequest } from '../common-types' -import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils.js' +import type { MakeRequest } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods.js' export type FunctionLogProps = { sys: { diff --git a/lib/entities/function.ts b/lib/entities/function.ts index 1d33112e7c..3d7f48c040 100644 --- a/lib/entities/function.ts +++ b/lib/entities/function.ts @@ -1,9 +1,9 @@ -import type { Link, DefaultElements } from '../common-types' +import type { Link, DefaultElements } from '../common-types.js' import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import { wrapCollection } from '../common-utils' -import type { MakeRequest } from '../common-types' -import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils.js' +import type { MakeRequest } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods.js' export type FunctionProps = { sys: { diff --git a/lib/entities/index.ts b/lib/entities/index.ts deleted file mode 100644 index d63243839a..0000000000 --- a/lib/entities/index.ts +++ /dev/null @@ -1,127 +0,0 @@ -import * as aiAction from './ai-action' -import * as aiActionInvocation from './ai-action-invocation' -import * as apiKey from './api-key' -import * as appAction from './app-action' -import * as appActionCall from './app-action-call' -import * as appBundle from './app-bundle' -import * as appDefinition from './app-definition' -import * as appDetails from './app-details' -import * as appInstallation from './app-installation' -import * as appSignedRequest from './app-signed-request' -import * as appSigningSecret from './app-signing-secret' -import * as appEventSubscription from './app-event-subscription' -import * as appKey from './app-key' -import * as appAccessToken from './app-access-token' -import * as appUpload from './app-upload' -import * as asset from './asset' -import * as assetKey from './asset-key' -import * as bulkAction from './bulk-action' -import * as comment from './comment' -import * as contentType from './content-type' -import * as editorInterface from './editor-interface' -import * as entry from './entry' -import * as environment from './environment' -import * as environmentAlias from './environment-alias' -import * as environmentTemplate from './environment-template' -import * as environmentTemplateInstallation from './environment-template-installation' -import * as extension from './extension' -import * as func from './function' -import * as functionLog from './function-log' -import * as locale from './locale' -import * as oauthApplication from './oauth-application' -import * as organization from './organization' -import * as organizationInvitation from './organization-invitation' -import * as organizationMembership from './organization-membership' -import * as personalAccessToken from './personal-access-token' -import * as accessToken from './access-token' -import * as previewApiKey from './preview-api-key' -import * as release from './release' -import * as releaseAction from './release-action' -import * as role from './role' -import * as scheduledAction from './scheduled-action' -import * as snapshot from './snapshot' -import * as space from './space' -import * as spaceMember from './space-member' -import * as spaceMembership from './space-membership' -import * as tag from './tag' -import * as task from './task' -import * as team from './team' -import * as teamMembership from './team-membership' -import * as teamSpaceMembership from './team-space-membership' -import * as uiConfig from './ui-config' -import * as upload from './upload' -import * as usage from './usage' -import * as user from './user' -import * as userUIConfig from './user-ui-config' -import * as webhook from './webhook' -import * as workflowDefinition from './workflow-definition' -import * as concept from './concept' -import * as conceptScheme from './concept-scheme' -import * as resourceProvider from './resource-provider' -import * as resourceType from './resource-type' -import * as resource from './resource' - -export default { - aiAction, - aiActionInvocation, - accessToken, - appAction, - appActionCall, - appBundle, - apiKey, - appDefinition, - appInstallation, - appUpload, - appDetails, - appSignedRequest, - appSigningSecret, - appEventSubscription, - appKey, - appAccessToken, - asset, - assetKey, - bulkAction, - comment, - concept, - conceptScheme, - contentType, - editorInterface, - entry, - environment, - environmentAlias, - environmentTemplate, - environmentTemplateInstallation, - extension, - func, - functionLog, - locale, - oauthApplication, - organization, - organizationInvitation, - organizationMembership, - personalAccessToken, - previewApiKey, - release, - releaseAction, - resourceProvider, - resourceType, - resource, - role, - scheduledAction, - snapshot, - space, - spaceMember, - spaceMembership, - tag, - task, - team, - teamMembership, - teamSpaceMembership, - uiConfig, - upload, - usage, - user, - userUIConfig, - webhook, - workflowDefinition, -} diff --git a/lib/entities/locale.ts b/lib/entities/locale.ts index 71ea43c70a..d3ce1e07db 100644 --- a/lib/entities/locale.ts +++ b/lib/entities/locale.ts @@ -1,12 +1,15 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' import type { Except, SetOptional } from 'type-fest' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' -import type { BasicMetaSysProps, SysLink, DefaultElements, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' +import type { BasicMetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types.js' export type LocaleProps = { - sys: BasicMetaSysProps & { space: SysLink; environment: SysLink } + sys: BasicMetaSysProps & { + space: Link<'Space'> + environment: Link<'Environment'> + } /** * Locale name */ diff --git a/lib/entities/oauth-application.ts b/lib/entities/oauth-application.ts index 9f75d5fcb9..203ce7e08e 100644 --- a/lib/entities/oauth-application.ts +++ b/lib/entities/oauth-application.ts @@ -1,8 +1,8 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import type { BasicMetaSysProps, DefaultElements, MakeRequest } from '../common-types' -import enhanceWithMethods from '../enhance-with-methods' +import type { BasicMetaSysProps, DefaultElements, MakeRequest } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods.js' import copy from 'fast-copy' -import { wrapCursorPaginatedCollection } from '../common-utils' +import { wrapCursorPaginatedCollection } from '../common-utils.js' type OAuthApplicationSysProps = BasicMetaSysProps & { lastUsedAt: string | null diff --git a/lib/entities/organization-invitation.ts b/lib/entities/organization-invitation.ts index eab1ee80fc..3fad347d59 100644 --- a/lib/entities/organization-invitation.ts +++ b/lib/entities/organization-invitation.ts @@ -1,10 +1,10 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, MakeRequest, MetaLinkProps, MetaSysProps } from '../common-types' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types.js' export type OrganizationInvitationProps = { sys: MetaSysProps & { - organizationMembership: { sys: MetaLinkProps } + organizationMembership: Link<'OrganizationMembership'> user: Record | null invitationUrl: string status: string diff --git a/lib/entities/organization-membership.ts b/lib/entities/organization-membership.ts index b93110208b..b72e4b22bf 100644 --- a/lib/entities/organization-membership.ts +++ b/lib/entities/organization-membership.ts @@ -1,14 +1,14 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' -import type { MetaSysProps, DefaultElements, MetaLinkProps, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' +import type { MetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types.js' export type OrganizationMembershipProps = { /** * System metadata */ - sys: MetaSysProps & { user: { sys: MetaLinkProps } } + sys: MetaSysProps & { user: Link<'User'> } /** * Role diff --git a/lib/entities/organization.ts b/lib/entities/organization.ts index 4610d7d715..917167c2f4 100644 --- a/lib/entities/organization.ts +++ b/lib/entities/organization.ts @@ -1,10 +1,10 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import type { ContentfulOrganizationAPI } from '../create-organization-api' -import createOrganizationApi from '../create-organization-api' -import { wrapCollection } from '../common-utils' -import type { MetaSysProps, DefaultElements, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import type { ContentfulOrganizationAPI } from '../create-organization-api.js' +import createOrganizationApi from '../create-organization-api.js' +import { wrapCollection } from '../common-utils.js' +import type { MetaSysProps, DefaultElements, MakeRequest } from '../common-types.js' export type Organization = DefaultElements & OrganizationProps & diff --git a/lib/entities/personal-access-token.ts b/lib/entities/personal-access-token.ts index 77aba58444..0c674e28d5 100644 --- a/lib/entities/personal-access-token.ts +++ b/lib/entities/personal-access-token.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' -import type { MetaSysProps, DefaultElements, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' +import type { MetaSysProps, DefaultElements, MakeRequest } from '../common-types.js' export type PersonalAccessTokenProps = { sys: MetaSysProps & { expiresAt?: string } diff --git a/lib/entities/preview-api-key.ts b/lib/entities/preview-api-key.ts index a419d82624..3e2b6fb198 100644 --- a/lib/entities/preview-api-key.ts +++ b/lib/entities/preview-api-key.ts @@ -1,8 +1,8 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, MakeRequest, MetaSysProps } from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' +import type { DefaultElements, MakeRequest, MetaSysProps } from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' export type PreviewApiKeyProps = { sys: MetaSysProps diff --git a/lib/entities/release-action.ts b/lib/entities/release-action.ts index 45f8936f04..3c5522692c 100644 --- a/lib/entities/release-action.ts +++ b/lib/entities/release-action.ts @@ -1,11 +1,11 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, ISO8601Timestamp, Link, MakeRequest } from '../common-types' -import { wrapCollection } from '../common-utils' -import type { AsyncActionProcessingOptions } from '../methods/action' -import { pollAsyncActionStatus } from '../methods/action' -import enhanceWithMethods from '../enhance-with-methods' +import type { DefaultElements, ISO8601Timestamp, Link, MakeRequest } from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import type { AsyncActionProcessingOptions } from '../methods/action.js' +import { pollAsyncActionStatus } from '../methods/action.js' +import enhanceWithMethods from '../enhance-with-methods.js' type ReleaseActionStatuses = 'created' | 'inProgress' | 'failed' | 'succeeded' export type ReleaseActionTypes = 'publish' | 'unpublish' | 'validate' diff --git a/lib/entities/release.ts b/lib/entities/release.ts index 161812dbd3..18670b168c 100644 --- a/lib/entities/release.ts +++ b/lib/entities/release.ts @@ -10,13 +10,13 @@ import type { Link, MakeRequest, MakeRequestPayload, -} from '../common-types' -import { ScheduledActionReferenceFilters } from '../common-types' -import { wrapCursorPaginatedCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' -import type { AsyncActionProcessingOptions } from '../methods/action' -import type { ReleaseAction } from './release-action' -import { wrapReleaseAction } from './release-action' +} from '../common-types.js' +import { ScheduledActionReferenceFilters } from '../common-types.js' +import { wrapCursorPaginatedCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' +import type { AsyncActionProcessingOptions } from '../methods/action.js' +import type { ReleaseAction } from './release-action.js' +import { wrapReleaseAction } from './release-action.js' /** Entity types supported by the Release API */ type Entity = 'Entry' | 'Asset' diff --git a/lib/entities/resource-provider.ts b/lib/entities/resource-provider.ts index f37dc1cb6f..80a891131a 100644 --- a/lib/entities/resource-provider.ts +++ b/lib/entities/resource-provider.ts @@ -2,22 +2,25 @@ import type { BasicMetaSysProps, CollectionProp, DefaultElements, + Link, MakeRequest, - SysLink, -} from '../common-types' +} from '../common-types.js' import { toPlainObject, freezeSys } from 'contentful-sdk-core' import copy from 'fast-copy' -import enhanceWithMethods from '../enhance-with-methods' -import type { ResourceType, UpsertResourceTypeProps } from './resource-type' -import entities from '.' +import enhanceWithMethods from '../enhance-with-methods.js' +import { + wrapResourceType, + type ResourceType, + type UpsertResourceTypeProps, +} from './resource-type.js' export type ResourceProviderProps = { /** * System metadata */ sys: Omit & { - organization: SysLink - appDefinition: SysLink + organization: Link<'Organization'> + appDefinition: Link<'AppDefinition'> } /** * Resource Provider type, value is 'function' @@ -26,7 +29,7 @@ export type ResourceProviderProps = { /** * Link to a Contentful function */ - function: SysLink + function: Link<'Function'> } export type UpsertResourceProviderProps = Omit & { @@ -47,8 +50,6 @@ export interface ResourceProvider * @private */ function createResourceProviderApi(makeRequest: MakeRequest) { - const { wrapResourceType } = entities.resourceType - return { /** * Sends an update to the server with any changes made to the object's properties diff --git a/lib/entities/resource-type.ts b/lib/entities/resource-type.ts index 7855a012ef..55f653ae00 100644 --- a/lib/entities/resource-type.ts +++ b/lib/entities/resource-type.ts @@ -3,22 +3,22 @@ import type { CursorPaginatedCollectionProp, DefaultElements, GetResourceTypeParams, + Link, MakeRequest, - SysLink, -} from '../common-types' +} from '../common-types.js' import { toPlainObject, freezeSys } from 'contentful-sdk-core' import copy from 'fast-copy' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCursorPaginatedCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCursorPaginatedCollection } from '../common-utils.js' export type ResourceTypeProps = { /** * System metadata */ sys: Omit & { - appDefinition: SysLink - resourceProvider: SysLink - organization: SysLink + appDefinition: Link<'AppDefinition'> + resourceProvider: Link<'ResourceProvider'> + organization: Link<'Organization'> } /** * Resource Type name diff --git a/lib/entities/resource.ts b/lib/entities/resource.ts index b57e610d80..20a9206261 100644 --- a/lib/entities/resource.ts +++ b/lib/entities/resource.ts @@ -1,10 +1,10 @@ import type { BasicCursorPaginationOptions, CursorPaginatedCollectionProp, + Link, MakeRequest, - SysLink, -} from '../common-types' -import { wrapCursorPaginatedCollection } from '../common-utils' +} from '../common-types.js' +import { wrapCursorPaginatedCollection } from '../common-utils.js' import { freezeSys, toPlainObject } from 'contentful-sdk-core' export type ResourceQueryOptions = LookupQueryOptions | SearchQueryOptions @@ -23,9 +23,9 @@ export type ResourceProps = { sys: { type: 'Resource' urn: string - resourceType: SysLink - resourceProvider: SysLink - appDefinition: SysLink + resourceType: Link<'ResourceType'> + resourceProvider: Link<'ResourceProvider'> + appDefinition: Link<'AppDefinition'> } fields: { title: string diff --git a/lib/entities/role.ts b/lib/entities/role.ts index 87181fd0d6..d0e0496ed9 100644 --- a/lib/entities/role.ts +++ b/lib/entities/role.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' -import type { DefaultElements, BasicMetaSysProps, SysLink, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' +import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types.js' export type ActionType = | 'read' @@ -20,7 +20,7 @@ export type ConstraintType = { } export type RoleProps = { - sys: BasicMetaSysProps & { space: SysLink } + sys: BasicMetaSysProps & { space: Link<'Space'> } name: string description?: string /** diff --git a/lib/entities/scheduled-action.ts b/lib/entities/scheduled-action.ts index 8f910a8685..3bd64295a3 100644 --- a/lib/entities/scheduled-action.ts +++ b/lib/entities/scheduled-action.ts @@ -3,16 +3,14 @@ import copy from 'fast-copy' import type { DefaultElements, ISO8601Timestamp, - MetaLinkProps, Link, MakeRequest, - SysLink, ScheduledActionReferenceFilters, BasicCursorPaginationOptions, CollectionProp, -} from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' +} from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' /** * Represents that state of the scheduled action @@ -52,7 +50,7 @@ export type ScheduledActionSysProps = { id: string type: 'ScheduledAction' version: number - space: SysLink + space: Link<'Space'> status: ScheduledActionStatus createdAt: ISO8601Timestamp createdBy: Link<'User'> | Link<'AppDefinition'> @@ -72,7 +70,7 @@ export type ScheduledActionProps = { sys: ScheduledActionSysProps action: SchedulableActionType entity: Link - environment?: { sys: MetaLinkProps } + environment?: Link<'Environment'> scheduledFor: { datetime: ISO8601Timestamp /** @@ -128,7 +126,7 @@ export interface ScheduledAction DefaultElements, ScheduledActionApi {} -export default function getInstanceMethods(makeRequest: MakeRequest): ScheduledActionApi { +export function getInstanceMethods(makeRequest: MakeRequest): ScheduledActionApi { const getParams = (self: ScheduledAction) => { const scheduledAction = self.toPlainObject() return { diff --git a/lib/entities/snapshot.ts b/lib/entities/snapshot.ts index 8dc13b1f91..4c7c488a8a 100644 --- a/lib/entities/snapshot.ts +++ b/lib/entities/snapshot.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' -import type { MetaSysProps, DefaultElements, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' +import type { MetaSysProps, DefaultElements, MakeRequest } from '../common-types.js' export type SnapshotProps = { sys: MetaSysProps & { diff --git a/lib/entities/space-member.ts b/lib/entities/space-member.ts index a2d4818b98..862af5e662 100644 --- a/lib/entities/space-member.ts +++ b/lib/entities/space-member.ts @@ -1,7 +1,7 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, MakeRequest, MetaLinkProps, MetaSysProps } from '../common-types' -import { wrapCollection } from '../common-utils' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types.js' +import { wrapCollection } from '../common-utils.js' export type SpaceMemberProps = { sys: MetaSysProps @@ -12,7 +12,7 @@ export type SpaceMemberProps = { /** * Array of Role Links */ - roles: { sys: MetaLinkProps }[] + roles: Link<'Role'>[] } export interface SpaceMember extends SpaceMemberProps, DefaultElements {} diff --git a/lib/entities/space-membership.ts b/lib/entities/space-membership.ts index a8bf6d4a7a..011b1775f5 100644 --- a/lib/entities/space-membership.ts +++ b/lib/entities/space-membership.ts @@ -1,14 +1,14 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' -import type { SysLink, MetaSysProps, DefaultElements, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' +import type { MetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types.js' export type SpaceMembershipProps = { - sys: MetaSysProps & { space: SysLink; user: SysLink } - user: SysLink + sys: MetaSysProps & { space: Link<'Space'>; user: Link<'User'> } + user: Link<'User'> admin: boolean - roles: SysLink[] + roles: Link<'Role'>[] } export type CreateSpaceMembershipProps = Omit & { diff --git a/lib/entities/space.ts b/lib/entities/space.ts index f92d38f573..55c11be64d 100644 --- a/lib/entities/space.ts +++ b/lib/entities/space.ts @@ -1,13 +1,16 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { BasicMetaSysProps, DefaultElements, MakeRequest } from '../common-types' -import { wrapCollection } from '../common-utils' -import type { ContentfulSpaceAPI } from '../create-space-api' -import createSpaceApi from '../create-space-api' -import enhanceWithMethods from '../enhance-with-methods' +import type { BasicMetaSysProps, DefaultElements, MakeRequest } from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import type { ContentfulSpaceAPI } from '../create-space-api.js' +import createSpaceApi from '../create-space-api.js' +import enhanceWithMethods from '../enhance-with-methods.js' export type SpaceProps = { - sys: BasicMetaSysProps & { organization: { sys: { id: string } }; archivedAt?: string } + sys: BasicMetaSysProps & { + organization: { sys: { id: string } } + archivedAt?: string + } name: string } diff --git a/lib/entities/tag.ts b/lib/entities/tag.ts index 98bc4c88db..94e7f4881d 100644 --- a/lib/entities/tag.ts +++ b/lib/entities/tag.ts @@ -3,12 +3,12 @@ import copy from 'fast-copy' import type { DefaultElements, GetTagParams, + Link, MakeRequest, MetaSysProps, - SysLink, -} from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' +} from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' export type TagVisibility = 'private' | 'public' @@ -18,8 +18,8 @@ export type TagSysProps = Pick< > & { type: 'Tag' visibility: TagVisibility - space: SysLink - environment: SysLink + space: Link<'Space'> + environment: Link<'Environment'> } export type TagProps = { @@ -55,7 +55,7 @@ export interface Tag extends TagProps, DefaultElements, TagApi {} /** * @private */ -export default function createTagApi(makeRequest: MakeRequest): TagApi { +function createTagApi(makeRequest: MakeRequest): TagApi { const getParams = (tag: TagProps) => ({ spaceId: tag.sys.space.sys.id, environmentId: tag.sys.environment.sys.id, diff --git a/lib/entities/task.ts b/lib/entities/task.ts index 30ab37f354..fd31719922 100644 --- a/lib/entities/task.ts +++ b/lib/entities/task.ts @@ -7,10 +7,9 @@ import type { GetTaskParams, Link, MakeRequest, - SysLink, -} from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' +} from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' export type TaskStatus = 'active' | 'resolved' @@ -19,8 +18,8 @@ export type TaskSysProps = Pick< 'id' | 'version' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' > & { type: 'Task' - space: SysLink - environment: SysLink + space: Link<'Space'> + environment: Link<'Environment'> parentEntity: Link<'Entry'> } @@ -49,7 +48,7 @@ export interface Task extends TaskProps, DefaultElements, TaskApi {} /** * @private */ -export default function createTaskApi(makeRequest: MakeRequest): TaskApi { +function createTaskApi(makeRequest: MakeRequest): TaskApi { const getParams = (task: TaskProps): GetTaskParams => ({ spaceId: task.sys.space.sys.id, environmentId: task.sys.environment.sys.id, diff --git a/lib/entities/team-membership.ts b/lib/entities/team-membership.ts index 8f152318f5..5ddd762787 100644 --- a/lib/entities/team-membership.ts +++ b/lib/entities/team-membership.ts @@ -1,17 +1,17 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' -import type { DefaultElements, MetaSysProps, MetaLinkProps, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' +import type { DefaultElements, MetaSysProps, MakeRequest, Link } from '../common-types.js' export type TeamMembershipProps = { /** * System metadata */ sys: MetaSysProps & { - team: { sys: MetaLinkProps } - organization: { sys: MetaLinkProps } - organizationMembership: { sys: MetaLinkProps } + team: Link<'Team'> + organization: Link<'Organization'> + organizationMembership: Link<'OrganizationMembership'> } /** diff --git a/lib/entities/team-space-membership.ts b/lib/entities/team-space-membership.ts index ec30fd8896..3831bb848c 100644 --- a/lib/entities/team-space-membership.ts +++ b/lib/entities/team-space-membership.ts @@ -1,14 +1,14 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' import type { DefaultElements, + Link, MakeRequest, - MetaLinkProps, MetaSysProps, QueryOptions, -} from '../common-types' +} from '../common-types.js' export interface Options { teamId?: string @@ -19,7 +19,7 @@ export type TeamSpaceMembershipProps = { /** * System metadata */ - sys: MetaSysProps & { team: { sys: MetaLinkProps }; space: { sys: MetaLinkProps } } + sys: MetaSysProps & { team: Link<'Team'>; space: Link<'Space'> } /** * Is admin @@ -29,7 +29,7 @@ export type TeamSpaceMembershipProps = { /** * Roles */ - roles: { sys: MetaLinkProps }[] + roles: Link<'Role'>[] } export type CreateTeamSpaceMembershipProps = Omit diff --git a/lib/entities/team.ts b/lib/entities/team.ts index 017069d10e..bff3b92b1d 100644 --- a/lib/entities/team.ts +++ b/lib/entities/team.ts @@ -1,14 +1,14 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' -import type { DefaultElements, MetaSysProps, MetaLinkProps, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' +import type { DefaultElements, MetaSysProps, MakeRequest, Link } from '../common-types.js' export type TeamProps = { /** * System metadata */ - sys: MetaSysProps & { memberCount: number; organization: { sys: MetaLinkProps } } + sys: MetaSysProps & { memberCount: number; organization: Link<'Organization'> } /** * Name of the team diff --git a/lib/entities/ui-config.ts b/lib/entities/ui-config.ts index 8807ba80cf..0302f93d81 100644 --- a/lib/entities/ui-config.ts +++ b/lib/entities/ui-config.ts @@ -1,8 +1,8 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { BasicMetaSysProps, DefaultElements, MakeRequest, SysLink } from '../common-types' -import createUIConfigApi from '../create-ui-config-api' -import enhanceWithMethods from '../enhance-with-methods' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' +import createUIConfigApi from '../create-ui-config-api.js' +import enhanceWithMethods from '../enhance-with-methods.js' export type UIConfigProps = { /** @@ -18,8 +18,8 @@ export type UIConfigProps = { } export interface UIConfigSysProps extends BasicMetaSysProps { - space: SysLink - environment: SysLink + space: Link<'Space'> + environment: Link<'Environment'> } interface HomeView { diff --git a/lib/entities/upload-credential.ts b/lib/entities/upload-credential.ts index 3e2512fa92..7e91d06d16 100644 --- a/lib/entities/upload-credential.ts +++ b/lib/entities/upload-credential.ts @@ -1,13 +1,13 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, MakeRequest, MetaSysProps, SysLink } from '../common-types' -import enhanceWithMethods from '../enhance-with-methods' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods.js' export type UploadCredentialProps = { /** * System metadata */ - sys: MetaSysProps & { space: SysLink; environment?: SysLink } + sys: MetaSysProps & { space: Link<'Space'>; environment?: Link<'Environment'> } } export interface UploadCredential diff --git a/lib/entities/upload.ts b/lib/entities/upload.ts index 36ea3cb0a0..5959a8bf67 100644 --- a/lib/entities/upload.ts +++ b/lib/entities/upload.ts @@ -1,13 +1,16 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import type { DefaultElements, MakeRequest, MetaSysProps, SysLink } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types.js' export type UploadProps = { /** * System metadata */ - sys: MetaSysProps & { space: SysLink; environment?: SysLink } + sys: MetaSysProps & { + space: Link<'Space'> + environment?: Link<'Environment'> + } } export interface Upload extends UploadProps, DefaultElements { diff --git a/lib/entities/usage.ts b/lib/entities/usage.ts index 43ba3beece..2923c0e7c8 100644 --- a/lib/entities/usage.ts +++ b/lib/entities/usage.ts @@ -1,14 +1,8 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { - DefaultElements, - MakeRequest, - MetaLinkProps, - MetaSysProps, - QueryOptions, -} from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' +import type { DefaultElements, Link, MakeRequest, QueryOptions } from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' export type UsageMetricEnum = 'cda' | 'cma' | 'cpa' | 'gql' @@ -18,12 +12,18 @@ export interface UsageQuery extends QueryOptions { 'dateRange.endAt'?: string } -export type UsageProps = { +export type UsageProps< + TType extends 'SpacePeriodicUsage' | 'OrganizationPeriodicUsage' = + | 'SpacePeriodicUsage' + | 'OrganizationPeriodicUsage', +> = { /** * System metadata */ - sys: MetaSysProps & { - organization?: { sys: MetaLinkProps } + sys: { + id: string + type: TType + organization?: Link<'Organization'> } /** diff --git a/lib/entities/user-ui-config.ts b/lib/entities/user-ui-config.ts index 9945d89621..20c6a23ea7 100644 --- a/lib/entities/user-ui-config.ts +++ b/lib/entities/user-ui-config.ts @@ -1,8 +1,8 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { BasicMetaSysProps, DefaultElements, MakeRequest, SysLink } from '../common-types' -import createUserUIConfigApi from '../create-user-ui-config-api' -import enhanceWithMethods from '../enhance-with-methods' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' +import createUserUIConfigApi from '../create-user-ui-config-api.js' +import enhanceWithMethods from '../enhance-with-methods.js' export type UserUIConfigProps = { /** @@ -15,8 +15,8 @@ export type UserUIConfigProps = { } export interface UserUIConfigSysProps extends BasicMetaSysProps { - space: SysLink - environment: SysLink + space: Link<'Space'> + environment: Link<'Environment'> } interface ViewFolder { diff --git a/lib/entities/user.ts b/lib/entities/user.ts index 43d9f6d962..b6dd230b2d 100644 --- a/lib/entities/user.ts +++ b/lib/entities/user.ts @@ -1,8 +1,8 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import enhanceWithMethods from '../enhance-with-methods' -import { wrapCollection } from '../common-utils' -import type { DefaultElements, BasicMetaSysProps, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils.js' +import type { DefaultElements, BasicMetaSysProps, MakeRequest } from '../common-types.js' export type UserProps = { /** diff --git a/lib/entities/webhook.ts b/lib/entities/webhook.ts index be750cc4a1..a5ae067ebd 100644 --- a/lib/entities/webhook.ts +++ b/lib/entities/webhook.ts @@ -5,12 +5,11 @@ import type { BasicMetaSysProps, CollectionProp, DefaultElements, + Link, MakeRequest, - MetaLinkProps, - SysLink, -} from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' +} from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' interface EqualityConstraint { equals: [Doc, string] @@ -133,7 +132,7 @@ export type WebhookHealthProps = { /** * System metadata */ - sys: WebhookHealthSys & { space: { sys: MetaLinkProps } } + sys: WebhookHealthSys & { space: Link<'Space'> } /** * Webhook call statistics @@ -144,7 +143,7 @@ export type WebhookHealthProps = { export type WebhookSigningSecretSys = Except export type WebhookSigningSecretProps = { - sys: WebhookSigningSecretSys & { space: { sys: MetaLinkProps } } + sys: WebhookSigningSecretSys & { space: Link<'Space'> } redactedValue: string } @@ -155,7 +154,7 @@ export type WebhookRetryPolicyPayload = { export type WebhookRetryPolicySys = Except export type WebhookRetryPolicyProps = { - sys: WebhookRetryPolicySys & { space: { sys: MetaLinkProps } } + sys: WebhookRetryPolicySys & { space: Link<'Space'> } maxRetries: number } @@ -163,7 +162,7 @@ export type WebhookProps = { /** * System metadata */ - sys: BasicMetaSysProps & { space: SysLink } + sys: BasicMetaSysProps & { space: Link<'Space'> } /** * Webhook name diff --git a/lib/entities/workflow-definition.ts b/lib/entities/workflow-definition.ts index e3b3f93ce1..d797d4ff03 100644 --- a/lib/entities/workflow-definition.ts +++ b/lib/entities/workflow-definition.ts @@ -8,10 +8,9 @@ import type { Link, MakeRequest, PaginationQueryOptions, - SysLink, -} from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' +} from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' /* Workflow Step Permission */ type NonEmptyArray = [T, ...T[]] @@ -101,8 +100,8 @@ export type WorkflowDefinitionSysProps = Pick< 'id' | 'version' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' > & { type: 'WorkflowDefinition' - space: SysLink - environment: SysLink + space: Link<'Space'> + environment: Link<'Environment'> isLocked: boolean } diff --git a/lib/entities/workflow.ts b/lib/entities/workflow.ts index cbbb013301..91ea0abfa6 100644 --- a/lib/entities/workflow.ts +++ b/lib/entities/workflow.ts @@ -8,21 +8,20 @@ import type { Link, MakeRequest, PaginationQueryOptions, - SysLink, -} from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' +} from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' export type WorkflowSysProps = Pick< BasicMetaSysProps, 'id' | 'version' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' > & { type: 'Workflow' - space: SysLink - environment: SysLink - completedBy?: SysLink + space: Link<'Space'> + environment: Link<'Environment'> + completedBy?: Link<'User'> | Link<'AppDefinition'> completedAt?: string - deletedBy?: SysLink + deletedBy?: Link<'User'> | Link<'AppDefinition'> deletedAt?: string entity: Link<'Entry'> workflowDefinition: Link<'WorkflowDefinition'> diff --git a/lib/entities/workflows-changelog-entry.ts b/lib/entities/workflows-changelog-entry.ts index 0a6ba5f59c..169ec31a93 100644 --- a/lib/entities/workflows-changelog-entry.ts +++ b/lib/entities/workflows-changelog-entry.ts @@ -5,11 +5,10 @@ import type { Link, MakeRequest, PaginationQueryOptions, - SysLink, VersionedLink, -} from '../common-types' -import { wrapCollection } from '../common-utils' -import enhanceWithMethods from '../enhance-with-methods' +} from '../common-types.js' +import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods.js' export type WorkflowsChangelogQueryOptions = Omit & { /** Find workflows changelog entries filtered by the Entity type (Entry) */ @@ -25,7 +24,7 @@ export type WorkflowsChangelogQueryOptions = Omit | Link<'AppDefinition'> eventAt: string workflow: VersionedLink<'Workflow'> workflowDefinition: Link<'WorkflowDefinition'> diff --git a/lib/export-types.ts b/lib/export-types.ts index 8f6163051d..8f7f7e9fba 100644 --- a/lib/export-types.ts +++ b/lib/export-types.ts @@ -1,17 +1,20 @@ -export * from './common-types' +export * from './common-types.js' export type { AccessToken, AccessTokenProps as AccessTokenProp, CreatePersonalAccessTokenProps as CreatePATProps, -} from './entities/access-token' -export type { ApiKey, ApiKeyProps, CreateApiKeyProps } from './entities/api-key' +} from './entities/access-token.js' +export type { ApiKey, ApiKeyProps, CreateApiKeyProps } from './entities/api-key.js' export type { AppAccessToken, AppAccessTokenProps, CreateAppAccessTokenProps, -} from './entities/app-access-token' -export type { AiAction, AiActionProps, CreateAiActionProps } from './entities/ai-action' -export type { AiActionInvocation, AiActionInvocationProps } from './entities/ai-action-invocation' +} from './entities/app-access-token.js' +export type { AiAction, AiActionProps, CreateAiActionProps } from './entities/ai-action.js' +export type { + AiActionInvocation, + AiActionInvocationProps, +} from './entities/ai-action-invocation.js' export type { AppAction, AppActionCategoryProps, @@ -20,7 +23,7 @@ export type { AppActionProps, AppActionType, CreateAppActionProps, -} from './entities/app-action' +} from './entities/app-action.js' export type { AppActionCall, AppActionCallProps, @@ -28,13 +31,13 @@ export type { AppActionCallRawResponseProps, AppActionCallStatus, CreateAppActionCallProps, -} from './entities/app-action-call' +} from './entities/app-action-call.js' export type { AppBundle, AppBundleFile, AppBundleProps, CreateAppBundleProps, -} from './entities/app-bundle' +} from './entities/app-bundle.js' export type { AppDefinition, AppDefinitionProps, @@ -44,38 +47,38 @@ export type { NavigationItem, PageLocation, SimpleLocation, -} from './entities/app-definition' +} from './entities/app-definition.js' export type { AppDetails, AppDetailsProps, AppIcon, CreateAppDetailsProps, IconType, -} from './entities/app-details' +} from './entities/app-details.js' export type { AppEventSubscription, AppEventSubscriptionProps, CreateAppEventSubscriptionProps, -} from './entities/app-event-subscription' +} from './entities/app-event-subscription.js' export type { AppInstallation, AppInstallationProps, CreateAppInstallationProps, -} from './entities/app-installation' -export type { AppKey, AppKeyProps, CreateAppKeyProps } from './entities/app-key' +} from './entities/app-installation.js' +export type { AppKey, AppKeyProps, CreateAppKeyProps } from './entities/app-key.js' export type { AppSignedRequest, AppSignedRequestProps, CreateAppSignedRequestProps, -} from './entities/app-signed-request' +} from './entities/app-signed-request.js' export type { AppSigningSecret, AppSigningSecretProps, CreateAppSigningSecretProps, -} from './entities/app-signing-secret' -export type { AppUpload, AppUploadProps } from './entities/app-upload' -export type { Asset, AssetFileProp, AssetProps, CreateAssetProps } from './entities/asset' -export type { AssetKey, AssetKeyProps, CreateAssetKeyProps } from './entities/asset-key' +} from './entities/app-signing-secret.js' +export type { AppUpload, AppUploadProps } from './entities/app-upload.js' +export type { Asset, AssetFileProp, AssetProps, CreateAssetProps } from './entities/asset.js' +export type { AssetKey, AssetKeyProps, CreateAssetKeyProps } from './entities/asset-key.js' export type { BulkAction, BulkActionPayload, @@ -89,10 +92,11 @@ export type { PublishBulkActionV2Payload, UnpublishBulkActionV2Payload, ValidateBulkActionV2Payload, -} from './entities/bulk-action' +} from './entities/bulk-action.js' export type { Comment, CommentProps, + CommentStatus, CreateCommentProps, DeleteCommentParams, GetCommentParentEntityParams, @@ -100,20 +104,20 @@ export type { RichTextCommentDocument, RichTextCommentProps, UpdateCommentProps, -} from './entities/comment' +} from './entities/comment.js' export type { AnnotationAssignment, ContentType, ContentTypeMetadata, ContentTypeProps, CreateContentTypeProps, -} from './entities/content-type' +} from './entities/content-type.js' export type { ContentFields, ContentTypeFieldValidation, ContentfulEntryResource, ExternalResource, -} from './entities/content-type-fields' +} from './entities/content-type-fields.js' export type { Control, Editor, @@ -124,14 +128,25 @@ export type { FieldItem, GroupControl, SidebarItem, -} from './entities/editor-interface' -export type { CreateEntryProps, Entry, EntryProps, WithResourceName } from './entities/entry' -export type { CreateEnvironmentProps, Environment, EnvironmentProps } from './entities/environment' +} from './entities/editor-interface.js' +export type { + CreateEntryProps, + Entry, + EntryProps, + WithResourceName, + EntryMetaSysProps, + EntryReferenceProps, +} from './entities/entry.js' +export type { + CreateEnvironmentProps, + Environment, + EnvironmentProps, +} from './entities/environment.js' export type { CreateEnvironmentAliasProps, EnvironmentAlias, EnvironmentAliasProps, -} from './entities/environment-alias' +} from './entities/environment-alias.js' export type { ContentTypeTemplateProps, CreateEnvironmentTemplateProps, @@ -139,7 +154,7 @@ export type { EnvironmentTemplate, EnvironmentTemplateProps, Hint, -} from './entities/environment-template' +} from './entities/environment-template.js' export type { CreateEnvironmentTemplateInstallationProps, EnvironmentTemplateInstallation, @@ -148,37 +163,37 @@ export type { EnvironmentTemplateValidationProps, ValidateEnvironmentTemplateInstallationProps, ValidationFinding, -} from './entities/environment-template-installation' +} from './entities/environment-template-installation.js' export type { CreateExtensionProps as CreateUIExtensionProps, Extension as UIExtension, ExtensionProps as UIExtensionProps, -} from './entities/extension' -export type { FieldType } from './entities/field-type' -export type { FunctionProps } from './entities/function' -export type { CreateLocaleProps, Locale, LocaleProps } from './entities/locale' -export type { Organization, OrganizationProp, OrganizationProps } from './entities/organization' +} from './entities/extension.js' +export type { FieldType } from './entities/field-type.js' +export type { FunctionProps } from './entities/function.js' +export type { CreateLocaleProps, Locale, LocaleProps } from './entities/locale.js' +export type { Organization, OrganizationProp, OrganizationProps } from './entities/organization.js' export type { OAuthApplication, OAuthApplicationProps, CreateOAuthApplicationProps, -} from './entities/oauth-application' +} from './entities/oauth-application.js' export type { CreateOrganizationInvitationProps, OrganizationInvitation, OrganizationInvitationProps, -} from './entities/organization-invitation' +} from './entities/organization-invitation.js' export type { OrganizationMembership, OrganizationMembershipProps, -} from './entities/organization-membership' +} from './entities/organization-membership.js' export type { CreatePersonalAccessTokenProps, PersonalAccessToken, PersonalAccessTokenProp, PersonalAccessTokenProps, -} from './entities/personal-access-token' -export type { PreviewApiKey, PreviewApiKeyProps } from './entities/preview-api-key' +} from './entities/personal-access-token.js' +export type { PreviewApiKey, PreviewApiKeyProps } from './entities/preview-api-key.js' export type { Release, ReleaseMetadata, @@ -189,47 +204,53 @@ export type { ReleaseReferenceFilters, ReleaseSysProps, ReleaseValidateOptions, -} from './entities/release' +} from './entities/release.js' export type { ReleaseAction, ReleaseActionProps, ReleaseActionQueryOptions, ReleaseActionSysProps, ReleaseActionTypes, -} from './entities/release-action' -export type { CreateRoleProps, Role, RoleProps } from './entities/role' +} from './entities/release-action.js' +export type { + CreateRoleProps, + Role, + RoleProps, + ActionType, + ConstraintType, +} from './entities/role.js' export type { ScheduledAction, ScheduledActionProps, ScheduledActionSysProps, -} from './entities/scheduled-action' -export type { Snapshot, SnapshotProps } from './entities/snapshot' -export type { Space, SpaceProps } from './entities/space' -export type { SpaceMember, SpaceMemberProps } from './entities/space-member' +} from './entities/scheduled-action.js' +export type { Snapshot, SnapshotProps } from './entities/snapshot.js' +export type { Space, SpaceProps } from './entities/space.js' +export type { SpaceMember, SpaceMemberProps } from './entities/space-member.js' export type { CreateSpaceMembershipProps, SpaceMembership, SpaceMembershipProps, -} from './entities/space-membership' -export type { CreateTagProps, Tag, TagProps, TagVisibility } from './entities/tag' -export type { CreateTaskProps, Task, TaskProps, UpdateTaskProps } from './entities/task' -export type { CreateTeamProps, Team, TeamProps } from './entities/team' +} from './entities/space-membership.js' +export type { CreateTagProps, Tag, TagProps, TagVisibility, TagSysProps } from './entities/tag.js' +export type { CreateTaskProps, Task, TaskProps, UpdateTaskProps } from './entities/task.js' +export type { CreateTeamProps, Team, TeamProps } from './entities/team.js' export type { CreateTeamMembershipProps, TeamMembership, TeamMembershipProps, -} from './entities/team-membership' +} from './entities/team-membership.js' export type { CreateTeamSpaceMembershipProps, TeamSpaceMembership, TeamSpaceMembershipProps, -} from './entities/team-space-membership' -export type { UIConfig, UIConfigProps } from './entities/ui-config' -export type { Upload, UploadProps } from './entities/upload' -export type { UploadCredential, UploadCredentialProps } from './entities/upload-credential' -export type { Usage, UsageProps } from './entities/usage' -export type { User, UserProps } from './entities/user' -export type { UserUIConfig, UserUIConfigProps } from './entities/user-ui-config' +} from './entities/team-space-membership.js' +export type { UIConfig, UIConfigProps } from './entities/ui-config.js' +export type { Upload, UploadProps } from './entities/upload.js' +export type { UploadCredential, UploadCredentialProps } from './entities/upload-credential.js' +export type { Usage, UsageProps } from './entities/usage.js' +export type { User, UserProps } from './entities/user.js' +export type { UserUIConfig, UserUIConfigProps } from './entities/user-ui-config.js' export type { CreateWebhooksProps, UpdateWebhookProps, @@ -240,7 +261,10 @@ export type { WebhookProps, WebhookSigningSecretProps, WebhookTransformation, -} from './entities/webhook' + WebhookCallDetailsProps, + WebhookCallOverviewProps, + WebhookHealthProps, +} from './entities/webhook.js' export type { CreateWorkflowDefinitionParams, CreateWorkflowDefinitionProps, @@ -267,29 +291,29 @@ export type { WorkflowStepPermissionActors, WorkflowStepProps, WorkflowStepTaskAction, -} from './entities/workflow-definition' -export * from './plain/common-types' +} from './entities/workflow-definition.js' +export * from './plain/common-types.js' export { WorkflowStepPermissionAction, WorkflowStepPermissionEffect, WorkflowStepPermissionType, -} from './entities/workflow-definition' +} from './entities/workflow-definition.js' -export type { ConceptProps, CreateConceptProps } from './entities/concept' -export type { ConceptSchemeProps, CreateConceptSchemeProps } from './entities/concept-scheme' -export type { ResourceProps, ResourceQueryOptions } from './entities/resource' +export type { ConceptProps, CreateConceptProps } from './entities/concept.js' +export type { ConceptSchemeProps, CreateConceptSchemeProps } from './entities/concept-scheme.js' +export type { ResourceProps, ResourceQueryOptions } from './entities/resource.js' export type { ResourceProvider, ResourceProviderProps, UpsertResourceProviderProps, -} from './entities/resource-provider' +} from './entities/resource-provider.js' export type { ResourceType, ResourceTypeProps, SpaceEnvResourceTypeProps, UpsertResourceTypeProps, -} from './entities/resource-type' +} from './entities/resource-type.js' export type { DefinedParameters, FreeFormParameters, @@ -297,7 +321,7 @@ export type { ParameterDefinition, ParameterOption, ParameterType, -} from './entities/widget-parameters' +} from './entities/widget-parameters.js' export type { CreateWorkflowProps, DeleteWorkflowParams, @@ -305,9 +329,9 @@ export type { Workflow, WorkflowProps, WorkflowQueryOptions, -} from './entities/workflow' +} from './entities/workflow.js' export type { WorkflowsChangelogEntry, WorkflowsChangelogEntryProps, WorkflowsChangelogQueryOptions, -} from './entities/workflows-changelog-entry' +} from './entities/workflows-changelog-entry.js' diff --git a/lib/global.d.ts b/lib/global.d.ts new file mode 100644 index 0000000000..4160217822 --- /dev/null +++ b/lib/global.d.ts @@ -0,0 +1 @@ +declare const __VERSION__: string diff --git a/lib/contentful-management.ts b/lib/index.ts similarity index 74% rename from lib/contentful-management.ts rename to lib/index.ts index 5437adc042..6dcaeb2337 100644 --- a/lib/contentful-management.ts +++ b/lib/index.ts @@ -5,32 +5,31 @@ */ import { getUserAgentHeader } from 'contentful-sdk-core' -import type { RestAdapterParams } from './adapters/REST/rest-adapter' -import type { MakeRequest, XOR } from './common-types' -import type { AdapterParams } from './create-adapter' -import { createAdapter } from './create-adapter' -import type { ClientAPI } from './create-contentful-api' -import createContentfulApi from './create-contentful-api' -import type { PlainClientAPI } from './plain/common-types' -import type { DefaultParams } from './plain/plain-client' -import { createPlainClient } from './plain/plain-client' -import * as editorInterfaceDefaults from './constants/editor-interface-defaults' -import { ScheduledActionStatus } from './entities/scheduled-action' +import type { RestAdapterParams } from './adapters/REST/rest-adapter.js' +import type { MakeRequest, XOR } from './common-types.js' +import type { AdapterParams } from './create-adapter.js' +import { createAdapter } from './create-adapter.js' +import type { ClientAPI } from './create-contentful-api.js' +import createContentfulApi from './create-contentful-api.js' +import type { PlainClientAPI } from './plain/common-types.js' +import type { DefaultParams } from './plain/plain-client.js' +import { createPlainClient } from './plain/plain-client.js' +import * as editorInterfaceDefaults from './constants/editor-interface-defaults/index.js' +import { ScheduledActionStatus } from './entities/scheduled-action.js' -export type { ClientAPI } from './create-contentful-api' -export { asIterator } from './plain/as-iterator' -export { fetchAll } from './plain/pagination-helper' -export { isDraft, isPublished, isUpdated } from './plain/checks' -export type { PlainClientAPI } from './plain/common-types' +export type { ClientAPI } from './create-contentful-api.js' +export { asIterator } from './plain/as-iterator.js' +export { fetchAll } from './plain/pagination-helper.js' +export { isDraft, isPublished, isUpdated } from './plain/checks.js' +export type { PlainClientAPI } from './plain/common-types.js' export { createClient } -export { RestAdapter } from './adapters/REST/rest-adapter' -export type { RestAdapterParams } from './adapters/REST/rest-adapter' -export { makeRequest } from './adapters/REST/make-request' +export { RestAdapter } from './adapters/REST/rest-adapter.js' +export type { RestAdapterParams } from './adapters/REST/rest-adapter.js' +export { makeRequest } from './adapters/REST/make-request.js' export { editorInterfaceDefaults } export type PlainClientDefaultParams = DefaultParams -export * from './export-types' +export * from './export-types.js' export { ScheduledActionStatus } - interface UserAgentParams { /** * Application name and version e.g myApp/version @@ -91,7 +90,6 @@ function createClient( const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js' const userAgent = getUserAgentHeader( - // @ts-expect-error `${sdkMain}/${__VERSION__}`, params.application, params.integration, diff --git a/lib/methods/action.ts b/lib/methods/action.ts index 5fd31bf478..b32320d7fe 100644 --- a/lib/methods/action.ts +++ b/lib/methods/action.ts @@ -1,5 +1,5 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ -import { sleep } from './utils' +import { sleep } from './utils.js' const DEFAULT_MAX_RETRIES = 30 const DEFAULT_INITIAL_DELAY_MS = 1000 diff --git a/lib/methods/content-type.ts b/lib/methods/content-type.ts index 678c4c9d6c..94028a8455 100644 --- a/lib/methods/content-type.ts +++ b/lib/methods/content-type.ts @@ -1,5 +1,5 @@ -import type { GetContentTypeParams, MakeRequest } from '../common-types' -import type { ContentTypeProps } from '../entities/content-type' +import type { GetContentTypeParams, MakeRequest } from '../common-types.js' +import type { ContentTypeProps } from '../entities/content-type.js' type OmitOrDelete = 'omitted' | 'deleted' diff --git a/lib/methods/release-action.ts b/lib/methods/release-action.ts index 738d12a406..7c3b6c6119 100644 --- a/lib/methods/release-action.ts +++ b/lib/methods/release-action.ts @@ -1,7 +1,7 @@ -import type { ReleaseActionProps, ReleaseActionTypes } from '../entities/release-action' -import type { PlainClientAPI } from '../plain/common-types' -import type { AsyncActionProcessingOptions } from './action' -import { pollAsyncActionStatus } from './action' +import type { ReleaseActionProps, ReleaseActionTypes } from '../entities/release-action.js' +import type { PlainClientAPI } from '../plain/common-types.js' +import type { AsyncActionProcessingOptions } from './action.js' +import { pollAsyncActionStatus } from './action.js' type PlainOptions = { /** Used by the PlainClient to perform a poll for the BulkAction status */ diff --git a/lib/plain/as-iterator.ts b/lib/plain/as-iterator.ts index 7d37b86781..35c21b40f2 100644 --- a/lib/plain/as-iterator.ts +++ b/lib/plain/as-iterator.ts @@ -1,5 +1,5 @@ import copy from 'fast-copy' -import type { CollectionProp, QueryParams } from '../common-types' +import type { CollectionProp, QueryParams } from '../common-types.js' type IterableFn

= (params: P) => Promise> type ParamsType = T extends (params: infer P) => any ? P : never diff --git a/lib/plain/checks.ts b/lib/plain/checks.ts index 1611578618..1bee748413 100644 --- a/lib/plain/checks.ts +++ b/lib/plain/checks.ts @@ -1,4 +1,4 @@ -import type { MetaSysProps } from '../common-types' +import type { MetaSysProps } from '../common-types.js' export const isPublished = (data: { sys: MetaSysProps }) => !!data.sys.publishedVersion diff --git a/lib/plain/common-types.ts b/lib/plain/common-types.ts index 1a98cf55d5..9c22448768 100644 --- a/lib/plain/common-types.ts +++ b/lib/plain/common-types.ts @@ -31,19 +31,19 @@ import type { ReleaseEnvironmentParams, UpdateReleaseAssetParams, UpdateReleaseEntryParams, -} from '../common-types' +} from '../common-types.js' import type { AccessTokenProps, CreatePersonalAccessTokenProps as CreatePATProps, -} from '../entities/access-token' -import type { ApiKeyProps, CreateApiKeyProps } from '../entities/api-key' +} from '../entities/access-token.js' +import type { ApiKeyProps, CreateApiKeyProps } from '../entities/api-key.js' import type { AssetFileProp, AssetProcessingForLocale, AssetProps, CreateAssetProps, -} from '../entities/asset' -import type { AssetKeyProps, CreateAssetKeyProps } from '../entities/asset-key' +} from '../entities/asset.js' +import type { AssetKeyProps, CreateAssetKeyProps } from '../entities/asset-key.js' import type { BulkActionPayload, BulkActionProps, @@ -54,93 +54,94 @@ import type { PublishBulkActionV2Payload, UnpublishBulkActionV2Payload, ValidateBulkActionV2Payload, -} from '../entities/bulk-action' -import type { ContentTypeProps, CreateContentTypeProps } from '../entities/content-type' -import type { CreateEntryProps, EntryProps, EntryReferenceProps } from '../entities/entry' +} from '../entities/bulk-action.js' +import type { ContentTypeProps, CreateContentTypeProps } from '../entities/content-type.js' +import type { CreateEntryProps, EntryProps, EntryReferenceProps } from '../entities/entry.js' import type { CreateEnvironmentTemplateProps, EnvironmentTemplateProps, -} from '../entities/environment-template' +} from '../entities/environment-template.js' import type { CreateEnvironmentTemplateInstallationProps, EnvironmentTemplateInstallationProps, EnvironmentTemplateValidationProps, ValidateEnvironmentTemplateInstallationProps, -} from '../entities/environment-template-installation' +} from '../entities/environment-template-installation.js' import type { CreateOrganizationInvitationProps, OrganizationInvitationProps, -} from '../entities/organization-invitation' -import type { OrganizationMembershipProps } from '../entities/organization-membership' +} from '../entities/organization-invitation.js' +import type { OrganizationMembershipProps } from '../entities/organization-membership.js' import type { CreatePersonalAccessTokenProps, PersonalAccessTokenProps, -} from '../entities/personal-access-token' -import type { PreviewApiKeyProps } from '../entities/preview-api-key' +} from '../entities/personal-access-token.js' +import type { PreviewApiKeyProps } from '../entities/preview-api-key.js' import type { ReleasePayload, ReleasePayloadV2, ReleaseProps, ReleaseQueryOptions, ReleaseValidatePayload, -} from '../entities/release' -import type { ReleaseActionProps, ReleaseActionQueryOptions } from '../entities/release-action' +} from '../entities/release.js' +import type { ReleaseActionProps, ReleaseActionQueryOptions } from '../entities/release-action.js' import type { CreateUpdateScheduledActionProps, ScheduledActionProps, -} from '../entities/scheduled-action' -import type { SnapshotProps } from '../entities/snapshot' -import type { AppAccessTokenPlainClientAPI } from './entities/app-access-token' -import type { AppActionPlainClientAPI } from './entities/app-action' -import type { AppActionCallPlainClientAPI } from './entities/app-action-call' -import type { AppBundlePlainClientAPI } from './entities/app-bundle' -import type { AppDefinitionPlainClientAPI } from './entities/app-definition' -import type { AppDetailsPlainClientAPI } from './entities/app-details' -import type { AppEventSubscriptionPlainClientAPI } from './entities/app-event-subscription' -import type { AppInstallationPlainClientAPI } from './entities/app-installation' -import type { AppKeyPlainClientAPI } from './entities/app-key' -import type { AppSignedRequestPlainClientAPI } from './entities/app-signed-request' -import type { AppSigningSecretPlainClientAPI } from './entities/app-signing-secret' -import type { AppUploadPlainClientAPI } from './entities/app-upload' -import type { CommentPlainClientAPI } from './entities/comment' -import type { ConceptPlainClientAPI } from './entities/concept' -import type { ConceptSchemePlainClientAPI } from './entities/concept-scheme' -import type { EditorInterfacePlainClientAPI } from './entities/editor-interface' -import type { EnvironmentPlainClientAPI } from './entities/environment' -import type { EnvironmentAliasPlainClientAPI } from './entities/environment-alias' -import type { ExtensionPlainClientAPI } from './entities/extension' -import type { FunctionPlainClientAPI } from './entities/function' -import type { LocalePlainClientAPI } from './entities/locale' -import type { OrganizationPlainClientAPI } from './entities/organization' -import type { ResourcePlainAPI } from './entities/resource' -import type { ResourceProviderPlainClientAPI } from './entities/resource-provider' -import type { ResourceTypePlainClientAPI } from './entities/resource-type' -import type { RolePlainClientAPI } from './entities/role' -import type { SpacePlainClientAPI } from './entities/space' -import type { SpaceMemberPlainClientAPI } from './entities/space-member' -import type { SpaceMembershipPlainClientAPI } from './entities/space-membership' -import type { TagPlainClientAPI } from './entities/tag' -import type { TaskPlainClientAPI } from './entities/task' -import type { TeamPlainClientAPI } from './entities/team' -import type { TeamMembershipPlainClientAPI } from './entities/team-membership' -import type { TeamSpaceMembershipPlainClientAPI } from './entities/team-space-membership' -import type { UIConfigPlainClientAPI } from './entities/ui-config' -import type { UploadPlainClientAPI } from './entities/upload' -import type { UploadCredentialAPI } from './entities/upload-credential' -import type { UsagePlainClientAPI } from './entities/usage' -import type { UserPlainClientAPI } from './entities/user' -import type { UserUIConfigPlainClientAPI } from './entities/user-ui-config' -import type { WebhookPlainClientAPI } from './entities/webhook' -import type { WorkflowPlainClientAPI } from './entities/workflow' -import type { WorkflowDefinitionPlainClientAPI } from './entities/workflow-definition' -import type { WorkflowsChangelogPlainClientAPI } from './entities/workflows-changelog' -import type { DefaultParams, OptionalDefaults } from './wrappers/wrap' -import type { OAuthApplicationPlainClientAPI } from './entities/oauth-application' -import type { FunctionLogPlainClientAPI } from './entities/function-log' -import type { AiActionPlainClientAPI } from './entities/ai-action' -import type { AiActionInvocationPlainClientAPI } from './entities/ai-action-invocation' +} from '../entities/scheduled-action.js' +import type { SnapshotProps } from '../entities/snapshot.js' +import type { AppAccessTokenPlainClientAPI } from './entities/app-access-token.js' +import type { AppActionPlainClientAPI } from './entities/app-action.js' +import type { AppActionCallPlainClientAPI } from './entities/app-action-call.js' +import type { AppBundlePlainClientAPI } from './entities/app-bundle.js' +import type { AppDefinitionPlainClientAPI } from './entities/app-definition.js' +import type { AppDetailsPlainClientAPI } from './entities/app-details.js' +import type { AppEventSubscriptionPlainClientAPI } from './entities/app-event-subscription.js' +import type { AppInstallationPlainClientAPI } from './entities/app-installation.js' +import type { AppKeyPlainClientAPI } from './entities/app-key.js' +import type { AppSignedRequestPlainClientAPI } from './entities/app-signed-request.js' +import type { AppSigningSecretPlainClientAPI } from './entities/app-signing-secret.js' +import type { AppUploadPlainClientAPI } from './entities/app-upload.js' +import type { CommentPlainClientAPI } from './entities/comment.js' +import type { ConceptPlainClientAPI } from './entities/concept.js' +import type { ConceptSchemePlainClientAPI } from './entities/concept-scheme.js' +import type { EditorInterfacePlainClientAPI } from './entities/editor-interface.js' +import type { EnvironmentPlainClientAPI } from './entities/environment.js' +import type { EnvironmentAliasPlainClientAPI } from './entities/environment-alias.js' +import type { ExtensionPlainClientAPI } from './entities/extension.js' +import type { FunctionPlainClientAPI } from './entities/function.js' +import type { LocalePlainClientAPI } from './entities/locale.js' +import type { OrganizationPlainClientAPI } from './entities/organization.js' +import type { ResourcePlainAPI } from './entities/resource.js' +import type { ResourceProviderPlainClientAPI } from './entities/resource-provider.js' +import type { ResourceTypePlainClientAPI } from './entities/resource-type.js' +import type { RolePlainClientAPI } from './entities/role.js' +import type { SpacePlainClientAPI } from './entities/space.js' +import type { SpaceMemberPlainClientAPI } from './entities/space-member.js' +import type { SpaceMembershipPlainClientAPI } from './entities/space-membership.js' +import type { TagPlainClientAPI } from './entities/tag.js' +import type { TaskPlainClientAPI } from './entities/task.js' +import type { TeamPlainClientAPI } from './entities/team.js' +import type { TeamMembershipPlainClientAPI } from './entities/team-membership.js' +import type { TeamSpaceMembershipPlainClientAPI } from './entities/team-space-membership.js' +import type { UIConfigPlainClientAPI } from './entities/ui-config.js' +import type { UploadPlainClientAPI } from './entities/upload.js' +import type { UploadCredentialAPI } from './entities/upload-credential.js' +import type { UsagePlainClientAPI } from './entities/usage.js' +import type { UserPlainClientAPI } from './entities/user.js' +import type { UserUIConfigPlainClientAPI } from './entities/user-ui-config.js' +import type { WebhookPlainClientAPI } from './entities/webhook.js' +import type { WorkflowPlainClientAPI } from './entities/workflow.js' +import type { WorkflowDefinitionPlainClientAPI } from './entities/workflow-definition.js' +import type { WorkflowsChangelogPlainClientAPI } from './entities/workflows-changelog.js' +import type { DefaultParams, OptionalDefaults } from './wrappers/wrap.js' +import type { OAuthApplicationPlainClientAPI } from './entities/oauth-application.js' +import type { FunctionLogPlainClientAPI } from './entities/function-log.js' +import type { AiActionPlainClientAPI } from './entities/ai-action.js' +import type { AiActionInvocationPlainClientAPI } from './entities/ai-action-invocation.js' export type PlainClientAPI = { + version: string raw: { getDefaultParams(): DefaultParams | undefined get(url: string, config?: RawAxiosRequestConfig): Promise diff --git a/lib/plain/entities/ai-action-invocation.ts b/lib/plain/entities/ai-action-invocation.ts index afb3ffff8a..e8b841ae5b 100644 --- a/lib/plain/entities/ai-action-invocation.ts +++ b/lib/plain/entities/ai-action-invocation.ts @@ -1,6 +1,6 @@ -import type { GetSpaceEnvironmentParams } from '../../common-types' -import type { AiActionInvocationProps } from '../../entities/ai-action-invocation' -import type { OptionalDefaults } from '../wrappers/wrap' +import type { GetSpaceEnvironmentParams } from '../../common-types.js' +import type { AiActionInvocationProps } from '../../entities/ai-action-invocation.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' import type { RawAxiosRequestHeaders } from 'axios' export type AiActionInvocationPlainClientAPI = { diff --git a/lib/plain/entities/ai-action.ts b/lib/plain/entities/ai-action.ts index 74aface701..4c3b804c35 100644 --- a/lib/plain/entities/ai-action.ts +++ b/lib/plain/entities/ai-action.ts @@ -3,13 +3,13 @@ import type { GetSpaceEnvironmentParams, GetSpaceParams, QueryParams, -} from '../../common-types' -import type { AiActionProps, CreateAiActionProps } from '../../entities/ai-action' +} from '../../common-types.js' +import type { AiActionProps, CreateAiActionProps } from '../../entities/ai-action.js' import type { AiActionInvocationProps, AiActionInvocationType, -} from '../../entities/ai-action-invocation' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/ai-action-invocation.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' import type { RawAxiosRequestHeaders } from 'axios' export type AiActionPlainClientAPI = { diff --git a/lib/plain/entities/app-access-token.ts b/lib/plain/entities/app-access-token.ts index c2c4227632..ceb0bb4b0d 100644 --- a/lib/plain/entities/app-access-token.ts +++ b/lib/plain/entities/app-access-token.ts @@ -1,9 +1,9 @@ -import type { GetAppInstallationParams } from '../../common-types' +import type { GetAppInstallationParams } from '../../common-types.js' import type { AppAccessTokenProps, CreateAppAccessTokenProps, -} from '../../entities/app-access-token' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/app-access-token.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type AppAccessTokenPlainClientAPI = { /** diff --git a/lib/plain/entities/app-action-call.ts b/lib/plain/entities/app-action-call.ts index b14dc2ad72..5358584dd8 100644 --- a/lib/plain/entities/app-action-call.ts +++ b/lib/plain/entities/app-action-call.ts @@ -4,14 +4,14 @@ import type { GetAppActionCallParamsWithId, CreateWithResponseParams, CreateWithResultParams, -} from '../../common-types' +} from '../../common-types.js' import type { AppActionCallProps, AppActionCallResponse, AppActionCallRawResponseProps, CreateAppActionCallProps, -} from '../../entities/app-action-call' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/app-action-call.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type AppActionCallPlainClientAPI = { /** diff --git a/lib/plain/entities/app-action.ts b/lib/plain/entities/app-action.ts index 1cc4a19fed..1ba29f3ece 100644 --- a/lib/plain/entities/app-action.ts +++ b/lib/plain/entities/app-action.ts @@ -4,9 +4,9 @@ import type { GetAppActionsForEnvParams, GetAppDefinitionParams, QueryParams, -} from '../../common-types' -import type { AppActionProps, CreateAppActionProps } from '../../entities/app-action' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { AppActionProps, CreateAppActionProps } from '../../entities/app-action.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type AppActionPlainClientAPI = { /** diff --git a/lib/plain/entities/app-bundle.ts b/lib/plain/entities/app-bundle.ts index d39f4ac77b..119785cdaf 100644 --- a/lib/plain/entities/app-bundle.ts +++ b/lib/plain/entities/app-bundle.ts @@ -3,9 +3,9 @@ import type { GetAppBundleParams, GetAppDefinitionParams, QueryParams, -} from '../../common-types' -import type { AppBundleProps, CreateAppBundleProps } from '../../entities/app-bundle' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { AppBundleProps, CreateAppBundleProps } from '../../entities/app-bundle.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type AppBundlePlainClientAPI = { /** diff --git a/lib/plain/entities/app-definition.ts b/lib/plain/entities/app-definition.ts index 60fa74aaab..8da8646325 100644 --- a/lib/plain/entities/app-definition.ts +++ b/lib/plain/entities/app-definition.ts @@ -4,13 +4,13 @@ import type { GetAppDefinitionParams, GetOrganizationParams, QueryParams, -} from '../../common-types' +} from '../../common-types.js' import type { AppDefinitionProps, AppInstallationsForOrganizationProps, CreateAppDefinitionProps, -} from '../../entities/app-definition' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/app-definition.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type AppDefinitionPlainClientAPI = { /** diff --git a/lib/plain/entities/app-details.ts b/lib/plain/entities/app-details.ts index f78ab420ab..f1f778b411 100644 --- a/lib/plain/entities/app-details.ts +++ b/lib/plain/entities/app-details.ts @@ -1,6 +1,6 @@ -import type { GetAppDefinitionParams } from '../../common-types' -import type { AppDetailsProps, CreateAppDetailsProps } from '../../entities/app-details' -import type { OptionalDefaults } from '../wrappers/wrap' +import type { GetAppDefinitionParams } from '../../common-types.js' +import type { AppDetailsProps, CreateAppDetailsProps } from '../../entities/app-details.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type AppDetailsPlainClientAPI = { /** diff --git a/lib/plain/entities/app-event-subscription.ts b/lib/plain/entities/app-event-subscription.ts index 3cda0b9de9..5d513e895b 100644 --- a/lib/plain/entities/app-event-subscription.ts +++ b/lib/plain/entities/app-event-subscription.ts @@ -1,9 +1,9 @@ -import type { GetAppDefinitionParams } from '../../common-types' +import type { GetAppDefinitionParams } from '../../common-types.js' import type { AppEventSubscriptionProps, CreateAppEventSubscriptionProps, -} from '../../entities/app-event-subscription' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/app-event-subscription.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type AppEventSubscriptionPlainClientAPI = { /** diff --git a/lib/plain/entities/app-installation.ts b/lib/plain/entities/app-installation.ts index 5d0c6041d3..daa5c2811d 100644 --- a/lib/plain/entities/app-installation.ts +++ b/lib/plain/entities/app-installation.ts @@ -6,13 +6,13 @@ import type { GetSpaceEnvironmentParams, PaginationQueryParams, SpaceQueryParams, -} from '../../common-types' -import type { AppInstallationsForOrganizationProps } from '../../entities/app-definition' +} from '../../common-types.js' +import type { AppInstallationsForOrganizationProps } from '../../entities/app-definition.js' import type { AppInstallationProps, CreateAppInstallationProps, -} from '../../entities/app-installation' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/app-installation.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type AppInstallationPlainClientAPI = { /** diff --git a/lib/plain/entities/app-key.ts b/lib/plain/entities/app-key.ts index 030f907382..1125234975 100644 --- a/lib/plain/entities/app-key.ts +++ b/lib/plain/entities/app-key.ts @@ -1,6 +1,6 @@ -import type { CollectionProp, GetAppDefinitionParams, QueryParams } from '../../common-types' -import type { AppKeyProps, CreateAppKeyProps } from '../../entities/app-key' -import type { OptionalDefaults } from '../wrappers/wrap' +import type { CollectionProp, GetAppDefinitionParams, QueryParams } from '../../common-types.js' +import type { AppKeyProps, CreateAppKeyProps } from '../../entities/app-key.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type AppKeyPlainClientAPI = { /** diff --git a/lib/plain/entities/app-signed-request.ts b/lib/plain/entities/app-signed-request.ts index 953b50d1e7..19ad7f7e64 100644 --- a/lib/plain/entities/app-signed-request.ts +++ b/lib/plain/entities/app-signed-request.ts @@ -1,9 +1,9 @@ -import type { GetAppInstallationParams } from '../../common-types' +import type { GetAppInstallationParams } from '../../common-types.js' import type { AppSignedRequestProps, CreateAppSignedRequestProps, -} from '../../entities/app-signed-request' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/app-signed-request.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type AppSignedRequestPlainClientAPI = { /** diff --git a/lib/plain/entities/app-signing-secret.ts b/lib/plain/entities/app-signing-secret.ts index dc65a0c70b..33be3318b7 100644 --- a/lib/plain/entities/app-signing-secret.ts +++ b/lib/plain/entities/app-signing-secret.ts @@ -1,9 +1,9 @@ -import type { GetAppDefinitionParams } from '../../common-types' +import type { GetAppDefinitionParams } from '../../common-types.js' import type { AppSigningSecretProps, CreateAppSigningSecretProps, -} from '../../entities/app-signing-secret' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/app-signing-secret.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type AppSigningSecretPlainClientAPI = { /** diff --git a/lib/plain/entities/app-upload.ts b/lib/plain/entities/app-upload.ts index 5a529c7fa8..38c36e2760 100644 --- a/lib/plain/entities/app-upload.ts +++ b/lib/plain/entities/app-upload.ts @@ -1,7 +1,7 @@ import type { Stream } from 'stream' -import type { GetAppUploadParams, GetOrganizationParams } from '../../common-types' -import type { AppUploadProps } from '../../entities/app-upload' -import type { OptionalDefaults } from '../wrappers/wrap' +import type { GetAppUploadParams, GetOrganizationParams } from '../../common-types.js' +import type { AppUploadProps } from '../../entities/app-upload.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type AppUploadPlainClientAPI = { /** diff --git a/lib/plain/entities/comment.ts b/lib/plain/entities/comment.ts index 493bcc144b..97db427c81 100644 --- a/lib/plain/entities/comment.ts +++ b/lib/plain/entities/comment.ts @@ -1,5 +1,5 @@ import type { RawAxiosRequestHeaders } from 'axios' -import type { CollectionProp, GetCommentParams, QueryParams } from '../../common-types' +import type { CollectionProp, GetCommentParams, QueryParams } from '../../common-types.js' import type { CommentProps, CreateCommentParams, @@ -12,8 +12,8 @@ import type { RichTextCommentProps, UpdateCommentParams, UpdateCommentProps, -} from '../../entities/comment' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/comment.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type CommentPlainClientAPI = { /** Fetches a plain text comment diff --git a/lib/plain/entities/concept-scheme.ts b/lib/plain/entities/concept-scheme.ts index 57b36903ea..b7c070a5ef 100644 --- a/lib/plain/entities/concept-scheme.ts +++ b/lib/plain/entities/concept-scheme.ts @@ -5,8 +5,8 @@ import type { GetManyConceptSchemeParams, GetOrganizationParams, UpdateConceptSchemeParams, -} from '../../common-types' -import type { ConceptSchemeProps, CreateConceptSchemeProps } from '../../entities/concept-scheme' +} from '../../common-types.js' +import type { ConceptSchemeProps, CreateConceptSchemeProps } from '../../entities/concept-scheme.js' import type { OpPatch } from 'json-patch' import type { SetOptional } from 'type-fest' @@ -46,48 +46,27 @@ export type ConceptSchemePlainClientAPI = { payload: CreateConceptSchemeProps, ): Promise - /** - * Update Concept Scheme - * @returns the updated Concept Scheme - * @throws if the request fails - * @see {@link https://www.contentful.com/developers/docs/references/content-management-api/#/reference/taxonomy/concept-scheme} - * @deprecated The behavior of this method as a PATCH is being deprecated, and will be replaced with a PUT in the next major version. Use the `patch` method instead. - * @example - * ```javascript - * const updatedConcept = await client.conceptScheme.update({ - * organizationId: '', - * conceptSchemeId: '', - * version: 1, - * }, conceptSchemePatch); - * ``` - */ - update( - params: SetOptional, - payload: OpPatch[], - ): Promise - /** * Update Concept Scheme with PUT * @returns the updated Concept Scheme * @throws if the request fails * @see {@link https://www.contentful.com/developers/docs/references/content-management-api/#/reference/taxonomy/concept-scheme} - * @deprecated In the next major version, this method will be replaced with the standard `update` method which will be updated to use PUT instead of PATCH. * @example * ```javascript * const updatedConcept = await client.conceptScheme.update({ * organizationId: '', * conceptSchemeId: '', * version: 1, - * }, CreateConceptSchemeProps); + * }, conceptSchemeProps); * ``` */ - updatePut( + update( params: SetOptional, payload: CreateConceptSchemeProps, ): Promise /** - * Update Concept Scheme + * Update Concept Scheme with PATCH * @returns the updated Concept Scheme * @throws if the request fails * @see {@link https://www.contentful.com/developers/docs/references/content-management-api/#/reference/taxonomy/concept-scheme} diff --git a/lib/plain/entities/concept.ts b/lib/plain/entities/concept.ts index 5e2825c23f..33cb0ab5cd 100644 --- a/lib/plain/entities/concept.ts +++ b/lib/plain/entities/concept.ts @@ -6,8 +6,8 @@ import type { GetManyConceptParams, GetOrganizationParams, UpdateConceptParams, -} from '../../common-types' -import type { ConceptProps, CreateConceptProps } from '../../entities/concept' +} from '../../common-types.js' +import type { ConceptProps, CreateConceptProps } from '../../entities/concept.js' import type { OpPatch } from 'json-patch' import type { SetOptional } from 'type-fest' @@ -48,47 +48,26 @@ export type ConceptPlainClientAPI = { ): Promise /** - * Update Concept + * Update Concept with PUT * @returns the updated Concept * @throws if the request fails * @see {@link https://www.contentful.com/developers/docs/references/content-management-api/#/reference/taxonomy/concept} - * @deprecated The behavior of this method as a PATCH is being deprecated, and will be replaced with a PUT in the next major version. Use the `patch` method instead. * @example * ```javascript * const updatedConcept = await client.concept.update({ * organizationId: '', * conceptId: '', * version: 1, - * }, patch); + * }, conceptProps); * ``` */ update( - params: SetOptional, - payload: OpPatch[], - ): Promise - - /** - * Update Concept with PUT - * @returns the updated Concept - * @throws if the request fails - * @see {@link https://www.contentful.com/developers/docs/references/content-management-api/#/reference/taxonomy/concept} - * @deprecated In the next major version, this method will be replaced with the standard `update` method which will be updated to use PUT instead of PATCH. - * @example - * ```javascript - * const updatedConcept = await client.concept.updatePut({ - * organizationId: '', - * conceptId: '', - * version: 1, - * }, patch); - * ``` - */ - updatePut( params: SetOptional, payload: CreateConceptProps, ): Promise /** - * Update Concept + * Update Concept with PATCH * @returns the updated Concept * @throws if the request fails * @see {@link https://www.contentful.com/developers/docs/references/content-management-api/#/reference/taxonomy/concept} diff --git a/lib/plain/entities/editor-interface.ts b/lib/plain/entities/editor-interface.ts index a3d8df04df..08add12065 100644 --- a/lib/plain/entities/editor-interface.ts +++ b/lib/plain/entities/editor-interface.ts @@ -4,9 +4,9 @@ import type { GetEditorInterfaceParams, GetSpaceEnvironmentParams, QueryParams, -} from '../../common-types' -import type { EditorInterfaceProps } from '../../entities/editor-interface' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { EditorInterfaceProps } from '../../entities/editor-interface.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type EditorInterfacePlainClientAPI = { /** diff --git a/lib/plain/entities/environment-alias.ts b/lib/plain/entities/environment-alias.ts index 4fd3e5edbd..0e174a9a18 100644 --- a/lib/plain/entities/environment-alias.ts +++ b/lib/plain/entities/environment-alias.ts @@ -4,12 +4,12 @@ import type { GetSpaceEnvAliasParams, GetSpaceParams, PaginationQueryParams, -} from '../../common-types' +} from '../../common-types.js' import type { CreateEnvironmentAliasProps, EnvironmentAliasProps, -} from '../../entities/environment-alias' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/environment-alias.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type EnvironmentAliasPlainClientAPI = { /** diff --git a/lib/plain/entities/environment.ts b/lib/plain/entities/environment.ts index 46faad877a..6f9a09b9b9 100644 --- a/lib/plain/entities/environment.ts +++ b/lib/plain/entities/environment.ts @@ -4,9 +4,9 @@ import type { GetSpaceEnvironmentParams, GetSpaceParams, PaginationQueryParams, -} from '../../common-types' -import type { CreateEnvironmentProps, EnvironmentProps } from '../../entities/environment' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { CreateEnvironmentProps, EnvironmentProps } from '../../entities/environment.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type EnvironmentPlainClientAPI = { /** diff --git a/lib/plain/entities/extension.ts b/lib/plain/entities/extension.ts index 4ca0f47033..38aa080c23 100644 --- a/lib/plain/entities/extension.ts +++ b/lib/plain/entities/extension.ts @@ -4,9 +4,9 @@ import type { GetExtensionParams, GetSpaceEnvironmentParams, QueryParams, -} from '../../common-types' -import type { CreateExtensionProps, ExtensionProps } from '../../entities/extension' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { CreateExtensionProps, ExtensionProps } from '../../entities/extension.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type ExtensionPlainClientAPI = { /** diff --git a/lib/plain/entities/function-log.ts b/lib/plain/entities/function-log.ts index 7cc571617b..52d9909a40 100644 --- a/lib/plain/entities/function-log.ts +++ b/lib/plain/entities/function-log.ts @@ -2,9 +2,9 @@ import type { CollectionProp, GetFunctionLogParams, GetManyFunctionLogParams, -} from '../../common-types' -import type { FunctionLogProps } from '../../entities/function-log' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { FunctionLogProps } from '../../entities/function-log.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type FunctionLogPlainClientAPI = { /** diff --git a/lib/plain/entities/function.ts b/lib/plain/entities/function.ts index f428e4d824..b93fdde970 100644 --- a/lib/plain/entities/function.ts +++ b/lib/plain/entities/function.ts @@ -4,9 +4,9 @@ import type { GetFunctionForEnvParams, GetManyFunctionParams, AcceptsQueryParams, -} from '../../common-types' -import type { FunctionProps } from '../../entities/function' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { FunctionProps } from '../../entities/function.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type FunctionPlainClientAPI = { /** diff --git a/lib/plain/entities/locale.ts b/lib/plain/entities/locale.ts index 25774a4899..212bfa54c6 100644 --- a/lib/plain/entities/locale.ts +++ b/lib/plain/entities/locale.ts @@ -1,7 +1,7 @@ import type { RawAxiosRequestHeaders } from 'axios' -import type { GetSpaceEnvironmentParams, QueryParams, CollectionProp } from '../../common-types' -import type { OptionalDefaults } from '../wrappers/wrap' -import type { CreateLocaleProps, LocaleProps } from '../../entities/locale' +import type { GetSpaceEnvironmentParams, QueryParams, CollectionProp } from '../../common-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { CreateLocaleProps, LocaleProps } from '../../entities/locale.js' export type LocalePlainClientAPI = { /** diff --git a/lib/plain/entities/oauth-application.ts b/lib/plain/entities/oauth-application.ts index 5f0ba2f6cd..030cd4c4d9 100644 --- a/lib/plain/entities/oauth-application.ts +++ b/lib/plain/entities/oauth-application.ts @@ -4,13 +4,13 @@ import type { QueryParams, CursorPaginatedCollectionProp, GetUserParams, -} from '../../common-types' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' import type { CreateOAuthApplicationProps, OAuthApplicationProps, UpdateOAuthApplicationProps, -} from '../../entities/oauth-application' +} from '../../entities/oauth-application.js' export type OAuthApplicationPlainClientAPI = { /** diff --git a/lib/plain/entities/organization.ts b/lib/plain/entities/organization.ts index c318eb5298..88a8854c83 100644 --- a/lib/plain/entities/organization.ts +++ b/lib/plain/entities/organization.ts @@ -2,9 +2,9 @@ import type { PaginationQueryParams, CollectionProp, GetOrganizationParams, -} from '../../common-types' -import type { OrganizationProps } from '../../entities/organization' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { OrganizationProps } from '../../entities/organization.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type OrganizationPlainClientAPI = { /** diff --git a/lib/plain/entities/resource-provider.ts b/lib/plain/entities/resource-provider.ts index f9e366244c..a3dfd84985 100644 --- a/lib/plain/entities/resource-provider.ts +++ b/lib/plain/entities/resource-provider.ts @@ -1,10 +1,10 @@ import type { RawAxiosRequestHeaders } from 'axios' -import type { GetResourceProviderParams } from '../../common-types' +import type { GetResourceProviderParams } from '../../common-types.js' import type { UpsertResourceProviderProps, ResourceProviderProps, -} from '../../entities/resource-provider' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/resource-provider.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type ResourceProviderPlainClientAPI = { /** diff --git a/lib/plain/entities/resource-type.ts b/lib/plain/entities/resource-type.ts index 61be6f610d..6f88e8bb6b 100644 --- a/lib/plain/entities/resource-type.ts +++ b/lib/plain/entities/resource-type.ts @@ -1,15 +1,15 @@ import type { RawAxiosRequestHeaders } from 'axios' -import type { OptionalDefaults } from '../wrappers/wrap' +import type { OptionalDefaults } from '../wrappers/wrap.js' import type { BasicCursorPaginationOptions, CollectionProp, CursorPaginatedCollectionProp, GetResourceTypeParams, GetSpaceEnvironmentParams, -} from '../../common-types' -import type { ResourceTypeProps, UpsertResourceTypeProps } from '../../export-types' -import type { SpaceEnvResourceTypeProps } from '../../entities/resource-type' +} from '../../common-types.js' +import type { ResourceTypeProps, UpsertResourceTypeProps } from '../../export-types.js' +import type { SpaceEnvResourceTypeProps } from '../../entities/resource-type.js' export type ResourceTypePlainClientAPI = { /* diff --git a/lib/plain/entities/resource.ts b/lib/plain/entities/resource.ts index ed478167b3..c6d373b1cf 100644 --- a/lib/plain/entities/resource.ts +++ b/lib/plain/entities/resource.ts @@ -1,6 +1,6 @@ -import type { OptionalDefaults } from '../wrappers/wrap' -import type { CursorPaginatedCollectionProp, GetResourceParams } from '../../common-types' -import type { ResourceProps, ResourceQueryOptions } from '../../entities/resource' +import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { CursorPaginatedCollectionProp, GetResourceParams } from '../../common-types.js' +import type { ResourceProps, ResourceQueryOptions } from '../../entities/resource.js' export type ResourcePlainAPI = { /** diff --git a/lib/plain/entities/role.ts b/lib/plain/entities/role.ts index dfb8fc2788..9fc4d09066 100644 --- a/lib/plain/entities/role.ts +++ b/lib/plain/entities/role.ts @@ -4,9 +4,9 @@ import type { GetOrganizationParams, GetSpaceParams, QueryParams, -} from '../../common-types' -import type { OptionalDefaults } from '../wrappers/wrap' -import type { CreateRoleProps, RoleProps } from '../../entities/role' +} from '../../common-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { CreateRoleProps, RoleProps } from '../../entities/role.js' export type RolePlainClientAPI = { /** Fetches a Role diff --git a/lib/plain/entities/space-member.ts b/lib/plain/entities/space-member.ts index 412be3cd7e..d4ccf59ce9 100644 --- a/lib/plain/entities/space-member.ts +++ b/lib/plain/entities/space-member.ts @@ -1,6 +1,6 @@ -import type { CollectionProp, GetSpaceParams, QueryParams } from '../../common-types' -import type { SpaceMemberProps } from '../../entities/space-member' -import type { OptionalDefaults } from '../wrappers/wrap' +import type { CollectionProp, GetSpaceParams, QueryParams } from '../../common-types.js' +import type { SpaceMemberProps } from '../../entities/space-member.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type SpaceMemberPlainClientAPI = { /** diff --git a/lib/plain/entities/space-membership.ts b/lib/plain/entities/space-membership.ts index 7cba685e25..8fcc2e451e 100644 --- a/lib/plain/entities/space-membership.ts +++ b/lib/plain/entities/space-membership.ts @@ -5,12 +5,12 @@ import type { QueryParams, CollectionProp, GetOrganizationParams, -} from '../../common-types' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' import type { CreateSpaceMembershipProps, SpaceMembershipProps, -} from '../../entities/space-membership' +} from '../../entities/space-membership.js' export type SpaceMembershipPlainClientAPI = { /** diff --git a/lib/plain/entities/space.ts b/lib/plain/entities/space.ts index 7768808807..434734727a 100644 --- a/lib/plain/entities/space.ts +++ b/lib/plain/entities/space.ts @@ -4,9 +4,9 @@ import type { QueryParams, CollectionProp, GetOrganizationParams, -} from '../../common-types' -import type { OptionalDefaults } from '../wrappers/wrap' -import type { SpaceProps } from '../../entities/space' +} from '../../common-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { SpaceProps } from '../../entities/space.js' export type SpacePlainClientAPI = { /** diff --git a/lib/plain/entities/tag.ts b/lib/plain/entities/tag.ts index d49e5dfd00..f7837a930a 100644 --- a/lib/plain/entities/tag.ts +++ b/lib/plain/entities/tag.ts @@ -4,10 +4,10 @@ import type { GetSpaceEnvironmentParams, QueryParams, CollectionProp, -} from '../../common-types' -import type { UpdateTagProps, DeleteTagParams } from '../../entities/tag' -import type { TagProps, CreateTagProps } from '../../export-types' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { UpdateTagProps, DeleteTagParams } from '../../entities/tag.js' +import type { TagProps, CreateTagProps } from '../../export-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type TagPlainClientAPI = { /** diff --git a/lib/plain/entities/task.ts b/lib/plain/entities/task.ts index a84cf4a24e..c240235c70 100644 --- a/lib/plain/entities/task.ts +++ b/lib/plain/entities/task.ts @@ -1,5 +1,10 @@ import type { RawAxiosRequestHeaders } from 'axios' -import type { GetTaskParams, GetEntryParams, QueryParams, CollectionProp } from '../../common-types' +import type { + GetTaskParams, + GetEntryParams, + QueryParams, + CollectionProp, +} from '../../common-types.js' import type { CreateTaskParams, UpdateTaskParams, @@ -7,8 +12,8 @@ import type { TaskProps, CreateTaskProps, UpdateTaskProps, -} from '../../entities/task' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/task.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type TaskPlainClientAPI = { /** Fetches a task diff --git a/lib/plain/entities/team-membership.ts b/lib/plain/entities/team-membership.ts index 2b9125e6fc..0d11cd428f 100644 --- a/lib/plain/entities/team-membership.ts +++ b/lib/plain/entities/team-membership.ts @@ -5,9 +5,9 @@ import type { QueryParams, CollectionProp, GetTeamParams, -} from '../../common-types' -import type { TeamMembershipProps, CreateTeamMembershipProps } from '../../export-types' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { TeamMembershipProps, CreateTeamMembershipProps } from '../../export-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type TeamMembershipPlainClientAPI = { /** diff --git a/lib/plain/entities/team-space-membership.ts b/lib/plain/entities/team-space-membership.ts index 34b5951a1a..a672cf69c5 100644 --- a/lib/plain/entities/team-space-membership.ts +++ b/lib/plain/entities/team-space-membership.ts @@ -5,9 +5,12 @@ import type { QueryParams, CollectionProp, GetOrganizationParams, -} from '../../common-types' -import type { TeamSpaceMembershipProps, CreateTeamSpaceMembershipProps } from '../../export-types' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { + TeamSpaceMembershipProps, + CreateTeamSpaceMembershipProps, +} from '../../export-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type TeamSpaceMembershipPlainClientAPI = { /** diff --git a/lib/plain/entities/team.ts b/lib/plain/entities/team.ts index 841016c693..be6f167af6 100644 --- a/lib/plain/entities/team.ts +++ b/lib/plain/entities/team.ts @@ -5,9 +5,9 @@ import type { QueryParams, CollectionProp, GetSpaceParams, -} from '../../common-types' -import type { TeamProps, CreateTeamProps } from '../../export-types' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { TeamProps, CreateTeamProps } from '../../export-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type TeamPlainClientAPI = { /** diff --git a/lib/plain/entities/ui-config.ts b/lib/plain/entities/ui-config.ts index 74cc91aa0e..fb97e1e52c 100644 --- a/lib/plain/entities/ui-config.ts +++ b/lib/plain/entities/ui-config.ts @@ -1,6 +1,6 @@ -import type { GetUIConfigParams } from '../../common-types' -import type { UIConfigProps } from '../../entities/ui-config' -import type { OptionalDefaults } from '../wrappers/wrap' +import type { GetUIConfigParams } from '../../common-types.js' +import type { UIConfigProps } from '../../entities/ui-config.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type UIConfigPlainClientAPI = { /** diff --git a/lib/plain/entities/upload-credential.ts b/lib/plain/entities/upload-credential.ts index 1385fa9038..4dd95d620a 100644 --- a/lib/plain/entities/upload-credential.ts +++ b/lib/plain/entities/upload-credential.ts @@ -1,5 +1,5 @@ -import type { GetSpaceEnvironmentParams, MetaSysProps } from '../../common-types' -import type { OptionalDefaults } from '../wrappers/wrap' +import type { GetSpaceEnvironmentParams, MetaSysProps } from '../../common-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type UploadCredential = { /** diff --git a/lib/plain/entities/upload.ts b/lib/plain/entities/upload.ts index 830254e52d..4fb5d589ff 100644 --- a/lib/plain/entities/upload.ts +++ b/lib/plain/entities/upload.ts @@ -1,6 +1,9 @@ import type { Stream } from 'stream' -import type { OptionalDefaults } from '../wrappers/wrap' -import type { GetSpaceEnvironmentParams, GetSpaceEnvironmentUploadParams } from '../../common-types' +import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { + GetSpaceEnvironmentParams, + GetSpaceEnvironmentUploadParams, +} from '../../common-types.js' export type UploadPlainClientAPI = { /** Fetches the Space Environment Upload diff --git a/lib/plain/entities/usage.ts b/lib/plain/entities/usage.ts index 091202f34c..b30dd15e94 100644 --- a/lib/plain/entities/usage.ts +++ b/lib/plain/entities/usage.ts @@ -1,6 +1,6 @@ -import type { CollectionProp, QueryParams } from '../../common-types' -import type { UsageProps } from '../../export-types' -import type { OptionalDefaults } from '../wrappers/wrap' +import type { CollectionProp, QueryParams } from '../../common-types.js' +import type { UsageProps } from '../../export-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type UsagePlainClientAPI = { /** Fetches all of an organization's usage data by space diff --git a/lib/plain/entities/user-ui-config.ts b/lib/plain/entities/user-ui-config.ts index e61b2fea51..5656e004d0 100644 --- a/lib/plain/entities/user-ui-config.ts +++ b/lib/plain/entities/user-ui-config.ts @@ -1,6 +1,6 @@ -import type { GetUserUIConfigParams } from '../../common-types' -import type { UserUIConfigProps } from '../../entities/user-ui-config' -import type { OptionalDefaults } from '../wrappers/wrap' +import type { GetUserUIConfigParams } from '../../common-types.js' +import type { UserUIConfigProps } from '../../entities/user-ui-config.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type UserUIConfigPlainClientAPI = { /** diff --git a/lib/plain/entities/user.ts b/lib/plain/entities/user.ts index 0a92bdd216..a37fbb444a 100644 --- a/lib/plain/entities/user.ts +++ b/lib/plain/entities/user.ts @@ -3,9 +3,9 @@ import type { GetOrganizationParams, GetSpaceParams, QueryParams, -} from '../../common-types' -import type { UserProps } from '../../export-types' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { UserProps } from '../../export-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type UserPlainClientAPI = { /** Fetches all users in a space diff --git a/lib/plain/entities/webhook.ts b/lib/plain/entities/webhook.ts index 154c2e8763..cc991f7320 100644 --- a/lib/plain/entities/webhook.ts +++ b/lib/plain/entities/webhook.ts @@ -5,7 +5,7 @@ import type { GetWebhookCallDetailsUrl, GetWebhookParams, QueryParams, -} from '../../common-types' +} from '../../common-types.js' import type { CreateWebhooksProps, UpsertWebhookSigningSecretPayload, @@ -16,8 +16,8 @@ import type { WebhookRetryPolicyPayload, WebhookRetryPolicyProps, WebhookSigningSecretProps, -} from '../../entities/webhook' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/webhook.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type WebhookPlainClientAPI = { // Webhooks diff --git a/lib/plain/entities/workflow-definition.ts b/lib/plain/entities/workflow-definition.ts index a869d36343..8bcdcdf080 100644 --- a/lib/plain/entities/workflow-definition.ts +++ b/lib/plain/entities/workflow-definition.ts @@ -3,8 +3,8 @@ import type { GetWorkflowDefinitionParams, GetSpaceEnvironmentParams, CollectionProp, -} from '../../common-types' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../common-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' import type { CreateWorkflowDefinitionParams, CreateWorkflowDefinitionProps, @@ -13,7 +13,7 @@ import type { UpdateWorkflowDefinitionProps, WorkflowDefinitionProps, WorkflowDefinitionQueryOptions, -} from '../../entities/workflow-definition' +} from '../../entities/workflow-definition.js' export type WorkflowDefinitionPlainClientAPI = { /** diff --git a/lib/plain/entities/workflow.ts b/lib/plain/entities/workflow.ts index ab53652b4a..ac33aa3b29 100644 --- a/lib/plain/entities/workflow.ts +++ b/lib/plain/entities/workflow.ts @@ -3,7 +3,7 @@ import type { GetSpaceEnvironmentParams, CollectionProp, GetWorkflowParams, -} from '../../common-types' +} from '../../common-types.js' import type { CreateWorkflowParams, UpdateWorkflowParams, @@ -13,8 +13,8 @@ import type { CreateWorkflowProps, UpdateWorkflowProps, DeleteWorkflowParams, -} from '../../entities/workflow' -import type { OptionalDefaults } from '../wrappers/wrap' +} from '../../entities/workflow.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' export type WorkflowPlainClientAPI = { /** diff --git a/lib/plain/entities/workflows-changelog.ts b/lib/plain/entities/workflows-changelog.ts index 95dbf81522..dda1ac49d5 100644 --- a/lib/plain/entities/workflows-changelog.ts +++ b/lib/plain/entities/workflows-changelog.ts @@ -1,10 +1,10 @@ import type { RawAxiosRequestHeaders } from 'axios' -import type { GetSpaceEnvironmentParams, CollectionProp } from '../../common-types' -import type { OptionalDefaults } from '../wrappers/wrap' +import type { GetSpaceEnvironmentParams, CollectionProp } from '../../common-types.js' +import type { OptionalDefaults } from '../wrappers/wrap.js' import type { WorkflowsChangelogEntryProps, WorkflowsChangelogQueryOptions, -} from '../../entities/workflows-changelog-entry' +} from '../../entities/workflows-changelog-entry.js' export type WorkflowsChangelogPlainClientAPI = { /** diff --git a/lib/plain/pagination-helper.ts b/lib/plain/pagination-helper.ts index 8a838b6f7e..2b4d8c52f1 100644 --- a/lib/plain/pagination-helper.ts +++ b/lib/plain/pagination-helper.ts @@ -3,7 +3,7 @@ import type { CollectionProp, CursorPaginatedCollectionProp, PaginationQueryOptions, -} from '../common-types' +} from '../common-types.js' export type OffsetBasedParams = { query?: PaginationQueryOptions } export type CursorBasedParams = { query?: BasicCursorPaginationOptions } diff --git a/lib/plain/plain-client.ts b/lib/plain/plain-client.ts index d2ff42ec53..a7665f90c5 100644 --- a/lib/plain/plain-client.ts +++ b/lib/plain/plain-client.ts @@ -1,10 +1,14 @@ -import type { GetContentTypeParams, GetSpaceEnvironmentParams, MakeRequest } from '../common-types' -import { omitAndDeleteField } from '../methods/content-type' -import type { PlainClientAPI } from './common-types' -import type { DefaultParams } from './wrappers/wrap' -import { wrap } from './wrappers/wrap' +import type { + GetContentTypeParams, + GetSpaceEnvironmentParams, + MakeRequest, +} from '../common-types.js' +import { omitAndDeleteField } from '../methods/content-type.js' +import type { PlainClientAPI } from './common-types.js' +import type { DefaultParams } from './wrappers/wrap.js' +import { wrap } from './wrappers/wrap.js' -export type { DefaultParams } from './wrappers/wrap' +export type { DefaultParams } from './wrappers/wrap.js' /** * @private @@ -16,6 +20,7 @@ export const createPlainClient = ( const wrapParams = { makeRequest, defaults } return { + version: __VERSION__, raw: { getDefaultParams: () => defaults, get: (url, config) => @@ -127,7 +132,6 @@ export const createPlainClient = ( delete: wrap(wrapParams, 'Concept', 'delete'), patch: wrap(wrapParams, 'Concept', 'patch'), update: wrap(wrapParams, 'Concept', 'update'), - updatePut: wrap(wrapParams, 'Concept', 'updatePut'), getMany: wrap(wrapParams, 'Concept', 'getMany'), getDescendants: wrap(wrapParams, 'Concept', 'getDescendants'), getAncestors: wrap(wrapParams, 'Concept', 'getAncestors'), @@ -142,7 +146,6 @@ export const createPlainClient = ( createWithId: wrap(wrapParams, 'ConceptScheme', 'createWithId'), patch: wrap(wrapParams, 'ConceptScheme', 'patch'), update: wrap(wrapParams, 'ConceptScheme', 'update'), - updatePut: wrap(wrapParams, 'ConceptScheme', 'updatePut'), }, function: { get: wrap(wrapParams, 'Function', 'get'), diff --git a/lib/plain/wrappers/wrap.test-d.ts b/lib/plain/wrappers/wrap.test-d.ts index f2479ac44b..e4b09a1fe8 100644 --- a/lib/plain/wrappers/wrap.test-d.ts +++ b/lib/plain/wrappers/wrap.test-d.ts @@ -1,5 +1,5 @@ import { describe, expectTypeOf, it } from 'vitest' -import type { OptionalDefaults } from './wrap' +import type { OptionalDefaults } from './wrap.js' describe('OptionalDefaults', () => { it('does not add props', () => { diff --git a/lib/plain/wrappers/wrap.ts b/lib/plain/wrappers/wrap.ts index fee50eac29..c9c3f4ab8f 100644 --- a/lib/plain/wrappers/wrap.ts +++ b/lib/plain/wrappers/wrap.ts @@ -1,4 +1,4 @@ -import type { MakeRequest, MRActions, MRReturn } from '../../common-types' +import type { MakeRequest, MRActions, MRReturn } from '../../common-types.js' export type DefaultParams = { spaceId?: string diff --git a/package-lock.json b/package-lock.json index 8c923301b0..a0fd860360 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,61 +11,58 @@ "dependencies": { "@contentful/rich-text-types": "^16.6.1", "axios": "^1.12.2", - "contentful-sdk-core": "^9.0.1", - "fast-copy": "^3.0.0", - "globals": "^15.15.0" + "contentful-sdk-core": "10.0.0-beta.6", + "fast-copy": "^3.0.2", + "json-patch": "^0.7.0", + "type-fest": "^5.1.0" }, "devDependencies": { - "@babel/cli": "^7.24.6", - "@babel/core": "^7.24.6", - "@babel/node": "^7.13.13", - "@babel/plugin-proposal-class-properties": "^7.12.1", - "@babel/plugin-proposal-export-namespace-from": "^7.12.1", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1", - "@babel/plugin-proposal-object-rest-spread": "^7.12.1", - "@babel/plugin-proposal-optional-chaining": "^7.13.12", - "@babel/preset-env": "^7.24.6", - "@babel/preset-typescript": "^7.24.7", + "@babel/plugin-transform-runtime": "^7.28.5", + "@babel/preset-env": "^7.28.5", "@contentful/integration-test-utils": "^2.0.1", - "@eslint/js": "^9.15.0", - "@semantic-release/changelog": "^6.0.0", - "@size-limit/file": "^11.1.6", - "@types/json-patch": "0.0.30", - "@types/lodash": "^4.14.168", + "@eslint/js": "^9.38.0", + "@playwright/test": "^1.56.1", + "@rollup/plugin-alias": "^5.1.1", + "@rollup/plugin-babel": "^6.1.0", + "@rollup/plugin-commonjs": "^28.0.9", + "@rollup/plugin-json": "^6.1.0", + "@rollup/plugin-node-resolve": "^16.0.3", + "@rollup/plugin-replace": "^6.0.2", + "@rollup/plugin-terser": "^0.4.4", + "@rollup/plugin-typescript": "^12.3.0", + "@semantic-release/changelog": "^6.0.3", + "@size-limit/file": "^11.2.0", + "@types/json-patch": "^0.0.33", + "@types/lodash-es": "^4.17.12", "@types/node": "^20.12.13", - "@vitest/browser": "^2.1.5", - "@vitest/coverage-v8": "^2.1.5", - "babel-loader": "^8.2.1", - "babel-plugin-inline-replace-variables": "^1.3.1", - "babel-plugin-lodash": "^3.3.4", - "contentful-sdk-jsdoc": "3.1.0", + "@vitest/browser": "^2.1.8", + "@vitest/coverage-v8": "^2.1.8", + "contentful-sdk-jsdoc": "3.1.5", "cz-conventional-changelog": "^3.3.0", - "eslint": "^9.15.0", - "express": "^4.21.1", + "es-check": "^7.2.1", + "eslint": "^9.38.0", + "globals": "^16.4.0", "husky": "^9.1.7", - "in-publish": "^2.0.1", - "json-patch": "^0.7.0", "jsonwebtoken": "^9.0.2", "lint-staged": "^15.2.5", - "lodash": "^4.17.20", - "lodash-webpack-plugin": "^0.11.5", - "nodemon": "^3.1.2", - "playwright": "^1.49.0", + "lodash-es": "^4.17.21", + "nodemon": "^3.1.10", + "playwright": "^1.56.1", "prettier": "^3.6.2", + "process": "^0.11.10", "rimraf": "^5.0.0", + "rollup": "^4.52.5", + "rollup-plugin-sourcemaps2": "^0.5.4", + "rollup-plugin-visualizer": "^5.14.0", "semantic-release": "^25.0.2", - "size-limit": "^11.1.6", - "type-fest": "^4.18.3", - "typedoc": "^0.26.2", - "typescript": "^5.6.3", - "typescript-eslint": "^8.16.0", - "vitest": "^2.1.5", - "webpack": "^5.91.0", - "webpack-bundle-analyzer": "^4.9.0", - "webpack-cli": "^5.1.4" + "size-limit": "^11.2.0", + "typedoc": "^0.28.14", + "typescript": "^5.9.3", + "typescript-eslint": "^8.46.2", + "vitest": "^2.1.8" }, "engines": { - "node": ">=18" + "node": ">=20" } }, "node_modules/@actions/core": { @@ -134,36 +131,6 @@ "node": ">=6.0.0" } }, - "node_modules/@babel/cli": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.28.3.tgz", - "integrity": "sha512-n1RU5vuCX0CsaqaXm9I0KUCNKNQMy5epmzl/xdSSm70bSqhg9GWhgeosypyQLc0bK24+Xpk1WGzZlI9pJtkZdg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.28", - "commander": "^6.2.0", - "convert-source-map": "^2.0.0", - "fs-readdir-recursive": "^1.1.0", - "glob": "^7.2.0", - "make-dir": "^2.1.0", - "slash": "^2.0.0" - }, - "bin": { - "babel": "bin/babel.js", - "babel-external-helpers": "bin/babel-external-helpers.js" - }, - "engines": { - "node": ">=6.9.0" - }, - "optionalDependencies": { - "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3", - "chokidar": "^3.6.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/code-frame": { "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", @@ -195,6 +162,7 @@ "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/generator": "^7.28.5", @@ -242,6 +210,7 @@ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.3.tgz", "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.27.3" }, @@ -289,14 +258,14 @@ } }, "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.27.1.tgz", - "integrity": "sha512-uVDC72XVf8UbrH5qQTc18Agb8emwjTiZrQE11Nv3CuBEZmVvTwwE9CBUEvHku06gQCAyYf8Nv6ja1IN+6LMbxQ==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.28.5.tgz", + "integrity": "sha512-N1EhvLtHzOvj7QQOUCCS3NrPJP8c5W6ZXCHDn7Yialuy1iu4r5EmIYkXlKNqT99Ciw+W0mDqWoR6HWMZlFP3hw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "regexpu-core": "^6.2.0", + "@babel/helper-annotate-as-pure": "^7.27.3", + "regexpu-core": "^6.3.1", "semver": "^6.3.1" }, "engines": { @@ -311,6 +280,7 @@ "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.5.tgz", "integrity": "sha512-uJnGFcPsWQK8fvjgGP5LZUZZsYGIoPeRjSF5PGwrelYgq7Q15/Ft9NGFp1zglwgIv//W0uG4BevRuSJRyylZPg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-compilation-targets": "^7.27.2", "@babel/helper-plugin-utils": "^7.27.1", @@ -327,6 +297,7 @@ "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz", "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } @@ -481,15 +452,15 @@ } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.27.1.tgz", - "integrity": "sha512-NFJK2sHUvrjo8wAU/nQTWU890/zB2jj0qBcCbZbbf+005cAsv6tMjXz31fBign6M5ov1o0Bllu+9nbqkfsjjJQ==", + "version": "7.28.3", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.28.3.tgz", + "integrity": "sha512-zdf983tNfLZFletc0RRXYrHrucBEg95NIFMkn6K9dbeMYnsgHaSBGcQqdsCSStG2PYwRre0Qc2NNSCXbG+xc6g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/template": "^7.27.1", - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" + "@babel/template": "^7.27.2", + "@babel/traverse": "^7.28.3", + "@babel/types": "^7.28.2" }, "engines": { "node": ">=6.9.0" @@ -501,6 +472,7 @@ "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/template": "^7.27.2", "@babel/types": "^7.28.4" @@ -509,29 +481,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/node": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/node/-/node-7.28.0.tgz", - "integrity": "sha512-6u1Mmn3SIMUH8uwTq543L062X3JDgms9HPf06o/pIGdDjeD/zNQ+dfZPQD27sCyvtP0ZOlJtwnl2RIdPe9bHeQ==", - "dev": true, - "dependencies": { - "@babel/register": "^7.27.1", - "commander": "^6.2.0", - "core-js": "^3.30.2", - "node-environment-flags": "^1.0.5", - "regenerator-runtime": "^0.14.0", - "v8flags": "^3.1.1" - }, - "bin": { - "babel-node": "bin/babel-node.js" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/parser": { "version": "7.28.5", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz", @@ -632,100 +581,6 @@ "@babel/core": "^7.0.0" } }, - "node_modules/@babel/plugin-proposal-class-properties": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz", - "integrity": "sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==", - "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-export-namespace-from": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz", - "integrity": "sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==", - "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead.", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz", - "integrity": "sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==", - "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-object-rest-spread": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz", - "integrity": "sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==", - "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.20.5", - "@babel/helper-compilation-targets": "^7.20.7", - "@babel/helper-plugin-utils": "^7.20.2", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.20.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-optional-chaining": { - "version": "7.21.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz", - "integrity": "sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==", - "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.20.2", - "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-proposal-private-property-in-object": { "version": "7.21.0-placeholder-for-preset-env.2", "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz", @@ -739,19 +594,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", - "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-syntax-import-assertions": { "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.27.1.tgz", @@ -784,77 +626,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz", - "integrity": "sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz", - "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-syntax-unicode-sets-regex": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz", @@ -893,6 +664,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.28.0.tgz", "integrity": "sha512-BEOdvX4+M765icNPZeidyADIvQ1m1gmunXufXxvRESy/jNNyfovIqUyE7MVgGBjWktCoJlzvFA1To2O4ymIO3Q==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-remap-async-to-generator": "^7.27.1", @@ -1115,6 +887,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-explicit-resource-management/-/plugin-transform-explicit-resource-management-7.28.0.tgz", "integrity": "sha512-K8nhUcn3f6iB+P3gwCv/no7OdzOZQcKchW6N389V6PD8NUWKZHzndOd9sPDVbMoBsbmjMqlB4L9fm+fEFNVlwQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/plugin-transform-destructuring": "^7.28.0" @@ -1467,6 +1240,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.27.7.tgz", "integrity": "sha512-qBkYTYCb76RRxUM6CcZA5KRu8K4SM8ajzVeUgVdMVO9NN9uI/GaVmBg/WKJJGnNokV9SY8FxNOVWGXzqzUidBg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -1577,6 +1351,27 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-runtime": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.28.5.tgz", + "integrity": "sha512-20NUVgOrinudkIBzQ2bNxP08YpKprUkRTiRSd2/Z5GOdPImJGkoN4Z7IQe1T5AdyKI1i5L6RBmluqdSzvaq9/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "babel-plugin-polyfill-corejs2": "^0.4.14", + "babel-plugin-polyfill-corejs3": "^0.13.0", + "babel-plugin-polyfill-regenerator": "^0.6.5", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-transform-shorthand-properties": { "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.27.1.tgz", @@ -1658,26 +1453,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-typescript": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.28.5.tgz", - "integrity": "sha512-x2Qa+v/CuEoX7Dr31iAfr0IhInrVOWZU/2vJMJ00FOR/2nM0BcBEclpaf9sWCDc+v5e9dMrhSH8/atq/kX7+bA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.3", - "@babel/helper-create-class-features-plugin": "^7.28.5", - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", - "@babel/plugin-syntax-typescript": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-transform-unicode-escapes": { "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.27.1.tgz", @@ -1845,55 +1620,12 @@ "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" } }, - "node_modules/@babel/preset-typescript": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.28.5.tgz", - "integrity": "sha512-+bQy5WOI2V6LJZpPVxY+yp66XdZ2yifu0Mc1aP5CQKgjn4QM5IN2i5fAZ4xKop47pr8rpVhiAeu+nDQa12C8+g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-validator-option": "^7.27.1", - "@babel/plugin-syntax-jsx": "^7.27.1", - "@babel/plugin-transform-modules-commonjs": "^7.27.1", - "@babel/plugin-transform-typescript": "^7.28.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/register": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.27.1.tgz", - "integrity": "sha512-K13lQpoV54LATKkzBpBAEu1GGSIRzxR9f4IN4V8DCDgiUMo2UDGagEZr3lPeVNJPLkWUi5JE4hCHKneVTwQlYQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "clone-deep": "^4.0.1", - "find-cache-dir": "^2.0.0", - "make-dir": "^2.1.0", - "pirates": "^4.0.6", - "source-map-support": "^0.5.16" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/runtime": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.0.tgz", - "integrity": "sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==", + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.4.tgz", + "integrity": "sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==", "dev": true, "license": "MIT", - "dependencies": { - "regenerator-runtime": "^0.14.0" - }, "engines": { "node": ">=6.9.0" } @@ -1953,77 +1685,36 @@ "dev": true, "license": "MIT" }, - "node_modules/@bundled-es-modules/cookie": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@bundled-es-modules/cookie/-/cookie-2.0.1.tgz", - "integrity": "sha512-8o+5fRPLNbjbdGRRmJj3h6Hh1AQJf2dk3qQ/5ZFb+PXkRNiSoMGGUKlsgLfrxneb72axVJyIYji64E2+nNfYyw==", - "dev": true, - "license": "ISC", - "dependencies": { - "cookie": "^0.7.2" - } - }, - "node_modules/@bundled-es-modules/cookie/node_modules/cookie": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", - "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", "dev": true, "license": "MIT", + "optional": true, "engines": { - "node": ">= 0.6" + "node": ">=0.1.90" } }, - "node_modules/@bundled-es-modules/statuses": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@bundled-es-modules/statuses/-/statuses-1.0.1.tgz", - "integrity": "sha512-yn7BklA5acgcBr+7w064fGV+SGIFySjCKpqjcWgBAIfrAkY+4GQTJJHQMeT3V/sgz23VTEVV8TtOmkvJAhFVfg==", + "node_modules/@commitlint/config-validator": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-20.0.0.tgz", + "integrity": "sha512-BeyLMaRIJDdroJuYM2EGhDMGwVBMZna9UiIqV9hxj+J551Ctc6yoGuGSmghOy/qPhBSuhA6oMtbEiTmxECafsg==", "dev": true, - "license": "ISC", + "license": "MIT", + "optional": true, "dependencies": { - "statuses": "^2.0.1" - } - }, - "node_modules/@bundled-es-modules/tough-cookie": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@bundled-es-modules/tough-cookie/-/tough-cookie-0.1.6.tgz", - "integrity": "sha512-dvMHbL464C0zI+Yqxbz6kZ5TOEp7GLW+pry/RWndAR8MJQAXZ2rPmIs8tziTZjeIyhSNZgZbCePtfSbdWqStJw==", - "dev": true, - "license": "ISC", - "dependencies": { - "@types/tough-cookie": "^4.0.5", - "tough-cookie": "^4.1.4" - } - }, - "node_modules/@colors/colors": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", - "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=0.1.90" - } - }, - "node_modules/@commitlint/config-validator": { - "version": "19.5.0", - "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-19.5.0.tgz", - "integrity": "sha512-CHtj92H5rdhKt17RmgALhfQt95VayrUo2tSqY9g2w+laAXyk7K/Ef6uPm9tn5qSIwSmrLjKaXK9eiNuxmQrDBw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@commitlint/types": "^19.5.0", - "ajv": "^8.11.0" - }, - "engines": { - "node": ">=v18" + "@commitlint/types": "^20.0.0", + "ajv": "^8.11.0" + }, + "engines": { + "node": ">=v18" } }, "node_modules/@commitlint/execute-rule": { - "version": "19.5.0", - "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-19.5.0.tgz", - "integrity": "sha512-aqyGgytXhl2ejlk+/rfgtwpPexYyri4t8/n4ku6rRJoRhGZpLFMqrZ+YaubeGysCP6oz4mMA34YSTaSOKEeNrg==", + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-20.0.0.tgz", + "integrity": "sha512-xyCoOShoPuPL44gVa+5EdZsBVao/pNzpQhkzq3RdtlFdKZtjWcLlUFQHSWBuhk5utKYykeJPSz2i8ABHQA+ZZw==", "dev": true, "license": "MIT", "optional": true, @@ -2032,17 +1723,17 @@ } }, "node_modules/@commitlint/load": { - "version": "19.6.1", - "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-19.6.1.tgz", - "integrity": "sha512-kE4mRKWWNju2QpsCWt428XBvUH55OET2N4QKQ0bF85qS/XbsRGG1MiTByDNlEVpEPceMkDr46LNH95DtRwcsfA==", + "version": "20.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-20.1.0.tgz", + "integrity": "sha512-qo9ER0XiAimATQR5QhvvzePfeDfApi/AFlC1G+YN+ZAY8/Ua6IRrDrxRvQAr+YXUKAxUsTDSp9KXeXLBPsNRWg==", "dev": true, "license": "MIT", "optional": true, "dependencies": { - "@commitlint/config-validator": "^19.5.0", - "@commitlint/execute-rule": "^19.5.0", - "@commitlint/resolve-extends": "^19.5.0", - "@commitlint/types": "^19.5.0", + "@commitlint/config-validator": "^20.0.0", + "@commitlint/execute-rule": "^20.0.0", + "@commitlint/resolve-extends": "^20.1.0", + "@commitlint/types": "^20.0.0", "chalk": "^5.3.0", "cosmiconfig": "^9.0.0", "cosmiconfig-typescript-loader": "^6.1.0", @@ -2055,9 +1746,9 @@ } }, "node_modules/@commitlint/load/node_modules/chalk": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz", - "integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", "dev": true, "license": "MIT", "optional": true, @@ -2069,15 +1760,15 @@ } }, "node_modules/@commitlint/resolve-extends": { - "version": "19.5.0", - "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.5.0.tgz", - "integrity": "sha512-CU/GscZhCUsJwcKTJS9Ndh3AKGZTNFIOoQB2n8CmFnizE0VnEuJoum+COW+C1lNABEeqk6ssfc1Kkalm4bDklA==", + "version": "20.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-20.1.0.tgz", + "integrity": "sha512-cxKXQrqHjZT3o+XPdqDCwOWVFQiae++uwd9dUBC7f2MdV58ons3uUvASdW7m55eat5sRiQ6xUHyMWMRm6atZWw==", "dev": true, "license": "MIT", "optional": true, "dependencies": { - "@commitlint/config-validator": "^19.5.0", - "@commitlint/types": "^19.5.0", + "@commitlint/config-validator": "^20.0.0", + "@commitlint/types": "^20.0.0", "global-directory": "^4.0.1", "import-meta-resolve": "^4.0.0", "lodash.mergewith": "^4.6.2", @@ -2088,9 +1779,9 @@ } }, "node_modules/@commitlint/types": { - "version": "19.5.0", - "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-19.5.0.tgz", - "integrity": "sha512-DSHae2obMSMkAtTBSOulg5X7/z+rGLxcXQIkg3OmWvY6wifojge5uVMydfhUvs7yQj+V7jNmRZ2Xzl8GJyqRgg==", + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-20.0.0.tgz", + "integrity": "sha512-bVUNBqG6aznYcYjTjnc3+Cat/iBgbgpflxbIBTnsHTX0YVpnmINPEkSRWymT2Q8aSH3Y7aKnEbunilkYe8TybA==", "dev": true, "license": "MIT", "optional": true, @@ -2103,9 +1794,9 @@ } }, "node_modules/@commitlint/types/node_modules/chalk": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz", - "integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", "dev": true, "license": "MIT", "optional": true, @@ -2141,14 +1832,16 @@ "node": ">=6.0.0" } }, - "node_modules/@discoveryjs/json-ext": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", - "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", + "node_modules/@dabh/diagnostics": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.8.tgz", + "integrity": "sha512-R4MSXTVnuMzGD7bzHdW2ZhhdPC/igELENcq5IjEverBvq5hn1SXCWcsi6eSsdWP0/Ur+SItRRjAktmdoX/8R/Q==", "dev": true, "license": "MIT", - "engines": { - "node": ">=10.0.0" + "dependencies": { + "@so-ric/colorspace": "^1.1.6", + "enabled": "2.0.x", + "kuler": "^2.0.0" } }, "node_modules/@esbuild/aix-ppc64": { @@ -2575,9 +2268,9 @@ } }, "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==", + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", "dev": true, "license": "MIT", "engines": { @@ -2733,6 +2426,20 @@ "node": ">=14" } }, + "node_modules/@gerrit0/mini-shiki": { + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/@gerrit0/mini-shiki/-/mini-shiki-3.15.0.tgz", + "integrity": "sha512-L5IHdZIDa4bG4yJaOzfasOH/o22MCesY0mx+n6VATbaiCtMeR59pdRqYk4bEiQkIHfxsHPNgdi7VJlZb2FhdMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/engine-oniguruma": "^3.15.0", + "@shikijs/langs": "^3.15.0", + "@shikijs/themes": "^3.15.0", + "@shikijs/types": "^3.15.0", + "@shikijs/vscode-textmate": "^10.0.2" + } + }, "node_modules/@humanfs/core": { "version": "0.19.1", "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", @@ -2744,33 +2451,19 @@ } }, "node_modules/@humanfs/node": { - "version": "0.16.6", - "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", - "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", + "version": "0.16.7", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.7.tgz", + "integrity": "sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==", "dev": true, "license": "Apache-2.0", "dependencies": { "@humanfs/core": "^0.19.1", - "@humanwhocodes/retry": "^0.3.0" + "@humanwhocodes/retry": "^0.4.0" }, "engines": { "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": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", @@ -2786,9 +2479,9 @@ } }, "node_modules/@humanwhocodes/retry": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.2.tgz", - "integrity": "sha512-xeO57FpIu4p1Ri3Jq/EXq4ClRm86dVF2z/+kvFnyqVYRavTZmaFaUBbWCOuuTh0o/g7DSsk6kc2vrS4Vl5oPOQ==", + "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": { @@ -2799,15 +2492,25 @@ "url": "https://github.com/sponsors/nzakas" } }, + "node_modules/@inquirer/ansi": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz", + "integrity": "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, "node_modules/@inquirer/confirm": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.5.tgz", - "integrity": "sha512-ZB2Cz8KeMINUvoeDi7IrvghaVkYT2RB0Zb31EaLWOE87u276w4wnApv0SH2qWaJ3r0VSUa3BIuz7qAV2ZvsZlg==", + "version": "5.1.21", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.21.tgz", + "integrity": "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.6", - "@inquirer/type": "^3.0.4" + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" }, "engines": { "node": ">=18" @@ -2822,20 +2525,20 @@ } }, "node_modules/@inquirer/core": { - "version": "10.1.6", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.6.tgz", - "integrity": "sha512-Bwh/Zk6URrHwZnSSzAZAKH7YgGYi0xICIBDFOqBQoXNNAzBHw/bgXgLmChfp+GyR3PnChcTbiCTZGC6YJNJkMA==", + "version": "10.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.2.tgz", + "integrity": "sha512-43RTuEbfP8MbKzedNqBrlhhNKVwoK//vUFNW3Q3vZ88BLcrs4kYpGg+B2mm5p2K/HfygoCxuKwJJiv8PbGmE0A==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/figures": "^1.0.10", - "@inquirer/type": "^3.0.4", - "ansi-escapes": "^4.3.2", + "@inquirer/ansi": "^1.0.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", "cli-width": "^4.1.0", "mute-stream": "^2.0.0", "signal-exit": "^4.1.0", "wrap-ansi": "^6.2.0", - "yoctocolors-cjs": "^2.1.2" + "yoctocolors-cjs": "^2.1.3" }, "engines": { "node": ">=18" @@ -2849,6 +2552,22 @@ } } }, + "node_modules/@inquirer/core/node_modules/ansi-styles": { + "version": "4.3.0", + "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" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, "node_modules/@inquirer/core/node_modules/cli-width": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", @@ -2859,6 +2578,26 @@ "node": ">= 12" } }, + "node_modules/@inquirer/core/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/@inquirer/core/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, + "license": "MIT" + }, "node_modules/@inquirer/core/node_modules/mute-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", @@ -2885,9 +2624,9 @@ } }, "node_modules/@inquirer/figures": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.10.tgz", - "integrity": "sha512-Ey6176gZmeqZuY/W/nZiUyvmb1/qInjcpiZjXWi6nON+nxJpD1bxtSoBxNliGISae32n6OwbY+TSXPZ1CfS4bw==", + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz", + "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==", "dev": true, "license": "MIT", "engines": { @@ -2895,9 +2634,9 @@ } }, "node_modules/@inquirer/type": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.4.tgz", - "integrity": "sha512-2MNFrDY8jkFYc9Il9DgLsHhMzuHnOYM1+CUYVWbzu9oT0hC7V7EcYvdCKeoll/Fcci04A+ERZ9wcc7cQ8lTkIA==", + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz", + "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==", "dev": true, "license": "MIT", "engines": { @@ -2931,9 +2670,9 @@ } }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", "dev": true, "license": "MIT", "engines": { @@ -2944,9 +2683,9 @@ } }, "node_modules/@isaacs/cliui/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==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", "dev": true, "license": "MIT", "engines": { @@ -2982,9 +2721,9 @@ } }, "node_modules/@isaacs/cliui/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==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", + "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", "dev": true, "license": "MIT", "dependencies": { @@ -3026,10 +2765,11 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.12", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.12.tgz", - "integrity": "sha512-OuLGC46TjB5BbN1dH8JULVVZY4WTdkF7tV9Ys6wLL1rubZnCMstOhNHueU5bLCrnRuDhKPDM4g6sw4Bel5Gzqg==", + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" @@ -3041,6 +2781,7 @@ "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" @@ -3057,9 +2798,9 @@ } }, "node_modules/@jridgewell/source-map": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", - "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", + "version": "0.3.11", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.11.tgz", + "integrity": "sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==", "dev": true, "license": "MIT", "dependencies": { @@ -3068,26 +2809,40 @@ } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", "dev": true, "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.29", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.29.tgz", - "integrity": "sha512-uw6guiW/gcAGPDhLmd77/6lW8QLeiV5RUTsAX46Db6oLhGaVj4lhnPwb184s1bkc8kdVg/+h988dro8GRDpmYQ==", + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@jsdoc/salty": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.9.tgz", + "integrity": "sha512-yYxMVH7Dqw6nO0d5NIV8OQWnitU8k6vXH8NtgqAfIa/IUqRMxRv/NUJJ08VEKbAakwxlgBl5PJdrU0dMPStsnw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "lodash": "^4.17.21" + }, + "engines": { + "node": ">=v12.0.0" + } + }, "node_modules/@mswjs/interceptors": { - "version": "0.37.6", - "resolved": "https://registry.npmjs.org/@mswjs/interceptors/-/interceptors-0.37.6.tgz", - "integrity": "sha512-wK+5pLK5XFmgtH3aQ2YVvA3HohS3xqV/OxuVOdNx9Wpnz7VE/fnC+e1A7ln6LFYeck7gOJ/dsZV6OLplOtAJ2w==", + "version": "0.40.0", + "resolved": "https://registry.npmjs.org/@mswjs/interceptors/-/interceptors-0.40.0.tgz", + "integrity": "sha512-EFd6cVbHsgLa6wa4RljGj6Wk75qoHxUSyc5asLyyPSyuhIcdS2Q3Phw6ImS1q+CkALthJRShiYfKANcQMuMqsQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3102,14 +2857,6 @@ "node": ">=18" } }, - "node_modules/@nicolo-ribaudo/chokidar-2": { - "version": "2.1.8-no-fsevents.3", - "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz", - "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==", - "dev": true, - "license": "MIT", - "optional": true - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -3265,9 +3012,9 @@ } }, "node_modules/@octokit/request": { - "version": "10.0.6", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.6.tgz", - "integrity": "sha512-FO+UgZCUu+pPnZAR+iKdUt64kPE7QW7ciqpldaMXaNzixz5Jld8dJ31LAUewk0cfSRkNSRKyqG438ba9c/qDlQ==", + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.7.tgz", + "integrity": "sha512-v93h0i1yu4idj8qFPZwjehoJx4j3Ntn+JhXsdJrG9pYaX6j/XRz2RmasMUHtNgQD39nrv/VwTWSqK0RNXR8upA==", "dev": true, "license": "MIT", "dependencies": { @@ -3282,9 +3029,9 @@ } }, "node_modules/@octokit/request-error": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.0.2.tgz", - "integrity": "sha512-U8piOROoQQUyExw5c6dTkU3GKxts5/ERRThIauNL7yaRoeXW0q/5bgHWT7JfWBw1UyrbK8ERId2wVkcB32n0uQ==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.1.0.tgz", + "integrity": "sha512-KMQIfq5sOPpkQYajXHwnhjCC0slzCNScLHs9JafXc4RAJI+9f+jNDlBNaIMTvazOPLgb4BnlhGJOTbnN0wIjPw==", "dev": true, "license": "MIT", "dependencies": { @@ -3340,6 +3087,22 @@ "node": ">=14" } }, + "node_modules/@playwright/test": { + "version": "1.56.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.56.1.tgz", + "integrity": "sha512-vSMYtL/zOcFpvJCW71Q/OEGQb7KYBPAdKh35WNSkaZA75JlAO8ED8UN6GUNTm3drWomcbcqRPFqQbLae8yBTdg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright": "1.56.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/@pnpm/config.env-replace": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz", @@ -3386,101 +3149,314 @@ } }, "node_modules/@polka/url": { - "version": "1.0.0-next.28", - "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.28.tgz", - "integrity": "sha512-8LduaNlMZGwdZ6qWrKlfa+2M4gahzFkprZiAt2TF8uS0qQgBizKXpXURqvTJ4WtmupWxaLqjRb2UCTe72mu+Aw==", + "version": "1.0.0-next.29", + "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.29.tgz", + "integrity": "sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==", "dev": true, "license": "MIT" }, - "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.31.0.tgz", - "integrity": "sha512-9NrR4033uCbUBRgvLcBrJofa2KY9DzxL2UKZ1/4xA/mnTNyhZCWBuD8X3tPm1n4KxcgaraOYgrFKSgwjASfmlA==", - "cpu": [ - "arm" - ], + "node_modules/@rollup/plugin-alias": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-alias/-/plugin-alias-5.1.1.tgz", + "integrity": "sha512-PR9zDb+rOzkRb2VD+EuKB7UC41vU5DIwZ5qqCpk0KJudcWAyi8rvYOhS7+L5aZCspw1stTViLgN5v6FF1p5cgQ==", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "android" - ] + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } }, - "node_modules/@rollup/rollup-android-arm64": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.31.0.tgz", - "integrity": "sha512-iBbODqT86YBFHajxxF8ebj2hwKm1k8PTBQSojSt3d1FFt1gN+xf4CowE47iN0vOSdnd+5ierMHBbu/rHc7nq5g==", - "cpu": [ - "arm64" - ], + "node_modules/@rollup/plugin-babel": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-6.1.0.tgz", + "integrity": "sha512-dFZNuFD2YRcoomP4oYf+DvQNSUA9ih+A3vUqopQx5EdtPGo3WBnQcI/S8pwpz91UsGfL0HsMSOlaMld8HrbubA==", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "android" - ] + "dependencies": { + "@babel/helper-module-imports": "^7.18.6", + "@rollup/pluginutils": "^5.0.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0", + "@types/babel__core": "^7.1.9", + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" + }, + "peerDependenciesMeta": { + "@types/babel__core": { + "optional": true + }, + "rollup": { + "optional": true + } + } }, - "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.31.0.tgz", - "integrity": "sha512-WHIZfXgVBX30SWuTMhlHPXTyN20AXrLH4TEeH/D0Bolvx9PjgZnn4H677PlSGvU6MKNsjCQJYczkpvBbrBnG6g==", - "cpu": [ - "arm64" - ], + "node_modules/@rollup/plugin-commonjs": { + "version": "28.0.9", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.9.tgz", + "integrity": "sha512-PIR4/OHZ79romx0BVVll/PkwWpJ7e5lsqFa3gFfcrFPWwLXLV39JVUzQV9RKjWerE7B845Hqjj9VYlQeieZ2dA==", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] + "dependencies": { + "@rollup/pluginutils": "^5.0.1", + "commondir": "^1.0.1", + "estree-walker": "^2.0.2", + "fdir": "^6.2.0", + "is-reference": "1.2.1", + "magic-string": "^0.30.3", + "picomatch": "^4.0.2" + }, + "engines": { + "node": ">=16.0.0 || 14 >= 14.17" + }, + "peerDependencies": { + "rollup": "^2.68.0||^3.0.0||^4.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } }, - "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.31.0.tgz", - "integrity": "sha512-hrWL7uQacTEF8gdrQAqcDy9xllQ0w0zuL1wk1HV8wKGSGbKPVjVUv/DEwT2+Asabf8Dh/As+IvfdU+H8hhzrQQ==", - "cpu": [ - "x64" - ], + "node_modules/@rollup/plugin-json": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-6.1.0.tgz", + "integrity": "sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] + "dependencies": { + "@rollup/pluginutils": "^5.1.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } }, - "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.31.0.tgz", - "integrity": "sha512-S2oCsZ4hJviG1QjPY1h6sVJLBI6ekBeAEssYKad1soRFv3SocsQCzX6cwnk6fID6UQQACTjeIMB+hyYrFacRew==", - "cpu": [ - "arm64" - ], + "node_modules/@rollup/plugin-node-resolve": { + "version": "16.0.3", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-16.0.3.tgz", + "integrity": "sha512-lUYM3UBGuM93CnMPG1YocWu7X802BrNF3jW2zny5gQyLQgRFJhV1Sq0Zi74+dh/6NBx1DxFC4b4GXg9wUCG5Qg==", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ] + "dependencies": { + "@rollup/pluginutils": "^5.0.1", + "@types/resolve": "1.20.2", + "deepmerge": "^4.2.2", + "is-module": "^1.0.0", + "resolve": "^1.22.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^2.78.0||^3.0.0||^4.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } }, - "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.31.0.tgz", - "integrity": "sha512-pCANqpynRS4Jirn4IKZH4tnm2+2CqCNLKD7gAdEjzdLGbH1iO0zouHz4mxqg0uEMpO030ejJ0aA6e1PJo2xrPA==", - "cpu": [ - "x64" - ], + "node_modules/@rollup/plugin-replace": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-6.0.3.tgz", + "integrity": "sha512-J4RZarRvQAm5IF0/LwUUg+obsm+xZhYnbMXmXROyoSE1ATJe3oXSb9L5MMppdxP2ylNSjv6zFBwKYjcKMucVfA==", "dev": true, "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ] + "dependencies": { + "@rollup/pluginutils": "^5.0.1", + "magic-string": "^0.30.3" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } }, - "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.31.0.tgz", - "integrity": "sha512-0O8ViX+QcBd3ZmGlcFTnYXZKGbFu09EhgD27tgTdGnkcYXLat4KIsBBQeKLR2xZDCXdIBAlWLkiXE1+rJpCxFw==", - "cpu": [ + "node_modules/@rollup/plugin-terser": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/@rollup/plugin-terser/-/plugin-terser-0.4.4.tgz", + "integrity": "sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==", + "dev": true, + "license": "MIT", + "dependencies": { + "serialize-javascript": "^6.0.1", + "smob": "^1.0.0", + "terser": "^5.17.4" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^2.0.0||^3.0.0||^4.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } + }, + "node_modules/@rollup/plugin-typescript": { + "version": "12.3.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-12.3.0.tgz", + "integrity": "sha512-7DP0/p7y3t67+NabT9f8oTBFE6gGkto4SA6Np2oudYmZE/m1dt8RB0SjL1msMxFpLo631qjRCcBlAbq1ml/Big==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rollup/pluginutils": "^5.1.0", + "resolve": "^1.22.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^2.14.0||^3.0.0||^4.0.0", + "tslib": "*", + "typescript": ">=3.7.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + }, + "tslib": { + "optional": true + } + } + }, + "node_modules/@rollup/pluginutils": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.3.0.tgz", + "integrity": "sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "estree-walker": "^2.0.2", + "picomatch": "^4.0.2" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.53.2.tgz", + "integrity": "sha512-yDPzwsgiFO26RJA4nZo8I+xqzh7sJTZIWQOxn+/XOdPE31lAvLIYCKqjV+lNH/vxE2L2iH3plKxDCRK6i+CwhA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.53.2.tgz", + "integrity": "sha512-k8FontTxIE7b0/OGKeSN5B6j25EuppBcWM33Z19JoVT7UTXFSo3D9CdU39wGTeb29NO3XxpMNauh09B+Ibw+9g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.53.2.tgz", + "integrity": "sha512-A6s4gJpomNBtJ2yioj8bflM2oogDwzUiMl2yNJ2v9E7++sHrSrsQ29fOfn5DM/iCzpWcebNYEdXpaK4tr2RhfQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.53.2.tgz", + "integrity": "sha512-e6XqVmXlHrBlG56obu9gDRPW3O3hLxpwHpLsBJvuI8qqnsrtSZ9ERoWUXtPOkY8c78WghyPHZdmPhHLWNdAGEw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.53.2.tgz", + "integrity": "sha512-v0E9lJW8VsrwPux5Qe5CwmH/CF/2mQs6xU1MF3nmUxmZUCHazCjLgYvToOk+YuuUqLQBio1qkkREhxhc656ViA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.53.2.tgz", + "integrity": "sha512-ClAmAPx3ZCHtp6ysl4XEhWU69GUB1D+s7G9YjHGhIGCSrsg00nEGRRZHmINYxkdoJehde8VIsDC5t9C0gb6yqA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.53.2.tgz", + "integrity": "sha512-EPlb95nUsz6Dd9Qy13fI5kUPXNSljaG9FiJ4YUGU1O/Q77i5DYFW5KR8g1OzTcdZUqQQ1KdDqsTohdFVwCwjqg==", + "cpu": [ "arm" ], "dev": true, @@ -3491,9 +3467,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.31.0.tgz", - "integrity": "sha512-w5IzG0wTVv7B0/SwDnMYmbr2uERQp999q8FMkKG1I+j8hpPX2BYFjWe69xbhbP6J9h2gId/7ogesl9hwblFwwg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.53.2.tgz", + "integrity": "sha512-BOmnVW+khAUX+YZvNfa0tGTEMVVEerOxN0pDk2E6N6DsEIa2Ctj48FOMfNDdrwinocKaC7YXUZ1pHlKpnkja/Q==", "cpu": [ "arm" ], @@ -3505,9 +3481,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.31.0.tgz", - "integrity": "sha512-JyFFshbN5xwy6fulZ8B/8qOqENRmDdEkcIMF0Zz+RsfamEW+Zabl5jAb0IozP/8UKnJ7g2FtZZPEUIAlUSX8cA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.53.2.tgz", + "integrity": "sha512-Xt2byDZ+6OVNuREgBXr4+CZDJtrVso5woFtpKdGPhpTPHcNG7D8YXeQzpNbFRxzTVqJf7kvPMCub/pcGUWgBjA==", "cpu": [ "arm64" ], @@ -3519,9 +3495,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.31.0.tgz", - "integrity": "sha512-kpQXQ0UPFeMPmPYksiBL9WS/BDiQEjRGMfklVIsA0Sng347H8W2iexch+IEwaR7OVSKtr2ZFxggt11zVIlZ25g==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.53.2.tgz", + "integrity": "sha512-+LdZSldy/I9N8+klim/Y1HsKbJ3BbInHav5qE9Iy77dtHC/pibw1SR/fXlWyAk0ThnpRKoODwnAuSjqxFRDHUQ==", "cpu": [ "arm64" ], @@ -3532,10 +3508,10 @@ "linux" ] }, - "node_modules/@rollup/rollup-linux-loongarch64-gnu": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.31.0.tgz", - "integrity": "sha512-pMlxLjt60iQTzt9iBb3jZphFIl55a70wexvo8p+vVFK+7ifTRookdoXX3bOsRdmfD+OKnMozKO6XM4zR0sHRrQ==", + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.53.2.tgz", + "integrity": "sha512-8ms8sjmyc1jWJS6WdNSA23rEfdjWB30LH8Wqj0Cqvv7qSHnvw6kgMMXRdop6hkmGPlyYBdRPkjJnj3KCUHV/uQ==", "cpu": [ "loong64" ], @@ -3546,10 +3522,10 @@ "linux" ] }, - "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.31.0.tgz", - "integrity": "sha512-D7TXT7I/uKEuWiRkEFbed1UUYZwcJDU4vZQdPTcepK7ecPhzKOYk4Er2YR4uHKme4qDeIh6N3XrLfpuM7vzRWQ==", + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.53.2.tgz", + "integrity": "sha512-3HRQLUQbpBDMmzoxPJYd3W6vrVHOo2cVW8RUo87Xz0JPJcBLBr5kZ1pGcQAhdZgX9VV7NbGNipah1omKKe23/g==", "cpu": [ "ppc64" ], @@ -3561,9 +3537,23 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.31.0.tgz", - "integrity": "sha512-wal2Tc8O5lMBtoePLBYRKj2CImUCJ4UNGJlLwspx7QApYny7K1cUYlzQ/4IGQBLmm+y0RS7dwc3TDO/pmcneTw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.53.2.tgz", + "integrity": "sha512-fMjKi+ojnmIvhk34gZP94vjogXNNUKMEYs+EDaB/5TG/wUkoeua7p7VCHnE6T2Tx+iaghAqQX8teQzcvrYpaQA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.53.2.tgz", + "integrity": "sha512-XuGFGU+VwUUV5kLvoAdi0Wz5Xbh2SrjIxCtZj6Wq8MDp4bflb/+ThZsVxokM7n0pcbkEr2h5/pzqzDYI7cCgLQ==", "cpu": [ "riscv64" ], @@ -3575,9 +3565,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.31.0.tgz", - "integrity": "sha512-O1o5EUI0+RRMkK9wiTVpk2tyzXdXefHtRTIjBbmFREmNMy7pFeYXCFGbhKFwISA3UOExlo5GGUuuj3oMKdK6JQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.53.2.tgz", + "integrity": "sha512-w6yjZF0P+NGzWR3AXWX9zc0DNEGdtvykB03uhonSHMRa+oWA6novflo2WaJr6JZakG2ucsyb+rvhrKac6NIy+w==", "cpu": [ "s390x" ], @@ -3589,9 +3579,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.31.0.tgz", - "integrity": "sha512-zSoHl356vKnNxwOWnLd60ixHNPRBglxpv2g7q0Cd3Pmr561gf0HiAcUBRL3S1vPqRC17Zo2CX/9cPkqTIiai1g==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.2.tgz", + "integrity": "sha512-yo8d6tdfdeBArzC7T/PnHd7OypfI9cbuZzPnzLJIyKYFhAQ8SvlkKtKBMbXDxe1h03Rcr7u++nFS7tqXz87Gtw==", "cpu": [ "x64" ], @@ -3602,9 +3592,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.31.0.tgz", - "integrity": "sha512-ypB/HMtcSGhKUQNiFwqgdclWNRrAYDH8iMYH4etw/ZlGwiTVxBz2tDrGRrPlfZu6QjXwtd+C3Zib5pFqID97ZA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.53.2.tgz", + "integrity": "sha512-ah59c1YkCxKExPP8O9PwOvs+XRLKwh/mV+3YdKqQ5AMQ0r4M4ZDuOrpWkUaqO7fzAHdINzV9tEVu8vNw48z0lA==", "cpu": [ "x64" ], @@ -3615,10 +3605,24 @@ "linux" ] }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.53.2.tgz", + "integrity": "sha512-4VEd19Wmhr+Zy7hbUsFZ6YXEiP48hE//KPLCSVNY5RMGX2/7HZ+QkN55a3atM1C/BZCGIgqN+xrVgtdak2S9+A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.31.0.tgz", - "integrity": "sha512-JuhN2xdI/m8Hr+aVO3vspO7OQfUFO6bKLIRTAy0U15vmWjnZDLrEgCZ2s6+scAYaQVpYSh9tZtRijApw9IXyMw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.53.2.tgz", + "integrity": "sha512-IlbHFYc/pQCgew/d5fslcy1KEaYVCJ44G8pajugd8VoOEI8ODhtb/j8XMhLpwHCMB3yk2J07ctup10gpw2nyMA==", "cpu": [ "arm64" ], @@ -3630,9 +3634,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.31.0.tgz", - "integrity": "sha512-U1xZZXYkvdf5MIWmftU8wrM5PPXzyaY1nGCI4KI4BFfoZxHamsIe+BtnPLIvvPykvQWlVbqUXdLa4aJUuilwLQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.53.2.tgz", + "integrity": "sha512-lNlPEGgdUfSzdCWU176ku/dQRnA7W+Gp8d+cWv73jYrb8uT7HTVVxq62DUYxjbaByuf1Yk0RIIAbDzp+CnOTFg==", "cpu": [ "ia32" ], @@ -3643,10 +3647,24 @@ "win32" ] }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.53.2.tgz", + "integrity": "sha512-S6YojNVrHybQis2lYov1sd+uj7K0Q05NxHcGktuMMdIQ2VixGwAfbJ23NnlvvVV1bdpR2m5MsNBViHJKcA4ADw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.31.0.tgz", - "integrity": "sha512-ul8rnCsUumNln5YWwz0ted2ZHFhzhRRnkpBZ+YRuHoRAlUji9KChpOUOndY7uykrPEPXVbHLlsdo6v5yXo/TXw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.53.2.tgz", + "integrity": "sha512-k+/Rkcyx//P6fetPoLMb8pBeqJBNGx81uuf7iljX9++yNBVRDQgD04L+SVXmXmh5ZP4/WOp4mWF0kmi06PW2tA==", "cpu": [ "x64" ], @@ -3818,9 +3836,9 @@ } }, "node_modules/@semantic-release/npm": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-13.1.1.tgz", - "integrity": "sha512-c4tlp3STYaTYORmMcLjiTaI8SLoxJ0Uf7IXkem8EyihuOM624wnaGuH4OuY2HHcsHDerNAQNzZ8VO6d4PMHSzA==", + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-13.1.2.tgz", + "integrity": "sha512-9rtshDTNlzYrC7uSBtB1vHqFzFZaNHigqkkCH5Ls4N/BSlVOenN5vtwHYxjAR4jf1hNvWSVwL4eIFTHONYckkw==", "dev": true, "license": "MIT", "dependencies": { @@ -3835,7 +3853,7 @@ "normalize-url": "^8.0.0", "npm": "^11.6.2", "rc": "^1.2.8", - "read-pkg": "^9.0.0", + "read-pkg": "^10.0.0", "registry-auth-token": "^5.0.0", "semver": "^7.1.2", "tempy": "^3.0.0" @@ -4068,19 +4086,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/unicorn-magic": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", - "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@semantic-release/release-notes-generator": { "version": "14.1.0", "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-14.1.0.tgz", @@ -4119,6 +4124,59 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@semantic-release/release-notes-generator/node_modules/hosted-git-info": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz", + "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@semantic-release/release-notes-generator/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/@semantic-release/release-notes-generator/node_modules/normalize-package-data": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz", + "integrity": "sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^7.0.0", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@semantic-release/release-notes-generator/node_modules/parse-json": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.3.0.tgz", + "integrity": "sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "index-to-position": "^1.1.0", + "type-fest": "^4.39.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@semantic-release/release-notes-generator/node_modules/read-package-up": { "version": "11.0.0", "resolved": "https://registry.npmjs.org/read-package-up/-/read-package-up-11.0.0.tgz", @@ -4137,79 +4195,111 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@shikijs/core": { - "version": "1.29.1", - "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.29.1.tgz", - "integrity": "sha512-Mo1gGGkuOYjDu5H8YwzmOuly9vNr8KDVkqj9xiKhhhFS8jisAtDSEWB9hzqRHLVQgFdA310e8XRJcW4tYhRB2A==", + "node_modules/@semantic-release/release-notes-generator/node_modules/read-pkg": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-9.0.1.tgz", + "integrity": "sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/engine-javascript": "1.29.1", - "@shikijs/engine-oniguruma": "1.29.1", - "@shikijs/types": "1.29.1", - "@shikijs/vscode-textmate": "^10.0.1", - "@types/hast": "^3.0.4", - "hast-util-to-html": "^9.0.4" + "@types/normalize-package-data": "^2.4.3", + "normalize-package-data": "^6.0.0", + "parse-json": "^8.0.0", + "type-fest": "^4.6.0", + "unicorn-magic": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@semantic-release/release-notes-generator/node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@semantic-release/release-notes-generator/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@shikijs/engine-javascript": { - "version": "1.29.1", - "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-1.29.1.tgz", - "integrity": "sha512-Hpi8k9x77rCQ7F/7zxIOUruNkNidMyBnP5qAGbLFqg4kRrg1HZhkB8btib5EXbQWTtLb5gBHOdBwshk20njD7Q==", + "node_modules/@semantic-release/release-notes-generator/node_modules/unicorn-magic": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", + "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", "dev": true, "license": "MIT", - "dependencies": { - "@shikijs/types": "1.29.1", - "@shikijs/vscode-textmate": "^10.0.1", - "oniguruma-to-es": "^2.2.0" + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/@shikijs/engine-oniguruma": { - "version": "1.29.1", - "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-1.29.1.tgz", - "integrity": "sha512-gSt2WhLNgEeLstcweQOSp+C+MhOpTsgdNXRqr3zP6M+BUBZ8Md9OU2BYwUYsALBxHza7hwaIWtFHjQ/aOOychw==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.15.0.tgz", + "integrity": "sha512-HnqFsV11skAHvOArMZdLBZZApRSYS4LSztk2K3016Y9VCyZISnlYUYsL2hzlS7tPqKHvNqmI5JSUJZprXloMvA==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/types": "1.29.1", - "@shikijs/vscode-textmate": "^10.0.1" + "@shikijs/types": "3.15.0", + "@shikijs/vscode-textmate": "^10.0.2" } }, "node_modules/@shikijs/langs": { - "version": "1.29.1", - "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-1.29.1.tgz", - "integrity": "sha512-iERn4HlyuT044/FgrvLOaZgKVKf3PozjKjyV/RZ5GnlyYEAZFcgwHGkYboeBv2IybQG1KVS/e7VGgiAU4JY2Gw==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-3.15.0.tgz", + "integrity": "sha512-WpRvEFvkVvO65uKYW4Rzxs+IG0gToyM8SARQMtGGsH4GDMNZrr60qdggXrFOsdfOVssG/QQGEl3FnJ3EZ+8w8A==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/types": "1.29.1" + "@shikijs/types": "3.15.0" } }, "node_modules/@shikijs/themes": { - "version": "1.29.1", - "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-1.29.1.tgz", - "integrity": "sha512-lb11zf72Vc9uxkl+aec2oW1HVTHJ2LtgZgumb4Rr6By3y/96VmlU44bkxEb8WBWH3RUtbqAJEN0jljD9cF7H7g==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-3.15.0.tgz", + "integrity": "sha512-8ow2zWb1IDvCKjYb0KiLNrK4offFdkfNVPXb1OZykpLCzRU6j+efkY+Y7VQjNlNFXonSw+4AOdGYtmqykDbRiQ==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/types": "1.29.1" + "@shikijs/types": "3.15.0" } }, "node_modules/@shikijs/types": { - "version": "1.29.1", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-1.29.1.tgz", - "integrity": "sha512-aBqAuhYRp5vSir3Pc9+QPu9WESBOjUo03ao0IHLC4TyTioSsp/SkbAZSrIH4ghYYC1T1KTEpRSBa83bas4RnPA==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.15.0.tgz", + "integrity": "sha512-BnP+y/EQnhihgHy4oIAN+6FFtmfTekwOLsQbRw9hOKwqgNy8Bdsjq8B05oAt/ZgvIWWFrshV71ytOrlPfYjIJw==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/vscode-textmate": "^10.0.1", + "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4" } }, "node_modules/@shikijs/vscode-textmate": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.0.1.tgz", - "integrity": "sha512-fTIQwLF+Qhuws31iw7Ncl1R3HUDtGwIipiJ9iU+UsDUwMhegFcQKQHd51nZjb7CArq0MvON8rbgCGQYWHUKAdg==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz", + "integrity": "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==", "dev": true, "license": "MIT" }, @@ -4252,10 +4342,21 @@ "size-limit": "11.2.0" } }, - "node_modules/@testing-library/dom": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.0.tgz", - "integrity": "sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==", + "node_modules/@so-ric/colorspace": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@so-ric/colorspace/-/colorspace-1.1.6.tgz", + "integrity": "sha512-/KiKkpHNOBgkFJwu9sh48LkHSMYGyuTcSFK/qMBdnOAlrRJzRSXAOFB5qwzaVQuDl8wAvHVMkaASQDReTahxuw==", + "dev": true, + "license": "MIT", + "dependencies": { + "color": "^5.0.2", + "text-hex": "1.0.x" + } + }, + "node_modules/@testing-library/dom": { + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.1.tgz", + "integrity": "sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==", "dev": true, "license": "MIT", "dependencies": { @@ -4263,9 +4364,9 @@ "@babel/runtime": "^7.12.5", "@types/aria-query": "^5.0.1", "aria-query": "5.3.0", - "chalk": "^4.1.0", "dom-accessibility-api": "^0.5.9", "lz-string": "^1.5.0", + "picocolors": "1.1.1", "pretty-format": "^27.0.2" }, "engines": { @@ -4294,9 +4395,9 @@ "license": "MIT" }, "node_modules/@types/conventional-commits-parser": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@types/conventional-commits-parser/-/conventional-commits-parser-5.0.1.tgz", - "integrity": "sha512-7uz5EHdzz2TqoMfV7ee61Egf5y6NkcO4FB/1iCCQnbeiI1F3xzv3vK5dBCXUCLQgGYS+mUeigK1iKQzvED+QnQ==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@types/conventional-commits-parser/-/conventional-commits-parser-5.0.2.tgz", + "integrity": "sha512-BgT2szDXnVypgpNxOK8aL5SGjUdaQbC++WZNjF1Qge3Og2+zhHj+RWhmehLhYyvQwqAmvezruVfOf8+3m74W+g==", "dev": true, "license": "MIT", "optional": true, @@ -4304,39 +4405,10 @@ "@types/node": "*" } }, - "node_modules/@types/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/eslint": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", - "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, - "node_modules/@types/eslint-scope": { - "version": "3.7.7", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", - "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, "node_modules/@types/estree": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", - "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "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" }, @@ -4351,9 +4423,9 @@ } }, "node_modules/@types/json-patch": { - "version": "0.0.30", - "resolved": "https://registry.npmjs.org/@types/json-patch/-/json-patch-0.0.30.tgz", - "integrity": "sha512-MhCUjojzDhVLnZnxwPwa+rETFRDQ0ffjxYdrqOP6TBO2O0/Z64PV5tNeYApo4bc4y4frbWOrRwv/eEkXlI13Rw==", + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/@types/json-patch/-/json-patch-0.0.33.tgz", + "integrity": "sha512-XQ9hIoJCtnvTCnIV+p+SWQbY8Bt1pe+RuTkPG7lQeRCa9sPwYbhb0aYzM2paVPk0SGvV70R33rxjPjBcJ4Kdxw==", "dev": true, "license": "MIT" }, @@ -4368,22 +4440,23 @@ "version": "4.17.20", "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.20.tgz", "integrity": "sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==", - "dev": true + "dev": true, + "license": "MIT" }, - "node_modules/@types/mdast": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", - "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "node_modules/@types/lodash-es": { + "version": "4.17.12", + "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.12.tgz", + "integrity": "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==", "dev": true, "license": "MIT", "dependencies": { - "@types/unist": "*" + "@types/lodash": "*" } }, "node_modules/@types/node": { - "version": "20.19.23", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.23.tgz", - "integrity": "sha512-yIdlVVVHXpmqRhtyovZAcSy0MiPcYWGkoO4CGe/+jpP0hmNuihm4XhHbADpK++MsiLHP5MVlv+bcgdF99kSiFQ==", + "version": "20.19.25", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.25.tgz", + "integrity": "sha512-ZsJzA5thDQMSQO788d7IocwwQbI8B5OPzmqNvpf3NY/+MHDAS759Wo0gd2WQeXYt5AAAQjzcrTVC6SKCuYgoCQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4397,17 +4470,24 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/resolve": { + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz", + "integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/statuses": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@types/statuses/-/statuses-2.0.5.tgz", - "integrity": "sha512-jmIUGWrAiwu3dZpxntxieC+1n/5c3mjrImkmOSQ2NC5uP6cYO4aAZDdSmRcI5C1oiTmqlZGHC+/NmJrKogbP5A==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/statuses/-/statuses-2.0.6.tgz", + "integrity": "sha512-xMAgYwceFhRA2zY+XbEA7mxYbA093wdiW8Vu6gZPGWy9cmOyU9XesH1tNcEWsKFd5Vzrqx5T3D38PWx1FIIXkA==", "dev": true, "license": "MIT" }, - "node_modules/@types/tough-cookie": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", + "node_modules/@types/triple-beam": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", + "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==", "dev": true, "license": "MIT" }, @@ -4419,17 +4499,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.4.tgz", - "integrity": "sha512-R48VhmTJqplNyDxCyqqVkFSZIx1qX6PzwqgcXn1olLrzxcSBDlOsbtcnQuQhNtnNiJ4Xe5gREI1foajYaYU2Vg==", + "version": "8.47.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.47.0.tgz", + "integrity": "sha512-fe0rz9WJQ5t2iaLfdbDc9T80GJy0AeO453q8C3YCilnGozvOyCG5t+EZtg7j7D88+c3FipfP/x+wzGnh1xp8ZA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.46.4", - "@typescript-eslint/type-utils": "8.46.4", - "@typescript-eslint/utils": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4", + "@typescript-eslint/scope-manager": "8.47.0", + "@typescript-eslint/type-utils": "8.47.0", + "@typescript-eslint/utils": "8.47.0", + "@typescript-eslint/visitor-keys": "8.47.0", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", @@ -4443,7 +4523,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.46.4", + "@typescript-eslint/parser": "^8.47.0", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } @@ -4459,16 +4539,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.46.4.tgz", - "integrity": "sha512-tK3GPFWbirvNgsNKto+UmB/cRtn6TZfyw0D6IKrW55n6Vbs7KJoZtI//kpTKzE/DUmmnAFD8/Ca46s7Obs92/w==", + "version": "8.47.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.47.0.tgz", + "integrity": "sha512-lJi3PfxVmo0AkEY93ecfN+r8SofEqZNGByvHAI3GBLrvt1Cw6H5k1IM02nSzu0RfUafr2EvFSw0wAsZgubNplQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.46.4", - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/typescript-estree": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4", + "@typescript-eslint/scope-manager": "8.47.0", + "@typescript-eslint/types": "8.47.0", + "@typescript-eslint/typescript-estree": "8.47.0", + "@typescript-eslint/visitor-keys": "8.47.0", "debug": "^4.3.4" }, "engines": { @@ -4484,14 +4564,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.46.4.tgz", - "integrity": "sha512-nPiRSKuvtTN+no/2N1kt2tUh/HoFzeEgOm9fQ6XQk4/ApGqjx0zFIIaLJ6wooR1HIoozvj2j6vTi/1fgAz7UYQ==", + "version": "8.47.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.47.0.tgz", + "integrity": "sha512-2X4BX8hUeB5JcA1TQJ7GjcgulXQ+5UkNb0DL8gHsHUHdFoiCTJoYLTpib3LtSDPZsRET5ygN4qqIWrHyYIKERA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.46.4", - "@typescript-eslint/types": "^8.46.4", + "@typescript-eslint/tsconfig-utils": "^8.47.0", + "@typescript-eslint/types": "^8.47.0", "debug": "^4.3.4" }, "engines": { @@ -4506,14 +4586,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.4.tgz", - "integrity": "sha512-tMDbLGXb1wC+McN1M6QeDx7P7c0UWO5z9CXqp7J8E+xGcJuUuevWKxuG8j41FoweS3+L41SkyKKkia16jpX7CA==", + "version": "8.47.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.47.0.tgz", + "integrity": "sha512-a0TTJk4HXMkfpFkL9/WaGTNuv7JWfFTQFJd6zS9dVAjKsojmv9HT55xzbEpnZoY+VUb+YXLMp+ihMLz/UlZfDg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4" + "@typescript-eslint/types": "8.47.0", + "@typescript-eslint/visitor-keys": "8.47.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4524,9 +4604,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.46.4.tgz", - "integrity": "sha512-+/XqaZPIAk6Cjg7NWgSGe27X4zMGqrFqZ8atJsX3CWxH/jACqWnrWI68h7nHQld0y+k9eTTjb9r+KU4twLoo9A==", + "version": "8.47.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.47.0.tgz", + "integrity": "sha512-ybUAvjy4ZCL11uryalkKxuT3w3sXJAuWhOoGS3T/Wu+iUu1tGJmk5ytSY8gbdACNARmcYEB0COksD2j6hfGK2g==", "dev": true, "license": "MIT", "engines": { @@ -4541,15 +4621,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.46.4.tgz", - "integrity": "sha512-V4QC8h3fdT5Wro6vANk6eojqfbv5bpwHuMsBcJUJkqs2z5XnYhJzyz9Y02eUmF9u3PgXEUiOt4w4KHR3P+z0PQ==", + "version": "8.47.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.47.0.tgz", + "integrity": "sha512-QC9RiCmZ2HmIdCEvhd1aJELBlD93ErziOXXlHEZyuBo3tBiAZieya0HLIxp+DoDWlsQqDawyKuNEhORyku+P8A==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/typescript-estree": "8.46.4", - "@typescript-eslint/utils": "8.46.4", + "@typescript-eslint/types": "8.47.0", + "@typescript-eslint/typescript-estree": "8.47.0", + "@typescript-eslint/utils": "8.47.0", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, @@ -4566,9 +4646,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz", - "integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==", + "version": "8.47.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.47.0.tgz", + "integrity": "sha512-nHAE6bMKsizhA2uuYZbEbmp5z2UpffNrPEqiKIeN7VsV6UY/roxanWfoRrf6x/k9+Obf+GQdkm0nPU+vnMXo9A==", "dev": true, "license": "MIT", "engines": { @@ -4580,16 +4660,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.4.tgz", - "integrity": "sha512-7oV2qEOr1d4NWNmpXLR35LvCfOkTNymY9oyW+lUHkmCno7aOmIf/hMaydnJBUTBMRCOGZh8YjkFOc8dadEoNGA==", + "version": "8.47.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.47.0.tgz", + "integrity": "sha512-k6ti9UepJf5NpzCjH31hQNLHQWupTRPhZ+KFF8WtTuTpy7uHPfeg2NM7cP27aCGajoEplxJDFVCEm9TGPYyiVg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.46.4", - "@typescript-eslint/tsconfig-utils": "8.46.4", - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4", + "@typescript-eslint/project-service": "8.47.0", + "@typescript-eslint/tsconfig-utils": "8.47.0", + "@typescript-eslint/types": "8.47.0", + "@typescript-eslint/visitor-keys": "8.47.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -4648,16 +4728,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.4.tgz", - "integrity": "sha512-AbSv11fklGXV6T28dp2Me04Uw90R2iJ30g2bgLz529Koehrmkbs1r7paFqr1vPCZi7hHwYxYtxfyQMRC8QaVSg==", + "version": "8.47.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.47.0.tgz", + "integrity": "sha512-g7XrNf25iL4TJOiPqatNuaChyqt49a/onq5YsJ9+hXeugK+41LVg7AxikMfM02PC6jbNtZLCJj6AUcQXJS/jGQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.46.4", - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/typescript-estree": "8.46.4" + "@typescript-eslint/scope-manager": "8.47.0", + "@typescript-eslint/types": "8.47.0", + "@typescript-eslint/typescript-estree": "8.47.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4672,13 +4752,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.4.tgz", - "integrity": "sha512-/++5CYLQqsO9HFGLI7APrxBJYo+5OCMpViuhV8q5/Qa3o5mMrF//eQHks+PXcsAVaLdn817fMuS7zqoXNNZGaw==", + "version": "8.47.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.47.0.tgz", + "integrity": "sha512-SIV3/6eftCy1bNzCQoPmbWsRLujS8t5iDIZ4spZOBHqrM+yfX2ogg8Tt3PDTAVKw3sSCiUgg30uOAvK2r9zGjQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/types": "8.47.0", "eslint-visitor-keys": "^4.2.1" }, "engines": { @@ -4689,13 +4769,6 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@ungap/structured-clone": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.1.tgz", - "integrity": "sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==", - "dev": true, - "license": "ISC" - }, "node_modules/@vitest/browser": { "version": "2.1.9", "resolved": "https://registry.npmjs.org/@vitest/browser/-/browser-2.1.9.tgz", @@ -4809,6 +4882,16 @@ } } }, + "node_modules/@vitest/mocker/node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + } + }, "node_modules/@vitest/pretty-format": { "version": "2.1.9", "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.9.tgz", @@ -4879,247 +4962,12 @@ "url": "https://opencollective.com/vitest" } }, - "node_modules/@webassemblyjs/ast": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz", - "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/helper-numbers": "1.13.2", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2" - } - }, - "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz", - "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==", - "dev": true, - "license": "MIT" - }, - "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz", - "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz", - "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==", - "dev": true, - "license": "MIT" - }, - "node_modules/@webassemblyjs/helper-numbers": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz", - "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/floating-point-hex-parser": "1.13.2", - "@webassemblyjs/helper-api-error": "1.13.2", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz", - "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==", - "dev": true, - "license": "MIT" - }, - "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz", - "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-buffer": "1.14.1", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/wasm-gen": "1.14.1" - } - }, - "node_modules/@webassemblyjs/ieee754": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz", - "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "node_modules/@webassemblyjs/leb128": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz", - "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/utf8": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz", - "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz", - "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-buffer": "1.14.1", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/helper-wasm-section": "1.14.1", - "@webassemblyjs/wasm-gen": "1.14.1", - "@webassemblyjs/wasm-opt": "1.14.1", - "@webassemblyjs/wasm-parser": "1.14.1", - "@webassemblyjs/wast-printer": "1.14.1" - } - }, - "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz", - "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/ieee754": "1.13.2", - "@webassemblyjs/leb128": "1.13.2", - "@webassemblyjs/utf8": "1.13.2" - } - }, - "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz", - "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-buffer": "1.14.1", - "@webassemblyjs/wasm-gen": "1.14.1", - "@webassemblyjs/wasm-parser": "1.14.1" - } - }, - "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz", - "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-api-error": "1.13.2", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/ieee754": "1.13.2", - "@webassemblyjs/leb128": "1.13.2", - "@webassemblyjs/utf8": "1.13.2" - } - }, - "node_modules/@webassemblyjs/wast-printer": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz", - "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webpack-cli/configtest": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-2.1.1.tgz", - "integrity": "sha512-wy0mglZpDSiSS0XHrVR+BAdId2+yxPSoJW8fsna3ZpYSlufjvxnP4YbKTCBZnNIcGN4r6ZPXV55X4mYExOfLmw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14.15.0" - }, - "peerDependencies": { - "webpack": "5.x.x", - "webpack-cli": "5.x.x" - } - }, - "node_modules/@webpack-cli/info": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-2.0.2.tgz", - "integrity": "sha512-zLHQdI/Qs1UyT5UBdWNqsARasIA+AaF8t+4u2aS2nEpBQh2mWIVb8qAklq0eUENnC5mOItrIB4LiS9xMtph18A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14.15.0" - }, - "peerDependencies": { - "webpack": "5.x.x", - "webpack-cli": "5.x.x" - } - }, - "node_modules/@webpack-cli/serve": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-2.0.5.tgz", - "integrity": "sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14.15.0" - }, - "peerDependencies": { - "webpack": "5.x.x", - "webpack-cli": "5.x.x" - }, - "peerDependenciesMeta": { - "webpack-dev-server": { - "optional": true - } - } - }, - "node_modules/@xtuc/ieee754": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", - "dev": true, - "license": "BSD-3-Clause" - }, - "node_modules/@xtuc/long": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/accepts": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", - "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", - "dev": true, - "license": "MIT", - "dependencies": { - "mime-types": "~2.1.34", - "negotiator": "0.6.3" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/acorn": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", - "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", "dev": true, + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -5137,19 +4985,6 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/acorn-walk": { - "version": "8.3.4", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", - "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", - "dev": true, - "license": "MIT", - "dependencies": { - "acorn": "^8.11.0" - }, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/agent-base": { "version": "7.1.4", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", @@ -5180,6 +5015,7 @@ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, "license": "MIT", + "optional": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -5191,37 +5027,6 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/ajv-formats": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, "node_modules/ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", @@ -5262,19 +5067,16 @@ } }, "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "license": "MIT", "dependencies": { - "color-convert": "^2.0.1" + "color-convert": "^1.9.0" }, "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "node": ">=4" } }, "node_modules/any-promise": { @@ -5298,6 +5100,19 @@ "node": ">= 8" } }, + "node_modules/anymatch/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" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -5322,30 +5137,6 @@ "dequal": "^2.0.3" } }, - "node_modules/array-buffer-byte-length": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz", - "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "is-array-buffer": "^3.0.5" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", - "dev": true, - "license": "MIT" - }, "node_modules/array-ify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", @@ -5353,59 +5144,22 @@ "dev": true, "license": "MIT" }, - "node_modules/array.prototype.reduce": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/array.prototype.reduce/-/array.prototype.reduce-1.0.7.tgz", - "integrity": "sha512-mzmiUCVwtiD4lgxYP8g7IYy8El8p2CSMePvIbTS7gchKir/L1fgJrk0yDKmAX6mnRQFKNADYIk8nNlTris5H1Q==", + "node_modules/assertion-error": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", "dev": true, "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-array-method-boxes-properly": "^1.0.0", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "is-string": "^1.0.7" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=12" } }, - "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz", - "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "array-buffer-byte-length": "^1.0.1", - "call-bind": "^1.0.8", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.5", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.6", - "is-array-buffer": "^3.0.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/assertion-error": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", - "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", + "node_modules/async": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - } + "license": "MIT" }, "node_modules/asynckit": { "version": "0.4.0", @@ -5423,22 +5177,6 @@ "node": ">= 4.0.0" } }, - "node_modules/available-typed-arrays": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", - "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "possible-typed-array-names": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/axios": { "version": "1.13.2", "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.2.tgz", @@ -5450,161 +5188,12 @@ "proxy-from-env": "^1.1.0" } }, - "node_modules/babel-loader": { - "version": "8.4.1", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.4.1.tgz", - "integrity": "sha512-nXzRChX+Z1GoE6yWavBQg6jDslyFF3SDjl2paADuoQtQW10JqShJt62R6eJQ5m/pjJFDT8xgKIWSP85OY8eXeA==", - "dev": true, - "license": "MIT", - "dependencies": { - "find-cache-dir": "^3.3.1", - "loader-utils": "^2.0.4", - "make-dir": "^3.1.0", - "schema-utils": "^2.6.5" - }, - "engines": { - "node": ">= 8.9" - }, - "peerDependencies": { - "@babel/core": "^7.0.0", - "webpack": ">=2" - } - }, - "node_modules/babel-loader/node_modules/find-cache-dir": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", - "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", - "dev": true, - "license": "MIT", - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/avajs/find-cache-dir?sponsor=1" - } - }, - "node_modules/babel-loader/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-loader/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-loader/node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/babel-loader/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/babel-loader/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-loader/node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-inline-replace-variables": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/babel-plugin-inline-replace-variables/-/babel-plugin-inline-replace-variables-1.3.1.tgz", - "integrity": "sha512-esraWxVsSAKZJp3H5NMbcBNOLiTRQXEjxe4e8qoslSnWfqIOA4Jo7ShDklPCSGLGRA2lnA0xxi/3kf6QEmKqIQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "babylon": "^6.17.0" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/babel-plugin-lodash": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/babel-plugin-lodash/-/babel-plugin-lodash-3.3.4.tgz", - "integrity": "sha512-yDZLjK7TCkWl1gpBeBGmuaDIFhZKmkoL+Cu2MUUjv5VxUZx/z7tBGBCBcQs5RI1Bkz5LLmNdjx7paOyQtMovyg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.0.0-beta.49", - "@babel/types": "^7.0.0-beta.49", - "glob": "^7.1.1", - "lodash": "^4.17.10", - "require-package-name": "^2.0.1" - } - }, "node_modules/babel-plugin-polyfill-corejs2": { "version": "0.4.14", "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.14.tgz", "integrity": "sha512-Co2Y9wX854ts6U8gAAPXfn0GmAyctHuK8n0Yhfjd6t30g7yvKjspvvOo9yG+z52PZRgFErt7Ka2pYnXCjLKEpg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/compat-data": "^7.27.7", "@babel/helper-define-polyfill-provider": "^0.6.5", @@ -5619,6 +5208,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.13.0.tgz", "integrity": "sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-define-polyfill-provider": "^0.6.5", "core-js-compat": "^3.43.0" @@ -5632,6 +5222,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.5.tgz", "integrity": "sha512-ISqQ2frbiNU9vIJkzg7dlPpznPZ4jOiUQ1uSmB0fEHeowtN3COYRsXr/xexn64NpU13P06jc/L5TgiJXOgrbEg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-define-polyfill-provider": "^0.6.5" }, @@ -5639,16 +5230,6 @@ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, - "node_modules/babylon": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", - "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", - "dev": true, - "license": "MIT", - "bin": { - "babylon": "bin/babylon.js" - } - }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -5677,6 +5258,16 @@ ], "license": "MIT" }, + "node_modules/baseline-browser-mapping": { + "version": "2.8.29", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.29.tgz", + "integrity": "sha512-sXdt2elaVnhpDNRDz+1BDx1JQoJRuNk7oVlAlbGiFkLikHCAQiccexF/9e91zVi6RCgqspl04aP+6Cnl9zRLrA==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.js" + } + }, "node_modules/before-after-hook": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-4.0.0.tgz", @@ -5684,16 +5275,6 @@ "dev": true, "license": "Apache-2.0" }, - "node_modules/big.js": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", - "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": "*" - } - }, "node_modules/binary-extensions": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", @@ -5719,64 +5300,6 @@ "readable-stream": "^3.4.0" } }, - "node_modules/body-parser": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", - "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", - "dev": true, - "license": "MIT", - "dependencies": { - "bytes": "3.1.2", - "content-type": "~1.0.5", - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "on-finished": "2.4.1", - "qs": "6.13.0", - "raw-body": "2.5.2", - "type-is": "~1.6.18", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/body-parser/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/body-parser/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true, - "license": "MIT" - }, - "node_modules/body-parser/node_modules/qs": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", - "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "side-channel": "^1.0.6" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/bottleneck": { "version": "2.19.5", "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", @@ -5785,9 +5308,9 @@ "license": "MIT" }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "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": { @@ -5809,9 +5332,9 @@ } }, "node_modules/browserslist": { - "version": "4.25.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.1.tgz", - "integrity": "sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw==", + "version": "4.28.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.0.tgz", + "integrity": "sha512-tbydkR/CxfMwelN0vwdP/pLkDwyAASZ+VfWm4EOwlB6SWhx1sYnWLqo8N5j0rAzPfzfRaxt0mM/4wPU/Su84RQ==", "dev": true, "funding": [ { @@ -5827,11 +5350,13 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001726", - "electron-to-chromium": "^1.5.173", - "node-releases": "^2.0.19", - "update-browserslist-db": "^1.1.3" + "baseline-browser-mapping": "^2.8.25", + "caniuse-lite": "^1.0.30001754", + "electron-to-chromium": "^1.5.249", + "node-releases": "^2.0.27", + "update-browserslist-db": "^1.1.4" }, "bin": { "browserslist": "cli.js" @@ -5879,16 +5404,6 @@ "dev": true, "license": "MIT" }, - "node_modules/bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/bytes-iec": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/bytes-iec/-/bytes-iec-3.1.1.tgz", @@ -5919,29 +5434,10 @@ "node": ">=6" } }, - "node_modules/call-bind": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz", - "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind-apply-helpers": "^1.0.0", - "es-define-property": "^1.0.0", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/call-bind-apply-helpers": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz", - "integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -5952,13 +5448,13 @@ } }, "node_modules/call-bound": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.3.tgz", - "integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", "license": "MIT", "dependencies": { - "call-bind-apply-helpers": "^1.0.1", - "get-intrinsic": "^1.2.6" + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" }, "engines": { "node": ">= 0.4" @@ -5978,9 +5474,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001727", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001727.tgz", - "integrity": "sha512-pB68nIHmbN6L/4C6MH1DokyR3bYqFwjaSs/sWDHGj4CTcFtQUQMuJftVwWkXq7mNWOybD3KhUv3oWHoGxgP14Q==", + "version": "1.0.30001755", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001755.tgz", + "integrity": "sha512-44V+Jm6ctPj7R52Na4TLi3Zri4dWUljJd+RDm+j8LtNCc/ihLCT+X1TzoOAkRETEWqjuLnh9581Tl80FvK7jVA==", "dev": true, "funding": [ { @@ -5995,23 +5491,13 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ] - }, - "node_modules/ccount": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", - "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } + ], + "license": "CC-BY-4.0" }, "node_modules/chai": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/chai/-/chai-5.1.2.tgz", - "integrity": "sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz", + "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==", "dev": true, "license": "MIT", "dependencies": { @@ -6022,24 +5508,22 @@ "pathval": "^2.0.0" }, "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "node": ">=4" } }, "node_modules/char-regex": { @@ -6052,28 +5536,6 @@ "node": ">=10" } }, - "node_modules/character-entities-html4": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz", - "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/character-entities-legacy": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", - "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/chardet": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", @@ -6116,14 +5578,17 @@ "fsevents": "~2.3.2" } }, - "node_modules/chrome-trace-event": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", - "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", + "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==", "dev": true, - "license": "MIT", + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, "engines": { - "node": ">=6.0" + "node": ">= 6" } }, "node_modules/clean-stack": { @@ -6171,6 +5636,39 @@ "npm": ">=5.0.0" } }, + "node_modules/cli-highlight/node_modules/ansi-styles": { + "version": "4.3.0", + "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" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/cli-highlight/node_modules/chalk": { + "version": "4.1.2", + "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" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "node_modules/cli-highlight/node_modules/cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -6183,6 +5681,49 @@ "wrap-ansi": "^7.0.0" } }, + "node_modules/cli-highlight/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/cli-highlight/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, + "license": "MIT" + }, + "node_modules/cli-highlight/node_modules/has-flag": { + "version": "4.0.0", + "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" + } + }, + "node_modules/cli-highlight/node_modules/supports-color": { + "version": "7.2.0", + "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" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/cli-highlight/node_modules/yargs": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", @@ -6259,9 +5800,9 @@ } }, "node_modules/cli-truncate/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", "dev": true, "license": "MIT", "engines": { @@ -6272,9 +5813,9 @@ } }, "node_modules/cli-truncate/node_modules/emoji-regex": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", - "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", "dev": true, "license": "MIT" }, @@ -6297,9 +5838,9 @@ } }, "node_modules/cli-truncate/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==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", + "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", "dev": true, "license": "MIT", "dependencies": { @@ -6347,41 +5888,83 @@ "node": ">=0.8" } }, - "node_modules/clone-deep": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "node_modules/color": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/color/-/color-5.0.3.tgz", + "integrity": "sha512-ezmVcLR3xAVp8kYOm4GS45ZLLgIE6SPAFoduLr6hTDajwb3KZ2F46gulK3XpcwRFb5KKGCSezCBAY4Dw4HsyXA==", "dev": true, "license": "MIT", "dependencies": { - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.2", - "shallow-clone": "^3.0.0" + "color-convert": "^3.1.3", + "color-string": "^2.1.3" }, "engines": { - "node": ">=6" + "node": ">=18" } }, "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==", + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, "license": "MIT", "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" + "color-name": "1.1.3" } }, "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==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "dev": true, "license": "MIT" }, + "node_modules/color-string": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-2.1.4.tgz", + "integrity": "sha512-Bb6Cq8oq0IjDOe8wJmi4JeNn763Xs9cfrBcaylK1tPypWzyoy2G3l90v9k64kjphl/ZJjPIShFztenRomi8WTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/color-string/node_modules/color-name": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-2.1.0.tgz", + "integrity": "sha512-1bPaDNFm0axzE4MEAzKPuqKWeRaT43U/hyxKPBdqTfmPF+d6n7FSoTFxLVULUJOmiLp01KjhIPPH+HrXZJN4Rg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.20" + } + }, + "node_modules/color/node_modules/color-convert": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-3.1.3.tgz", + "integrity": "sha512-fasDH2ont2GqF5HpyO4w0+BcewlhHEZOFn9c1ckZdHpJ56Qb7MHhH/IcJZbBGgvdtwdwNbLvxiBEdg336iA9Sg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "^2.0.0" + }, + "engines": { + "node": ">=14.6" + } + }, + "node_modules/color/node_modules/color-name": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-2.1.0.tgz", + "integrity": "sha512-1bPaDNFm0axzE4MEAzKPuqKWeRaT43U/hyxKPBdqTfmPF+d6n7FSoTFxLVULUJOmiLp01KjhIPPH+HrXZJN4Rg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.20" + } + }, "node_modules/colorette": { "version": "2.0.20", "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", @@ -6401,25 +5984,14 @@ "node": ">= 0.8" } }, - "node_modules/comma-separated-tokens": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", - "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.0.0.tgz", + "integrity": "sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==", "dev": true, "license": "MIT", "engines": { - "node": ">= 6" + "node": ">=18" } }, "node_modules/commitizen": { @@ -6512,29 +6084,6 @@ "dev": true, "license": "ISC" }, - "node_modules/content-disposition": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "5.2.1" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/content-type": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", - "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/contentful-management": { "version": "10.46.4", "resolved": "https://registry.npmjs.org/contentful-management/-/contentful-management-10.46.4.tgz", @@ -6554,6 +6103,13 @@ "node": ">=14" } }, + "node_modules/contentful-management/node_modules/@types/json-patch": { + "version": "0.0.30", + "resolved": "https://registry.npmjs.org/@types/json-patch/-/json-patch-0.0.30.tgz", + "integrity": "sha512-MhCUjojzDhVLnZnxwPwa+rETFRDQ0ffjxYdrqOP6TBO2O0/Z64PV5tNeYApo4bc4y4frbWOrRwv/eEkXlI13Rw==", + "dev": true, + "license": "MIT" + }, "node_modules/contentful-management/node_modules/contentful-sdk-core": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-8.3.2.tgz", @@ -6591,31 +6147,48 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/contentful-management/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/contentful-sdk-core": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.2.1.tgz", - "integrity": "sha512-Y+Qz2tGYE2ia6o42R8DG4uFSMSLJ6qfAbKQLU6p2+KxsqvbK1Fg60wKVKF+FHMShuCnlg2EwToOvxVsM2N+BrQ==", + "version": "10.0.0-beta.6", + "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-10.0.0-beta.6.tgz", + "integrity": "sha512-LSz/8WU2sD4kmw2uIp09UXgwU9lZLvJJeDijlRtfpYsRimG4jXNQXMLvHLG8xPuy2KCLDAQ910Udrgw0wUGwxw==", "license": "MIT", "dependencies": { + "axios": "^1.12.2", "fast-copy": "^3.0.2", - "lodash": "^4.17.21", - "p-throttle": "^6.1.0", + "lodash-es": "^4.17.21", + "p-throttle": "^8.0.0", "process": "^0.11.10", "qs": "^6.12.3" }, "engines": { - "node": ">=18" + "node": ">=20" }, "optionalDependencies": { - "@rollup/rollup-linux-x64-gnu": "^4.18.0" + "@rollup/rollup-linux-x64-gnu": "^4.52.4" } }, "node_modules/contentful-sdk-jsdoc": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/contentful-sdk-jsdoc/-/contentful-sdk-jsdoc-3.1.0.tgz", - "integrity": "sha512-qSoJVpJzlhzv0zFc0G+D/TqCTO5KShGTCJdlRypiORSy9XTtAk2eWl7gUUquX7fpjpSWEHnK/D5BwQ2dtOZvPg==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/contentful-sdk-jsdoc/-/contentful-sdk-jsdoc-3.1.5.tgz", + "integrity": "sha512-0UxwvmQhsgwWCdQycPE9illslaLCDLU4MP9UQbqgHtpvZ+V8ITL35ovJwKdZy9RHsrvyAfkBU39dokuqx4j7mQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "@jsdoc/salty": "^0.2.8" + } }, "node_modules/conventional-changelog-angular": { "version": "8.1.0", @@ -6713,44 +6286,27 @@ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "dev": true, - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/cookie": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", - "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.0.2.tgz", + "integrity": "sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==", "dev": true, "license": "MIT", "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/core-js": { - "version": "3.40.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.40.0.tgz", - "integrity": "sha512-7vsMc/Lty6AGnn7uFpYT56QesI5D2Y/UkgKounk87OP9Z2H9Z8kj6jzcSGAxFmUtDOS0ntK6lbQz+Nsa0Jj6mQ==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" + "node": ">=18" } }, "node_modules/core-js-compat": { - "version": "3.44.0", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.44.0.tgz", - "integrity": "sha512-JepmAj2zfl6ogy34qfWtcE7nHKAJnKsQFRn++scjVS2bZFllwptzw61BZcZFYBPpUznLfAvh0LGhxKppk04ClA==", + "version": "3.46.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.46.0.tgz", + "integrity": "sha512-p9hObIIEENxSV8xIu+V68JjSeARg6UVMG5mR+JEUguG3sI6MsiS1njz2jHmyJDvA+8jX/sytkBHup6kxhM9law==", "dev": true, + "license": "MIT", "dependencies": { - "browserslist": "^4.25.1" + "browserslist": "^4.26.3" }, "funding": { "type": "opencollective", @@ -6792,14 +6348,14 @@ } }, "node_modules/cosmiconfig-typescript-loader": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-6.1.0.tgz", - "integrity": "sha512-tJ1w35ZRUiM5FeTzT7DtYWAFFv37ZLqSRkGi2oeCK1gPhvaWjkAtfXvLmvE1pRfxxp9aQo6ba/Pvg1dKj05D4g==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-6.2.0.tgz", + "integrity": "sha512-GEN39v7TgdxgIoNcdkRE3uiAzQt3UXLyHbRHD6YoL048XAeOomyxaP+Hh/+2C6C2wYjxJ2onhJcsQp+L4YEkVQ==", "dev": true, "license": "MIT", "optional": true, "dependencies": { - "jiti": "^2.4.1" + "jiti": "^2.6.1" }, "engines": { "node": ">=v18" @@ -6875,196 +6431,68 @@ "@commitlint/load": ">6.1.1" } }, - "node_modules/cz-conventional-changelog/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "dev": true, "license": "MIT", "dependencies": { - "color-convert": "^1.9.0" + "ms": "^2.1.3" }, "engines": { - "node": ">=4" + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, - "node_modules/cz-conventional-changelog/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "node_modules/dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", + "dev": true, + "license": "MIT" + }, + "node_modules/deep-eql": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", + "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==", "dev": true, "license": "MIT", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, "engines": { - "node": ">=4" + "node": ">=6" } }, - "node_modules/cz-conventional-changelog/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "dev": true, "license": "MIT", - "dependencies": { - "color-name": "1.1.3" + "engines": { + "node": ">=4.0.0" } }, - "node_modules/cz-conventional-changelog/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true, - "license": "MIT" - }, - "node_modules/cz-conventional-changelog/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/cz-conventional-changelog/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/cz-conventional-changelog/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/data-view-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz", - "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/data-view-byte-length": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz", - "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/inspect-js" - } - }, - "node_modules/data-view-byte-offset": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz", - "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "es-errors": "^1.3.0", - "is-data-view": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/debounce": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/debounce/-/debounce-1.2.1.tgz", - "integrity": "sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==", - "dev": true, - "license": "MIT" - }, - "node_modules/debug": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", - "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", - "dev": true, - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/dedent": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", + "node_modules/deep-is": { + "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, "license": "MIT" }, - "node_modules/deep-eql": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", - "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "node_modules/deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true, "license": "MIT", "engines": { - "node": ">=4.0.0" + "node": ">=0.10.0" } }, - "node_modules/deep-is": { - "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, - "license": "MIT" - }, "node_modules/defaults": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", @@ -7078,40 +6506,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/define-properties": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", - "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "node_modules/define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", "dev": true, "license": "MIT", - "dependencies": { - "define-data-property": "^1.0.1", - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=8" } }, "node_modules/delayed-stream": { @@ -7123,16 +6525,6 @@ "node": ">=0.4.0" } }, - "node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/dequal": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", @@ -7143,17 +6535,6 @@ "node": ">=6" } }, - "node_modules/destroy": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, "node_modules/detect-file": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", @@ -7174,20 +6555,6 @@ "node": ">=8" } }, - "node_modules/devlop": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", - "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", - "dev": true, - "license": "MIT", - "dependencies": { - "dequal": "^2.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", @@ -7235,13 +6602,6 @@ "node": ">= 0.4" } }, - "node_modules/duplexer": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", - "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", - "dev": true, - "license": "MIT" - }, "node_modules/duplexer2": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", @@ -7252,13 +6612,6 @@ "readable-stream": "^2.0.2" } }, - "node_modules/duplexer2/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true, - "license": "MIT" - }, "node_modules/duplexer2/node_modules/readable-stream": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", @@ -7309,18 +6662,12 @@ "safe-buffer": "^5.0.1" } }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", - "dev": true, - "license": "MIT" - }, "node_modules/electron-to-chromium": { - "version": "1.5.180", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.180.tgz", - "integrity": "sha512-ED+GEyEh3kYMwt2faNmgMB0b8O5qtATGgR4RmRsIp4T6p7B8vdMbIedYndnvZfsaXvSzegtpfqRMDNCjjiSduA==", - "dev": true + "version": "1.5.255", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.255.tgz", + "integrity": "sha512-Z9oIp4HrFF/cZkDPMpz2XSuVpc1THDpT4dlmATFlJUIBVCy9Vap5/rIXsASP1CscBacBqhabwh8vLctqBwEerQ==", + "dev": true, + "license": "ISC" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -7329,13 +6676,6 @@ "dev": true, "license": "MIT" }, - "node_modules/emoji-regex-xs": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex-xs/-/emoji-regex-xs-1.0.0.tgz", - "integrity": "sha512-LRlerrMYoIDrT6jgpeZ2YYl/L8EulRTt5hQcYjy5AInh7HWXKimpqx68aknBFpGL2+/IcogTcaydJEgaTmOpDg==", - "dev": true, - "license": "MIT" - }, "node_modules/emojilib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/emojilib/-/emojilib-2.4.0.tgz", @@ -7343,39 +6683,12 @@ "dev": true, "license": "MIT" }, - "node_modules/emojis-list": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", - "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/encodeurl": { + "node_modules/enabled": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/enhanced-resolve": { - "version": "5.18.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.0.tgz", - "integrity": "sha512-0/r0MySGYG8YqlayBZ6MuCfECmHFdJ5qyPh8s8wa5Hnm6SaFLSK1VYCbj+NKp090Nm1caZhD+QTnmxO7esYGyQ==", + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==", "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, - "engines": { - "node": ">=10.13.0" - } + "license": "MIT" }, "node_modules/entities": { "version": "4.5.0", @@ -7414,19 +6727,6 @@ "node": ">=6" } }, - "node_modules/envinfo": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.14.0.tgz", - "integrity": "sha512-CO40UI41xDQzhLB1hWyqUKgFhs250pNcGbyGKe1l/e4FSaI/+YE4IMG76GDt0In67WLPACIITC+sOi08x4wIvg==", - "dev": true, - "license": "MIT", - "bin": { - "envinfo": "dist/cli.js" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/environment": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", @@ -7441,110 +6741,83 @@ } }, "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz", + "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==", "dev": true, "license": "MIT", "dependencies": { "is-arrayish": "^0.2.1" } }, - "node_modules/es-abstract": { - "version": "1.23.9", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.9.tgz", - "integrity": "sha512-py07lI0wjxAC/DcfK1S6G7iANonniZwTISvdPzk9hzeH0IZIshbuuFxLIU96OyF89Yb9hiqWn8M/bY83KY5vzA==", + "node_modules/es-check": { + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/es-check/-/es-check-7.2.1.tgz", + "integrity": "sha512-4sxU2OZ1aYYRRX2ajL3hDDBaY96Yr/OcH6MTRerIuOSyil6SQYQQ0b48uqVfYGRCiI0NgJbtY6Sbmf75oPaTeQ==", "dev": true, "license": "MIT", "dependencies": { - "array-buffer-byte-length": "^1.0.2", - "arraybuffer.prototype.slice": "^1.0.4", - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "data-view-buffer": "^1.0.2", - "data-view-byte-length": "^1.0.2", - "data-view-byte-offset": "^1.0.1", - "es-define-property": "^1.0.1", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "es-set-tostringtag": "^2.1.0", - "es-to-primitive": "^1.3.0", - "function.prototype.name": "^1.1.8", - "get-intrinsic": "^1.2.7", - "get-proto": "^1.0.0", - "get-symbol-description": "^1.1.0", - "globalthis": "^1.0.4", - "gopd": "^1.2.0", - "has-property-descriptors": "^1.0.2", - "has-proto": "^1.2.0", - "has-symbols": "^1.1.0", - "hasown": "^2.0.2", - "internal-slot": "^1.1.0", - "is-array-buffer": "^3.0.5", - "is-callable": "^1.2.7", - "is-data-view": "^1.0.2", - "is-regex": "^1.2.1", - "is-shared-array-buffer": "^1.0.4", - "is-string": "^1.1.1", - "is-typed-array": "^1.1.15", - "is-weakref": "^1.1.0", - "math-intrinsics": "^1.1.0", - "object-inspect": "^1.13.3", - "object-keys": "^1.1.1", - "object.assign": "^4.1.7", - "own-keys": "^1.0.1", - "regexp.prototype.flags": "^1.5.3", - "safe-array-concat": "^1.1.3", - "safe-push-apply": "^1.0.0", - "safe-regex-test": "^1.1.0", - "set-proto": "^1.0.0", - "string.prototype.trim": "^1.2.10", - "string.prototype.trimend": "^1.0.9", - "string.prototype.trimstart": "^1.0.8", - "typed-array-buffer": "^1.0.3", - "typed-array-byte-length": "^1.0.3", - "typed-array-byte-offset": "^1.0.4", - "typed-array-length": "^1.0.7", - "unbox-primitive": "^1.1.0", - "which-typed-array": "^1.1.18" + "acorn": "8.11.3", + "commander": "12.0.0", + "fast-glob": "^3.3.2", + "supports-color": "^8.1.1", + "winston": "3.13.0" }, - "engines": { - "node": ">= 0.4" + "bin": { + "es-check": "index.js" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">= 4" } }, - "node_modules/es-array-method-boxes-properly": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz", - "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==", + "node_modules/es-check/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, - "license": "MIT" - }, - "node_modules/es-define-property": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", - "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", "license": "MIT", "engines": { - "node": ">= 0.4" + "node": ">=8" } }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "node_modules/es-check/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" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", "license": "MIT", "engines": { "node": ">= 0.4" } }, "node_modules/es-module-lexer": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.6.0.tgz", - "integrity": "sha512-qqnD1yMU6tk/jnaMosogGySTZP8YtUgAffA9nMN+E/rjxcfRQ6IEk7IiozUjgxKoFHBGjTLnrHB/YC45r/59EQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz", + "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==", "dev": true, "license": "MIT" }, @@ -7575,24 +6848,6 @@ "node": ">= 0.4" } }, - "node_modules/es-to-primitive": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz", - "integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-callable": "^1.2.7", - "is-date-object": "^1.0.5", - "is-symbol": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/esbuild": { "version": "0.21.5", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", @@ -7642,24 +6897,14 @@ "node": ">=6" } }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", - "dev": true, - "license": "MIT" - }, "node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "dev": true, "license": "MIT", "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.8.0" } }, "node_modules/eslint": { @@ -7727,6 +6972,7 @@ "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": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -7743,6 +6989,7 @@ "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, + "license": "Apache-2.0", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -7767,17 +7014,80 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/eslint/node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "node_modules/eslint/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "is-glob": "^4.0.3" + "color-convert": "^2.0.1" }, "engines": { - "node": ">=10.13.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.2", + "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" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/eslint/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/eslint/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, + "license": "MIT" + }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "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" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/has-flag": { + "version": "4.0.0", + "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" } }, "node_modules/eslint/node_modules/json-schema-traverse": { @@ -7787,11 +7097,25 @@ "dev": true, "license": "MIT" }, + "node_modules/eslint/node_modules/supports-color": { + "version": "7.2.0", + "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" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/espree": { "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.15.0", "acorn-jsx": "^5.3.2", @@ -7804,6 +7128,19 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/espree/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" + }, + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/esquery": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", @@ -7841,14 +7178,11 @@ } }, "node_modules/estree-walker": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", - "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "^1.0.0" - } + "license": "MIT" }, "node_modules/esutils": { "version": "2.0.3", @@ -7860,16 +7194,6 @@ "node": ">=0.10.0" } }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/eventemitter3": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", @@ -7877,16 +7201,6 @@ "dev": true, "license": "MIT" }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.x" - } - }, "node_modules/execa": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", @@ -7925,95 +7239,15 @@ } }, "node_modules/expect-type": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.1.0.tgz", - "integrity": "sha512-bFi65yM+xZgk+u/KRIpekdSYkTB5W1pEf0Lt8Q8Msh7b+eQ7LXVtIB1Bkm4fvclDEL1b2CZkMhv2mOeF8tMdkA==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.2.2.tgz", + "integrity": "sha512-JhFGDVJ7tmDJItKhYgJCGLOWjuK9vPxiXoUFLwLDc99NlmklilbiQJwoctZtt13+xMw91MCk/REan6MWHqDjyA==", "dev": true, "license": "Apache-2.0", "engines": { "node": ">=12.0.0" } }, - "node_modules/express": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", - "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", - "dev": true, - "license": "MIT", - "dependencies": { - "accepts": "~1.3.8", - "array-flatten": "1.1.1", - "body-parser": "1.20.3", - "content-disposition": "0.5.4", - "content-type": "~1.0.4", - "cookie": "0.7.1", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "2.0.0", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "1.3.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "merge-descriptors": "1.0.3", - "methods": "~1.1.2", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.12", - "proxy-addr": "~2.0.7", - "qs": "6.13.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "0.19.0", - "serve-static": "1.16.2", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/express/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/express/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true, - "license": "MIT" - }, - "node_modules/express/node_modules/qs": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", - "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "side-channel": "^1.0.6" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", @@ -8076,6 +7310,19 @@ "node": ">=8.6.0" } }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", @@ -8091,9 +7338,9 @@ "license": "MIT" }, "node_modules/fast-uri": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", - "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", + "integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==", "dev": true, "funding": [ { @@ -8105,28 +7352,44 @@ "url": "https://opencollective.com/fastify" } ], - "license": "BSD-3-Clause" - }, - "node_modules/fastest-levenshtein": { - "version": "1.0.16", - "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", - "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4.9.1" - } + "license": "BSD-3-Clause", + "optional": true }, "node_modules/fastq": { - "version": "1.18.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.18.0.tgz", - "integrity": "sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==", + "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/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/fecha": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", + "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==", + "dev": true, + "license": "MIT" + }, "node_modules/figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", @@ -8143,16 +7406,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/figures/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/file-entry-cache": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", @@ -8179,61 +7432,10 @@ "node": ">=8" } }, - "node_modules/finalhandler": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", - "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "statuses": "2.0.1", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/finalhandler/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/finalhandler/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true, - "license": "MIT" - }, - "node_modules/find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/find-node-modules": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/find-node-modules/-/find-node-modules-2.1.3.tgz", - "integrity": "sha512-UC2I2+nx1ZuOBclWVNdcnbDR5dlrOdVb7xNjmT/lHE+LsgztWks3dG7boJ37yTS/venXw84B/mAW9uHVoC5QRg==", + "node_modules/find-node-modules": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/find-node-modules/-/find-node-modules-2.1.3.tgz", + "integrity": "sha512-UC2I2+nx1ZuOBclWVNdcnbDR5dlrOdVb7xNjmT/lHE+LsgztWks3dG7boJ37yTS/venXw84B/mAW9uHVoC5QRg==", "dev": true, "license": "MIT", "dependencies": { @@ -8311,16 +7513,6 @@ "node": ">= 8" } }, - "node_modules/flat": { - "version": "5.0.2", - "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": "4.0.1", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", @@ -8336,16 +7528,23 @@ } }, "node_modules/flatted": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz", - "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", + "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, "license": "ISC" }, + "node_modules/fn.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==", + "dev": true, + "license": "MIT" + }, "node_modules/follow-redirects": { - "version": "1.15.9", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", - "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", + "version": "1.15.11", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz", + "integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==", "funding": [ { "type": "individual", @@ -8362,24 +7561,14 @@ } } }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-callable": "^1.1.3" - } - }, "node_modules/foreground-child": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", - "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", "dev": true, "license": "ISC", "dependencies": { - "cross-spawn": "^7.0.0", + "cross-spawn": "^7.0.6", "signal-exit": "^4.0.1" }, "engines": { @@ -8390,9 +7579,9 @@ } }, "node_modules/form-data": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", - "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", + "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", "license": "MIT", "dependencies": { "asynckit": "^0.4.0", @@ -8405,26 +7594,6 @@ "node": ">= 6" } }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/from2": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", @@ -8436,13 +7605,6 @@ "readable-stream": "^2.0.0" } }, - "node_modules/from2/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true, - "license": "MIT" - }, "node_modules/from2/node_modules/readable-stream": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", @@ -8477,9 +7639,9 @@ } }, "node_modules/fs-extra": { - "version": "11.3.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", - "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", + "version": "11.3.2", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz", + "integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==", "dev": true, "license": "MIT", "dependencies": { @@ -8491,13 +7653,6 @@ "node": ">=14.14" } }, - "node_modules/fs-readdir-recursive": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", - "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", - "dev": true, - "license": "MIT" - }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -8542,43 +7697,13 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/function.prototype.name": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.8.tgz", - "integrity": "sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "define-properties": "^1.2.1", - "functions-have-names": "^1.2.3", - "hasown": "^2.0.2", - "is-callable": "^1.2.7" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/functions-have-names": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6.9.0" } @@ -8594,9 +7719,9 @@ } }, "node_modules/get-east-asian-width": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.3.0.tgz", - "integrity": "sha512-vpeMIQKxczTD/0s2CdEWHcb0eeJe6TFjxb+J5xgX7hScxqrGuyjmv4c1D4A/gelKfyox0gJJwIHF+fLjeaM8kQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.4.0.tgz", + "integrity": "sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==", "dev": true, "license": "MIT", "engines": { @@ -8607,17 +7732,17 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.7.tgz", - "integrity": "sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", "license": "MIT", "dependencies": { - "call-bind-apply-helpers": "^1.0.1", + "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", + "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", - "get-proto": "^1.0.0", + "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", @@ -8656,24 +7781,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/get-symbol-description": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz", - "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.6" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/git-log-parser": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/git-log-parser/-/git-log-parser-1.2.1.tgz", @@ -8689,16 +7796,6 @@ "traverse": "0.6.8" } }, - "node_modules/git-log-parser/node_modules/split2": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/split2/-/split2-1.0.0.tgz", - "integrity": "sha512-NKywug4u4pX/AZBB1FCPzZ6/7O+Xhz1qMVbzTvvKvikjO99oPN87SkK08mEY9P63/5lWjK+wgOOgApnTg5r6qg==", - "dev": true, - "license": "ISC", - "dependencies": { - "through2": "~2.0.0" - } - }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -8722,25 +7819,18 @@ } }, "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==", + "version": "6.0.2", + "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.1" + "is-glob": "^4.0.3" }, "engines": { - "node": ">= 6" + "node": ">=10.13.0" } }, - "node_modules/glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true, - "license": "BSD-2-Clause" - }, "node_modules/global-directory": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/global-directory/-/global-directory-4.0.1.tgz", @@ -8811,9 +7901,10 @@ } }, "node_modules/globals": { - "version": "15.15.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", - "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", + "version": "16.5.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-16.5.0.tgz", + "integrity": "sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -8822,23 +7913,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/globalthis": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", - "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-properties": "^1.2.1", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/gopd": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", @@ -8866,31 +7940,15 @@ "license": "MIT" }, "node_modules/graphql": { - "version": "16.10.0", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.10.0.tgz", - "integrity": "sha512-AjqGKbDGUFRKIRCP9tCKiIGHyriz2oHEbPIbEtcSLSs4YjReZOIPQQWek4+6hjw62H9QShXHyaGivGiYVLeYFQ==", + "version": "16.12.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.12.0.tgz", + "integrity": "sha512-DKKrynuQRne0PNpEbzuEdHlYOMksHSUI8Zc9Unei5gTsMNA2/vMpoMz/yKba50pejK56qj98qM0SjYxAKi13gQ==", "dev": true, "license": "MIT", "engines": { "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" } }, - "node_modules/gzip-size": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-6.0.0.tgz", - "integrity": "sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "duplexer": "^0.1.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/handlebars": { "version": "4.7.8", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", @@ -8913,56 +7971,24 @@ "uglify-js": "^3.1.4" } }, - "node_modules/has-bigints": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz", - "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==", + "node_modules/handlebars/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, - "license": "MIT", + "license": "BSD-3-Clause", "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.10.0" } }, "node_modules/has-flag": { - "version": "4.0.0", - "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" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz", - "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, "license": "MIT", - "dependencies": { - "dunder-proto": "^1.0.0" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=4" } }, "node_modules/has-symbols": { @@ -9004,44 +8030,6 @@ "node": ">= 0.4" } }, - "node_modules/hast-util-to-html": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.4.tgz", - "integrity": "sha512-wxQzXtdbhiwGAUKrnQJXlOPmHnEehzphwkK7aluUPQ+lEc1xefC8pblMgpp2w5ldBTEfveRIrADcrhGIWrlTDA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "@types/unist": "^3.0.0", - "ccount": "^2.0.0", - "comma-separated-tokens": "^2.0.0", - "hast-util-whitespace": "^3.0.0", - "html-void-elements": "^3.0.0", - "mdast-util-to-hast": "^13.0.0", - "property-information": "^6.0.0", - "space-separated-tokens": "^2.0.0", - "stringify-entities": "^4.0.0", - "zwitch": "^2.0.4" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/hast-util-whitespace": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", - "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/headers-polyfill": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/headers-polyfill/-/headers-polyfill-4.0.3.tgz", @@ -9115,34 +8103,6 @@ "dev": true, "license": "MIT" }, - "node_modules/html-void-elements": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz", - "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/http-errors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "depd": "2.0.0", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "toidentifier": "1.0.1" - }, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/http-proxy-agent": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", @@ -9249,9 +8209,9 @@ "license": "ISC" }, "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", "dev": true, "license": "MIT", "dependencies": { @@ -9289,129 +8249,27 @@ "node": ">=18.20" } }, - "node_modules/import-local": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", - "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", + "node_modules/import-meta-resolve": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz", + "integrity": "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==", "dev": true, "license": "MIT", - "dependencies": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" - }, - "engines": { - "node": ">=8" - }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "github", + "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/import-local/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/import-local/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/import-local/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/import-local/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/import-local/node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/import-meta-resolve": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", - "integrity": "sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "node_modules/imurmurhash": { + "version": "0.1.4", + "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/in-publish": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz", - "integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ==", - "dev": true, - "license": "ISC", - "bin": { - "in-install": "in-install.js", - "in-publish": "in-publish.js", - "not-in-install": "not-in-install.js", - "not-in-publish": "not-in-publish.js" - } - }, "node_modules/indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", @@ -9491,118 +8349,106 @@ "node": ">=12.0.0" } }, - "node_modules/internal-slot": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz", - "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==", + "node_modules/inquirer/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "license": "MIT", "dependencies": { - "es-errors": "^1.3.0", - "hasown": "^2.0.2", - "side-channel": "^1.1.0" + "color-convert": "^2.0.1" }, "engines": { - "node": ">= 0.4" - } - }, - "node_modules/interpret": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz", - "integrity": "sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.13.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/into-stream": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-7.0.0.tgz", - "integrity": "sha512-2dYz766i9HprMBasCMvHMuazJ7u4WzhJwo5kb3iPSiW/iRYV6uPari3zHoqZlnuaR7V1bEiNMxikhp37rdBXbw==", + "node_modules/inquirer/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "license": "MIT", "dependencies": { - "from2": "^2.3.0", - "p-is-promise": "^3.0.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, "engines": { - "node": ">=12" + "node": ">=10" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.10" + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/is-array-buffer": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz", - "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==", + "node_modules/inquirer/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": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "get-intrinsic": "^1.2.6" + "color-name": "~1.1.4" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=7.0.0" } }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "node_modules/inquirer/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, "license": "MIT" }, - "node_modules/is-async-function": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.0.tgz", - "integrity": "sha512-GExz9MtyhlZyXYLxzlJRj5WUCE661zhDa1Yna52CN57AJsymh+DvXXjyveSioqSRdxvUrdKdvqB1b5cVKsNpWQ==", + "node_modules/inquirer/node_modules/has-flag": { + "version": "4.0.0", + "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" + } + }, + "node_modules/inquirer/node_modules/supports-color": { + "version": "7.2.0", + "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": { - "call-bound": "^1.0.3", - "get-proto": "^1.0.1", - "has-tostringtag": "^1.0.2", - "safe-regex-test": "^1.1.0" + "has-flag": "^4.0.0" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=8" } }, - "node_modules/is-bigint": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz", - "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==", + "node_modules/into-stream": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-7.0.0.tgz", + "integrity": "sha512-2dYz766i9HprMBasCMvHMuazJ7u4WzhJwo5kb3iPSiW/iRYV6uPari3zHoqZlnuaR7V1bEiNMxikhp37rdBXbw==", "dev": true, "license": "MIT", "dependencies": { - "has-bigints": "^1.0.2" + "from2": "^2.3.0", + "p-is-promise": "^3.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">=12" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true, + "license": "MIT" + }, "node_modules/is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", @@ -9616,36 +8462,6 @@ "node": ">=8" } }, - "node_modules/is-boolean-object": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.1.tgz", - "integrity": "sha512-l9qO6eFlUETHtuihLcYOaLKByJ1f+N4kthcU9YjHy3N+B3hWv0y/2Nd0mu/7lTFnRQHTrSdXF50HQ3bl5fEnng==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-core-module": { "version": "2.16.1", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", @@ -9662,39 +8478,20 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-data-view": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz", - "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "get-intrinsic": "^1.2.6", - "is-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-date-object": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz", - "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==", + "node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", "dev": true, "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "has-tostringtag": "^1.0.2" + "bin": { + "is-docker": "cli.js" }, "engines": { - "node": ">= 0.4" + "node": ">=8" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-extglob": { @@ -9707,22 +8504,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-finalizationregistry": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz", - "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-fullwidth-code-point": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", @@ -9736,25 +8517,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-generator-function": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.0.tgz", - "integrity": "sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "get-proto": "^1.0.0", - "has-tostringtag": "^1.0.2", - "safe-regex-test": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -9778,18 +8540,12 @@ "node": ">=8" } }, - "node_modules/is-map": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", - "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", + "node_modules/is-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==", "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "license": "MIT" }, "node_modules/is-node-process": { "version": "1.2.0", @@ -9808,23 +8564,6 @@ "node": ">=0.12.0" } }, - "node_modules/is-number-object": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz", - "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-obj": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", @@ -9848,65 +8587,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "node_modules/is-reference": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz", + "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", "dev": true, "license": "MIT", "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-regex": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz", - "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "gopd": "^1.2.0", - "has-tostringtag": "^1.0.2", - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-set": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz", - "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz", - "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "@types/estree": "*" } }, "node_modules/is-stream": { @@ -9922,57 +8610,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-string": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz", - "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-symbol": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz", - "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "has-symbols": "^1.1.0", - "safe-regex-test": "^1.1.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typed-array": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz", - "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "which-typed-array": "^1.1.16" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", @@ -9993,66 +8630,33 @@ "dev": true, "license": "MIT" }, - "node_modules/is-weakmap": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz", - "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-weakref": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.0.tgz", - "integrity": "sha512-SXM8Nwyys6nT5WP6pltOwKytLV7FqQ4UiibxVmW+EIosHcmCqkkjViTb5SNssDlkCiEYRP1/pdWUKVvZBmsR2Q==", + "node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true, "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.10.0" } }, - "node_modules/is-weakset": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz", - "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==", + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", "dev": true, "license": "MIT", "dependencies": { - "call-bound": "^1.0.3", - "get-intrinsic": "^1.2.6" + "is-docker": "^2.0.0" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, "node_modules/isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", "dev": true, "license": "MIT" }, @@ -10063,16 +8667,6 @@ "dev": true, "license": "ISC" }, - "node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/issue-parser": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-7.0.1.tgz", @@ -10115,33 +8709,27 @@ "node": ">=10" } }, - "node_modules/istanbul-lib-report/node_modules/make-dir": { + "node_modules/istanbul-lib-report/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", - "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, "license": "MIT", - "dependencies": { - "semver": "^7.5.3" - }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, - "node_modules/istanbul-lib-report/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" }, "engines": { - "node": ">=10" + "node": ">=8" } }, "node_modules/istanbul-lib-source-maps": { @@ -10160,9 +8748,9 @@ } }, "node_modules/istanbul-reports": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", - "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz", + "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -10199,41 +8787,10 @@ "node": ">= 0.6.0" } }, - "node_modules/jest-worker": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", - "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/jest-worker/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" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, "node_modules/jiti": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.4.2.tgz", - "integrity": "sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz", + "integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==", "dev": true, "license": "MIT", "bin": { @@ -10248,9 +8805,9 @@ "license": "MIT" }, "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==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "dev": true, "license": "MIT", "dependencies": { @@ -10298,7 +8855,6 @@ "version": "0.7.0", "resolved": "https://registry.npmjs.org/json-patch/-/json-patch-0.7.0.tgz", "integrity": "sha512-9zaGTzsV6Hal5HVMC8kb4niXYQOOcq3tUp0P/GTw6HHZFPVwtCU2+mXE9q59MelL9uknALWnoKrUxnDpUX728g==", - "dev": true, "license": "BSD" }, "node_modules/json-schema-traverse": { @@ -10306,7 +8862,8 @@ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", "dev": true, - "license": "MIT" + "license": "MIT", + "optional": true }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -10321,6 +8878,7 @@ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, "license": "MIT", + "peer": true, "bin": { "json5": "lib/cli.js" }, @@ -10329,9 +8887,9 @@ } }, "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz", + "integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==", "dev": true, "license": "MIT", "dependencies": { @@ -10365,9 +8923,9 @@ } }, "node_modules/jsonwebtoken/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "dev": true, "license": "ISC", "bin": { @@ -10378,13 +8936,13 @@ } }, "node_modules/jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.2.tgz", + "integrity": "sha512-eeH5JO+21J78qMvTIDdBXidBd6nG2kZjg5Ohz/1fpa28Z4CcsWUzJ1ZZyFq/3z3N17aZy+ZuBoHljASbL1WfOw==", "dev": true, "license": "MIT", "dependencies": { - "buffer-equal-constant-time": "1.0.1", + "buffer-equal-constant-time": "^1.0.1", "ecdsa-sig-formatter": "1.0.11", "safe-buffer": "^5.0.1" } @@ -10410,15 +8968,12 @@ "json-buffer": "3.0.1" } }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "node_modules/kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==", "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } + "license": "MIT" }, "node_modules/levn": { "version": "0.4.1", @@ -10493,9 +9048,9 @@ } }, "node_modules/lint-staged/node_modules/chalk": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz", - "integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", "dev": true, "license": "MIT", "engines": { @@ -10516,9 +9071,9 @@ } }, "node_modules/listr2": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.2.5.tgz", - "integrity": "sha512-iyAZCeyD+c1gPyE9qpFu8af0Y+MRtmKOncdGoA2S5EY8iFq99dmmvkNnHiWo+pj0s7yH7l3KPIgee77tKpXPWQ==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.3.3.tgz", + "integrity": "sha512-LWzX2KsqcB1wqQ4AHgYb4RsDXauQiqhjLk+6hjbaeHG4zpjjVAB6wC/gz6X0l+Du1cN3pUB5ZlrvTbhGSNnUQQ==", "dev": true, "license": "MIT", "dependencies": { @@ -10534,9 +9089,9 @@ } }, "node_modules/listr2/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", "dev": true, "license": "MIT", "engines": { @@ -10547,9 +9102,9 @@ } }, "node_modules/listr2/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==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", "dev": true, "license": "MIT", "engines": { @@ -10560,9 +9115,9 @@ } }, "node_modules/listr2/node_modules/emoji-regex": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", - "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", "dev": true, "license": "MIT" }, @@ -10585,9 +9140,9 @@ } }, "node_modules/listr2/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==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", + "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", "dev": true, "license": "MIT", "dependencies": { @@ -10601,9 +9156,9 @@ } }, "node_modules/listr2/node_modules/wrap-ansi": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", - "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", "dev": true, "license": "MIT", "dependencies": { @@ -10648,16 +9203,6 @@ "node": ">=4" } }, - "node_modules/load-json-file/node_modules/pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/load-json-file/node_modules/strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", @@ -10668,31 +9213,6 @@ "node": ">=4" } }, - "node_modules/loader-runner": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", - "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.11.5" - } - }, - "node_modules/loader-utils": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", - "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", - "dev": true, - "license": "MIT", - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - }, - "engines": { - "node": ">=8.9.0" - } - }, "node_modules/locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", @@ -10713,28 +9233,15 @@ "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true, "license": "MIT" }, "node_modules/lodash-es": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", - "dev": true, "license": "MIT" }, - "node_modules/lodash-webpack-plugin": { - "version": "0.11.6", - "resolved": "https://registry.npmjs.org/lodash-webpack-plugin/-/lodash-webpack-plugin-0.11.6.tgz", - "integrity": "sha512-nsHN/+IxZK/C425vGC8pAxkKJ8KQH2+NJnhDul14zYNWr6HJcA95w+oRR7Cp0oZpOdMplDZXmjVROp8prPk7ig==", - "dev": true, - "license": "MIT", - "dependencies": { - "lodash": "^4.17.20" - }, - "peerDependencies": { - "webpack": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.1.0" - } - }, "node_modules/lodash.capitalize": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz", @@ -10746,7 +9253,8 @@ "version": "4.0.8", "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.escaperegexp": { "version": "4.1.2", @@ -10858,7 +9366,83 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/log-update": { + "node_modules/log-symbols/node_modules/ansi-styles": { + "version": "4.3.0", + "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" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/chalk": { + "version": "4.1.2", + "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" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/log-symbols/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/log-symbols/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, + "license": "MIT" + }, + "node_modules/log-symbols/node_modules/has-flag": { + "version": "4.0.0", + "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" + } + }, + "node_modules/log-symbols/node_modules/supports-color": { + "version": "7.2.0", + "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" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/log-update": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/log-update/-/log-update-6.1.0.tgz", "integrity": "sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w==", @@ -10879,9 +9463,9 @@ } }, "node_modules/log-update/node_modules/ansi-escapes": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.0.0.tgz", - "integrity": "sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.2.0.tgz", + "integrity": "sha512-g6LhBsl+GBPRWGWsBtutpzBYuIIdBkLEvad5C/va/74Db018+5TZiyA26cZJAr3Rft5lprVqOIPxf5Vid6tqAw==", "dev": true, "license": "MIT", "dependencies": { @@ -10895,9 +9479,9 @@ } }, "node_modules/log-update/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", "dev": true, "license": "MIT", "engines": { @@ -10908,9 +9492,9 @@ } }, "node_modules/log-update/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==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", "dev": true, "license": "MIT", "engines": { @@ -10937,20 +9521,20 @@ } }, "node_modules/log-update/node_modules/emoji-regex": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", - "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", "dev": true, "license": "MIT" }, "node_modules/log-update/node_modules/is-fullwidth-code-point": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.0.0.tgz", - "integrity": "sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.1.0.tgz", + "integrity": "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ==", "dev": true, "license": "MIT", "dependencies": { - "get-east-asian-width": "^1.0.0" + "get-east-asian-width": "^1.3.1" }, "engines": { "node": ">=18" @@ -10993,9 +9577,9 @@ } }, "node_modules/log-update/node_modules/slice-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.0.tgz", - "integrity": "sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.2.tgz", + "integrity": "sha512-iOBWFgUX7caIZiuutICxVgX1SdxwAVFFKwt1EvMYYec/NWO5meOJ6K5uQxhrYBdQJne4KxiqZc+KptFOWFSI9w==", "dev": true, "license": "MIT", "dependencies": { @@ -11028,9 +9612,9 @@ } }, "node_modules/log-update/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==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", + "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", "dev": true, "license": "MIT", "dependencies": { @@ -11044,9 +9628,9 @@ } }, "node_modules/log-update/node_modules/wrap-ansi": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", - "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", "dev": true, "license": "MIT", "dependencies": { @@ -11061,6 +9645,34 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/logform": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.7.0.tgz", + "integrity": "sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@colors/colors": "1.6.0", + "@types/triple-beam": "^1.3.2", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + }, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/logform/node_modules/@colors/colors": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", + "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, "node_modules/longest": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/longest/-/longest-2.0.1.tgz", @@ -11072,9 +9684,9 @@ } }, "node_modules/loupe": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.1.3.tgz", - "integrity": "sha512-kkIp7XSkP78ZxJEsSxW3712C6teJVoeHHwgo9zJ380de7IYyJ2ISlxojcH2pC5OFLewESmnRi/+XCDIEEVyoug==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz", + "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==", "dev": true, "license": "MIT" }, @@ -11106,13 +9718,13 @@ } }, "node_modules/magic-string": { - "version": "0.30.17", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", - "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", "dev": true, "license": "MIT", "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0" + "@jridgewell/sourcemap-codec": "^1.5.5" } }, "node_modules/magicast": { @@ -11145,28 +9757,46 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/make-asynchronous/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", "dev": true, "license": "MIT", "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" + "semver": "^7.5.3" }, "engines": { - "node": ">=6" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/make-dir/node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "dev": true, "license": "ISC", "bin": { - "semver": "bin/semver" + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, "node_modules/markdown-it": { @@ -11273,28 +9903,6 @@ "node": ">= 0.4" } }, - "node_modules/mdast-util-to-hast": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.0.tgz", - "integrity": "sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "@types/mdast": "^4.0.0", - "@ungap/structured-clone": "^1.0.0", - "devlop": "^1.0.0", - "micromark-util-sanitize-uri": "^2.0.0", - "trim-lines": "^3.0.0", - "unist-util-position": "^5.0.0", - "unist-util-visit": "^5.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/mdurl": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", @@ -11302,16 +9910,6 @@ "dev": true, "license": "MIT" }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/meow": { "version": "13.2.0", "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", @@ -11332,16 +9930,6 @@ "dev": true, "license": "MIT" }, - "node_modules/merge-descriptors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", - "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", @@ -11359,110 +9947,6 @@ "node": ">= 8" } }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/micromark-util-character": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", - "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-util-encode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", - "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT" - }, - "node_modules/micromark-util-sanitize-uri": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", - "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-character": "^2.0.0", - "micromark-util-encode": "^2.0.0", - "micromark-util-symbol": "^2.0.0" - } - }, - "node_modules/micromark-util-symbol": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", - "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT" - }, - "node_modules/micromark-util-types": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.1.tgz", - "integrity": "sha512-534m2WhVTddrcKVepwmVEVnUAmtrx9bfIjNoQHRqfnvdaHQiFytEhJoTgpWJvDEXCO5gLTQh3wYC1PgOJA4NSQ==", - "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT" - }, "node_modules/micromatch": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", @@ -11477,6 +9961,19 @@ "node": ">=8.6" } }, + "node_modules/micromatch/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" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/mime": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/mime/-/mime-4.1.0.tgz", @@ -11574,9 +10071,9 @@ } }, "node_modules/mrmime": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.0.tgz", - "integrity": "sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz", + "integrity": "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==", "dev": true, "license": "MIT", "engines": { @@ -11591,30 +10088,30 @@ "license": "MIT" }, "node_modules/msw": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/msw/-/msw-2.7.0.tgz", - "integrity": "sha512-BIodwZ19RWfCbYTxWTUfTXc+sg4OwjCAgxU1ZsgmggX/7S3LdUifsbUPJs61j0rWb19CZRGY5if77duhc0uXzw==", + "version": "2.12.2", + "resolved": "https://registry.npmjs.org/msw/-/msw-2.12.2.tgz", + "integrity": "sha512-Fsr8AR5Yu6C0thoWa1Z8qGBFQLDvLsWlAn/v3CNLiUizoRqBYArK3Ex3thXpMWRr1Li5/MKLOEZ5mLygUmWi1A==", "dev": true, "hasInstallScript": true, "license": "MIT", "dependencies": { - "@bundled-es-modules/cookie": "^2.0.1", - "@bundled-es-modules/statuses": "^1.0.1", - "@bundled-es-modules/tough-cookie": "^0.1.6", "@inquirer/confirm": "^5.0.0", - "@mswjs/interceptors": "^0.37.0", + "@mswjs/interceptors": "^0.40.0", "@open-draft/deferred-promise": "^2.2.0", - "@open-draft/until": "^2.1.0", - "@types/cookie": "^0.6.0", "@types/statuses": "^2.0.4", + "cookie": "^1.0.2", "graphql": "^16.8.1", "headers-polyfill": "^4.0.2", "is-node-process": "^1.2.0", "outvariant": "^1.4.3", "path-to-regexp": "^6.3.0", "picocolors": "^1.1.1", + "rettime": "^0.7.0", + "statuses": "^2.0.2", "strict-event-emitter": "^0.5.1", + "tough-cookie": "^6.0.0", "type-fest": "^4.26.1", + "until-async": "^3.0.2", "yargs": "^17.7.2" }, "bin": { @@ -11635,16 +10132,22 @@ } } }, - "node_modules/msw/node_modules/path-to-regexp": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", - "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", + "node_modules/msw/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", "dev": true, - "license": "MIT" - }, - "node_modules/mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", "dev": true, "license": "ISC" @@ -11662,9 +10165,9 @@ } }, "node_modules/nanoid": { - "version": "3.3.8", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", - "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", "dev": true, "funding": [ { @@ -11697,16 +10200,6 @@ "dev": true, "license": "MIT" }, - "node_modules/negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/neo-async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", @@ -11737,31 +10230,10 @@ "node": ">=18" } }, - "node_modules/node-environment-flags": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz", - "integrity": "sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "object.getownpropertydescriptors": "^2.0.3", - "semver": "^5.7.0" - } - }, - "node_modules/node-environment-flags/node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver" - } - }, "node_modules/node-releases": { - "version": "2.0.19", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", - "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", + "version": "2.0.27", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz", + "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==", "dev": true, "license": "MIT" }, @@ -11794,20 +10266,10 @@ "url": "https://opencollective.com/nodemon" } }, - "node_modules/nodemon/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/nodemon/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "dev": true, "license": "ISC", "bin": { @@ -11817,54 +10279,21 @@ "node": ">=10" } }, - "node_modules/nodemon/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/normalize-package-data": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz", - "integrity": "sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-8.0.0.tgz", + "integrity": "sha512-RWk+PI433eESQ7ounYxIp67CYuVsS1uYSonX3kA6ps/3LWfjVQa/ptEg6Y3T6uAMq1mWpX9PQ+qx+QaHpsc7gQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "hosted-git-info": "^7.0.0", + "hosted-git-info": "^9.0.0", "semver": "^7.3.5", "validate-npm-package-license": "^3.0.4" }, "engines": { - "node": "^16.14.0 || >=18.0.0" - } - }, - "node_modules/normalize-package-data/node_modules/hosted-git-info": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz", - "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==", - "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^10.0.1" - }, - "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/normalize-package-data/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/normalize-package-data/node_modules/semver": { "version": "7.7.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", @@ -14550,41 +12979,10 @@ } }, "node_modules/object-inspect": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.3.tgz", - "integrity": "sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.assign": { - "version": "4.1.7", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz", - "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==", - "dev": true, + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0", - "has-symbols": "^1.1.0", - "object-keys": "^1.1.1" - }, "engines": { "node": ">= 0.4" }, @@ -14592,41 +12990,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object.getownpropertydescriptors": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.8.tgz", - "integrity": "sha512-qkHIGe4q0lSYMv0XI4SsBTJz3WaURhLvd0lKSgtVuOsJ2krg4SgMw3PIRQFMp07yi++UR3se2mkcLqsBNpBb/A==", - "dev": true, - "license": "MIT", - "dependencies": { - "array.prototype.reduce": "^1.0.6", - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-object-atoms": "^1.0.0", - "gopd": "^1.0.1", - "safe-array-concat": "^1.1.2" - }, - "engines": { - "node": ">= 0.8" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "dev": true, - "license": "MIT", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -14637,6 +13000,16 @@ "wrappy": "1" } }, + "node_modules/one-time": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", + "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fn.name": "1.x.x" + } + }, "node_modules/onetime": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", @@ -14653,26 +13026,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/oniguruma-to-es": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/oniguruma-to-es/-/oniguruma-to-es-2.3.0.tgz", - "integrity": "sha512-bwALDxriqfKGfUufKGGepCzu9x7nJQuoRoAFp4AnwehhC2crqrDIAP/uN2qdlsAvSMpeRC3+Yzhqc7hLmle5+g==", + "node_modules/open": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", + "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", "dev": true, "license": "MIT", "dependencies": { - "emoji-regex-xs": "^1.0.0", - "regex": "^5.1.1", - "regex-recursion": "^5.1.1" - } - }, - "node_modules/opener": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", - "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==", - "dev": true, - "license": "(WTFPL OR MIT)", - "bin": { - "opener": "bin/opener-bin.js" + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/optionator": { @@ -14717,6 +13086,82 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/ora/node_modules/ansi-styles": { + "version": "4.3.0", + "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" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ora/node_modules/chalk": { + "version": "4.1.2", + "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" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/ora/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/ora/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, + "license": "MIT" + }, + "node_modules/ora/node_modules/has-flag": { + "version": "4.0.0", + "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" + } + }, + "node_modules/ora/node_modules/supports-color": { + "version": "7.2.0", + "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" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", @@ -14734,24 +13179,6 @@ "dev": true, "license": "MIT" }, - "node_modules/own-keys": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.1.tgz", - "integrity": "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==", - "dev": true, - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.6", - "object-keys": "^1.1.1", - "safe-push-apply": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/p-each-series": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-3.0.0.tgz", @@ -14840,9 +13267,9 @@ } }, "node_modules/p-map": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.3.tgz", - "integrity": "sha512-VkndIv2fIB99swvQoA65bm+fsmt6UNdGeIB0oxBs+WhAhdh08QA04JXpI7rbB9r08/nkbysKoya9rtDERYOYMA==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.4.tgz", + "integrity": "sha512-tkAQEw8ysMzmkhgw8k+1U/iPhWNhykKnSk4Rd5zLoPJCuJaGRPo6YposrZgaxHKzDHdDWWZvE/Sk7hsL2X/CpQ==", "dev": true, "license": "MIT", "engines": { @@ -14866,12 +13293,12 @@ } }, "node_modules/p-throttle": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-6.2.0.tgz", - "integrity": "sha512-NCKkOVj6PZa6NiTmfvGilDdf6vO1rFCD3KDnkHko8dTOtkpk4cSR/VTAhhLMG9aiQ7/A9HYgEDNmxzf6hxzR3g==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-8.1.0.tgz", + "integrity": "sha512-c1wmXavsHZIC4g1OLhOsafK6jZSAeMo0Ap3yivj59PUcCkpacy5YgWdgIp/dB4vp1JZrfBSsPCR0YuADB+ENLQ==", "license": "MIT", "engines": { - "node": ">=18" + "node": ">=20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -14891,13 +13318,13 @@ } }, "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", "dev": true, "license": "MIT", "engines": { - "node": ">=6" + "node": ">=4" } }, "node_modules/package-json-from-dist": { @@ -14986,16 +13413,6 @@ "dev": true, "license": "MIT" }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -15058,9 +13475,9 @@ "license": "ISC" }, "node_modules/path-to-regexp": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", - "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", "dev": true, "license": "MIT" }, @@ -15082,9 +13499,9 @@ "license": "MIT" }, "node_modules/pathval": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.0.tgz", - "integrity": "sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz", + "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==", "dev": true, "license": "MIT", "engines": { @@ -15099,13 +13516,13 @@ "license": "ISC" }, "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", "engines": { - "node": ">=8.6" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/jonschlinkert" @@ -15125,23 +13542,13 @@ } }, "node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "dev": true, "license": "MIT", "engines": { - "node": ">=6" - } - }, - "node_modules/pirates": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz", - "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6" + "node": ">=4" } }, "node_modules/pkg-conf": { @@ -15211,16 +13618,6 @@ "node": ">=4" } }, - "node_modules/pkg-conf/node_modules/p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/pkg-conf/node_modules/path-exists": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", @@ -15231,85 +13628,6 @@ "node": ">=4" } }, - "node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "license": "MIT", - "dependencies": { - "find-up": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/pkg-dir/node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/pkg-dir/node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/pkg-dir/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/pkg-dir/node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/pkg-dir/node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/playwright": { "version": "1.56.1", "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.56.1.tgz", @@ -15357,20 +13675,10 @@ "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/possible-typed-array-names": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", - "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, "node_modules/postcss": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.1.tgz", - "integrity": "sha512-6oz2beyjc5VMn/KV1pPw8fliQkhBXrVn1Z3TVyqZxU8kZpzEKhBdmCFqI6ZbmGtamQvQGuU1sgPTk8ZrXDD7jQ==", + "version": "8.5.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", + "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", "dev": true, "funding": [ { @@ -15388,7 +13696,7 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.8", + "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, @@ -15482,17 +13790,6 @@ "dev": true, "license": "MIT" }, - "node_modules/property-information": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.5.0.tgz", - "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/proto-list": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", @@ -15500,39 +13797,12 @@ "dev": true, "license": "ISC" }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dev": true, - "license": "MIT", - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - } - }, "node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", "license": "MIT" }, - "node_modules/psl": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz", - "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==", - "dev": true, - "license": "MIT", - "dependencies": { - "punycode": "^2.3.1" - }, - "funding": { - "url": "https://github.com/sponsors/lupomontero" - } - }, "node_modules/pstree.remy": { "version": "1.1.8", "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", @@ -15575,13 +13845,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", - "dev": true, - "license": "MIT" - }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -15613,32 +13876,6 @@ "safe-buffer": "^5.1.0" } }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/raw-body": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", - "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", - "dev": true, - "license": "MIT", - "dependencies": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/rc": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", @@ -15697,53 +13934,7 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/read-package-up/node_modules/normalize-package-data": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-8.0.0.tgz", - "integrity": "sha512-RWk+PI433eESQ7ounYxIp67CYuVsS1uYSonX3kA6ps/3LWfjVQa/ptEg6Y3T6uAMq1mWpX9PQ+qx+QaHpsc7gQ==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "hosted-git-info": "^9.0.0", - "semver": "^7.3.5", - "validate-npm-package-license": "^3.0.4" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/read-package-up/node_modules/parse-json": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.3.0.tgz", - "integrity": "sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.26.2", - "index-to-position": "^1.1.0", - "type-fest": "^4.39.1" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-package-up/node_modules/parse-json/node_modules/type-fest": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", - "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-package-up/node_modules/read-pkg": { + "node_modules/read-pkg": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-10.0.0.tgz", "integrity": "sha512-A70UlgfNdKI5NSvTTfHzLQj7NJRpJ4mT5tGafkllJ4wh71oYuGm/pzphHcmW4s35iox56KSK721AihodoXSc/A==", @@ -15763,68 +13954,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/read-package-up/node_modules/semver": { - "version": "7.7.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", - "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/read-package-up/node_modules/type-fest": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.2.0.tgz", - "integrity": "sha512-xxCJm+Bckc6kQBknN7i9fnP/xobQRsRQxR01CztFkp/h++yfVxUUcmMgfR2HttJx/dpWjS9ubVuyspJv24Q9DA==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "dependencies": { - "tagged-tag": "^1.0.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-package-up/node_modules/unicorn-magic": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", - "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-9.0.1.tgz", - "integrity": "sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/normalize-package-data": "^2.4.3", - "normalize-package-data": "^6.0.0", - "parse-json": "^8.0.0", - "type-fest": "^4.6.0", - "unicorn-magic": "^0.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/read-pkg/node_modules/parse-json": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.3.0.tgz", @@ -15843,6 +13972,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/read-pkg/node_modules/parse-json/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/readable-stream": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", @@ -15871,40 +14013,17 @@ "node": ">=8.10.0" } }, - "node_modules/rechoir": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.8.0.tgz", - "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "resolve": "^1.20.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/reflect.getprototypeof": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz", - "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==", + "node_modules/readdirp/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", - "dependencies": { - "call-bind": "^1.0.8", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.9", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", - "get-intrinsic": "^1.2.7", - "get-proto": "^1.0.1", - "which-builtin-type": "^1.2.1" - }, "engines": { - "node": ">= 0.4" + "node": ">=8.6" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/jonschlinkert" } }, "node_modules/regenerate": { @@ -15915,9 +14034,9 @@ "license": "MIT" }, "node_modules/regenerate-unicode-properties": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.0.tgz", - "integrity": "sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA==", + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.2.tgz", + "integrity": "sha512-m03P+zhBeQd1RGnYxrGyDAPpWX/epKirLrp8e3qevZdVkKtnCrjjWczIbYc8+xd6vcTStVlqfycTx1KR4LOr0g==", "dev": true, "license": "MIT", "dependencies": { @@ -15927,75 +14046,19 @@ "node": ">=4" } }, - "node_modules/regenerator-runtime": { - "version": "0.14.1", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", - "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", - "dev": true, - "license": "MIT" - }, - "node_modules/regex": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/regex/-/regex-5.1.1.tgz", - "integrity": "sha512-dN5I359AVGPnwzJm2jN1k0W9LPZ+ePvoOeVMMfqIMFz53sSwXkxaJoxr50ptnsC771lK95BnTrVSZxq0b9yCGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "regex-utilities": "^2.3.0" - } - }, - "node_modules/regex-recursion": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/regex-recursion/-/regex-recursion-5.1.1.tgz", - "integrity": "sha512-ae7SBCbzVNrIjgSbh7wMznPcQel1DNlDtzensnFxpiNpXt1U2ju/bHugH422r+4LAVS1FpW1YCwilmnNsjum9w==", - "dev": true, - "license": "MIT", - "dependencies": { - "regex": "^5.1.1", - "regex-utilities": "^2.3.0" - } - }, - "node_modules/regex-utilities": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/regex-utilities/-/regex-utilities-2.3.0.tgz", - "integrity": "sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==", - "dev": true, - "license": "MIT" - }, - "node_modules/regexp.prototype.flags": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz", - "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "define-properties": "^1.2.1", - "es-errors": "^1.3.0", - "get-proto": "^1.0.1", - "gopd": "^1.2.0", - "set-function-name": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/regexpu-core": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-6.2.0.tgz", - "integrity": "sha512-H66BPQMrv+V16t8xtmq+UC0CBpiTBA60V8ibS1QVReIp8T1z8hwFxqcGzm9K6lgsN7sB5edVH8a+ze6Fqm4weA==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-6.4.0.tgz", + "integrity": "sha512-0ghuzq67LI9bLXpOX/ISfve/Mq33a4aFRzoQYhnnok1JOFpmE/A2TBGkNVenOGEeSBCjIiWcc6MVOG5HEQv0sA==", "dev": true, "license": "MIT", "dependencies": { "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.2.0", + "regenerate-unicode-properties": "^10.2.2", "regjsgen": "^0.8.0", - "regjsparser": "^0.12.0", + "regjsparser": "^0.13.0", "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.1.0" + "unicode-match-property-value-ecmascript": "^2.2.1" }, "engines": { "node": ">=4" @@ -16022,31 +14085,18 @@ "license": "MIT" }, "node_modules/regjsparser": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.12.0.tgz", - "integrity": "sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.13.0.tgz", + "integrity": "sha512-NZQZdC5wOE/H3UT28fVGL+ikOZcEzfMGk/c3iN9UGxzWHMa1op7274oyiUVrAG4B2EuFhus8SvkaYnhvW92p9Q==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "jsesc": "~3.0.2" + "jsesc": "~3.1.0" }, "bin": { "regjsparser": "bin/parser" } }, - "node_modules/regjsparser/node_modules/jsesc": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", - "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", - "dev": true, - "license": "MIT", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -16063,32 +14113,19 @@ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", "dev": true, "license": "MIT", + "optional": true, "engines": { "node": ">=0.10.0" } }, - "node_modules/require-package-name": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/require-package-name/-/require-package-name-2.0.1.tgz", - "integrity": "sha512-uuoJ1hU/k6M0779t3VMVIYpb2VMJk05cehCaABFhXaibcbvfgR8wKiozLjVFSzJPmQMRqIcO0HMyTFqfV09V6Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", - "dev": true, - "license": "MIT" - }, "node_modules/resolve": { - "version": "1.22.10", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", - "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", + "version": "1.22.11", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.11.tgz", + "integrity": "sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==", "dev": true, "license": "MIT", "dependencies": { - "is-core-module": "^2.16.0", + "is-core-module": "^2.16.1", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -16102,19 +14139,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/resolve-cwd": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", - "dev": true, - "license": "MIT", - "dependencies": { - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/resolve-dir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", @@ -16186,10 +14210,17 @@ "dev": true, "license": "ISC" }, + "node_modules/rettime": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/rettime/-/rettime-0.7.0.tgz", + "integrity": "sha512-LPRKoHnLKd/r3dVxcwO7vhCW+orkOGj9ViueosEBK6ie89CijnfRlhaDhHq/3Hxu4CkWQtxwlBG0mzTQY6uQjw==", + "dev": true, + "license": "MIT" + }, "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", "dev": true, "license": "MIT", "engines": { @@ -16221,9 +14252,9 @@ } }, "node_modules/rimraf/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "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": { @@ -16231,9 +14262,9 @@ } }, "node_modules/rimraf/node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", "dev": true, "license": "ISC", "dependencies": { @@ -16268,13 +14299,13 @@ } }, "node_modules/rollup": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.31.0.tgz", - "integrity": "sha512-9cCE8P4rZLx9+PjoyqHLs31V9a9Vpvfo4qNcs6JCiGWYhw2gijSetFbH6SSy1whnkgcefnUwr8sad7tgqsGvnw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.53.2.tgz", + "integrity": "sha512-MHngMYwGJVi6Fmnk6ISmnk7JAHRNF0UkuucA0CUW3N3a4KnONPEZz+vUanQP/ZC/iY1Qkf3bwPWzyY84wEks1g==", "dev": true, "license": "MIT", "dependencies": { - "@types/estree": "1.0.6" + "@types/estree": "1.0.8" }, "bin": { "rollup": "dist/bin/rollup" @@ -16284,28 +14315,107 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.31.0", - "@rollup/rollup-android-arm64": "4.31.0", - "@rollup/rollup-darwin-arm64": "4.31.0", - "@rollup/rollup-darwin-x64": "4.31.0", - "@rollup/rollup-freebsd-arm64": "4.31.0", - "@rollup/rollup-freebsd-x64": "4.31.0", - "@rollup/rollup-linux-arm-gnueabihf": "4.31.0", - "@rollup/rollup-linux-arm-musleabihf": "4.31.0", - "@rollup/rollup-linux-arm64-gnu": "4.31.0", - "@rollup/rollup-linux-arm64-musl": "4.31.0", - "@rollup/rollup-linux-loongarch64-gnu": "4.31.0", - "@rollup/rollup-linux-powerpc64le-gnu": "4.31.0", - "@rollup/rollup-linux-riscv64-gnu": "4.31.0", - "@rollup/rollup-linux-s390x-gnu": "4.31.0", - "@rollup/rollup-linux-x64-gnu": "4.31.0", - "@rollup/rollup-linux-x64-musl": "4.31.0", - "@rollup/rollup-win32-arm64-msvc": "4.31.0", - "@rollup/rollup-win32-ia32-msvc": "4.31.0", - "@rollup/rollup-win32-x64-msvc": "4.31.0", + "@rollup/rollup-android-arm-eabi": "4.53.2", + "@rollup/rollup-android-arm64": "4.53.2", + "@rollup/rollup-darwin-arm64": "4.53.2", + "@rollup/rollup-darwin-x64": "4.53.2", + "@rollup/rollup-freebsd-arm64": "4.53.2", + "@rollup/rollup-freebsd-x64": "4.53.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.53.2", + "@rollup/rollup-linux-arm-musleabihf": "4.53.2", + "@rollup/rollup-linux-arm64-gnu": "4.53.2", + "@rollup/rollup-linux-arm64-musl": "4.53.2", + "@rollup/rollup-linux-loong64-gnu": "4.53.2", + "@rollup/rollup-linux-ppc64-gnu": "4.53.2", + "@rollup/rollup-linux-riscv64-gnu": "4.53.2", + "@rollup/rollup-linux-riscv64-musl": "4.53.2", + "@rollup/rollup-linux-s390x-gnu": "4.53.2", + "@rollup/rollup-linux-x64-gnu": "4.53.2", + "@rollup/rollup-linux-x64-musl": "4.53.2", + "@rollup/rollup-openharmony-arm64": "4.53.2", + "@rollup/rollup-win32-arm64-msvc": "4.53.2", + "@rollup/rollup-win32-ia32-msvc": "4.53.2", + "@rollup/rollup-win32-x64-gnu": "4.53.2", + "@rollup/rollup-win32-x64-msvc": "4.53.2", "fsevents": "~2.3.2" } }, + "node_modules/rollup-plugin-sourcemaps2": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/rollup-plugin-sourcemaps2/-/rollup-plugin-sourcemaps2-0.5.4.tgz", + "integrity": "sha512-XK6ITvEsKtUFN1GQbYKoqilwh1yKxTS9BLaFlVsm0IaYUYe3eVnhBWzKP4AHbkBO2BNOheGNlf407K7wCj6Rrw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rollup/pluginutils": "5.2.0" + }, + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "@types/node": ">=18.0.0", + "rollup": ">=4" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/rollup-plugin-sourcemaps2/node_modules/@rollup/pluginutils": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.2.0.tgz", + "integrity": "sha512-qWJ2ZTbmumwiLFomfzTyt5Kng4hwPi9rwCYN4SHb6eaRU1KNO4ccxINHr/VhH4GgPlt1XfSTLX2LBTme8ne4Zw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "estree-walker": "^2.0.2", + "picomatch": "^4.0.2" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } + }, + "node_modules/rollup-plugin-visualizer": { + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.14.0.tgz", + "integrity": "sha512-VlDXneTDaKsHIw8yzJAFWtrzguoJ/LnQ+lMpoVfYJ3jJF4Ihe5oYLAqLklIK/35lgUY+1yEzCkHyZ1j4A5w5fA==", + "dev": true, + "license": "MIT", + "dependencies": { + "open": "^8.4.0", + "picomatch": "^4.0.2", + "source-map": "^0.7.4", + "yargs": "^17.5.1" + }, + "bin": { + "rollup-plugin-visualizer": "dist/bin/cli.js" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "rolldown": "1.x", + "rollup": "2.x || 3.x || 4.x" + }, + "peerDependenciesMeta": { + "rolldown": { + "optional": true + }, + "rollup": { + "optional": true + } + } + }, "node_modules/run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", @@ -16341,35 +14451,15 @@ } }, "node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", "dev": true, "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" } }, - "node_modules/safe-array-concat": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz", - "integrity": "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.2", - "get-intrinsic": "^1.2.6", - "has-symbols": "^1.1.0", - "isarray": "^2.0.5" - }, - "engines": { - "node": ">=0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -16391,39 +14481,14 @@ ], "license": "MIT" }, - "node_modules/safe-push-apply": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz", - "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "isarray": "^2.0.5" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/safe-regex-test": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz", - "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==", + "node_modules/safe-stable-stringify": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz", + "integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==", "dev": true, "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "es-errors": "^1.3.0", - "is-regex": "^1.2.1" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=10" } }, "node_modules/safer-buffer": { @@ -16433,59 +14498,6 @@ "dev": true, "license": "MIT" }, - "node_modules/schema-utils": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", - "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.5", - "ajv": "^6.12.4", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/schema-utils/node_modules/ajv": { - "version": "6.12.6", - "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", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/schema-utils/node_modules/ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "ajv": "^6.9.1" - } - }, - "node_modules/schema-utils/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, - "license": "MIT" - }, "node_modules/semantic-release": { "version": "25.0.2", "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-25.0.2.tgz", @@ -16584,9 +14596,9 @@ } }, "node_modules/semantic-release/node_modules/clean-stack": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-5.2.0.tgz", - "integrity": "sha512-TyUIUJgdFnCISzG5zu3291TAsE77ddchd0bepon1VVQrKLGKFED4iXFEDQ24mIPdPBbyE16PK3F8MYE1CmcBEQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-5.3.0.tgz", + "integrity": "sha512-9ngPTOhYGQqNVSfeJkYXHmF7AGWp4/nN5D/QqNQs3Dvxd1Kk/WpjHfNujKHYUQ/5CoGyOyFNoWSPk5afzP0QVg==", "dev": true, "license": "MIT", "dependencies": { @@ -16787,9 +14799,9 @@ } }, "node_modules/semantic-release/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "dev": true, "license": "ISC", "bin": { @@ -16846,19 +14858,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/semantic-release/node_modules/unicorn-magic": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", - "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/semantic-release/node_modules/wrap-ansi": { "version": "9.0.2", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", @@ -16958,204 +14957,37 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/send": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", - "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "node_modules/serialize-javascript": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", "dev": true, - "license": "MIT", + "license": "BSD-3-Clause", "dependencies": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "2.4.1", - "range-parser": "~1.2.1", - "statuses": "2.0.1" - }, - "engines": { - "node": ">= 0.8.0" + "randombytes": "^2.1.0" } }, - "node_modules/send/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "license": "MIT", "dependencies": { - "ms": "2.0.0" + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" } }, - "node_modules/send/node_modules/debug/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true, - "license": "MIT" - }, - "node_modules/send/node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, "license": "MIT", "engines": { - "node": ">= 0.8" - } - }, - "node_modules/send/node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "dev": true, - "license": "MIT", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/serialize-javascript": { - "version": "6.0.2", - "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" - } - }, - "node_modules/serve-static": { - "version": "1.16.2", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", - "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", - "dev": true, - "license": "MIT", - "dependencies": { - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.19.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/set-function-name": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", - "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "functions-have-names": "^1.2.3", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/set-proto": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz", - "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==", - "dev": true, - "license": "MIT", - "dependencies": { - "dunder-proto": "^1.0.1", - "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", - "dev": true, - "license": "ISC" - }, - "node_modules/shallow-clone": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", - "dev": true, - "license": "MIT", - "dependencies": { - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "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" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "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/shiki": { - "version": "1.29.1", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.29.1.tgz", - "integrity": "sha512-TghWKV9pJTd/N+IgAIVJtr0qZkB7FfFCUrrEJc0aRmZupo3D1OCVRknQWVRVA7AX/M0Ld7QfoAruPzr3CnUJuw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/core": "1.29.1", - "@shikijs/engine-javascript": "1.29.1", - "@shikijs/engine-oniguruma": "1.29.1", - "@shikijs/langs": "1.29.1", - "@shikijs/themes": "1.29.1", - "@shikijs/types": "1.29.1", - "@shikijs/vscode-textmate": "^10.0.1", - "@types/hast": "^3.0.4" + "node": ">=8" } }, "node_modules/side-channel": { @@ -17265,61 +15097,6 @@ "node": ">=6" } }, - "node_modules/signale/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/signale/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/signale/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/signale/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true, - "license": "MIT" - }, - "node_modules/signale/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/signale/node_modules/figures": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", @@ -17333,29 +15110,6 @@ "node": ">=4" } }, - "node_modules/signale/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/signale/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/simple-update-notifier": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", @@ -17370,9 +15124,9 @@ } }, "node_modules/simple-update-notifier/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "dev": true, "license": "ISC", "bin": { @@ -17383,9 +15137,9 @@ } }, "node_modules/sirv": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/sirv/-/sirv-3.0.0.tgz", - "integrity": "sha512-BPwJGUeDaDCHihkORDchNyyTvWFhcusy1XMmhEVTQTwGeybFbp8YEmB+njbPnth1FibULBSBVwCQni25XlCUDg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/sirv/-/sirv-3.0.2.tgz", + "integrity": "sha512-2wcC/oGxHis/BoHkkPwldgiPSYcpZK3JU28WoMVv55yHJgcZ8rlXvuG9iZggz+sU1d4bRgIGASwyWqjxu3FM0g==", "dev": true, "license": "MIT", "dependencies": { @@ -17436,9 +15190,9 @@ } }, "node_modules/size-limit/node_modules/readdirp": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.1.tgz", - "integrity": "sha512-h80JrZu/MHUZCyHu5ciuoI0+WxsCxzxJTILn6Fs8rxSnFPh+UVHYfeIxK1nVGugMqkfC4vJcBOYbkfkwYK0+gw==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", "dev": true, "license": "MIT", "engines": { @@ -17462,16 +15216,6 @@ "node": ">=8" } }, - "node_modules/slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/slice-ansi": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", @@ -17490,9 +15234,9 @@ } }, "node_modules/slice-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==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", "dev": true, "license": "MIT", "engines": { @@ -17502,14 +15246,21 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/smob": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/smob/-/smob-1.5.0.tgz", + "integrity": "sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==", + "dev": true, + "license": "MIT" + }, "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "version": "0.7.6", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz", + "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==", "dev": true, "license": "BSD-3-Clause", "engines": { - "node": ">=0.10.0" + "node": ">= 12" } }, "node_modules/source-map-js": { @@ -17533,15 +15284,14 @@ "source-map": "^0.6.0" } }, - "node_modules/space-separated-tokens": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", - "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==", + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" } }, "node_modules/spawn-error-forwarder": { @@ -17587,6 +15337,26 @@ "dev": true, "license": "CC0-1.0" }, + "node_modules/split2": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-1.0.0.tgz", + "integrity": "sha512-NKywug4u4pX/AZBB1FCPzZ6/7O+Xhz1qMVbzTvvKvikjO99oPN87SkK08mEY9P63/5lWjK+wgOOgApnTg5r6qg==", + "dev": true, + "license": "ISC", + "dependencies": { + "through2": "~2.0.0" + } + }, + "node_modules/stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, "node_modules/stackback": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz", @@ -17595,9 +15365,9 @@ "license": "MIT" }, "node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", "dev": true, "license": "MIT", "engines": { @@ -17605,9 +15375,9 @@ } }, "node_modules/std-env": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.8.0.tgz", - "integrity": "sha512-Bc3YwwCB+OzldMxOXJIIvC6cPRWr/LxOp48CdQTOkPyk/t4JWWJbrilwBd7RJzKV8QW7tJkcgAmeuLLJugl5/w==", + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz", + "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==", "dev": true, "license": "MIT" }, @@ -17622,13 +15392,6 @@ "readable-stream": "^2.0.2" } }, - "node_modules/stream-combiner2/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true, - "license": "MIT" - }, "node_modules/stream-combiner2/node_modules/readable-stream": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", @@ -17740,105 +15503,31 @@ "node": ">=8" } }, - "node_modules/string.prototype.trim": { - "version": "1.2.10", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz", - "integrity": "sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==", + "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": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.2", - "define-data-property": "^1.1.4", - "define-properties": "^1.2.1", - "es-abstract": "^1.23.5", - "es-object-atoms": "^1.0.0", - "has-property-descriptors": "^1.0.2" + "ansi-regex": "^5.0.1" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=8" } }, - "node_modules/string.prototype.trimend": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz", - "integrity": "sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==", + "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": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.2", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" + "ansi-regex": "^5.0.1" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", - "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/stringify-entities": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz", - "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==", - "dev": true, - "license": "MIT", - "dependencies": { - "character-entities-html4": "^2.0.0", - "character-entities-legacy": "^3.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "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-cjs": { - "name": "strip-ansi", - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" + "node": ">=8" } }, "node_modules/strip-bom": { @@ -17896,16 +15585,16 @@ } }, "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "license": "MIT", "dependencies": { - "has-flag": "^4.0.0" + "has-flag": "^3.0.0" }, "engines": { - "node": ">=8" + "node": ">=4" } }, "node_modules/supports-hyperlinks": { @@ -17925,6 +15614,29 @@ "url": "https://github.com/chalk/supports-hyperlinks?sponsor=1" } }, + "node_modules/supports-hyperlinks/node_modules/has-flag": { + "version": "4.0.0", + "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" + } + }, + "node_modules/supports-hyperlinks/node_modules/supports-color": { + "version": "7.2.0", + "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" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/supports-preserve-symlinks-flag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", @@ -17942,7 +15654,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/tagged-tag/-/tagged-tag-1.0.0.tgz", "integrity": "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==", - "dev": true, "license": "MIT", "engines": { "node": ">=20" @@ -17951,16 +15662,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/temp-dir": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-3.0.0.tgz", @@ -18004,14 +15705,14 @@ } }, "node_modules/terser": { - "version": "5.37.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.37.0.tgz", - "integrity": "sha512-B8wRRkmre4ERucLM/uXx4MOV5cbnOlVAqUst+1+iLKPI0dOgFO28f84ptoQt9HEI537PMzfYa/d+GEPKTRXmYA==", + "version": "5.44.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.44.1.tgz", + "integrity": "sha512-t/R3R/n0MSwnnazuPpPNVO60LX0SKL45pyl9YlvxIdkH0Of7D5qM2EVe+yASRIlY5pZ73nclYJfNANGWPwFDZw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { "@jridgewell/source-map": "^0.3.3", - "acorn": "^8.8.2", + "acorn": "^8.15.0", "commander": "^2.20.0", "source-map-support": "~0.5.20" }, @@ -18022,59 +15723,17 @@ "node": ">=10" } }, - "node_modules/terser-webpack-plugin": { - "version": "5.3.11", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.11.tgz", - "integrity": "sha512-RVCsMfuD0+cTt3EwX8hSl2Ks56EbFHWmhluwcqoPKtBnfjiT6olaq7PRIRfhyU8nnC2MrnDrBLfrD/RGE+cVXQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.25", - "jest-worker": "^27.4.5", - "schema-utils": "^4.3.0", - "serialize-javascript": "^6.0.2", - "terser": "^5.31.1" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.1.0" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "esbuild": { - "optional": true - }, - "uglify-js": { - "optional": true - } - } - }, - "node_modules/terser-webpack-plugin/node_modules/schema-utils": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.0.tgz", - "integrity": "sha512-Gf9qqc58SpCA/xdziiHz35F4GNIWYWZrEshUc/G/r5BnLph6xpKuLeoJoQuj5WfBIx/eQLf+hmVPYHaxJu7V2g==", + "node_modules/terser/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", - "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" + "bin": { + "acorn": "bin/acorn" }, "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" + "node": ">=0.4.0" } }, "node_modules/terser/node_modules/commander": { @@ -18100,9 +15759,9 @@ } }, "node_modules/test-exclude/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "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": { @@ -18110,9 +15769,9 @@ } }, "node_modules/test-exclude/node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", "dev": true, "license": "ISC", "dependencies": { @@ -18146,6 +15805,13 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/text-hex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", + "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==", + "dev": true, + "license": "MIT" + }, "node_modules/thenify": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", @@ -18187,13 +15853,6 @@ "xtend": "~4.0.1" } }, - "node_modules/through2/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true, - "license": "MIT" - }, "node_modules/through2/node_modules/readable-stream": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", @@ -18274,41 +15933,10 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, - "node_modules/tinyglobby/node_modules/fdir": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", - "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, - "node_modules/tinyglobby/node_modules/picomatch": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", - "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, "node_modules/tinypool": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.0.2.tgz", - "integrity": "sha512-al6n+QEANGFOMf/dmUMsuS5/r9B06uwlyNjZZql/zv8J7ybHCgoihBNORZCY2mzUuAnomQa2JdhyHKzZxPCrFA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz", + "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==", "dev": true, "license": "MIT", "engines": { @@ -18335,6 +15963,26 @@ "node": ">=14.0.0" } }, + "node_modules/tldts": { + "version": "7.0.18", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.0.18.tgz", + "integrity": "sha512-lCcgTAgMxQ1JKOWrVGo6E69Ukbnx4Gc1wiYLRf6J5NN4HRYJtCby1rPF8rkQ4a6qqoFBK5dvjJ1zJ0F7VfDSvw==", + "dev": true, + "license": "MIT", + "dependencies": { + "tldts-core": "^7.0.18" + }, + "bin": { + "tldts": "bin/cli.js" + } + }, + "node_modules/tldts-core": { + "version": "7.0.18", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.0.18.tgz", + "integrity": "sha512-jqJC13oP4FFAahv4JT/0WTDrCF9Okv7lpKtOZUGPLiAnNbACcSg8Y8T+Z9xthOmRBqi/Sob4yi0TE0miRCvF7Q==", + "dev": true, + "license": "MIT" + }, "node_modules/tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", @@ -18361,16 +16009,6 @@ "node": ">=8.0" } }, - "node_modules/toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.6" - } - }, "node_modules/totalist": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/totalist/-/totalist-3.0.1.tgz", @@ -18392,29 +16030,16 @@ } }, "node_modules/tough-cookie": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz", - "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.0.0.tgz", + "integrity": "sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w==", "dev": true, "license": "BSD-3-Clause", "dependencies": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.2.0", - "url-parse": "^1.5.3" + "tldts": "^7.0.5" }, "engines": { - "node": ">=6" - } - }, - "node_modules/tough-cookie/node_modules/universalify": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", - "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4.0.0" + "node": ">=16" } }, "node_modules/traverse": { @@ -18430,15 +16055,14 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/trim-lines": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", - "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", + "node_modules/triple-beam": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.4.1.tgz", + "integrity": "sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==", "dev": true, "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" + "engines": { + "node": ">= 14.0.0" } }, "node_modules/ts-api-utils": { @@ -18485,184 +16109,95 @@ } }, "node_modules/type-fest": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", - "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", - "dev": true, + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.2.0.tgz", + "integrity": "sha512-xxCJm+Bckc6kQBknN7i9fnP/xobQRsRQxR01CztFkp/h++yfVxUUcmMgfR2HttJx/dpWjS9ubVuyspJv24Q9DA==", "license": "(MIT OR CC0-1.0)", + "dependencies": { + "tagged-tag": "^1.0.0" + }, "engines": { - "node": ">=16" + "node": ">=20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "node_modules/typedoc": { + "version": "0.28.14", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.28.14.tgz", + "integrity": "sha512-ftJYPvpVfQvFzpkoSfHLkJybdA/geDJ8BGQt/ZnkkhnBYoYW6lBgPQXu6vqLxO4X75dA55hX8Af847H5KXlEFA==", "dev": true, - "license": "MIT", + "license": "Apache-2.0", "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" + "@gerrit0/mini-shiki": "^3.12.0", + "lunr": "^2.3.9", + "markdown-it": "^14.1.0", + "minimatch": "^9.0.5", + "yaml": "^2.8.1" + }, + "bin": { + "typedoc": "bin/typedoc" }, "engines": { - "node": ">= 0.6" + "node": ">= 18", + "pnpm": ">= 10" + }, + "peerDependencies": { + "typescript": "5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x || 5.9.x" } }, - "node_modules/typed-array-buffer": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz", - "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==", + "node_modules/typedoc/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": { - "call-bound": "^1.0.3", - "es-errors": "^1.3.0", - "is-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" + "balanced-match": "^1.0.0" } }, - "node_modules/typed-array-byte-length": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz", - "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==", + "node_modules/typedoc/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, - "license": "MIT", + "license": "ISC", "dependencies": { - "call-bind": "^1.0.8", - "for-each": "^0.3.3", - "gopd": "^1.2.0", - "has-proto": "^1.2.0", - "is-typed-array": "^1.1.14" + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">= 0.4" + "node": ">=16 || 14 >=14.17" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/typed-array-byte-offset": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz", - "integrity": "sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==", + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.8", - "for-each": "^0.3.3", - "gopd": "^1.2.0", - "has-proto": "^1.2.0", - "is-typed-array": "^1.1.15", - "reflect.getprototypeof": "^1.0.9" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typed-array-length": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz", - "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "is-typed-array": "^1.1.13", - "possible-typed-array-names": "^1.0.0", - "reflect.getprototypeof": "^1.0.6" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typedoc": { - "version": "0.26.11", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.11.tgz", - "integrity": "sha512-sFEgRRtrcDl2FxVP58Ze++ZK2UQAEvtvvH8rRlig1Ja3o7dDaMHmaBfvJmdGnNEFaLTpQsN8dpvZaTqJSu/Ugw==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "lunr": "^2.3.9", - "markdown-it": "^14.1.0", - "minimatch": "^9.0.5", - "shiki": "^1.16.2", - "yaml": "^2.5.1" - }, - "bin": { - "typedoc": "bin/typedoc" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x" - } - }, - "node_modules/typedoc/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/typedoc/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": { - "version": "5.6.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", - "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" }, "engines": { "node": ">=14.17" } }, "node_modules/typescript-eslint": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.46.4.tgz", - "integrity": "sha512-KALyxkpYV5Ix7UhvjTwJXZv76VWsHG+NjNlt/z+a17SOQSiOcBdUXdbJdyXi7RPxrBFECtFOiPwUJQusJuCqrg==", + "version": "8.47.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.47.0.tgz", + "integrity": "sha512-Lwe8i2XQ3WoMjua/r1PHrCTpkubPYJCAfOurtn+mtTzqB6jNd+14n9UN1bJ4s3F49x9ixAm0FLflB/JzQ57M8Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.46.4", - "@typescript-eslint/parser": "8.46.4", - "@typescript-eslint/typescript-estree": "8.46.4", - "@typescript-eslint/utils": "8.46.4" + "@typescript-eslint/eslint-plugin": "8.47.0", + "@typescript-eslint/parser": "8.47.0", + "@typescript-eslint/typescript-estree": "8.47.0", + "@typescript-eslint/utils": "8.47.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -18697,25 +16232,6 @@ "node": ">=0.8.0" } }, - "node_modules/unbox-primitive": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz", - "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.3", - "has-bigints": "^1.0.2", - "has-symbols": "^1.1.0", - "which-boxed-primitive": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/undefsafe": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", @@ -18737,7 +16253,8 @@ "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/unicode-canonical-property-names-ecmascript": { "version": "2.0.1", @@ -18774,9 +16291,9 @@ } }, "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.0.tgz", - "integrity": "sha512-4IehN3V/+kkr5YeSSDDQG8QLqO26XpL2XP3GQtqwlT/QYSECAwFztxVHjlbh0+gjJ3XmNLS0zDsbgs9jWKExLg==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.1.tgz", + "integrity": "sha512-JQ84qTuMg4nVkx8ga4A16a1epI9H6uTXAknqxkGF/aFfRLw1xC/Bp24HNLaZhHSkWd3+84t8iXnp1J0kYcZHhg==", "dev": true, "license": "MIT", "engines": { @@ -18784,9 +16301,9 @@ } }, "node_modules/unicode-property-aliases-ecmascript": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz", - "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.2.0.tgz", + "integrity": "sha512-hpbDzxUY9BFwX+UeBnxv3Sh1q7HFxj48DTmXchNgRa46lO8uj3/1iEn3MiNUYTg1g9ctIqXCCERn8gYZhHC5lQ==", "dev": true, "license": "MIT", "engines": { @@ -18794,9 +16311,9 @@ } }, "node_modules/unicorn-magic": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", - "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", "dev": true, "license": "MIT", "engines": { @@ -18822,79 +16339,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/unist-util-is": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.0.tgz", - "integrity": "sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-position": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz", - "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-stringify-position": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", - "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-visit": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.0.0.tgz", - "integrity": "sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "unist-util-is": "^6.0.0", - "unist-util-visit-parents": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/unist-util-visit-parents": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz", - "integrity": "sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "unist-util-is": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/universal-user-agent": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz", @@ -18912,20 +16356,20 @@ "node": ">= 10.0.0" } }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "node_modules/until-async": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/until-async/-/until-async-3.0.2.tgz", + "integrity": "sha512-IiSk4HlzAMqTUseHHe3VhIGyuFmN90zMTpD3Z3y8jeQbzLIq500MVM7Jq2vUAnTKAFPJrqwkzr6PoTcPhGcOiw==", "dev": true, "license": "MIT", - "engines": { - "node": ">= 0.8" + "funding": { + "url": "https://github.com/sponsors/kettanaito" } }, "node_modules/update-browserslist-db": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz", - "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.4.tgz", + "integrity": "sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A==", "dev": true, "funding": [ { @@ -18941,6 +16385,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" @@ -18972,17 +16417,6 @@ "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, - "node_modules/url-parse": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", - "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -18990,29 +16424,6 @@ "dev": true, "license": "MIT" }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/v8flags": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.2.0.tgz", - "integrity": "sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==", - "dev": true, - "license": "MIT", - "dependencies": { - "homedir-polyfill": "^1.0.1" - }, - "engines": { - "node": ">= 0.10" - } - }, "node_modules/validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", @@ -19024,46 +16435,6 @@ "spdx-expression-parse": "^3.0.0" } }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/vfile": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", - "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "vfile-message": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/vfile-message": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.2.tgz", - "integrity": "sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "unist-util-stringify-position": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/vite": { "version": "5.4.21", "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz", @@ -19154,374 +16525,81 @@ "dev": true, "license": "MIT", "dependencies": { - "@vitest/expect": "2.1.9", - "@vitest/mocker": "2.1.9", - "@vitest/pretty-format": "^2.1.9", - "@vitest/runner": "2.1.9", - "@vitest/snapshot": "2.1.9", - "@vitest/spy": "2.1.9", - "@vitest/utils": "2.1.9", - "chai": "^5.1.2", - "debug": "^4.3.7", - "expect-type": "^1.1.0", - "magic-string": "^0.30.12", - "pathe": "^1.1.2", - "std-env": "^3.8.0", - "tinybench": "^2.9.0", - "tinyexec": "^0.3.1", - "tinypool": "^1.0.1", - "tinyrainbow": "^1.2.0", - "vite": "^5.0.0", - "vite-node": "2.1.9", - "why-is-node-running": "^2.3.0" - }, - "bin": { - "vitest": "vitest.mjs" - }, - "engines": { - "node": "^18.0.0 || >=20.0.0" - }, - "funding": { - "url": "https://opencollective.com/vitest" - }, - "peerDependencies": { - "@edge-runtime/vm": "*", - "@types/node": "^18.0.0 || >=20.0.0", - "@vitest/browser": "2.1.9", - "@vitest/ui": "2.1.9", - "happy-dom": "*", - "jsdom": "*" - }, - "peerDependenciesMeta": { - "@edge-runtime/vm": { - "optional": true - }, - "@types/node": { - "optional": true - }, - "@vitest/browser": { - "optional": true - }, - "@vitest/ui": { - "optional": true - }, - "happy-dom": { - "optional": true - }, - "jsdom": { - "optional": true - } - } - }, - "node_modules/watchpack": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.2.tgz", - "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==", - "dev": true, - "license": "MIT", - "dependencies": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", - "dev": true, - "license": "MIT", - "dependencies": { - "defaults": "^1.0.3" - } - }, - "node_modules/web-worker": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/web-worker/-/web-worker-1.2.0.tgz", - "integrity": "sha512-PgF341avzqyx60neE9DD+XS26MMNMoUQRz9NOZwW32nPQrF6p77f1htcnjBSEV8BGMKZ16choqUG4hyI0Hx7mA==", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/webpack": { - "version": "5.97.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.97.1.tgz", - "integrity": "sha512-EksG6gFY3L1eFMROS/7Wzgrii5mBAFe4rIr3r2BTfo7bcc+DWwFZ4OJ/miOuHJO/A85HwyI4eQ0F6IKXesO7Fg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/eslint-scope": "^3.7.7", - "@types/estree": "^1.0.6", - "@webassemblyjs/ast": "^1.14.1", - "@webassemblyjs/wasm-edit": "^1.14.1", - "@webassemblyjs/wasm-parser": "^1.14.1", - "acorn": "^8.14.0", - "browserslist": "^4.24.0", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.17.1", - "es-module-lexer": "^1.2.1", - "eslint-scope": "5.1.1", - "events": "^3.2.0", - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.11", - "json-parse-even-better-errors": "^2.3.1", - "loader-runner": "^4.2.0", - "mime-types": "^2.1.27", - "neo-async": "^2.6.2", - "schema-utils": "^3.2.0", - "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.3.10", - "watchpack": "^2.4.1", - "webpack-sources": "^3.2.3" - }, - "bin": { - "webpack": "bin/webpack.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependenciesMeta": { - "webpack-cli": { - "optional": true - } - } - }, - "node_modules/webpack-bundle-analyzer": { - "version": "4.10.2", - "resolved": "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.10.2.tgz", - "integrity": "sha512-vJptkMm9pk5si4Bv922ZbKLV8UTT4zib4FPgXMhgzUny0bfDDkLXAVQs3ly3fS4/TN9ROFtb0NFrm04UXFE/Vw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@discoveryjs/json-ext": "0.5.7", - "acorn": "^8.0.4", - "acorn-walk": "^8.0.0", - "commander": "^7.2.0", - "debounce": "^1.2.1", - "escape-string-regexp": "^4.0.0", - "gzip-size": "^6.0.0", - "html-escaper": "^2.0.2", - "opener": "^1.5.2", - "picocolors": "^1.0.0", - "sirv": "^2.0.3", - "ws": "^7.3.1" - }, - "bin": { - "webpack-bundle-analyzer": "lib/bin/analyzer.js" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/webpack-bundle-analyzer/node_modules/commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10" - } - }, - "node_modules/webpack-bundle-analyzer/node_modules/sirv": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/sirv/-/sirv-2.0.4.tgz", - "integrity": "sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@polka/url": "^1.0.0-next.24", - "mrmime": "^2.0.0", - "totalist": "^3.0.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/webpack-bundle-analyzer/node_modules/ws": { - "version": "7.5.10", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", - "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/webpack-cli": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-5.1.4.tgz", - "integrity": "sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@discoveryjs/json-ext": "^0.5.0", - "@webpack-cli/configtest": "^2.1.1", - "@webpack-cli/info": "^2.0.2", - "@webpack-cli/serve": "^2.0.5", - "colorette": "^2.0.14", - "commander": "^10.0.1", - "cross-spawn": "^7.0.3", - "envinfo": "^7.7.3", - "fastest-levenshtein": "^1.0.12", - "import-local": "^3.0.2", - "interpret": "^3.1.1", - "rechoir": "^0.8.0", - "webpack-merge": "^5.7.3" + "@vitest/expect": "2.1.9", + "@vitest/mocker": "2.1.9", + "@vitest/pretty-format": "^2.1.9", + "@vitest/runner": "2.1.9", + "@vitest/snapshot": "2.1.9", + "@vitest/spy": "2.1.9", + "@vitest/utils": "2.1.9", + "chai": "^5.1.2", + "debug": "^4.3.7", + "expect-type": "^1.1.0", + "magic-string": "^0.30.12", + "pathe": "^1.1.2", + "std-env": "^3.8.0", + "tinybench": "^2.9.0", + "tinyexec": "^0.3.1", + "tinypool": "^1.0.1", + "tinyrainbow": "^1.2.0", + "vite": "^5.0.0", + "vite-node": "2.1.9", + "why-is-node-running": "^2.3.0" }, "bin": { - "webpack-cli": "bin/cli.js" + "vitest": "vitest.mjs" }, "engines": { - "node": ">=14.15.0" + "node": "^18.0.0 || >=20.0.0" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" + "url": "https://opencollective.com/vitest" }, "peerDependencies": { - "webpack": "5.x.x" + "@edge-runtime/vm": "*", + "@types/node": "^18.0.0 || >=20.0.0", + "@vitest/browser": "2.1.9", + "@vitest/ui": "2.1.9", + "happy-dom": "*", + "jsdom": "*" }, "peerDependenciesMeta": { - "@webpack-cli/generators": { + "@edge-runtime/vm": { "optional": true }, - "webpack-bundle-analyzer": { + "@types/node": { + "optional": true + }, + "@vitest/browser": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { "optional": true }, - "webpack-dev-server": { + "jsdom": { "optional": true } } }, - "node_modules/webpack-cli/node_modules/commander": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", - "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14" - } - }, - "node_modules/webpack-merge": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.10.0.tgz", - "integrity": "sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA==", - "dev": true, - "license": "MIT", - "dependencies": { - "clone-deep": "^4.0.1", - "flat": "^5.0.2", - "wildcard": "^2.0.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/webpack-sources": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", - "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/webpack/node_modules/ajv": { - "version": "6.12.6", - "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", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/webpack/node_modules/ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", "dev": true, "license": "MIT", - "peerDependencies": { - "ajv": "^6.9.1" - } - }, - "node_modules/webpack/node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "dev": true, - "license": "BSD-2-Clause", "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/webpack/node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=4.0" + "defaults": "^1.0.3" } }, - "node_modules/webpack/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, - "license": "MIT" - }, - "node_modules/webpack/node_modules/schema-utils": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", - "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "node_modules/web-worker": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/web-worker/-/web-worker-1.2.0.tgz", + "integrity": "sha512-PgF341avzqyx60neE9DD+XS26MMNMoUQRz9NOZwW32nPQrF6p77f1htcnjBSEV8BGMKZ16choqUG4hyI0Hx7mA==", "dev": true, - "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } + "license": "Apache-2.0" }, "node_modules/which": { "version": "2.0.2", @@ -19539,118 +16617,84 @@ "node": ">= 8" } }, - "node_modules/which-boxed-primitive": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz", - "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==", + "node_modules/why-is-node-running": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz", + "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==", "dev": true, "license": "MIT", "dependencies": { - "is-bigint": "^1.1.0", - "is-boolean-object": "^1.2.1", - "is-number-object": "^1.1.1", - "is-string": "^1.1.1", - "is-symbol": "^1.1.1" + "siginfo": "^2.0.0", + "stackback": "0.0.2" }, - "engines": { - "node": ">= 0.4" + "bin": { + "why-is-node-running": "cli.js" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=8" } }, - "node_modules/which-builtin-type": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz", - "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==", + "node_modules/winston": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.13.0.tgz", + "integrity": "sha512-rwidmA1w3SE4j0E5MuIufFhyJPBDG7Nu71RkZor1p2+qHvJSZ9GYDA81AyleQcZbh/+V6HjeBdfnTZJm9rSeQQ==", "dev": true, "license": "MIT", "dependencies": { - "call-bound": "^1.0.2", - "function.prototype.name": "^1.1.6", - "has-tostringtag": "^1.0.2", - "is-async-function": "^2.0.0", - "is-date-object": "^1.1.0", - "is-finalizationregistry": "^1.1.0", - "is-generator-function": "^1.0.10", - "is-regex": "^1.2.1", - "is-weakref": "^1.0.2", - "isarray": "^2.0.5", - "which-boxed-primitive": "^1.1.0", - "which-collection": "^1.0.2", - "which-typed-array": "^1.1.16" + "@colors/colors": "^1.6.0", + "@dabh/diagnostics": "^2.0.2", + "async": "^3.2.3", + "is-stream": "^2.0.0", + "logform": "^2.4.0", + "one-time": "^1.0.0", + "readable-stream": "^3.4.0", + "safe-stable-stringify": "^2.3.1", + "stack-trace": "0.0.x", + "triple-beam": "^1.3.0", + "winston-transport": "^4.7.0" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">= 12.0.0" } }, - "node_modules/which-collection": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz", - "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", + "node_modules/winston-transport": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.9.0.tgz", + "integrity": "sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A==", "dev": true, "license": "MIT", "dependencies": { - "is-map": "^2.0.3", - "is-set": "^2.0.3", - "is-weakmap": "^2.0.2", - "is-weakset": "^2.0.3" + "logform": "^2.7.0", + "readable-stream": "^3.6.2", + "triple-beam": "^1.3.0" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">= 12.0.0" } }, - "node_modules/which-typed-array": { - "version": "1.1.18", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.18.tgz", - "integrity": "sha512-qEcY+KJYlWyLH9vNbsr6/5j59AXk5ni5aakf8ldzBvGde6Iz4sxZGkJyWSAueTG7QhOvNRYb1lDdFmL5Td0QKA==", + "node_modules/winston/node_modules/@colors/colors": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", + "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", "dev": true, "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "for-each": "^0.3.3", - "gopd": "^1.2.0", - "has-tostringtag": "^1.0.2" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.1.90" } }, - "node_modules/why-is-node-running": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz", - "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==", + "node_modules/winston/node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true, "license": "MIT", - "dependencies": { - "siginfo": "^2.0.0", - "stackback": "0.0.2" - }, - "bin": { - "why-is-node-running": "cli.js" - }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/wildcard": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz", - "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", - "dev": true, - "license": "MIT" - }, "node_modules/word-wrap": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", @@ -19705,6 +16749,78 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "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" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/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/wrap-ansi-cjs/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, + "license": "MIT" + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "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" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/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/wrap-ansi/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, + "license": "MIT" + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -19713,9 +16829,9 @@ "license": "ISC" }, "node_modules/ws": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", - "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", + "version": "8.18.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz", + "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==", "dev": true, "license": "MIT", "engines": { @@ -19762,16 +16878,16 @@ "license": "ISC" }, "node_modules/yaml": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.0.tgz", - "integrity": "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.1.tgz", + "integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==", "dev": true, "license": "ISC", "bin": { "yaml": "bin.mjs" }, "engines": { - "node": ">= 14" + "node": ">= 14.6" } }, "node_modules/yargs": { @@ -19830,9 +16946,9 @@ } }, "node_modules/yoctocolors-cjs": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz", - "integrity": "sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.3.tgz", + "integrity": "sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==", "dev": true, "license": "MIT", "engines": { @@ -19841,17 +16957,6 @@ "funding": { "url": "https://github.com/sponsors/sindresorhus" } - }, - "node_modules/zwitch": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", - "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } } } } diff --git a/package.json b/package.json index 98bcb391bd..d5fa996007 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,20 @@ "version": "0.0.0-determined-by-semantic-release", "description": "Client for Contentful's Content Management API", "homepage": "https://www.contentful.com/developers/documentation/content-management-api/", - "main": "./dist/contentful-management.node.js", - "browser": "./dist/contentful-management.browser.js", - "types": "./dist/typings/contentful-management.d.ts", - "module": "./dist/es-modules/contentful-management.js", + "type": "module", + "exports": { + ".": { + "types": "./dist/types/index.d.ts", + "require": "./dist/contentful-management.bundle.node.cjs", + "default": "./dist/esm/index.js" + }, + "./dist/contentful-management.bundle.node.cjs": "./dist/contentful-management.bundle.node.cjs", + "./dist/contentful-management.bundle.browser.js": "./dist/contentful-management.bundle.browser.js" + }, + "main": "./dist/esm/index.js", + "types": "dist/types/index.d.ts", "engines": { - "node": ">=18" + "node": ">=20" }, "browserslist": [ ">0.3%", @@ -25,20 +33,23 @@ "license": "MIT", "scripts": { "clean": "rimraf dist", - "build": "npm run clean && npm run build:modules && npm run build:standalone && npm run build:types", - "build:modules": "BABEL_ENV=modules babel --extensions \".ts\" --extensions \".js\" lib -d dist/es-modules/", - "build:standalone": "webpack && NODE_ENV=production webpack", - "build:standalone:log": "NODE_ENV=production WEBPACK_MODE=log webpack --json --profile --progress > webpack-build-log.json && webpack-bundle-analyzer webpack-build-log.json", - "build:types": "rimraf dist/typings && tsc --declaration --noEmit false --emitDeclarationOnly true --allowJs false", + "build": "npm run clean && npm run build:rollup", + "build:rollup": "NODE_ENV=production rollup -c", "build:docs": "typedoc", + "check": "npm run check:cjs && npm run check:esm && npm run check:browser && npm run check:browser-min", + "check:browser": "es-check es2021 ./dist/contentful-management.bundle.browser.js", + "check:browser-min": "es-check es2021 ./dist/contentful-management.bundle.browser.min.js", + "check:cjs": "es-check es2020 './dist/**/*.cjs'", + "check:esm": "es-check es2020 --module './dist/esm/*.js'", "docs:dev": "npm run build:docs", "docs:watch": "nodemon --exec npm run docs:dev -w lib typings", "docs:publish": "npm run build:docs && ./node_modules/contentful-sdk-jsdoc/bin/publish-docs.sh contentful-management.js contentful-management", "lint": "eslint lib test", "pretest": "rimraf coverage && npm run lint", "test": "npm run test:unit:cover && npm run test:types && npm run test:integration:cover && npm run test:size", - "test:unit:cover": "npm run test:unit -- --coverage", "test:unit": "npx vitest --project unit --run", + "test:unit:cover": "npm run test:unit -- --coverage", + "test:cover-integration": "npm run test:integration -- --coverage", "test:types": "npx vitest --project types --run", "test:unit-watch": "npx vitest --project unit", "test:integration": "npx vitest --project integration --run --no-file-parallelism", @@ -60,64 +71,60 @@ "prepublishOnly": "npm run build && npm run test:version" }, "files": [ - "dist", - "types.d.ts" + "dist" ], "dependencies": { "@contentful/rich-text-types": "^16.6.1", "axios": "^1.12.2", - "contentful-sdk-core": "^9.0.1", - "fast-copy": "^3.0.0", - "globals": "^15.15.0" + "contentful-sdk-core": "10.0.0-beta.6", + "fast-copy": "^3.0.2", + "json-patch": "^0.7.0", + "type-fest": "^5.1.0" }, "devDependencies": { - "@babel/cli": "^7.24.6", - "@babel/core": "^7.24.6", - "@babel/node": "^7.13.13", - "@babel/plugin-proposal-class-properties": "^7.12.1", - "@babel/plugin-proposal-export-namespace-from": "^7.12.1", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1", - "@babel/plugin-proposal-object-rest-spread": "^7.12.1", - "@babel/plugin-proposal-optional-chaining": "^7.13.12", - "@babel/preset-env": "^7.24.6", - "@babel/preset-typescript": "^7.24.7", + "@babel/plugin-transform-runtime": "^7.28.5", + "@babel/preset-env": "^7.28.5", "@contentful/integration-test-utils": "^2.0.1", - "@eslint/js": "^9.15.0", - "@semantic-release/changelog": "^6.0.0", - "@size-limit/file": "^11.1.6", - "@types/json-patch": "0.0.30", - "@types/lodash": "^4.14.168", + "@eslint/js": "^9.38.0", + "@playwright/test": "^1.56.1", + "@rollup/plugin-alias": "^5.1.1", + "@rollup/plugin-babel": "^6.1.0", + "@rollup/plugin-commonjs": "^28.0.9", + "@rollup/plugin-json": "^6.1.0", + "@rollup/plugin-node-resolve": "^16.0.3", + "@rollup/plugin-replace": "^6.0.2", + "@rollup/plugin-terser": "^0.4.4", + "@rollup/plugin-typescript": "^12.3.0", + "@semantic-release/changelog": "^6.0.3", + "@size-limit/file": "^11.2.0", + "@types/json-patch": "^0.0.33", + "@types/lodash-es": "^4.17.12", "@types/node": "^20.12.13", - "@vitest/browser": "^2.1.5", - "@vitest/coverage-v8": "^2.1.5", - "babel-loader": "^8.2.1", - "babel-plugin-inline-replace-variables": "^1.3.1", - "babel-plugin-lodash": "^3.3.4", - "contentful-sdk-jsdoc": "3.1.0", + "@vitest/browser": "^2.1.8", + "@vitest/coverage-v8": "^2.1.8", + "contentful-sdk-jsdoc": "3.1.5", "cz-conventional-changelog": "^3.3.0", - "eslint": "^9.15.0", - "express": "^4.21.1", + "es-check": "^7.2.1", + "eslint": "^9.38.0", + "globals": "^16.4.0", "husky": "^9.1.7", - "in-publish": "^2.0.1", - "json-patch": "^0.7.0", "jsonwebtoken": "^9.0.2", "lint-staged": "^15.2.5", - "lodash": "^4.17.20", - "lodash-webpack-plugin": "^0.11.5", - "nodemon": "^3.1.2", - "playwright": "^1.49.0", + "lodash-es": "^4.17.21", + "nodemon": "^3.1.10", + "playwright": "^1.56.1", "prettier": "^3.6.2", + "process": "^0.11.10", "rimraf": "^5.0.0", + "rollup": "^4.52.5", + "rollup-plugin-sourcemaps2": "^0.5.4", + "rollup-plugin-visualizer": "^5.14.0", "semantic-release": "^25.0.2", - "size-limit": "^11.1.6", - "type-fest": "^4.18.3", - "typedoc": "^0.26.2", - "typescript": "^5.6.3", - "typescript-eslint": "^8.16.0", - "vitest": "^2.1.5", - "webpack": "^5.91.0", - "webpack-bundle-analyzer": "^4.9.0", - "webpack-cli": "^5.1.4" + "size-limit": "^11.2.0", + "typedoc": "^0.28.14", + "typescript": "^5.9.3", + "typescript-eslint": "^8.46.2", + "vitest": "^2.1.8" }, "config": { "commitizen": { @@ -172,20 +179,12 @@ }, "size-limit": [ { - "path": "./dist/contentful-management.browser.js", - "limit": "161 kB" - }, - { - "path": "./dist/contentful-management.browser.min.js", - "limit": "70 kB" - }, - { - "path": "./dist/contentful-management.node.js", - "limit": "177 kB" + "path": "./dist/contentful-management.bundle.browser.js", + "limit": "110 kB" }, { - "path": "./dist/contentful-management.node.min.js", - "limit": "88 kB" + "path": "./dist/contentful-management.bundle.browser.min.js", + "limit": "55 kB" } ] -} \ No newline at end of file +} diff --git a/rollup.config.js b/rollup.config.js new file mode 100644 index 0000000000..80d59ed663 --- /dev/null +++ b/rollup.config.js @@ -0,0 +1,219 @@ +import { resolve, dirname } from 'path' +import { fileURLToPath } from 'url' + +import pkg from './package.json' with { type: 'json' } + +import nodeResolve from '@rollup/plugin-node-resolve' +import commonjs from '@rollup/plugin-commonjs' +import json from '@rollup/plugin-json' +import alias from '@rollup/plugin-alias' +import terser from '@rollup/plugin-terser' +import replace from '@rollup/plugin-replace' +import { visualizer } from 'rollup-plugin-visualizer' +import { babel } from '@rollup/plugin-babel' +import typescript from '@rollup/plugin-typescript' +import sourcemaps from 'rollup-plugin-sourcemaps2' + +const __dirname = dirname(fileURLToPath(import.meta.url)) + +const tsPlugin = typescript({ + tsconfig: './tsconfig.json', + declaration: false, + noEmitOnError: true, +}) + +const baseConfig = { + input: 'lib/index.ts', + plugins: [ + tsPlugin, + sourcemaps(), + replace({ + preventAssignment: true, + 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), + __VERSION__: JSON.stringify(pkg.version), + }), + commonjs({ + sourceMap: true, + transformMixedEsModules: true, + ignoreGlobal: true, + ignoreDynamicRequires: true, + requireReturnsDefault: 'auto', + }), + json(), + ], + external: ['axios', 'contentful-sdk-core', 'fast-copy'], +} + +const esmConfig = { + input: 'lib/index.ts', + output: { + dir: 'dist/esm', + format: 'esm', + preserveModules: true, + sourcemap: true, + }, + plugins: [ + tsPlugin, + sourcemaps(), + replace({ + preventAssignment: true, + 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), + __VERSION__: JSON.stringify(pkg.version), + }), + ], + external: baseConfig.external, +} + +const cjsBundleConfig = { + ...baseConfig, + external: [], + output: { + file: 'dist/contentful-management.bundle.node.cjs', + format: 'cjs', + sourcemap: true, + }, + plugins: [ + ...baseConfig.plugins, + nodeResolve({ + preferBuiltins: true, + browser: false, + }), + babel({ + babelHelpers: 'bundled', + presets: [ + [ + '@babel/preset-env', + // Please note: This is set to Node.js v8 in order to satisfy ECMA2017 requirements + // However, we cannot ensure it will operate without issues on Node.js v8 + { targets: { node: 8 }, modules: false, bugfixes: true }, + ], + ], + }), + alias({ + entries: [ + { + find: 'axios', + replacement: resolve(__dirname, './node_modules/axios/dist/node/axios.cjs'), + }, + ], + }), + ], +} + +const browserConfig = { + ...baseConfig, + external: [], + output: { + file: 'dist/contentful-management.bundle.browser.js', + format: 'iife', + name: 'contentfulManagement', + sourcemap: true, + }, + plugins: [ + nodeResolve({ + preferBuiltins: false, + browser: true, + }), + tsPlugin, + sourcemaps(), + alias({ + entries: [ + { + find: 'axios', + replacement: resolve(__dirname, './node_modules/axios/dist/browser/axios.cjs'), + }, + { + find: 'process', + replacement: resolve(__dirname, 'node_modules', 'process/browser'), + }, + ], + }), + ...baseConfig.plugins, + babel({ + babelHelpers: 'runtime', + presets: [ + [ + '@babel/preset-env', + { + targets: pkg.browserslist, + modules: false, + bugfixes: true, + }, + ], + ], + plugins: [ + [ + '@babel/plugin-transform-runtime', + { + regenerator: true, + }, + ], + ], + }), + ], +} + +const browserMinConfig = { + ...browserConfig, + output: { + ...browserConfig.output, + file: 'dist/contentful-management.bundle.browser.min.js', + }, + plugins: [ + ...browserConfig.plugins, + terser({ + compress: { + passes: 5, + ecma: 2018, + drop_console: true, + drop_debugger: true, + sequences: true, + booleans: true, + loops: true, + unused: true, + evaluate: true, + if_return: true, + join_vars: true, + collapse_vars: true, + reduce_vars: true, + pure_getters: true, + pure_new: true, + keep_classnames: false, + keep_fnames: false, + keep_fargs: false, + keep_infinity: false, + }, + format: { + comments: false, + beautify: false, + }, + }), + visualizer({ + emitFile: true, + filename: 'stats-browser-min.html', + }), + ], +} + +// Types build in Rollup +const typesConfig = { + input: 'lib/index.ts', + output: { + dir: 'dist/types', + format: 'esm', + preserveModules: true, + sourcemap: true, + }, + plugins: [ + typescript({ + tsconfig: './tsconfig.json', + outDir: 'dist/types', + declaration: true, + noEmitOnError: true, + emitDeclarationOnly: true, + }), + ], + external: baseConfig.external, +} + +export default [esmConfig, cjsBundleConfig, browserConfig, browserMinConfig, typesConfig] diff --git a/test/helpers.ts b/test/helpers.ts index a432a97b62..ef0de0925f 100644 --- a/test/helpers.ts +++ b/test/helpers.ts @@ -1,6 +1,5 @@ import type { CreateHttpClientParams } from 'contentful-sdk-core' -import * as testUtils from '@contentful/integration-test-utils' -import { createClient } from '../lib/contentful-management' +import { createClient } from '../lib/index.js' import type { BulkActionPayload, BulkActionProps, @@ -9,8 +8,9 @@ import type { Organization, PlainClientAPI, Space, -} from '../lib/contentful-management' -import { TestDefaults } from './defaults' +} from '../lib/index.js' +import { TestDefaults } from './defaults.js' +import * as testUtils from '@contentful/integration-test-utils' import { AsyncActionProcessingOptions, pollAsyncActionStatus } from '../lib/methods/action' type PlainOptions = { @@ -55,7 +55,7 @@ export const initClient = (options: Partial = {}) => { export const defaultClient = initClient({ ...params }) /** - * @returns {import('../lib/contentful-management').PlainClientAPI} + * @returns {import('../lib').PlainClientAPI} */ export const initPlainClient = (defaults = {}) => { return createClient( diff --git a/test/integration/ai-action-integration.test.ts b/test/integration/ai-action-integration.test.ts index 2c898b0865..c02dffc978 100644 --- a/test/integration/ai-action-integration.test.ts +++ b/test/integration/ai-action-integration.test.ts @@ -4,7 +4,7 @@ import { createTestSpace, generateRandomId, timeoutToCalmRateLimiting, -} from '../helpers' +} from '../helpers.js' describe('AiAction api', { sequential: true }, () => { let space diff --git a/test/integration/ai-action-invocation-integration.test.ts b/test/integration/ai-action-invocation-integration.test.ts index b9c82f1dd2..d2bab2fbd4 100644 --- a/test/integration/ai-action-invocation-integration.test.ts +++ b/test/integration/ai-action-invocation-integration.test.ts @@ -4,7 +4,7 @@ import { createTestSpace, generateRandomId, timeoutToCalmRateLimiting, -} from '../helpers' +} from '../helpers.js' export async function pollForCompletedAiActionInvocationResult( environment, diff --git a/test/integration/api-key-integration.test.ts b/test/integration/api-key-integration.test.ts index 62b759aff6..8fe6498249 100644 --- a/test/integration/api-key-integration.test.ts +++ b/test/integration/api-key-integration.test.ts @@ -4,7 +4,7 @@ import { createTestSpace, generateRandomId, timeoutToCalmRateLimiting, -} from '../helpers' +} from '../helpers.js' describe('ApiKey api', { sequential: true }, () => { let space diff --git a/test/integration/app-access-token-integration.test.ts b/test/integration/app-access-token-integration.test.ts index 981b70930e..b8ca9c9238 100644 --- a/test/integration/app-access-token-integration.test.ts +++ b/test/integration/app-access-token-integration.test.ts @@ -5,7 +5,7 @@ import { createAppInstallation, getTestOrganization, timeoutToCalmRateLimiting, -} from '../helpers' +} from '../helpers.js' import { sign } from 'jsonwebtoken' import type { AppDefinition, @@ -14,7 +14,7 @@ import type { Environment, PlainClientAPI, AppKeyProps, -} from '../../lib/contentful-management' +} from '../../lib/index.js' describe('AppAccessToken api', { sequential: true }, () => { let organization: Organization diff --git a/test/integration/app-action-integration.test.ts b/test/integration/app-action-integration.test.ts index b18591001f..7f703bffdb 100644 --- a/test/integration/app-action-integration.test.ts +++ b/test/integration/app-action-integration.test.ts @@ -1,12 +1,12 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' -import type { AppActionProps, PlainClientAPI } from '../../lib/contentful-management' +import type { AppActionProps, PlainClientAPI } from '../../lib/index.js' import { initPlainClient, getTestOrganization, getDefaultSpace, createAppInstallation, timeoutToCalmRateLimiting, -} from '../helpers' +} from '../helpers.js' import { afterEach } from 'node:test' describe('AppAction api', function () { diff --git a/test/integration/app-bundle-integration.test.ts b/test/integration/app-bundle-integration.test.ts index 492e3abd82..3a88595e8e 100644 --- a/test/integration/app-bundle-integration.test.ts +++ b/test/integration/app-bundle-integration.test.ts @@ -1,13 +1,7 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' import { readFileSync } from 'fs' -import { getTestOrganization, getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers' -import type { - Organization, - AppDefinition, - AppUpload, - Space, - Environment, -} from '../../lib/contentful-management' +import { getTestOrganization, getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers.js' +import type { Organization, AppDefinition, AppUpload, Space, Environment } from '../../lib/index.js' describe('AppBundle api', { sequential: true }, () => { let organization: Organization diff --git a/test/integration/app-definition-integration.test.ts b/test/integration/app-definition-integration.test.ts index c71042da31..4e67355063 100644 --- a/test/integration/app-definition-integration.test.ts +++ b/test/integration/app-definition-integration.test.ts @@ -6,13 +6,8 @@ import { createAppInstallation, getDefaultSpace, timeoutToCalmRateLimiting, -} from '../helpers' -import type { - Organization, - Space, - Environment, - AppInstallation, -} from '../../lib/contentful-management' +} from '../helpers.js' +import type { Organization, Space, Environment, AppInstallation } from '../../lib/index.js' describe('AppDefinition api', { sequential: true }, () => { let organization: Organization diff --git a/test/integration/app-details-integration.test.ts b/test/integration/app-details-integration.test.ts index 445607385b..2e8ee3a066 100644 --- a/test/integration/app-details-integration.test.ts +++ b/test/integration/app-details-integration.test.ts @@ -1,11 +1,6 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' -import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import type { - AppIcon, - PlainClientAPI, - Organization, - AppDefinition, -} from '../../lib/contentful-management' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { AppIcon, PlainClientAPI, Organization, AppDefinition } from '../../lib/index.js' describe('AppDetails api', { sequential: true }, () => { let appDefinition: AppDefinition diff --git a/test/integration/app-event-subscription-integration.test.ts b/test/integration/app-event-subscription-integration.test.ts index af18401b84..60a9dbcf4a 100644 --- a/test/integration/app-event-subscription-integration.test.ts +++ b/test/integration/app-event-subscription-integration.test.ts @@ -1,6 +1,6 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' -import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/contentful-management' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/index.js' describe('AppEventSubscription api', { sequential: true }, () => { let appDefinition: AppDefinition diff --git a/test/integration/app-key-integration.test.ts b/test/integration/app-key-integration.test.ts index b604d64e72..459d87f57e 100644 --- a/test/integration/app-key-integration.test.ts +++ b/test/integration/app-key-integration.test.ts @@ -1,6 +1,6 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' -import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/contentful-management' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/index.js' describe('AppKey api', { sequential: true }, () => { let appDefinition: AppDefinition diff --git a/test/integration/app-signed-request-integration.test.ts b/test/integration/app-signed-request-integration.test.ts index b604d64e72..459d87f57e 100644 --- a/test/integration/app-signed-request-integration.test.ts +++ b/test/integration/app-signed-request-integration.test.ts @@ -1,6 +1,6 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' -import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/contentful-management' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/index.js' describe('AppKey api', { sequential: true }, () => { let appDefinition: AppDefinition diff --git a/test/integration/app-signing-secret-integration.test.ts b/test/integration/app-signing-secret-integration.test.ts index e7d9158b69..d33bf5fdfd 100644 --- a/test/integration/app-signing-secret-integration.test.ts +++ b/test/integration/app-signing-secret-integration.test.ts @@ -1,6 +1,6 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' -import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/contentful-management' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/index.js' describe('AppSigningSecret api', { sequential: true }, () => { let appDefinition: AppDefinition diff --git a/test/integration/app-upload-integration.test.ts b/test/integration/app-upload-integration.test.ts index ef27430c1b..940b19807d 100644 --- a/test/integration/app-upload-integration.test.ts +++ b/test/integration/app-upload-integration.test.ts @@ -1,7 +1,7 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' import { readFileSync } from 'fs' -import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import type { Organization } from '../../lib/contentful-management' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { Organization } from '../../lib/index.js' describe('AppUpload api', { sequential: true }, () => { let organization: Organization diff --git a/test/integration/asset-integration.test.ts b/test/integration/asset-integration.test.ts index 02b4ec2847..46d713273b 100644 --- a/test/integration/asset-integration.test.ts +++ b/test/integration/asset-integration.test.ts @@ -9,8 +9,8 @@ import { timeoutToCalmRateLimiting, initPlainClient, getTestOrganizationId, -} from '../helpers' -import type { ConceptProps, Environment, PlainClientAPI, Space } from '../../lib/export-types' +} from '../helpers.js' +import type { ConceptProps, Environment, PlainClientAPI, Space } from '../../lib/export-types.js' describe('Asset API - Read', () => { let space: Space diff --git a/test/integration/asset-key-integration.test.ts b/test/integration/asset-key-integration.test.ts index 285db34359..a557119fe2 100644 --- a/test/integration/asset-key-integration.test.ts +++ b/test/integration/asset-key-integration.test.ts @@ -1,7 +1,7 @@ import { expect, describe, it, beforeAll, afterAll } from 'vitest' -import { getDefaultSpace, getSpecialSpace, timeoutToCalmRateLimiting } from '../helpers' +import { getDefaultSpace, getSpecialSpace, timeoutToCalmRateLimiting } from '../helpers.js' -import { ValidationError } from '../../lib/adapters/REST/endpoints/asset-key' +import { ValidationError } from '../../lib/adapters/REST/endpoints/asset-key.js' export const now = () => Math.floor(Date.now() / 1000) export const withExpiryIn1Hour = () => now() + 1 * 60 * 60 diff --git a/test/integration/bulk-action-integration.test.ts b/test/integration/bulk-action-integration.test.ts index 76fafa76fe..7a0c3e2278 100644 --- a/test/integration/bulk-action-integration.test.ts +++ b/test/integration/bulk-action-integration.test.ts @@ -1,27 +1,27 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ import { expect, describe, it, beforeAll, vi, afterAll } from 'vitest' -import { cloneDeep } from 'lodash' +import cloneDeep from 'lodash/cloneDeep' import type { BulkActionPublishPayload, BulkActionUnpublishPayload, BulkActionValidatePayload, - UnpublishBulkActionV2Payload, -} from '../../lib/contentful-management' -import type { Environment, Space } from '../../lib/contentful-management' -import { TestDefaults } from '../defaults' +} from '../../lib/index.js' +import type { Environment, Space, UnpublishBulkActionV2Payload } from '../../lib/index.js' +import { TestDefaults } from '../defaults.js' import { getDefaultSpace, initPlainClient, timeoutToCalmRateLimiting, waitForBulkActionProcessing, waitForBulkActionV2Processing, -} from '../helpers' -import { makeLink, makeVersionedLink } from '../utils' +} from '../helpers.js' +import { makeLink, makeVersionedLink } from '../utils.js' + import { BulkActionStatus, PublishBulkActionV2Payload, ValidateBulkActionV2Payload, -} from '../../lib/entities/bulk-action' +} from '../../lib/entities/bulk-action.js' describe('BulkActions Api v1', () => { let testSpace: Space diff --git a/test/integration/comment-integration.test.ts b/test/integration/comment-integration.test.ts index d3caf36798..adc4b42150 100644 --- a/test/integration/comment-integration.test.ts +++ b/test/integration/comment-integration.test.ts @@ -5,8 +5,14 @@ import { createTestSpace, initPlainClient, timeoutToCalmRateLimiting, -} from '../helpers' -import type { ContentType, Entry, Environment, PlainClientAPI, Space } from '../../lib/export-types' +} from '../helpers.js' +import type { + ContentType, + Entry, + Environment, + PlainClientAPI, + Space, +} from '../../lib/export-types.js' describe('Comment Api', () => { let plainClient: PlainClientAPI diff --git a/test/integration/content-type-integration.test.ts b/test/integration/content-type-integration.test.ts index 5f67d58473..58a5bbcbd2 100644 --- a/test/integration/content-type-integration.test.ts +++ b/test/integration/content-type-integration.test.ts @@ -6,8 +6,8 @@ import { generateRandomId, getDefaultSpace, timeoutToCalmRateLimiting, -} from '../helpers' -import type { Environment, ContentType, Space } from '../../lib/export-types' +} from '../helpers.js' +import type { Environment, ContentType, Space } from '../../lib/export-types.js' describe('ContentType Api', () => { let readSpace: Space diff --git a/test/integration/entry-integration.test.ts b/test/integration/entry-integration.test.ts index cfcd9b8f0a..e39f964e52 100644 --- a/test/integration/entry-integration.test.ts +++ b/test/integration/entry-integration.test.ts @@ -9,7 +9,7 @@ import { waitForEnvironmentToBeReady, getTestOrganizationId, timeoutToCalmRateLimiting, -} from '../helpers' +} from '../helpers.js' import type { ConceptProps, ContentType, @@ -18,14 +18,14 @@ import type { PlainClientAPI, ReleaseProps, Space, -} from '../../lib/export-types' -import { TestDefaults } from '../defaults' +} from '../../lib/export-types.js' +import { TestDefaults } from '../defaults.js' import { createEmptyRelease, createTestEntry, updateReleaseWithEntries, updateReleaseEntryTitle, -} from './utils/release-entry.utils' +} from './utils/release-entry.utils.js' describe('Entry Api', () => { afterAll(async () => await timeoutToCalmRateLimiting()) diff --git a/test/integration/entry-references-integration.test.ts b/test/integration/entry-references-integration.test.ts index c36883692d..f9347da4eb 100644 --- a/test/integration/entry-references-integration.test.ts +++ b/test/integration/entry-references-integration.test.ts @@ -1,9 +1,9 @@ import { expect, describe, it, beforeAll, afterAll } from 'vitest' -import type { PlainClientAPI } from '../../lib/contentful-management' -import type { Environment } from '../../lib/entities/environment' -import type { Space } from '../../lib/entities/space' -import { TestDefaults } from '../defaults' -import { getDefaultSpace, initPlainClient, timeoutToCalmRateLimiting } from '../helpers' +import type { PlainClientAPI } from '../../lib/index.js' +import type { Environment } from '../../lib/entities/environment.js' +import type { Space } from '../../lib/entities/space.js' +import { TestDefaults } from '../defaults.js' +import { getDefaultSpace, initPlainClient, timeoutToCalmRateLimiting } from '../helpers.js' const WRONG_ENTRY_ID = '123123XD' diff --git a/test/integration/environment-alias-integration.test.ts b/test/integration/environment-alias-integration.test.ts index c666320d86..ab07745e92 100644 --- a/test/integration/environment-alias-integration.test.ts +++ b/test/integration/environment-alias-integration.test.ts @@ -1,6 +1,6 @@ import { describe, it, beforeAll, afterAll, expect } from 'vitest' -import { getSpecialSpace, timeoutToCalmRateLimiting } from '../helpers' -import type { Space } from '../../lib/export-types' +import { getSpecialSpace, timeoutToCalmRateLimiting } from '../helpers.js' +import type { Space } from '../../lib/export-types.js' describe('EnvironmentAlias API', () => { describe('read', () => { diff --git a/test/integration/environment-integration.test.ts b/test/integration/environment-integration.test.ts index fc83aae388..a5fc44a4d5 100644 --- a/test/integration/environment-integration.test.ts +++ b/test/integration/environment-integration.test.ts @@ -7,7 +7,7 @@ import { getTestOrganization, getDefaultSpace, timeoutToCalmRateLimiting, -} from '../helpers' +} from '../helpers.js' import { readFileSync } from 'fs' import type { Space, @@ -19,7 +19,7 @@ import type { AppInstallation, ResourceProvider, ResourceType, -} from '../../lib/export-types' +} from '../../lib/export-types.js' describe('Environment Api', () => { let space: Space diff --git a/test/integration/environment-template-integration.test.ts b/test/integration/environment-template-integration.test.ts index 4a5ad206f3..8b5dbf5e34 100644 --- a/test/integration/environment-template-integration.test.ts +++ b/test/integration/environment-template-integration.test.ts @@ -1,5 +1,5 @@ import { afterAll, beforeAll, describe, it, afterEach, expect } from 'vitest' -import type { ClientAPI } from '../../lib/create-contentful-api' +import type { ClientAPI } from '../../lib/create-contentful-api.js' import { defaultClient, getTestOrganizationId, @@ -8,18 +8,18 @@ import { generateRandomId, baseEnvironmentTemplateDescription, timeoutToCalmRateLimiting, -} from '../helpers' +} from '../helpers.js' import type { CreateEnvironmentTemplateProps, Environment, EnvironmentTemplate, EnvironmentTemplateInstallationProps, Space, -} from '../../lib/export-types' +} from '../../lib/export-types.js' type InstallTemplate = (versionsCount?: number) => Promise -describe('Environment template API', () => { +describe.skip('Environment template API', () => { const client = defaultClient const orgId = getTestOrganizationId() const templateDescription = `${baseEnvironmentTemplateDescription} ${generateRandomId()}` diff --git a/test/integration/locale-integration.test.ts b/test/integration/locale-integration.test.ts index 5d65c3320f..95b9b56ffb 100644 --- a/test/integration/locale-integration.test.ts +++ b/test/integration/locale-integration.test.ts @@ -4,8 +4,8 @@ import { createTestEnvironment, createTestSpace, timeoutToCalmRateLimiting, -} from '../helpers' -import type { Space, Environment } from '../../lib/export-types' +} from '../helpers.js' +import type { Space, Environment } from '../../lib/export-types.js' describe('Locale API', () => { let space: Space diff --git a/test/integration/org-team-space-membership-integration.test.ts b/test/integration/org-team-space-membership-integration.test.ts index 6792674338..f634d364bd 100644 --- a/test/integration/org-team-space-membership-integration.test.ts +++ b/test/integration/org-team-space-membership-integration.test.ts @@ -1,7 +1,7 @@ import { beforeAll, describe, it, expect, afterAll } from 'vitest' -import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import { TestDefaults } from '../defaults' -import type { Organization } from '../../lib/export-types' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import { TestDefaults } from '../defaults.js' +import type { Organization } from '../../lib/export-types.js' const { teamId, teamSpaceMembershipId } = TestDefaults diff --git a/test/integration/organization-integration.test.ts b/test/integration/organization-integration.test.ts index 859153ab0d..8006fcde3b 100644 --- a/test/integration/organization-integration.test.ts +++ b/test/integration/organization-integration.test.ts @@ -1,11 +1,11 @@ import { describe, test, expect, afterAll } from 'vitest' -import { TestDefaults } from '../defaults' +import { TestDefaults } from '../defaults.js' import { initPlainClient, defaultClient, getTestOrganization, timeoutToCalmRateLimiting, -} from '../helpers' +} from '../helpers.js' describe('Organization API', async function () { afterAll(timeoutToCalmRateLimiting) diff --git a/test/integration/organization-invitation.test.ts b/test/integration/organization-invitation.test.ts index 2023fa632b..97d106d9ba 100644 --- a/test/integration/organization-invitation.test.ts +++ b/test/integration/organization-invitation.test.ts @@ -1,6 +1,6 @@ import { beforeAll, describe, test, expect, afterAll } from 'vitest' -import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import type { Organization } from '../../lib/export-types' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { Organization } from '../../lib/export-types.js' describe('OrganizationMembership Invitation API', () => { let organization: Organization diff --git a/test/integration/organization-membership-integration.test.ts b/test/integration/organization-membership-integration.test.ts index c4f3ea6ace..b88343f94d 100644 --- a/test/integration/organization-membership-integration.test.ts +++ b/test/integration/organization-membership-integration.test.ts @@ -1,7 +1,7 @@ import { beforeAll, describe, test, expect } from 'vitest' -import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import type { Organization } from '../../lib/export-types' -import { TestDefaults } from '../defaults' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { Organization } from '../../lib/export-types.js' +import { TestDefaults } from '../defaults.js' const { organizationMembershipId } = TestDefaults diff --git a/test/integration/organization-space-membership-integration.test.ts b/test/integration/organization-space-membership-integration.test.ts index 8fc34b2442..4e93df036b 100644 --- a/test/integration/organization-space-membership-integration.test.ts +++ b/test/integration/organization-space-membership-integration.test.ts @@ -1,7 +1,7 @@ import { beforeAll, describe, test, expect, afterAll } from 'vitest' -import type { Organization } from '../../lib/export-types' -import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import { TestDefaults } from '../defaults' +import type { Organization } from '../../lib/export-types.js' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import { TestDefaults } from '../defaults.js' const { organizationSpaceMembershipId } = TestDefaults diff --git a/test/integration/plain-client.test.ts b/test/integration/plain-client.test.ts index 66bd406f09..e6a12aefa4 100644 --- a/test/integration/plain-client.test.ts +++ b/test/integration/plain-client.test.ts @@ -6,8 +6,8 @@ import { generateRandomId, getDefaultSpace, timeoutToCalmRateLimiting, -} from '../helpers' -import type { Environment, ContentType, Space } from '../../lib/export-types' +} from '../helpers.js' +import type { Environment, ContentType, Space } from '../../lib/export-types.js' describe('ContentType Api', () => { let readSpace: Space diff --git a/test/integration/preview-api-key-integration.test.ts b/test/integration/preview-api-key-integration.test.ts index f39402b11f..89b0c46372 100644 --- a/test/integration/preview-api-key-integration.test.ts +++ b/test/integration/preview-api-key-integration.test.ts @@ -1,6 +1,6 @@ import { expect, beforeAll, describe, test, afterAll } from 'vitest' -import { getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers' -import type { Space } from '../../lib/export-types' +import { getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers.js' +import type { Space } from '../../lib/export-types.js' describe('PreviewApiKeys Api', () => { let space: Space diff --git a/test/integration/release-action-integration.test.ts b/test/integration/release-action-integration.test.ts index 35e0fd094b..47f37defcd 100644 --- a/test/integration/release-action-integration.test.ts +++ b/test/integration/release-action-integration.test.ts @@ -1,16 +1,16 @@ import { beforeAll, afterAll, describe, test, expect } from 'vitest' -import type { Environment, PlainClientAPI } from '../../lib/export-types' -import type { Release, ReleasePayload } from '../../lib/entities/release' -import type { ReleaseAction } from '../../lib/entities/release-action' -import type { Space } from '../../lib/export-types' -import { TestDefaults } from '../defaults' +import type { Environment, PlainClientAPI } from '../../lib/export-types.js' +import type { Release, ReleasePayload } from '../../lib/entities/release.js' +import type { ReleaseAction } from '../../lib/entities/release-action.js' +import type { Space } from '../../lib/export-types.js' +import { TestDefaults } from '../defaults.js' import { createTestSpace, defaultClient, initPlainClient, timeoutToCalmRateLimiting, -} from '../helpers' -import { makeLink } from '../utils' +} from '../helpers.js' +import { makeLink } from '../utils.js' describe('ReleaseAction Api', () => { let testSpace: Space diff --git a/test/integration/release-integration.test.ts b/test/integration/release-integration.test.ts index ca05c1814f..2d88a7c537 100644 --- a/test/integration/release-integration.test.ts +++ b/test/integration/release-integration.test.ts @@ -1,14 +1,14 @@ import { describe, it, beforeAll, afterAll, expect } from 'vitest' -import type { Environment, Space } from '../../lib/export-types' -import { waitForReleaseActionProcessing } from '../../lib/methods/release-action' -import { TestDefaults } from '../defaults' +import type { Environment, Space } from '../../lib/export-types.js' +import { waitForReleaseActionProcessing } from '../../lib/methods/release-action.js' +import { TestDefaults } from '../defaults.js' import { createTestSpace, initPlainClient, defaultClient, timeoutToCalmRateLimiting, -} from '../helpers' -import { makeLink } from '../utils' +} from '../helpers.js' +import { makeLink } from '../utils.js' describe('Release Api', () => { let testSpace: Space diff --git a/test/integration/resource-integration.test.ts b/test/integration/resource-integration.test.ts index 4381252a47..7dfa540001 100644 --- a/test/integration/resource-integration.test.ts +++ b/test/integration/resource-integration.test.ts @@ -5,18 +5,18 @@ import { initPlainClient, getDefaultSpace, timeoutToCalmRateLimiting, -} from '../helpers' -import type { Organization } from '../../lib/entities/organization' -import type { AppDefinition } from '../../lib/entities/app-definition' -import type { AppUpload } from '../../lib/entities/app-upload' -import type { AppBundle } from '../../lib/entities/app-bundle' +} from '../helpers.js' +import type { Organization } from '../../lib/entities/organization.js' +import type { AppDefinition } from '../../lib/entities/app-definition.js' +import type { AppUpload } from '../../lib/entities/app-upload.js' +import type { AppBundle } from '../../lib/entities/app-bundle.js' import type { AppInstallation, Environment, ResourceProvider, ResourceType, -} from '../../lib/export-types' -import { TestDefaults } from '../defaults' +} from '../../lib/export-types.js' +import { TestDefaults } from '../defaults.js' describe('Resource API', () => { const resourceTypeId = 'TMDB:Movie' diff --git a/test/integration/resource-provider-integration.test.ts b/test/integration/resource-provider-integration.test.ts index 6148e841ac..a82953bc0e 100644 --- a/test/integration/resource-provider-integration.test.ts +++ b/test/integration/resource-provider-integration.test.ts @@ -1,11 +1,11 @@ import { describe, it, beforeEach, afterEach, expect, beforeAll } from 'vitest' import { readFileSync } from 'fs' -import { getTestOrganization, initPlainClient, timeoutToCalmRateLimiting } from '../helpers' -import type { Organization } from '../../lib/entities/organization' -import type { AppDefinition } from '../../lib/entities/app-definition' -import type { AppUpload } from '../../lib/entities/app-upload' -import type { AppBundle } from '../../lib/entities/app-bundle' -import type { PlainClientAPI } from '../../lib/export-types' +import { getTestOrganization, initPlainClient, timeoutToCalmRateLimiting } from '../helpers.js' +import type { Organization } from '../../lib/entities/organization.js' +import type { AppDefinition } from '../../lib/entities/app-definition.js' +import type { AppUpload } from '../../lib/entities/app-upload.js' +import type { AppBundle } from '../../lib/entities/app-bundle.js' +import type { PlainClientAPI } from '../../lib/export-types.js' describe('ResourceProvider API', () => { const functionManifest = { diff --git a/test/integration/resource-type-integration.test.ts b/test/integration/resource-type-integration.test.ts index bf6354fbba..f2f6a967d8 100644 --- a/test/integration/resource-type-integration.test.ts +++ b/test/integration/resource-type-integration.test.ts @@ -1,18 +1,18 @@ import { describe, it, beforeAll, beforeEach, afterEach, afterAll, expect } from 'vitest' import { readFileSync } from 'fs' -import { getTestOrganization, initPlainClient, timeoutToCalmRateLimiting } from '../helpers' -import type { Organization } from '../../lib/entities/organization' -import type { AppDefinition } from '../../lib/entities/app-definition' -import type { AppUpload } from '../../lib/entities/app-upload' -import type { AppBundle } from '../../lib/entities/app-bundle' +import { getTestOrganization, initPlainClient, timeoutToCalmRateLimiting } from '../helpers.js' +import type { Organization } from '../../lib/entities/organization.js' +import type { AppDefinition } from '../../lib/entities/app-definition.js' +import type { AppUpload } from '../../lib/entities/app-upload.js' +import type { AppBundle } from '../../lib/entities/app-bundle.js' import type { AppInstallationProps, PlainClientAPI, ResourceProvider, ResourceType, ResourceTypeProps, -} from '../../lib/export-types' -import { TestDefaults } from '../defaults' +} from '../../lib/export-types.js' +import { TestDefaults } from '../defaults.js' describe('ResourceType API', () => { const functionManifest = { diff --git a/test/integration/role-integration.test.ts b/test/integration/role-integration.test.ts index f85eef5e1b..bc3872eeea 100644 --- a/test/integration/role-integration.test.ts +++ b/test/integration/role-integration.test.ts @@ -1,11 +1,11 @@ -import type { Organization, RoleProps, Space } from '../../lib/export-types' +import type { Organization, RoleProps, Space } from '../../lib/export-types.js' import { defaultClient, createTestSpace, generateRandomId, getTestOrganization, timeoutToCalmRateLimiting, -} from '../helpers' +} from '../helpers.js' import { beforeAll, afterAll, describe, it, expect } from 'vitest' const roleDefinition: Omit = { diff --git a/test/integration/scheduled-action-integration.test.ts b/test/integration/scheduled-action-integration.test.ts index 87a9c824f2..e44b569889 100644 --- a/test/integration/scheduled-action-integration.test.ts +++ b/test/integration/scheduled-action-integration.test.ts @@ -1,15 +1,15 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ import { describe, it, beforeAll, afterAll, beforeEach, afterEach } from 'vitest' import { expect } from 'vitest' -import type { Asset } from '../../lib/entities/asset' -import type { Entry } from '../../lib/entities/entry' -import type { Environment } from '../../lib/entities/environment' -import type { Space } from '../../lib/entities/space' -import type { ContentType, ContentTypeMetadata } from '../../lib/export-types' -import { ScheduledActionReferenceFilters } from '../../lib/export-types' -import { TestDefaults } from '../defaults' -import { getDefaultSpace, initPlainClient, timeoutToCalmRateLimiting } from '../helpers' -import { makeLink } from '../utils' +import type { Asset } from '../../lib/entities/asset.js' +import type { Entry } from '../../lib/entities/entry.js' +import type { Environment } from '../../lib/entities/environment.js' +import type { Space } from '../../lib/entities/space.js' +import type { ContentType, ContentTypeMetadata } from '../../lib/export-types.js' +import { ScheduledActionReferenceFilters } from '../../lib/export-types.js' +import { TestDefaults } from '../defaults.js' +import { getDefaultSpace, initPlainClient, timeoutToCalmRateLimiting } from '../helpers.js' +import { makeLink } from '../utils.js' const ONE_DAY_MS = 3600 * 1000 * 24 diff --git a/test/integration/space-integration.test.ts b/test/integration/space-integration.test.ts index 111c129cd1..9f7375b15e 100644 --- a/test/integration/space-integration.test.ts +++ b/test/integration/space-integration.test.ts @@ -1,7 +1,7 @@ import { describe, it, beforeAll, afterAll } from 'vitest' import { expect } from 'vitest' -import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import type { Organization } from '../../lib/export-types' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { Organization } from '../../lib/export-types.js' describe('Space API', () => { let organization: Organization diff --git a/test/integration/space-member-integration.test.ts b/test/integration/space-member-integration.test.ts index e868430b31..99ac2e891a 100644 --- a/test/integration/space-member-integration.test.ts +++ b/test/integration/space-member-integration.test.ts @@ -1,8 +1,8 @@ import { describe, it, beforeAll, afterAll } from 'vitest' import { expect } from 'vitest' -import { getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers' -import { TestDefaults } from '../defaults' -import type { Space } from '../../lib/export-types' +import { getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers.js' +import { TestDefaults } from '../defaults.js' +import type { Space } from '../../lib/export-types.js' const { spaceId, userId } = TestDefaults diff --git a/test/integration/space-membership-integration.test.ts b/test/integration/space-membership-integration.test.ts index c681847743..fcbcd353a7 100644 --- a/test/integration/space-membership-integration.test.ts +++ b/test/integration/space-membership-integration.test.ts @@ -5,9 +5,9 @@ import { createTestSpace, generateRandomId, timeoutToCalmRateLimiting, -} from '../helpers' -import { TestDefaults } from '../defaults' -import type { Space } from '../../lib/export-types' +} from '../helpers.js' +import { TestDefaults } from '../defaults.js' +import type { Space } from '../../lib/export-types.js' const { userEmail } = TestDefaults diff --git a/test/integration/space-team-integration.test.ts b/test/integration/space-team-integration.test.ts index d445af6306..164e1a3aaf 100644 --- a/test/integration/space-team-integration.test.ts +++ b/test/integration/space-team-integration.test.ts @@ -1,7 +1,7 @@ import { describe, it, beforeAll, afterAll } from 'vitest' import { expect } from 'vitest' -import { getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers' -import type { Space } from '../../lib/export-types' +import { getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers.js' +import type { Space } from '../../lib/export-types.js' describe('SpaceTeam API', () => { let space: Space diff --git a/test/integration/space-user-integration.test.ts b/test/integration/space-user-integration.test.ts index 8d55196cad..0fbb92bf8f 100644 --- a/test/integration/space-user-integration.test.ts +++ b/test/integration/space-user-integration.test.ts @@ -1,8 +1,8 @@ import { describe, it, beforeAll, afterAll } from 'vitest' import { expect } from 'vitest' -import { getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers' -import { TestDefaults } from '../defaults' -import type { Space } from '../../lib/export-types' +import { getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers.js' +import { TestDefaults } from '../defaults.js' +import type { Space } from '../../lib/export-types.js' const { userId } = TestDefaults diff --git a/test/integration/tag-integration.test.ts b/test/integration/tag-integration.test.ts index de4aa1f58c..7bf929f0bd 100644 --- a/test/integration/tag-integration.test.ts +++ b/test/integration/tag-integration.test.ts @@ -5,8 +5,8 @@ import { generateRandomId, createTestSpace, timeoutToCalmRateLimiting, -} from '../helpers' -import type { Space, Environment, Tag, Link } from '../../lib/export-types' +} from '../helpers.js' +import type { Space, Environment, Tag, Link } from '../../lib/export-types.js' function randomTagId(): string { return generateRandomId('test-tag') diff --git a/test/integration/task-integration.test.ts b/test/integration/task-integration.test.ts index 44c9fa293f..aee64ea1dd 100644 --- a/test/integration/task-integration.test.ts +++ b/test/integration/task-integration.test.ts @@ -6,8 +6,8 @@ import { getTestUser, waitForEnvironmentToBeReady, timeoutToCalmRateLimiting, -} from '../helpers' -import type { Space, Environment, Entry, Task, Link } from '../../lib/export-types' +} from '../helpers.js' +import type { Space, Environment, Entry, Task, Link } from '../../lib/export-types.js' describe('Task API', () => { let space: Space diff --git a/test/integration/taxonomy-integration.test.ts b/test/integration/taxonomy-integration.test.ts index fa99c843c1..c5554fc7c4 100644 --- a/test/integration/taxonomy-integration.test.ts +++ b/test/integration/taxonomy-integration.test.ts @@ -1,7 +1,7 @@ import { describe, it, beforeEach, afterEach, expect, afterAll } from 'vitest' -import type { ConceptProps, CreateConceptProps } from '../../lib/entities/concept' -import type { ConceptSchemeProps, CreateConceptSchemeProps } from '../../lib/export-types' -import { getTestOrganizationId, initPlainClient, timeoutToCalmRateLimiting } from '../helpers' +import type { ConceptProps, CreateConceptProps } from '../../lib/entities/concept.js' +import type { ConceptSchemeProps, CreateConceptSchemeProps } from '../../lib/export-types.js' +import { getTestOrganizationId, initPlainClient, timeoutToCalmRateLimiting } from '../helpers.js' let conceptsToDelete: ConceptProps[] = [] let conceptSchemesToDelete: ConceptSchemeProps[] = [] @@ -126,36 +126,6 @@ describe('Taxonomy Integration', () => { expect(result.scopeNote['en-US']).toEqual('Scope Note') }) - it('creates and updates a concept', async () => { - const concept: CreateConceptProps = { - prefLabel: { - 'en-US': 'Test Concept', - }, - } - const result = await client.concept.create({}, concept) - isConceptProps(result) - expect(result.prefLabel['en-US']).toBe('Test Concept') - expect(result.uri).toBeNull() - conceptsToDelete.push(result) - - const updatedConcept = await client.concept.update( - { - version: result.sys.version, - conceptId: result.sys.id, - }, - [ - { - path: '/uri', - op: 'replace', - value: 'https://example.com/concept', - }, - ], - ) - - isConceptProps(updatedConcept) - expect(updatedConcept.uri).toBe('https://example.com/concept') - }) - it('create and update a concept - patch', async () => { const concept: CreateConceptProps = { prefLabel: { @@ -186,33 +156,6 @@ describe('Taxonomy Integration', () => { expect(updatedConcept.uri).to.eql('https://example.com/concept') }) - it('create and update a concept - put', async () => { - const concept: CreateConceptProps = { - prefLabel: { - 'en-US': 'Test Concept', - }, - } - const result = await client.concept.create({}, concept) - isConceptProps(result) - expect(result.prefLabel['en-US']).to.equal('Test Concept') - expect(result.uri).to.null - conceptsToDelete.push(result) - - const updatedConcept = await client.concept.updatePut( - { - version: result.sys.version, - conceptId: result.sys.id, - }, - { - ...concept, - uri: 'https://example.com/concept', - }, - ) - - isConceptProps(updatedConcept) - expect(updatedConcept.uri).to.eql('https://example.com/concept') - }) - it('concept getTotal', async () => { await Promise.all( Array(3) @@ -438,36 +381,6 @@ describe('Taxonomy Integration', () => { expect(result.definition['en-US']).toBe('Definition') }) - it('creates and updates a concept scheme', async () => { - const conceptScheme: CreateConceptSchemeProps = { - prefLabel: { - 'en-US': 'Test ConceptScheme', - }, - } - const result = await client.conceptScheme.create({}, conceptScheme) - isConceptSchemeProps(result) - expect(result.prefLabel['en-US']).toBe('Test ConceptScheme') - expect(result.uri).toBeNull() - conceptSchemesToDelete.push(result) - - const updatedConceptScheme = await client.conceptScheme.update( - { - version: result.sys.version, - conceptSchemeId: result.sys.id, - }, - [ - { - path: '/uri', - op: 'replace', - value: 'https://example.com/updatedConceptScheme', - }, - ], - ) - - isConceptSchemeProps(updatedConceptScheme) - expect(updatedConceptScheme.uri).toBe('https://example.com/updatedConceptScheme') - }) - it('create and update a conceptScheme - patch', async () => { const conceptScheme: CreateConceptSchemeProps = { prefLabel: { @@ -498,33 +411,6 @@ describe('Taxonomy Integration', () => { expect(updatedConceptScheme.uri).to.eql('https://example.com/updatedConceptScheme') }) - it('create and update a conceptScheme - put', async () => { - const conceptScheme: CreateConceptSchemeProps = { - prefLabel: { - 'en-US': 'Test ConceptScheme', - }, - } - const result = await client.conceptScheme.create({}, conceptScheme) - isConceptSchemeProps(result) - expect(result.prefLabel['en-US']).to.equal('Test ConceptScheme') - expect(result.uri).to.null - conceptSchemesToDelete.push(result) - - const updatedConceptScheme = await client.conceptScheme.updatePut( - { - version: result.sys.version, - conceptSchemeId: result.sys.id, - }, - { - ...conceptScheme, - uri: 'https://example.com/updatedConceptScheme', - }, - ) - - isConceptSchemeProps(updatedConceptScheme) - expect(updatedConceptScheme.uri).to.eql('https://example.com/updatedConceptScheme') - }) - it('conceptScheme getTotal', async () => { await Promise.all( Array(3) diff --git a/test/integration/team-integration.test.ts b/test/integration/team-integration.test.ts index 8f845a5ea3..c872d01862 100644 --- a/test/integration/team-integration.test.ts +++ b/test/integration/team-integration.test.ts @@ -1,7 +1,7 @@ import { describe, it, beforeAll, expect, afterAll } from 'vitest' -import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import { TestDefaults } from '../defaults' -import type { Organization } from '../../lib/export-types' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import { TestDefaults } from '../defaults.js' +import type { Organization } from '../../lib/export-types.js' const { teamId, teamName } = TestDefaults diff --git a/test/integration/team-membership-integration.test.ts b/test/integration/team-membership-integration.test.ts index 61b9b5510a..cd89f8b30c 100644 --- a/test/integration/team-membership-integration.test.ts +++ b/test/integration/team-membership-integration.test.ts @@ -1,7 +1,7 @@ import { describe, it, beforeAll, expect, afterAll } from 'vitest' -import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import { TestDefaults } from '../defaults' -import type { Organization } from '../../lib/export-types' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import { TestDefaults } from '../defaults.js' +import type { Organization } from '../../lib/export-types.js' const { teamId, teamMembershipId, organizationMembershipId2 } = TestDefaults diff --git a/test/integration/team-space-membership-integration.test.ts b/test/integration/team-space-membership-integration.test.ts index a89831d27b..3df9451379 100644 --- a/test/integration/team-space-membership-integration.test.ts +++ b/test/integration/team-space-membership-integration.test.ts @@ -1,7 +1,7 @@ import { describe, it, beforeAll, afterAll, expect } from 'vitest' -import { defaultClient, createTestSpace, timeoutToCalmRateLimiting } from '../helpers' -import { TestDefaults } from '../defaults' -import type { Space, Link } from '../../lib/export-types' +import { defaultClient, createTestSpace, timeoutToCalmRateLimiting } from '../helpers.js' +import { TestDefaults } from '../defaults.js' +import type { Space, Link } from '../../lib/export-types.js' const { teamId } = TestDefaults diff --git a/test/integration/ui-extension-integration.test.ts b/test/integration/ui-extension-integration.test.ts index a2a38553a9..2762ddda26 100644 --- a/test/integration/ui-extension-integration.test.ts +++ b/test/integration/ui-extension-integration.test.ts @@ -4,8 +4,8 @@ import { createTestEnvironment, createTestSpace, timeoutToCalmRateLimiting, -} from '../helpers' -import type { Space, Environment } from '../../lib/export-types' +} from '../helpers.js' +import type { Space, Environment } from '../../lib/export-types.js' describe('Extension API', () => { let space: Space diff --git a/test/integration/upload-credential.test.ts b/test/integration/upload-credential.test.ts index 03e70bc3cb..12c734b578 100644 --- a/test/integration/upload-credential.test.ts +++ b/test/integration/upload-credential.test.ts @@ -1,12 +1,12 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' -import type { Environment, PlainClientAPI, Space } from '../../lib/export-types' +import type { Environment, PlainClientAPI, Space } from '../../lib/export-types.js' import { createTestEnvironment, createTestSpace, initClient, initPlainClient, waitForEnvironmentToBeReady, -} from '../helpers' +} from '../helpers.js' describe('Upload Credential Integration', () => { let space: Space diff --git a/test/integration/user-integration.test.ts b/test/integration/user-integration.test.ts index f3b7fe648d..7110c42d1f 100644 --- a/test/integration/user-integration.test.ts +++ b/test/integration/user-integration.test.ts @@ -1,7 +1,7 @@ import { describe, it, beforeAll, expect, afterAll } from 'vitest' -import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import { TestDefaults } from '../defaults' -import type { Organization } from '../../lib/export-types' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import { TestDefaults } from '../defaults.js' +import type { Organization } from '../../lib/export-types.js' const { userId } = TestDefaults diff --git a/test/integration/webhook-integration.test.ts b/test/integration/webhook-integration.test.ts index 8e3574483f..61c55256ed 100644 --- a/test/integration/webhook-integration.test.ts +++ b/test/integration/webhook-integration.test.ts @@ -1,7 +1,7 @@ import { describe, it, beforeAll, afterAll, expect } from 'vitest' -import { defaultClient, createTestSpace, timeoutToCalmRateLimiting } from '../helpers' -import type { Space } from '../../lib/export-types' -import type { WebhookRetryPolicyProps } from '../../lib/entities/webhook' +import { defaultClient, createTestSpace, timeoutToCalmRateLimiting } from '../helpers.js' +import type { Space } from '../../lib/export-types.js' +import type { WebhookRetryPolicyProps } from '../../lib/entities/webhook.js' describe('Webhook API', () => { let space: Space diff --git a/test/integration/workflow-integration.test.ts b/test/integration/workflow-integration.test.ts index 762556093b..1475bda740 100644 --- a/test/integration/workflow-integration.test.ts +++ b/test/integration/workflow-integration.test.ts @@ -5,7 +5,7 @@ import { createTestSpace, initPlainClient, timeoutToCalmRateLimiting, -} from '../helpers' +} from '../helpers.js' import type { ContentType, Entry, @@ -13,8 +13,8 @@ import type { PlainClientAPI, Space, WorkflowDefinitionProps, -} from '../../lib/export-types' -import { makeLink } from '../utils' +} from '../../lib/export-types.js' +import { makeLink } from '../utils.js' describe('Workflow Api', () => { let plainClient: PlainClientAPI diff --git a/test/output-integration/browser/package.json b/test/output-integration/browser/package.json index ffd2958e56..2851189423 100644 --- a/test/output-integration/browser/package.json +++ b/test/output-integration/browser/package.json @@ -8,7 +8,7 @@ "test": "vitest --run", "dev": "npx serve public", "preinstall": "npm run preinstall:bundle && npm run preinstall:env", - "preinstall:bundle": "cp ../../../dist/contentful-management.browser.min.js ./public/.", + "preinstall:bundle": "cp ../../../dist/contentful-management.bundle.browser.min.js ./public/.", "preinstall:env": "node scripts/inject-env.js" }, "author": "", diff --git a/test/output-integration/browser/public/index.html b/test/output-integration/browser/public/index.html index ecc69745d8..b328bbbcfa 100644 --- a/test/output-integration/browser/public/index.html +++ b/test/output-integration/browser/public/index.html @@ -8,7 +8,7 @@ - +

This text should be replaced by the response
This text should be replaced by the client version
diff --git a/test/output-integration/browser/public/index.js b/test/output-integration/browser/public/index.js index af6702db6d..70916870e9 100644 --- a/test/output-integration/browser/public/index.js +++ b/test/output-integration/browser/public/index.js @@ -1,9 +1,10 @@ +/* eslint-disable no-undef */ async function run() { - if (!createClient) { + if (!contentfulManagement) { throw 'contentful-management.js could not be loaded. Please check the build output.' } - const client = createClient({ + const client = contentfulManagement.createClient({ accessToken: process.env.CONTENTFUL_INTEGRATION_TEST_CMA_TOKEN, }) diff --git a/test/output-integration/browser/scripts/inject-env.js b/test/output-integration/browser/scripts/inject-env.js index cb1b5d9de7..18fab72064 100644 --- a/test/output-integration/browser/scripts/inject-env.js +++ b/test/output-integration/browser/scripts/inject-env.js @@ -1,3 +1,4 @@ +/* eslint-disable no-undef */ import fs from 'fs' import { resolve } from 'path' import * as url from 'url' diff --git a/test/output-integration/browser/test/index.test.js b/test/output-integration/browser/test/index.test.js index fc6a6e10d7..5e64a5a32b 100644 --- a/test/output-integration/browser/test/index.test.js +++ b/test/output-integration/browser/test/index.test.js @@ -1,3 +1,4 @@ +/* eslint-disable no-undef */ import { describe, it, expect } from 'vitest' import { page } from './vitest.setup' import { version as packageVersion } from '../../../../package.json' @@ -8,8 +9,7 @@ describe('contentful-management.js Browser Test', () => { expect(text).toEqual('segpl12szpe6') }) - // @todo reenable as soon version is injected properly again - it.skip('Has correct user agent version', async () => { + it('Has correct user agent version', async () => { const clientVersion = await page.$eval('#version', (el) => el.innerHTML) // When we make a publish run, we need to ensure that semantic-release has set a valid package version diff --git a/test/unit/adapters/REST/endpoints/app-action-call.test.ts b/test/unit/adapters/REST/endpoints/app-action-call.test.ts index 8174a6c9a9..a7abc477f5 100644 --- a/test/unit/adapters/REST/endpoints/app-action-call.test.ts +++ b/test/unit/adapters/REST/endpoints/app-action-call.test.ts @@ -1,6 +1,6 @@ import { expect, describe, it } from 'vitest' -import { cloneMock } from '../../../mocks/entities' -import setupRestAdapter from '../helpers/setupRestAdapter' +import { cloneMock } from '../../../mocks/entities.js' +import setupRestAdapter from '../helpers/setupRestAdapter.js' import type { CreateAppActionCallProps } from '../../../../../lib/entities/app-action-call' import { wrapAppActionCallResponse } from '../../../../../lib/entities/app-action-call' diff --git a/test/unit/adapters/REST/endpoints/asset.test.ts b/test/unit/adapters/REST/endpoints/asset.test.ts index 1d565b5d44..c96593db37 100644 --- a/test/unit/adapters/REST/endpoints/asset.test.ts +++ b/test/unit/adapters/REST/endpoints/asset.test.ts @@ -1,7 +1,7 @@ import { vi, expect, describe, test } from 'vitest' -import { cloneMock, assetWithFilesMock } from '../../../mocks/entities' -import { wrapAsset } from '../../../../../lib/entities/asset' -import setupRestAdapter from '../helpers/setupRestAdapter' +import { cloneMock, assetWithFilesMock } from '../../../mocks/entities.js' +import { wrapAsset } from '../../../../../lib/entities/asset.js' +import setupRestAdapter from '../helpers/setupRestAdapter.js' import type contentfulSdkCore from 'contentful-sdk-core' function setup(promise, params = {}) { diff --git a/test/unit/adapters/REST/endpoints/concept-scheme.test.ts b/test/unit/adapters/REST/endpoints/concept-scheme.test.ts index f471fd1f51..a8c5342431 100644 --- a/test/unit/adapters/REST/endpoints/concept-scheme.test.ts +++ b/test/unit/adapters/REST/endpoints/concept-scheme.test.ts @@ -1,7 +1,7 @@ import { expect, describe, test } from 'vitest' -import { cloneMock } from '../../../mocks/entities' -import setupRestAdapter from '../helpers/setupRestAdapter' +import { cloneMock } from '../../../mocks/entities.js' +import setupRestAdapter from '../helpers/setupRestAdapter.js' function setup(promise: Promise, params = {}, type = 'conceptScheme') { return { @@ -126,27 +126,6 @@ describe('ConceptScheme', () => { .makeRequest({ entityType: 'ConceptScheme', action: 'update', - userAgent: 'mocked', - params: { - organizationId: 'organization-id', - conceptSchemeId: 'concept-scheme-id', - }, - }) - .then(() => { - expect(httpMock.patch.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concept-schemes/concept-scheme-id', - ) - }) - }) - - test('updatePut', async () => { - const { httpMock, adapterMock, entityMock } = setup(Promise.resolve({})) - httpMock.put.mockReturnValue(Promise.resolve({ data: entityMock })) - - return adapterMock - .makeRequest({ - entityType: 'ConceptScheme', - action: 'updatePut', params: { organizationId: 'organization-id', conceptSchemeId: 'concept-scheme-id', @@ -155,7 +134,7 @@ describe('ConceptScheme', () => { userAgent: 'mocked', }) .then(() => { - expect(httpMock.put.mock.calls[0][0]).to.eql( + expect(httpMock.patch.mock.calls[0][0]).to.eql( '/organizations/organization-id/taxonomy/concept-schemes/concept-scheme-id', ) }) diff --git a/test/unit/adapters/REST/endpoints/concept.test.ts b/test/unit/adapters/REST/endpoints/concept.test.ts index 91dce94843..bfef6c9f39 100644 --- a/test/unit/adapters/REST/endpoints/concept.test.ts +++ b/test/unit/adapters/REST/endpoints/concept.test.ts @@ -1,6 +1,6 @@ import { expect, describe, test } from 'vitest' -import { cloneMock } from '../../../mocks/entities' -import setupRestAdapter from '../helpers/setupRestAdapter' +import { cloneMock } from '../../../mocks/entities.js' +import setupRestAdapter from '../helpers/setupRestAdapter.js' function setup(promise, params = {}, type = 'concept') { return { @@ -179,27 +179,6 @@ describe('Concept', () => { .makeRequest({ entityType: 'Concept', action: 'update', - userAgent: 'mocked', - params: { - organizationId: 'organization-id', - conceptId: 'concept-id', - }, - }) - .then(() => { - expect(httpMock.patch.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concepts/concept-id', - ) - }) - }) - test('updatePut', async () => { - const { httpMock, adapterMock, entityMock } = setup(Promise.resolve({})) - - httpMock.put.mockReturnValue(Promise.resolve({ data: entityMock })) - - return adapterMock - .makeRequest({ - entityType: 'Concept', - action: 'updatePut', params: { organizationId: 'organization-id', conceptId: 'concept-id', @@ -208,7 +187,7 @@ describe('Concept', () => { userAgent: 'mocked', }) .then(() => { - expect(httpMock.put.mock.calls[0][0]).to.eql( + expect(httpMock.patch.mock.calls[0][0]).to.eql( '/organizations/organization-id/taxonomy/concepts/concept-id', ) }) diff --git a/test/unit/adapters/REST/endpoints/entry.test.ts b/test/unit/adapters/REST/endpoints/entry.test.ts index c0d7d37596..2743d568f5 100644 --- a/test/unit/adapters/REST/endpoints/entry.test.ts +++ b/test/unit/adapters/REST/endpoints/entry.test.ts @@ -1,8 +1,8 @@ import { describe, test, expect } from 'vitest' -import { cloneMock } from '../../../mocks/entities' -import { wrapEntry } from '../../../../../lib/entities/entry' +import { cloneMock } from '../../../mocks/entities.js' +import { wrapEntry } from '../../../../../lib/entities/entry.js' -import setupRestAdapter from '../helpers/setupRestAdapter' +import setupRestAdapter from '../helpers/setupRestAdapter.js' function setup(promise, params = {}) { return { diff --git a/test/unit/adapters/REST/endpoints/environment-template.test.ts b/test/unit/adapters/REST/endpoints/environment-template.test.ts index 403d58d5d2..0be1ddb675 100644 --- a/test/unit/adapters/REST/endpoints/environment-template.test.ts +++ b/test/unit/adapters/REST/endpoints/environment-template.test.ts @@ -1,6 +1,6 @@ import { describe, expect } from 'vitest' -import { cloneMock } from '../../../mocks/entities' -import setupRestAdapter from '../helpers/setupRestAdapter' +import { cloneMock } from '../../../mocks/entities.js' +import setupRestAdapter from '../helpers/setupRestAdapter.js' describe('Environment Template', async () => { const mockName = 'environmentTemplate' diff --git a/test/unit/adapters/REST/endpoints/extension.test.ts b/test/unit/adapters/REST/endpoints/extension.test.ts index 8b029e988f..cdbe3af830 100644 --- a/test/unit/adapters/REST/endpoints/extension.test.ts +++ b/test/unit/adapters/REST/endpoints/extension.test.ts @@ -1,5 +1,5 @@ import { describe } from 'vitest' -import { reusableEntityUpdateTest } from '../reusable-tests/update' +import { reusableEntityUpdateTest } from '../reusable-tests/update.js' describe('Rest Extension', () => { reusableEntityUpdateTest('Extension', 'extension') diff --git a/test/unit/adapters/REST/endpoints/function-log.test.ts b/test/unit/adapters/REST/endpoints/function-log.test.ts index d99b022eea..3c6fb3bab0 100644 --- a/test/unit/adapters/REST/endpoints/function-log.test.ts +++ b/test/unit/adapters/REST/endpoints/function-log.test.ts @@ -1,6 +1,6 @@ import { expect, describe, test } from 'vitest' -import { cloneMock } from '../../../mocks/entities' -import setupRestAdapter from '../helpers/setupRestAdapter' +import { cloneMock } from '../../../mocks/entities.js' +import setupRestAdapter from '../helpers/setupRestAdapter.js' function setup(promise, params = {}) { return { diff --git a/test/unit/adapters/REST/endpoints/function.test.ts b/test/unit/adapters/REST/endpoints/function.test.ts index d480994af5..695f15d656 100644 --- a/test/unit/adapters/REST/endpoints/function.test.ts +++ b/test/unit/adapters/REST/endpoints/function.test.ts @@ -1,6 +1,6 @@ import { expect, describe, test } from 'vitest' -import { cloneMock } from '../../../mocks/entities' -import setupRestAdapter from '../helpers/setupRestAdapter' +import { cloneMock } from '../../../mocks/entities.js' +import setupRestAdapter from '../helpers/setupRestAdapter.js' function setup(promise, params = {}) { return { diff --git a/test/unit/adapters/REST/endpoints/http.test.ts b/test/unit/adapters/REST/endpoints/http.test.ts index b77a82053a..b3321b17e5 100644 --- a/test/unit/adapters/REST/endpoints/http.test.ts +++ b/test/unit/adapters/REST/endpoints/http.test.ts @@ -1,5 +1,5 @@ import { vi, expect, describe, test } from 'vitest' -import setupRestAdapter from '../helpers/setupRestAdapter' +import setupRestAdapter from '../helpers/setupRestAdapter.js' vi.mock('contentful-sdk-core') diff --git a/test/unit/adapters/REST/endpoints/organization-membership.test.ts b/test/unit/adapters/REST/endpoints/organization-membership.test.ts index e0e7273635..c7e2e3055e 100644 --- a/test/unit/adapters/REST/endpoints/organization-membership.test.ts +++ b/test/unit/adapters/REST/endpoints/organization-membership.test.ts @@ -1,7 +1,7 @@ import { describe, test, expect } from 'vitest' -import { cloneMock } from '../../../mocks/entities' -import { wrapOrganizationMembership } from '../../../../../lib/entities/organization-membership' -import setupRestAdapter from '../helpers/setupRestAdapter' +import { cloneMock } from '../../../mocks/entities.js' +import { wrapOrganizationMembership } from '../../../../../lib/entities/organization-membership.js' +import setupRestAdapter from '../helpers/setupRestAdapter.js' function setup(promise, params = {}) { return { diff --git a/test/unit/adapters/REST/endpoints/team-membership.test.ts b/test/unit/adapters/REST/endpoints/team-membership.test.ts index ae3f0b74d4..9dec84465f 100644 --- a/test/unit/adapters/REST/endpoints/team-membership.test.ts +++ b/test/unit/adapters/REST/endpoints/team-membership.test.ts @@ -1,7 +1,7 @@ import { expect, describe, test } from 'vitest' -import { cloneMock } from '../../../mocks/entities' -import { wrapTeamMembership } from '../../../../../lib/entities/team-membership' -import setupRestAdapter from '../helpers/setupRestAdapter' +import { cloneMock } from '../../../mocks/entities.js' +import { wrapTeamMembership } from '../../../../../lib/entities/team-membership.js' +import setupRestAdapter from '../helpers/setupRestAdapter.js' function setup(promise, params = {}) { return { diff --git a/test/unit/adapters/REST/endpoints/team.test.ts b/test/unit/adapters/REST/endpoints/team.test.ts index 9927b95777..dd9f93a243 100644 --- a/test/unit/adapters/REST/endpoints/team.test.ts +++ b/test/unit/adapters/REST/endpoints/team.test.ts @@ -1,7 +1,7 @@ import { expect, describe, test } from 'vitest' -import { cloneMock } from '../../../mocks/entities' -import { wrapTeam } from '../../../../../lib/entities/team' -import setupRestAdapter from '../helpers/setupRestAdapter' +import { cloneMock } from '../../../mocks/entities.js' +import { wrapTeam } from '../../../../../lib/entities/team.js' +import setupRestAdapter from '../helpers/setupRestAdapter.js' function setup(promise, params = {}) { return { diff --git a/test/unit/adapters/REST/endpoints/ui-config.test.ts b/test/unit/adapters/REST/endpoints/ui-config.test.ts index 96d48b1f46..887a3c7b68 100644 --- a/test/unit/adapters/REST/endpoints/ui-config.test.ts +++ b/test/unit/adapters/REST/endpoints/ui-config.test.ts @@ -1,7 +1,7 @@ import { describe, test, expect } from 'vitest' -import { wrapUIConfig } from '../../../../../lib/entities/ui-config' -import { cloneMock } from '../../../mocks/entities' -import setupRestAdapter from '../helpers/setupRestAdapter' +import { wrapUIConfig } from '../../../../../lib/entities/ui-config.js' +import { cloneMock } from '../../../mocks/entities.js' +import setupRestAdapter from '../helpers/setupRestAdapter.js' function setup(promise, params = {}) { return { diff --git a/test/unit/adapters/REST/endpoints/upload.test.ts b/test/unit/adapters/REST/endpoints/upload.test.ts index 5528974385..aafa9d7542 100644 --- a/test/unit/adapters/REST/endpoints/upload.test.ts +++ b/test/unit/adapters/REST/endpoints/upload.test.ts @@ -1,7 +1,7 @@ import { describe, test, expect } from 'vitest' -import { cloneMock } from '../../../mocks/entities' +import { cloneMock } from '../../../mocks/entities.js' -import setupRestAdapter from '../helpers/setupRestAdapter' +import setupRestAdapter from '../helpers/setupRestAdapter.js' function setup(promise, params = {}) { return { diff --git a/test/unit/adapters/REST/endpoints/user-ui-config.test.ts b/test/unit/adapters/REST/endpoints/user-ui-config.test.ts index 7b06cd073c..7ed9ca7b88 100644 --- a/test/unit/adapters/REST/endpoints/user-ui-config.test.ts +++ b/test/unit/adapters/REST/endpoints/user-ui-config.test.ts @@ -1,7 +1,7 @@ import { describe, test, expect } from 'vitest' -import { wrapUIConfig } from '../../../../../lib/entities/ui-config' -import { cloneMock } from '../../../mocks/entities' -import setupRestAdapter from '../helpers/setupRestAdapter' +import { wrapUIConfig } from '../../../../../lib/entities/ui-config.js' +import { cloneMock } from '../../../mocks/entities.js' +import setupRestAdapter from '../helpers/setupRestAdapter.js' function setup(promise, params = {}) { return { diff --git a/test/unit/adapters/REST/endpoints/utils.test.ts b/test/unit/adapters/REST/endpoints/utils.test.ts index 87208b739b..6c9c267396 100644 --- a/test/unit/adapters/REST/endpoints/utils.test.ts +++ b/test/unit/adapters/REST/endpoints/utils.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest' -import { normalizeSpaceId } from '../../../../../lib/adapters/REST/endpoints/utils' +import { normalizeSpaceId } from '../../../../../lib/adapters/REST/endpoints/utils.js' describe('normalizeSpaceId', () => { it('replaces the `spaceId` property of a query', () => { diff --git a/test/unit/adapters/REST/endpoints/workflow-definition.test.ts b/test/unit/adapters/REST/endpoints/workflow-definition.test.ts index 3c6c04d638..70dd9834b5 100644 --- a/test/unit/adapters/REST/endpoints/workflow-definition.test.ts +++ b/test/unit/adapters/REST/endpoints/workflow-definition.test.ts @@ -1,9 +1,9 @@ import { describe, test, expect } from 'vitest' -import { cloneMock } from '../../../mocks/entities' -import setupRestAdapter from '../helpers/setupRestAdapter' -import type { WorkflowDefinitionProps } from '../../../../../lib/entities/workflow-definition' -import { wrapWorkflowDefinition } from '../../../../../lib/entities/workflow-definition' -import type { MakeRequest, MakeRequestOptions } from '../../../../../lib/export-types' +import { cloneMock } from '../../../mocks/entities.js' +import setupRestAdapter from '../helpers/setupRestAdapter.js' +import type { WorkflowDefinitionProps } from '../../../../../lib/entities/workflow-definition.js' +import { wrapWorkflowDefinition } from '../../../../../lib/entities/workflow-definition.js' +import type { MakeRequest, MakeRequestOptions } from '../../../../../lib/export-types.js' function setup(params = {}) { const entityMock: WorkflowDefinitionProps = cloneMock('workflowDefinition') diff --git a/test/unit/adapters/REST/rest-adapter.test.ts b/test/unit/adapters/REST/rest-adapter.test.ts index 2d80e913d1..5da84dd69e 100644 --- a/test/unit/adapters/REST/rest-adapter.test.ts +++ b/test/unit/adapters/REST/rest-adapter.test.ts @@ -1,6 +1,6 @@ import { vi, expect, describe, it } from 'vitest' -import { RestAdapter } from '../../../../lib/adapters/REST/rest-adapter' -import setupRestAdapter from './helpers/setupRestAdapter' +import { RestAdapter } from '../../../../lib/adapters/REST/rest-adapter.js' +import setupRestAdapter from './helpers/setupRestAdapter.js' vi.mock('contentful-sdk-core') diff --git a/test/unit/adapters/REST/reusable-tests/update.ts b/test/unit/adapters/REST/reusable-tests/update.ts index 534cd571db..f988b84ddc 100644 --- a/test/unit/adapters/REST/reusable-tests/update.ts +++ b/test/unit/adapters/REST/reusable-tests/update.ts @@ -1,5 +1,5 @@ -import setupRestAdapter from '../helpers/setupRestAdapter' -import { cloneMock } from '../../../mocks/entities' +import setupRestAdapter from '../helpers/setupRestAdapter.js' +import { cloneMock } from '../../../mocks/entities.js' import { expect, it } from 'vitest' export function reusableEntityUpdateTest(entityType, mockName) { diff --git a/test/unit/constants/controls-defaults.test.ts b/test/unit/constants/controls-defaults.test.ts index cd66605a5b..e182740817 100644 --- a/test/unit/constants/controls-defaults.test.ts +++ b/test/unit/constants/controls-defaults.test.ts @@ -1,9 +1,10 @@ import { it, describe, test, expect } from 'vitest' -import getDefaultControlOfField, { +import { DEFAULTS_WIDGET, FIELD_TYPES, toApiFieldType, -} from '../../../lib/constants/editor-interface-defaults/controls-defaults' + getDefaultControlOfField, +} from '../../../lib/constants/editor-interface-defaults/controls-defaults.js' const baseField = { id: 'mockedId', name: 'mockedName', required: false, localized: false } diff --git a/test/unit/contentful-management.test.ts b/test/unit/contentful-management.test.ts index 15e8d3b486..709020c044 100644 --- a/test/unit/contentful-management.test.ts +++ b/test/unit/contentful-management.test.ts @@ -1,6 +1,6 @@ import type { MockedFunction } from 'vitest' import { describe, it, afterEach, expect, vi, beforeAll } from 'vitest' -import { createClient } from '../../lib/contentful-management' +import { createClient } from '../../lib' import { version } from '../../package.json' import { createAdapter } from '../../lib/create-adapter' diff --git a/test/unit/create-adapter.test.ts b/test/unit/create-adapter.test.ts index be4f1eb326..07940565c2 100644 --- a/test/unit/create-adapter.test.ts +++ b/test/unit/create-adapter.test.ts @@ -1,7 +1,7 @@ import { describe, it, expect } from 'vitest' -import type { RestAdapterParams } from '../../lib/adapters/REST/rest-adapter' -import { RestAdapter } from '../../lib/adapters/REST/rest-adapter' -import { createAdapter } from '../../lib/create-adapter' +import type { RestAdapterParams } from '../../lib/adapters/REST/rest-adapter.js' +import { RestAdapter } from '../../lib/adapters/REST/rest-adapter.js' +import { createAdapter } from '../../lib/create-adapter.js' describe('createAdapter', () => { it('returns adapter if provided', () => { diff --git a/test/unit/create-app-definition-api.test.ts b/test/unit/create-app-definition-api.test.ts index 406517769f..120b895853 100644 --- a/test/unit/create-app-definition-api.test.ts +++ b/test/unit/create-app-definition-api.test.ts @@ -1,19 +1,19 @@ import { expect, describe, test } from 'vitest' import { toPlainObject } from 'contentful-sdk-core' -import createAppDefinitionApi from '../../lib/create-app-definition-api' +import createAppDefinitionApi from '../../lib/create-app-definition-api.js' import { appBundleMock, appDefinitionMock, setupEntitiesMock, appInstallationsForOrgMock, resourceProviderMock, -} from './mocks/entities' -import setupMakeRequest from './mocks/makeRequest' +} from './mocks/entities.js' +import setupMakeRequest from './mocks/makeRequest.js' import { makeGetCollectionTest, makeGetEntityTest, makeEntityMethodFailingTest, -} from './test-creators/static-entity-methods' +} from './test-creators/static-entity-methods.js' function setup(promise: Promise) { const entitiesMock = setupEntitiesMock() diff --git a/test/unit/create-contentful-api.test.ts b/test/unit/create-contentful-api.test.ts index 23c3c585ae..23361ee140 100644 --- a/test/unit/create-contentful-api.test.ts +++ b/test/unit/create-contentful-api.test.ts @@ -1,8 +1,8 @@ import { describe, test, afterEach, expect, vi } from 'vitest' -import createEntryApi from '../../lib/create-entry-api' -import { wrapEntry, wrapEntryCollection } from '../../lib/entities/entry' -import { commentMock, cloneMock, taskMock } from './mocks/entities' -import setupMakeRequest from './mocks/makeRequest' +import createEntryApi from '../../lib/create-entry-api.js' +import { wrapEntry, wrapEntryCollection } from '../../lib/entities/entry.js' +import { commentMock, cloneMock, taskMock } from './mocks/entities.js' +import setupMakeRequest from './mocks/makeRequest.js' import { entityActionTest, entityCollectionActionTest, @@ -17,8 +17,8 @@ import { isDraftTest, isPublishedTest, isUpdatedTest, -} from './test-creators/instance-entity-methods' -import { makeEntityMethodFailingTest } from './test-creators/static-entity-methods' +} from './test-creators/instance-entity-methods.js' +import { makeEntityMethodFailingTest } from './test-creators/static-entity-methods.js' function setup(promise: Promise) { const makeRequest = setupMakeRequest(promise) diff --git a/test/unit/create-entry-api.test.ts b/test/unit/create-entry-api.test.ts index 4877138008..54c092285f 100644 --- a/test/unit/create-entry-api.test.ts +++ b/test/unit/create-entry-api.test.ts @@ -1,8 +1,8 @@ import { expect, describe, test } from 'vitest' -import createEntryApi from '../../lib/create-entry-api' -import { wrapEntry, wrapEntryCollection } from '../../lib/entities/entry' -import { commentMock, cloneMock, taskMock } from './mocks/entities' -import setupMakeRequest from './mocks/makeRequest' +import createEntryApi from '../../lib/create-entry-api.js' +import { wrapEntry, wrapEntryCollection } from '../../lib/entities/entry.js' +import { commentMock, cloneMock, taskMock } from './mocks/entities.js' +import setupMakeRequest from './mocks/makeRequest.js' import { entityActionTest, entityCollectionActionTest, @@ -17,8 +17,8 @@ import { isDraftTest, isPublishedTest, isUpdatedTest, -} from './test-creators/instance-entity-methods' -import { makeEntityMethodFailingTest } from './test-creators/static-entity-methods' +} from './test-creators/instance-entity-methods.js' +import { makeEntityMethodFailingTest } from './test-creators/static-entity-methods.js' function setup(promise: Promise) { const makeRequest = setupMakeRequest(promise) diff --git a/test/unit/create-environment-api.test.ts b/test/unit/create-environment-api.test.ts index df3bf07458..925d4f1762 100644 --- a/test/unit/create-environment-api.test.ts +++ b/test/unit/create-environment-api.test.ts @@ -18,7 +18,7 @@ import { extensionMock, functionCollectionMock, functionLogMock, -} from './mocks/entities' +} from './mocks/entities.js' import { describe, test, expect } from 'vitest' import { toPlainObject } from 'contentful-sdk-core' import { @@ -28,14 +28,13 @@ import { makeGetCollectionTest, makeGetEntityTest, testGettingEntrySDKObject, -} from './test-creators/static-entity-methods' -import { wrapEntry } from '../../lib/entities/entry' -import { wrapAsset } from '../../lib/entities/asset' -import { wrapTagCollection } from '../../lib/entities/tag' -import setupMakeRequest from './mocks/makeRequest' -import createEnvironmentApi from '../../lib/create-environment-api' -import { AppActionCallRawResponseProps } from '../../lib/entities/app-action-call' - +} from './test-creators/static-entity-methods.js' +import { wrapEntry } from '../../lib/entities/entry.js' +import { wrapAsset } from '../../lib/entities/asset.js' +import { wrapTagCollection } from '../../lib/entities/tag.js' +import setupMakeRequest from './mocks/makeRequest.js' +import createEnvironmentApi from '../../lib/create-environment-api.js' +import { AppActionCallRawResponseProps } from '../../lib/entities/app-action-call.js' function setup(promise: Promise) { const entitiesMock = setupEntitiesMock() const makeRequest = setupMakeRequest(promise) diff --git a/test/unit/create-environment-template-api.test.ts b/test/unit/create-environment-template-api.test.ts index ae3e861ca4..832e99102b 100644 --- a/test/unit/create-environment-template-api.test.ts +++ b/test/unit/create-environment-template-api.test.ts @@ -2,11 +2,11 @@ import { environmentTemplateInstallationMock, environmentTemplateMock, environmentTemplateValidationMock, -} from './mocks/entities' +} from './mocks/entities.js' import { describe, test, expect } from 'vitest' -import setupMakeRequest from './mocks/makeRequest' -import { createEnvironmentTemplateApi } from '../../lib/create-environment-template-api' -import { makeLink } from '../utils' +import setupMakeRequest from './mocks/makeRequest.js' +import { createEnvironmentTemplateApi } from '../../lib/create-environment-template-api.js' +import { makeLink } from '../utils.js' const organizationId = 'test-organization-id' const spaceId = 'mock-space-id' diff --git a/test/unit/create-organization-api.test.ts b/test/unit/create-organization-api.test.ts index 773c1297f6..508efa7f4e 100644 --- a/test/unit/create-organization-api.test.ts +++ b/test/unit/create-organization-api.test.ts @@ -1,4 +1,4 @@ -import createOrganizationApi from '../../lib/create-organization-api' +import createOrganizationApi from '../../lib/create-organization-api.js' import { appActionMock, appDefinitionMock, @@ -19,14 +19,14 @@ import { userMock, functionCollectionMock, functionMock, -} from './mocks/entities' +} from './mocks/entities.js' import { makeGetEntityTest, makeGetCollectionTest, makeCreateEntityTest, makeEntityMethodFailingTest, -} from './test-creators/static-entity-methods' -import setupMakeRequest from './mocks/makeRequest' +} from './test-creators/static-entity-methods.js' +import setupMakeRequest from './mocks/makeRequest.js' import { expect, describe, test } from 'vitest' function setup(promise: Promise) { diff --git a/test/unit/create-space-api.test.ts b/test/unit/create-space-api.test.ts index 76585a9c22..80c726c28a 100644 --- a/test/unit/create-space-api.test.ts +++ b/test/unit/create-space-api.test.ts @@ -1,6 +1,6 @@ import { describe, test, expect, vi, afterEach } from 'vitest' import { toPlainObject } from 'contentful-sdk-core' -import createSpaceApi from '../../lib/create-space-api' +import createSpaceApi from '../../lib/create-space-api.js' import { apiKeyMock, cloneMock, @@ -16,15 +16,15 @@ import { teamSpaceMembershipMock, userMock, webhookMock, -} from './mocks/entities' +} from './mocks/entities.js' import { makeCreateEntityTest, makeCreateEntityWithIdTest, makeEntityMethodFailingTest, makeGetCollectionTest, makeGetEntityTest, -} from './test-creators/static-entity-methods' -import setupMakeRequest from './mocks/makeRequest' +} from './test-creators/static-entity-methods.js' +import setupMakeRequest from './mocks/makeRequest.js' function setup(promise) { const entitiesMock = setupEntitiesMock() diff --git a/test/unit/create-ui-config-api.test.ts b/test/unit/create-ui-config-api.test.ts index f5e15f963a..d2b39cc614 100644 --- a/test/unit/create-ui-config-api.test.ts +++ b/test/unit/create-ui-config-api.test.ts @@ -1,9 +1,12 @@ import { describe, test, afterEach, vi } from 'vitest' -import createUIConfigApi from '../../lib/create-ui-config-api' -import { wrapUIConfig } from '../../lib/entities/ui-config' -import { cloneMock } from './mocks/entities' -import setupMakeRequest from './mocks/makeRequest' -import { entityUpdateTest, failingVersionActionTest } from './test-creators/instance-entity-methods' +import createUIConfigApi from '../../lib/create-ui-config-api.js' +import { wrapUIConfig } from '../../lib/entities/ui-config.js' +import { cloneMock } from './mocks/entities.js' +import setupMakeRequest from './mocks/makeRequest.js' +import { + entityUpdateTest, + failingVersionActionTest, +} from './test-creators/instance-entity-methods.js' function setup(promise) { const makeRequest = setupMakeRequest(promise) diff --git a/test/unit/create-user-ui-config-api.test.ts b/test/unit/create-user-ui-config-api.test.ts index a04df19a78..5015c7bc59 100644 --- a/test/unit/create-user-ui-config-api.test.ts +++ b/test/unit/create-user-ui-config-api.test.ts @@ -1,9 +1,12 @@ import { describe, test, afterEach, vi } from 'vitest' -import createUIConfigApi from '../../lib/create-ui-config-api' -import { wrapUIConfig } from '../../lib/entities/ui-config' -import { cloneMock } from './mocks/entities' -import setupMakeRequest from './mocks/makeRequest' -import { entityUpdateTest, failingVersionActionTest } from './test-creators/instance-entity-methods' +import createUIConfigApi from '../../lib/create-ui-config-api.js' +import { wrapUIConfig } from '../../lib/entities/ui-config.js' +import { cloneMock } from './mocks/entities.js' +import setupMakeRequest from './mocks/makeRequest.js' +import { + entityUpdateTest, + failingVersionActionTest, +} from './test-creators/instance-entity-methods.js' function setup(promise) { const makeRequest = setupMakeRequest(promise) diff --git a/test/unit/entities/access-token.test.ts b/test/unit/entities/access-token.test.ts index eb0739ccd9..f9bb9e2204 100644 --- a/test/unit/entities/access-token.test.ts +++ b/test/unit/entities/access-token.test.ts @@ -1,11 +1,11 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapAccessToken, wrapAccessTokenCollection } from '../../../lib/entities/access-token' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapAccessToken, wrapAccessTokenCollection } from '../../../lib/entities/access-token.js' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/ai-action-invocation.test.ts b/test/unit/entities/ai-action-invocation.test.ts index ee73879e2c..56cc16d8b4 100644 --- a/test/unit/entities/ai-action-invocation.test.ts +++ b/test/unit/entities/ai-action-invocation.test.ts @@ -1,7 +1,7 @@ -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapAiActionInvocation } from '../../../lib/entities/ai-action-invocation' -import { entityWrappedTest } from '../test-creators/instance-entity-methods' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapAiActionInvocation } from '../../../lib/entities/ai-action-invocation.js' +import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' import { describe, test } from 'vitest' function setup(promise) { diff --git a/test/unit/entities/ai-action.test.ts b/test/unit/entities/ai-action.test.ts index 8fd1d1f9a7..f039ba232c 100644 --- a/test/unit/entities/ai-action.test.ts +++ b/test/unit/entities/ai-action.test.ts @@ -1,6 +1,6 @@ -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapAiAction, wrapAiActionCollection } from '../../../lib/entities/ai-action' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapAiAction, wrapAiActionCollection } from '../../../lib/entities/ai-action.js' import { entityWrappedTest, entityCollectionWrappedTest, @@ -9,7 +9,7 @@ import { entityDeleteTest, failingActionTest, entityActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' import { describe, test } from 'vitest' function setup(promise) { diff --git a/test/unit/entities/api-key.test.ts b/test/unit/entities/api-key.test.ts index 637fbe11ab..5d02c899ca 100644 --- a/test/unit/entities/api-key.test.ts +++ b/test/unit/entities/api-key.test.ts @@ -1,6 +1,6 @@ -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapApiKey, wrapApiKeyCollection } from '../../../lib/entities/api-key' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapApiKey, wrapApiKeyCollection } from '../../../lib/entities/api-key.js' import { entityCollectionWrappedTest, entityDeleteTest, @@ -8,7 +8,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' import { describe, test } from 'vitest' function setup(promise) { diff --git a/test/unit/entities/app-access-token.test.ts b/test/unit/entities/app-access-token.test.ts index 8756ecf4a5..84e16a7de9 100644 --- a/test/unit/entities/app-access-token.test.ts +++ b/test/unit/entities/app-access-token.test.ts @@ -1,8 +1,8 @@ import { describe, test } from 'vitest' -import { wrapAppAccessToken } from '../../../lib/entities/app-access-token' -import { appAccessTokenMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { entityWrappedTest } from '../test-creators/instance-entity-methods' +import { wrapAppAccessToken } from '../../../lib/entities/app-access-token.js' +import { appAccessTokenMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/app-bundle.test.ts b/test/unit/entities/app-bundle.test.ts index e8703e247d..46a33b59b3 100644 --- a/test/unit/entities/app-bundle.test.ts +++ b/test/unit/entities/app-bundle.test.ts @@ -1,11 +1,11 @@ -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapAppBundle, wrapAppBundleCollection } from '../../../lib/entities/app-bundle' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapAppBundle, wrapAppBundleCollection } from '../../../lib/entities/app-bundle.js' import { entityCollectionWrappedTest, entityWrappedTest, entityDeleteTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' import { describe, test } from 'vitest' function setup(promise) { diff --git a/test/unit/entities/app-definition.test.ts b/test/unit/entities/app-definition.test.ts index 2ec70e6171..dc7b4bb543 100644 --- a/test/unit/entities/app-definition.test.ts +++ b/test/unit/entities/app-definition.test.ts @@ -1,9 +1,9 @@ import { wrapAppDefinition, wrapAppDefinitionCollection, -} from '../../../lib/entities/app-definition' -import setupMakeRequest from '../mocks/makeRequest' -import { appDefinitionMock } from '../mocks/entities' +} from '../../../lib/entities/app-definition.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { appDefinitionMock } from '../mocks/entities.js' import { entityCollectionWrappedTest, entityDeleteTest, @@ -11,7 +11,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' import { describe, test } from 'vitest' function setup(promise) { diff --git a/test/unit/entities/app-details.test.ts b/test/unit/entities/app-details.test.ts index a1c3d23956..19cb28edf2 100644 --- a/test/unit/entities/app-details.test.ts +++ b/test/unit/entities/app-details.test.ts @@ -1,12 +1,12 @@ -import { wrapAppDetails } from '../../../lib/entities/app-details' +import { wrapAppDetails } from '../../../lib/entities/app-details.js' import { entityWrappedTest, entityDeleteTest, failingActionTest, -} from '../test-creators/instance-entity-methods' -import { appDetailsMock } from '../mocks/entities' +} from '../test-creators/instance-entity-methods.js' +import { appDetailsMock } from '../mocks/entities.js' import { describe, test } from 'vitest' -import setupMakeRequest from '../mocks/makeRequest' +import setupMakeRequest from '../mocks/makeRequest.js' function setup(promise) { return { diff --git a/test/unit/entities/app-event-subscription.test.ts b/test/unit/entities/app-event-subscription.test.ts index 5966a709bc..a18e13c13c 100644 --- a/test/unit/entities/app-event-subscription.test.ts +++ b/test/unit/entities/app-event-subscription.test.ts @@ -1,12 +1,12 @@ import { describe, test } from 'vitest' -import { wrapAppEventSubscription } from '../../../lib/entities/app-event-subscription' -import { appEventSubscriptionMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { wrapAppEventSubscription } from '../../../lib/entities/app-event-subscription.js' +import { appEventSubscriptionMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { entityDeleteTest, entityWrappedTest, failingActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/app-installation.test.ts b/test/unit/entities/app-installation.test.ts index bec5ab3837..86c0adc448 100644 --- a/test/unit/entities/app-installation.test.ts +++ b/test/unit/entities/app-installation.test.ts @@ -1,9 +1,9 @@ -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { wrapAppInstallation, wrapAppInstallationCollection, -} from '../../../lib/entities/app-installation' +} from '../../../lib/entities/app-installation.js' import { entityCollectionWrappedTest, entityDeleteTest, @@ -11,7 +11,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' import { describe, test } from 'vitest' function setup(promise) { diff --git a/test/unit/entities/app-key.test.ts b/test/unit/entities/app-key.test.ts index 4c7413b434..3d8ad6517f 100644 --- a/test/unit/entities/app-key.test.ts +++ b/test/unit/entities/app-key.test.ts @@ -1,13 +1,13 @@ import { describe, test } from 'vitest' -import { wrapAppKey, wrapAppKeyCollection } from '../../../lib/entities/app-key' -import { appKeyMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { wrapAppKey, wrapAppKeyCollection } from '../../../lib/entities/app-key.js' +import { appKeyMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { entityCollectionWrappedTest, entityDeleteTest, entityWrappedTest, failingActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/app-signed-request.test.ts b/test/unit/entities/app-signed-request.test.ts index b7a1cc0e53..d54ed8e279 100644 --- a/test/unit/entities/app-signed-request.test.ts +++ b/test/unit/entities/app-signed-request.test.ts @@ -1,8 +1,8 @@ -import { wrapAppSignedRequest } from '../../../lib/entities/app-signed-request' -import { entityWrappedTest } from '../test-creators/instance-entity-methods' -import { appSignedRequestMock } from '../mocks/entities' +import { wrapAppSignedRequest } from '../../../lib/entities/app-signed-request.js' +import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' +import { appSignedRequestMock } from '../mocks/entities.js' import { describe, test } from 'vitest' -import setupMakeRequest from '../mocks/makeRequest' +import setupMakeRequest from '../mocks/makeRequest.js' function setup(promise) { return { diff --git a/test/unit/entities/app-signing-secret.test.ts b/test/unit/entities/app-signing-secret.test.ts index e682946b01..37af97a9af 100644 --- a/test/unit/entities/app-signing-secret.test.ts +++ b/test/unit/entities/app-signing-secret.test.ts @@ -1,12 +1,12 @@ -import { wrapAppSigningSecret } from '../../../lib/entities/app-signing-secret' +import { wrapAppSigningSecret } from '../../../lib/entities/app-signing-secret.js' import { entityWrappedTest, entityDeleteTest, failingActionTest, -} from '../test-creators/instance-entity-methods' -import { appSigningSecretMock } from '../mocks/entities' +} from '../test-creators/instance-entity-methods.js' +import { appSigningSecretMock } from '../mocks/entities.js' import { describe, test } from 'vitest' -import setupMakeRequest from '../mocks/makeRequest' +import setupMakeRequest from '../mocks/makeRequest.js' function setup(promise) { return { diff --git a/test/unit/entities/app-upload.test.ts b/test/unit/entities/app-upload.test.ts index 05f1f47654..6d3f4b2c4a 100644 --- a/test/unit/entities/app-upload.test.ts +++ b/test/unit/entities/app-upload.test.ts @@ -1,13 +1,13 @@ -import { wrapAppUpload, wrapAppUploadCollection } from '../../../lib/entities/app-upload' -import setupMakeRequest from '../mocks/makeRequest' +import { wrapAppUpload, wrapAppUploadCollection } from '../../../lib/entities/app-upload.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { describe, test } from 'vitest' import { entityCollectionWrappedTest, entityWrappedTest, failingActionTest, entityDeleteTest, -} from '../test-creators/instance-entity-methods' -import { appUploadMock } from '../mocks/entities' +} from '../test-creators/instance-entity-methods.js' +import { appUploadMock } from '../mocks/entities.js' function setup(promise) { return { diff --git a/test/unit/entities/asset-key.test.ts b/test/unit/entities/asset-key.test.ts index 062efec32a..0bcb56eba9 100644 --- a/test/unit/entities/asset-key.test.ts +++ b/test/unit/entities/asset-key.test.ts @@ -1,8 +1,8 @@ -import { cloneMock } from '../mocks/entities' -import { wrapAssetKey } from '../../../lib/entities/asset-key' -import { entityWrappedTest } from '../test-creators/instance-entity-methods' +import { cloneMock } from '../mocks/entities.js' +import { wrapAssetKey } from '../../../lib/entities/asset-key.js' +import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' import { describe, test } from 'vitest' -import setupMakeRequest from '../mocks/makeRequest' +import setupMakeRequest from '../mocks/makeRequest.js' function setup(promise) { return { diff --git a/test/unit/entities/asset.test.ts b/test/unit/entities/asset.test.ts index 69eae98e62..af82ade066 100644 --- a/test/unit/entities/asset.test.ts +++ b/test/unit/entities/asset.test.ts @@ -1,8 +1,8 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapAsset, wrapAssetCollection } from '../../../lib/entities/asset' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapAsset, wrapAssetCollection } from '../../../lib/entities/asset.js' import { entityActionTest, entityCollectionWrappedTest, @@ -16,7 +16,7 @@ import { isDraftTest, isPublishedTest, isUpdatedTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/bulk-action.test.ts b/test/unit/entities/bulk-action.test.ts index 4b351fc6e9..48de008849 100644 --- a/test/unit/entities/bulk-action.test.ts +++ b/test/unit/entities/bulk-action.test.ts @@ -1,9 +1,9 @@ import { describe, it } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapBulkAction } from '../../../lib/entities/bulk-action' -import { entityWrappedTest, entityActionTest } from '../test-creators/instance-entity-methods' +import { wrapBulkAction } from '../../../lib/entities/bulk-action.js' +import { entityWrappedTest, entityActionTest } from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/comment.test.ts b/test/unit/entities/comment.test.ts index 799c0b733f..bcbc7e42f3 100644 --- a/test/unit/entities/comment.test.ts +++ b/test/unit/entities/comment.test.ts @@ -1,7 +1,7 @@ import { describe, test } from 'vitest' -import { wrapComment, wrapCommentCollection } from '../../../lib/entities/comment' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { wrapComment, wrapCommentCollection } from '../../../lib/entities/comment.js' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { entityCollectionWrappedTest, entityDeleteTest, @@ -9,7 +9,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/content-type.test.ts b/test/unit/entities/content-type.test.ts index e1ba8331a3..798959a20c 100644 --- a/test/unit/entities/content-type.test.ts +++ b/test/unit/entities/content-type.test.ts @@ -1,6 +1,6 @@ -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapContentType, wrapContentTypeCollection } from '../../../lib/entities/content-type' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapContentType, wrapContentTypeCollection } from '../../../lib/entities/content-type.js' import { entityActionTest, entityCollectionActionTest, @@ -16,7 +16,7 @@ import { isPublishedTest, isUpdatedTest, omitAndDeleteFieldTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' import { describe, test } from 'vitest' function setup(promise) { diff --git a/test/unit/entities/editor-interface.test.ts b/test/unit/entities/editor-interface.test.ts index 8e4329b0f3..dec8fbd5cc 100644 --- a/test/unit/entities/editor-interface.test.ts +++ b/test/unit/entities/editor-interface.test.ts @@ -1,7 +1,7 @@ -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapEditorInterface } from '../../../lib/entities/editor-interface' -import { entityUpdateTest, entityWrappedTest } from '../test-creators/instance-entity-methods' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapEditorInterface } from '../../../lib/entities/editor-interface.js' +import { entityUpdateTest, entityWrappedTest } from '../test-creators/instance-entity-methods.js' import { describe, test, expect, vi } from 'vitest' function setup(promise) { diff --git a/test/unit/entities/entry.test.ts b/test/unit/entities/entry.test.ts index f9a40db73c..4eef089ac4 100644 --- a/test/unit/entities/entry.test.ts +++ b/test/unit/entities/entry.test.ts @@ -1,11 +1,11 @@ import { describe, test } from 'vitest' -import { wrapEntry, wrapEntryCollection } from '../../../lib/entities/entry' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { wrapEntry, wrapEntryCollection } from '../../../lib/entities/entry.js' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/environment-alias.test.ts b/test/unit/entities/environment-alias.test.ts index 42e4524920..f9ff6f4629 100644 --- a/test/unit/entities/environment-alias.test.ts +++ b/test/unit/entities/environment-alias.test.ts @@ -1,15 +1,15 @@ -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { wrapEnvironmentAlias, wrapEnvironmentAliasCollection, -} from '../../../lib/entities/environment-alias' +} from '../../../lib/entities/environment-alias.js' import { entityCollectionWrappedTest, entityUpdateTest, entityWrappedTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' import { describe, test } from 'vitest' function setup(promise) { diff --git a/test/unit/entities/environment.test.ts b/test/unit/entities/environment.test.ts index 14999a6776..b20d46f3bd 100644 --- a/test/unit/entities/environment.test.ts +++ b/test/unit/entities/environment.test.ts @@ -1,8 +1,8 @@ -import { cloneMock, environmentMock, mockCollection } from '../mocks/entities' -import type { EnvironmentProps } from '../../../lib/entities/environment' -import { wrapEnvironment, wrapEnvironmentCollection } from '../../../lib/entities/environment' +import { cloneMock, environmentMock, mockCollection } from '../mocks/entities.js' +import type { EnvironmentProps } from '../../../lib/entities/environment.js' +import { wrapEnvironment, wrapEnvironmentCollection } from '../../../lib/entities/environment.js' import { describe, test, expect } from 'vitest' -import setupMakeRequest from '../mocks/makeRequest' +import setupMakeRequest from '../mocks/makeRequest.js' function setup(promise) { return { diff --git a/test/unit/entities/extension.test.ts b/test/unit/entities/extension.test.ts index ed0ed8d0e5..61e7b5418b 100644 --- a/test/unit/entities/extension.test.ts +++ b/test/unit/entities/extension.test.ts @@ -1,13 +1,13 @@ import { describe, test } from 'vitest' -import { wrapExtension, wrapExtensionCollection } from '../../../lib/entities/extension' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { wrapExtension, wrapExtensionCollection } from '../../../lib/entities/extension.js' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { entityActionTest, entityCollectionWrappedTest, entityDeleteTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/invitation.test.ts b/test/unit/entities/invitation.test.ts index 74f807b827..ef3166deb1 100644 --- a/test/unit/entities/invitation.test.ts +++ b/test/unit/entities/invitation.test.ts @@ -1,7 +1,7 @@ -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { entityWrappedTest } from '../test-creators/instance-entity-methods' -import { wrapOrganizationInvitation } from '../../../lib/entities/organization-invitation' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' +import { wrapOrganizationInvitation } from '../../../lib/entities/organization-invitation.js' import { describe, test } from 'vitest' function setup(promise) { diff --git a/test/unit/entities/locale.test.ts b/test/unit/entities/locale.test.ts index cf7c8103c9..0979d57abf 100644 --- a/test/unit/entities/locale.test.ts +++ b/test/unit/entities/locale.test.ts @@ -1,6 +1,6 @@ -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapLocale, wrapLocaleCollection } from '../../../lib/entities/locale' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapLocale, wrapLocaleCollection } from '../../../lib/entities/locale.js' import { entityCollectionWrappedTest, entityDeleteTest, @@ -8,7 +8,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' import { describe, test } from 'vitest' function setup(promise) { diff --git a/test/unit/entities/oauth-application.ts b/test/unit/entities/oauth-application.ts index 44a2c89fb0..68d304cd27 100644 --- a/test/unit/entities/oauth-application.ts +++ b/test/unit/entities/oauth-application.ts @@ -1,18 +1,18 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { wrapOAuthApplication, wrapOAuthApplicationCollection, -} from '../../../lib/entities/oauth-application' +} from '../../../lib/entities/oauth-application.js' import { entityWrappedTest, entityUpdateTest, entityDeleteTest, failingActionTest, entityCollectionWrappedTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/organization-membership.test.ts b/test/unit/entities/organization-membership.test.ts index b2a697c526..483bfd767e 100644 --- a/test/unit/entities/organization-membership.test.ts +++ b/test/unit/entities/organization-membership.test.ts @@ -1,15 +1,15 @@ -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { wrapOrganizationMembership, wrapOrganizationMembershipCollection, -} from '../../../lib/entities/organization-membership' +} from '../../../lib/entities/organization-membership.js' import { entityCollectionWrappedTest, entityWrappedTest, entityUpdateTest, failingActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' import { describe, test } from 'vitest' function setup(promise) { diff --git a/test/unit/entities/organization.test.ts b/test/unit/entities/organization.test.ts index 0595aed751..d2e26906e9 100644 --- a/test/unit/entities/organization.test.ts +++ b/test/unit/entities/organization.test.ts @@ -1,8 +1,8 @@ import { describe, test, expect } from 'vitest' -import { cloneMock, mockCollection, organizationMock } from '../mocks/entities' -import type { Organization } from '../../../lib/entities/organization' -import { wrapOrganization, wrapOrganizationCollection } from '../../../lib/entities/organization' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock, mockCollection, organizationMock } from '../mocks/entities.js' +import type { Organization } from '../../../lib/entities/organization.js' +import { wrapOrganization, wrapOrganizationCollection } from '../../../lib/entities/organization.js' +import setupMakeRequest from '../mocks/makeRequest.js' function setup(promise) { return { diff --git a/test/unit/entities/personal-access-token.test.ts b/test/unit/entities/personal-access-token.test.ts index d03f23135d..9d35fd578f 100644 --- a/test/unit/entities/personal-access-token.test.ts +++ b/test/unit/entities/personal-access-token.test.ts @@ -1,14 +1,14 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { wrapPersonalAccessToken, wrapPersonalAccessTokenCollection, -} from '../../../lib/entities/personal-access-token' +} from '../../../lib/entities/personal-access-token.js' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/preview-api-key.test.ts b/test/unit/entities/preview-api-key.test.ts index 6913d12095..43fe03cc8d 100644 --- a/test/unit/entities/preview-api-key.test.ts +++ b/test/unit/entities/preview-api-key.test.ts @@ -1,14 +1,14 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { wrapPreviewApiKey, wrapPreviewApiKeyCollection, -} from '../../../lib/entities/preview-api-key' +} from '../../../lib/entities/preview-api-key.js' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/release-action.test.ts b/test/unit/entities/release-action.test.ts index 8743d2a6d6..bbb1f4c9b7 100644 --- a/test/unit/entities/release-action.test.ts +++ b/test/unit/entities/release-action.test.ts @@ -1,8 +1,8 @@ import { describe, it } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { entityWrappedTest, entityActionTest } from '../test-creators/instance-entity-methods' -import { wrapReleaseAction } from '../../../lib/entities/release-action' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { entityWrappedTest, entityActionTest } from '../test-creators/instance-entity-methods.js' +import { wrapReleaseAction } from '../../../lib/entities/release-action.js' function setup(promise) { return { diff --git a/test/unit/entities/release.test.ts b/test/unit/entities/release.test.ts index ad2b47207e..7def6807ad 100644 --- a/test/unit/entities/release.test.ts +++ b/test/unit/entities/release.test.ts @@ -1,14 +1,14 @@ import { describe, it } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapRelease, wrapReleaseCollection } from '../../../lib/entities/release' +import { wrapRelease, wrapReleaseCollection } from '../../../lib/entities/release.js' import { entityWrappedTest, entityCollectionWrappedTest, entityDeleteTest, entityUpdateTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/resource-provider.test.ts b/test/unit/entities/resource-provider.test.ts index c505c10edf..509d3b2b3b 100644 --- a/test/unit/entities/resource-provider.test.ts +++ b/test/unit/entities/resource-provider.test.ts @@ -1,15 +1,15 @@ -import type { ResourceProviderProps } from '../../../lib/entities/resource-provider' -import { cloneMock, resourceTypeMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapResourceProvider } from '../../../lib/entities/resource-provider' +import type { ResourceProviderProps } from '../../../lib/entities/resource-provider.js' +import { cloneMock, resourceTypeMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapResourceProvider } from '../../../lib/entities/resource-provider.js' import { entityActionTest, entityWrappedTest, entityDeleteTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' import { describe, it, expect } from 'vitest' -import type { ResourceTypeProps } from '../../../lib/entities/resource-type' -import type { CollectionProp } from '../../../lib/common-types' +import type { ResourceTypeProps } from '../../../lib/entities/resource-type.js' +import type { CollectionProp } from '../../../lib/common-types.js' function setup(promise: Promise) { return { diff --git a/test/unit/entities/resource-type.test.ts b/test/unit/entities/resource-type.test.ts index dbeaddf197..35eedf9ade 100644 --- a/test/unit/entities/resource-type.test.ts +++ b/test/unit/entities/resource-type.test.ts @@ -1,12 +1,12 @@ -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { entityActionTest, entityWrappedTest, entityDeleteTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' import { describe, it } from 'vitest' -import { wrapResourceType, type ResourceTypeProps } from '../../../lib/entities/resource-type' +import { wrapResourceType, type ResourceTypeProps } from '../../../lib/entities/resource-type.js' function setup(promise: Promise) { return { diff --git a/test/unit/entities/role.test.ts b/test/unit/entities/role.test.ts index 181d3b08fe..5cd060eab8 100644 --- a/test/unit/entities/role.test.ts +++ b/test/unit/entities/role.test.ts @@ -1,7 +1,7 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapRole, wrapRoleCollection } from '../../../lib/entities/role' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapRole, wrapRoleCollection } from '../../../lib/entities/role.js' import { entityCollectionWrappedTest, entityDeleteTest, @@ -9,7 +9,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/scheduled-action.test.ts b/test/unit/entities/scheduled-action.test.ts index 3669c47f89..b369e6ed2b 100644 --- a/test/unit/entities/scheduled-action.test.ts +++ b/test/unit/entities/scheduled-action.test.ts @@ -1,18 +1,18 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { wrapScheduledAction, wrapScheduledActionCollection, -} from '../../../lib/entities/scheduled-action' +} from '../../../lib/entities/scheduled-action.js' import { entityCollectionWrappedTest, entityDeleteTest, entityUpdateTest, entityWrappedTest, failingActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/space-member.test.ts b/test/unit/entities/space-member.test.ts index 51e187e51c..c7f8a0b0e2 100644 --- a/test/unit/entities/space-member.test.ts +++ b/test/unit/entities/space-member.test.ts @@ -1,11 +1,11 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapSpaceMember, wrapSpaceMemberCollection } from '../../../lib/entities/space-member' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapSpaceMember, wrapSpaceMemberCollection } from '../../../lib/entities/space-member.js' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/space-membership.test.ts b/test/unit/entities/space-membership.test.ts index 672a5a770d..30810748cf 100644 --- a/test/unit/entities/space-membership.test.ts +++ b/test/unit/entities/space-membership.test.ts @@ -1,10 +1,10 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { wrapSpaceMembership, wrapSpaceMembershipCollection, -} from '../../../lib/entities/space-membership' +} from '../../../lib/entities/space-membership.js' import { entityCollectionWrappedTest, entityDeleteTest, @@ -12,7 +12,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/space.test.ts b/test/unit/entities/space.test.ts index 56583f17a6..ac9bb37e01 100644 --- a/test/unit/entities/space.test.ts +++ b/test/unit/entities/space.test.ts @@ -1,8 +1,8 @@ import { describe, test, expect } from 'vitest' -import { cloneMock, mockCollection, spaceMock } from '../mocks/entities' -import type { Space } from '../../../lib/entities/space' -import { wrapSpace, wrapSpaceCollection } from '../../../lib/entities/space' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock, mockCollection, spaceMock } from '../mocks/entities.js' +import type { Space } from '../../../lib/entities/space.js' +import { wrapSpace, wrapSpaceCollection } from '../../../lib/entities/space.js' +import setupMakeRequest from '../mocks/makeRequest.js' function setup(promise) { return { diff --git a/test/unit/entities/tag.test.ts b/test/unit/entities/tag.test.ts index b033fa4701..0832c7dd20 100644 --- a/test/unit/entities/tag.test.ts +++ b/test/unit/entities/tag.test.ts @@ -1,12 +1,12 @@ import { describe, test } from 'vitest' -import { wrapTag } from '../../../lib/entities/tag' -import setupMakeRequest from '../mocks/makeRequest' -import { cloneMock } from '../mocks/entities' +import { wrapTag } from '../../../lib/entities/tag.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities.js' import { entityDeleteTest, entityUpdateTest, failingActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/task.test.ts b/test/unit/entities/task.test.ts index ae3a331524..d9ef3f2fa6 100644 --- a/test/unit/entities/task.test.ts +++ b/test/unit/entities/task.test.ts @@ -1,7 +1,7 @@ import { describe, test } from 'vitest' -import { wrapTask, wrapTaskCollection } from '../../../lib/entities/task' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { wrapTask, wrapTaskCollection } from '../../../lib/entities/task.js' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { entityCollectionWrappedTest, entityDeleteTest, @@ -9,7 +9,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/team-membership.test.ts b/test/unit/entities/team-membership.test.ts index af96add09e..7291590380 100644 --- a/test/unit/entities/team-membership.test.ts +++ b/test/unit/entities/team-membership.test.ts @@ -1,17 +1,17 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { wrapTeamMembership, wrapTeamMembershipCollection, -} from '../../../lib/entities/team-membership' +} from '../../../lib/entities/team-membership.js' import { entityWrappedTest, entityUpdateTest, entityDeleteTest, failingActionTest, entityCollectionWrappedTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/team-space-membership.test.ts b/test/unit/entities/team-space-membership.test.ts index 3b32ba6965..48528f7597 100644 --- a/test/unit/entities/team-space-membership.test.ts +++ b/test/unit/entities/team-space-membership.test.ts @@ -1,10 +1,10 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { wrapTeamSpaceMembership, wrapTeamSpaceMembershipCollection, -} from '../../../lib/entities/team-space-membership' +} from '../../../lib/entities/team-space-membership.js' import { entityWrappedTest, entityCollectionWrappedTest, @@ -12,7 +12,7 @@ import { failingActionTest, failingVersionActionTest, entityUpdateTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/team.test.ts b/test/unit/entities/team.test.ts index bfd79620ea..314c7984bb 100644 --- a/test/unit/entities/team.test.ts +++ b/test/unit/entities/team.test.ts @@ -1,14 +1,14 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapTeam, wrapTeamCollection } from '../../../lib/entities/team' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapTeam, wrapTeamCollection } from '../../../lib/entities/team.js' import { entityWrappedTest, entityCollectionWrappedTest, failingActionTest, entityUpdateTest, entityDeleteTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/ui-config.test.ts b/test/unit/entities/ui-config.test.ts index bb9fe20ceb..97908fa51d 100644 --- a/test/unit/entities/ui-config.test.ts +++ b/test/unit/entities/ui-config.test.ts @@ -1,8 +1,8 @@ import { describe, test } from 'vitest' -import { wrapUIConfig } from '../../../lib/entities/ui-config' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { entityWrappedTest } from '../test-creators/instance-entity-methods' +import { wrapUIConfig } from '../../../lib/entities/ui-config.js' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/upload-credential.test.ts b/test/unit/entities/upload-credential.test.ts index 83d36198f7..0c47edb99f 100644 --- a/test/unit/entities/upload-credential.test.ts +++ b/test/unit/entities/upload-credential.test.ts @@ -1,8 +1,8 @@ import { describe, test } from 'vitest' -import { wrapUploadCredential } from '../../../lib/entities/upload-credential' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { entityWrappedTest } from '../test-creators/instance-entity-methods' +import { wrapUploadCredential } from '../../../lib/entities/upload-credential.js' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/upload.test.ts b/test/unit/entities/upload.test.ts index 5be35e980a..d2f96cfc83 100644 --- a/test/unit/entities/upload.test.ts +++ b/test/unit/entities/upload.test.ts @@ -1,12 +1,12 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapUpload } from '../../../lib/entities/upload' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapUpload } from '../../../lib/entities/upload.js' import { entityDeleteTest, entityWrappedTest, failingActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/usage.test.ts b/test/unit/entities/usage.test.ts index a30e1a425d..bcd654c196 100644 --- a/test/unit/entities/usage.test.ts +++ b/test/unit/entities/usage.test.ts @@ -1,8 +1,8 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapUsageCollection } from '../../../lib/entities/usage' -import { entityCollectionWrappedTest } from '../test-creators/instance-entity-methods' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapUsageCollection } from '../../../lib/entities/usage.js' +import { entityCollectionWrappedTest } from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/user-ui-config.test.ts b/test/unit/entities/user-ui-config.test.ts index 9801825a85..e9d3d23f6d 100644 --- a/test/unit/entities/user-ui-config.test.ts +++ b/test/unit/entities/user-ui-config.test.ts @@ -1,8 +1,8 @@ import { describe, test } from 'vitest' -import { wrapUserUIConfig } from '../../../lib/entities/user-ui-config' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { entityWrappedTest } from '../test-creators/instance-entity-methods' +import { wrapUserUIConfig } from '../../../lib/entities/user-ui-config.js' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/user.test.ts b/test/unit/entities/user.test.ts index d6e04dc155..b8bf246894 100644 --- a/test/unit/entities/user.test.ts +++ b/test/unit/entities/user.test.ts @@ -1,11 +1,11 @@ import { describe, test } from 'vitest' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' -import { wrapUser, wrapUserCollection } from '../../../lib/entities/user' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapUser, wrapUserCollection } from '../../../lib/entities/user.js' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/webhook.test.ts b/test/unit/entities/webhook.test.ts index 13fb367860..2575f33eb7 100644 --- a/test/unit/entities/webhook.test.ts +++ b/test/unit/entities/webhook.test.ts @@ -1,7 +1,7 @@ import { describe, test } from 'vitest' -import { wrapWebhook, wrapWebhookCollection } from '../../../lib/entities/webhook' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { wrapWebhook, wrapWebhookCollection } from '../../../lib/entities/webhook.js' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { entityCollectionWrappedTest, entityDeleteTest, @@ -9,7 +9,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/workflow-definition.test.ts b/test/unit/entities/workflow-definition.test.ts index b57ebdeec4..e97d450400 100644 --- a/test/unit/entities/workflow-definition.test.ts +++ b/test/unit/entities/workflow-definition.test.ts @@ -2,9 +2,9 @@ import { describe, test } from 'vitest' import { wrapWorkflowDefinition, wrapWorkflowDefinitionCollection, -} from '../../../lib/entities/workflow-definition' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +} from '../../../lib/entities/workflow-definition.js' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { entityCollectionWrappedTest, entityDeleteTest, @@ -12,7 +12,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/workflow.test.ts b/test/unit/entities/workflow.test.ts index d80ec19d0d..35ce1fe3e7 100644 --- a/test/unit/entities/workflow.test.ts +++ b/test/unit/entities/workflow.test.ts @@ -1,7 +1,7 @@ import { describe, test } from 'vitest' -import { wrapWorkflow, wrapWorkflowCollection } from '../../../lib/entities/workflow' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +import { wrapWorkflow, wrapWorkflowCollection } from '../../../lib/entities/workflow.js' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { entityActionTest, entityCollectionWrappedTest, @@ -10,7 +10,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/entities/workflows-changelog-entry.test.ts b/test/unit/entities/workflows-changelog-entry.test.ts index ae1ac6102c..2f0aaecb15 100644 --- a/test/unit/entities/workflows-changelog-entry.test.ts +++ b/test/unit/entities/workflows-changelog-entry.test.ts @@ -2,13 +2,13 @@ import { describe, test } from 'vitest' import { wrapWorkflowsChangelogEntry, wrapWorkflowsChangelogEntryCollection, -} from '../../../lib/entities/workflows-changelog-entry' -import { cloneMock } from '../mocks/entities' -import setupMakeRequest from '../mocks/makeRequest' +} from '../../../lib/entities/workflows-changelog-entry.js' +import { cloneMock } from '../mocks/entities.js' +import setupMakeRequest from '../mocks/makeRequest.js' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods' +} from '../test-creators/instance-entity-methods.js' function setup(promise) { return { diff --git a/test/unit/mocks/entities.ts b/test/unit/mocks/entities.ts index 42478f1fa2..58ebc0cf79 100644 --- a/test/unit/mocks/entities.ts +++ b/test/unit/mocks/entities.ts @@ -1,89 +1,94 @@ import { vi } from 'vitest' import cloneDeep from 'lodash/cloneDeep' -import { makeLink, makeVersionedLink } from '../../utils' -import type { ContentFields } from '../../../lib/entities/content-type-fields' -import type { AppSigningSecretProps } from '../../../lib/entities/app-signing-secret' -import type { CollectionProp, Link, MetaLinkProps, MetaSysProps } from '../../../lib/common-types' -import type { AppEventSubscriptionProps } from '../../../lib/entities/app-event-subscription' -import type { SpaceProps } from '../../../lib/entities/space' -import type { EnvironmentProps } from '../../../lib/entities/environment' -import type { EnvironmentTemplateProps } from '../../../lib/entities/environment-template' +import { makeLink, makeVersionedLink } from '../../utils.js' +import type { ContentFields } from '../../../lib/entities/content-type-fields.js' +import type { AppSigningSecretProps } from '../../../lib/entities/app-signing-secret.js' +import type { + CollectionProp, + Link, + MetaLinkProps, + MetaSysProps, +} from '../../../lib/common-types.js' +import type { AppEventSubscriptionProps } from '../../../lib/entities/app-event-subscription.js' +import type { SpaceProps } from '../../../lib/entities/space.js' +import type { EnvironmentProps } from '../../../lib/entities/environment.js' +import type { EnvironmentTemplateProps } from '../../../lib/entities/environment-template.js' import type { EnvironmentTemplateInstallationProps, EnvironmentTemplateValidationProps, -} from '../../../lib/entities/environment-template-installation' -import type { AppKeyProps } from '../../../lib/entities/app-key' -import type { UserProps } from '../../../lib/entities/user' -import type { PersonalAccessTokenProps } from '../../../lib/entities/personal-access-token' -import type { AppBundleProps } from '../../../lib/entities/app-bundle' -import type { AppActionProps } from '../../../lib/entities/app-action' +} from '../../../lib/entities/environment-template-installation.js' +import type { AppKeyProps } from '../../../lib/entities/app-key.js' +import type { UserProps } from '../../../lib/entities/user.js' +import type { PersonalAccessTokenProps } from '../../../lib/entities/personal-access-token.js' +import type { AppBundleProps } from '../../../lib/entities/app-bundle.js' +import type { AppActionProps } from '../../../lib/entities/app-action.js' import type { AppActionCallProps, AppActionCallResponseData, -} from '../../../lib/entities/app-action-call' -import type { AppDetailsProps } from '../../../lib/entities/app-details' +} from '../../../lib/entities/app-action-call.js' +import type { AppDetailsProps } from '../../../lib/entities/app-details.js' import type { AppDefinitionProps, AppInstallationsForOrganizationProps, -} from '../../../lib/entities/app-definition' -import type { AppUploadProps } from '../../../lib/entities/app-upload' -import type { AppSignedRequestProps } from '../../../lib/entities/app-signed-request' -import type { AppAccessTokenProps } from '../../../lib/entities/app-access-token' -import type { BulkActionProps } from '../../../lib/entities/bulk-action' -import { BulkActionStatus } from '../../../lib/entities/bulk-action' -import type { ContentTypeProps } from '../../../lib/entities/content-type' -import type { SnapshotProps } from '../../../lib/entities/snapshot' -import type { EntryProps } from '../../../lib/entities/entry' -import type { EditorInterfaceProps } from '../../../lib/entities/editor-interface' -import type { FunctionProps } from '../../../lib/entities/function' -import type { AssetProps } from '../../../lib/entities/asset' -import type { AssetKeyProps } from '../../../lib/entities/asset-key' -import type { UploadProps } from '../../../lib/entities/upload' -import type { LocaleProps } from '../../../lib/entities/locale' -import type { TeamMembershipProps } from '../../../lib/entities/team-membership' -import type { TeamSpaceMembershipProps } from '../../../lib/entities/team-space-membership' -import type { WebhookProps } from '../../../lib/entities/webhook' -import type { SpaceMemberProps } from '../../../lib/entities/space-member' -import type { SpaceMembershipProps } from '../../../lib/entities/space-membership' -import type { OrganizationMembershipProps } from '../../../lib/entities/organization-membership' -import type { TeamProps } from '../../../lib/entities/team' -import type { OrganizationInvitationProps } from '../../../lib/entities/organization-invitation' -import type { RoleProps } from '../../../lib/entities/role' -import type { ReleaseProps } from '../../../lib/entities/release' -import type { ReleaseActionProps } from '../../../lib/entities/release-action' -import type { ApiKey, ApiKeyProps } from '../../../lib/entities/api-key' -import type { OrganizationProps } from '../../../lib/entities/organization' -import type { UsageProps } from '../../../lib/entities/usage' -import type { ExtensionProps } from '../../../lib/entities/extension' -import type { AppInstallationProps } from '../../../lib/entities/app-installation' -import type { EnvironmentAliasProps } from '../../../lib/entities/environment-alias' -import type { TaskProps } from '../../../lib/entities/task' -import type { CommentProps } from '../../../lib/entities/comment' -import type { ConceptProps } from '../../../lib/entities/concept' -import type { ConceptSchemeProps } from '../../../lib/entities/concept-scheme' -import type { TagProps } from '../../../lib/entities/tag' +} from '../../../lib/entities/app-definition.js' +import type { AppUploadProps } from '../../../lib/entities/app-upload.js' +import type { AppSignedRequestProps } from '../../../lib/entities/app-signed-request.js' +import type { AppAccessTokenProps } from '../../../lib/entities/app-access-token.js' +import type { BulkActionProps } from '../../../lib/entities/bulk-action.js' +import { BulkActionStatus } from '../../../lib/entities/bulk-action.js' +import type { ContentTypeProps } from '../../../lib/entities/content-type.js' +import type { SnapshotProps } from '../../../lib/entities/snapshot.js' +import type { EntryProps } from '../../../lib/entities/entry.js' +import type { EditorInterfaceProps } from '../../../lib/entities/editor-interface.js' +import type { FunctionProps } from '../../../lib/entities/function.js' +import type { AssetProps } from '../../../lib/entities/asset.js' +import type { AssetKeyProps } from '../../../lib/entities/asset-key.js' +import type { UploadProps } from '../../../lib/entities/upload.js' +import type { LocaleProps } from '../../../lib/entities/locale.js' +import type { TeamMembershipProps } from '../../../lib/entities/team-membership.js' +import type { TeamSpaceMembershipProps } from '../../../lib/entities/team-space-membership.js' +import type { WebhookProps } from '../../../lib/entities/webhook.js' +import type { SpaceMemberProps } from '../../../lib/entities/space-member.js' +import type { SpaceMembershipProps } from '../../../lib/entities/space-membership.js' +import type { OrganizationMembershipProps } from '../../../lib/entities/organization-membership.js' +import type { TeamProps } from '../../../lib/entities/team.js' +import type { OrganizationInvitationProps } from '../../../lib/entities/organization-invitation.js' +import type { RoleProps } from '../../../lib/entities/role.js' +import type { ReleaseProps } from '../../../lib/entities/release.js' +import type { ReleaseActionProps } from '../../../lib/entities/release-action.js' +import type { ApiKey, ApiKeyProps } from '../../../lib/entities/api-key.js' +import type { OrganizationProps } from '../../../lib/entities/organization.js' +import type { UsageProps } from '../../../lib/entities/usage.js' +import type { ExtensionProps } from '../../../lib/entities/extension.js' +import type { AppInstallationProps } from '../../../lib/entities/app-installation.js' +import type { EnvironmentAliasProps } from '../../../lib/entities/environment-alias.js' +import type { TaskProps } from '../../../lib/entities/task.js' +import type { CommentProps } from '../../../lib/entities/comment.js' +import type { ConceptProps } from '../../../lib/entities/concept.js' +import type { ConceptSchemeProps } from '../../../lib/entities/concept-scheme.js' +import type { TagProps } from '../../../lib/entities/tag.js' import type { ScheduledActionCollection, ScheduledActionProps, -} from '../../../lib/entities/scheduled-action' -import { ScheduledActionStatus } from '../../../lib/entities/scheduled-action' +} from '../../../lib/entities/scheduled-action.js' +import { ScheduledActionStatus } from '../../../lib/entities/scheduled-action.js' import type { WorkflowDefinitionProps, WorkflowStepProps, -} from '../../../lib/entities/workflow-definition' -import type { WorkflowProps } from '../../../lib/entities/workflow' -import type { WorkflowsChangelogEntryProps } from '../../../lib/entities/workflows-changelog-entry' -import type { UIConfigProps } from '../../../lib/entities/ui-config' -import type { UserUIConfigProps } from '../../../lib/entities/user-ui-config' -import type { OAuthApplicationProps } from '../../../lib/entities/oauth-application' -import { ScopeValues } from '../../../lib/entities/oauth-application' -import type { FunctionLogProps } from '../../../lib/entities/function-log' -import { AiActionProps } from '../../../lib/entities/ai-action' +} from '../../../lib/entities/workflow-definition.js' +import type { WorkflowProps } from '../../../lib/entities/workflow.js' +import type { WorkflowsChangelogEntryProps } from '../../../lib/entities/workflows-changelog-entry.js' +import type { UIConfigProps } from '../../../lib/entities/ui-config.js' +import type { UserUIConfigProps } from '../../../lib/entities/user-ui-config.js' +import type { OAuthApplicationProps } from '../../../lib/entities/oauth-application.js' +import { ScopeValues } from '../../../lib/entities/oauth-application.js' +import type { FunctionLogProps } from '../../../lib/entities/function-log.js' +import { AiActionProps } from '../../../lib/entities/ai-action.js' import { AiActionInvocationProps, AiActionInvocationType, -} from '../../../lib/entities/ai-action-invocation' +} from '../../../lib/entities/ai-action-invocation.js' const linkMock: MetaLinkProps = { id: 'linkid', diff --git a/test/unit/mocks/makeRequest.ts b/test/unit/mocks/makeRequest.ts index f9fc08baeb..2e730724fb 100644 --- a/test/unit/mocks/makeRequest.ts +++ b/test/unit/mocks/makeRequest.ts @@ -1,6 +1,6 @@ import { vi } from 'vitest' import type { Mock } from 'vitest' -import type { MakeRequest } from '../../../lib/common-types' +import type { MakeRequest } from '../../../lib/common-types.js' export default function setupMakeRequest( promise: Promise, diff --git a/test/unit/plain/as-iterator.test.ts b/test/unit/plain/as-iterator.test.ts index a770e13a64..6e2fca8992 100644 --- a/test/unit/plain/as-iterator.test.ts +++ b/test/unit/plain/as-iterator.test.ts @@ -1,7 +1,7 @@ import { vi, test, expect } from 'vitest' -import defaultsDeep from 'lodash/defaultsDeep' -import { asIterator } from '../../../lib/plain/as-iterator' -import type { CollectionProp } from '../../../lib/common-types' +import { defaultsDeep } from 'lodash-es' +import { asIterator } from '../../../lib/plain/as-iterator.js' +import type { CollectionProp } from '../../../lib/common-types.js' const exhaustIterator = async (iterator) => { const data: unknown[] = [] diff --git a/test/unit/plain/pagination-helper.test.ts b/test/unit/plain/pagination-helper.test.ts index dd696b86ea..bb5baf7c29 100644 --- a/test/unit/plain/pagination-helper.test.ts +++ b/test/unit/plain/pagination-helper.test.ts @@ -4,10 +4,13 @@ import type { CursorBasedParams, FetchFn, OffsetBasedParams, -} from '../../../lib/plain/pagination-helper' -import { fetchAll } from '../../../lib/plain/pagination-helper' -import type { BasicCursorPaginationOptions } from '../../../lib/common-types' -import { type CollectionProp, type CursorPaginatedCollectionProp } from '../../../lib/common-types' +} from '../../../lib/plain/pagination-helper.js' +import { fetchAll } from '../../../lib/plain/pagination-helper.js' +import type { BasicCursorPaginationOptions } from '../../../lib/common-types.js' +import { + type CollectionProp, + type CursorPaginatedCollectionProp, +} from '../../../lib/common-types.js' const defaultLimit = 2 diff --git a/test/unit/plain/resource-provider.test.ts b/test/unit/plain/resource-provider.test.ts index 9d4663fbed..9fc0fa4de7 100644 --- a/test/unit/plain/resource-provider.test.ts +++ b/test/unit/plain/resource-provider.test.ts @@ -1,7 +1,7 @@ import { describe, test, expect } from 'vitest' -import { createClient } from '../../../lib/contentful-management' -import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' -import { resourceProviderMock } from '../mocks/entities' +import { createClient } from '../../../lib/index.js' +import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter.js' +import { resourceProviderMock } from '../mocks/entities.js' describe('ResourceProvider', () => { const organizationId = 'organizationId' diff --git a/test/unit/plain/resource-type.test.ts b/test/unit/plain/resource-type.test.ts index 6f977125d8..22dcaf7541 100644 --- a/test/unit/plain/resource-type.test.ts +++ b/test/unit/plain/resource-type.test.ts @@ -1,7 +1,7 @@ import { describe, test, expect } from 'vitest' -import { createClient } from '../../../lib/contentful-management' -import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' -import { resourceTypeMock } from '../mocks/entities' +import { createClient } from '../../../lib/index.js' +import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter.js' +import { resourceTypeMock } from '../mocks/entities.js' describe('ResourceType', () => { const organizationId = 'organizationId' diff --git a/test/unit/plain/resource.test.ts b/test/unit/plain/resource.test.ts index 9881ef419c..d3a68275ad 100644 --- a/test/unit/plain/resource.test.ts +++ b/test/unit/plain/resource.test.ts @@ -1,7 +1,7 @@ import { describe, test, expect } from 'vitest' -import { createClient } from '../../../lib/contentful-management' -import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' -import { resourceMock } from '../mocks/entities' +import { createClient } from '../../../lib/index.js' +import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter.js' +import { resourceMock } from '../mocks/entities.js' describe('Resource', () => { const spaceId = 'spaceId' diff --git a/test/unit/plain/webhook.test.ts b/test/unit/plain/webhook.test.ts index 5cf2b9ad32..cea28b3db8 100644 --- a/test/unit/plain/webhook.test.ts +++ b/test/unit/plain/webhook.test.ts @@ -1,6 +1,6 @@ import { describe, test, expect } from 'vitest' -import { createClient } from '../../../lib/contentful-management' -import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' +import { createClient } from '../../../lib/index.js' +import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter.js' describe('Webhook', () => { const spaceId = 'space-id' diff --git a/test/unit/test-creators/instance-entity-methods.ts b/test/unit/test-creators/instance-entity-methods.ts index 0ae25ef6f7..2874ab6cfc 100644 --- a/test/unit/test-creators/instance-entity-methods.ts +++ b/test/unit/test-creators/instance-entity-methods.ts @@ -1,7 +1,7 @@ -import type { MakeRequest, MetaSysProps } from '../../../lib/common-types' -import type { ContentTypeProps } from '../../../lib/entities/content-type' -import type { errorMock } from '../mocks/entities' -import { cloneMock, mockCollection } from '../mocks/entities' +import type { MakeRequest, MetaSysProps } from '../../../lib/common-types.js' +import type { ContentTypeProps } from '../../../lib/entities/content-type.js' +import type { errorMock } from '../mocks/entities.js' +import { cloneMock, mockCollection } from '../mocks/entities.js' import { expect, vi } from 'vitest' export function entityWrappedTest(setup, { wrapperMethod }) { diff --git a/test/unit/test-creators/static-entity-methods.ts b/test/unit/test-creators/static-entity-methods.ts index 9db9bfb08c..5237ff0cee 100644 --- a/test/unit/test-creators/static-entity-methods.ts +++ b/test/unit/test-creators/static-entity-methods.ts @@ -1,5 +1,6 @@ -import { cloneMock } from '../mocks/entities' -import { cloneDeep, upperFirst } from 'lodash' +import { cloneMock } from '../mocks/entities.js' +import { cloneDeep } from 'lodash-es' +import { upperFirst } from 'lodash-es' import { expect } from 'vitest' export async function makeGetEntityTest( diff --git a/test/utils.ts b/test/utils.ts index f071a84467..a95246d8df 100644 --- a/test/utils.ts +++ b/test/utils.ts @@ -1,4 +1,4 @@ -import type { Link, VersionedLink } from '../lib/common-types' +import type { Link, VersionedLink } from '../lib/common-types.js' export function makeLink(type: T, id: string): Link { return { diff --git a/tsconfig.json b/tsconfig.json index e21df64f4c..e2f4fbda47 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,26 +1,18 @@ { "compilerOptions": { - "target": "esnext", - "moduleResolution": "node", - "allowJs": true, - "noEmit": true, - "outDir": "./dist/typings", + "rootDir": "./lib", + "lib": ["dom", "esnext"], + "target": "ES2021", + "module": "nodenext", + "moduleResolution": "nodenext", "strict": true, - "isolatedModules": true, + "importHelpers": true, "esModuleInterop": true, - "noImplicitThis": false, - "typeRoots": ["node_modules/@types"], - "skipLibCheck": true + "skipLibCheck": true, + "noEmit": true, + "inlineSources": true, + "sourceMap": true, + "noImplicitThis": false }, - "include": ["lib", "global-types"], - "typedocOptions": { - "out": "./out", - "entryPoints": ["./lib/contentful-management.ts"], - "readme": "README.md", - "name": "contentful-management.js", - "exclude": ["./lib/adapters/REST/endpoints/*"], - "includeVersion": true, - "hideGenerator": true, - "excludePrivate": true - } + "include": ["lib", "types"] } diff --git a/types.d.ts b/types.d.ts deleted file mode 100644 index 9fa8a59d8c..0000000000 --- a/types.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './dist/typings/export-types' diff --git a/vitest.setup.unit.ts b/vitest.setup.unit.ts index 5cd212bfcf..b850c39861 100644 --- a/vitest.setup.unit.ts +++ b/vitest.setup.unit.ts @@ -1,5 +1,5 @@ import { vi } from 'vitest' -import type contentfulSdkCore from 'contentful-sdk-core' +import type * as contentfulSdkCore from 'contentful-sdk-core' vi.mock('contentful-sdk-core', async (importOriginal) => { const orig = await importOriginal() diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index 2c12c3ba7e..0000000000 --- a/webpack.config.js +++ /dev/null @@ -1,108 +0,0 @@ -/* eslint-disable @typescript-eslint/no-require-imports */ -const path = require('path') -const webpack = require('webpack') -const clone = require('lodash/cloneDeep') -const LodashModuleReplacementPlugin = require('lodash-webpack-plugin') - -const PROD = process.env.NODE_ENV === 'production' - -const presets = (targets) => [['@babel/preset-env', { targets }], '@babel/typescript'] - -const plugins = [ - new webpack.EnvironmentPlugin({ - NODE_ENV: 'development', - }), - new LodashModuleReplacementPlugin({ - caching: true, - cloning: true, - }), -] - -if (PROD) { - plugins.push( - new webpack.LoaderOptionsPlugin({ - minimize: true, - debug: false, - }), - new webpack.optimize.ModuleConcatenationPlugin(), - new (class { - apply(compiler) { - compiler.hooks.emit.tap('RemoveLicenseFilePlugin', (compilation) => { - for (let name in compilation.assets) { - if (name.endsWith('LICENSE.txt')) { - delete compilation.assets[name] - } - } - }) - } - })(), - ) -} - -const baseFileName = `contentful-management` - -const baseBundleConfig = { - mode: PROD ? 'production' : 'development', - context: path.join(__dirname, 'lib'), - entry: ['./contentful-management.ts'], - output: { - path: path.join(__dirname, 'dist'), - libraryTarget: 'umd', - }, - module: { - rules: [], - }, - resolve: { - extensions: ['.js', '.ts'], - fallback: { - os: false, - }, - }, - devtool: PROD ? false : 'source-map', - plugins, - // Show minimal information, but all errors and warnings - // Except for log generation which have to contain all information - stats: process.env.WEBPACK_MODE === 'log' ? 'verbose' : 'normal', -} - -const defaultBabelLoader = { - test: /\.(ts|js)x?$/, - include: [path.resolve(__dirname, 'lib'), path.resolve(__dirname, 'test')], - loader: 'babel-loader', - options: { - presets: [], - }, -} - -// Browsers -const browserBundle = clone(baseBundleConfig) -browserBundle.module.rules = [ - Object.assign({}, defaultBabelLoader, { - options: Object.assign({}, defaultBabelLoader.options, { - presets: presets({ - browsers: ['last 2 versions', 'not ie < 13', 'not android < 50'], - }), - envName: 'browser', - }), - }), -] -browserBundle.output.filename = `${baseFileName}.browser${PROD ? '.min' : ''}.js` - -// Node -const nodeBundle = clone(baseBundleConfig) -nodeBundle.module.rules = [ - Object.assign({}, defaultBabelLoader, { - options: Object.assign({}, defaultBabelLoader.options, { - envName: 'node', - presets: presets({ - node: '14', - }), - }), - }), -] -nodeBundle.target = 'node' -nodeBundle.output.libraryTarget = 'commonjs2' -nodeBundle.output.filename = `${baseFileName}.node${PROD ? '.min' : ''}.js` -delete nodeBundle.node - -module.exports = [browserBundle, nodeBundle]