From 3cb96b2d3ba79f518bf1f7005d39ca73a30bab14 Mon Sep 17 00:00:00 2001 From: Lisa White Date: Wed, 16 Apr 2025 09:46:35 -0600 Subject: [PATCH 01/48] BREAKING CHANGE: v12.0.0 release beta [] (#2616) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * BREAKING CHANGE: full ESM support (#2472) * fix: clean dependencies, delete unused file, migrated overlooked tests from last merge * refactor: build process now supports TS, ESM, CJS and browser * build: upgrade to ESM version of contentful-sdk-core * test: reduce bundle size limits thanks to our optimizations * build: clean up depdency changes * chore: typos * feat: this SDK now also includes its version number in its bundles * test: fix output integration tests * build: npm dedupe * build: latest rollup dependencies * fix: use with keyword instead of assert to mark import as json * build: update depndencies related to this branch * build: make npm happy to resolve our dependencies without --force * test: ensure new failing typescript lint rules throw warnings only - still should be resolved at some point * test: fix import paths * build: ensure json-patch is available for typescript in projects using this api client * ci: update node version * fix: adjust import path * style: ensure prettier doesnt fail on our rollup config file * style: format code to make prettier lint happy * style: format code to make prettier lint happy #2 * ci: update circleci config to match our new setup * ci: cleanup * test: slightly increase bundle size limits * feat: introduce MIGRATION.md file * docs: readme cleanup * fix: move types definition to top of exports as demanded by node docs * fix: disable linting on inject-env file * docs: fix wrong link --------- Co-authored-by: Lisa White * fix: replace `SysLink` & `MetaLinkProps` with `Link` to improve type safety [CFISO-2344] (#2590) * fix: replace `SysLink` & `MetaLinkProps` with `Link` to improve type safety * chore: prettier * fix: more specific types for subject links * fix: snapshots are created by users * fix: webhook health is created by webhook defs * fix: webhook call is created by webhook defs * chore: formatting * fix: update AiAction links * fix: `createdBy` etc should be a union, not an object * fix: remove unused types * fix: remove import * feat: narrow `sys.type` to a string literal type for better type safety (#2611) * feat: narrow `sys.type` to a string literal type for better type safety * fix: types for `Usage` * chore: prettier * feat: align taxonomy update methods with standard [NONE] (#2478) * fix: make version param required for entry patch method of plain client [DX-34] (#2610) --------- Co-authored-by: Benedikt Rötsch Co-authored-by: Andi Pätzold Co-authored-by: LiamStokingerContentful <109533364+LiamStokingerContentful@users.noreply.github.com> --- .babelrc.js | 70 - .circleci/config.yml | 10 +- .gitignore | 1 - .prettierignore | 1 + MIGRATION.md | 106 + README.md | 121 +- eslint.config.mjs | 2 + lib/adapters/REST/endpoints/asset.ts | 2 +- lib/adapters/REST/endpoints/concept-scheme.ts | 20 - lib/adapters/REST/endpoints/concept.ts | 20 - lib/adapters/REST/endpoints/usage.ts | 4 +- lib/adapters/REST/make-request.ts | 2 +- lib/common-types.ts | 57 +- lib/create-app-definition-api.ts | 2 +- lib/create-contentful-api.ts | 3 +- lib/create-entry-api.ts | 2 +- lib/create-environment-api.ts | 4 +- lib/create-environment-template-api.ts | 2 +- lib/create-organization-api.ts | 2 +- lib/create-space-api.ts | 2 +- lib/create-ui-config-api.ts | 2 +- lib/create-user-ui-config-api.ts | 2 +- lib/entities/access-token.ts | 6 +- lib/entities/ai-action-invocation.ts | 8 +- lib/entities/ai-action.ts | 22 +- lib/entities/api-key.ts | 10 +- lib/entities/app-access-token.ts | 10 +- lib/entities/app-action-call.ts | 12 +- lib/entities/app-action.ts | 14 +- lib/entities/app-bundle.ts | 8 +- lib/entities/app-definition.ts | 12 +- lib/entities/app-details.ts | 8 +- lib/entities/app-event-subscription.ts | 17 +- lib/entities/app-installation.ts | 12 +- lib/entities/app-key.ts | 8 +- lib/entities/app-signed-request.ts | 13 +- lib/entities/app-signing-secret.ts | 11 +- lib/entities/app-upload.ts | 6 +- lib/entities/asset.ts | 1 - lib/entities/comment.ts | 7 +- lib/entities/content-type.ts | 7 +- lib/entities/editor-interface.ts | 10 +- lib/entities/entry.ts | 8 +- lib/entities/environment-alias.ts | 12 +- .../environment-template-installation.ts | 2 +- lib/entities/environment-template.ts | 5 +- lib/entities/environment.ts | 12 +- lib/entities/extension.ts | 8 +- lib/entities/locale.ts | 7 +- lib/entities/oauth-application.ts | 2 +- lib/entities/organization-invitation.ts | 6 +- lib/entities/organization-membership.ts | 4 +- lib/entities/organization.ts | 2 +- lib/entities/personal-access-token.ts | 2 +- lib/entities/preview-api-key.ts | 2 +- lib/entities/resource-provider.ts | 12 +- lib/entities/resource-type.ts | 10 +- lib/entities/resource.ts | 8 +- lib/entities/role.ts | 4 +- lib/entities/scheduled-action.ts | 6 +- lib/entities/snapshot.ts | 2 +- lib/entities/space-member.ts | 6 +- lib/entities/space-membership.ts | 8 +- lib/entities/space.ts | 5 +- lib/entities/tag.ts | 8 +- lib/entities/task.ts | 7 +- lib/entities/team-membership.ts | 10 +- lib/entities/team-space-membership.ts | 6 +- lib/entities/team.ts | 4 +- lib/entities/ui-config.ts | 8 +- lib/entities/upload-credential.ts | 4 +- lib/entities/upload.ts | 7 +- lib/entities/usage.ts | 20 +- lib/entities/user-ui-config.ts | 9 +- lib/entities/user.ts | 2 +- lib/entities/webhook.ts | 28 +- lib/entities/workflow-definition.ts | 7 +- lib/entities/workflow.ts | 11 +- lib/entities/workflows-changelog-entry.ts | 3 +- lib/export-types.ts | 8 +- lib/global.d.ts | 2 + lib/{contentful-management.ts => index.ts} | 3 +- lib/plain/checks.ts | 11 +- lib/plain/common-types.ts | 5 +- lib/plain/entities/concept-scheme.ts | 27 +- lib/plain/entities/concept.ts | 27 +- lib/plain/entities/upload-credential.ts | 2 +- lib/plain/plain-client.ts | 3 +- package-lock.json | 5625 +++++------------ package.json | 92 +- rollup.config.js | 182 + test/helpers.ts | 6 +- .../app-access-token-integration.test.ts | 2 +- .../app-action-integration.test.ts | 2 +- .../app-bundle-integration.test.ts | 8 +- .../app-definition-integration.test.ts | 7 +- .../app-details-integration.test.ts | 7 +- ...app-event-subscription-integration.test.ts | 2 +- test/integration/app-key-integration.test.ts | 2 +- .../app-signed-request-integration.test.ts | 2 +- .../app-signing-secret-integration.test.ts | 2 +- .../app-upload-integration.test.ts | 2 +- .../bulk-action-integration.test.ts | 4 +- .../entry-references-integration.test.ts | 2 +- test/integration/taxonomy-integration.test.ts | 64 +- .../browser/public/index.js | 5 +- .../browser/scripts/inject-env.js | 1 + .../browser/test/index.test.js | 4 +- .../REST/endpoints/concept-scheme.test.ts | 23 +- .../adapters/REST/endpoints/concept.test.ts | 23 +- test/unit/contentful-management.test.ts | 2 +- test/unit/plain/resource-provider.test.ts | 2 +- test/unit/plain/resource-type.test.ts | 2 +- test/unit/plain/resource.test.ts | 2 +- test/unit/plain/webhook.test.ts | 2 +- tsconfig.json | 27 +- webpack.config.js | 107 - 117 files changed, 2488 insertions(+), 4717 deletions(-) delete mode 100644 .babelrc.js create mode 100644 MIGRATION.md create mode 100644 lib/global.d.ts rename lib/{contentful-management.ts => index.ts} (98%) create mode 100644 rollup.config.js delete mode 100644 webpack.config.js 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/.circleci/config.yml b/.circleci/config.yml index 99443526f0..30b7580293 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -71,17 +71,13 @@ jobs: - with-workspace - run: npm run prettier:check - run: npm run lint - - run: npm run check-types + - run: npm run test:types unit: executor: docker-with-node steps: - with-workspace - run: npm run test:cover-unit - - store_test_results: - path: reports - - store_artifacts: - path: ./reports/unit-results.xml size: executor: docker-with-node @@ -94,10 +90,6 @@ jobs: steps: - with-workspace - run: npm run test:cover-integration - - store_test_results: - path: reports - - store_artifacts: - path: ./reports/integration-results.xml # Do not use the workspace for the release step release: 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/.prettierignore b/.prettierignore index f18cff6b6c..36884aa428 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,3 +3,4 @@ dist coverage out typings +rollup.config.js \ 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 00e605ebf5..033a3236d3 100644 --- a/README.md +++ b/README.md @@ -43,29 +43,44 @@ -- [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) + - [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 +100,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 +118,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 +138,26 @@ 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 +const contentful = require('contentful-management/dist/contentful-management.cjs') +``` + ### Browser: For browsers, we recommend to download the library via npm or yarn to ensure 100% availability. @@ -127,11 +170,11 @@ If you'd like to use a standalone built file you can use the following script ta **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,29 +193,13 @@ 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', @@ -232,7 +259,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 +295,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( @@ -294,9 +322,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/eslint.config.mjs b/eslint.config.mjs index 0e2a2c7694..c39b90ba55 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -8,6 +8,7 @@ export default tseslint.config( eslint.configs.recommended, tseslint.configs.recommended, { + ignores: ['test/output-integration/**/*'], languageOptions: { globals: { ...globals.node, @@ -26,6 +27,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': [ diff --git a/lib/adapters/REST/endpoints/asset.ts b/lib/adapters/REST/endpoints/asset.ts index ee6f4e926b..21e18a231a 100644 --- a/lib/adapters/REST/endpoints/asset.ts +++ b/lib/adapters/REST/endpoints/asset.ts @@ -190,7 +190,7 @@ export const createWithId: RestEndpoint<'Asset', 'createWithId'> = ( export const createFromFiles: RestEndpoint<'Asset', 'createFromFiles'> = async ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { uploadTimeout?: number }, - data: Omit + data: AssetFileProp ) => { const httpUpload = getUploadHttpClient(http, { uploadTimeout: params.uploadTimeout }) diff --git a/lib/adapters/REST/endpoints/concept-scheme.ts b/lib/adapters/REST/endpoints/concept-scheme.ts index 8f4501113c..e24befedea 100644 --- a/lib/adapters/REST/endpoints/concept-scheme.ts +++ b/lib/adapters/REST/endpoints/concept-scheme.ts @@ -91,26 +91,6 @@ export const patch: RestEndpoint<'ConceptScheme', 'patch'> = ( } export const update: RestEndpoint<'ConceptScheme', 'update'> = ( - http: AxiosInstance, - params: UpdateConceptSchemeParams, - data: OpPatch[], - headers?: RawAxiosRequestHeaders -) => { - return raw.patch( - http, - `${basePath(params.organizationId)}/${params.conceptSchemeId}`, - data, - { - headers: { - 'X-Contentful-Version': params.version, - 'Content-Type': 'application/json-patch+json', - ...headers, - }, - } - ) -} - -export const updatePut: RestEndpoint<'ConceptScheme', 'updatePut'> = ( http: AxiosInstance, params: UpdateConceptSchemeParams, data: CreateConceptSchemeProps, diff --git a/lib/adapters/REST/endpoints/concept.ts b/lib/adapters/REST/endpoints/concept.ts index 937fb26687..1659e32576 100644 --- a/lib/adapters/REST/endpoints/concept.ts +++ b/lib/adapters/REST/endpoints/concept.ts @@ -55,26 +55,6 @@ export const patch: RestEndpoint<'Concept', 'patch'> = ( } export const update: RestEndpoint<'Concept', 'update'> = ( - http: AxiosInstance, - params: UpdateConceptParams, - data: OpPatch[], - headers?: RawAxiosRequestHeaders -) => { - return raw.patch( - http, - `${basePath(params.organizationId)}/${params.conceptId}`, - data, - { - headers: { - 'X-Contentful-Version': params.version, - 'Content-Type': 'application/json-patch+json', - ...headers, - }, - } - ) -} - -export const updatePut: RestEndpoint<'Concept', 'updatePut'> = ( http: AxiosInstance, params: UpdateConceptParams, data: CreateConceptProps, diff --git a/lib/adapters/REST/endpoints/usage.ts b/lib/adapters/REST/endpoints/usage.ts index 4f3bc941f4..f68ce5397d 100644 --- a/lib/adapters/REST/endpoints/usage.ts +++ b/lib/adapters/REST/endpoints/usage.ts @@ -8,7 +8,7 @@ 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/make-request.ts b/lib/adapters/REST/make-request.ts index cd44cbd502..ea83c2febd 100644 --- a/lib/adapters/REST/make-request.ts +++ b/lib/adapters/REST/make-request.ts @@ -2,7 +2,7 @@ import type { AxiosInstance } from 'contentful-sdk-core' import type { MakeRequestOptions, MakeRequestPayload } from '../../common-types' import type { OpPatch } from 'json-patch' import type { RawAxiosRequestHeaders } from 'axios' -import endpoints from './endpoints' +import endpoints from './endpoints/index' type makeAxiosRequest = MakeRequestOptions & { axiosInstance: AxiosInstance diff --git a/lib/common-types.ts b/lib/common-types.ts index a0a2686964..47a1e11ef6 100644 --- a/lib/common-types.ts +++ b/lib/common-types.ts @@ -248,41 +248,41 @@ export interface SpaceQueryOptions extends PaginationQueryOptions { spaceId?: string } -export interface BasicMetaSysProps { - type: string +export interface BasicMetaSysProps { + type: TType id: string version: number - createdBy?: SysLink + createdBy?: { [Subject in TSubject]: Link }[TSubject] createdAt: string - updatedBy?: SysLink + updatedBy?: { [Subject in TSubject]: Link }[TSubject] updatedAt: string } -export interface MetaSysProps extends BasicMetaSysProps { - space?: SysLink +export interface MetaSysProps + extends BasicMetaSysProps { + space?: Link<'Space'> /** * @deprecated `status` only exists on entities. Please refactor to use a * type guard to get the correct `EntityMetaSysProps` type with this property. */ - status?: SysLink + status?: Link<'Status'> publishedVersion?: number archivedVersion?: number - archivedBy?: SysLink + archivedBy?: { [Subject in TSubject]: Link }[TSubject] archivedAt?: string deletedVersion?: number - deletedBy?: SysLink + deletedBy?: { [Subject in TSubject]: Link }[TSubject] deletedAt?: string } -export interface EntityMetaSysProps extends MetaSysProps { +export interface EntityMetaSysProps extends MetaSysProps<'User' | 'AppDefinition'> { /** * @deprecated `contentType` only exists on entries. Please refactor to use a * type guard to get the correct `EntryMetaSysProps` type with this property. */ - contentType: SysLink - space: SysLink - status?: SysLink - environment: SysLink + contentType: Link<'ContentType'> + space: Link<'Space'> + environment: Link<'Environment'> publishedBy?: Link<'User'> | Link<'AppDefinition'> publishedAt?: string firstPublishedAt?: string @@ -291,26 +291,11 @@ export interface EntityMetaSysProps extends MetaSysProps { fieldStatus?: { '*': Record } } -export interface EntryMetaSysProps extends EntityMetaSysProps { - contentType: SysLink - automationTags: Link<'Tag'>[] -} - -export interface MetaLinkProps { - type: string - linkType: string - id: string -} - export interface MetadataProps { tags: Link<'Tag'>[] concepts?: Link<'TaxonomyConcept'>[] } -export interface SysLink { - sys: MetaLinkProps -} - export interface CollectionProp { sys: { type: 'Array' @@ -539,7 +524,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'> @@ -549,7 +533,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'> @@ -1237,7 +1220,7 @@ export type MRActions = { } createFromFiles: { params: GetSpaceEnvironmentParams & { uploadTimeout?: number } - payload: Omit + payload: AssetFileProp return: AssetProps } processForAllLocales: { @@ -1349,11 +1332,6 @@ export type MRActions = { return: ConceptProps } update: { - params: UpdateConceptParams - payload: OpPatch[] - return: ConceptProps - } - updatePut: { params: UpdateConceptParams payload: CreateConceptProps return: ConceptProps @@ -1400,11 +1378,6 @@ export type MRActions = { return: ConceptSchemeProps } update: { - params: UpdateConceptSchemeParams - payload: OpPatch[] - return: ConceptSchemeProps - } - updatePut: { params: UpdateConceptSchemeParams payload: CreateConceptSchemeProps return: ConceptSchemeProps diff --git a/lib/create-app-definition-api.ts b/lib/create-app-definition-api.ts index 081e9dec2a..e5dc69c6d6 100644 --- a/lib/create-app-definition-api.ts +++ b/lib/create-app-definition-api.ts @@ -1,5 +1,5 @@ import type { MakeRequest, QueryOptions, SpaceQueryOptions } from './common-types' -import entities from './entities' +import entities from './entities/index' import type { CreateAppBundleProps } from './entities/app-bundle' import type { AppDefinitionProps } from './entities/app-definition' import { wrapAppDefinition } from './entities/app-definition' diff --git a/lib/create-contentful-api.ts b/lib/create-contentful-api.ts index 6693030457..a107cf89f3 100644 --- a/lib/create-contentful-api.ts +++ b/lib/create-contentful-api.ts @@ -12,7 +12,7 @@ import type { GetOAuthApplicationParams, GetUserParams, } from './common-types' -import entities from './entities' +import entities from './entities/index' import type { Organization, OrganizationProps } from './entities/organization' import type { CreatePersonalAccessTokenProps } from './entities/personal-access-token' import type { Space, SpaceProps } from './entities/space' @@ -51,6 +51,7 @@ export default function createClientApi(makeRequest: MakeRequest) { 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..da9e0f0ae0 100644 --- a/lib/create-entry-api.ts +++ b/lib/create-entry-api.ts @@ -4,7 +4,7 @@ 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 entities from './entities/index' /** * @private diff --git a/lib/create-environment-api.ts b/lib/create-environment-api.ts index 7ba5ccb181..3ccdecb424 100644 --- a/lib/create-environment-api.ts +++ b/lib/create-environment-api.ts @@ -8,7 +8,7 @@ import type { QueryOptions, } from './common-types' import type { BasicQueryOptions, MakeRequest } from './common-types' -import entities from './entities' +import entities from './entities/index' import type { CreateAppInstallationProps } from './entities/app-installation' import type { CreateAppSignedRequestProps } from './entities/app-signed-request' import type { CreateAppActionCallProps } from './entities/app-action-call' @@ -1100,7 +1100,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 d192c4395f..fbe1a75341 100644 --- a/lib/create-environment-template-api.ts +++ b/lib/create-environment-template-api.ts @@ -1,6 +1,6 @@ import { createRequestConfig } from 'contentful-sdk-core' import type { BasicCursorPaginationOptions, MakeRequest } from './common-types' -import entities from './entities' +import entities from './entities/index' import type { EnvironmentTemplateProps } from './entities/environment-template' import type { CreateEnvironmentTemplateInstallationProps, diff --git a/lib/create-organization-api.ts b/lib/create-organization-api.ts index d54ea7885a..9f6fcb11a7 100644 --- a/lib/create-organization-api.ts +++ b/lib/create-organization-api.ts @@ -1,5 +1,5 @@ import { createRequestConfig } from 'contentful-sdk-core' -import entities from './entities' +import entities from './entities/index' import type { Stream } from 'stream' import type { CreateTeamMembershipProps } from './entities/team-membership' import type { CreateTeamProps } from './entities/team' diff --git a/lib/create-space-api.ts b/lib/create-space-api.ts index 88c85a2b21..a61ed783b4 100644 --- a/lib/create-space-api.ts +++ b/lib/create-space-api.ts @@ -5,7 +5,7 @@ import { createRequestConfig } from 'contentful-sdk-core' import type { MakeRequest, PaginationQueryOptions, QueryOptions } from './common-types' -import entities from './entities' +import entities from './entities/index' import type { CreateApiKeyProps } from './entities/api-key' import type { CreateEnvironmentProps } from './entities/environment' import type { CreateEnvironmentAliasProps } from './entities/environment-alias' diff --git a/lib/create-ui-config-api.ts b/lib/create-ui-config-api.ts index 7cde502af8..31e1bdf888 100644 --- a/lib/create-ui-config-api.ts +++ b/lib/create-ui-config-api.ts @@ -1,5 +1,5 @@ import type { MakeRequest } from './common-types' -import entities from './entities' +import entities from './entities/index' import type { UIConfig } from './entities/ui-config' /** diff --git a/lib/create-user-ui-config-api.ts b/lib/create-user-ui-config-api.ts index e18e7d5bfc..053c86e6fa 100644 --- a/lib/create-user-ui-config-api.ts +++ b/lib/create-user-ui-config-api.ts @@ -1,5 +1,5 @@ import type { MakeRequest } from './common-types' -import entities from './entities' +import entities from './entities/index' import type { UserUIConfig } from './entities/user-ui-config' /** diff --git a/lib/entities/access-token.ts b/lib/entities/access-token.ts index baee1e0760..a6bad89dd5 100644 --- a/lib/entities/access-token.ts +++ b/lib/entities/access-token.ts @@ -2,15 +2,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, MakeRequest, BasicMetaSysProps, SysLink } from '../common-types' +import type { DefaultElements, MakeRequest, BasicMetaSysProps, Link } from '../common-types' type Application = { id?: string name?: string - sys: SysLink + sys: Link<'Application'> } -type AccessTokenSysProps = BasicMetaSysProps & { +type AccessTokenSysProps = BasicMetaSysProps<'PersonalAccessToken', 'User'> & { application: Application | null expiresAt: string | null lastUsedAt: string | null diff --git a/lib/entities/ai-action-invocation.ts b/lib/entities/ai-action-invocation.ts index 34ebdb8a68..893dc42962 100644 --- a/lib/entities/ai-action-invocation.ts +++ b/lib/entities/ai-action-invocation.ts @@ -1,6 +1,6 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, MakeRequest, SysLink } from '../common-types' +import type { DefaultElements, Link, MakeRequest } from '../common-types' import { wrapCollection } from '../common-utils' import type { Document as RichTextDocument } from '@contentful/rich-text-types' @@ -48,9 +48,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 5895c3b02d..4afeca755d 100644 --- a/lib/entities/ai-action.ts +++ b/lib/entities/ai-action.ts @@ -1,6 +1,6 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, MakeRequest, MetaSysProps } from '../common-types' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types' import { wrapCollection } from '../common-utils' import enhanceWithMethods from '../enhance-with-methods' import { @@ -71,14 +71,6 @@ export type AiActionTestCase = } } -export type SysLinkUserOrApp = { - sys: { - id: string - linkType: 'User' | 'App' - type: 'Link' - } -} - export interface AiActionQueryOptions { limit?: number skip?: number @@ -86,18 +78,12 @@ export interface AiActionQueryOptions { } export type AiActionProps = { - sys: MetaSysProps & { + sys: MetaSysProps<'AiAction', 'User' | 'AppDefinition'> & { type: 'AiAction' - space: { sys: { id: string } } - publishedBy?: SysLinkUserOrApp - updatedBy: SysLinkUserOrApp - createdBy: SysLinkUserOrApp - publishedVersion?: number + space: Link<'Space'> + publishedBy?: Link<'User'> | Link<'AppDefinition'> 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..2738e010be 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 type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types' import { wrapCollection } from '../common-utils' import enhanceWithMethods from '../enhance-with-methods' export type ApiKeyProps = { - sys: MetaSysProps + sys: MetaSysProps<'User'> 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 6993822144..6f41a9ce2e 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' -type AppAccessTokenSys = Except & { - space: SysLink - environment: SysLink - appDefinition: SysLink +type AppAccessTokenSys = Except, 'version' | 'id'> & { + 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 87a620a228..1224be003f 100644 --- a/lib/entities/app-action-call.ts +++ b/lib/entities/app-action-call.ts @@ -5,17 +5,17 @@ import type { BasicMetaSysProps, CreateWithResponseParams, DefaultElements, + Link, MakeRequest, - SysLink, } from '../common-types' import type { WebhookCallDetailsProps } from './webhook' import enhanceWithMethods from '../enhance-with-methods' -type AppActionCallSys = Except & { - appDefinition: SysLink - space: SysLink - environment: SysLink - action: SysLink +type AppActionCallSys = Except, 'version'> & { + appDefinition: Link<'AppDefinition'> + space: Link<'Space'> + environment: Link<'Environment'> + action: Link<'AppAction'> } type RetryOptions = Pick diff --git a/lib/entities/app-action.ts b/lib/entities/app-action.ts index 361e1b813a..8521b1d230 100644 --- a/lib/entities/app-action.ts +++ b/lib/entities/app-action.ts @@ -2,19 +2,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, - Link, - MakeRequest, - SysLink, -} from '../common-types' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' import type { ParameterDefinition } from './widget-parameters' import enhanceWithMethods from '../enhance-with-methods' -type AppActionSys = Except & { - appDefinition: SysLink - organization: SysLink +type AppActionSys = Except, 'version'> & { + 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..0f2a31e830 100644 --- a/lib/entities/app-bundle.ts +++ b/lib/entities/app-bundle.ts @@ -2,12 +2,12 @@ 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 type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' import enhanceWithMethods from '../enhance-with-methods' -type AppBundleSys = Except & { - appDefinition: SysLink - organization: SysLink +type AppBundleSys = Except, 'version'> & { + appDefinition: Link<'AppDefinition'> + organization: Link<'Organization'> } interface ActionManifestProps { diff --git a/lib/entities/app-definition.ts b/lib/entities/app-definition.ts index a76713f1ad..2ae48d2195 100644 --- a/lib/entities/app-definition.ts +++ b/lib/entities/app-definition.ts @@ -1,12 +1,6 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import type { - DefaultElements, - BasicMetaSysProps, - SysLink, - MakeRequest, - Link, -} from '../common-types' +import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types' import enhanceWithMethods from '../enhance-with-methods' import { wrapCollection } from '../common-utils' import type { ContentfulAppDefinitionAPI } from '../create-app-definition-api' @@ -44,8 +38,8 @@ export type AppDefinitionProps = { /** * System metadata */ - sys: BasicMetaSysProps & { - organization: SysLink + sys: BasicMetaSysProps<'AppDefinition', 'User'> & { + organization: Link<'Organization'> shared: boolean } /** diff --git a/lib/entities/app-details.ts b/lib/entities/app-details.ts index d4d5b76f46..092c2a6718 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 type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' import enhanceWithMethods from '../enhance-with-methods' -type AppDetailsSys = Except & { - appDefinition: SysLink - organization: SysLink +type AppDetailsSys = Except, 'version' | 'id'> & { + 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 fc39b07a9b..e5340aa448 100644 --- a/lib/entities/app-event-subscription.ts +++ b/lib/entities/app-event-subscription.ts @@ -1,18 +1,15 @@ 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 type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' import enhanceWithMethods from '../enhance-with-methods' -type AppEventSubscriptionSys = Except & { - appDefinition: SysLink - organization: SysLink +type AppEventSubscriptionSys = Except< + BasicMetaSysProps<'AppEventSubscription', 'User'>, + 'version' | 'id' +> & { + appDefinition: Link<'AppDefinition'> + organization: Link<'Organization'> } export type AppEventSubscriptionProps = { diff --git a/lib/entities/app-installation.ts b/lib/entities/app-installation.ts index fb3374bc23..42aae479a7 100644 --- a/lib/entities/app-installation.ts +++ b/lib/entities/app-installation.ts @@ -2,16 +2,16 @@ 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 type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types' import type { Except } from 'type-fest' import type { FreeFormParameters } from './widget-parameters' export type AppInstallationProps = { - sys: Omit & { - appDefinition: SysLink - environment: SysLink - space: SysLink - organization: SysLink + sys: Omit, 'id'> & { + 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..cb9b10973e 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 type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' import enhanceWithMethods from '../enhance-with-methods' import { wrapCollection } from '../common-utils' -type AppKeySys = Except & { - appDefinition: SysLink - organization: SysLink +type AppKeySys = Except, 'version'> & { + 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 58966ee689..600f898ffe 100644 --- a/lib/entities/app-signed-request.ts +++ b/lib/entities/app-signed-request.ts @@ -1,12 +1,15 @@ 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' -type AppSignedRequestSys = Except & { - appDefinition: SysLink - space: SysLink - environment: SysLink +type AppSignedRequestSys = Except< + BasicMetaSysProps<'AppSignedRequest', 'User'>, + 'version' | 'id' +> & { + 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 d7840ba078..b41069119b 100644 --- a/lib/entities/app-signing-secret.ts +++ b/lib/entities/app-signing-secret.ts @@ -1,12 +1,15 @@ 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' import enhanceWithMethods from '../enhance-with-methods' -type AppSigningSecretSys = Except & { - appDefinition: SysLink - organization: SysLink +type AppSigningSecretSys = Except< + BasicMetaSysProps<'AppSigningSecret', 'User'>, + 'version' | 'id' +> & { + 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..24cde6c4c1 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 type { BasicMetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types' import { wrapCollection } from '../common-utils' import enhanceWithMethods from '../enhance-with-methods' -type AppUploadSys = Except +type AppUploadSys = Except, 'version'> export type AppUploadProps = { sys: AppUploadSys & { expiresAt: string - organization: SysLink + organization: Link<'Organization'> } } diff --git a/lib/entities/asset.ts b/lib/entities/asset.ts index e9c696aade..1f8d2995a7 100644 --- a/lib/entities/asset.ts +++ b/lib/entities/asset.ts @@ -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/comment.ts b/lib/entities/comment.ts index 159d6b5ead..1a7122412c 100644 --- a/lib/entities/comment.ts +++ b/lib/entities/comment.ts @@ -9,7 +9,6 @@ import type { GetSpaceEnvironmentParams, Link, MakeRequest, - SysLink, VersionedLink, } from '../common-types' import { wrapCollection } from '../common-utils' @@ -24,12 +23,12 @@ interface LinkWithReference extends Link { } export type CommentSysProps = Pick< - BasicMetaSysProps, + BasicMetaSysProps<'Comment', 'User'>, 'id' | 'version' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' > & { type: 'Comment' - space: SysLink - environment: SysLink + space: Link<'Space'> + environment: Link<'Environment'> parentEntity: | Link<'ContentType'> | LinkWithReference<'ContentType'> diff --git a/lib/entities/content-type.ts b/lib/entities/content-type.ts index 3a19bc7cf1..d1011eb3d6 100644 --- a/lib/entities/content-type.ts +++ b/lib/entities/content-type.ts @@ -8,7 +8,6 @@ import type { Link, MakeRequest, QueryOptions, - SysLink, } from '../common-types' import { wrapCollection } from '../common-utils' import enhanceWithMethods from '../enhance-with-methods' @@ -39,9 +38,9 @@ export type AnnotationAssignment = Link<'Annotation'> & { } export type ContentTypeProps = { - sys: BasicMetaSysProps & { - space: SysLink - environment: SysLink + sys: BasicMetaSysProps<'ContentType', 'User' | 'AppDefinition'> & { + 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 da0c55827b..9c180c5ddd 100644 --- a/lib/entities/editor-interface.ts +++ b/lib/entities/editor-interface.ts @@ -1,7 +1,7 @@ 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 type { MetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types' import { wrapCollection } from '../common-utils' import type { DefinedParameters } from './widget-parameters' @@ -85,10 +85,10 @@ export interface SidebarItem { } export type EditorInterfaceProps = { - sys: MetaSysProps & { - space: { sys: MetaLinkProps } - environment: { sys: MetaLinkProps } - contentType: { sys: MetaLinkProps } + sys: MetaSysProps<'User' | 'AppDefinition'> & { + 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 3bcd8ec8c7..aefb945cc4 100644 --- a/lib/entities/entry.ts +++ b/lib/entities/entry.ts @@ -3,8 +3,9 @@ import copy from 'fast-copy' import type { CollectionProp, DefaultElements, - EntryMetaSysProps, + EntityMetaSysProps, KeyValueMap, + Link, MakeRequest, MetadataProps, } from '../common-types' @@ -14,6 +15,11 @@ import createEntryApi from '../create-entry-api' import enhanceWithMethods from '../enhance-with-methods' import type { AssetProps } from './asset' +export interface EntryMetaSysProps extends EntityMetaSysProps { + contentType: Link<'ContentType'> + automationTags: Link<'Tag'>[] +} + export type EntryProps = { sys: EntryMetaSysProps metadata?: MetadataProps diff --git a/lib/entities/environment-alias.ts b/lib/entities/environment-alias.ts index a26a972aac..f717013f8a 100644 --- a/lib/entities/environment-alias.ts +++ b/lib/entities/environment-alias.ts @@ -2,20 +2,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, - MetaLinkProps, - BasicMetaSysProps, - SysLink, - MakeRequest, -} from '../common-types' +import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types' export type EnvironmentAliasProps = { /** * System meta data */ - sys: BasicMetaSysProps & { space: SysLink } - environment: { sys: MetaLinkProps } + sys: BasicMetaSysProps<'EnvironmentAlias', 'User'> & { 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 8d2969716a..b97562d346 100644 --- a/lib/entities/environment-template-installation.ts +++ b/lib/entities/environment-template-installation.ts @@ -27,7 +27,7 @@ export type EnvironmentTemplateInstallationStatus = keyof typeof EnvironmentTemplateInstallationStatuses export type EnvironmentTemplateInstallationProps = { - sys: BasicMetaSysProps & { + sys: BasicMetaSysProps<'EnvironmentTemplateInstallation', 'User'> & { type: 'EnvironmentTemplateInstallation' space: Link<'Space'> template: VersionedLink<'Template'> diff --git a/lib/entities/environment-template.ts b/lib/entities/environment-template.ts index c203159f33..ddef146121 100644 --- a/lib/entities/environment-template.ts +++ b/lib/entities/environment-template.ts @@ -29,7 +29,10 @@ export interface ContentTypeTemplateProps extends Omit } export type EnvironmentTemplateProps = { - sys: BasicMetaSysProps & { version: number; organization: Link<'Organization'> } + sys: BasicMetaSysProps<'EnvironmentTemplate', 'User'> & { + 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..2dc7cc0ef7 100644 --- a/lib/entities/environment.ts +++ b/lib/entities/environment.ts @@ -4,13 +4,13 @@ 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 type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types' -type EnvironmentMetaSys = BasicMetaSysProps & { - status: SysLink - space: SysLink - aliases?: Array - aliasedEnvironment?: SysLink +type EnvironmentMetaSys = BasicMetaSysProps<'EnvironmentMeta', 'User'> & { + 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..9107a79f62 100644 --- a/lib/entities/extension.ts +++ b/lib/entities/extension.ts @@ -8,12 +8,12 @@ import type { ParameterDefinition, } from './widget-parameters' import { wrapCollection } from '../common-utils' -import type { DefaultElements, BasicMetaSysProps, SysLink, MakeRequest } from '../common-types' +import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types' import type { SetRequired, RequireExactlyOne } from 'type-fest' -type ExtensionSysProps = BasicMetaSysProps & { - space: SysLink - environment: SysLink +type ExtensionSysProps = BasicMetaSysProps<'Extension', 'User'> & { + space: Link<'Space'> + environment: Link<'Environment'> srcdocSha256?: string } diff --git a/lib/entities/locale.ts b/lib/entities/locale.ts index 71ea43c70a..0a2bcebb33 100644 --- a/lib/entities/locale.ts +++ b/lib/entities/locale.ts @@ -3,10 +3,13 @@ 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 type { BasicMetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types' export type LocaleProps = { - sys: BasicMetaSysProps & { space: SysLink; environment: SysLink } + sys: BasicMetaSysProps<'Locale', 'User' | 'AppDefinition'> & { + space: Link<'Space'> + environment: Link<'Environment'> + } /** * Locale name */ diff --git a/lib/entities/oauth-application.ts b/lib/entities/oauth-application.ts index 8dbacc89bd..5014b3938e 100644 --- a/lib/entities/oauth-application.ts +++ b/lib/entities/oauth-application.ts @@ -4,7 +4,7 @@ import enhanceWithMethods from '../enhance-with-methods' import copy from 'fast-copy' import { wrapCursorPaginatedCollection } from '../common-utils' -type OAuthApplicationSysProps = BasicMetaSysProps & { +type OAuthApplicationSysProps = BasicMetaSysProps<'Application', 'User'> & { lastUsedAt: string | null } diff --git a/lib/entities/organization-invitation.ts b/lib/entities/organization-invitation.ts index 3c0a7e13ba..229435bbea 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' export type OrganizationInvitationProps = { - sys: MetaSysProps & { - organizationMembership: { sys: MetaLinkProps } + sys: MetaSysProps<'User'> & { + 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 e152bcaa41..c1abd5c4e0 100644 --- a/lib/entities/organization-membership.ts +++ b/lib/entities/organization-membership.ts @@ -2,13 +2,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 { MetaSysProps, DefaultElements, MetaLinkProps, MakeRequest } from '../common-types' +import type { MetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types' export type OrganizationMembershipProps = { /** * System metadata */ - sys: MetaSysProps & { user: { sys: MetaLinkProps } } + sys: MetaSysProps<'User'> & { user: Link<'User'> } /** * Role diff --git a/lib/entities/organization.ts b/lib/entities/organization.ts index 4610d7d715..29e51e90c6 100644 --- a/lib/entities/organization.ts +++ b/lib/entities/organization.ts @@ -14,7 +14,7 @@ export type OrganizationProps = { /** * System metadata */ - sys: MetaSysProps + sys: MetaSysProps<'User'> /** * Name */ diff --git a/lib/entities/personal-access-token.ts b/lib/entities/personal-access-token.ts index 7a260b4621..f026195a68 100644 --- a/lib/entities/personal-access-token.ts +++ b/lib/entities/personal-access-token.ts @@ -5,7 +5,7 @@ import { wrapCollection } from '../common-utils' import type { MetaSysProps, DefaultElements, MakeRequest } from '../common-types' export type PersonalAccessTokenProps = { - sys: MetaSysProps & { expiresAt?: string } + sys: MetaSysProps<'User'> & { expiresAt?: string } name: string scopes: 'content_management_manage'[] revokedAt: null | string diff --git a/lib/entities/preview-api-key.ts b/lib/entities/preview-api-key.ts index 26bd2c2739..65e2cac385 100644 --- a/lib/entities/preview-api-key.ts +++ b/lib/entities/preview-api-key.ts @@ -5,7 +5,7 @@ import { wrapCollection } from '../common-utils' import enhanceWithMethods from '../enhance-with-methods' export type PreviewApiKeyProps = { - sys: MetaSysProps + sys: MetaSysProps<'User'> name: string description: string accessToken: string diff --git a/lib/entities/resource-provider.ts b/lib/entities/resource-provider.ts index 32a9776e5f..ca41fde2ab 100644 --- a/lib/entities/resource-provider.ts +++ b/lib/entities/resource-provider.ts @@ -2,22 +2,22 @@ import type { BasicMetaSysProps, CollectionProp, DefaultElements, + Link, MakeRequest, - SysLink, } from '../common-types' 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 entities from './index' export type ResourceProviderProps = { /** * System metadata */ - sys: Omit & { - organization: SysLink - appDefinition: SysLink + sys: Omit, 'version'> & { + organization: Link<'Organization'> + appDefinition: Link<'AppDefinition'> } /** * Resource Provider type, value is 'function' @@ -26,7 +26,7 @@ export type ResourceProviderProps = { /** * Link to a Contentful function */ - function: SysLink + function: Link<'Function'> } export type UpsertResourceProviderProps = Omit & { diff --git a/lib/entities/resource-type.ts b/lib/entities/resource-type.ts index 31e0cfd53d..a5b5d6cfcb 100644 --- a/lib/entities/resource-type.ts +++ b/lib/entities/resource-type.ts @@ -3,8 +3,8 @@ import type { CursorPaginatedCollectionProp, DefaultElements, GetResourceTypeParams, + Link, MakeRequest, - SysLink, } from '../common-types' import { toPlainObject, freezeSys } from 'contentful-sdk-core' import copy from 'fast-copy' @@ -15,10 +15,10 @@ export type ResourceTypeProps = { /** * System metadata */ - sys: Omit & { - appDefinition: SysLink - resourceProvider: SysLink - organization: SysLink + sys: Omit, 'version'> & { + 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 eb95ed1ed8..a0ec082647 100644 --- a/lib/entities/resource.ts +++ b/lib/entities/resource.ts @@ -1,8 +1,8 @@ import type { BasicCursorPaginationOptions, CursorPaginatedCollectionProp, + Link, MakeRequest, - SysLink, } from '../common-types' import { wrapCursorPaginatedCollection } from '../common-utils' import { freezeSys, toPlainObject } from 'contentful-sdk-core' @@ -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..6a9a966fb0 100644 --- a/lib/entities/role.ts +++ b/lib/entities/role.ts @@ -2,7 +2,7 @@ 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 type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types' export type ActionType = | 'read' @@ -20,7 +20,7 @@ export type ConstraintType = { } export type RoleProps = { - sys: BasicMetaSysProps & { space: SysLink } + sys: BasicMetaSysProps<'Role', 'User'> & { space: Link<'Space'> } name: string description?: string /** diff --git a/lib/entities/scheduled-action.ts b/lib/entities/scheduled-action.ts index 40124c13bf..cca6465254 100644 --- a/lib/entities/scheduled-action.ts +++ b/lib/entities/scheduled-action.ts @@ -3,10 +3,8 @@ import copy from 'fast-copy' import type { DefaultElements, ISO8601Timestamp, - MetaLinkProps, Link, MakeRequest, - SysLink, ScheduledActionReferenceFilters, BasicCursorPaginationOptions, CollectionProp, @@ -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 /** diff --git a/lib/entities/snapshot.ts b/lib/entities/snapshot.ts index 8dc13b1f91..db0508204f 100644 --- a/lib/entities/snapshot.ts +++ b/lib/entities/snapshot.ts @@ -5,7 +5,7 @@ import { wrapCollection } from '../common-utils' import type { MetaSysProps, DefaultElements, MakeRequest } from '../common-types' export type SnapshotProps = { - sys: MetaSysProps & { + sys: MetaSysProps<'User'> & { snapshotType: string snapshotEntityType: string } diff --git a/lib/entities/space-member.ts b/lib/entities/space-member.ts index a2d4818b98..90285bcf70 100644 --- a/lib/entities/space-member.ts +++ b/lib/entities/space-member.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' import { wrapCollection } from '../common-utils' export type SpaceMemberProps = { - sys: MetaSysProps + sys: MetaSysProps<'User'> /** * User is an admin */ @@ -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 69ab5fb9e7..68f0671e5c 100644 --- a/lib/entities/space-membership.ts +++ b/lib/entities/space-membership.ts @@ -2,13 +2,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 { SysLink, MetaSysProps, DefaultElements, MakeRequest } from '../common-types' +import type { MetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types' export type SpaceMembershipProps = { - sys: MetaSysProps & { space: SysLink; user: SysLink } - user: SysLink + sys: MetaSysProps<'User'> & { 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..2b25aad117 100644 --- a/lib/entities/space.ts +++ b/lib/entities/space.ts @@ -7,7 +7,10 @@ import createSpaceApi from '../create-space-api' import enhanceWithMethods from '../enhance-with-methods' export type SpaceProps = { - sys: BasicMetaSysProps & { organization: { sys: { id: string } }; archivedAt?: string } + sys: BasicMetaSysProps<'Space', 'User'> & { + organization: { sys: { id: string } } + archivedAt?: string + } name: string } diff --git a/lib/entities/tag.ts b/lib/entities/tag.ts index 98bc4c88db..240912805a 100644 --- a/lib/entities/tag.ts +++ b/lib/entities/tag.ts @@ -3,9 +3,9 @@ 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' @@ -13,13 +13,13 @@ import enhanceWithMethods from '../enhance-with-methods' export type TagVisibility = 'private' | 'public' export type TagSysProps = Pick< - MetaSysProps, + MetaSysProps<'User'>, 'id' | 'version' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' > & { type: 'Tag' visibility: TagVisibility - space: SysLink - environment: SysLink + space: Link<'Space'> + environment: Link<'Environment'> } export type TagProps = { diff --git a/lib/entities/task.ts b/lib/entities/task.ts index 30ab37f354..7e097d0f17 100644 --- a/lib/entities/task.ts +++ b/lib/entities/task.ts @@ -7,7 +7,6 @@ import type { GetTaskParams, Link, MakeRequest, - SysLink, } from '../common-types' import { wrapCollection } from '../common-utils' import enhanceWithMethods from '../enhance-with-methods' @@ -15,12 +14,12 @@ import enhanceWithMethods from '../enhance-with-methods' export type TaskStatus = 'active' | 'resolved' export type TaskSysProps = Pick< - BasicMetaSysProps, + BasicMetaSysProps<'Task', 'User' | 'AppDefinition'>, 'id' | 'version' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' > & { type: 'Task' - space: SysLink - environment: SysLink + space: Link<'Space'> + environment: Link<'Environment'> parentEntity: Link<'Entry'> } diff --git a/lib/entities/team-membership.ts b/lib/entities/team-membership.ts index 117c313258..c1870649d6 100644 --- a/lib/entities/team-membership.ts +++ b/lib/entities/team-membership.ts @@ -2,16 +2,16 @@ 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 type { DefaultElements, MetaSysProps, MakeRequest, Link } from '../common-types' export type TeamMembershipProps = { /** * System metadata */ - sys: MetaSysProps & { - team: { sys: MetaLinkProps } - organization: { sys: MetaLinkProps } - organizationMembership: { sys: MetaLinkProps } + sys: MetaSysProps<'User'> & { + 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 fd074d4e03..33b6041321 100644 --- a/lib/entities/team-space-membership.ts +++ b/lib/entities/team-space-membership.ts @@ -4,8 +4,8 @@ import enhanceWithMethods from '../enhance-with-methods' import { wrapCollection } from '../common-utils' import type { DefaultElements, + Link, MakeRequest, - MetaLinkProps, MetaSysProps, QueryOptions, } from '../common-types' @@ -19,7 +19,7 @@ export type TeamSpaceMembershipProps = { /** * System metadata */ - sys: MetaSysProps & { team: { sys: MetaLinkProps }; space: { sys: MetaLinkProps } } + sys: MetaSysProps<'User'> & { 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..53af606133 100644 --- a/lib/entities/team.ts +++ b/lib/entities/team.ts @@ -2,13 +2,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, MetaSysProps, MetaLinkProps, MakeRequest } from '../common-types' +import type { DefaultElements, MetaSysProps, MakeRequest, Link } from '../common-types' export type TeamProps = { /** * System metadata */ - sys: MetaSysProps & { memberCount: number; organization: { sys: MetaLinkProps } } + sys: MetaSysProps<'User'> & { memberCount: number; organization: Link<'Organization'> } /** * Name of the team diff --git a/lib/entities/ui-config.ts b/lib/entities/ui-config.ts index f0fcd6d017..2d2e1d8d69 100644 --- a/lib/entities/ui-config.ts +++ b/lib/entities/ui-config.ts @@ -1,6 +1,6 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { BasicMetaSysProps, DefaultElements, MakeRequest, SysLink } from '../common-types' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' import createUIConfigApi from '../create-ui-config-api' import enhanceWithMethods from '../enhance-with-methods' @@ -17,9 +17,9 @@ export type UIConfigProps = { publish?: { publishMode: 'entryPublishing' | 'localePublishing' } } -export interface UIConfigSysProps extends BasicMetaSysProps { - space: SysLink - environment: SysLink +export interface UIConfigSysProps extends BasicMetaSysProps<'UIConfig', 'User' | 'AppDefinition'> { + space: Link<'Space'> + environment: Link<'Environment'> } interface HomeView { diff --git a/lib/entities/upload-credential.ts b/lib/entities/upload-credential.ts index fb62f76be9..b0620c6109 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 type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types' import enhanceWithMethods from '../enhance-with-methods' export type UploadCredentialProps = { /** * System metadata */ - sys: MetaSysProps & { space: SysLink; environment?: SysLink } + sys: MetaSysProps<'User'> & { space: Link<'Space'>; environment?: Link<'Environment'> } } export interface UploadCredential diff --git a/lib/entities/upload.ts b/lib/entities/upload.ts index 36ea3cb0a0..cccf4d3906 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 type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types' export type UploadProps = { /** * System metadata */ - sys: MetaSysProps & { space: SysLink; environment?: SysLink } + sys: MetaSysProps<'User' | 'AppDefinition'> & { + 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..b9476cbf82 100644 --- a/lib/entities/usage.ts +++ b/lib/entities/usage.ts @@ -1,12 +1,6 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { - DefaultElements, - MakeRequest, - MetaLinkProps, - MetaSysProps, - QueryOptions, -} from '../common-types' +import type { DefaultElements, Link, MakeRequest, QueryOptions } from '../common-types' import { wrapCollection } from '../common-utils' import enhanceWithMethods from '../enhance-with-methods' @@ -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..99fd146612 100644 --- a/lib/entities/user-ui-config.ts +++ b/lib/entities/user-ui-config.ts @@ -1,6 +1,6 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { BasicMetaSysProps, DefaultElements, MakeRequest, SysLink } from '../common-types' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' import createUserUIConfigApi from '../create-user-ui-config-api' import enhanceWithMethods from '../enhance-with-methods' @@ -14,9 +14,10 @@ export type UserUIConfigProps = { entryListViews: ViewFolder[] } -export interface UserUIConfigSysProps extends BasicMetaSysProps { - space: SysLink - environment: SysLink +export interface UserUIConfigSysProps + extends BasicMetaSysProps<'UserUIConfig', 'User' | 'AppDefinition'> { + space: Link<'Space'> + environment: Link<'Environment'> } interface ViewFolder { diff --git a/lib/entities/user.ts b/lib/entities/user.ts index 43d9f6d962..9959488658 100644 --- a/lib/entities/user.ts +++ b/lib/entities/user.ts @@ -8,7 +8,7 @@ export type UserProps = { /** * System metadata */ - sys: BasicMetaSysProps + sys: BasicMetaSysProps<'User', 'User'> /** * First name of the user diff --git a/lib/entities/webhook.ts b/lib/entities/webhook.ts index be750cc4a1..c016a35ff1 100644 --- a/lib/entities/webhook.ts +++ b/lib/entities/webhook.ts @@ -5,9 +5,8 @@ import type { BasicMetaSysProps, CollectionProp, DefaultElements, + Link, MakeRequest, - MetaLinkProps, - SysLink, } from '../common-types' import { wrapCollection } from '../common-utils' import enhanceWithMethods from '../enhance-with-methods' @@ -49,11 +48,14 @@ export type WebhookCallRequest = { export type WebhookCallResponse = WebhookCallRequest & { statusCode: number } export type WebhookHealthSys = Except< - BasicMetaSysProps, + BasicMetaSysProps<'Webhook', 'WebhookDefinition'>, 'version' | 'updatedAt' | 'updatedBy' | 'createdAt' > -export type WebhookCallDetailsSys = Except +export type WebhookCallDetailsSys = Except< + BasicMetaSysProps<'WebhookCallOverview', 'WebhookDefinition'>, + 'version' | 'updatedAt' | 'updatedBy' +> export type WebhookHeader = { key: string; value: string; secret?: boolean } @@ -133,7 +135,7 @@ export type WebhookHealthProps = { /** * System metadata */ - sys: WebhookHealthSys & { space: { sys: MetaLinkProps } } + sys: WebhookHealthSys & { space: Link<'Space'> } /** * Webhook call statistics @@ -141,10 +143,13 @@ export type WebhookHealthProps = { calls: WebhookCalls } -export type WebhookSigningSecretSys = Except +export type WebhookSigningSecretSys = Except< + BasicMetaSysProps<'WebhookSigningSecret', 'User'>, + 'version' +> export type WebhookSigningSecretProps = { - sys: WebhookSigningSecretSys & { space: { sys: MetaLinkProps } } + sys: WebhookSigningSecretSys & { space: Link<'Space'> } redactedValue: string } @@ -152,10 +157,13 @@ export type WebhookRetryPolicyPayload = { maxRetries: number } -export type WebhookRetryPolicySys = Except +export type WebhookRetryPolicySys = Except< + BasicMetaSysProps<'WebhookRetryPolicy', 'User'>, + 'version' +> export type WebhookRetryPolicyProps = { - sys: WebhookRetryPolicySys & { space: { sys: MetaLinkProps } } + sys: WebhookRetryPolicySys & { space: Link<'Space'> } maxRetries: number } @@ -163,7 +171,7 @@ export type WebhookProps = { /** * System metadata */ - sys: BasicMetaSysProps & { space: SysLink } + sys: BasicMetaSysProps<'Webhook', 'User'> & { space: Link<'Space'> } /** * Webhook name diff --git a/lib/entities/workflow-definition.ts b/lib/entities/workflow-definition.ts index 49d5a04c57..14b341f721 100644 --- a/lib/entities/workflow-definition.ts +++ b/lib/entities/workflow-definition.ts @@ -8,7 +8,6 @@ import type { Link, MakeRequest, PaginationQueryOptions, - SysLink, } from '../common-types' import { wrapCollection } from '../common-utils' import enhanceWithMethods from '../enhance-with-methods' @@ -97,12 +96,12 @@ export type CreateWorkflowStepProps = Omit /* Workflow Definition */ export type WorkflowDefinitionSysProps = Pick< - BasicMetaSysProps, + BasicMetaSysProps<'WorkflowDefinition', 'User'>, '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..6901697e9a 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' export type WorkflowSysProps = Pick< - BasicMetaSysProps, + BasicMetaSysProps<'Workflow', 'User' | 'AppDefinition'>, '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 d524a9d413..0d0b508a1c 100644 --- a/lib/entities/workflows-changelog-entry.ts +++ b/lib/entities/workflows-changelog-entry.ts @@ -5,7 +5,6 @@ import type { Link, MakeRequest, PaginationQueryOptions, - SysLink, VersionedLink, } from '../common-types' import { wrapCollection } from '../common-utils' @@ -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 f88cca269d..f8115c7330 100644 --- a/lib/export-types.ts +++ b/lib/export-types.ts @@ -118,7 +118,13 @@ export type { GroupControl, SidebarItem, } from './entities/editor-interface' -export type { CreateEntryProps, Entry, EntryProps, WithResourceName } from './entities/entry' +export type { + CreateEntryProps, + Entry, + EntryProps, + WithResourceName, + EntryMetaSysProps, +} from './entities/entry' export type { CreateEnvironmentProps, Environment, EnvironmentProps } from './entities/environment' export type { CreateEnvironmentAliasProps, diff --git a/lib/global.d.ts b/lib/global.d.ts new file mode 100644 index 0000000000..2fbca50d97 --- /dev/null +++ b/lib/global.d.ts @@ -0,0 +1,2 @@ +// eslint-disable-next-line no-unused-vars +declare const __VERSION__: string diff --git a/lib/contentful-management.ts b/lib/index.ts similarity index 98% rename from lib/contentful-management.ts rename to lib/index.ts index d8863b1996..a5343e198e 100644 --- a/lib/contentful-management.ts +++ b/lib/index.ts @@ -14,7 +14,7 @@ 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 * as editorInterfaceDefaults from './constants/editor-interface-defaults/index' export type { ClientAPI } from './create-contentful-api' export { asIterator } from './plain/as-iterator' @@ -89,7 +89,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/plain/checks.ts b/lib/plain/checks.ts index 1611578618..3a15494fb8 100644 --- a/lib/plain/checks.ts +++ b/lib/plain/checks.ts @@ -1,13 +1,16 @@ import type { MetaSysProps } from '../common-types' -export const isPublished = (data: { sys: MetaSysProps }) => !!data.sys.publishedVersion +export const isPublished = (data: { sys: MetaSysProps }) => + !!data.sys.publishedVersion -export const isUpdated = (data: { sys: MetaSysProps }) => { +export const isUpdated = (data: { sys: MetaSysProps }) => { // The act of publishing an entity increases its version by 1, so any entry which has // 2 versions higher or more than the publishedVersion has unpublished changes. return !!(data.sys.publishedVersion && data.sys.version > data.sys.publishedVersion + 1) } -export const isDraft = (data: { sys: MetaSysProps }) => !data.sys.publishedVersion +export const isDraft = (data: { sys: MetaSysProps }) => + !data.sys.publishedVersion -export const isArchived = (data: { sys: MetaSysProps }) => !!data.sys.archivedVersion +export const isArchived = (data: { sys: MetaSysProps }) => + !!data.sys.archivedVersion diff --git a/lib/plain/common-types.ts b/lib/plain/common-types.ts index 05680cb4c8..dfa98ffc88 100644 --- a/lib/plain/common-types.ts +++ b/lib/plain/common-types.ts @@ -122,6 +122,7 @@ import type { AiActionPlainClientAPI } from './entities/ai-action' import type { AiActionInvocationPlainClientAPI } from './entities/ai-action-invocation' export type PlainClientAPI = { + version: string raw: { getDefaultParams(): DefaultParams | undefined get(url: string, config?: RawAxiosRequestConfig): Promise @@ -287,7 +288,7 @@ export type PlainClientAPI = { headers?: RawAxiosRequestHeaders ): Promise> patch( - params: OptionalDefaults, + params: OptionalDefaults, rawData: OpPatch[], headers?: RawAxiosRequestHeaders ): Promise> @@ -371,7 +372,7 @@ export type PlainClientAPI = { ): Promise createFromFiles( params: OptionalDefaults, - data: Omit + data: AssetFileProp ): Promise processForAllLocales( params: OptionalDefaults, diff --git a/lib/plain/entities/concept-scheme.ts b/lib/plain/entities/concept-scheme.ts index 56f798f838..6bf1e8faf8 100644 --- a/lib/plain/entities/concept-scheme.ts +++ b/lib/plain/entities/concept-scheme.ts @@ -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 568e8c4462..06d5a059f8 100644 --- a/lib/plain/entities/concept.ts +++ b/lib/plain/entities/concept.ts @@ -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/upload-credential.ts b/lib/plain/entities/upload-credential.ts index 1385fa9038..d4324ffe53 100644 --- a/lib/plain/entities/upload-credential.ts +++ b/lib/plain/entities/upload-credential.ts @@ -5,7 +5,7 @@ export type UploadCredential = { /** * System metadata */ - sys: MetaSysProps & { + sys: MetaSysProps<'User'> & { type: 'UploadCredential' } diff --git a/lib/plain/plain-client.ts b/lib/plain/plain-client.ts index 7f510acf41..d98ea72440 100644 --- a/lib/plain/plain-client.ts +++ b/lib/plain/plain-client.ts @@ -16,6 +16,7 @@ export const createPlainClient = ( const wrapParams = { makeRequest, defaults } return { + version: __VERSION__, raw: { getDefaultParams: () => defaults, get: (url, config) => @@ -124,7 +125,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'), @@ -139,7 +139,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/package-lock.json b/package-lock.json index 08cbc16905..712aca9ae6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,57 +12,57 @@ "@contentful/rich-text-types": "^16.6.1", "axios": "^1.8.4", "contentful-sdk-core": "^9.0.1", + "es-check": "^7.2.1", "fast-copy": "^3.0.0", - "globals": "^15.15.0" + "globals": "^15.15.0", + "json-patch": "^0.7.0", + "puppeteer": "^24.4.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.24.7", + "@babel/preset-env": "^7.24.3", "@contentful/integration-test-utils": "^2.0.1", "@eslint/js": "^9.15.0", + "@optimize-lodash/rollup-plugin": "^5.0.0", + "@rollup/plugin-alias": "^5.1.0", + "@rollup/plugin-babel": "^6.0.4", + "@rollup/plugin-commonjs": "^28.0.2", + "@rollup/plugin-json": "^6.1.0", + "@rollup/plugin-node-resolve": "^16.0.0", + "@rollup/plugin-replace": "^6.0.2", + "@rollup/plugin-terser": "^0.4.4", "@semantic-release/changelog": "^6.0.0", "@size-limit/file": "^11.1.6", - "@types/json-patch": "0.0.30", + "@types/json-patch": "^0.0.33", "@types/lodash": "^4.14.168", "@types/node": "^20.12.13", - "@vitest/browser": "^2.1.5", - "@vitest/coverage-v8": "^2.1.5", + "@vitest/browser": "^2.1.8", + "@vitest/coverage-v8": "^2.1.8", "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", "cz-conventional-changelog": "^3.3.0", "eslint": "^9.15.0", - "express": "^4.21.1", "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", + "playwright": "^1.49.1", "prettier": "^2.6.0", + "process": "^0.11.10", "rimraf": "^5.0.0", + "rollup": "^4.28.1", + "rollup-plugin-visualizer": "^5.12.0", "semantic-release": "^22.0.12", "size-limit": "^11.1.6", "type-fest": "^4.18.3", - "typedoc": "^0.26.2", - "typescript": "^5.6.3", + "typedoc": "^0.27.5", + "typescript": "^5.7.2", "typescript-eslint": "^8.16.0", - "vitest": "^2.1.5", - "webpack": "^5.91.0", - "webpack-bundle-analyzer": "^4.9.0", - "webpack-cli": "^5.1.4" + "vitest": "^2.1.8" }, "engines": { "node": ">=18" @@ -82,41 +82,10 @@ "node": ">=6.0.0" } }, - "node_modules/@babel/cli": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.27.0.tgz", - "integrity": "sha512-bZfxn8DRxwiVzDO5CEeV+7IqXeCkzI4yYnrQbpwjT76CUyossQc6RYE7n+xfm0/2k40lPaCpW0FhxYs7EBAetw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.25", - "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.26.2", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", - "dev": true, "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.25.9", @@ -142,7 +111,7 @@ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.10.tgz", "integrity": "sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==", "dev": true, - "license": "MIT", + "peer": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.26.2", @@ -405,7 +374,6 @@ "version": "7.25.9", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -441,7 +409,7 @@ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.10.tgz", "integrity": "sha512-UPYc3SauzZ3JGgj87GgZ89JVdC5dj0AoetR5Bw6wj4niittNyFh6+eOGonYvJ1ao6B8lEa3Q3klS7ADZ53bc5g==", "dev": true, - "license": "MIT", + "peer": true, "dependencies": { "@babel/template": "^7.26.9", "@babel/types": "^7.26.10" @@ -450,30 +418,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/node": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/node/-/node-7.26.0.tgz", - "integrity": "sha512-5ASMjh42hbnqyCOK68Q5chh1jKAqn91IswFTN+niwt4FLABhEWCT1tEuuo6mlNQ4WG/oFQLvJ71PaHAKtWtJyA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/register": "^7.25.9", - "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.27.0", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.0.tgz", @@ -574,100 +518,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", @@ -681,19 +531,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.26.0", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.26.0.tgz", @@ -726,77 +563,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.9.tgz", - "integrity": "sha512-ld6oezHQMZsZfp6pWtbjaNDF2tiiCYYDqQszHt5VV437lewP9aSi2Of99CK0D0XB21k7FLgnLcmQKyKzynfeAA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, - "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.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.9.tgz", - "integrity": "sha512-hjMgRy5hb8uJJjUcdWunWVcoi9bGpJp8p5Ol1229PoN6aytsLwNMgmdftO23wnCLMfVmTwZDWMPNq/D1SY60JQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, - "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", @@ -1513,6 +1279,40 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-runtime": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.25.9.tgz", + "integrity": "sha512-nZp7GlEl+yULJrClz0SwHPqir3lc0zsPrDHQUcxGspSL7AKrexNSEfTbfqnDNJUO13bgKyfuOLMF8Xqtu8j3YQ==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "babel-plugin-polyfill-corejs2": "^0.4.10", + "babel-plugin-polyfill-corejs3": "^0.10.6", + "babel-plugin-polyfill-regenerator": "^0.6.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-runtime/node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.10.6", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.6.tgz", + "integrity": "sha512-b37+KR2i/khY5sKmWNVQAnitvquQbNdWy6lJdsr0kmquCKEEUgMKK4SboVM3HtfnZilfjr4MMQ7vY58FVWDtIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.6.2", + "core-js-compat": "^3.38.0" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, "node_modules/@babel/plugin-transform-shorthand-properties": { "version": "7.25.9", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.25.9.tgz", @@ -1594,26 +1394,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-typescript": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.27.0.tgz", - "integrity": "sha512-fRGGjO2UEGPjvEcyAZXRXAS8AfdaQoq7HnxAbJoAoW10B9xOKesmmndJv+Sym2a+9FHWZ9KbyyLCe9s0Sn5jtg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.25.9", - "@babel/helper-create-class-features-plugin": "^7.27.0", - "@babel/helper-plugin-utils": "^7.26.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9", - "@babel/plugin-syntax-typescript": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-transform-unicode-escapes": { "version": "7.25.9", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.25.9.tgz", @@ -1780,46 +1560,6 @@ "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" } }, - "node_modules/@babel/preset-typescript": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.27.0.tgz", - "integrity": "sha512-vxaPFfJtHhgeOVXRKuHpHPAOgymmy8V8I65T1q53R7GCZlefKeCaTyDs3zOPHTTbmquvNlQYC5klEvWsBAtrBQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.26.5", - "@babel/helper-validator-option": "^7.25.9", - "@babel/plugin-syntax-jsx": "^7.25.9", - "@babel/plugin-transform-modules-commonjs": "^7.26.3", - "@babel/plugin-transform-typescript": "^7.27.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/register": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.25.9.tgz", - "integrity": "sha512-8D43jXtGsYmEeDvm4MWHYUpWf8iiXgWYx3fW7E7Wb7Oe6FWqJPl5K6TuFW0dOwNZzEE5rjlaSJYH9JjrUKJszA==", - "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", @@ -1908,16 +1648,6 @@ "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==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/@bundled-es-modules/statuses": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@bundled-es-modules/statuses/-/statuses-1.0.1.tgz", @@ -2086,14 +1816,14 @@ "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==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.0.0" + "node_modules/@dabh/diagnostics": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", + "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "dependencies": { + "colorspace": "1.1.x", + "enabled": "2.0.x", + "kuler": "^2.0.0" } }, "node_modules/@esbuild/aix-ppc64": { @@ -2662,6 +2392,18 @@ "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, + "node_modules/@gerrit0/mini-shiki": { + "version": "1.27.2", + "resolved": "https://registry.npmjs.org/@gerrit0/mini-shiki/-/mini-shiki-1.27.2.tgz", + "integrity": "sha512-GeWyHz8ao2gBiUW4OJnQDxXQnFgZQwwQk05t/CVVgNBN7/rK8XZ7xY6YhLVv9tH3VppWWmr9DCl3MwemB/i+Og==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/engine-oniguruma": "^1.27.2", + "@shikijs/types": "^1.27.2", + "@shikijs/vscode-textmate": "^10.0.1" + } + }, "node_modules/@humanfs/core": { "version": "0.19.1", "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", @@ -3036,20 +2778,10 @@ "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", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "license": "MIT", "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" @@ -3062,8 +2794,6 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "license": "MIT", "engines": { "node": ">= 8" } @@ -3072,8 +2802,6 @@ "version": "1.2.8", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "license": "MIT", "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" @@ -3298,9 +3026,38 @@ "dev": true, "license": "MIT" }, - "node_modules/@pkgjs/parseargs": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "node_modules/@optimize-lodash/rollup-plugin": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@optimize-lodash/rollup-plugin/-/rollup-plugin-5.0.0.tgz", + "integrity": "sha512-GJgfYatfqHvi3XAytThuFsq4NzcP9Xc934ouZlL/DsWi6CrnQPfb4l0G4SYV/KAkKHlRLmuu/UxGZqXBbCw7OA==", + "dev": true, + "dependencies": { + "@optimize-lodash/transform": "3.0.4", + "@rollup/pluginutils": "^5.1.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "rollup": ">= 4.x" + } + }, + "node_modules/@optimize-lodash/transform": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@optimize-lodash/transform/-/transform-3.0.4.tgz", + "integrity": "sha512-pEzPjvEnWHQCTIv8j/6IYdYBJQUL/Z9Vo0SB2yr5GZNgf0OAznapjilOb7JY9dBEgXtbgtTgSpANZAiipsjhhw==", + "dev": true, + "dependencies": { + "estree-walker": "^2.0.2", + "magic-string": "~0.30.11" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", "dev": true, "license": "MIT", @@ -3332,13 +3089,6 @@ "node": ">=12.22.0" } }, - "node_modules/@pnpm/network.ca-file/node_modules/graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", - "dev": true, - "license": "ISC" - }, "node_modules/@pnpm/npm-conf": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/@pnpm/npm-conf/-/npm-conf-2.3.1.tgz", @@ -3361,10 +3111,297 @@ "dev": true, "license": "MIT" }, + "node_modules/@puppeteer/browsers": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.8.0.tgz", + "integrity": "sha512-yTwt2KWRmCQAfhvbCRjebaSX8pV1//I0Y3g+A7f/eS7gf0l4eRJoUCvcYdVtboeU4CTOZQuqYbZNS8aBYb8ROQ==", + "license": "Apache-2.0", + "dependencies": { + "debug": "^4.4.0", + "extract-zip": "^2.0.1", + "progress": "^2.0.3", + "proxy-agent": "^6.5.0", + "semver": "^7.7.1", + "tar-fs": "^3.0.8", + "yargs": "^17.7.2" + }, + "bin": { + "browsers": "lib/cjs/main-cli.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@puppeteer/browsers/node_modules/semver": { + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "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, + "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-babel": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-6.0.4.tgz", + "integrity": "sha512-YF7Y52kFdFT/xVSuVdjkV5ZdX/3YtmX0QulG+x0taQOtJdHYzVU61aSSkAgVJ7NOv6qPkIYiJSgSWWN/DM5sGw==", + "dev": true, + "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/plugin-commonjs": { + "version": "28.0.2", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.2.tgz", + "integrity": "sha512-BEFI2EDqzl+vA1rl97IDRZ61AIwGH093d9nz8+dThxJNH8oSoB7MjWvPCX3dkaK1/RCJ/1v/R1XB15FuSs0fQw==", + "dev": true, + "license": "MIT", + "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/plugin-commonjs/node_modules/fdir": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.2.tgz", + "integrity": "sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==", + "dev": true, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/@rollup/plugin-commonjs/node_modules/picomatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "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, + "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/plugin-json/node_modules/@rollup/pluginutils": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.4.tgz", + "integrity": "sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==", + "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-json/node_modules/picomatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/@rollup/plugin-node-resolve": { + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-16.0.0.tgz", + "integrity": "sha512-0FPvAeVUT/zdWoO0jnb/V5BlBsUSNfkIOtFHzMO4H9MOklrmQFY6FduVHKucNb/aTFxvnGhj4MNj/T1oNdDfNg==", + "dev": true, + "license": "MIT", + "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/plugin-replace": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-6.0.2.tgz", + "integrity": "sha512-7QaYCf8bqF04dOy7w/eHmJeNExxTYwvKAmlSAH/EaWWUzbT0h5sbF6bktFoX/0F/0qwng5/dWFMyf3gzaM8DsQ==", + "dev": true, + "license": "MIT", + "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/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, + "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/pluginutils": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.3.tgz", + "integrity": "sha512-Pnsb6f32CD2W3uCaLZIzDmeFyQ2b8UWMFI7xtwUezpcGBDVDW6y9XgAWIlARiGAo6eNF5FK5aQTr0LFyNyqq5A==", + "dev": true, + "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/pluginutils/node_modules/picomatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "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==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.28.1.tgz", + "integrity": "sha512-2aZp8AES04KI2dy3Ss6/MDjXbwBzj+i0GqKtWXgw2/Ma6E4jJvujryO6gJAghIRVz7Vwr9Gtl/8na3nDUKpraQ==", "cpu": [ "arm" ], @@ -3376,9 +3413,9 @@ ] }, "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==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.28.1.tgz", + "integrity": "sha512-EbkK285O+1YMrg57xVA+Dp0tDBRB93/BZKph9XhMjezf6F4TpYjaUSuPt5J0fZXlSag0LmZAsTmdGGqPp4pQFA==", "cpu": [ "arm64" ], @@ -3390,9 +3427,9 @@ ] }, "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==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.28.1.tgz", + "integrity": "sha512-prduvrMKU6NzMq6nxzQw445zXgaDBbMQvmKSJaxpaZ5R1QDM8w+eGxo6Y/jhT/cLoCvnZI42oEqf9KQNYz1fqQ==", "cpu": [ "arm64" ], @@ -3404,9 +3441,9 @@ ] }, "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==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.28.1.tgz", + "integrity": "sha512-WsvbOunsUk0wccO/TV4o7IKgloJ942hVFK1CLatwv6TJspcCZb9umQkPdvB7FihmdxgaKR5JyxDjWpCOp4uZlQ==", "cpu": [ "x64" ], @@ -3418,9 +3455,9 @@ ] }, "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==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.28.1.tgz", + "integrity": "sha512-HTDPdY1caUcU4qK23FeeGxCdJF64cKkqajU0iBnTVxS8F7H/7BewvYoG+va1KPSL63kQ1PGNyiwKOfReavzvNA==", "cpu": [ "arm64" ], @@ -3432,9 +3469,9 @@ ] }, "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==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.28.1.tgz", + "integrity": "sha512-m/uYasxkUevcFTeRSM9TeLyPe2QDuqtjkeoTpP9SW0XxUWfcYrGDMkO/m2tTw+4NMAF9P2fU3Mw4ahNvo7QmsQ==", "cpu": [ "x64" ], @@ -3446,9 +3483,9 @@ ] }, "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==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.28.1.tgz", + "integrity": "sha512-QAg11ZIt6mcmzpNE6JZBpKfJaKkqTm1A9+y9O+frdZJEuhQxiugM05gnCWiANHj4RmbgeVJpTdmKRmH/a+0QbA==", "cpu": [ "arm" ], @@ -3460,9 +3497,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.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.28.1.tgz", + "integrity": "sha512-dRP9PEBfolq1dmMcFqbEPSd9VlRuVWEGSmbxVEfiq2cs2jlZAl0YNxFzAQS2OrQmsLBLAATDMb3Z6MFv5vOcXg==", "cpu": [ "arm" ], @@ -3474,9 +3511,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.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.28.1.tgz", + "integrity": "sha512-uGr8khxO+CKT4XU8ZUH1TTEUtlktK6Kgtv0+6bIFSeiSlnGJHG1tSFSjm41uQ9sAO/5ULx9mWOz70jYLyv1QkA==", "cpu": [ "arm64" ], @@ -3488,9 +3525,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.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.28.1.tgz", + "integrity": "sha512-QF54q8MYGAqMLrX2t7tNpi01nvq5RI59UBNx+3+37zoKX5KViPo/gk2QLhsuqok05sSCRluj0D00LzCwBikb0A==", "cpu": [ "arm64" ], @@ -3502,9 +3539,9 @@ ] }, "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==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.28.1.tgz", + "integrity": "sha512-vPul4uodvWvLhRco2w0GcyZcdyBfpfDRgNKU+p35AWEbJ/HPs1tOUrkSueVbBS0RQHAf/A+nNtDpvw95PeVKOA==", "cpu": [ "loong64" ], @@ -3516,9 +3553,9 @@ ] }, "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==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.28.1.tgz", + "integrity": "sha512-pTnTdBuC2+pt1Rmm2SV7JWRqzhYpEILML4PKODqLz+C7Ou2apEV52h19CR7es+u04KlqplggmN9sqZlekg3R1A==", "cpu": [ "ppc64" ], @@ -3530,9 +3567,9 @@ ] }, "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.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.28.1.tgz", + "integrity": "sha512-vWXy1Nfg7TPBSuAncfInmAI/WZDd5vOklyLJDdIRKABcZWojNDY0NJwruY2AcnCLnRJKSaBgf/GiJfauu8cQZA==", "cpu": [ "riscv64" ], @@ -3544,9 +3581,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.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.28.1.tgz", + "integrity": "sha512-/yqC2Y53oZjb0yz8PVuGOQQNOTwxcizudunl/tFs1aLvObTclTwZ0JhXF2XcPT/zuaymemCDSuuUPXJJyqeDOg==", "cpu": [ "s390x" ], @@ -3558,9 +3595,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.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.28.1.tgz", + "integrity": "sha512-fzgeABz7rrAlKYB0y2kSEiURrI0691CSL0+KXwKwhxvj92VULEDQLpBYLHpF49MSiPG4sq5CK3qHMnb9tlCjBw==", "cpu": [ "x64" ], @@ -3571,9 +3608,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.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.28.1.tgz", + "integrity": "sha512-xQTDVzSGiMlSshpJCtudbWyRfLaNiVPXt1WgdWTwWz9n0U12cI2ZVtWe/Jgwyv/6wjL7b66uu61Vg0POWVfz4g==", "cpu": [ "x64" ], @@ -3585,9 +3622,9 @@ ] }, "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.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.28.1.tgz", + "integrity": "sha512-wSXmDRVupJstFP7elGMgv+2HqXelQhuNf+IS4V+nUpNVi/GUiBgDmfwD0UGN3pcAnWsgKG3I52wMOBnk1VHr/A==", "cpu": [ "arm64" ], @@ -3599,9 +3636,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.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.28.1.tgz", + "integrity": "sha512-ZkyTJ/9vkgrE/Rk9vhMXhf8l9D+eAhbAVbsGsXKy2ohmJaWg0LPQLnIxRdRp/bKyr8tXuPlXhIoGlEB5XpJnGA==", "cpu": [ "ia32" ], @@ -3613,9 +3650,9 @@ ] }, "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.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.28.1.tgz", + "integrity": "sha512-ZvK2jBafvttJjoIdKm/Q/Bh7IJ1Ose9IBOwpOXcOvW3ikGTQGmKDgxTC6oCAzW6PynbkKP8+um1du81XJHZ0JA==", "cpu": [ "x64" ], @@ -3925,33 +3962,6 @@ "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==", - "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" - } - }, - "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/types": "1.29.1", - "@shikijs/vscode-textmate": "^10.0.1", - "oniguruma-to-es": "^2.2.0" - } - }, "node_modules/@shikijs/engine-oniguruma": { "version": "1.29.1", "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-1.29.1.tgz", @@ -3963,26 +3973,6 @@ "@shikijs/vscode-textmate": "^10.0.1" } }, - "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/types": "1.29.1" - } - }, - "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/types": "1.29.1" - } - }, "node_modules/@shikijs/types": { "version": "1.29.1", "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-1.29.1.tgz", @@ -4074,6 +4064,12 @@ "@testing-library/dom": ">=7.21.4" } }, + "node_modules/@tootallnate/quickjs-emscripten": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", + "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", + "license": "MIT" + }, "node_modules/@types/aria-query": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", @@ -4105,6 +4101,7 @@ "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/estree": "*", "@types/json-schema": "*" @@ -4116,6 +4113,7 @@ "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/eslint": "*", "@types/estree": "*" @@ -4139,9 +4137,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" }, @@ -4159,21 +4157,11 @@ "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "*" - } - }, "node_modules/@types/node": { - "version": "20.17.30", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.30.tgz", - "integrity": "sha512-7zf4YyHA+jvBNfVrk2Gtvs6x7E8V+YDW05bNfG2XkWDJfYRXrTiP/DsB2zSYTaHX0bGIujTBQdMVAhb+j7mwpg==", - "dev": true, + "version": "20.17.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.6.tgz", + "integrity": "sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==", + "devOptional": true, "license": "MIT", "dependencies": { "undici-types": "~6.19.2" @@ -4186,6 +4174,13 @@ "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", @@ -4200,6 +4195,11 @@ "dev": true, "license": "MIT" }, + "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==" + }, "node_modules/@types/unist": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", @@ -4207,6 +4207,16 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/yauzl": { + "version": "2.10.3", + "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz", + "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==", + "license": "MIT", + "optional": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "8.30.1", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.30.1.tgz", @@ -4332,7 +4342,7 @@ "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^2.0.1" + "ts-api-utils": "^1.3.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4384,6 +4394,19 @@ "node": ">=10" } }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/ts-api-utils": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz", + "integrity": "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "typescript": ">=4.2.0" + } + }, "node_modules/@typescript-eslint/utils": { "version": "8.30.1", "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.30.1.tgz", @@ -4426,13 +4449,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", @@ -4546,6 +4562,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", @@ -4621,7 +4647,7 @@ "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz", "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==", "dev": true, - "license": "MIT", + "peer": true, "dependencies": { "@webassemblyjs/helper-numbers": "1.13.2", "@webassemblyjs/helper-wasm-bytecode": "1.13.2" @@ -4632,28 +4658,28 @@ "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" + "peer": true }, "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" + "peer": true }, "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" + "peer": true }, "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", + "peer": true, "dependencies": { "@webassemblyjs/floating-point-hex-parser": "1.13.2", "@webassemblyjs/helper-api-error": "1.13.2", @@ -4665,14 +4691,14 @@ "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" + "peer": true }, "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", + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", @@ -4685,7 +4711,7 @@ "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz", "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==", "dev": true, - "license": "MIT", + "peer": true, "dependencies": { "@xtuc/ieee754": "^1.2.0" } @@ -4695,7 +4721,7 @@ "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz", "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==", "dev": true, - "license": "Apache-2.0", + "peer": true, "dependencies": { "@xtuc/long": "4.2.2" } @@ -4705,14 +4731,14 @@ "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz", "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==", "dev": true, - "license": "MIT" + "peer": true }, "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", + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", @@ -4729,7 +4755,7 @@ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz", "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==", "dev": true, - "license": "MIT", + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-wasm-bytecode": "1.13.2", @@ -4743,7 +4769,7 @@ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz", "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==", "dev": true, - "license": "MIT", + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-buffer": "1.14.1", @@ -4756,7 +4782,7 @@ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz", "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==", "dev": true, - "license": "MIT", + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.14.1", "@webassemblyjs/helper-api-error": "1.13.2", @@ -4771,86 +4797,25 @@ "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", + "peer": true, "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" + "peer": true }, "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" - } + "peer": true }, "node_modules/acorn": { "version": "8.14.0", @@ -4875,24 +4840,10 @@ "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.3", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", - "dev": true, "license": "MIT", "engines": { "node": ">= 14" @@ -4917,7 +4868,6 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, - "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -4935,6 +4885,7 @@ "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ajv": "^8.0.0" }, @@ -4953,6 +4904,7 @@ "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3" }, @@ -4993,7 +4945,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -5003,7 +4954,6 @@ "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" @@ -5040,7 +4990,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true, "license": "Python-2.0" }, "node_modules/argv-formatter": { @@ -5060,30 +5009,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", @@ -5091,59 +5016,32 @@ "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, + "node_modules/ast-types": { + "version": "0.13.4", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", + "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", "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" + "tslib": "^2.0.1" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=4" } }, - "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", - "engines": { - "node": ">=12" - } + "node_modules/async": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==" }, "node_modules/asynckit": { "version": "0.4.0", @@ -5161,22 +5059,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.8.4", "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.4.tgz", @@ -5188,6 +5070,12 @@ "proxy-from-env": "^1.1.0" } }, + "node_modules/b4a": { + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz", + "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==", + "license": "Apache-2.0" + }, "node_modules/babel-loader": { "version": "8.4.1", "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.4.1.tgz", @@ -5208,140 +5096,80 @@ "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==", + "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": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" + "babylon": "^6.17.0" }, "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/avajs/find-cache-dir?sponsor=1" + "node": ">= 4" } }, - "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==", + "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": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" + "@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-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==", + "node_modules/babel-plugin-lodash/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==", "dev": true, - "license": "MIT", "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, - "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==", + "node_modules/babel-plugin-lodash/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, - "license": "MIT", "dependencies": { - "semver": "^6.0.0" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" }, "engines": { - "node": ">=8" + "node": "*" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/isaacs" } }, - "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==", + "node_modules/babel-plugin-lodash/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, - "license": "MIT", "dependencies": { - "p-try": "^2.0.0" + "brace-expansion": "^1.1.7" }, "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": "*" } }, - "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.12", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.12.tgz", - "integrity": "sha512-CPWT6BwvhrTO2d8QVorhTCQw9Y43zOu7G9HigcfxvepOU6b8o3tcWad6oVgZIsZCTt42FFv97aA7ZJsbM4+8og==", + "node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.4.12", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.12.tgz", + "integrity": "sha512-CPWT6BwvhrTO2d8QVorhTCQw9Y43zOu7G9HigcfxvepOU6b8o3tcWad6oVgZIsZCTt42FFv97aA7ZJsbM4+8og==", "dev": true, "license": "MIT", "dependencies": { @@ -5397,6 +5225,70 @@ "dev": true, "license": "MIT" }, + "node_modules/bare-events": { + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.5.4.tgz", + "integrity": "sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA==", + "license": "Apache-2.0", + "optional": true + }, + "node_modules/bare-fs": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.0.1.tgz", + "integrity": "sha512-ilQs4fm/l9eMfWY2dY0WCIUplSUp7U0CT1vrqMg1MUdeZl4fypu5UP0XcDBK5WBQPJAKP1b7XEodISmekH/CEg==", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "bare-events": "^2.0.0", + "bare-path": "^3.0.0", + "bare-stream": "^2.0.0" + }, + "engines": { + "bare": ">=1.7.0" + } + }, + "node_modules/bare-os": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.6.0.tgz", + "integrity": "sha512-BUrFS5TqSBdA0LwHop4OjPJwisqxGy6JsWVqV6qaFoe965qqtaKfDzHY5T2YA1gUL0ZeeQeA+4BBc1FJTcHiPw==", + "license": "Apache-2.0", + "optional": true, + "engines": { + "bare": ">=1.14.0" + } + }, + "node_modules/bare-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.0.0.tgz", + "integrity": "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "bare-os": "^3.0.1" + } + }, + "node_modules/bare-stream": { + "version": "2.6.5", + "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.6.5.tgz", + "integrity": "sha512-jSmxKJNJmHySi6hC42zlZnq00rga4jjxcgNZjY9N5WlOe/iOoGRtdwGsHzQv2RlH2KOYMwGUXhf2zXd32BA9RA==", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "streamx": "^2.21.0" + }, + "peerDependencies": { + "bare-buffer": "*", + "bare-events": "*" + }, + "peerDependenciesMeta": { + "bare-buffer": { + "optional": true + }, + "bare-events": { + "optional": true + } + } + }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -5418,6 +5310,15 @@ ], "license": "MIT" }, + "node_modules/basic-ftp": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", + "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/before-after-hook": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", @@ -5460,37 +5361,11 @@ "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", + "extraneous": true, "dependencies": { "ms": "2.0.0" } @@ -5499,24 +5374,7 @@ "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" - } + "extraneous": true }, "node_modules/bottleneck": { "version": "2.19.5", @@ -5540,8 +5398,6 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "dev": true, - "license": "MIT", "dependencies": { "fill-range": "^7.1.1" }, @@ -5607,6 +5463,15 @@ "ieee754": "^1.1.13" } }, + "node_modules/buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", + "license": "MIT", + "engines": { + "node": "*" + } + }, "node_modules/buffer-equal-constant-time": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", @@ -5621,16 +5486,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", @@ -5661,25 +5516,6 @@ "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", @@ -5713,7 +5549,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -5754,17 +5589,6 @@ "cdl": "bin/cdl.js" } }, - "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" - } - }, "node_modules/chai": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/chai/-/chai-5.1.2.tgz", @@ -5809,28 +5633,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", @@ -5879,10 +5681,24 @@ "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6.0" } }, + "node_modules/chromium-bidi": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-2.1.2.tgz", + "integrity": "sha512-vtRWBK2uImo5/W2oG6/cDkkHSm+2t6VHgnj+Rcwhb0pP74OoUb4GipyRX/T/y39gYQPhioP0DPShn+A7P6CHNw==", + "license": "Apache-2.0", + "dependencies": { + "mitt": "^3.0.1", + "zod": "^3.24.1" + }, + "peerDependencies": { + "devtools-protocol": "*" + } + }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -6020,7 +5836,6 @@ "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, "license": "ISC", "dependencies": { "string-width": "^4.2.0", @@ -6041,26 +5856,19 @@ "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==", - "dev": true, - "license": "MIT", + "node_modules/color": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", "dependencies": { - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.2", - "shallow-clone": "^3.0.0" - }, - "engines": { - "node": ">=6" + "color-convert": "^1.9.3", + "color-string": "^1.6.0" } }, "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" @@ -6072,9 +5880,29 @@ "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" + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/color-string": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", + "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "node_modules/color/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==", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color/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==" }, "node_modules/colorette": { "version": "2.0.20", @@ -6083,6 +5911,15 @@ "dev": true, "license": "MIT" }, + "node_modules/colorspace": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", + "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "dependencies": { + "color": "^3.1.3", + "text-hex": "1.0.x" + } + }, "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", @@ -6095,25 +5932,12 @@ "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==", - "dev": true, - "license": "MIT", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.0.0.tgz", + "integrity": "sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==", "engines": { - "node": ">= 6" + "node": ">=18" } }, "node_modules/commitizen": { @@ -6147,6 +5971,16 @@ "node": ">= 12" } }, + "node_modules/commitizen/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==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, "node_modules/commitizen/node_modules/fs-extra": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", @@ -6163,6 +5997,39 @@ "node": ">=10" } }, + "node_modules/commitizen/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/commitizen/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", @@ -6206,29 +6073,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", @@ -6248,6 +6092,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", @@ -6399,37 +6250,18 @@ "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" + "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": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", "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_modules/core-js-compat": { "version": "3.40.0", "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.40.0.tgz", @@ -6455,9 +6287,7 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", - "dev": true, "license": "MIT", - "optional": true, "dependencies": { "env-paths": "^2.2.1", "import-fresh": "^3.3.0", @@ -6641,72 +6471,19 @@ "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, + "node_modules/data-uri-to-buffer": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", + "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", "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": ">= 14" } }, - "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.0", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", - "dev": true, "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -6754,6 +6531,15 @@ "dev": true, "license": "MIT" }, + "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, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/defaults": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", @@ -6767,40 +6553,27 @@ "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==", + "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": { - "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": ">=8" } }, - "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==", - "dev": true, + "node_modules/degenerator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", + "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", "license": "MIT", "dependencies": { - "define-data-property": "^1.0.1", - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" + "ast-types": "^0.13.4", + "escodegen": "^2.1.0", + "esprima": "^4.0.1" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">= 14" } }, "node_modules/delayed-stream": { @@ -6812,16 +6585,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/deprecation": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", @@ -6839,17 +6602,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", @@ -6870,19 +6622,11 @@ "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/devtools-protocol": { + "version": "0.0.1413902", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1413902.tgz", + "integrity": "sha512-yRtvFD8Oyk7C9Os3GmnFZLu53yAfsnyw1s+mLmHHUK0GQEc9zthHWvS1r67Zqzm5t7v56PILHIVZ7kmFMaL2yQ==", + "license": "BSD-3-Clause" }, "node_modules/dir-glob": { "version": "3.0.1", @@ -6931,13 +6675,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", @@ -6948,13 +6685,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", @@ -6971,23 +6701,6 @@ "util-deprecate": "~1.0.1" } }, - "node_modules/duplexer2/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true, - "license": "MIT" - }, - "node_modules/duplexer2/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", @@ -7005,13 +6718,6 @@ "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.85", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.85.tgz", @@ -7023,14 +6729,6 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/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": { @@ -7050,14 +6748,19 @@ "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, + "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", + "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==", + "license": "MIT" + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", "license": "MIT", - "engines": { - "node": ">= 0.8" + "dependencies": { + "once": "^1.4.0" } }, "node_modules/enhanced-resolve": { @@ -7066,6 +6769,7 @@ "integrity": "sha512-0/r0MySGYG8YqlayBZ6MuCfECmHFdJ5qyPh8s8wa5Hnm6SaFLSK1VYCbj+NKp090Nm1caZhD+QTnmxO7esYGyQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -7105,26 +6809,11 @@ "version": "2.2.1", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", - "dev": true, "license": "MIT", - "optional": true, "engines": { "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", @@ -7142,84 +6831,56 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "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==", - "dev": true, + "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==", "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" + }, + "bin": { + "es-check": "index.js" }, "engines": { - "node": ">= 0.4" + "node": ">= 4" + } + }, + "node_modules/es-check/node_modules/acorn": { + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "license": "MIT", + "bin": { + "acorn": "bin/acorn" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=0.4.0" } }, - "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==", - "dev": true, - "license": "MIT" + "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==", + "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", @@ -7258,40 +6919,6 @@ "node": ">= 0.4" } }, - "node_modules/es-set-tostringtag": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", - "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.6", - "has-tostringtag": "^1.0.2", - "hasown": "^2.0.2" - }, - "engines": { - "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", @@ -7335,19 +6962,11 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", - "dev": true, "license": "MIT", "engines": { "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", @@ -7361,14 +6980,45 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint": { - "version": "9.24.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.24.0.tgz", - "integrity": "sha512-eh/jxIEJyZrvbWRe4XuVclLPDYSYYYgLy5zXGGxD6j8zjSAxFEzI2fL/8xNq6O2yKqVt+eF2YhV+hxjV6UKXwQ==", - "dev": true, - "license": "MIT", + "node_modules/escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "license": "BSD-2-Clause", "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/escodegen/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==", + "license": "BSD-3-Clause", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint": { + "version": "9.24.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.24.0.tgz", + "integrity": "sha512-eh/jxIEJyZrvbWRe4XuVclLPDYSYYYgLy5zXGGxD6j8zjSAxFEzI2fL/8xNq6O2yKqVt+eF2YhV+hxjV6UKXwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.20.0", "@eslint/config-helpers": "^0.2.0", @@ -7427,7 +7077,6 @@ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.3.0.tgz", "integrity": "sha512-pUNxi75F8MJ/GdeKtVLSbYg4ZI34J6C0C7sbL4YOp2exGwen7ZsuBqKzUhXd0qMQ362yET3z+uPwKeg/0C2XCQ==", "dev": true, - "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -7511,7 +7160,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, "license": "BSD-2-Clause", "bin": { "esparse": "bin/esparse.js", @@ -7551,42 +7199,26 @@ "version": "5.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } }, "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" - } + "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 }, "node_modules/esutils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, "license": "BSD-2-Clause", "engines": { "node": ">=0.10.0" } }, - "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", @@ -7599,7 +7231,7 @@ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "dev": true, - "license": "MIT", + "peer": true, "engines": { "node": ">=0.8.x" } @@ -7651,99 +7283,54 @@ "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==", + "node_modules/external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", "dev": true, "license": "MIT", "dependencies": { - "ms": "2.0.0" + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=4" } }, - "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", + "node_modules/extract-zip": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", + "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", + "license": "BSD-2-Clause", "dependencies": { - "side-channel": "^1.0.6" + "debug": "^4.1.1", + "get-stream": "^5.1.0", + "yauzl": "^2.10.0" + }, + "bin": { + "extract-zip": "cli.js" }, "engines": { - "node": ">=0.6" + "node": ">= 10.17.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "optionalDependencies": { + "@types/yauzl": "^2.9.1" } }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "dev": true, + "node_modules/extract-zip/node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "license": "MIT", "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" + "pump": "^3.0.0" }, "engines": { - "node": ">=4" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/fast-copy": { @@ -7759,12 +7346,16 @@ "dev": true, "license": "MIT" }, + "node_modules/fast-fifo": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", + "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", + "license": "MIT" + }, "node_modules/fast-glob": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", - "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", - "dev": true, - "license": "MIT", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -7791,42 +7382,33 @@ "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==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "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" - } + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.3.tgz", + "integrity": "sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw==", + "dev": true }, "node_modules/fastq": { - "version": "1.18.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.18.0.tgz", - "integrity": "sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==", - "dev": true, - "license": "ISC", + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", "dependencies": { "reusify": "^1.0.4" } }, + "node_modules/fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", + "license": "MIT", + "dependencies": { + "pend": "~1.2.0" + } + }, + "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==" + }, "node_modules/figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", @@ -7870,8 +7452,6 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "dev": true, - "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -7879,55 +7459,22 @@ "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==", + "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": "^2.0.0", - "pkg-dir": "^3.0.0" + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" }, "engines": { - "node": ">=6" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/avajs/find-cache-dir?sponsor=1" } }, "node_modules/find-node-modules": { @@ -8010,16 +7557,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", @@ -8041,6 +7578,11 @@ "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==" + }, "node_modules/follow-redirects": { "version": "1.15.9", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", @@ -8061,16 +7603,6 @@ } } }, - "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", @@ -8102,26 +7634,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", @@ -8133,13 +7645,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", @@ -8156,23 +7661,6 @@ "util-deprecate": "~1.0.1" } }, - "node_modules/from2/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true, - "license": "MIT" - }, - "node_modules/from2/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, "node_modules/fs-extra": { "version": "11.3.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", @@ -8188,13 +7676,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", @@ -8226,43 +7707,12 @@ "url": "https://github.com/sponsors/ljharb" } }, - "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" } @@ -8271,7 +7721,6 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" @@ -8340,22 +7789,18 @@ "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, + "node_modules/get-uri": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.4.tgz", + "integrity": "sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ==", "license": "MIT", "dependencies": { - "call-bound": "^1.0.3", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.6" + "basic-ftp": "^5.0.2", + "data-uri-to-buffer": "^6.0.2", + "debug": "^4.3.4" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">= 14" } }, "node_modules/git-log-parser": { @@ -8384,22 +7829,21 @@ } }, "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "license": "ISC", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" }, - "engines": { - "node": "*" + "bin": { + "glob": "dist/esm/bin.mjs" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -8409,7 +7853,6 @@ "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" @@ -8423,7 +7866,34 @@ "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" + "license": "BSD-2-Clause", + "peer": true + }, + "node_modules/glob/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/glob/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/global-directory": { "version": "4.0.1", @@ -8506,23 +7976,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/globby": { "version": "14.0.2", "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz", @@ -8583,11 +8036,10 @@ } }, "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true, - "license": "ISC" + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", + "dev": true }, "node_modules/graphemer": { "version": "1.4.0", @@ -8606,22 +8058,6 @@ "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", @@ -8644,58 +8080,23 @@ "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", "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "dunder-proto": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/has-symbols": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", @@ -8708,22 +8109,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/hasown": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", @@ -8736,44 +8121,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", @@ -8834,39 +8181,10 @@ "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", "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", - "dev": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.0", @@ -8880,7 +8198,6 @@ "version": "7.0.6", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", - "dev": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.2", @@ -8971,7 +8288,6 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, "license": "MIT", "dependencies": { "parent-module": "^1.0.0", @@ -8988,7 +8304,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -9008,95 +8323,6 @@ "node": ">=16.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==", - "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" - } - }, - "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", @@ -9169,9 +8395,7 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true, - "license": "ISC" + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/ini": { "version": "4.1.1", @@ -9211,31 +8435,6 @@ "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "hasown": "^2.0.2", - "side-channel": "^1.1.0" - }, - "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_modules/into-stream": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-7.0.0.tgz", @@ -9253,76 +8452,25 @@ "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" - } - }, - "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==", - "dev": true, + "node_modules/ip-address": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", + "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", "license": "MIT", "dependencies": { - "call-bind": "^1.0.8", - "call-bound": "^1.0.3", - "get-intrinsic": "^1.2.6" + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">= 12" } }, "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-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==", - "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" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-bigints": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", @@ -9336,36 +8484,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", @@ -9382,67 +8500,29 @@ "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": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true, - "license": "MIT", "engines": { "node": ">=0.10.0" } }, - "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", @@ -9456,31 +8536,10 @@ "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", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" }, @@ -9498,18 +8557,11 @@ "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==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "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 }, "node_modules/is-node-process": { "version": "1.2.0", @@ -9522,98 +8574,28 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "license": "MIT", "engines": { "node": ">=0.12.0" } }, - "node_modules/is-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", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "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==", - "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==", + "node_modules/is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", "dev": true, "license": "MIT", "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=8" } }, - "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==", + "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": { - "call-bound": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "@types/estree": "*" } }, "node_modules/is-stream": { @@ -9629,41 +8611,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-text-path": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-2.0.0.tgz", @@ -9677,22 +8624,6 @@ "node": ">=8" } }, - "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", @@ -9713,66 +8644,32 @@ "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" - }, - "engines": { - "node": ">= 0.4" + "is-docker": "^2.0.0" }, - "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" }, @@ -9783,16 +8680,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": "6.0.0", "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-6.0.0.tgz", @@ -9925,6 +8812,7 @@ "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/node": "*", "merge-stream": "^2.0.0", @@ -9940,6 +8828,7 @@ "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -9964,14 +8853,12 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true, "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==", - "dev": true, "license": "MIT", "dependencies": { "argparse": "^2.0.1" @@ -9980,6 +8867,12 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/jsbn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", + "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==", + "license": "MIT" + }, "node_modules/jsesc": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", @@ -10011,22 +8904,19 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true, "license": "MIT" }, "node_modules/json-patch": { "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": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true, - "license": "MIT" + "dev": true }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -10164,15 +9054,10 @@ "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==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } + "node_modules/kuler": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" }, "node_modules/levn": { "version": "0.4.1", @@ -10205,7 +9090,6 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true, "license": "MIT" }, "node_modules/linkify-it": { @@ -10402,16 +9286,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", @@ -10428,6 +9302,7 @@ "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6.11.5" } @@ -10476,19 +9351,6 @@ "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", @@ -10816,6 +9678,30 @@ "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==", + "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==", + "engines": { + "node": ">=0.1.90" + } + }, "node_modules/longest": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/longest/-/longest-2.0.1.tgz", @@ -10883,27 +9769,19 @@ } }, "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": "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": { - "pify": "^4.0.1", - "semver": "^5.6.0" + "semver": "^6.0.0" }, "engines": { - "node": ">=6" - } - }, - "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==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/markdown-it": { @@ -10993,28 +9871,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", @@ -11022,173 +9878,45 @@ "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": "12.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", - "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=16.10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/merge": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/merge/-/merge-2.1.1.tgz", - "integrity": "sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w==", - "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", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true, - "license": "MIT" - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "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==", + "node_modules/meow": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", + "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", "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" + "engines": { + "node": ">=16.10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "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==", + "node_modules/merge": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/merge/-/merge-2.1.1.tgz", + "integrity": "sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w==", "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==", + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", "dev": true, - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], "license": "MIT" }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "engines": { + "node": ">= 8" + } + }, "node_modules/micromatch": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "dev": true, - "license": "MIT", "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" @@ -11293,6 +10021,12 @@ "node": ">=16 || 14 >=14.17" } }, + "node_modules/mitt": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", + "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", + "license": "MIT" + }, "node_modules/mrmime": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.0.tgz", @@ -11307,7 +10041,6 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, "license": "MIT" }, "node_modules/msw": { @@ -11355,13 +10088,6 @@ } } }, - "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==", - "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", @@ -11405,16 +10131,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", @@ -11429,6 +10145,15 @@ "dev": true, "license": "MIT" }, + "node_modules/netmask": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", + "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, "node_modules/node-emoji": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.2.0.tgz", @@ -11445,27 +10170,6 @@ "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", @@ -11664,14 +10368,6 @@ "write-file-atomic" ], "dev": true, - "license": "Artistic-2.0", - "workspaces": [ - "docs", - "smoke-tests", - "mock-globals", - "mock-registry", - "workspaces/*" - ], "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/arborist": "^8.0.0", @@ -13312,6 +12008,10 @@ "node": "^18.17.0 || >=20.5.0" } }, + "node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent": { + "extraneous": true, + "inBundle": true + }, "node_modules/npm/node_modules/node-gyp/node_modules/chownr": { "version": "3.0.0", "dev": true, @@ -13349,6 +12049,10 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/npm/node_modules/node-gyp/node_modules/ssri": { + "extraneous": true, + "inBundle": true + }, "node_modules/npm/node_modules/node-gyp/node_modules/tar": { "version": "7.4.3", "dev": true, @@ -13366,6 +12070,14 @@ "node": ">=18" } }, + "node_modules/npm/node_modules/node-gyp/node_modules/unique-filename": { + "extraneous": true, + "inBundle": true + }, + "node_modules/npm/node_modules/node-gyp/node_modules/unique-slug": { + "extraneous": true, + "inBundle": true + }, "node_modules/npm/node_modules/node-gyp/node_modules/yallist": { "version": "5.0.0", "dev": true, @@ -14391,82 +13103,23 @@ "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, - "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" - }, - "funding": { - "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", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, "license": "ISC", "dependencies": { "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==", + "dependencies": { + "fn.name": "1.x.x" + } + }, "node_modules/onetime": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", @@ -14483,26 +13136,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": { @@ -14564,24 +13213,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", @@ -14692,13 +13323,45 @@ } }, "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/pac-proxy-agent": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz", + "integrity": "sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA==", + "license": "MIT", + "dependencies": { + "@tootallnate/quickjs-emscripten": "^0.23.0", + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "get-uri": "^6.0.1", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.6", + "pac-resolver": "^7.0.1", + "socks-proxy-agent": "^8.0.5" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/pac-resolver": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz", + "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==", + "license": "MIT", + "dependencies": { + "degenerator": "^5.0.0", + "netmask": "^2.0.2" + }, + "engines": { + "node": ">= 14" } }, "node_modules/package-json-from-dist": { @@ -14712,7 +13375,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, "license": "MIT", "dependencies": { "callsites": "^3.0.0" @@ -14725,7 +13387,6 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.0.0", @@ -14750,16 +13411,6 @@ "node": ">=0.10.0" } }, - "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", @@ -14822,9 +13473,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" }, @@ -14855,19 +13506,22 @@ "node": ">= 14.16" } }, + "node_modules/pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", + "license": "MIT" + }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "dev": true, "license": "ISC" }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "license": "MIT", "engines": { "node": ">=8.6" }, @@ -14889,23 +13543,13 @@ } }, "node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/pirates": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", - "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "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": ">=4" } }, "node_modules/pkg-conf": { @@ -14975,16 +13619,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", @@ -14996,43 +13630,43 @@ } }, "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==", + "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": "^3.0.0" + "find-up": "^4.0.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, "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==", + "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": "^3.0.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, "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==", + "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": "^3.0.0", - "path-exists": "^3.0.0" + "p-locate": "^4.1.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, "node_modules/pkg-dir/node_modules/p-limit": { @@ -15052,26 +13686,26 @@ } }, "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==", + "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.0.0" + "p-limit": "^2.2.0" }, "engines": { - "node": ">=6" + "node": ">=8" } - }, - "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==", + }, + "node_modules/pkg-dir/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==", "dev": true, "license": "MIT", "engines": { - "node": ">=4" + "node": ">=6" } }, "node_modules/playwright": { @@ -15121,16 +13755,6 @@ "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", @@ -15230,15 +13854,13 @@ "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, + "node_modules/progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" + "engines": { + "node": ">=0.4.0" } }, "node_modules/proto-list": { @@ -15248,18 +13870,32 @@ "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, + "node_modules/proxy-agent": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz", + "integrity": "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==", "license": "MIT", "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "http-proxy-agent": "^7.0.1", + "https-proxy-agent": "^7.0.6", + "lru-cache": "^7.14.1", + "pac-proxy-agent": "^7.1.0", + "proxy-from-env": "^1.1.0", + "socks-proxy-agent": "^8.0.5" }, "engines": { - "node": ">= 0.10" + "node": ">= 14" + } + }, + "node_modules/proxy-agent/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "license": "ISC", + "engines": { + "node": ">=12" } }, "node_modules/proxy-from-env": { @@ -15288,6 +13924,16 @@ "dev": true, "license": "MIT" }, + "node_modules/pump": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", + "license": "MIT", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", @@ -15308,6 +13954,44 @@ "node": ">=6" } }, + "node_modules/puppeteer": { + "version": "24.4.0", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.4.0.tgz", + "integrity": "sha512-E4JhJzjS8AAI+6N/b+Utwarhz6zWl3+MR725fal+s3UlOlX2eWdsvYYU+Q5bXMjs9eZEGkNQroLkn7j11s2k1Q==", + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "@puppeteer/browsers": "2.8.0", + "chromium-bidi": "2.1.2", + "cosmiconfig": "^9.0.0", + "devtools-protocol": "0.0.1413902", + "puppeteer-core": "24.4.0", + "typed-query-selector": "^2.12.0" + }, + "bin": { + "puppeteer": "lib/cjs/puppeteer/node/cli.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/puppeteer-core": { + "version": "24.4.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.4.0.tgz", + "integrity": "sha512-eFw66gCnWo0X8Hyf9KxxJtms7a61NJVMiSaWfItsFPzFBsjsWdmcNlBdsA1WVwln6neoHhsG+uTVesKmTREn/g==", + "license": "Apache-2.0", + "dependencies": { + "@puppeteer/browsers": "2.8.0", + "chromium-bidi": "2.1.2", + "debug": "^4.4.0", + "devtools-protocol": "0.0.1413902", + "typed-query-selector": "^2.12.0", + "ws": "^8.18.1" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/qs": { "version": "6.14.0", "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", @@ -15334,7 +14018,6 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, "funding": [ { "type": "github", @@ -15361,32 +14044,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", @@ -15488,7 +14145,6 @@ "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dev": true, "license": "MIT", "dependencies": { "inherits": "^2.0.3", @@ -15512,19 +14168,6 @@ "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/redeyed": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz", @@ -15535,29 +14178,6 @@ "esprima": "~4.0.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==", - "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" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/regenerate": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", @@ -15595,55 +14215,6 @@ "@babel/runtime": "^7.8.4" } }, - "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", @@ -15712,7 +14283,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -15723,7 +14293,6 @@ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", "dev": true, - "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -15763,19 +14332,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", @@ -15851,8 +14407,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true, - "license": "MIT", "engines": { "iojs": ">=1.0.0", "node": ">=0.10.0" @@ -15881,90 +14435,69 @@ "url": "https://github.com/sponsors/isaacs" } }, - "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==", + "node_modules/rollup": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.28.1.tgz", + "integrity": "sha512-61fXYl/qNVinKmGSTHAZ6Yy8I3YIJC/r2m9feHo6SwVAVcLT5MPwOUFe7EuURA/4m0NR8lXG4BBXuo/IZEsjMg==", "dev": true, "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "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==", - "dev": true, - "license": "ISC", - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^3.1.2", - "minimatch": "^9.0.4", - "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", - "path-scurry": "^1.11.1" + "@types/estree": "1.0.6" }, "bin": { - "glob": "dist/esm/bin.mjs" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/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" + "rollup": "dist/bin/rollup" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=18.0.0", + "npm": ">=8.0.0" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.28.1", + "@rollup/rollup-android-arm64": "4.28.1", + "@rollup/rollup-darwin-arm64": "4.28.1", + "@rollup/rollup-darwin-x64": "4.28.1", + "@rollup/rollup-freebsd-arm64": "4.28.1", + "@rollup/rollup-freebsd-x64": "4.28.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.28.1", + "@rollup/rollup-linux-arm-musleabihf": "4.28.1", + "@rollup/rollup-linux-arm64-gnu": "4.28.1", + "@rollup/rollup-linux-arm64-musl": "4.28.1", + "@rollup/rollup-linux-loongarch64-gnu": "4.28.1", + "@rollup/rollup-linux-powerpc64le-gnu": "4.28.1", + "@rollup/rollup-linux-riscv64-gnu": "4.28.1", + "@rollup/rollup-linux-s390x-gnu": "4.28.1", + "@rollup/rollup-linux-x64-gnu": "4.28.1", + "@rollup/rollup-linux-x64-musl": "4.28.1", + "@rollup/rollup-win32-arm64-msvc": "4.28.1", + "@rollup/rollup-win32-ia32-msvc": "4.28.1", + "@rollup/rollup-win32-x64-msvc": "4.28.1", + "fsevents": "~2.3.2" } }, - "node_modules/rollup": { - "version": "4.31.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.31.0.tgz", - "integrity": "sha512-9cCE8P4rZLx9+PjoyqHLs31V9a9Vpvfo4qNcs6JCiGWYhw2gijSetFbH6SSy1whnkgcefnUwr8sad7tgqsGvnw==", + "node_modules/rollup-plugin-visualizer": { + "version": "5.12.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.12.0.tgz", + "integrity": "sha512-8/NU9jXcHRs7Nnj07PF2o4gjxmm9lXIrZ8r175bT9dK8qoLlvKTwRMArRCMgpMGlq8CTLugRvEmyMeMXIU2pNQ==", "dev": true, - "license": "MIT", "dependencies": { - "@types/estree": "1.0.6" + "open": "^8.4.0", + "picomatch": "^2.3.1", + "source-map": "^0.7.4", + "yargs": "^17.5.1" }, "bin": { - "rollup": "dist/bin/rollup" + "rollup-plugin-visualizer": "dist/bin/cli.js" }, "engines": { - "node": ">=18.0.0", - "npm": ">=8.0.0" + "node": ">=14" }, - "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", - "fsevents": "~2.3.2" + "peerDependencies": { + "rollup": "2.x || 3.x || 4.x" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } } }, "node_modules/run-async": { @@ -15981,7 +14514,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, "funding": [ { "type": "github", @@ -16011,80 +14543,19 @@ "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", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "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" - } + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true }, - "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==", - "dev": true, + "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==", "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" + "engines": { + "node": ">=10" } }, "node_modules/safer-buffer": { @@ -16394,71 +14865,6 @@ "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==", - "dev": true, - "license": "MIT", - "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" - } - }, - "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "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==", - "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", @@ -16469,91 +14875,6 @@ "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", @@ -16577,23 +14898,6 @@ "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_modules/side-channel": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", @@ -16792,6 +15096,19 @@ "node": ">=4" } }, + "node_modules/simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "node_modules/simple-swizzle/node_modules/is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + }, "node_modules/simple-update-notifier": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", @@ -16898,16 +15215,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", @@ -16938,14 +15245,58 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "license": "MIT", + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, + "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 + }, + "node_modules/socks": { + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.4.tgz", + "integrity": "sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==", + "license": "MIT", + "dependencies": { + "ip-address": "^9.0.5", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks-proxy-agent": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz", + "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==", + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "socks": "^2.8.3" + }, + "engines": { + "node": ">= 14" + } + }, "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.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", "dev": true, "license": "BSD-3-Clause", "engines": { - "node": ">=0.10.0" + "node": ">= 8" } }, "node_modules/source-map-js": { @@ -16969,15 +15320,13 @@ "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" + "engines": { + "node": ">=0.10.0" } }, "node_modules/spawn-error-forwarder": { @@ -17033,6 +15382,20 @@ "node": ">= 10.x" } }, + "node_modules/sprintf-js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", + "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==", + "license": "BSD-3-Clause" + }, + "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==", + "engines": { + "node": "*" + } + }, "node_modules/stackback": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz", @@ -17068,13 +15431,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", @@ -17091,21 +15447,17 @@ "util-deprecate": "~1.0.1" } }, - "node_modules/stream-combiner2/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true, - "license": "MIT" - }, - "node_modules/stream-combiner2/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, + "node_modules/streamx": { + "version": "2.22.0", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.22.0.tgz", + "integrity": "sha512-sLh1evHOzBy/iWRiR6d1zRcLao4gGZr3C1kzNz4fopCOKJb6xD9ub8Mpi9Mr1R6id5o43S+d93fI48UC5uM9aw==", "license": "MIT", "dependencies": { - "safe-buffer": "~5.1.0" + "fast-fifo": "^1.3.2", + "text-decoder": "^1.1.0" + }, + "optionalDependencies": { + "bare-events": "^2.2.0" } }, "node_modules/strict-event-emitter": { @@ -17116,15 +15468,33 @@ "license": "MIT" }, "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, - "license": "MIT", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dependencies": { "safe-buffer": "~5.2.0" } }, + "node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, "node_modules/string-argv": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", @@ -17139,7 +15509,6 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -17154,117 +15523,41 @@ "name": "string-width", "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width-cjs/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "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==", - "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" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "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==", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "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" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=8" } }, - "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==", + "node_modules/string-width-cjs/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, "license": "MIT", - "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": ">=8" } }, - "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, + "node_modules/string-width/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "license": "MIT", - "dependencies": { - "character-entities-html4": "^2.0.0", - "character-entities-legacy": "^3.0.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" + "engines": { + "node": ">=8" } }, "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" @@ -17372,10 +15665,36 @@ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=6" } }, + "node_modules/tar-fs": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.8.tgz", + "integrity": "sha512-ZoROL70jptorGAlgAYiLoBLItEKw/fUxg9BSYK/dF/GAGYFJOJJJMvjPAKDJraCXFwadD456FCuvLWgfhMsPwg==", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0", + "tar-stream": "^3.1.5" + }, + "optionalDependencies": { + "bare-fs": "^4.0.1", + "bare-path": "^3.0.0" + } + }, + "node_modules/tar-stream": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", + "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", + "license": "MIT", + "dependencies": { + "b4a": "^1.6.4", + "fast-fifo": "^1.2.0", + "streamx": "^2.15.0" + } + }, "node_modules/temp-dir": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-3.0.0.tgz", @@ -17443,6 +15762,7 @@ "integrity": "sha512-RVCsMfuD0+cTt3EwX8hSl2Ks56EbFHWmhluwcqoPKtBnfjiT6olaq7PRIRfhyU8nnC2MrnDrBLfrD/RGE+cVXQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", "jest-worker": "^27.4.5", @@ -17478,6 +15798,7 @@ "integrity": "sha512-Gf9qqc58SpCA/xdziiHz35F4GNIWYWZrEshUc/G/r5BnLph6xpKuLeoJoQuj5WfBIx/eQLf+hmVPYHaxJu7V2g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/json-schema": "^7.0.9", "ajv": "^8.9.0", @@ -17524,27 +15845,6 @@ "balanced-match": "^1.0.0" } }, - "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==", - "dev": true, - "license": "ISC", - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^3.1.2", - "minimatch": "^9.0.4", - "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", - "path-scurry": "^1.11.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/test-exclude/node_modules/minimatch": { "version": "9.0.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", @@ -17561,6 +15861,15 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/text-decoder": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.3.tgz", + "integrity": "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==", + "license": "Apache-2.0", + "dependencies": { + "b4a": "^1.6.4" + } + }, "node_modules/text-extensions": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-2.4.0.tgz", @@ -17574,6 +15883,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "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==", + "license": "MIT" + }, "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -17592,13 +15907,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", @@ -17615,23 +15923,6 @@ "util-deprecate": "~1.0.1" } }, - "node_modules/through2/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true, - "license": "MIT" - }, - "node_modules/through2/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, "node_modules/tinybench": { "version": "2.9.0", "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz", @@ -17738,8 +16029,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "license": "MIT", "dependencies": { "is-number": "^7.0.0" }, @@ -17747,16 +16036,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", @@ -17816,15 +16095,12 @@ "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==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" + "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==", + "engines": { + "node": ">= 14.0.0" } }, "node_modules/ts-api-utils": { @@ -17844,7 +16120,6 @@ "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, "license": "0BSD" }, "node_modules/type-check": { @@ -17873,110 +16148,24 @@ "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, - "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==", - "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" - } - }, - "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==", - "dev": true, - "license": "MIT", - "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" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "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==", - "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/typed-query-selector": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.0.tgz", + "integrity": "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==", + "license": "MIT" }, "node_modules/typedoc": { - "version": "0.26.11", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.11.tgz", - "integrity": "sha512-sFEgRRtrcDl2FxVP58Ze++ZK2UQAEvtvvH8rRlig1Ja3o7dDaMHmaBfvJmdGnNEFaLTpQsN8dpvZaTqJSu/Ugw==", + "version": "0.27.5", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.27.5.tgz", + "integrity": "sha512-x+fhKJtTg4ozXwKayh/ek4wxZQI/+2hmZUdO2i2NGDBRUflDble70z+ewHod3d4gRpXSO6fnlnjbDTnJk7HlkQ==", "dev": true, "license": "Apache-2.0", "dependencies": { + "@gerrit0/mini-shiki": "^1.24.0", "lunr": "^2.3.9", "markdown-it": "^14.1.0", "minimatch": "^9.0.5", - "shiki": "^1.16.2", - "yaml": "^2.5.1" + "yaml": "^2.6.1" }, "bin": { "typedoc": "bin/typedoc" @@ -17985,7 +16174,7 @@ "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" + "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" } }, "node_modules/typedoc/node_modules/brace-expansion": { @@ -18014,11 +16203,24 @@ "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==", + "node_modules/typedoc/node_modules/yaml": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.1.tgz", + "integrity": "sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg==", "dev": true, + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/typescript": { + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", + "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", + "devOptional": true, "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", @@ -18072,25 +16274,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", @@ -18102,7 +16285,7 @@ "version": "6.19.8", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/unicode-canonical-property-names-ecmascript": { @@ -18143,122 +16326,49 @@ "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==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "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==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "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", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/unique-string": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-3.0.0.tgz", - "integrity": "sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "crypto-random-string": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "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" + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" } }, - "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==", + "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==", "dev": true, "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "engines": { + "node": ">=4" } }, - "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==", + "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": { - "@types/unist": "^3.0.0", - "unist-util-is": "^6.0.0", - "unist-util-visit-parents": "^6.0.0" + "engines": { + "node": ">=18" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "url": "https://github.com/sponsors/sindresorhus" } }, - "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==", + "node_modules/unique-string": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-3.0.0.tgz", + "integrity": "sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==", "dev": true, "license": "MIT", "dependencies": { - "@types/unist": "^3.0.0", - "unist-util-is": "^6.0.0" + "crypto-random-string": "^4.0.0" + }, + "engines": { + "node": ">=12" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/universal-user-agent": { @@ -18278,16 +16388,6 @@ "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==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/update-browserslist-db": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.2.tgz", @@ -18353,32 +16453,7 @@ "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "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" - } + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, "node_modules/validate-npm-package-license": { "version": "3.0.4", @@ -18391,46 +16466,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.17", "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.17.tgz", @@ -18586,6 +16621,7 @@ "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.1.2" @@ -18610,6 +16646,7 @@ "integrity": "sha512-EksG6gFY3L1eFMROS/7Wzgrii5mBAFe4rIr3r2BTfo7bcc+DWwFZ4OJ/miOuHJO/A85HwyI4eQ0F6IKXesO7Fg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.6", @@ -18651,157 +16688,13 @@ } } }, - "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" - }, - "bin": { - "webpack-cli": "bin/cli.js" - }, - "engines": { - "node": ">=14.15.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "5.x.x" - }, - "peerDependenciesMeta": { - "@webpack-cli/generators": { - "optional": true - }, - "webpack-bundle-analyzer": { - "optional": true - }, - "webpack-dev-server": { - "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", + "peer": true, "engines": { "node": ">=10.13.0" } @@ -18812,6 +16705,7 @@ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -18829,6 +16723,7 @@ "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", "dev": true, "license": "MIT", + "peer": true, "peerDependencies": { "ajv": "^6.9.1" } @@ -18839,6 +16734,7 @@ "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", "dev": true, "license": "BSD-2-Clause", + "peer": true, "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" @@ -18853,16 +16749,26 @@ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", "dev": true, "license": "BSD-2-Clause", + "peer": true, "engines": { "node": ">=4.0" } }, + "node_modules/webpack/node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC", + "peer": true + }, "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" + "license": "MIT", + "peer": true }, "node_modules/webpack/node_modules/schema-utils": { "version": "3.3.0", @@ -18870,6 +16776,7 @@ "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -18899,118 +16806,76 @@ "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==", - "dev": true, - "license": "MIT", + "node_modules/winston": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.13.0.tgz", + "integrity": "sha512-rwidmA1w3SE4j0E5MuIufFhyJPBDG7Nu71RkZor1p2+qHvJSZ9GYDA81AyleQcZbh/+V6HjeBdfnTZJm9rSeQQ==", "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==", - "dev": true, - "license": "MIT", + "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==", "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==", - "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" - }, + "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==", "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "siginfo": "^2.0.0", - "stackback": "0.0.2" - }, - "bin": { - "why-is-node-running": "cli.js" - }, + "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==", "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", @@ -19032,7 +16897,6 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", @@ -19069,14 +16933,12 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true, "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==", - "dev": true, + "version": "8.18.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.1.tgz", + "integrity": "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -19108,7 +16970,6 @@ "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, "license": "ISC", "engines": { "node": ">=10" @@ -19138,7 +16999,6 @@ "version": "17.7.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "dev": true, "license": "MIT", "dependencies": { "cliui": "^8.0.1", @@ -19157,12 +17017,21 @@ "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, "license": "ISC", "engines": { "node": ">=12" } }, + "node_modules/yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", + "license": "MIT", + "dependencies": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", @@ -19189,15 +17058,13 @@ "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, + "node_modules/zod": { + "version": "3.24.2", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.2.tgz", + "integrity": "sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==", "license": "MIT", "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" + "url": "https://github.com/sponsors/colinhacks" } } } diff --git a/package.json b/package.json index 42b24f5c06..be952bd5c8 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,16 @@ "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", + "import": "./dist/esm/index.js", + "require": "./dist/contentful-management.cjs" + } + }, + "main": "./dist/esm/index.js", + "types": "dist/types/index.d.ts", "engines": { "node": ">=18" }, @@ -25,19 +31,21 @@ "license": "MIT", "scripts": { "clean": "rimraf dist", - "build": "npm run clean && npm run build:modules && npm run build:standalone && npm run build:types", - "postbuild": "npm run test:demo-projects", - "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:esm && npm run build:bundles && rm -rf dist/esm-raw", + "build:esm": "tsc", + "build:bundles": "NODE_ENV=production rollup -c", "build:docs": "typedoc", + "postbuild": "npm run check && npm run test:demo-projects", + "check": "npm run check:cjs && npm run check:esm && npm run check:browser && npm run check:browser-min", + "check:browser": "es-check es2018 ./dist/contentful-management.browser.js", + "check:browser-min": "es-check es2018 ./dist/contentful-management.browser.min.js", + "check:cjs": "es-check es2017 './dist/contentful-management.cjs'", + "check:esm": "es-check es2017 --module './dist/esm/*.js'", "docs:dev": "npm run build && 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", - "check-types": "tsc", "lint": "eslint lib test", - "pretest": "rimraf coverage && npm run lint", + "pretest": "npm run lint", "test": "npm run test:cover-unit && npm run test:types && npm run test:cover-integration && npm run test:size", "test:cover-unit": "npm run test:unit -- --coverage", "test:cover-integration": "npm run test:integration -- --coverage", @@ -69,57 +77,57 @@ "@contentful/rich-text-types": "^16.6.1", "axios": "^1.8.4", "contentful-sdk-core": "^9.0.1", + "es-check": "^7.2.1", "fast-copy": "^3.0.0", - "globals": "^15.15.0" + "globals": "^15.15.0", + "json-patch": "^0.7.0", + "puppeteer": "^24.4.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.24.7", + "@babel/preset-env": "^7.24.3", "@contentful/integration-test-utils": "^2.0.1", "@eslint/js": "^9.15.0", + "@optimize-lodash/rollup-plugin": "^5.0.0", + "@rollup/plugin-alias": "^5.1.0", + "@rollup/plugin-babel": "^6.0.4", + "@rollup/plugin-commonjs": "^28.0.2", + "@rollup/plugin-json": "^6.1.0", + "@rollup/plugin-node-resolve": "^16.0.0", + "@rollup/plugin-replace": "^6.0.2", + "@rollup/plugin-terser": "^0.4.4", "@semantic-release/changelog": "^6.0.0", "@size-limit/file": "^11.1.6", - "@types/json-patch": "0.0.30", + "@types/json-patch": "^0.0.33", "@types/lodash": "^4.14.168", "@types/node": "^20.12.13", - "@vitest/browser": "^2.1.5", - "@vitest/coverage-v8": "^2.1.5", + "@vitest/browser": "^2.1.8", + "@vitest/coverage-v8": "^2.1.8", "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", "cz-conventional-changelog": "^3.3.0", "eslint": "^9.15.0", - "express": "^4.21.1", "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", + "playwright": "^1.49.1", "prettier": "^2.6.0", + "process": "^0.11.10", "rimraf": "^5.0.0", + "rollup": "^4.28.1", + "rollup-plugin-visualizer": "^5.12.0", "semantic-release": "^22.0.12", "size-limit": "^11.1.6", "type-fest": "^4.18.3", - "typedoc": "^0.26.2", - "typescript": "^5.6.3", + "typedoc": "^0.27.5", + "typescript": "^5.7.2", "typescript-eslint": "^8.16.0", - "vitest": "^2.1.5", - "webpack": "^5.91.0", - "webpack-bundle-analyzer": "^4.9.0", - "webpack-cli": "^5.1.4" + "vitest": "^2.1.8" }, "config": { "commitizen": { @@ -166,19 +174,15 @@ "size-limit": [ { "path": "./dist/contentful-management.browser.js", - "limit": "161 kB" + "limit": "110 kB" }, { "path": "./dist/contentful-management.browser.min.js", - "limit": "70 kB" - }, - { - "path": "./dist/contentful-management.node.js", - "limit": "177 kB" + "limit": "55 kB" }, { - "path": "./dist/contentful-management.node.min.js", - "limit": "88 kB" + "path": "./dist/contentful-management.cjs", + "limit": "140 kB" } ] } diff --git a/rollup.config.js b/rollup.config.js new file mode 100644 index 0000000000..5f2da23382 --- /dev/null +++ b/rollup.config.js @@ -0,0 +1,182 @@ +import { dirname, resolve } 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 { optimizeLodashImports } from '@optimize-lodash/rollup-plugin' +import { visualizer } from 'rollup-plugin-visualizer' +import { babel } from '@rollup/plugin-babel' + +const __dirname = dirname(fileURLToPath(import.meta.url)) + +const baseConfig = { + input: 'dist/esm-raw/index.js', + output: { + file: 'dist/contentful-management.cjs', + format: 'cjs', + }, + plugins: [ + optimizeLodashImports(), + replace({ + preventAssignment: true, + 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), + __VERSION__: JSON.stringify(pkg.version), + }), + commonjs({ + sourceMap: false, + transformMixedEsModules: true, + ignoreGlobal: true, + ignoreDynamicRequires: true, + requireReturnsDefault: 'auto', + }), + json(), + ], +} + +const esmConfig = { + input: 'dist/esm-raw/index.js', + output: { + dir: 'dist/esm', + format: 'esm', + preserveModules: true, + }, + plugins: [ + replace({ + preventAssignment: true, + 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), + __VERSION__: JSON.stringify(pkg.version), + }), + ], +} + +const cjsConfig = { + ...baseConfig, + output: { + ...baseConfig.output, + }, + 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, + output: { + file: 'dist/contentful-management.browser.js', + format: 'iife', + name: 'contentfulManagement', + }, + plugins: [ + nodeResolve({ + preferBuiltins: false, + browser: true, + }), + 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.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', + }), + ], +} + +export default [esmConfig, cjsConfig, browserConfig, browserMinConfig] diff --git a/test/helpers.ts b/test/helpers.ts index 2af1a03149..ab6c50f507 100644 --- a/test/helpers.ts +++ b/test/helpers.ts @@ -1,6 +1,6 @@ import type { CreateHttpClientParams } from 'contentful-sdk-core' -import { createClient } from '../lib/contentful-management' -import type { Environment, Organization, Space } from '../lib/contentful-management' +import { createClient } from '../lib' +import type { Environment, Organization, Space } from '../lib' import { TestDefaults } from './defaults' import * as testUtils from '@contentful/integration-test-utils' @@ -39,7 +39,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/app-access-token-integration.test.ts b/test/integration/app-access-token-integration.test.ts index be68faa4da..637d3238a1 100644 --- a/test/integration/app-access-token-integration.test.ts +++ b/test/integration/app-access-token-integration.test.ts @@ -14,7 +14,7 @@ import type { Environment, PlainClientAPI, AppKeyProps, -} from '../../lib/contentful-management' +} from '../../lib' 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 b5d4529f90..3b5ca899a9 100644 --- a/test/integration/app-action-integration.test.ts +++ b/test/integration/app-action-integration.test.ts @@ -1,5 +1,5 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' -import type { AppActionProps, PlainClientAPI } from '../../lib/contentful-management' +import type { AppActionProps, PlainClientAPI } from '../../lib' import { initPlainClient, getTestOrganization, diff --git a/test/integration/app-bundle-integration.test.ts b/test/integration/app-bundle-integration.test.ts index 43790df30a..6b7b0354bc 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 type { Organization, AppDefinition, AppUpload, Space, Environment } from '../../lib' 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 db84700205..7337044cac 100644 --- a/test/integration/app-definition-integration.test.ts +++ b/test/integration/app-definition-integration.test.ts @@ -7,12 +7,7 @@ import { getDefaultSpace, timeoutToCalmRateLimiting, } from '../helpers' -import type { - Organization, - Space, - Environment, - AppInstallation, -} from '../../lib/contentful-management' +import type { Organization, Space, Environment, AppInstallation } from '../../lib' 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 cddb0c9d26..cfb45ae7e1 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 type { AppIcon, PlainClientAPI, Organization, AppDefinition } from '../../lib' 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 d696050bad..50c0c6b8ed 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 type { PlainClientAPI, Organization, AppDefinition } from '../../lib' 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..83e09f6075 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 type { PlainClientAPI, Organization, AppDefinition } from '../../lib' 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..83e09f6075 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 type { PlainClientAPI, Organization, AppDefinition } from '../../lib' 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 c185df5df3..d6d7158f08 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 type { PlainClientAPI, Organization, AppDefinition } from '../../lib' 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 a3415e7c82..7e6a950933 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 type { Organization } from '../../lib' describe('AppUpload api', { sequential: true }, () => { let organization: Organization diff --git a/test/integration/bulk-action-integration.test.ts b/test/integration/bulk-action-integration.test.ts index 0ff2a3ab38..505cc6ec24 100644 --- a/test/integration/bulk-action-integration.test.ts +++ b/test/integration/bulk-action-integration.test.ts @@ -5,8 +5,8 @@ import type { BulkActionPublishPayload, BulkActionUnpublishPayload, BulkActionValidatePayload, -} from '../../lib/contentful-management' -import type { Environment, Space } from '../../lib/contentful-management' +} from '../../lib' +import type { Environment, Space } from '../../lib' import { waitForBulkActionProcessing } from '../../lib/methods/bulk-action' import { TestDefaults } from '../defaults' import { getDefaultSpace, initPlainClient, timeoutToCalmRateLimiting } from '../helpers' diff --git a/test/integration/entry-references-integration.test.ts b/test/integration/entry-references-integration.test.ts index e7bf615891..1ae41a90f9 100644 --- a/test/integration/entry-references-integration.test.ts +++ b/test/integration/entry-references-integration.test.ts @@ -1,5 +1,5 @@ import { expect, describe, it, beforeAll, afterAll } from 'vitest' -import type { PlainClientAPI } from '../../lib/contentful-management' +import type { PlainClientAPI } from '../../lib' import type { Environment } from '../../lib/entities/environment' import type { Space } from '../../lib/entities/space' import { TestDefaults } from '../defaults' diff --git a/test/integration/taxonomy-integration.test.ts b/test/integration/taxonomy-integration.test.ts index c372528db6..4d85f5d337 100644 --- a/test/integration/taxonomy-integration.test.ts +++ b/test/integration/taxonomy-integration.test.ts @@ -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: { @@ -198,7 +168,7 @@ describe('Taxonomy Integration', () => { expect(result.uri).to.null conceptsToDelete.push(result) - const updatedConcept = await client.concept.updatePut( + const updatedConcept = await client.concept.update( { version: result.sys.version, conceptId: result.sys.id, @@ -406,36 +376,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: { @@ -478,7 +418,7 @@ describe('Taxonomy Integration', () => { expect(result.uri).to.null conceptSchemesToDelete.push(result) - const updatedConceptScheme = await client.conceptScheme.updatePut( + const updatedConceptScheme = await client.conceptScheme.update( { version: result.sys.version, conceptSchemeId: result.sys.id, 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 fda017aa54..b91c6a2262 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/concept-scheme.test.ts b/test/unit/adapters/REST/endpoints/concept-scheme.test.ts index 3b0343aeec..633a8a7916 100644 --- a/test/unit/adapters/REST/endpoints/concept-scheme.test.ts +++ b/test/unit/adapters/REST/endpoints/concept-scheme.test.ts @@ -119,34 +119,13 @@ describe('ConceptScheme', () => { }) test('update', async () => { - const { httpMock, adapterMock, entityMock } = setup(Promise.resolve({})) - httpMock.patch.mockReturnValue(Promise.resolve({ data: entityMock })) - - return adapterMock - .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', + action: 'update', params: { organizationId: 'organization-id', conceptSchemeId: 'concept-scheme-id', diff --git a/test/unit/adapters/REST/endpoints/concept.test.ts b/test/unit/adapters/REST/endpoints/concept.test.ts index 3a30ef420a..9f24572e75 100644 --- a/test/unit/adapters/REST/endpoints/concept.test.ts +++ b/test/unit/adapters/REST/endpoints/concept.test.ts @@ -171,33 +171,12 @@ describe('Concept', () => { test('update', async () => { const { httpMock, adapterMock, entityMock } = setup(Promise.resolve({})) - httpMock.patch.mockReturnValue(Promise.resolve({ data: entityMock })) - - return adapterMock - .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', + action: 'update', params: { organizationId: 'organization-id', conceptId: 'concept-id', diff --git a/test/unit/contentful-management.test.ts b/test/unit/contentful-management.test.ts index 52d206aac1..fc972c9ccc 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/plain/resource-provider.test.ts b/test/unit/plain/resource-provider.test.ts index 34e6cbd094..a97fcbdfca 100644 --- a/test/unit/plain/resource-provider.test.ts +++ b/test/unit/plain/resource-provider.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect } from 'vitest' -import { createClient } from '../../../lib/contentful-management' +import { createClient } from '../../../lib' import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' import { resourceProviderMock } from '../mocks/entities' diff --git a/test/unit/plain/resource-type.test.ts b/test/unit/plain/resource-type.test.ts index afe7b1a011..87ba8599f4 100644 --- a/test/unit/plain/resource-type.test.ts +++ b/test/unit/plain/resource-type.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect } from 'vitest' -import { createClient } from '../../../lib/contentful-management' +import { createClient } from '../../../lib' import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' import { resourceTypeMock } from '../mocks/entities' diff --git a/test/unit/plain/resource.test.ts b/test/unit/plain/resource.test.ts index 92c52695a7..2daa4644ef 100644 --- a/test/unit/plain/resource.test.ts +++ b/test/unit/plain/resource.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect } from 'vitest' -import { createClient } from '../../../lib/contentful-management' +import { createClient } from '../../../lib' import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' import { resourceMock } from '../mocks/entities' diff --git a/test/unit/plain/webhook.test.ts b/test/unit/plain/webhook.test.ts index 97d03dafda..b7d04b82e9 100644 --- a/test/unit/plain/webhook.test.ts +++ b/test/unit/plain/webhook.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect } from 'vitest' -import { createClient } from '../../../lib/contentful-management' +import { createClient } from '../../../lib' import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' describe('Webhook', () => { diff --git a/tsconfig.json b/tsconfig.json index e21df64f4c..7115cce484 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,26 +1,23 @@ { "compilerOptions": { - "target": "esnext", + "outDir": "./dist/esm-raw", + "rootDir": "./lib", + "lib": ["dom", "esnext"], + "target": "ES2017", + "module": "es2020", "moduleResolution": "node", "allowJs": true, - "noEmit": true, - "outDir": "./dist/typings", + "declarationDir": "dist/types", + "declaration": true, "strict": true, - "isolatedModules": true, + "importHelpers": true, + "isolatedModules": false, "esModuleInterop": true, "noImplicitThis": false, "typeRoots": ["node_modules/@types"], + "noImplicitAny": false, "skipLibCheck": true }, - "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"], + "exclude": ["./node_modules/**/*", "dist", "test"] } diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index 94058e1f3d..0000000000 --- a/webpack.config.js +++ /dev/null @@ -1,107 +0,0 @@ -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] From 3998dc2b875b222dedb133f9be652251f43b630d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Tue, 29 Apr 2025 10:03:09 +0200 Subject: [PATCH 02/48] fix: move type-fest to a regular dependency --- package-lock.json | 5 ++--- package.json | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 712aca9ae6..ed5406c4a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,8 @@ "fast-copy": "^3.0.0", "globals": "^15.15.0", "json-patch": "^0.7.0", - "puppeteer": "^24.4.0" + "puppeteer": "^24.4.0", + "type-fest": "^4.18.3" }, "devDependencies": { "@babel/plugin-transform-runtime": "^7.24.7", @@ -58,7 +59,6 @@ "rollup-plugin-visualizer": "^5.12.0", "semantic-release": "^22.0.12", "size-limit": "^11.1.6", - "type-fest": "^4.18.3", "typedoc": "^0.27.5", "typescript": "^5.7.2", "typescript-eslint": "^8.16.0", @@ -16139,7 +16139,6 @@ "version": "4.39.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.39.1.tgz", "integrity": "sha512-uW9qzd66uyHYxwyVBYiwS4Oi0qZyUqwjU+Oevr6ZogYiXt99EOYtwvzMSLw1c3lYo2HzJsep/NB23iEVEgjG/w==", - "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=16" diff --git a/package.json b/package.json index be952bd5c8..2fca8999d5 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,8 @@ "fast-copy": "^3.0.0", "globals": "^15.15.0", "json-patch": "^0.7.0", - "puppeteer": "^24.4.0" + "puppeteer": "^24.4.0", + "type-fest": "^4.18.3" }, "devDependencies": { "@babel/plugin-transform-runtime": "^7.24.7", @@ -123,7 +124,6 @@ "rollup-plugin-visualizer": "^5.12.0", "semantic-release": "^22.0.12", "size-limit": "^11.1.6", - "type-fest": "^4.18.3", "typedoc": "^0.27.5", "typescript": "^5.7.2", "typescript-eslint": "^8.16.0", From 00e4e72212d18d5ab7f0a19ea5d0a5ad84530058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Tue, 29 Apr 2025 10:03:21 +0200 Subject: [PATCH 03/48] chore: remove outdated types.d.ts file --- types.d.ts | 1 - 1 file changed, 1 deletion(-) delete mode 100644 types.d.ts 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' From 25fb47a83de5d9640fe8361ec422dae8d7e8d4d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Tue, 29 Apr 2025 10:18:09 +0200 Subject: [PATCH 04/48] chore: remove reference to outdated types.d.ts file --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 2fca8999d5..ade7c84376 100644 --- a/package.json +++ b/package.json @@ -70,8 +70,7 @@ "prepublishOnly": "npm run build && npm run test:version" }, "files": [ - "dist", - "types.d.ts" + "dist" ], "dependencies": { "@contentful/rich-text-types": "^16.6.1", From 1b762fb767e11dd431438a1b043c47f1d07bba9f Mon Sep 17 00:00:00 2001 From: Lisa White Date: Tue, 29 Apr 2025 16:14:08 -0600 Subject: [PATCH 05/48] fix: empty commit to trigger new beta (#2626) From 8340fa9b3ac845505a1792b72ca5ee9fe9a15511 Mon Sep 17 00:00:00 2001 From: Lisa White Date: Tue, 29 Apr 2025 20:25:31 -0600 Subject: [PATCH 06/48] fix: trigger new beta release From d353840d04e341c1886d916de636652e7d815137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 21 May 2025 15:19:12 +0200 Subject: [PATCH 07/48] feat: add browser export --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index ade7c84376..b76a3cc79d 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", + "browser": "./dist/contentful-management.browser.js", "import": "./dist/esm/index.js", "require": "./dist/contentful-management.cjs" } From 02bc2bafa9681271abba06ef599e7427c774e13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 21 May 2025 15:20:26 +0200 Subject: [PATCH 08/48] refactor: cjs is now available transpiled and bundled, while transpiled is the new default --- eslint.config.mjs | 7 +++++++ package.json | 2 +- rollup.config.js | 40 ++++++++++++++++++++++++++++++++++++++-- 3 files changed, 46 insertions(+), 3 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index c39b90ba55..d16c458499 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -39,6 +39,13 @@ export default tseslint.config( ], }, }, + // Dist + { + files: ['dist/cjs/**/*'], + rules: { + '@typescript-eslint/no-require-imports': 'off', + }, + }, // Tests { files: ['test/**/*'], diff --git a/package.json b/package.json index b76a3cc79d..fd2dccff2d 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "types": "./dist/types/index.d.ts", "browser": "./dist/contentful-management.browser.js", "import": "./dist/esm/index.js", - "require": "./dist/contentful-management.cjs" + "require": "./dist/cjs/index.cjs" } }, "main": "./dist/esm/index.js", diff --git a/rollup.config.js b/rollup.config.js index 5f2da23382..a570cb3e5f 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,4 +1,4 @@ -import { dirname, resolve } from 'path' +import { resolve, extname, dirname } from 'path'; import { fileURLToPath } from 'url' import pkg from './package.json' with { type: 'json' } @@ -15,6 +15,25 @@ import { babel } from '@rollup/plugin-babel' const __dirname = dirname(fileURLToPath(import.meta.url)) +function renameJsToCjs() { + return { + name: 'rename-js-to-cjs', + generateBundle(options, bundle) { + for (const [fileName, file] of Object.entries(bundle)) { + if (file.type === 'chunk' && extname(fileName) === '.js') { + const newFileName = fileName.replace(/\.js$/, '.cjs'); + + // Emit new file with updated name and same code + this.emitFile({ type: 'asset', fileName: newFileName, source: file.code }); + + // Remove old .js entry + delete bundle[fileName]; + } + } + }, + }; +} + const baseConfig = { input: 'dist/esm-raw/index.js', output: { @@ -56,6 +75,23 @@ const esmConfig = { } const cjsConfig = { + input: 'dist/esm-raw/index.js', + output: { + dir: 'dist/cjs', + format: 'cjs', + preserveModules: true, + }, + plugins: [ + replace({ + preventAssignment: true, + 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), + __VERSION__: JSON.stringify(pkg.version), + }), + renameJsToCjs() + ], +} + +const cjsBundleConfig = { ...baseConfig, output: { ...baseConfig.output, @@ -179,4 +215,4 @@ const browserMinConfig = { ], } -export default [esmConfig, cjsConfig, browserConfig, browserMinConfig] +export default [esmConfig, cjsConfig, cjsBundleConfig, browserConfig, browserMinConfig] From afb722e9d8f2cc34d985581a695d698b1de3b0ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 21 May 2025 15:21:45 +0200 Subject: [PATCH 09/48] docs: mention both ways of forcing cjs syntax --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 033a3236d3..f04b8b55f5 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,9 @@ 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') +// bundle const contentful = require('contentful-management/dist/contentful-management.cjs') ``` From f03cd16b56cbbfb1dc81d2cdfc6ad7761db72299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 28 May 2025 16:25:28 +0200 Subject: [PATCH 10/48] Revert "feat: add browser export" This reverts commit d353840d04e341c1886d916de636652e7d815137. --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index fd2dccff2d..d2bc8f2479 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", - "browser": "./dist/contentful-management.browser.js", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.cjs" } From 420a7b429778334a7ac343abd46016b75eb7dd4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 28 May 2025 16:39:08 +0200 Subject: [PATCH 11/48] fix: remove renaming of cjs files --- rollup.config.js | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index a570cb3e5f..4c6040fa0b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,4 +1,4 @@ -import { resolve, extname, dirname } from 'path'; +import { resolve, dirname } from 'path'; import { fileURLToPath } from 'url' import pkg from './package.json' with { type: 'json' } @@ -15,25 +15,6 @@ import { babel } from '@rollup/plugin-babel' const __dirname = dirname(fileURLToPath(import.meta.url)) -function renameJsToCjs() { - return { - name: 'rename-js-to-cjs', - generateBundle(options, bundle) { - for (const [fileName, file] of Object.entries(bundle)) { - if (file.type === 'chunk' && extname(fileName) === '.js') { - const newFileName = fileName.replace(/\.js$/, '.cjs'); - - // Emit new file with updated name and same code - this.emitFile({ type: 'asset', fileName: newFileName, source: file.code }); - - // Remove old .js entry - delete bundle[fileName]; - } - } - }, - }; -} - const baseConfig = { input: 'dist/esm-raw/index.js', output: { @@ -86,8 +67,7 @@ const cjsConfig = { preventAssignment: true, 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), __VERSION__: JSON.stringify(pkg.version), - }), - renameJsToCjs() + }) ], } From 2188a34516c956063338326c6bbb82434afae440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 28 May 2025 16:40:22 +0200 Subject: [PATCH 12/48] fix: fix export for require and make cjs bundle importable --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d2bc8f2479..bcb901742f 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,9 @@ ".": { "types": "./dist/types/index.d.ts", "import": "./dist/esm/index.js", - "require": "./dist/cjs/index.cjs" - } + "require": "./dist/cjs/index.js" + }, + "./dist/contentful-management.cjs": "./dist/contentful-management.cjs" }, "main": "./dist/esm/index.js", "types": "dist/types/index.d.ts", From c0750fdf80a846248cdfa4cb065a140b1d8ad643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 28 May 2025 17:12:30 +0200 Subject: [PATCH 13/48] Revert "fix: remove renaming of cjs files" This reverts commit 420a7b429778334a7ac343abd46016b75eb7dd4d. --- rollup.config.js | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 4c6040fa0b..a570cb3e5f 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,4 +1,4 @@ -import { resolve, dirname } from 'path'; +import { resolve, extname, dirname } from 'path'; import { fileURLToPath } from 'url' import pkg from './package.json' with { type: 'json' } @@ -15,6 +15,25 @@ import { babel } from '@rollup/plugin-babel' const __dirname = dirname(fileURLToPath(import.meta.url)) +function renameJsToCjs() { + return { + name: 'rename-js-to-cjs', + generateBundle(options, bundle) { + for (const [fileName, file] of Object.entries(bundle)) { + if (file.type === 'chunk' && extname(fileName) === '.js') { + const newFileName = fileName.replace(/\.js$/, '.cjs'); + + // Emit new file with updated name and same code + this.emitFile({ type: 'asset', fileName: newFileName, source: file.code }); + + // Remove old .js entry + delete bundle[fileName]; + } + } + }, + }; +} + const baseConfig = { input: 'dist/esm-raw/index.js', output: { @@ -67,7 +86,8 @@ const cjsConfig = { preventAssignment: true, 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), __VERSION__: JSON.stringify(pkg.version), - }) + }), + renameJsToCjs() ], } From 7a20287fe1bcec6d16bf761dce7a22ab71fbc55d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Thu, 29 May 2025 16:29:30 +0200 Subject: [PATCH 14/48] build: provide unbundled cjs by default --- package.json | 12 ++++++------ rollup.config.js | 32 +++++--------------------------- 2 files changed, 11 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index bcb901742f..091f8ba10b 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,11 @@ ".": { "types": "./dist/types/index.d.ts", "import": "./dist/esm/index.js", - "require": "./dist/cjs/index.js" + "require": "./dist/cjs/index.cjs" }, - "./dist/contentful-management.cjs": "./dist/contentful-management.cjs" + "./dist/contentful-management.node.cjs": "./dist/contentful-management.node.cjs" }, - "main": "./dist/esm/index.js", + "main": "./dist/cjs/index.cjs", "types": "dist/types/index.d.ts", "engines": { "node": ">=18" @@ -32,15 +32,15 @@ "license": "MIT", "scripts": { "clean": "rimraf dist", - "build": "npm run clean && npm run build:esm && npm run build:bundles && rm -rf dist/esm-raw", + "build": "npm run clean && npm run build:esm && npm run build:rollup && rm -rf dist/esm-raw", "build:esm": "tsc", - "build:bundles": "NODE_ENV=production rollup -c", + "build:rollup": "NODE_ENV=production rollup -c", "build:docs": "typedoc", "postbuild": "npm run check && npm run test:demo-projects", "check": "npm run check:cjs && npm run check:esm && npm run check:browser && npm run check:browser-min", "check:browser": "es-check es2018 ./dist/contentful-management.browser.js", "check:browser-min": "es-check es2018 ./dist/contentful-management.browser.min.js", - "check:cjs": "es-check es2017 './dist/contentful-management.cjs'", + "check:cjs": "es-check es2017 './dist/**/*.cjs'", "check:esm": "es-check es2017 --module './dist/esm/*.js'", "docs:dev": "npm run build && npm run build:docs", "docs:watch": "nodemon --exec npm run docs:dev -w lib typings", diff --git a/rollup.config.js b/rollup.config.js index a570cb3e5f..af918198a8 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,4 +1,4 @@ -import { resolve, extname, dirname } from 'path'; +import { resolve, dirname } from 'path'; import { fileURLToPath } from 'url' import pkg from './package.json' with { type: 'json' } @@ -15,31 +15,8 @@ import { babel } from '@rollup/plugin-babel' const __dirname = dirname(fileURLToPath(import.meta.url)) -function renameJsToCjs() { - return { - name: 'rename-js-to-cjs', - generateBundle(options, bundle) { - for (const [fileName, file] of Object.entries(bundle)) { - if (file.type === 'chunk' && extname(fileName) === '.js') { - const newFileName = fileName.replace(/\.js$/, '.cjs'); - - // Emit new file with updated name and same code - this.emitFile({ type: 'asset', fileName: newFileName, source: file.code }); - - // Remove old .js entry - delete bundle[fileName]; - } - } - }, - }; -} - const baseConfig = { input: 'dist/esm-raw/index.js', - output: { - file: 'dist/contentful-management.cjs', - format: 'cjs', - }, plugins: [ optimizeLodashImports(), replace({ @@ -80,21 +57,22 @@ const cjsConfig = { dir: 'dist/cjs', format: 'cjs', preserveModules: true, + entryFileNames: '[name].cjs', }, plugins: [ replace({ preventAssignment: true, 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), __VERSION__: JSON.stringify(pkg.version), - }), - renameJsToCjs() + }) ], } const cjsBundleConfig = { ...baseConfig, output: { - ...baseConfig.output, + file: 'dist/contentful-management.node.cjs', + format: 'cjs', }, plugins: [ ...baseConfig.plugins, From 1d6f3c5e3c916da1e92e314c0195032416b64585 Mon Sep 17 00:00:00 2001 From: Lisa White Date: Fri, 30 May 2025 16:44:52 -0600 Subject: [PATCH 15/48] fix: export additional types and remove old file from size-limit [DX-4] (#2647) * build(deps-dev): bump @types/node from 20.17.30 to 20.17.32 (#2628) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.17.30 to 20.17.32. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 20.17.32 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump the dev-dependencies group across 1 directory with 9 updates (#2631) Bumps the dev-dependencies group with 9 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) | `7.27.0` | `7.27.1` | | [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.26.10` | `7.27.1` | | [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) | `7.26.0` | `7.27.1` | | [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.26.9` | `7.27.1` | | [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) | `7.27.0` | `7.27.1` | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.25.1` | `9.26.0` | | [eslint](https://github.com/eslint/eslint) | `9.25.1` | `9.26.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.8.3` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.31.1` | `8.32.0` | Updates `@babel/cli` from 7.27.0 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-cli) Updates `@babel/core` from 7.26.10 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-core) Updates `@babel/node` from 7.26.0 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-node) Updates `@babel/preset-env` from 7.26.9 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-preset-env) Updates `@babel/preset-typescript` from 7.27.0 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-preset-typescript) Updates `@eslint/js` from 9.25.1 to 9.26.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.26.0/packages/js) Updates `eslint` from 9.25.1 to 9.26.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.25.1...v9.26.0) Updates `typescript` from 5.6.3 to 5.8.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.8.3) Updates `typescript-eslint` from 8.31.1 to 8.32.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.32.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@babel/cli" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@babel/core" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@babel/node" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@babel/preset-env" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@babel/preset-typescript" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@eslint/js" dependency-version: 9.26.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: eslint dependency-version: 9.26.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript dependency-version: 5.8.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.32.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump @types/node from 20.17.32 to 20.17.43 (#2634) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.17.32 to 20.17.43. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 20.17.43 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump the dev-dependencies group across 1 directory with 5 updates (#2636) Bumps the dev-dependencies group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) | `7.27.1` | `7.27.2` | | [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.27.1` | `7.27.2` | | [type-fest](https://github.com/sindresorhus/type-fest) | `4.40.1` | `4.41.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.8.3` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.32.0` | `8.32.1` | Updates `@babel/cli` from 7.27.1 to 7.27.2 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.2/packages/babel-cli) Updates `@babel/preset-env` from 7.27.1 to 7.27.2 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.2/packages/babel-preset-env) Updates `type-fest` from 4.40.1 to 4.41.0 - [Release notes](https://github.com/sindresorhus/type-fest/releases) - [Commits](https://github.com/sindresorhus/type-fest/compare/v4.40.1...v4.41.0) Updates `typescript` from 5.6.3 to 5.8.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.8.3) Updates `typescript-eslint` from 8.32.0 to 8.32.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.32.1/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@babel/cli" dependency-version: 7.27.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@babel/preset-env" dependency-version: 7.27.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: type-fest dependency-version: 4.41.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript dependency-version: 5.8.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.32.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump the dev-dependencies group across 1 directory with 6 updates (#2643) Bumps the dev-dependencies group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.27.1` | `7.27.3` | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.26.0` | `9.27.0` | | [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) | `4.17.16` | `4.17.17` | | [eslint](https://github.com/eslint/eslint) | `9.26.0` | `9.27.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.8.3` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.32.1` | `8.33.0` | Updates `@babel/core` from 7.27.1 to 7.27.3 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.3/packages/babel-core) Updates `@eslint/js` from 9.26.0 to 9.27.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.27.0/packages/js) Updates `@types/lodash` from 4.17.16 to 4.17.17 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash) Updates `eslint` from 9.26.0 to 9.27.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.26.0...v9.27.0) Updates `typescript` from 5.6.3 to 5.8.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.8.3) Updates `typescript-eslint` from 8.32.1 to 8.33.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.33.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@babel/core" dependency-version: 7.27.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@eslint/js" dependency-version: 9.27.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@types/lodash" dependency-version: 4.17.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: eslint dependency-version: 9.27.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript dependency-version: 5.8.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.33.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump @types/node from 20.17.43 to 20.17.52 (#2646) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.17.43 to 20.17.52. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 20.17.52 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: remove contentful-management.cjs from size-limit * fix: export additional entity types --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- lib/export-types.ts | 10 +- package-lock.json | 1396 ++++++++++++++++++++++++++----------------- package.json | 4 - 3 files changed, 850 insertions(+), 560 deletions(-) diff --git a/lib/export-types.ts b/lib/export-types.ts index f8115c7330..a06705ce94 100644 --- a/lib/export-types.ts +++ b/lib/export-types.ts @@ -24,6 +24,7 @@ export type { export type { AppActionCall, AppActionCallProps, + AppActionCallResponse, CreateAppActionCallProps, } from './entities/app-action-call' export type { @@ -86,6 +87,7 @@ export type { export type { Comment, CommentProps, + CommentStatus, CreateCommentProps, DeleteCommentParams, GetCommentParentEntityParams, @@ -124,6 +126,7 @@ export type { EntryProps, WithResourceName, EntryMetaSysProps, + EntryReferenceProps, } from './entities/entry' export type { CreateEnvironmentProps, Environment, EnvironmentProps } from './entities/environment' export type { @@ -195,7 +198,7 @@ export type { ReleaseActionSysProps, ReleaseActionTypes, } from './entities/release-action' -export type { CreateRoleProps, Role, RoleProps } from './entities/role' +export type { CreateRoleProps, Role, RoleProps, ActionType, ConstraintType } from './entities/role' export type { ScheduledAction, ScheduledActionProps, @@ -209,7 +212,7 @@ export type { SpaceMembership, SpaceMembershipProps, } from './entities/space-membership' -export type { CreateTagProps, Tag, TagProps, TagVisibility } from './entities/tag' +export type { CreateTagProps, Tag, TagProps, TagVisibility, TagSysProps } from './entities/tag' export type { CreateTaskProps, Task, TaskProps, UpdateTaskProps } from './entities/task' export type { CreateTeamProps, Team, TeamProps } from './entities/team' export type { @@ -238,6 +241,9 @@ export type { WebhookProps, WebhookSigningSecretProps, WebhookTransformation, + WebhookCallDetailsProps, + WebhookCallOverviewProps, + WebhookHealthProps, } from './entities/webhook' export type { CreateWorkflowDefinitionParams, diff --git a/package-lock.json b/package-lock.json index b6cb2b10bf..6771a46ee8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -82,24 +82,55 @@ "node": ">=6.0.0" } }, + "node_modules/@babel/cli": { + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.27.2.tgz", + "integrity": "sha512-cfd7DnGlhH6OIyuPSSj3vcfIdnbXukhAyKY8NaZrFadC7pXyL9mOL5WgjcptiEJLi5k3j8aYvLIVCzezrWTaiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.25", + "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.26.2", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", - "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", + "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", + "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.25.9", + "@babel/helper-validator-identifier": "^7.27.1", "js-tokens": "^4.0.0", - "picocolors": "^1.0.0" + "picocolors": "^1.1.1" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/compat-data": { - "version": "7.26.8", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.8.tgz", - "integrity": "sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==", + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.27.2.tgz", + "integrity": "sha512-TUtMJYRPyUb/9aU8f3K0mjmjf6M9N5Woshn2CS6nqJSeJtTtQcpLUXjGt9vbF8ZGff0El99sWkLgzwW3VXnxZQ==", "dev": true, "license": "MIT", "engines": { @@ -107,22 +138,22 @@ } }, "node_modules/@babel/core": { - "version": "7.26.10", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.10.tgz", - "integrity": "sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==", + "version": "7.27.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.27.3.tgz", + "integrity": "sha512-hyrN8ivxfvJ4i0fIJuV4EOlV0WDMz5Ui4StRTgVaAvWeiRCilXgwVvxJKtFQ3TKtHgJscB2YiXKGNJuVwhQMtA==", "dev": true, "peer": true, "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.26.2", - "@babel/generator": "^7.26.10", - "@babel/helper-compilation-targets": "^7.26.5", - "@babel/helper-module-transforms": "^7.26.0", - "@babel/helpers": "^7.26.10", - "@babel/parser": "^7.26.10", - "@babel/template": "^7.26.9", - "@babel/traverse": "^7.26.10", - "@babel/types": "^7.26.10", + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.27.3", + "@babel/helper-compilation-targets": "^7.27.2", + "@babel/helper-module-transforms": "^7.27.3", + "@babel/helpers": "^7.27.3", + "@babel/parser": "^7.27.3", + "@babel/template": "^7.27.2", + "@babel/traverse": "^7.27.3", + "@babel/types": "^7.27.3", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -138,14 +169,14 @@ } }, "node_modules/@babel/generator": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.27.0.tgz", - "integrity": "sha512-VybsKvpiN1gU1sdMZIp7FcqphVVKEwcuj02x73uvcHE0PTihx1nlBcowYWhDwjpoAXRv43+gDzyggGnn1XZhVw==", + "version": "7.27.3", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.27.3.tgz", + "integrity": "sha512-xnlJYj5zepml8NXtjkG0WquFUv8RskFqyFcVgTBp5k+NaA/8uw/K+OSVf8AMGw5e9HKP2ETd5xpK5MLZQD6b4Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/parser": "^7.27.0", - "@babel/types": "^7.27.0", + "@babel/parser": "^7.27.3", + "@babel/types": "^7.27.3", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^3.0.2" @@ -155,27 +186,27 @@ } }, "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.25.9.tgz", - "integrity": "sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.1.tgz", + "integrity": "sha512-WnuuDILl9oOBbKnb4L+DyODx7iC47XfzmNCpTttFsSp6hTG7XZxu60+4IO+2/hPfcGOoKbFiwoI/+zwARbNQow==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.25.9" + "@babel/types": "^7.27.1" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.26.5", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.26.5.tgz", - "integrity": "sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA==", + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz", + "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.26.5", - "@babel/helper-validator-option": "^7.25.9", + "@babel/compat-data": "^7.27.2", + "@babel/helper-validator-option": "^7.27.1", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" @@ -185,18 +216,18 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.27.0.tgz", - "integrity": "sha512-vSGCvMecvFCd/BdpGlhpXYNhhC4ccxyvQWpbGL4CWbvfEoLFWUZuSuf7s9Aw70flgQF+6vptvgK2IfOnKlRmBg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.27.1.tgz", + "integrity": "sha512-QwGAmuvM17btKU5VqXfb+Giw4JcN0hjuufz3DYnpeVDvZLAObloM77bhMXiqry3Iio+Ai4phVRDwl6WU10+r5A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.25.9", - "@babel/helper-member-expression-to-functions": "^7.25.9", - "@babel/helper-optimise-call-expression": "^7.25.9", - "@babel/helper-replace-supers": "^7.26.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9", - "@babel/traverse": "^7.27.0", + "@babel/helper-annotate-as-pure": "^7.27.1", + "@babel/helper-member-expression-to-functions": "^7.27.1", + "@babel/helper-optimise-call-expression": "^7.27.1", + "@babel/helper-replace-supers": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", + "@babel/traverse": "^7.27.1", "semver": "^6.3.1" }, "engines": { @@ -207,13 +238,13 @@ } }, "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.26.3.tgz", - "integrity": "sha512-G7ZRb40uUgdKOQqPLjfD12ZmGA54PzqDFUv2BKImnC9QIfGhIHKvVML0oN8IUiDq4iRqpq74ABpvOaerfWdong==", + "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==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.25.9", + "@babel/helper-annotate-as-pure": "^7.27.1", "regexpu-core": "^6.2.0", "semver": "^6.3.1" }, @@ -242,43 +273,43 @@ } }, "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.25.9.tgz", - "integrity": "sha512-wbfdZ9w5vk0C0oyHqAJbc62+vet5prjj01jjJ8sKn3j9h3MQQlflEdXYvuqRWjHnM12coDEqiC1IRCi0U/EKwQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.27.1.tgz", + "integrity": "sha512-E5chM8eWjTp/aNoVpcbfM7mLxu9XGLWYise2eBKGQomAk/Mb4XoxyqXTZbuTohbsl8EKqdlMhnDI2CCLfcs9wA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.25.9" + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", - "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz", + "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==", "dev": true, "license": "MIT", "dependencies": { - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.25.9" + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", - "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", + "version": "7.27.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.27.3.tgz", + "integrity": "sha512-dSOvYwvyLsWBeIRyOeHXp5vPj5l1I011r52FM1+r1jCERv+aFXYk4whgQccYEGYxK2H3ZAIA8nuPkQ0HaUo3qg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9", - "@babel/traverse": "^7.25.9" + "@babel/helper-module-imports": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1", + "@babel/traverse": "^7.27.3" }, "engines": { "node": ">=6.9.0" @@ -288,22 +319,22 @@ } }, "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.25.9.tgz", - "integrity": "sha512-FIpuNaz5ow8VyrYcnXQTDRGvV6tTjkNtCK/RYNDXGSLlUD6cBuQTSw43CShGxjvfBTfcUA/r6UhUCbtYqkhcuQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.27.1.tgz", + "integrity": "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.25.9" + "@babel/types": "^7.27.1" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.26.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.26.5.tgz", - "integrity": "sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz", + "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==", "dev": true, "license": "MIT", "engines": { @@ -311,15 +342,15 @@ } }, "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.25.9.tgz", - "integrity": "sha512-IZtukuUeBbhgOcaW2s06OXTzVNJR0ybm4W5xC1opWFFJMZbwRj5LCk+ByYH7WdZPZTt8KnFwA8pvjN2yqcPlgw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.27.1.tgz", + "integrity": "sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.25.9", - "@babel/helper-wrap-function": "^7.25.9", - "@babel/traverse": "^7.25.9" + "@babel/helper-annotate-as-pure": "^7.27.1", + "@babel/helper-wrap-function": "^7.27.1", + "@babel/traverse": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -329,15 +360,15 @@ } }, "node_modules/@babel/helper-replace-supers": { - "version": "7.26.5", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.26.5.tgz", - "integrity": "sha512-bJ6iIVdYX1YooY2X7w1q6VITt+LnUILtNk7zT78ykuwStx8BauCzxvFqFaHjOpW1bVnSUM1PN1f0p5P21wHxvg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.27.1.tgz", + "integrity": "sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-member-expression-to-functions": "^7.25.9", - "@babel/helper-optimise-call-expression": "^7.25.9", - "@babel/traverse": "^7.26.5" + "@babel/helper-member-expression-to-functions": "^7.27.1", + "@babel/helper-optimise-call-expression": "^7.27.1", + "@babel/traverse": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -347,23 +378,23 @@ } }, "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.25.9.tgz", - "integrity": "sha512-K4Du3BFa3gvyhzgPcntrkDgZzQaq6uozzcpGbOO1OEJaI+EJdqWIMTLgFgQf6lrfiDFo5FU+BxKepI9RmZqahA==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.27.1.tgz", + "integrity": "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.25.9" + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", - "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", "dev": true, "license": "MIT", "engines": { @@ -371,18 +402,19 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", - "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", + "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", + "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz", - "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz", + "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==", "dev": true, "license": "MIT", "engines": { @@ -390,42 +422,66 @@ } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.25.9.tgz", - "integrity": "sha512-ETzz9UTjQSTmw39GboatdymDq4XIQbR8ySgVrylRhPOFpsd+JrKHIuF0de7GCWmem+T4uC5z7EZguod7Wj4A4g==", + "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==", "dev": true, "license": "MIT", "dependencies": { - "@babel/template": "^7.25.9", - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.25.9" + "@babel/template": "^7.27.1", + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.26.10", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.10.tgz", - "integrity": "sha512-UPYc3SauzZ3JGgj87GgZ89JVdC5dj0AoetR5Bw6wj4niittNyFh6+eOGonYvJ1ao6B8lEa3Q3klS7ADZ53bc5g==", + "version": "7.27.3", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.3.tgz", + "integrity": "sha512-h/eKy9agOya1IGuLaZ9tEUgz+uIRXcbtOhRtUyyMf8JFmn1iT13vnl/IGVWSkdOCG/pC57U4S1jnAabAavTMwg==", "dev": true, "peer": true, "dependencies": { - "@babel/template": "^7.26.9", - "@babel/types": "^7.26.10" + "@babel/template": "^7.27.2", + "@babel/types": "^7.27.3" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/node": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/node/-/node-7.27.1.tgz", + "integrity": "sha512-ef8ZrhxIku9LrphvyNywpiMf1UJsYQll7S4eKa228ivswPcwmObp98o5h5wL2n9FrSAuo1dsMwJ8cS1LEcBSog==", + "dev": true, + "license": "MIT", + "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.27.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.0.tgz", - "integrity": "sha512-iaepho73/2Pz7w2eMS0Q5f83+0RKI7i4xmiYeBmDzfRVbQtTOG7Ts0S4HzJVsTMGI9keU8rNfuZr8DKfSt7Yyg==", + "version": "7.27.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.3.tgz", + "integrity": "sha512-xyYxRj6+tLNDTWi0KCBcZ9V7yg3/lwL9DWh9Uwh/RIVlIfFidggcgxKX3GCXwCiswwcGRawBKbEg2LG/Y8eJhw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.27.0" + "@babel/types": "^7.27.3" }, "bin": { "parser": "bin/babel-parser.js" @@ -435,14 +491,14 @@ } }, "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.25.9.tgz", - "integrity": "sha512-ZkRyVkThtxQ/J6nv3JFYv1RYY+JT5BvU0y3k5bWrmuG4woXypRa4PXmm9RhOwodRkYFWqC0C0cqcJ4OqR7kW+g==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.27.1.tgz", + "integrity": "sha512-QPG3C9cCVRQLxAVwmefEmwdTanECuUBMQZ/ym5kiw3XKCGA7qkuQLcjWWHcrD/GKbn/WmJwaezfuuAOcyKlRPA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/traverse": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/traverse": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -452,13 +508,13 @@ } }, "node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.25.9.tgz", - "integrity": "sha512-MrGRLZxLD/Zjj0gdU15dfs+HH/OXvnw/U4jJD8vpcP2CJQapPEv1IWwjc/qMg7ItBlPwSv1hRBbb7LeuANdcnw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.27.1.tgz", + "integrity": "sha512-qNeq3bCKnGgLkEXUuFry6dPlGfCdQNZbn7yUAPCInwAJHMU7THJfrBSozkcWq5sNM6RcF3S8XyQL2A52KNR9IA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -468,13 +524,13 @@ } }, "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.25.9.tgz", - "integrity": "sha512-2qUwwfAFpJLZqxd02YW9btUCZHl+RFvdDkNfZwaIJrvB8Tesjsk8pEQkTvGwZXLqXUx/2oyY3ySRhm6HOXuCug==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.27.1.tgz", + "integrity": "sha512-g4L7OYun04N1WyqMNjldFwlfPCLVkgB54A/YCXICZYBsvJJE3kByKv9c9+R/nAfmIfjl2rKYLNyMHboYbZaWaA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -484,15 +540,15 @@ } }, "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.25.9.tgz", - "integrity": "sha512-6xWgLZTJXwilVjlnV7ospI3xi+sl8lN8rXXbBD6vYn3UYDlGsag8wrZkKcSI8G6KgqKP7vNFaDgeDnfAABq61g==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.27.1.tgz", + "integrity": "sha512-oO02gcONcD5O1iTLi/6frMJBIwWEHceWGSGqrpCmEL8nogiS6J9PBlE48CaK20/Jx1LuRml9aDftLgdjXT8+Cw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9", - "@babel/plugin-transform-optional-chaining": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", + "@babel/plugin-transform-optional-chaining": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -502,14 +558,14 @@ } }, "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.25.9.tgz", - "integrity": "sha512-aLnMXYPnzwwqhYSCyXfKkIkYgJ8zv9RK+roo9DkTXz38ynIhd9XCbN08s3MGvqL2MYGVUGdRQLL/JqBIeJhJBg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.27.1.tgz", + "integrity": "sha512-6BpaYGDavZqkI6yT+KSPdpZFfpnd68UKXbcjI9pJ13pvHhPrCKWOOLp+ysvMeA+DxnhuPpgIaRpxRxo5A9t5jw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/traverse": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/traverse": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -532,13 +588,13 @@ } }, "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.26.0.tgz", - "integrity": "sha512-QCWT5Hh830hK5EQa7XzuqIkQU9tT/whqbDz7kuaZMHFl1inRRg7JnuAEOQ0Ur0QUl0NufCk1msK2BeY79Aj/eg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.27.1.tgz", + "integrity": "sha512-UT/Jrhw57xg4ILHLFnzFpPDlMbcdEicaAtjPQpbj9wa8T4r5KVWCimHcL/460g8Ht0DMxDyjsLgiWSkVjnwPFg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -548,13 +604,84 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz", - "integrity": "sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz", + "integrity": "sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==", + "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-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.25.9" + "@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" @@ -581,13 +708,13 @@ } }, "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.25.9.tgz", - "integrity": "sha512-6jmooXYIwn9ca5/RylZADJ+EnSxVUS5sjeJ9UPk6RWRzXCmOJCy6dqItPJFpw2cuCangPK4OYr5uhGKcmrm5Qg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.27.1.tgz", + "integrity": "sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -597,15 +724,15 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.26.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.26.8.tgz", - "integrity": "sha512-He9Ej2X7tNf2zdKMAGOsmg2MrFc+hfoAhd3po4cWfo/NWjzEAKa0oQruj1ROVUdl0e6fb6/kE/G3SSxE0lRJOg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.27.1.tgz", + "integrity": "sha512-eST9RrwlpaoJBDHShc+DS2SG4ATTi2MYNb4OxYkf3n+7eb49LWpnS+HSpVfW4x927qQwgk8A2hGNVaajAEw0EA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.26.5", - "@babel/helper-remap-async-to-generator": "^7.25.9", - "@babel/traverse": "^7.26.8" + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-remap-async-to-generator": "^7.27.1", + "@babel/traverse": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -615,15 +742,15 @@ } }, "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.25.9.tgz", - "integrity": "sha512-NT7Ejn7Z/LjUH0Gv5KsBCxh7BH3fbLTV0ptHvpeMvrt3cPThHfJfst9Wrb7S8EvJ7vRTFI7z+VAvFVEQn/m5zQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.27.1.tgz", + "integrity": "sha512-NREkZsZVJS4xmTr8qzE5y8AfIPqsdQfRuUiLRTEzb7Qii8iFWCyDKaUV2c0rCuh4ljDZ98ALHP/PetiBV2nddA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-remap-async-to-generator": "^7.25.9" + "@babel/helper-module-imports": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-remap-async-to-generator": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -633,13 +760,13 @@ } }, "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.26.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.26.5.tgz", - "integrity": "sha512-chuTSY+hq09+/f5lMj8ZSYgCFpppV2CbYrhNFJ1BFoXpiWPnnAb7R0MqrafCpN8E1+YRrtM1MXZHJdIx8B6rMQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.27.1.tgz", + "integrity": "sha512-cnqkuOtZLapWYZUYM5rVIdv1nXYuFVIltZ6ZJ7nIj585QsjKM5dhL2Fu/lICXZ1OyIAFc7Qy+bvDAtTXqGrlhg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.26.5" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -649,13 +776,13 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.25.9.tgz", - "integrity": "sha512-1F05O7AYjymAtqbsFETboN1NvBdcnzMerO+zlMyJBEz6WkMdejvGWw9p05iTSjC85RLlBseHHQpYaM4gzJkBGg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.27.1.tgz", + "integrity": "sha512-QEcFlMl9nGTgh1rn2nIeU5bkfb9BAjaQcWbiP4LvKxUot52ABcTkpcyJ7f2Q2U2RuQ84BNLgts3jRme2dTx6Fw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -665,14 +792,14 @@ } }, "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.25.9.tgz", - "integrity": "sha512-bbMAII8GRSkcd0h0b4X+36GksxuheLFjP65ul9w6C3KgAamI3JqErNgSrosX6ZPj+Mpim5VvEbawXxJCyEUV3Q==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.27.1.tgz", + "integrity": "sha512-D0VcalChDMtuRvJIu3U/fwWjf8ZMykz5iZsg77Nuj821vCKI3zCyRLwRdWbsuJ/uRwZhZ002QtCqIkwC/ZkvbA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-create-class-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -682,14 +809,14 @@ } }, "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.26.0.tgz", - "integrity": "sha512-6J2APTs7BDDm+UMqP1useWqhcRAXo0WIoVj26N7kPFB6S73Lgvyka4KTZYIxtgYXiN5HTyRObA72N2iu628iTQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.27.1.tgz", + "integrity": "sha512-s734HmYU78MVzZ++joYM+NkJusItbdRcbm+AGRgJCt3iA+yux0QpD9cBVdz3tKyrjVYWRl7j0mHSmv4lhV0aoA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-create-class-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -699,17 +826,17 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.9.tgz", - "integrity": "sha512-mD8APIXmseE7oZvZgGABDyM34GUmK45Um2TXiBUt7PnuAxrgoSVf123qUzPxEr/+/BHrRn5NMZCdE2m/1F8DGg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.27.1.tgz", + "integrity": "sha512-7iLhfFAubmpeJe/Wo2TVuDrykh/zlWXLzPNdL0Jqn/Xu8R3QQ8h9ff8FQoISZOsw74/HFqFI7NX63HN7QFIHKA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.25.9", - "@babel/helper-compilation-targets": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-replace-supers": "^7.25.9", - "@babel/traverse": "^7.25.9", + "@babel/helper-annotate-as-pure": "^7.27.1", + "@babel/helper-compilation-targets": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-replace-supers": "^7.27.1", + "@babel/traverse": "^7.27.1", "globals": "^11.1.0" }, "engines": { @@ -730,14 +857,14 @@ } }, "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.25.9.tgz", - "integrity": "sha512-HnBegGqXZR12xbcTHlJ9HGxw1OniltT26J5YpfruGqtUHlz/xKf/G2ak9e+t0rVqrjXa9WOhvYPz1ERfMj23AA==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.27.1.tgz", + "integrity": "sha512-lj9PGWvMTVksbWiDT2tW68zGS/cyo4AkZ/QTp0sQT0mjPopCmrSkzxeXkznjqBxzDI6TclZhOJbBmbBLjuOZUw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/template": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/template": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -747,13 +874,13 @@ } }, "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.25.9.tgz", - "integrity": "sha512-WkCGb/3ZxXepmMiX101nnGiU+1CAdut8oHyEOHxkKuS1qKpU2SMXE2uSvfz8PBuLd49V6LEsbtyPhWC7fnkgvQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.27.1.tgz", + "integrity": "sha512-ttDCqhfvpE9emVkXbPD8vyxxh4TWYACVybGkDj+oReOGwnp066ITEivDlLwe0b1R0+evJ13IXQuLNB5w1fhC5Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -763,14 +890,14 @@ } }, "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.25.9.tgz", - "integrity": "sha512-t7ZQ7g5trIgSRYhI9pIJtRl64KHotutUJsh4Eze5l7olJv+mRSg4/MmbZ0tv1eeqRbdvo/+trvJD/Oc5DmW2cA==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.27.1.tgz", + "integrity": "sha512-gEbkDVGRvjj7+T1ivxrfgygpT7GUd4vmODtYpbs0gZATdkX8/iSnOtZSxiZnsgm1YjTgjI6VKBGSJJevkrclzw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -780,13 +907,13 @@ } }, "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.25.9.tgz", - "integrity": "sha512-LZxhJ6dvBb/f3x8xwWIuyiAHy56nrRG3PeYTpBkkzkYRRQ6tJLu68lEF5VIqMUZiAV7a8+Tb78nEoMCMcqjXBw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.27.1.tgz", + "integrity": "sha512-MTyJk98sHvSs+cvZ4nOauwTTG1JeonDjSGvGGUNHreGQns+Mpt6WX/dVzWBHgg+dYZhkC4X+zTDfkTU+Vy9y7Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -796,14 +923,14 @@ } }, "node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.25.9.tgz", - "integrity": "sha512-0UfuJS0EsXbRvKnwcLjFtJy/Sxc5J5jhLHnFhy7u4zih97Hz6tJkLU+O+FMMrNZrosUPxDi6sYxJ/EA8jDiAog==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.27.1.tgz", + "integrity": "sha512-hkGcueTEzuhB30B3eJCbCYeCaaEQOmQR0AdvzpD4LoN0GXMWzzGSuRrxR2xTnCrvNbVwK9N6/jQ92GSLfiZWoQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -813,13 +940,13 @@ } }, "node_modules/@babel/plugin-transform-dynamic-import": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.25.9.tgz", - "integrity": "sha512-GCggjexbmSLaFhqsojeugBpeaRIgWNTcgKVq/0qIteFEqY2A+b9QidYadrWlnbWQUrW5fn+mCvf3tr7OeBFTyg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.27.1.tgz", + "integrity": "sha512-MHzkWQcEmjzzVW9j2q8LGjwGWpG2mjwaaB0BNQwst3FIjqsg8Ct/mIZlvSPJvfi9y2AC8mi/ktxbFVL9pZ1I4A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -829,13 +956,13 @@ } }, "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.26.3.tgz", - "integrity": "sha512-7CAHcQ58z2chuXPWblnn1K6rLDnDWieghSOEmqQsrBenH0P9InCUtOJYD89pvngljmZlJcz3fcmgYsXFNGa1ZQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.27.1.tgz", + "integrity": "sha512-uspvXnhHvGKf2r4VVtBpeFnuDWsJLQ6MF6lGJLC89jBR1uoVeqM416AZtTuhTezOfgHicpJQmoD5YUakO/YmXQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -845,13 +972,13 @@ } }, "node_modules/@babel/plugin-transform-export-namespace-from": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.25.9.tgz", - "integrity": "sha512-2NsEz+CxzJIVOPx2o9UsW1rXLqtChtLoVnwYHHiB04wS5sgn7mrV45fWMBX0Kk+ub9uXytVYfNP2HjbVbCB3Ww==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.27.1.tgz", + "integrity": "sha512-tQvHWSZ3/jH2xuq/vZDy0jNn+ZdXJeM8gHvX4lnJmsc3+50yPlWdZXIc5ay+umX+2/tJIqHqiEqcJvxlmIvRvQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -861,14 +988,14 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.26.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.26.9.tgz", - "integrity": "sha512-Hry8AusVm8LW5BVFgiyUReuoGzPUpdHQQqJY5bZnbbf+ngOHWuCuYFKw/BqaaWlvEUrF91HMhDtEaI1hZzNbLg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.27.1.tgz", + "integrity": "sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.26.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -878,15 +1005,15 @@ } }, "node_modules/@babel/plugin-transform-function-name": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.25.9.tgz", - "integrity": "sha512-8lP+Yxjv14Vc5MuWBpJsoUCd3hD6V9DgBon2FVYL4jJgbnVQ9fTgYmonchzZJOVNgzEgbxp4OwAf6xz6M/14XA==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.27.1.tgz", + "integrity": "sha512-1bQeydJF9Nr1eBCMMbC+hdwmRlsv5XYOMu03YSWFwNs0HsAmtSxxF1fyuYPqemVldVyFmlCU7w8UE14LupUSZQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-compilation-targets": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/traverse": "^7.25.9" + "@babel/helper-compilation-targets": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/traverse": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -896,13 +1023,13 @@ } }, "node_modules/@babel/plugin-transform-json-strings": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.25.9.tgz", - "integrity": "sha512-xoTMk0WXceiiIvsaquQQUaLLXSW1KJ159KP87VilruQm0LNNGxWzahxSS6T6i4Zg3ezp4vA4zuwiNUR53qmQAw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.27.1.tgz", + "integrity": "sha512-6WVLVJiTjqcQauBhn1LkICsR2H+zm62I3h9faTDKt1qP4jn2o72tSvqMwtGFKGTpojce0gJs+76eZ2uCHRZh0Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -912,13 +1039,13 @@ } }, "node_modules/@babel/plugin-transform-literals": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.25.9.tgz", - "integrity": "sha512-9N7+2lFziW8W9pBl2TzaNht3+pgMIRP74zizeCSrtnSKVdUl8mAjjOP2OOVQAfZ881P2cNjDj1uAMEdeD50nuQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.27.1.tgz", + "integrity": "sha512-0HCFSepIpLTkLcsi86GG3mTUzxV5jpmbv97hTETW3yzrAij8aqlD36toB1D0daVFJM8NK6GvKO0gslVQmm+zZA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -928,13 +1055,13 @@ } }, "node_modules/@babel/plugin-transform-logical-assignment-operators": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.25.9.tgz", - "integrity": "sha512-wI4wRAzGko551Y8eVf6iOY9EouIDTtPb0ByZx+ktDGHwv6bHFimrgJM/2T021txPZ2s4c7bqvHbd+vXG6K948Q==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.27.1.tgz", + "integrity": "sha512-SJvDs5dXxiae4FbSL1aBJlG4wvl594N6YEVVn9e3JGulwioy6z3oPjx/sQBO3Y4NwUu5HNix6KJ3wBZoewcdbw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -944,13 +1071,13 @@ } }, "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.25.9.tgz", - "integrity": "sha512-PYazBVfofCQkkMzh2P6IdIUaCEWni3iYEerAsRWuVd8+jlM1S9S9cz1dF9hIzyoZ8IA3+OwVYIp9v9e+GbgZhA==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.27.1.tgz", + "integrity": "sha512-hqoBX4dcZ1I33jCSWcXrP+1Ku7kdqXf1oeah7ooKOIiAdKQ+uqftgCFNOSzA5AMS2XIHEYeGFg4cKRCdpxzVOQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -960,14 +1087,14 @@ } }, "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.25.9.tgz", - "integrity": "sha512-g5T11tnI36jVClQlMlt4qKDLlWnG5pP9CSM4GhdRciTNMRgkfpo5cR6b4rGIOYPgRRuFAvwjPQ/Yk+ql4dyhbw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.27.1.tgz", + "integrity": "sha512-iCsytMg/N9/oFq6n+gFTvUYDZQOMK5kEdeYxmxt91fcJGycfxVP9CnrxoliM0oumFERba2i8ZtwRUCMhvP1LnA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-module-transforms": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -977,14 +1104,14 @@ } }, "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.26.3.tgz", - "integrity": "sha512-MgR55l4q9KddUDITEzEFYn5ZsGDXMSsU9E+kh7fjRXTIC3RHqfCo8RPRbyReYJh44HQ/yomFkqbOFohXvDCiIQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.27.1.tgz", + "integrity": "sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.26.0", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-module-transforms": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -994,16 +1121,16 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.25.9.tgz", - "integrity": "sha512-hyss7iIlH/zLHaehT+xwiymtPOpsiwIIRlCAOwBB04ta5Tt+lNItADdlXw3jAWZ96VJ2jlhl/c+PNIQPKNfvcA==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.27.1.tgz", + "integrity": "sha512-w5N1XzsRbc0PQStASMksmUeqECuzKuTJer7kFagK8AXgpCMkeDMO5S+aaFb7A51ZYDF7XI34qsTX+fkHiIm5yA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9", - "@babel/traverse": "^7.25.9" + "@babel/helper-module-transforms": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1", + "@babel/traverse": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1013,14 +1140,14 @@ } }, "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.25.9.tgz", - "integrity": "sha512-bS9MVObUgE7ww36HEfwe6g9WakQ0KF07mQF74uuXdkoziUPfKyu/nIm663kz//e5O1nPInPFx36z7WJmJ4yNEw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.27.1.tgz", + "integrity": "sha512-iQBE/xC5BV1OxJbp6WG7jq9IWiD+xxlZhLrdwpPkTX3ydmXdvoCpyfJN7acaIBZaOqTfr76pgzqBJflNbeRK+w==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-module-transforms": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1030,14 +1157,14 @@ } }, "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.25.9.tgz", - "integrity": "sha512-oqB6WHdKTGl3q/ItQhpLSnWWOpjUJLsOCLVyeFgeTktkBSCiurvPOsyt93gibI9CmuKvTUEtWmG5VhZD+5T/KA==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.27.1.tgz", + "integrity": "sha512-SstR5JYy8ddZvD6MhV0tM/j16Qds4mIpJTOd1Yu9J9pJjH93bxHECF7pgtc28XvkzTD6Pxcm/0Z73Hvk7kb3Ng==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1047,13 +1174,13 @@ } }, "node_modules/@babel/plugin-transform-new-target": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.25.9.tgz", - "integrity": "sha512-U/3p8X1yCSoKyUj2eOBIx3FOn6pElFOKvAAGf8HTtItuPyB+ZeOqfn+mvTtg9ZlOAjsPdK3ayQEjqHjU/yLeVQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.27.1.tgz", + "integrity": "sha512-f6PiYeqXQ05lYq3TIfIDu/MtliKUbNwkGApPUvyo6+tc7uaR4cPjPe7DFPr15Uyycg2lZU6btZ575CuQoYh7MQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1063,13 +1190,13 @@ } }, "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.26.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.26.6.tgz", - "integrity": "sha512-CKW8Vu+uUZneQCPtXmSBUC6NCAUdya26hWCElAWh5mVSlSRsmiCPUUDKb3Z0szng1hiAJa098Hkhg9o4SE35Qw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.27.1.tgz", + "integrity": "sha512-aGZh6xMo6q9vq1JGcw58lZ1Z0+i0xB2x0XaauNIUXd6O1xXc3RwoWEBlsTQrY4KQ9Jf0s5rgD6SiNkaUdJegTA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.26.5" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1079,13 +1206,13 @@ } }, "node_modules/@babel/plugin-transform-numeric-separator": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.25.9.tgz", - "integrity": "sha512-TlprrJ1GBZ3r6s96Yq8gEQv82s8/5HnCVHtEJScUj90thHQbwe+E5MLhi2bbNHBEJuzrvltXSru+BUxHDoog7Q==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.27.1.tgz", + "integrity": "sha512-fdPKAcujuvEChxDBJ5c+0BTaS6revLV7CJL08e4m3de8qJfNIuCc2nc7XJYOjBoTMJeqSmwXJ0ypE14RCjLwaw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1095,15 +1222,16 @@ } }, "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.25.9.tgz", - "integrity": "sha512-fSaXafEE9CVHPweLYw4J0emp1t8zYTXyzN3UuG+lylqkvYd7RMrsOQ8TYx5RF231be0vqtFC6jnx3UmpJmKBYg==", + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.27.2.tgz", + "integrity": "sha512-AIUHD7xJ1mCrj3uPozvtngY3s0xpv7Nu7DoUSnzNY6Xam1Cy4rUznR//pvMHOhQ4AvbCexhbqXCtpxGHOGOO6g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-compilation-targets": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/plugin-transform-parameters": "^7.25.9" + "@babel/helper-compilation-targets": "^7.27.2", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/plugin-transform-destructuring": "^7.27.1", + "@babel/plugin-transform-parameters": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1113,14 +1241,14 @@ } }, "node_modules/@babel/plugin-transform-object-super": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.25.9.tgz", - "integrity": "sha512-Kj/Gh+Rw2RNLbCK1VAWj2U48yxxqL2x0k10nPtSdRa0O2xnHXalD0s+o1A6a0W43gJ00ANo38jxkQreckOzv5A==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.27.1.tgz", + "integrity": "sha512-SFy8S9plRPbIcxlJ8A6mT/CxFdJx/c04JEctz4jf8YZaVS2px34j7NXRrlGlHkN/M2gnpL37ZpGRGVFLd3l8Ng==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-replace-supers": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-replace-supers": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1130,13 +1258,13 @@ } }, "node_modules/@babel/plugin-transform-optional-catch-binding": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.25.9.tgz", - "integrity": "sha512-qM/6m6hQZzDcZF3onzIhZeDHDO43bkNNlOX0i8n3lR6zLbu0GN2d8qfM/IERJZYauhAHSLHy39NF0Ctdvcid7g==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.27.1.tgz", + "integrity": "sha512-txEAEKzYrHEX4xSZN4kJ+OfKXFVSWKB2ZxM9dpcE3wT7smwkNmXo5ORRlVzMVdJbD+Q8ILTgSD7959uj+3Dm3Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1146,14 +1274,14 @@ } }, "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.25.9.tgz", - "integrity": "sha512-6AvV0FsLULbpnXeBjrY4dmWF8F7gf8QnvTEoO/wX/5xm/xE1Xo8oPuD3MPS+KS9f9XBEAWN7X1aWr4z9HdOr7A==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.27.1.tgz", + "integrity": "sha512-BQmKPPIuc8EkZgNKsv0X4bPmOoayeu4F1YCwx2/CfmDSXDbp7GnzlUH+/ul5VGfRg1AoFPsrIThlEBj2xb4CAg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1163,13 +1291,13 @@ } }, "node_modules/@babel/plugin-transform-parameters": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.25.9.tgz", - "integrity": "sha512-wzz6MKwpnshBAiRmn4jR8LYz/g8Ksg0o80XmwZDlordjwEk9SxBzTWC7F5ef1jhbrbOW2DJ5J6ayRukrJmnr0g==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.27.1.tgz", + "integrity": "sha512-018KRk76HWKeZ5l4oTj2zPpSh+NbGdt0st5S6x0pga6HgrjBOJb24mMDHorFopOOd6YHkLgOZ+zaCjZGPO4aKg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1179,14 +1307,14 @@ } }, "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.25.9.tgz", - "integrity": "sha512-D/JUozNpQLAPUVusvqMxyvjzllRaF8/nSrP1s2YGQT/W4LHK4xxsMcHjhOGTS01mp9Hda8nswb+FblLdJornQw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.27.1.tgz", + "integrity": "sha512-10FVt+X55AjRAYI9BrdISN9/AQWHqldOeZDUoLyif1Kn05a56xVBXb8ZouL8pZ9jem8QpXaOt8TS7RHUIS+GPA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-create-class-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1196,15 +1324,15 @@ } }, "node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.25.9.tgz", - "integrity": "sha512-Evf3kcMqzXA3xfYJmZ9Pg1OvKdtqsDMSWBDzZOPLvHiTt36E75jLDQo5w1gtRU95Q4E5PDttrTf25Fw8d/uWLw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.27.1.tgz", + "integrity": "sha512-5J+IhqTi1XPa0DXF83jYOaARrX+41gOewWbkPyjMNRDqgOCqdffGh8L3f/Ek5utaEBZExjSAzcyjmV9SSAWObQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.25.9", - "@babel/helper-create-class-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-annotate-as-pure": "^7.27.1", + "@babel/helper-create-class-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1214,13 +1342,13 @@ } }, "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.25.9.tgz", - "integrity": "sha512-IvIUeV5KrS/VPavfSM/Iu+RE6llrHrYIKY1yfCzyO/lMXHQ+p7uGhonmGVisv6tSBSVgWzMBohTcvkC9vQcQFA==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.27.1.tgz", + "integrity": "sha512-oThy3BCuCha8kDZ8ZkgOg2exvPYUlprMukKQXI1r1pJ47NCvxfkEy8vK+r/hT9nF0Aa4H1WUPZZjHTFtAhGfmQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1230,14 +1358,13 @@ } }, "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.25.9.tgz", - "integrity": "sha512-vwDcDNsgMPDGP0nMqzahDWE5/MLcX8sv96+wfX7as7LoF/kr97Bo/7fI00lXY4wUXYfVmwIIyG80fGZ1uvt2qg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.27.1.tgz", + "integrity": "sha512-B19lbbL7PMrKr52BNPjCqg1IyNUIjTcxKj8uX9zHO+PmWN93s19NDr/f69mIkEp2x9nmDJ08a7lgHaTTzvW7mw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "regenerator-transform": "^0.15.2" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1247,14 +1374,14 @@ } }, "node_modules/@babel/plugin-transform-regexp-modifiers": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.26.0.tgz", - "integrity": "sha512-vN6saax7lrA2yA/Pak3sCxuD6F5InBjn9IcrIKQPjpsLvuHYLVroTxjdlVRHjjBWxKOqIwpTXDkOssYT4BFdRw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.27.1.tgz", + "integrity": "sha512-TtEciroaiODtXvLZv4rmfMhkCv8jx3wgKpL68PuiPh2M4fvz5jhsA7697N1gMvkvr/JTF13DrFYyEbY9U7cVPA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1264,13 +1391,13 @@ } }, "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.25.9.tgz", - "integrity": "sha512-7DL7DKYjn5Su++4RXu8puKZm2XBPHyjWLUidaPEkCUBbE7IPcsrkRHggAOOKydH1dASWdcUBxrkOGNxUv5P3Jg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.27.1.tgz", + "integrity": "sha512-V2ABPHIJX4kC7HegLkYoDpfg9PVmuWy/i6vUM5eGK22bx4YVFD3M5F0QQnWQoDs6AGsUWTVOopBiMFQgHaSkVw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1314,13 +1441,13 @@ } }, "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.25.9.tgz", - "integrity": "sha512-MUv6t0FhO5qHnS/W8XCbHmiRWOphNufpE1IVxhK5kuN3Td9FT1x4rx4K42s3RYdMXCXpfWkGSbCSd0Z64xA7Ng==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.27.1.tgz", + "integrity": "sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1330,14 +1457,14 @@ } }, "node_modules/@babel/plugin-transform-spread": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.25.9.tgz", - "integrity": "sha512-oNknIB0TbURU5pqJFVbOOFspVlrpVwo2H1+HUIsVDvp5VauGGDP1ZEvO8Nn5xyMEs3dakajOxlmkNW7kNgSm6A==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.27.1.tgz", + "integrity": "sha512-kpb3HUqaILBJcRFVhFUs6Trdd4mkrzcGXss+6/mxUd273PfbWqSDHRzMT2234gIg2QYfAjvXLSquP1xECSg09Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1347,13 +1474,13 @@ } }, "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.25.9.tgz", - "integrity": "sha512-WqBUSgeVwucYDP9U/xNRQam7xV8W5Zf+6Eo7T2SRVUFlhRiMNFdFz58u0KZmCVVqs2i7SHgpRnAhzRNmKfi2uA==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.27.1.tgz", + "integrity": "sha512-lhInBO5bi/Kowe2/aLdBAawijx+q1pQzicSgnkB6dUPc1+RC8QmJHKf2OjvU+NZWitguJHEaEmbV6VWEouT58g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1363,13 +1490,13 @@ } }, "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.26.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.26.8.tgz", - "integrity": "sha512-OmGDL5/J0CJPJZTHZbi2XpO0tyT2Ia7fzpW5GURwdtp2X3fMmN8au/ej6peC/T33/+CRiIpA8Krse8hFGVmT5Q==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.27.1.tgz", + "integrity": "sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.26.5" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1379,13 +1506,33 @@ } }, "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.26.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.26.7.tgz", - "integrity": "sha512-jfoTXXZTgGg36BmhqT3cAYK5qkmqvJpvNrPhaK/52Vgjhw4Rq29s9UqpWWV0D6yuRmgiFH/BUVlkl96zJWqnaw==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.27.1.tgz", + "integrity": "sha512-RiSILC+nRJM7FY5srIyc4/fGIwUhyDuuBSdWn4y6yT6gm652DpCHZjIipgn6B7MQ1ITOUnAKWixEUjQRIBIcLw==", + "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-transform-typescript": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.27.1.tgz", + "integrity": "sha512-Q5sT5+O4QUebHdbwKedFBEwRLb02zJ7r4A5Gg2hUoLuU3FjdMcyqcywqUrLCaDsFCxzokf7u9kuy7qz51YUuAg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.26.5" + "@babel/helper-annotate-as-pure": "^7.27.1", + "@babel/helper-create-class-features-plugin": "^7.27.1", + "@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" @@ -1395,13 +1542,13 @@ } }, "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.25.9.tgz", - "integrity": "sha512-s5EDrE6bW97LtxOcGj1Khcx5AaXwiMmi4toFWRDP9/y0Woo6pXC+iyPu/KuhKtfSrNFd7jJB+/fkOtZy6aIC6Q==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.27.1.tgz", + "integrity": "sha512-Ysg4v6AmF26k9vpfFuTZg8HRfVWzsh1kVfowA23y9j/Gu6dOuahdUVhkLqpObp3JIv27MLSii6noRnuKN8H0Mg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1411,14 +1558,14 @@ } }, "node_modules/@babel/plugin-transform-unicode-property-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.25.9.tgz", - "integrity": "sha512-Jt2d8Ga+QwRluxRQ307Vlxa6dMrYEMZCgGxoPR8V52rxPyldHu3hdlHspxaqYmE7oID5+kB+UKUB/eWS+DkkWg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.27.1.tgz", + "integrity": "sha512-uW20S39PnaTImxp39O5qFlHLS9LJEmANjMG7SxIhap8rCHqu0Ik+tLEPX5DKmHn6CsWQ7j3lix2tFOa5YtL12Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1428,14 +1575,14 @@ } }, "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.25.9.tgz", - "integrity": "sha512-yoxstj7Rg9dlNn9UQxzk4fcNivwv4nUYz7fYXBaKxvw/lnmPuOm/ikoELygbYq68Bls3D/D+NBPHiLwZdZZ4HA==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.27.1.tgz", + "integrity": "sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1445,14 +1592,14 @@ } }, "node_modules/@babel/plugin-transform-unicode-sets-regex": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.25.9.tgz", - "integrity": "sha512-8BYqO3GeVNHtx69fdPshN3fnzUNLrWdHhk/icSwigksJGczKSizZ+Z6SBCxTs723Fr5VSNorTIK7a+R2tISvwQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.27.1.tgz", + "integrity": "sha512-EtkOujbc4cgvb0mlpQefi4NTPBzhSIevblFevACNLUspmrALgmEBdL/XfnyyITfd8fKBZrZys92zOWcik7j9Tw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.9", - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -1462,75 +1609,75 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.26.9", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.26.9.tgz", - "integrity": "sha512-vX3qPGE8sEKEAZCWk05k3cpTAE3/nOYca++JA+Rd0z2NCNzabmYvEiSShKzm10zdquOIAVXsy2Ei/DTW34KlKQ==", + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.27.2.tgz", + "integrity": "sha512-Ma4zSuYSlGNRlCLO+EAzLnCmJK2vdstgv+n7aUP+/IKZrOfWHOJVdSJtuub8RzHTj3ahD37k5OKJWvzf16TQyQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.26.8", - "@babel/helper-compilation-targets": "^7.26.5", - "@babel/helper-plugin-utils": "^7.26.5", - "@babel/helper-validator-option": "^7.25.9", - "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.25.9", - "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.25.9", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.25.9", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.25.9", - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.25.9", + "@babel/compat-data": "^7.27.2", + "@babel/helper-compilation-targets": "^7.27.2", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-validator-option": "^7.27.1", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.27.1", + "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.27.1", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.27.1", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.27.1", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.27.1", "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", - "@babel/plugin-syntax-import-assertions": "^7.26.0", - "@babel/plugin-syntax-import-attributes": "^7.26.0", + "@babel/plugin-syntax-import-assertions": "^7.27.1", + "@babel/plugin-syntax-import-attributes": "^7.27.1", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", - "@babel/plugin-transform-arrow-functions": "^7.25.9", - "@babel/plugin-transform-async-generator-functions": "^7.26.8", - "@babel/plugin-transform-async-to-generator": "^7.25.9", - "@babel/plugin-transform-block-scoped-functions": "^7.26.5", - "@babel/plugin-transform-block-scoping": "^7.25.9", - "@babel/plugin-transform-class-properties": "^7.25.9", - "@babel/plugin-transform-class-static-block": "^7.26.0", - "@babel/plugin-transform-classes": "^7.25.9", - "@babel/plugin-transform-computed-properties": "^7.25.9", - "@babel/plugin-transform-destructuring": "^7.25.9", - "@babel/plugin-transform-dotall-regex": "^7.25.9", - "@babel/plugin-transform-duplicate-keys": "^7.25.9", - "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.25.9", - "@babel/plugin-transform-dynamic-import": "^7.25.9", - "@babel/plugin-transform-exponentiation-operator": "^7.26.3", - "@babel/plugin-transform-export-namespace-from": "^7.25.9", - "@babel/plugin-transform-for-of": "^7.26.9", - "@babel/plugin-transform-function-name": "^7.25.9", - "@babel/plugin-transform-json-strings": "^7.25.9", - "@babel/plugin-transform-literals": "^7.25.9", - "@babel/plugin-transform-logical-assignment-operators": "^7.25.9", - "@babel/plugin-transform-member-expression-literals": "^7.25.9", - "@babel/plugin-transform-modules-amd": "^7.25.9", - "@babel/plugin-transform-modules-commonjs": "^7.26.3", - "@babel/plugin-transform-modules-systemjs": "^7.25.9", - "@babel/plugin-transform-modules-umd": "^7.25.9", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.25.9", - "@babel/plugin-transform-new-target": "^7.25.9", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.26.6", - "@babel/plugin-transform-numeric-separator": "^7.25.9", - "@babel/plugin-transform-object-rest-spread": "^7.25.9", - "@babel/plugin-transform-object-super": "^7.25.9", - "@babel/plugin-transform-optional-catch-binding": "^7.25.9", - "@babel/plugin-transform-optional-chaining": "^7.25.9", - "@babel/plugin-transform-parameters": "^7.25.9", - "@babel/plugin-transform-private-methods": "^7.25.9", - "@babel/plugin-transform-private-property-in-object": "^7.25.9", - "@babel/plugin-transform-property-literals": "^7.25.9", - "@babel/plugin-transform-regenerator": "^7.25.9", - "@babel/plugin-transform-regexp-modifiers": "^7.26.0", - "@babel/plugin-transform-reserved-words": "^7.25.9", - "@babel/plugin-transform-shorthand-properties": "^7.25.9", - "@babel/plugin-transform-spread": "^7.25.9", - "@babel/plugin-transform-sticky-regex": "^7.25.9", - "@babel/plugin-transform-template-literals": "^7.26.8", - "@babel/plugin-transform-typeof-symbol": "^7.26.7", - "@babel/plugin-transform-unicode-escapes": "^7.25.9", - "@babel/plugin-transform-unicode-property-regex": "^7.25.9", - "@babel/plugin-transform-unicode-regex": "^7.25.9", - "@babel/plugin-transform-unicode-sets-regex": "^7.25.9", + "@babel/plugin-transform-arrow-functions": "^7.27.1", + "@babel/plugin-transform-async-generator-functions": "^7.27.1", + "@babel/plugin-transform-async-to-generator": "^7.27.1", + "@babel/plugin-transform-block-scoped-functions": "^7.27.1", + "@babel/plugin-transform-block-scoping": "^7.27.1", + "@babel/plugin-transform-class-properties": "^7.27.1", + "@babel/plugin-transform-class-static-block": "^7.27.1", + "@babel/plugin-transform-classes": "^7.27.1", + "@babel/plugin-transform-computed-properties": "^7.27.1", + "@babel/plugin-transform-destructuring": "^7.27.1", + "@babel/plugin-transform-dotall-regex": "^7.27.1", + "@babel/plugin-transform-duplicate-keys": "^7.27.1", + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.27.1", + "@babel/plugin-transform-dynamic-import": "^7.27.1", + "@babel/plugin-transform-exponentiation-operator": "^7.27.1", + "@babel/plugin-transform-export-namespace-from": "^7.27.1", + "@babel/plugin-transform-for-of": "^7.27.1", + "@babel/plugin-transform-function-name": "^7.27.1", + "@babel/plugin-transform-json-strings": "^7.27.1", + "@babel/plugin-transform-literals": "^7.27.1", + "@babel/plugin-transform-logical-assignment-operators": "^7.27.1", + "@babel/plugin-transform-member-expression-literals": "^7.27.1", + "@babel/plugin-transform-modules-amd": "^7.27.1", + "@babel/plugin-transform-modules-commonjs": "^7.27.1", + "@babel/plugin-transform-modules-systemjs": "^7.27.1", + "@babel/plugin-transform-modules-umd": "^7.27.1", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.27.1", + "@babel/plugin-transform-new-target": "^7.27.1", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1", + "@babel/plugin-transform-numeric-separator": "^7.27.1", + "@babel/plugin-transform-object-rest-spread": "^7.27.2", + "@babel/plugin-transform-object-super": "^7.27.1", + "@babel/plugin-transform-optional-catch-binding": "^7.27.1", + "@babel/plugin-transform-optional-chaining": "^7.27.1", + "@babel/plugin-transform-parameters": "^7.27.1", + "@babel/plugin-transform-private-methods": "^7.27.1", + "@babel/plugin-transform-private-property-in-object": "^7.27.1", + "@babel/plugin-transform-property-literals": "^7.27.1", + "@babel/plugin-transform-regenerator": "^7.27.1", + "@babel/plugin-transform-regexp-modifiers": "^7.27.1", + "@babel/plugin-transform-reserved-words": "^7.27.1", + "@babel/plugin-transform-shorthand-properties": "^7.27.1", + "@babel/plugin-transform-spread": "^7.27.1", + "@babel/plugin-transform-sticky-regex": "^7.27.1", + "@babel/plugin-transform-template-literals": "^7.27.1", + "@babel/plugin-transform-typeof-symbol": "^7.27.1", + "@babel/plugin-transform-unicode-escapes": "^7.27.1", + "@babel/plugin-transform-unicode-property-regex": "^7.27.1", + "@babel/plugin-transform-unicode-regex": "^7.27.1", + "@babel/plugin-transform-unicode-sets-regex": "^7.27.1", "@babel/preset-modules": "0.1.6-no-external-plugins", "babel-plugin-polyfill-corejs2": "^0.4.10", "babel-plugin-polyfill-corejs3": "^0.11.0", @@ -1560,6 +1707,46 @@ "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" } }, + "node_modules/@babel/preset-typescript": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.27.1.tgz", + "integrity": "sha512-l7WfQfX0WK4M0v2RudjuQK4u99BS6yLHYEmdtVPP7lKV013zr9DygFuWNlnbvQ9LR+LS0Egz/XAvGx5U9MX0fQ==", + "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.27.1" + }, + "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", @@ -1574,32 +1761,32 @@ } }, "node_modules/@babel/template": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.0.tgz", - "integrity": "sha512-2ncevenBqXI6qRMukPlXwHKHchC7RyMuu4xv5JBXRfOGVcTy1mXCD12qrp7Jsoxll1EV3+9sE4GugBVRjT2jFA==", + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz", + "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.26.2", - "@babel/parser": "^7.27.0", - "@babel/types": "^7.27.0" + "@babel/code-frame": "^7.27.1", + "@babel/parser": "^7.27.2", + "@babel/types": "^7.27.1" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.27.0.tgz", - "integrity": "sha512-19lYZFzYVQkkHkl4Cy4WrAVcqBkgvV2YM2TU3xG6DIwO7O3ecbDPfW3yM3bjAGcqcQHi+CCtjMR3dIEHxsd6bA==", + "version": "7.27.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.27.3.tgz", + "integrity": "sha512-lId/IfN/Ye1CIu8xG7oKBHXd2iNb2aW1ilPszzGcJug6M8RCKfVNcYhpI5+bMvFYjK7lXIM0R+a+6r8xhHp2FQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.26.2", - "@babel/generator": "^7.27.0", - "@babel/parser": "^7.27.0", - "@babel/template": "^7.27.0", - "@babel/types": "^7.27.0", + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.27.3", + "@babel/parser": "^7.27.3", + "@babel/template": "^7.27.2", + "@babel/types": "^7.27.3", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -1618,14 +1805,14 @@ } }, "node_modules/@babel/types": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.27.0.tgz", - "integrity": "sha512-H45s8fVLYjbhFH62dIJ3WtmJ6RSPt/3DRO0ZcT2SUiYiQyz3BLVb9ADEnLl91m74aQPS3AzzeajZHYOalWe3bg==", + "version": "7.27.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.27.3.tgz", + "integrity": "sha512-Y1GkI4ktrtvmawoSq+4FCVHNryea6uR+qUQy0AGxLSsjCX0nVmkYQMBLHDkXZuo5hGx7eYdnIaslsdBFm7zbUw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9" + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1" }, "engines": { "node": ">=6.9.0" @@ -2218,9 +2405,9 @@ } }, "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz", - "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", + "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==", "dev": true, "license": "MIT", "dependencies": { @@ -2285,9 +2472,9 @@ } }, "node_modules/@eslint/core": { - "version": "0.13.0", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.13.0.tgz", - "integrity": "sha512-yfkgDw1KR66rkT5A8ci4irzDysN7FRpq3ttJolR88OqQikAWqwA8j5VZyas+vjyBNFIJ7MfybJ9plMILI2UrCw==", + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.14.0.tgz", + "integrity": "sha512-qIbV0/JZr7iSDjqAc60IqbLdsj9GDt16xQtWD+B78d/HAlvysGdZZ6rpJHGAc2T0FQx1X6thsSPdnoiGKdNtdg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -2359,13 +2546,16 @@ "license": "MIT" }, "node_modules/@eslint/js": { - "version": "9.25.1", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.25.1.tgz", - "integrity": "sha512-dEIwmjntEx8u3Uvv+kr3PDeeArL8Hw07H9kyYxCjnM9pBjfEhk6uLXSchxxzgiwtRhhzVzqmUSDFBOi1TuZ7qg==", + "version": "9.27.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.27.0.tgz", + "integrity": "sha512-G5JD9Tu5HJEu4z2Uo4aHY2sLV64B7CDMXxFzqzjl3NKd6RVzSXNoE80jk7Y0lJkTTkjiIhBAqmlYwjuBY3tvpA==", "dev": true, "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" } }, "node_modules/@eslint/object-schema": { @@ -2379,13 +2569,13 @@ } }, "node_modules/@eslint/plugin-kit": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.8.tgz", - "integrity": "sha512-ZAoA40rNMPwSm+AeHpCq8STiNAwzWLJuP8Xv4CHIc9wv/PSuExjMrmjfYNj682vW0OOiZ1HKxzvjQr9XZIisQA==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.1.tgz", + "integrity": "sha512-0J+zgWxHN+xXONWIyPWKFMgVuJoZuGiIFu8yxk7RJjxkzpGmyja5wRFqZIVtjDVOQpV+Rw0iOAjYPE2eQyjr0w==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@eslint/core": "^0.13.0", + "@eslint/core": "^0.14.0", "levn": "^0.4.1" }, "engines": { @@ -4151,17 +4341,17 @@ "license": "MIT" }, "node_modules/@types/lodash": { - "version": "4.17.16", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.16.tgz", - "integrity": "sha512-HX7Em5NYQAXKW+1T+FiuG27NGwzJfCX3s1GjOa7ujxZa52kjJLOr4FUxT+giF6Tgxv1e+/czV/iTtBw27WTU9g==", + "version": "4.17.17", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.17.tgz", + "integrity": "sha512-RRVJ+J3J+WmyOTqnz3PiBLA501eKwXl2noseKOrNo/6+XEHjTAxO4xHvxQB6QuNm+s4WRbn6rSiap8+EA+ykFQ==", "dev": true, "license": "MIT" }, "node_modules/@types/node": { - "version": "20.17.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.6.tgz", - "integrity": "sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==", - "devOptional": true, + "version": "20.17.52", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.52.tgz", + "integrity": "sha512-2aj++KfxubvW/Lc0YyXE3OEW7Es8TWn1MsRzYgcOGyTNQxi0L8rxQUCZ7ZbyOBWZQD5I63PV9egZWMsapVaklg==", + "dev": true, "license": "MIT", "dependencies": { "undici-types": "~6.19.2" @@ -4218,21 +4408,21 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.31.1.tgz", - "integrity": "sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==", + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.33.0.tgz", + "integrity": "sha512-CACyQuqSHt7ma3Ns601xykeBK/rDeZa3w6IS6UtMQbixO5DWy+8TilKkviGDH6jtWCo8FGRKEK5cLLkPvEammQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.31.1", - "@typescript-eslint/type-utils": "8.31.1", - "@typescript-eslint/utils": "8.31.1", - "@typescript-eslint/visitor-keys": "8.31.1", + "@typescript-eslint/scope-manager": "8.33.0", + "@typescript-eslint/type-utils": "8.33.0", + "@typescript-eslint/utils": "8.33.0", + "@typescript-eslint/visitor-keys": "8.33.0", "graphemer": "^1.4.0", - "ignore": "^5.3.1", + "ignore": "^7.0.0", "natural-compare": "^1.4.0", - "ts-api-utils": "^2.0.1" + "ts-api-utils": "^2.1.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4242,22 +4432,32 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "@typescript-eslint/parser": "^8.33.0", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.4.tgz", + "integrity": "sha512-gJzzk+PQNznz8ysRrC0aOkBNVRBDtE1n53IqyqEf3PXrYwomFs5q4pGMizBMJF+ykh03insJ27hB8gSrD2Hn8A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, "node_modules/@typescript-eslint/parser": { - "version": "8.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.31.1.tgz", - "integrity": "sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==", + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.33.0.tgz", + "integrity": "sha512-JaehZvf6m0yqYp34+RVnihBAChkqeH+tqqhS0GuX1qgPpwLvmTPheKEs6OeCK6hVJgXZHJ2vbjnC9j119auStQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.31.1", - "@typescript-eslint/types": "8.31.1", - "@typescript-eslint/typescript-estree": "8.31.1", - "@typescript-eslint/visitor-keys": "8.31.1", + "@typescript-eslint/scope-manager": "8.33.0", + "@typescript-eslint/types": "8.33.0", + "@typescript-eslint/typescript-estree": "8.33.0", + "@typescript-eslint/visitor-keys": "8.33.0", "debug": "^4.3.4" }, "engines": { @@ -4272,15 +4472,34 @@ "typescript": ">=4.8.4 <5.9.0" } }, + "node_modules/@typescript-eslint/project-service": { + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.33.0.tgz", + "integrity": "sha512-d1hz0u9l6N+u/gcrk6s6gYdl7/+pp8yHheRTqP6X5hVDKALEaTn8WfGiit7G511yueBEL3OpOEpD+3/MBdoN+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/tsconfig-utils": "^8.33.0", + "@typescript-eslint/types": "^8.33.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.31.1.tgz", - "integrity": "sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==", + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.33.0.tgz", + "integrity": "sha512-LMi/oqrzpqxyO72ltP+dBSP6V0xiUb4saY7WLtxSfiNEBI8m321LLVFU9/QDJxjDQG9/tjSqKz/E3380TEqSTw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.31.1", - "@typescript-eslint/visitor-keys": "8.31.1" + "@typescript-eslint/types": "8.33.0", + "@typescript-eslint/visitor-keys": "8.33.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4290,17 +4509,34 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.33.0.tgz", + "integrity": "sha512-sTkETlbqhEoiFmGr1gsdq5HyVbSOF0145SYDJ/EQmXHtKViCaGvnyLqWFFHtEXoS0J1yU8Wyou2UGmgW88fEug==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <5.9.0" + } + }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.31.1.tgz", - "integrity": "sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==", + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.33.0.tgz", + "integrity": "sha512-lScnHNCBqL1QayuSrWeqAL5GmqNdVUQAAMTaCwdYEdWfIrSrOGzyLGRCHXcCixa5NK6i5l0AfSO2oBSjCjf4XQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.31.1", - "@typescript-eslint/utils": "8.31.1", + "@typescript-eslint/typescript-estree": "8.33.0", + "@typescript-eslint/utils": "8.33.0", "debug": "^4.3.4", - "ts-api-utils": "^2.0.1" + "ts-api-utils": "^2.1.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4315,9 +4551,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.31.1.tgz", - "integrity": "sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==", + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.33.0.tgz", + "integrity": "sha512-DKuXOKpM5IDT1FA2g9x9x1Ug81YuKrzf4mYX8FAVSNu5Wo/LELHWQyM1pQaDkI42bX15PWl0vNPt1uGiIFUOpg==", "dev": true, "license": "MIT", "engines": { @@ -4329,20 +4565,22 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.31.1.tgz", - "integrity": "sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==", + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.33.0.tgz", + "integrity": "sha512-vegY4FQoB6jL97Tu/lWRsAiUUp8qJTqzAmENH2k59SJhw0Th1oszb9Idq/FyyONLuNqT1OADJPXfyUNOR8SzAQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.31.1", - "@typescript-eslint/visitor-keys": "8.31.1", + "@typescript-eslint/project-service": "8.33.0", + "@typescript-eslint/tsconfig-utils": "8.33.0", + "@typescript-eslint/types": "8.33.0", + "@typescript-eslint/visitor-keys": "8.33.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.1.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4382,9 +4620,9 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", - "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", "dev": true, "license": "ISC", "bin": { @@ -4408,16 +4646,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.31.1.tgz", - "integrity": "sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==", + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.33.0.tgz", + "integrity": "sha512-lPFuQaLA9aSNa7D5u2EpRiqdAUhzShwGg/nhpBlc4GR6kcTABttCuyjFs8BcEZ8VWrjCBof/bePhP3Q3fS+Yrw==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.31.1", - "@typescript-eslint/types": "8.31.1", - "@typescript-eslint/typescript-estree": "8.31.1" + "@eslint-community/eslint-utils": "^4.7.0", + "@typescript-eslint/scope-manager": "8.33.0", + "@typescript-eslint/types": "8.33.0", + "@typescript-eslint/typescript-estree": "8.33.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4432,13 +4670,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.31.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.31.1.tgz", - "integrity": "sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==", + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.33.0.tgz", + "integrity": "sha512-7RW7CMYoskiz5OOGAWjJFxgb7c5UNjTG292gYhWeOAcFmYCtVCSqjqSBj5zMhxbXo2JOW95YYrUWJfU0zrpaGQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.31.1", + "@typescript-eslint/types": "8.33.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -7012,9 +7250,9 @@ } }, "node_modules/eslint": { - "version": "9.25.1", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.25.1.tgz", - "integrity": "sha512-E6Mtz9oGQWDCpV12319d59n4tx9zOTXSTmc8BLVxBx+G/0RdM5MvEEJLU9c0+aleoePYYgVTOsRblx433qmhWQ==", + "version": "9.27.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.27.0.tgz", + "integrity": "sha512-ixRawFQuMB9DZ7fjU3iGGganFDp3+45bPOdaRurcFHSXO1e/sYwUX/FtQZpLZJR6SjMoJH8hR2pPEAfDyCoU2Q==", "dev": true, "license": "MIT", "dependencies": { @@ -7022,10 +7260,10 @@ "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.20.0", "@eslint/config-helpers": "^0.2.1", - "@eslint/core": "^0.13.0", + "@eslint/core": "^0.14.0", "@eslint/eslintrc": "^3.3.1", - "@eslint/js": "9.25.1", - "@eslint/plugin-kit": "^0.2.8", + "@eslint/js": "9.27.0", + "@eslint/plugin-kit": "^0.3.1", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", @@ -13549,7 +13787,17 @@ "dev": true, "license": "MIT", "engines": { - "node": ">=4" + "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_modules/pkg-conf": { @@ -14205,14 +14453,53 @@ "dev": true, "license": "MIT" }, - "node_modules/regenerator-transform": { - "version": "0.15.2", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.2.tgz", - "integrity": "sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==", + "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": { - "@babel/runtime": "^7.8.4" + "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": { @@ -16136,9 +16423,10 @@ } }, "node_modules/type-fest": { - "version": "4.39.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.39.1.tgz", - "integrity": "sha512-uW9qzd66uyHYxwyVBYiwS4Oi0qZyUqwjU+Oevr6ZogYiXt99EOYtwvzMSLw1c3lYo2HzJsep/NB23iEVEgjG/w==", + "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" @@ -16230,15 +16518,15 @@ } }, "node_modules/typescript-eslint": { - "version": "8.31.1", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.31.1.tgz", - "integrity": "sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==", + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.33.0.tgz", + "integrity": "sha512-5YmNhF24ylCsvdNW2oJwMzTbaeO4bg90KeGtMjUw0AGtHksgEPLRTUil+coHwCfiu4QjVJFnjp94DmU6zV7DhQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.31.1", - "@typescript-eslint/parser": "8.31.1", - "@typescript-eslint/utils": "8.31.1" + "@typescript-eslint/eslint-plugin": "8.33.0", + "@typescript-eslint/parser": "8.33.0", + "@typescript-eslint/utils": "8.33.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" diff --git a/package.json b/package.json index 091f8ba10b..de3e354474 100644 --- a/package.json +++ b/package.json @@ -179,10 +179,6 @@ { "path": "./dist/contentful-management.browser.min.js", "limit": "55 kB" - }, - { - "path": "./dist/contentful-management.cjs", - "limit": "140 kB" } ] } From 6b47e7524b5b183f11e8645ace9db356a9161059 Mon Sep 17 00:00:00 2001 From: Lisa White Date: Fri, 20 Jun 2025 15:13:39 -0600 Subject: [PATCH 16/48] fix: bump contentful-sdk-core to new beta [DX-4] (#2661) * build(deps-dev): bump @types/node from 20.17.30 to 20.17.32 (#2628) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.17.30 to 20.17.32. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 20.17.32 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump the dev-dependencies group across 1 directory with 9 updates (#2631) Bumps the dev-dependencies group with 9 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) | `7.27.0` | `7.27.1` | | [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.26.10` | `7.27.1` | | [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) | `7.26.0` | `7.27.1` | | [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.26.9` | `7.27.1` | | [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) | `7.27.0` | `7.27.1` | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.25.1` | `9.26.0` | | [eslint](https://github.com/eslint/eslint) | `9.25.1` | `9.26.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.8.3` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.31.1` | `8.32.0` | Updates `@babel/cli` from 7.27.0 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-cli) Updates `@babel/core` from 7.26.10 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-core) Updates `@babel/node` from 7.26.0 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-node) Updates `@babel/preset-env` from 7.26.9 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-preset-env) Updates `@babel/preset-typescript` from 7.27.0 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-preset-typescript) Updates `@eslint/js` from 9.25.1 to 9.26.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.26.0/packages/js) Updates `eslint` from 9.25.1 to 9.26.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.25.1...v9.26.0) Updates `typescript` from 5.6.3 to 5.8.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.8.3) Updates `typescript-eslint` from 8.31.1 to 8.32.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.32.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@babel/cli" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@babel/core" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@babel/node" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@babel/preset-env" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@babel/preset-typescript" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@eslint/js" dependency-version: 9.26.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: eslint dependency-version: 9.26.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript dependency-version: 5.8.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.32.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump @types/node from 20.17.32 to 20.17.43 (#2634) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.17.32 to 20.17.43. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 20.17.43 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump the dev-dependencies group across 1 directory with 5 updates (#2636) Bumps the dev-dependencies group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) | `7.27.1` | `7.27.2` | | [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.27.1` | `7.27.2` | | [type-fest](https://github.com/sindresorhus/type-fest) | `4.40.1` | `4.41.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.8.3` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.32.0` | `8.32.1` | Updates `@babel/cli` from 7.27.1 to 7.27.2 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.2/packages/babel-cli) Updates `@babel/preset-env` from 7.27.1 to 7.27.2 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.2/packages/babel-preset-env) Updates `type-fest` from 4.40.1 to 4.41.0 - [Release notes](https://github.com/sindresorhus/type-fest/releases) - [Commits](https://github.com/sindresorhus/type-fest/compare/v4.40.1...v4.41.0) Updates `typescript` from 5.6.3 to 5.8.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.8.3) Updates `typescript-eslint` from 8.32.0 to 8.32.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.32.1/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@babel/cli" dependency-version: 7.27.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@babel/preset-env" dependency-version: 7.27.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: type-fest dependency-version: 4.41.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript dependency-version: 5.8.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.32.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump the dev-dependencies group across 1 directory with 6 updates (#2643) Bumps the dev-dependencies group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.27.1` | `7.27.3` | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.26.0` | `9.27.0` | | [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) | `4.17.16` | `4.17.17` | | [eslint](https://github.com/eslint/eslint) | `9.26.0` | `9.27.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.8.3` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.32.1` | `8.33.0` | Updates `@babel/core` from 7.27.1 to 7.27.3 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.3/packages/babel-core) Updates `@eslint/js` from 9.26.0 to 9.27.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.27.0/packages/js) Updates `@types/lodash` from 4.17.16 to 4.17.17 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash) Updates `eslint` from 9.26.0 to 9.27.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.26.0...v9.27.0) Updates `typescript` from 5.6.3 to 5.8.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.8.3) Updates `typescript-eslint` from 8.32.1 to 8.33.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.33.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@babel/core" dependency-version: 7.27.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@eslint/js" dependency-version: 9.27.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@types/lodash" dependency-version: 4.17.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: eslint dependency-version: 9.27.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript dependency-version: 5.8.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.33.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump @types/node from 20.17.43 to 20.17.52 (#2646) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.17.43 to 20.17.52. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 20.17.52 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: rename team-tundra -> team-extensibility [EXT-6372] (#2649) * build(deps-dev): bump the dev-dependencies group across 1 directory with 5 updates (#2650) Bumps the dev-dependencies group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.27.3` | `7.27.4` | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.27.0` | `9.28.0` | | [eslint](https://github.com/eslint/eslint) | `9.27.0` | `9.28.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.8.3` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.33.0` | `8.33.1` | Updates `@babel/core` from 7.27.3 to 7.27.4 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.4/packages/babel-core) Updates `@eslint/js` from 9.27.0 to 9.28.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.28.0/packages/js) Updates `eslint` from 9.27.0 to 9.28.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.27.0...v9.28.0) Updates `typescript` from 5.6.3 to 5.8.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.8.3) Updates `typescript-eslint` from 8.33.0 to 8.33.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.33.1/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@babel/core" dependency-version: 7.27.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@eslint/js" dependency-version: 9.28.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: eslint dependency-version: 9.28.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript dependency-version: 5.8.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.33.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump tar-fs in /test/output-integration/browser (#2651) Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 3.0.8 to 3.0.9. - [Commits](https://github.com/mafintosh/tar-fs/compare/v3.0.8...v3.0.9) --- updated-dependencies: - dependency-name: tar-fs dependency-version: 3.0.9 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump @types/node from 20.17.52 to 20.17.57 (#2654) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.17.52 to 20.17.57. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 20.17.57 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: [GROOT-1871] add concept scheme on concepts (#2652) * feat: add concept scheme on concepts * test: Taxonomy tests are failing after adding conceptScheme on concepts. (#2655) * test: Update tests * feat: skip the tests * chore: regenerate package-lock.json * fix: bump sdk-core to new beta version --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: BobHemphill76 Co-authored-by: momenzadehvida <86777609+momenzadehvida@users.noreply.github.com> --- .github/CODEOWNERS | 2 +- lib/adapters/REST/endpoints/concept.ts | 13 +- package-lock.json | 522 ++++-------------- package.json | 2 +- .../environment-template-integration.test.ts | 2 +- test/integration/taxonomy-integration.test.ts | 1 + .../browser/package-lock.json | 6 +- 7 files changed, 114 insertions(+), 434 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index dc8d524a3b..15a9549a4a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,4 +1,4 @@ -* @contentful/team-tundra @contentful/team-developer-experience +* @contentful/team-developer-experience package.json package-lock.json diff --git a/lib/adapters/REST/endpoints/concept.ts b/lib/adapters/REST/endpoints/concept.ts index 1659e32576..dfa1794440 100644 --- a/lib/adapters/REST/endpoints/concept.ts +++ b/lib/adapters/REST/endpoints/concept.ts @@ -9,6 +9,7 @@ import type { GetManyConceptParams, GetOrganizationParams, UpdateConceptParams, + Link, } from '../../../common-types' import type { ConceptProps, CreateConceptProps } from '../../../entities/concept' import type { RestEndpoint } from '../types' @@ -76,7 +77,11 @@ export const update: RestEndpoint<'Concept', 'update'> = ( export const get: RestEndpoint<'Concept', 'get'> = ( http: AxiosInstance, params: GetConceptParams -) => raw.get(http, `${basePath(params.organizationId)}/${params.conceptId}`) +) => + raw.get[] }>( + http, + `${basePath(params.organizationId)}/${params.conceptId}` + ) export const del: RestEndpoint<'Concept', 'delete'> = ( http: AxiosInstance, @@ -95,7 +100,11 @@ export const getMany: RestEndpoint<'Concept', 'getMany'> = ( params: GetManyConceptParams ) => { const { url, queryParams } = cursorBasedCollection('', params) - return raw.get>(http, url, { + return raw.get< + CursorPaginatedCollectionProp< + ConceptProps & { conceptSchemes?: Link<'TaxonomyConceptScheme'>[] } + > + >(http, url, { params: queryParams, }) } diff --git a/package-lock.json b/package-lock.json index 6771a46ee8..90520feef9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@contentful/rich-text-types": "^16.6.1", "axios": "^1.8.4", - "contentful-sdk-core": "^9.0.1", + "contentful-sdk-core": "10.0.0-beta.1", "es-check": "^7.2.1", "fast-copy": "^3.0.0", "globals": "^15.15.0", @@ -82,41 +82,10 @@ "node": ">=6.0.0" } }, - "node_modules/@babel/cli": { - "version": "7.27.2", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.27.2.tgz", - "integrity": "sha512-cfd7DnGlhH6OIyuPSSj3vcfIdnbXukhAyKY8NaZrFadC7pXyL9mOL5WgjcptiEJLi5k3j8aYvLIVCzezrWTaiA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.25", - "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", "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", - "dev": true, "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.27.1", @@ -138,9 +107,9 @@ } }, "node_modules/@babel/core": { - "version": "7.27.3", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.27.3.tgz", - "integrity": "sha512-hyrN8ivxfvJ4i0fIJuV4EOlV0WDMz5Ui4StRTgVaAvWeiRCilXgwVvxJKtFQ3TKtHgJscB2YiXKGNJuVwhQMtA==", + "version": "7.27.4", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.27.4.tgz", + "integrity": "sha512-bXYxrXFubeYdvB0NhD/NBB3Qi6aZeV20GOWVI47t2dkecCEoneR4NPVcb7abpXDEvejgrUfFtG6vG/zxAKmg+g==", "dev": true, "peer": true, "dependencies": { @@ -149,10 +118,10 @@ "@babel/generator": "^7.27.3", "@babel/helper-compilation-targets": "^7.27.2", "@babel/helper-module-transforms": "^7.27.3", - "@babel/helpers": "^7.27.3", - "@babel/parser": "^7.27.3", + "@babel/helpers": "^7.27.4", + "@babel/parser": "^7.27.4", "@babel/template": "^7.27.2", - "@babel/traverse": "^7.27.3", + "@babel/traverse": "^7.27.4", "@babel/types": "^7.27.3", "convert-source-map": "^2.0.0", "debug": "^4.1.0", @@ -405,7 +374,6 @@ "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", - "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -437,9 +405,9 @@ } }, "node_modules/@babel/helpers": { - "version": "7.27.3", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.3.tgz", - "integrity": "sha512-h/eKy9agOya1IGuLaZ9tEUgz+uIRXcbtOhRtUyyMf8JFmn1iT13vnl/IGVWSkdOCG/pC57U4S1jnAabAavTMwg==", + "version": "7.27.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.4.tgz", + "integrity": "sha512-Y+bO6U+I7ZKaM5G5rDUZiYfUvQPUibYmAFe7EnKdnKBbVXDZxvp+MWOH5gYciY0EPk4EScsuFMQBbEfpdRKSCQ==", "dev": true, "peer": true, "dependencies": { @@ -450,34 +418,10 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/node": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/node/-/node-7.27.1.tgz", - "integrity": "sha512-ef8ZrhxIku9LrphvyNywpiMf1UJsYQll7S4eKa228ivswPcwmObp98o5h5wL2n9FrSAuo1dsMwJ8cS1LEcBSog==", - "dev": true, - "license": "MIT", - "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.27.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.3.tgz", - "integrity": "sha512-xyYxRj6+tLNDTWi0KCBcZ9V7yg3/lwL9DWh9Uwh/RIVlIfFidggcgxKX3GCXwCiswwcGRawBKbEg2LG/Y8eJhw==", + "version": "7.27.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.4.tgz", + "integrity": "sha512-BRmLHGwpUqLFR2jzx9orBuX/ABDkj2jLKOXrHDTN2aOKL+jFDDKaRNo9nyYsIl9h/UE/7lMKdDjKQQyxKKDZ7g==", "dev": true, "license": "MIT", "dependencies": { @@ -619,77 +563,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", @@ -1521,26 +1394,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.27.1.tgz", - "integrity": "sha512-Q5sT5+O4QUebHdbwKedFBEwRLb02zJ7r4A5Gg2hUoLuU3FjdMcyqcywqUrLCaDsFCxzokf7u9kuy7qz51YUuAg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@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", @@ -1707,46 +1560,6 @@ "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" } }, - "node_modules/@babel/preset-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.27.1.tgz", - "integrity": "sha512-l7WfQfX0WK4M0v2RudjuQK4u99BS6yLHYEmdtVPP7lKV013zr9DygFuWNlnbvQ9LR+LS0Egz/XAvGx5U9MX0fQ==", - "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.27.1" - }, - "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", @@ -1776,15 +1589,15 @@ } }, "node_modules/@babel/traverse": { - "version": "7.27.3", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.27.3.tgz", - "integrity": "sha512-lId/IfN/Ye1CIu8xG7oKBHXd2iNb2aW1ilPszzGcJug6M8RCKfVNcYhpI5+bMvFYjK7lXIM0R+a+6r8xhHp2FQ==", + "version": "7.27.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.27.4.tgz", + "integrity": "sha512-oNcu2QbHqts9BtOWJosOVJapWjBDSxGCpFvikNR5TGDYDQf3JwpIoMzIKrvfoti93cLfPJEG4tH9SPVeyCGgdA==", "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/generator": "^7.27.3", - "@babel/parser": "^7.27.3", + "@babel/parser": "^7.27.4", "@babel/template": "^7.27.2", "@babel/types": "^7.27.3", "debug": "^4.3.1", @@ -2546,9 +2359,9 @@ "license": "MIT" }, "node_modules/@eslint/js": { - "version": "9.27.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.27.0.tgz", - "integrity": "sha512-G5JD9Tu5HJEu4z2Uo4aHY2sLV64B7CDMXxFzqzjl3NKd6RVzSXNoE80jk7Y0lJkTTkjiIhBAqmlYwjuBY3tvpA==", + "version": "9.28.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.28.0.tgz", + "integrity": "sha512-fnqSjGWd/CoIp4EXIxWVK/sHA6DOHN4+8Ix2cX5ycOY7LG0UY8nHCU5pIp2eaE1Mc7Qd8kHspYNzYXT2ojPLzg==", "dev": true, "license": "MIT", "engines": { @@ -4348,10 +4161,10 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.17.52", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.52.tgz", - "integrity": "sha512-2aj++KfxubvW/Lc0YyXE3OEW7Es8TWn1MsRzYgcOGyTNQxi0L8rxQUCZ7ZbyOBWZQD5I63PV9egZWMsapVaklg==", - "dev": true, + "version": "20.17.57", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.57.tgz", + "integrity": "sha512-f3T4y6VU4fVQDKVqJV4Uppy8c1p/sVvS3peyqxyWnzkqXFJLRU7Y1Bl7rMS1Qe9z0v4M6McY0Fp9yBsgHJUsWQ==", + "devOptional": true, "license": "MIT", "dependencies": { "undici-types": "~6.19.2" @@ -4408,17 +4221,17 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.33.0.tgz", - "integrity": "sha512-CACyQuqSHt7ma3Ns601xykeBK/rDeZa3w6IS6UtMQbixO5DWy+8TilKkviGDH6jtWCo8FGRKEK5cLLkPvEammQ==", + "version": "8.33.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.33.1.tgz", + "integrity": "sha512-TDCXj+YxLgtvxvFlAvpoRv9MAncDLBV2oT9Bd7YBGC/b/sEURoOYuIwLI99rjWOfY3QtDzO+mk0n4AmdFExW8A==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.33.0", - "@typescript-eslint/type-utils": "8.33.0", - "@typescript-eslint/utils": "8.33.0", - "@typescript-eslint/visitor-keys": "8.33.0", + "@typescript-eslint/scope-manager": "8.33.1", + "@typescript-eslint/type-utils": "8.33.1", + "@typescript-eslint/utils": "8.33.1", + "@typescript-eslint/visitor-keys": "8.33.1", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", @@ -4432,15 +4245,15 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.33.0", + "@typescript-eslint/parser": "^8.33.1", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.4.tgz", - "integrity": "sha512-gJzzk+PQNznz8ysRrC0aOkBNVRBDtE1n53IqyqEf3PXrYwomFs5q4pGMizBMJF+ykh03insJ27hB8gSrD2Hn8A==", + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", "dev": true, "license": "MIT", "engines": { @@ -4448,16 +4261,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.33.0.tgz", - "integrity": "sha512-JaehZvf6m0yqYp34+RVnihBAChkqeH+tqqhS0GuX1qgPpwLvmTPheKEs6OeCK6hVJgXZHJ2vbjnC9j119auStQ==", + "version": "8.33.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.33.1.tgz", + "integrity": "sha512-qwxv6dq682yVvgKKp2qWwLgRbscDAYktPptK4JPojCwwi3R9cwrvIxS4lvBpzmcqzR4bdn54Z0IG1uHFskW4dA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.33.0", - "@typescript-eslint/types": "8.33.0", - "@typescript-eslint/typescript-estree": "8.33.0", - "@typescript-eslint/visitor-keys": "8.33.0", + "@typescript-eslint/scope-manager": "8.33.1", + "@typescript-eslint/types": "8.33.1", + "@typescript-eslint/typescript-estree": "8.33.1", + "@typescript-eslint/visitor-keys": "8.33.1", "debug": "^4.3.4" }, "engines": { @@ -4473,14 +4286,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.33.0.tgz", - "integrity": "sha512-d1hz0u9l6N+u/gcrk6s6gYdl7/+pp8yHheRTqP6X5hVDKALEaTn8WfGiit7G511yueBEL3OpOEpD+3/MBdoN+A==", + "version": "8.33.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.33.1.tgz", + "integrity": "sha512-DZR0efeNklDIHHGRpMpR5gJITQpu6tLr9lDJnKdONTC7vvzOlLAG/wcfxcdxEWrbiZApcoBCzXqU/Z458Za5Iw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.33.0", - "@typescript-eslint/types": "^8.33.0", + "@typescript-eslint/tsconfig-utils": "^8.33.1", + "@typescript-eslint/types": "^8.33.1", "debug": "^4.3.4" }, "engines": { @@ -4489,17 +4302,20 @@ "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <5.9.0" } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.33.0.tgz", - "integrity": "sha512-LMi/oqrzpqxyO72ltP+dBSP6V0xiUb4saY7WLtxSfiNEBI8m321LLVFU9/QDJxjDQG9/tjSqKz/E3380TEqSTw==", + "version": "8.33.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.33.1.tgz", + "integrity": "sha512-dM4UBtgmzHR9bS0Rv09JST0RcHYearoEoo3pG5B6GoTR9XcyeqX87FEhPo+5kTvVfKCvfHaHrcgeJQc6mrDKrA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.33.0", - "@typescript-eslint/visitor-keys": "8.33.0" + "@typescript-eslint/types": "8.33.1", + "@typescript-eslint/visitor-keys": "8.33.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4510,9 +4326,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.33.0.tgz", - "integrity": "sha512-sTkETlbqhEoiFmGr1gsdq5HyVbSOF0145SYDJ/EQmXHtKViCaGvnyLqWFFHtEXoS0J1yU8Wyou2UGmgW88fEug==", + "version": "8.33.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.33.1.tgz", + "integrity": "sha512-STAQsGYbHCF0/e+ShUQ4EatXQ7ceh3fBCXkNU7/MZVKulrlq1usH7t2FhxvCpuCi5O5oi1vmVaAjrGeL71OK1g==", "dev": true, "license": "MIT", "engines": { @@ -4527,14 +4343,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.33.0.tgz", - "integrity": "sha512-lScnHNCBqL1QayuSrWeqAL5GmqNdVUQAAMTaCwdYEdWfIrSrOGzyLGRCHXcCixa5NK6i5l0AfSO2oBSjCjf4XQ==", + "version": "8.33.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.33.1.tgz", + "integrity": "sha512-1cG37d9xOkhlykom55WVwG2QRNC7YXlxMaMzqw2uPeJixBFfKWZgaP/hjAObqMN/u3fr5BrTwTnc31/L9jQ2ww==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.33.0", - "@typescript-eslint/utils": "8.33.0", + "@typescript-eslint/typescript-estree": "8.33.1", + "@typescript-eslint/utils": "8.33.1", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, @@ -4551,9 +4367,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.33.0.tgz", - "integrity": "sha512-DKuXOKpM5IDT1FA2g9x9x1Ug81YuKrzf4mYX8FAVSNu5Wo/LELHWQyM1pQaDkI42bX15PWl0vNPt1uGiIFUOpg==", + "version": "8.33.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.33.1.tgz", + "integrity": "sha512-xid1WfizGhy/TKMTwhtVOgalHwPtV8T32MS9MaH50Cwvz6x6YqRIPdD2WvW0XaqOzTV9p5xdLY0h/ZusU5Lokg==", "dev": true, "license": "MIT", "engines": { @@ -4565,16 +4381,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.33.0.tgz", - "integrity": "sha512-vegY4FQoB6jL97Tu/lWRsAiUUp8qJTqzAmENH2k59SJhw0Th1oszb9Idq/FyyONLuNqT1OADJPXfyUNOR8SzAQ==", + "version": "8.33.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.33.1.tgz", + "integrity": "sha512-+s9LYcT8LWjdYWu7IWs7FvUxpQ/DGkdjZeE/GGulHvv8rvYwQvVaUZ6DE+j5x/prADUgSbbCWZ2nPI3usuVeOA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.33.0", - "@typescript-eslint/tsconfig-utils": "8.33.0", - "@typescript-eslint/types": "8.33.0", - "@typescript-eslint/visitor-keys": "8.33.0", + "@typescript-eslint/project-service": "8.33.1", + "@typescript-eslint/tsconfig-utils": "8.33.1", + "@typescript-eslint/types": "8.33.1", + "@typescript-eslint/visitor-keys": "8.33.1", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -4632,30 +4448,17 @@ "node": ">=10" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/ts-api-utils": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz", - "integrity": "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=16" - }, - "peerDependencies": { - "typescript": ">=4.2.0" - } - }, "node_modules/@typescript-eslint/utils": { - "version": "8.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.33.0.tgz", - "integrity": "sha512-lPFuQaLA9aSNa7D5u2EpRiqdAUhzShwGg/nhpBlc4GR6kcTABttCuyjFs8BcEZ8VWrjCBof/bePhP3Q3fS+Yrw==", + "version": "8.33.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.33.1.tgz", + "integrity": "sha512-52HaBiEQUaRYqAXpfzWSR2U3gxk92Kw006+xZpElaPMg3C4PgM+A5LqwoQI1f9E5aZ/qlxAZxzm42WX+vn92SQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.33.0", - "@typescript-eslint/types": "8.33.0", - "@typescript-eslint/typescript-estree": "8.33.0" + "@typescript-eslint/scope-manager": "8.33.1", + "@typescript-eslint/types": "8.33.1", + "@typescript-eslint/typescript-estree": "8.33.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4670,13 +4473,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.33.0.tgz", - "integrity": "sha512-7RW7CMYoskiz5OOGAWjJFxgb7c5UNjTG292gYhWeOAcFmYCtVCSqjqSBj5zMhxbXo2JOW95YYrUWJfU0zrpaGQ==", + "version": "8.33.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.33.1.tgz", + "integrity": "sha512-3i8NrFcZeeDHJ+7ZUuDkGT+UHq+XoFGsymNK2jZCOHcfEzRQ0BdpRtdpSx/Iyf3MHLWIcLS0COuOPibKQboIiQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.33.0", + "@typescript-eslint/types": "8.33.1", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -5361,16 +5164,6 @@ "require-package-name": "^2.0.1" } }, - "node_modules/babel-plugin-lodash/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==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, "node_modules/babel-plugin-lodash/node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", @@ -5392,18 +5185,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/babel-plugin-lodash/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/babel-plugin-polyfill-corejs2": { "version": "0.4.12", "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.12.tgz", @@ -6209,16 +5990,6 @@ "node": ">= 12" } }, - "node_modules/commitizen/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==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, "node_modules/commitizen/node_modules/fs-extra": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", @@ -6256,18 +6027,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/commitizen/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", @@ -6375,9 +6134,9 @@ } }, "node_modules/contentful-sdk-core": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.2.0.tgz", - "integrity": "sha512-cUvHbC2u8ouJHhG3tofQhUc0FAmM/QBcalYjiczMtFKrR77BW+eSPcPg+A9DQlhIP0UGcQ/knXxoJpBvrERXTA==", + "version": "10.0.0-beta.1", + "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-10.0.0-beta.1.tgz", + "integrity": "sha512-VrnutN1j1ZCYa2rAJldQyySz20ou4HjuaMk8XAR8+6jKmYwo084GTH9Hs2qfraWjDEyJXCE3uGnlKDCXdXCq0A==", "license": "MIT", "dependencies": { "fast-copy": "^3.0.2", @@ -7250,9 +7009,9 @@ } }, "node_modules/eslint": { - "version": "9.27.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.27.0.tgz", - "integrity": "sha512-ixRawFQuMB9DZ7fjU3iGGganFDp3+45bPOdaRurcFHSXO1e/sYwUX/FtQZpLZJR6SjMoJH8hR2pPEAfDyCoU2Q==", + "version": "9.28.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.28.0.tgz", + "integrity": "sha512-ocgh41VhRlf9+fVpe7QKzwLj9c92fDiqOj8Y3Sd4/ZmVA4Btx4PlUYPq4pp9JDyupkf1upbEXecxL2mwNV7jPQ==", "dev": true, "license": "MIT", "dependencies": { @@ -7262,7 +7021,7 @@ "@eslint/config-helpers": "^0.2.1", "@eslint/core": "^0.14.0", "@eslint/eslintrc": "^3.3.1", - "@eslint/js": "9.27.0", + "@eslint/js": "9.28.0", "@eslint/plugin-kit": "^0.3.1", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", @@ -12246,10 +12005,6 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/agent": { - "extraneous": true, - "inBundle": true - }, "node_modules/npm/node_modules/node-gyp/node_modules/chownr": { "version": "3.0.0", "dev": true, @@ -12287,10 +12042,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/npm/node_modules/node-gyp/node_modules/ssri": { - "extraneous": true, - "inBundle": true - }, "node_modules/npm/node_modules/node-gyp/node_modules/tar": { "version": "7.4.3", "dev": true, @@ -12308,14 +12059,6 @@ "node": ">=18" } }, - "node_modules/npm/node_modules/node-gyp/node_modules/unique-filename": { - "extraneous": true, - "inBundle": true - }, - "node_modules/npm/node_modules/node-gyp/node_modules/unique-slug": { - "extraneous": true, - "inBundle": true - }, "node_modules/npm/node_modules/node-gyp/node_modules/yallist": { "version": "5.0.0", "dev": true, @@ -13790,16 +13533,6 @@ "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_modules/pkg-conf": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz", @@ -14453,55 +14186,6 @@ "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", @@ -16426,7 +16110,6 @@ "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" @@ -16490,19 +16173,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/typedoc/node_modules/yaml": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.1.tgz", - "integrity": "sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg==", - "dev": true, - "license": "ISC", - "bin": { - "yaml": "bin.mjs" - }, - "engines": { - "node": ">= 14" - } - }, "node_modules/typescript": { "version": "5.7.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", @@ -16518,15 +16188,15 @@ } }, "node_modules/typescript-eslint": { - "version": "8.33.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.33.0.tgz", - "integrity": "sha512-5YmNhF24ylCsvdNW2oJwMzTbaeO4bg90KeGtMjUw0AGtHksgEPLRTUil+coHwCfiu4QjVJFnjp94DmU6zV7DhQ==", + "version": "8.33.1", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.33.1.tgz", + "integrity": "sha512-AgRnV4sKkWOiZ0Kjbnf5ytTJXMUZQ0qhSVdQtDNYLPLnjsATEYhaO94GlRQwi4t4gO8FfjM6NnikHeKjUm8D7A==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.33.0", - "@typescript-eslint/parser": "8.33.0", - "@typescript-eslint/utils": "8.33.0" + "@typescript-eslint/eslint-plugin": "8.33.1", + "@typescript-eslint/parser": "8.33.1", + "@typescript-eslint/utils": "8.33.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" diff --git a/package.json b/package.json index de3e354474..917d9bc69c 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "dependencies": { "@contentful/rich-text-types": "^16.6.1", "axios": "^1.8.4", - "contentful-sdk-core": "^9.0.1", + "contentful-sdk-core": "10.0.0-beta.1", "es-check": "^7.2.1", "fast-copy": "^3.0.0", "globals": "^15.15.0", diff --git a/test/integration/environment-template-integration.test.ts b/test/integration/environment-template-integration.test.ts index 4476f1db1b..8c3cf27af9 100644 --- a/test/integration/environment-template-integration.test.ts +++ b/test/integration/environment-template-integration.test.ts @@ -19,7 +19,7 @@ import type { type InstallTemplate = () => 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/taxonomy-integration.test.ts b/test/integration/taxonomy-integration.test.ts index 4d85f5d337..bef71dbe18 100644 --- a/test/integration/taxonomy-integration.test.ts +++ b/test/integration/taxonomy-integration.test.ts @@ -482,6 +482,7 @@ function isConceptProps(concept: any) { 'altLabels', 'broader', 'changeNote', + 'conceptSchemes', 'definition', 'editorialNote', 'example', diff --git a/test/output-integration/browser/package-lock.json b/test/output-integration/browser/package-lock.json index dd4209f121..69e363572f 100644 --- a/test/output-integration/browser/package-lock.json +++ b/test/output-integration/browser/package-lock.json @@ -1202,9 +1202,9 @@ } }, "node_modules/tar-fs": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.8.tgz", - "integrity": "sha512-ZoROL70jptorGAlgAYiLoBLItEKw/fUxg9BSYK/dF/GAGYFJOJJJMvjPAKDJraCXFwadD456FCuvLWgfhMsPwg==", + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.9.tgz", + "integrity": "sha512-XF4w9Xp+ZQgifKakjZYmFdkLoSWd34VGKcsTCwlNWM7QG3ZbaxnTsaBwnjFZqHRf/rROxaR8rXnbtwdvaDI+lA==", "dev": true, "license": "MIT", "dependencies": { From 85038ef683b63972f9ac83fcb5187a8066bbafd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 25 Jun 2025 17:57:37 +0200 Subject: [PATCH 17/48] build: add react-native bundle --- README.md | 11 +++++++++-- package.json | 4 +++- rollup.config.js | 11 ++++++++++- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f04b8b55f5..1427bcb421 100644 --- a/README.md +++ b/README.md @@ -157,8 +157,15 @@ 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') -// bundle -const contentful = require('contentful-management/dist/contentful-management.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: diff --git a/package.json b/package.json index 917d9bc69c..9341495f22 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,9 @@ "import": "./dist/esm/index.js", "require": "./dist/cjs/index.cjs" }, - "./dist/contentful-management.node.cjs": "./dist/contentful-management.node.cjs" + "./dist/contentful-management.node.cjs": "./dist/contentful-management.node.cjs", + "./dist/contentful-management.browser.js": "./dist/contentful-management.browser.js", + "./dist/contentful-management.react-native.js": "./dist/contentful-management.react-native.js" }, "main": "./dist/cjs/index.cjs", "types": "dist/types/index.d.ts", diff --git a/rollup.config.js b/rollup.config.js index af918198a8..6b7d038189 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -193,4 +193,13 @@ const browserMinConfig = { ], } -export default [esmConfig, cjsConfig, cjsBundleConfig, browserConfig, browserMinConfig] +const reactNativeConfig = { + ...browserConfig, + output: { + ...browserConfig.output, + file: 'dist/contentful-management.react-native.js', + format: 'cjs', + }, +} + +export default [esmConfig, cjsConfig, cjsBundleConfig, browserConfig, browserMinConfig, reactNativeConfig] From 69b70d0e86b9f156a59f1b1eec5ed75357f2ebec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Fri, 27 Jun 2025 14:35:33 +0200 Subject: [PATCH 18/48] build: move our typescript to nodenext module resolution so we can support latest and all legacy ways. All exported types should now be available in all typescript versions --- lib/adapters/REST/endpoints/access-token.ts | 8 +- .../REST/endpoints/ai-action-invocation.ts | 6 +- lib/adapters/REST/endpoints/ai-action.ts | 10 +- lib/adapters/REST/endpoints/api-key.ts | 8 +- .../REST/endpoints/app-access-token.ts | 8 +- .../REST/endpoints/app-action-call.ts | 10 +- lib/adapters/REST/endpoints/app-action.ts | 10 +- lib/adapters/REST/endpoints/app-bundle.ts | 10 +- lib/adapters/REST/endpoints/app-definition.ts | 10 +- lib/adapters/REST/endpoints/app-details.ts | 8 +- .../REST/endpoints/app-event-subscription.ts | 8 +- .../REST/endpoints/app-installation.ts | 14 +- lib/adapters/REST/endpoints/app-key.ts | 12 +- .../REST/endpoints/app-signed-request.ts | 8 +- .../REST/endpoints/app-signing-secret.ts | 8 +- lib/adapters/REST/endpoints/app-upload.ts | 10 +- lib/adapters/REST/endpoints/asset-key.ts | 8 +- lib/adapters/REST/endpoints/asset.ts | 18 ++- lib/adapters/REST/endpoints/bulk-action.ts | 8 +- lib/adapters/REST/endpoints/comment.ts | 10 +- lib/adapters/REST/endpoints/concept-scheme.ts | 11 +- lib/adapters/REST/endpoints/concept.ts | 8 +- lib/adapters/REST/endpoints/content-type.ts | 10 +- .../REST/endpoints/editor-interface.ts | 8 +- lib/adapters/REST/endpoints/entry.ts | 10 +- .../REST/endpoints/environment-alias.ts | 8 +- .../environment-template-installation.ts | 4 +- .../REST/endpoints/environment-template.ts | 6 +- lib/adapters/REST/endpoints/environment.ts | 8 +- lib/adapters/REST/endpoints/extension.ts | 10 +- lib/adapters/REST/endpoints/function-log.ts | 8 +- lib/adapters/REST/endpoints/function.ts | 8 +- lib/adapters/REST/endpoints/http.ts | 4 +- lib/adapters/REST/endpoints/index.ts | 132 +++++++-------- lib/adapters/REST/endpoints/locale.ts | 14 +- .../REST/endpoints/oauth-application.ts | 8 +- .../REST/endpoints/organization-invitation.ts | 6 +- .../REST/endpoints/organization-membership.ts | 8 +- lib/adapters/REST/endpoints/organization.ts | 8 +- .../REST/endpoints/personal-access-token.ts | 8 +- .../REST/endpoints/preview-api-key.ts | 8 +- lib/adapters/REST/endpoints/release-action.ts | 8 +- lib/adapters/REST/endpoints/release.ts | 8 +- .../REST/endpoints/resource-provider.ts | 8 +- lib/adapters/REST/endpoints/resource-type.ts | 8 +- lib/adapters/REST/endpoints/resource.ts | 8 +- lib/adapters/REST/endpoints/role.ts | 10 +- .../REST/endpoints/scheduled-action.ts | 10 +- lib/adapters/REST/endpoints/snapshot.ts | 14 +- lib/adapters/REST/endpoints/space-member.ts | 8 +- .../REST/endpoints/space-membership.ts | 8 +- lib/adapters/REST/endpoints/space.ts | 8 +- lib/adapters/REST/endpoints/tag.ts | 8 +- lib/adapters/REST/endpoints/task.ts | 10 +- .../REST/endpoints/team-membership.ts | 10 +- .../REST/endpoints/team-space-membership.ts | 8 +- lib/adapters/REST/endpoints/team.ts | 10 +- lib/adapters/REST/endpoints/ui-config.ts | 8 +- .../REST/endpoints/upload-credentials.ts | 8 +- lib/adapters/REST/endpoints/upload.ts | 8 +- lib/adapters/REST/endpoints/usage.ts | 8 +- lib/adapters/REST/endpoints/user-ui-config.ts | 8 +- lib/adapters/REST/endpoints/user.ts | 8 +- lib/adapters/REST/endpoints/utils.ts | 2 +- lib/adapters/REST/endpoints/webhook.ts | 10 +- .../REST/endpoints/workflow-definition.ts | 8 +- lib/adapters/REST/endpoints/workflow.ts | 8 +- .../REST/endpoints/workflows-changelog.ts | 8 +- lib/adapters/REST/make-request.ts | 4 +- lib/adapters/REST/rest-adapter.ts | 4 +- lib/adapters/REST/types.ts | 2 +- lib/common-types.ts | 132 +++++++-------- lib/common-utils.ts | 2 +- .../controls-defaults.ts | 7 +- .../editors-defaults.ts | 2 +- .../editor-interface-defaults/index.ts | 6 +- .../sidebar-defaults.ts | 2 +- lib/contentful-management.d.ts | 0 lib/create-adapter.ts | 6 +- lib/create-app-definition-api.ts | 12 +- lib/create-contentful-api.ts | 20 +-- lib/create-entry-api.ts | 12 +- lib/create-environment-api.ts | 58 +++---- lib/create-environment-template-api.ts | 8 +- lib/create-organization-api.ts | 24 +-- lib/create-space-api.ts | 31 ++-- lib/create-ui-config-api.ts | 6 +- lib/create-user-ui-config-api.ts | 6 +- lib/entities/access-token.ts | 6 +- lib/entities/ai-action-invocation.ts | 4 +- lib/entities/ai-action.ts | 8 +- lib/entities/api-key.ts | 6 +- lib/entities/app-access-token.ts | 2 +- lib/entities/app-action-call.ts | 6 +- lib/entities/app-action.ts | 8 +- lib/entities/app-bundle.ts | 6 +- lib/entities/app-definition.ts | 18 +-- lib/entities/app-details.ts | 4 +- lib/entities/app-event-subscription.ts | 4 +- lib/entities/app-installation.ts | 8 +- lib/entities/app-key.ts | 6 +- lib/entities/app-signed-request.ts | 2 +- lib/entities/app-signing-secret.ts | 4 +- lib/entities/app-upload.ts | 6 +- lib/entities/asset-key.ts | 2 +- lib/entities/asset.ts | 8 +- lib/entities/bulk-action.ts | 8 +- lib/entities/comment.ts | 6 +- lib/entities/concept-scheme.ts | 6 +- lib/entities/concept.ts | 4 +- lib/entities/content-type-fields.ts | 2 +- lib/entities/content-type.ts | 20 +-- lib/entities/editor-interface.ts | 8 +- lib/entities/entry.ts | 12 +- lib/entities/environment-alias.ts | 6 +- .../environment-template-installation.ts | 4 +- lib/entities/environment-template.ts | 14 +- lib/entities/environment.ts | 10 +- lib/entities/extension.ts | 10 +- lib/entities/function-log.ts | 8 +- lib/entities/function.ts | 8 +- lib/entities/index.ts | 124 +++++++------- lib/entities/locale.ts | 6 +- lib/entities/oauth-application.ts | 6 +- lib/entities/organization-invitation.ts | 2 +- lib/entities/organization-membership.ts | 6 +- lib/entities/organization.ts | 10 +- lib/entities/personal-access-token.ts | 6 +- lib/entities/preview-api-key.ts | 6 +- lib/entities/release-action.ts | 10 +- lib/entities/release.ts | 14 +- lib/entities/resource-provider.ts | 8 +- lib/entities/resource-type.ts | 6 +- lib/entities/resource.ts | 4 +- lib/entities/role.ts | 6 +- lib/entities/scheduled-action.ts | 6 +- lib/entities/snapshot.ts | 6 +- lib/entities/space-member.ts | 4 +- lib/entities/space-membership.ts | 6 +- lib/entities/space.ts | 10 +- lib/entities/tag.ts | 6 +- lib/entities/task.ts | 6 +- lib/entities/team-membership.ts | 6 +- lib/entities/team-space-membership.ts | 6 +- lib/entities/team.ts | 6 +- lib/entities/ui-config.ts | 6 +- lib/entities/upload-credential.ts | 4 +- lib/entities/upload.ts | 4 +- lib/entities/usage.ts | 6 +- lib/entities/user-ui-config.ts | 6 +- lib/entities/user.ts | 6 +- lib/entities/webhook.ts | 6 +- lib/entities/workflow-definition.ts | 6 +- lib/entities/workflow.ts | 6 +- lib/entities/workflows-changelog-entry.ts | 6 +- lib/export-types.ts | 153 ++++++++++-------- lib/index.ts | 38 ++--- lib/methods/action.ts | 2 +- lib/methods/bulk-action.ts | 8 +- lib/methods/content-type.ts | 4 +- lib/methods/release-action.ts | 8 +- lib/plain/as-iterator.ts | 2 +- lib/plain/checks.ts | 2 +- lib/plain/common-types.ts | 134 +++++++-------- lib/plain/entities/ai-action-invocation.ts | 6 +- lib/plain/entities/ai-action.ts | 8 +- lib/plain/entities/app-access-token.ts | 6 +- lib/plain/entities/app-action-call.ts | 6 +- lib/plain/entities/app-action.ts | 6 +- lib/plain/entities/app-bundle.ts | 6 +- lib/plain/entities/app-definition.ts | 6 +- lib/plain/entities/app-details.ts | 6 +- lib/plain/entities/app-event-subscription.ts | 6 +- lib/plain/entities/app-installation.ts | 8 +- lib/plain/entities/app-key.ts | 6 +- lib/plain/entities/app-signed-request.ts | 6 +- lib/plain/entities/app-signing-secret.ts | 6 +- lib/plain/entities/app-upload.ts | 6 +- lib/plain/entities/comment.ts | 6 +- lib/plain/entities/concept-scheme.ts | 4 +- lib/plain/entities/concept.ts | 4 +- lib/plain/entities/editor-interface.ts | 6 +- lib/plain/entities/environment-alias.ts | 6 +- lib/plain/entities/environment.ts | 6 +- lib/plain/entities/extension.ts | 6 +- lib/plain/entities/function-log.ts | 6 +- lib/plain/entities/function.ts | 6 +- lib/plain/entities/locale.ts | 6 +- lib/plain/entities/oauth-application.ts | 6 +- lib/plain/entities/organization.ts | 6 +- lib/plain/entities/resource-provider.ts | 6 +- lib/plain/entities/resource-type.ts | 8 +- lib/plain/entities/resource.ts | 6 +- lib/plain/entities/role.ts | 6 +- lib/plain/entities/space-member.ts | 6 +- lib/plain/entities/space-membership.ts | 6 +- lib/plain/entities/space.ts | 6 +- lib/plain/entities/tag.ts | 8 +- lib/plain/entities/task.ts | 11 +- lib/plain/entities/team-membership.ts | 6 +- lib/plain/entities/team-space-membership.ts | 9 +- lib/plain/entities/team.ts | 6 +- lib/plain/entities/ui-config.ts | 6 +- lib/plain/entities/upload-credential.ts | 4 +- lib/plain/entities/upload.ts | 7 +- lib/plain/entities/usage.ts | 6 +- lib/plain/entities/user-ui-config.ts | 6 +- lib/plain/entities/user.ts | 6 +- lib/plain/entities/webhook.ts | 6 +- lib/plain/entities/workflow-definition.ts | 6 +- lib/plain/entities/workflow.ts | 6 +- lib/plain/entities/workflows-changelog.ts | 6 +- lib/plain/pagination-helper.ts | 2 +- lib/plain/plain-client.ts | 16 +- lib/plain/wrappers/wrap.test-d.ts | 2 +- lib/plain/wrappers/wrap.ts | 2 +- rollup.config.js | 2 +- test/helpers.ts | 6 +- .../integration/ai-action-integration.test.ts | 2 +- .../ai-action-invocation-integration.test.ts | 2 +- test/integration/api-key-integration.test.ts | 2 +- .../app-access-token-integration.test.ts | 4 +- .../app-action-integration.test.ts | 4 +- .../app-bundle-integration.test.ts | 4 +- .../app-definition-integration.test.ts | 4 +- .../app-details-integration.test.ts | 4 +- ...app-event-subscription-integration.test.ts | 4 +- test/integration/app-key-integration.test.ts | 4 +- .../app-signed-request-integration.test.ts | 4 +- .../app-signing-secret-integration.test.ts | 4 +- .../app-upload-integration.test.ts | 4 +- test/integration/asset-integration.test.ts | 4 +- .../integration/asset-key-integration.test.ts | 4 +- .../bulk-action-integration.test.ts | 12 +- test/integration/comment-integration.test.ts | 10 +- .../content-type-integration.test.ts | 4 +- test/integration/entry-integration.test.ts | 6 +- .../entry-references-integration.test.ts | 10 +- .../environment-alias-integration.test.ts | 4 +- .../environment-integration.test.ts | 4 +- .../environment-template-integration.test.ts | 6 +- test/integration/locale-integration.test.ts | 4 +- ...-team-space-membership-integration.test.ts | 6 +- .../organization-integration.test.ts | 4 +- .../organization-invitation.test.ts | 4 +- ...rganization-membership-integration.test.ts | 6 +- ...ation-space-membership-integration.test.ts | 6 +- test/integration/plain-client.test.ts | 4 +- .../preview-api-key-integration.test.ts | 4 +- .../release-action-integration.test.ts | 14 +- test/integration/release-integration.test.ts | 10 +- test/integration/resource-integration.test.ts | 14 +- .../resource-provider-integration.test.ts | 12 +- .../resource-type-integration.test.ts | 14 +- test/integration/role-integration.test.ts | 4 +- .../scheduled-action-integration.test.ts | 18 +-- test/integration/space-integration.test.ts | 4 +- .../space-member-integration.test.ts | 6 +- .../space-membership-integration.test.ts | 6 +- .../space-team-integration.test.ts | 4 +- .../space-user-integration.test.ts | 6 +- test/integration/tag-integration.test.ts | 4 +- test/integration/task-integration.test.ts | 4 +- test/integration/taxonomy-integration.test.ts | 6 +- test/integration/team-integration.test.ts | 6 +- .../team-membership-integration.test.ts | 6 +- .../team-space-membership-integration.test.ts | 6 +- .../ui-extension-integration.test.ts | 4 +- test/integration/upload-credential.test.ts | 4 +- test/integration/user-integration.test.ts | 6 +- test/integration/webhook-integration.test.ts | 6 +- test/integration/workflow-integration.test.ts | 6 +- .../REST/endpoints/app-action-call.test.ts | 10 +- .../adapters/REST/endpoints/asset.test.ts | 6 +- .../REST/endpoints/concept-scheme.test.ts | 4 +- .../adapters/REST/endpoints/concept.test.ts | 4 +- .../adapters/REST/endpoints/entry.test.ts | 6 +- .../endpoints/environment-template.test.ts | 4 +- .../adapters/REST/endpoints/extension.test.ts | 2 +- .../REST/endpoints/function-log.test.ts | 4 +- .../adapters/REST/endpoints/function.test.ts | 4 +- .../unit/adapters/REST/endpoints/http.test.ts | 2 +- .../endpoints/organization-membership.test.ts | 6 +- .../REST/endpoints/team-membership.test.ts | 6 +- .../unit/adapters/REST/endpoints/team.test.ts | 6 +- .../adapters/REST/endpoints/ui-config.test.ts | 6 +- .../adapters/REST/endpoints/upload.test.ts | 4 +- .../REST/endpoints/user-ui-config.test.ts | 6 +- .../adapters/REST/endpoints/utils.test.ts | 2 +- .../endpoints/workflow-definition.test.ts | 10 +- test/unit/adapters/REST/rest-adapter.test.ts | 4 +- .../adapters/REST/reusable-tests/update.ts | 4 +- test/unit/constants/controls-defaults.test.ts | 2 +- test/unit/create-adapter.test.ts | 6 +- test/unit/create-app-definition-api.test.ts | 8 +- test/unit/create-contentful-api.test.ts | 12 +- test/unit/create-entry-api.test.ts | 12 +- test/unit/create-environment-api.test.ts | 14 +- .../create-environment-template-api.test.ts | 8 +- test/unit/create-organization-api.test.ts | 8 +- test/unit/create-space-api.test.ts | 8 +- test/unit/create-ui-config-api.test.ts | 13 +- test/unit/create-user-ui-config-api.test.ts | 13 +- test/unit/entities/access-token.test.ts | 8 +- .../entities/ai-action-invocation.test.ts | 8 +- test/unit/entities/ai-action.test.ts | 8 +- test/unit/entities/api-key.test.ts | 8 +- test/unit/entities/app-access-token.test.ts | 8 +- test/unit/entities/app-bundle.test.ts | 8 +- test/unit/entities/app-definition.test.ts | 8 +- test/unit/entities/app-details.test.ts | 8 +- .../entities/app-event-subscription.test.ts | 8 +- test/unit/entities/app-installation.test.ts | 8 +- test/unit/entities/app-key.test.ts | 8 +- test/unit/entities/app-signed-request.test.ts | 8 +- test/unit/entities/app-signing-secret.test.ts | 8 +- test/unit/entities/app-upload.test.ts | 8 +- test/unit/entities/asset-key.test.ts | 8 +- test/unit/entities/asset.test.ts | 8 +- test/unit/entities/bulk-action.test.ts | 8 +- test/unit/entities/comment.test.ts | 8 +- test/unit/entities/content-type.test.ts | 8 +- test/unit/entities/editor-interface.test.ts | 8 +- test/unit/entities/entry.test.ts | 8 +- test/unit/entities/environment-alias.test.ts | 8 +- test/unit/entities/environment.test.ts | 8 +- test/unit/entities/extension.test.ts | 8 +- test/unit/entities/invitation.test.ts | 8 +- test/unit/entities/locale.test.ts | 8 +- test/unit/entities/oauth-application.ts | 8 +- .../entities/organization-membership.test.ts | 8 +- test/unit/entities/organization.test.ts | 8 +- .../entities/personal-access-token.test.ts | 8 +- test/unit/entities/preview-api-key.test.ts | 8 +- test/unit/entities/release-action.test.ts | 8 +- test/unit/entities/release.test.ts | 8 +- test/unit/entities/resource-provider.test.ts | 14 +- test/unit/entities/resource-type.test.ts | 8 +- test/unit/entities/role.test.ts | 8 +- test/unit/entities/scheduled-action.test.ts | 8 +- test/unit/entities/space-member.test.ts | 8 +- test/unit/entities/space-membership.test.ts | 8 +- test/unit/entities/space.test.ts | 8 +- test/unit/entities/tag.test.ts | 8 +- test/unit/entities/task.test.ts | 8 +- test/unit/entities/team-membership.test.ts | 8 +- .../entities/team-space-membership.test.ts | 8 +- test/unit/entities/team.test.ts | 8 +- test/unit/entities/ui-config.test.ts | 8 +- test/unit/entities/upload-credential.test.ts | 8 +- test/unit/entities/upload.test.ts | 8 +- test/unit/entities/usage.test.ts | 8 +- test/unit/entities/user-ui-config.test.ts | 8 +- test/unit/entities/user.test.ts | 8 +- test/unit/entities/webhook.test.ts | 8 +- .../unit/entities/workflow-definition.test.ts | 8 +- test/unit/entities/workflow.test.ts | 8 +- .../workflows-changelog-entry.test.ts | 8 +- test/unit/mocks/entities.ts | 135 ++++++++-------- test/unit/mocks/makeRequest.ts | 2 +- test/unit/plain/as-iterator.test.ts | 4 +- test/unit/plain/pagination-helper.test.ts | 11 +- test/unit/plain/resource-provider.test.ts | 6 +- test/unit/plain/resource-type.test.ts | 6 +- test/unit/plain/resource.test.ts | 6 +- test/unit/plain/webhook.test.ts | 4 +- .../test-creators/instance-entity-methods.ts | 8 +- .../test-creators/static-entity-methods.ts | 2 +- test/utils.ts | 2 +- tsconfig.json | 4 +- vitest.setup.unit.ts | 2 +- 371 files changed, 1772 insertions(+), 1693 deletions(-) create mode 100644 lib/contentful-management.d.ts diff --git a/lib/adapters/REST/endpoints/access-token.ts b/lib/adapters/REST/endpoints/access-token.ts index 408f0de343..808dbf3bec 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 d125483753..ed4fd43626 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 31a0b9b34b..ebcbe7163d 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 5d4203b37f..c28426f916 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 17c6cf5120..57e034cf8a 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 bc111f14fc..4326ad1ba6 100644 --- a/lib/adapters/REST/endpoints/app-action-call.ts +++ b/lib/adapters/REST/endpoints/app-action-call.ts @@ -3,15 +3,15 @@ import type { AppActionCallProps, AppActionCallResponse, 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, GetAppActionCallDetailsParams, GetAppActionCallParams, -} 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 459d04957b..c341baea62 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 50b977da15..c1492c515c 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 c6f3334d24..06a5b3b88d 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 b70eb7e06e..bff67bd8d2 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 c7bdb2f8e2..6713158c21 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 4d22203071..12f0c67848 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 d2568cfc89..1486e0630f 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 3426afe749..724ec4f4cb 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 03a4fd2866..4238cdd1cd 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 ae14328dea..7a7c296469 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 a5552b680c..4fb0488e0e 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 21e18a231a..175a9a1a3c 100644 --- a/lib/adapters/REST/endpoints/asset.ts +++ b/lib/adapters/REST/endpoints/asset.ts @@ -3,18 +3,22 @@ import type { AxiosInstance } from 'contentful-sdk-core' import { errorHandler } 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 { + CollectionProp, + GetSpaceEnvironmentParams, + QueryParams, +} 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' 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 cc63d1542f..6228cc1106 100644 --- a/lib/adapters/REST/endpoints/bulk-action.ts +++ b/lib/adapters/REST/endpoints/bulk-action.ts @@ -1,13 +1,13 @@ 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, BulkActionUnpublishPayload, BulkActionValidatePayload, -} 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 605f73fb9c..e0e4424257 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 e24befedea..65f7532da0 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` diff --git a/lib/adapters/REST/endpoints/concept.ts b/lib/adapters/REST/endpoints/concept.ts index dfa1794440..a386005dfc 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` diff --git a/lib/adapters/REST/endpoints/content-type.ts b/lib/adapters/REST/endpoints/content-type.ts index 2dcb72caf9..0f712bf9e6 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 6801d99aff..9bedf71877 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 70fae29951..d6e6ae8e52 100644 --- a/lib/adapters/REST/endpoints/entry.ts +++ b/lib/adapters/REST/endpoints/entry.ts @@ -8,11 +8,11 @@ import type { GetSpaceEnvironmentParams, KeyValueMap, QueryParams, -} from '../../../common-types' -import type { CreateEntryProps, EntryProps, EntryReferenceProps } 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, EntryReferenceProps } from '../../../entities/entry.js' +import type { RestEndpoint } from '../types.js' +import * as raw from './raw.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 2a834ebefc..7681f0ad1e 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 3657efff1d..c6e644e1cf 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 7e779ab52b..9199e291cd 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 4408f7d2d0..002991659a 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 5cc13dd85d..5a75270685 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 a72e035561..d7a9d7836e 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 bc26df07de..e550b0e8ff 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 1afa8aa923..a997a78f02 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 2290146d21..6f242d9d96 100644 --- a/lib/adapters/REST/endpoints/index.ts +++ b/lib/adapters/REST/endpoints/index.ts @@ -1,69 +1,69 @@ -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 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 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 3fb46273b7..3b9b0f791f 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 6d72f687d2..8b798cdd6c 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 8d1c2995b4..24af469bfa 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 7e6777fe33..0a57dc20ef 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 1d8ad7b08c..838f2b7cbd 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 f91c3df3b4..f721377328 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 95103ce91c..1901382f96 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 e377c99f60..5b0afd7698 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.ts b/lib/adapters/REST/endpoints/release.ts index 9131a26180..dc1a47bc24 100644 --- a/lib/adapters/REST/endpoints/release.ts +++ b/lib/adapters/REST/endpoints/release.ts @@ -1,13 +1,13 @@ import type { RawAxiosRequestHeaders } from 'axios' import type { AxiosInstance } from 'contentful-sdk-core' -import type { GetReleaseParams, GetSpaceEnvironmentParams } from '../../../common-types' +import type { GetReleaseParams, GetSpaceEnvironmentParams } from '../../../common-types.js' import type { ReleasePayload, 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 efc3621df4..152ddf9fe4 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 ca738f4bf8..d86d8d1d23 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 21fc178eaf..58f2afe694 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 8120882178..009e7c6bd1 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 251535995b..658d1bfc3b 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 a51ba47d86..a76e7ae99b 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 4aae7a0b37..367caa5b45 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 f77735855f..0ba4db63cc 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 e9d9e62092..7e81696ce3 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 4b0c3d45c5..c719bbeaf4 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 83d97d44f3..e5212c3065 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 e1f02575b6..086b674fc5 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 4019c8982e..b2aec54577 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 0d03045cef..c4c2f9884f 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 c882abab74..82e4f9f95b 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 70f9db692f..1c78a6b94c 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 9048deceab..f99e9d2cc9 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 f68ce5397d..416be09563 100644 --- a/lib/adapters/REST/endpoints/usage.ts +++ b/lib/adapters/REST/endpoints/usage.ts @@ -1,8 +1,8 @@ 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, diff --git a/lib/adapters/REST/endpoints/user-ui-config.ts b/lib/adapters/REST/endpoints/user-ui-config.ts index 2d5692fa12..ca3f787952 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 d75a9a07a2..2f5d8773db 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 29c879f422..64c33854f2 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 65be5a85f6..9cb657bd0b 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 c4a950b00e..ee44820615 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 bee7070c2d..dd0e2b53fa 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 ea83c2febd..adba21c76c 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/index' +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 eff3150ade..59d2298a01 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 47a1e11ef6..80be466a0f 100644 --- a/lib/common-types.ts +++ b/lib/common-types.ts @@ -4,44 +4,47 @@ 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, 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, BulkActionUnpublishPayload, BulkActionValidatePayload, -} from './entities/bulk-action' +} from './entities/bulk-action.js' import type { CommentProps, CreateCommentParams, @@ -55,54 +58,57 @@ 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, 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, @@ -113,7 +119,7 @@ import type { WebhookRetryPolicyPayload, WebhookRetryPolicyProps, WebhookSigningSecretProps, -} from './entities/webhook' +} from './entities/webhook.js' import type { CreateTaskParams, @@ -122,39 +128,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, @@ -162,29 +168,29 @@ 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, CreateAiActionProps } from './entities/ai-action' +} from './entities/oauth-application.js' +import type { FunctionLogProps } from './entities/function-log.js' +import type { AiActionProps, 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 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 b7ac2febdb..9aa8b22239 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'] 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..31ff29bf1c 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 e5dc69c6d6..6062fb564f 100644 --- a/lib/create-app-definition-api.ts +++ b/lib/create-app-definition-api.ts @@ -1,9 +1,9 @@ -import type { MakeRequest, QueryOptions, SpaceQueryOptions } from './common-types' -import entities from './entities/index' -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 entities from './entities/index.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 diff --git a/lib/create-contentful-api.ts b/lib/create-contentful-api.ts index a107cf89f3..c71182a545 100644 --- a/lib/create-contentful-api.ts +++ b/lib/create-contentful-api.ts @@ -11,25 +11,25 @@ import type { BasicCursorPaginationOptions, GetOAuthApplicationParams, GetUserParams, -} from './common-types' -import entities from './entities/index' -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' +} from './common-types.js' +import entities from './entities/index.js' +import type { Organization, OrganizationProps } from './entities/organization.js' +import type { CreatePersonalAccessTokenProps } from './entities/personal-access-token.js' +import type { Space, SpaceProps } from './entities/space.js' +import type { AppDefinition } from './entities/app-definition.js' +import type { UsageQuery } from './entities/usage.js' +import type { UserProps } from './entities/user.js' import type { CreateEnvironmentTemplateProps, EnvironmentTemplate, EnvironmentTemplateProps, -} from './entities/environment-template' +} from './entities/environment-template.js' import type { RawAxiosRequestConfig } from 'axios' import type { CreateOAuthApplicationProps, OAuthApplication, OAuthApplicationProps, -} from './export-types' +} from './export-types.js' export type ClientAPI = ReturnType type CreateSpaceProps = Omit & { defaultLocale?: string } diff --git a/lib/create-entry-api.ts b/lib/create-entry-api.ts index da9e0f0ae0..d041abfbe2 100644 --- a/lib/create-entry-api.ts +++ b/lib/create-entry-api.ts @@ -1,10 +1,10 @@ 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/index' +import type { MakeRequest } from './common-types.js' +import type { CreateCommentParams, CreateCommentProps } from './entities/comment.js' +import type { Entry, EntryProps, EntryReferenceOptionsProps } from './entities/entry.js' +import type { CreateTaskProps } from './entities/task.js' +import * as checks from './plain/checks.js' +import entities from './entities/index.js' /** * @private diff --git a/lib/create-environment-api.ts b/lib/create-environment-api.ts index 3ccdecb424..3f808fa2a0 100644 --- a/lib/create-environment-api.ts +++ b/lib/create-environment-api.ts @@ -6,58 +6,58 @@ import type { CreatedAtIntervalParams, CursorBasedParams, QueryOptions, -} from './common-types' -import type { BasicQueryOptions, MakeRequest } from './common-types' -import entities from './entities/index' -import type { CreateAppInstallationProps } from './entities/app-installation' -import type { CreateAppSignedRequestProps } from './entities/app-signed-request' -import type { CreateAppActionCallProps } from './entities/app-action-call' +} from './common-types.js' +import type { BasicQueryOptions, MakeRequest } from './common-types.js' +import entities from './entities/index.js' +import type { CreateAppInstallationProps } from './entities/app-installation.js' +import type { CreateAppSignedRequestProps } from './entities/app-signed-request.js' +import type { CreateAppActionCallProps } from './entities/app-action-call.js' import type { AssetFileProp, AssetProps, CreateAssetFromFilesOptions, CreateAssetProps, -} from './entities/asset' -import type { CreateAssetKeyProps } from './entities/asset-key' +} from './entities/asset.js' +import type { CreateAssetKeyProps } from './entities/asset-key.js' import type { BulkAction, BulkActionPayload, BulkActionPublishPayload, BulkActionUnpublishPayload, BulkActionValidatePayload, -} from './entities/bulk-action' +} from './entities/bulk-action.js' -import type { ReleaseActionQueryOptions } from './entities/release-action' -import { wrapReleaseAction, wrapReleaseActionCollection } from './entities/release-action' +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' +} from './entities/release.js' +import { wrapRelease, wrapReleaseCollection } from './entities/release.js' -import type { ContentTypeProps, CreateContentTypeProps } from './entities/content-type' +import type { ContentTypeProps, CreateContentTypeProps } from './entities/content-type.js' 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/entry.js' +import type { EnvironmentProps } from './entities/environment.js' +import type { CreateExtensionProps } from './entities/extension.js' +import 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 type { CreateAppAccessTokenProps } from './entities/app-access-token.js' +import type { ResourceQueryOptions } from './entities/resource.js' +import type { AiActionInvocationType } from './entities/ai-action-invocation.js' +import { wrapAiActionInvocation } from './entities/ai-action-invocation.js' /** * @private diff --git a/lib/create-environment-template-api.ts b/lib/create-environment-template-api.ts index fbe1a75341..060ef3ba3a 100644 --- a/lib/create-environment-template-api.ts +++ b/lib/create-environment-template-api.ts @@ -1,11 +1,11 @@ import { createRequestConfig } from 'contentful-sdk-core' -import type { BasicCursorPaginationOptions, MakeRequest } from './common-types' -import entities from './entities/index' -import type { EnvironmentTemplateProps } from './entities/environment-template' +import type { BasicCursorPaginationOptions, MakeRequest } from './common-types.js' +import entities from './entities/index.js' +import type { EnvironmentTemplateProps } from './entities/environment-template.js' import type { CreateEnvironmentTemplateInstallationProps, ValidateEnvironmentTemplateInstallationProps, -} from './entities/environment-template-installation' +} from './entities/environment-template-installation.js' export type ContentfulEnvironmentTemplateApi = ReturnType diff --git a/lib/create-organization-api.ts b/lib/create-organization-api.ts index 9f6fcb11a7..5fea20db98 100644 --- a/lib/create-organization-api.ts +++ b/lib/create-organization-api.ts @@ -1,9 +1,9 @@ import { createRequestConfig } from 'contentful-sdk-core' -import entities from './entities/index' +import entities from './entities/index.js' 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 type { CreateTeamMembershipProps } from './entities/team-membership.js' +import type { CreateTeamProps } from './entities/team.js' +import type { CreateOrganizationInvitationProps } from './entities/organization-invitation.js' import type { AcceptsQueryOptions, AcceptsQueryParams, @@ -11,14 +11,14 @@ import type { 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 type { CreateAppDefinitionProps } from './entities/app-definition.js' +import type { CreateAppActionProps } from './entities/app-action.js' +import type { CreateAppSigningSecretProps } from './entities/app-signing-secret.js' +import type { CreateAppEventSubscriptionProps } from './entities/app-event-subscription.js' +import type { CreateAppKeyProps } from './entities/app-key.js' +import type { CreateAppDetailsProps } from './entities/app-details.js' +import type { OrganizationProps } from './entities/organization.js' /** * @private diff --git a/lib/create-space-api.ts b/lib/create-space-api.ts index a61ed783b4..450bcd41cd 100644 --- a/lib/create-space-api.ts +++ b/lib/create-space-api.ts @@ -4,22 +4,29 @@ */ import { createRequestConfig } from 'contentful-sdk-core' -import type { MakeRequest, PaginationQueryOptions, QueryOptions } from './common-types' -import entities from './entities/index' -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 { MakeRequest, PaginationQueryOptions, QueryOptions } from './common-types.js' +import entities from './entities/index.js' +import type { CreateApiKeyProps } from './entities/api-key.js' +import type { CreateEnvironmentProps } from './entities/environment.js' +import type { CreateEnvironmentAliasProps } from './entities/environment-alias.js' +import type { CreateRoleProps, RoleProps } from './entities/role.js' +import type { + ScheduledActionProps, + ScheduledActionQueryOptions, +} from './entities/scheduled-action.js' +import type { SpaceProps } from './entities/space.js' +import type { CreateSpaceMembershipProps } from './entities/space-membership.js' +import type { CreateTeamSpaceMembershipProps } from './entities/team-space-membership.js' import type { CreateWebhooksProps, UpsertWebhookSigningSecretPayload, WebhookRetryPolicyPayload, -} from './entities/webhook' -import type { AiActionProps, AiActionQueryOptions, CreateAiActionProps } from './entities/ai-action' +} from './entities/webhook.js' +import type { + AiActionProps, + AiActionQueryOptions, + CreateAiActionProps, +} from './entities/ai-action.js' /** * @private diff --git a/lib/create-ui-config-api.ts b/lib/create-ui-config-api.ts index 31e1bdf888..ca1d5d0341 100644 --- a/lib/create-ui-config-api.ts +++ b/lib/create-ui-config-api.ts @@ -1,6 +1,6 @@ -import type { MakeRequest } from './common-types' -import entities from './entities/index' -import type { UIConfig } from './entities/ui-config' +import type { MakeRequest } from './common-types.js' +import entities from './entities/index.js' +import type { UIConfig } from './entities/ui-config.js' /** * @private diff --git a/lib/create-user-ui-config-api.ts b/lib/create-user-ui-config-api.ts index 053c86e6fa..f9d7dc9e17 100644 --- a/lib/create-user-ui-config-api.ts +++ b/lib/create-user-ui-config-api.ts @@ -1,6 +1,6 @@ -import type { MakeRequest } from './common-types' -import entities from './entities/index' -import type { UserUIConfig } from './entities/user-ui-config' +import type { MakeRequest } from './common-types.js' +import entities from './entities/index.js' +import type { UserUIConfig } from './entities/user-ui-config.js' /** * @private diff --git a/lib/entities/access-token.ts b/lib/entities/access-token.ts index a6bad89dd5..5ee9dc5667 100644 --- a/lib/entities/access-token.ts +++ b/lib/entities/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 { DefaultElements, MakeRequest, BasicMetaSysProps, Link } 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 diff --git a/lib/entities/ai-action-invocation.ts b/lib/entities/ai-action-invocation.ts index 893dc42962..228fadc317 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, Link, MakeRequest } 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 enum InvocationStatus { diff --git a/lib/entities/ai-action.ts b/lib/entities/ai-action.ts index 4afeca755d..628fc27b2a 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 enum StatusFilter { ALL = 'all', diff --git a/lib/entities/api-key.ts b/lib/entities/api-key.ts index 2738e010be..a80f48fee1 100644 --- a/lib/entities/api-key.ts +++ b/lib/entities/api-key.ts @@ -1,8 +1,8 @@ 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' export type ApiKeyProps = { sys: MetaSysProps<'User'> diff --git a/lib/entities/app-access-token.ts b/lib/entities/app-access-token.ts index 6f41a9ce2e..13aeb0f772 100644 --- a/lib/entities/app-access-token.ts +++ b/lib/entities/app-access-token.ts @@ -1,7 +1,7 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' type AppAccessTokenSys = Except, 'version' | 'id'> & { space: Link<'Space'> diff --git a/lib/entities/app-action-call.ts b/lib/entities/app-action-call.ts index 1224be003f..2772b463d8 100644 --- a/lib/entities/app-action-call.ts +++ b/lib/entities/app-action-call.ts @@ -7,9 +7,9 @@ import type { DefaultElements, Link, MakeRequest, -} 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, 'version'> & { appDefinition: Link<'AppDefinition'> diff --git a/lib/entities/app-action.ts b/lib/entities/app-action.ts index 8521b1d230..d91ac3ef2f 100644 --- a/lib/entities/app-action.ts +++ b/lib/entities/app-action.ts @@ -1,10 +1,10 @@ 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, Link, MakeRequest } from '../common-types' -import type { ParameterDefinition } from './widget-parameters' -import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils.js' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' +import type { ParameterDefinition } from './widget-parameters.js' +import enhanceWithMethods from '../enhance-with-methods.js' type AppActionSys = Except, 'version'> & { appDefinition: Link<'AppDefinition'> diff --git a/lib/entities/app-bundle.ts b/lib/entities/app-bundle.ts index 0f2a31e830..803ccd1544 100644 --- a/lib/entities/app-bundle.ts +++ b/lib/entities/app-bundle.ts @@ -1,9 +1,9 @@ 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, Link, MakeRequest } 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, 'version'> & { appDefinition: Link<'AppDefinition'> diff --git a/lib/entities/app-definition.ts b/lib/entities/app-definition.ts index 2ae48d2195..6c17c02297 100644 --- a/lib/entities/app-definition.ts +++ b/lib/entities/app-definition.ts @@ -1,15 +1,15 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import type { DefaultElements, BasicMetaSysProps, 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 diff --git a/lib/entities/app-details.ts b/lib/entities/app-details.ts index 092c2a6718..d1f4b8dea1 100644 --- a/lib/entities/app-details.ts +++ b/lib/entities/app-details.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } 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, 'version' | 'id'> & { appDefinition: Link<'AppDefinition'> diff --git a/lib/entities/app-event-subscription.ts b/lib/entities/app-event-subscription.ts index e5340aa448..2207e9a741 100644 --- a/lib/entities/app-event-subscription.ts +++ b/lib/entities/app-event-subscription.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } 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< BasicMetaSysProps<'AppEventSubscription', 'User'>, diff --git a/lib/entities/app-installation.ts b/lib/entities/app-installation.ts index 42aae479a7..4257cc5eda 100644 --- a/lib/entities/app-installation.ts +++ b/lib/entities/app-installation.ts @@ -1,10 +1,10 @@ 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, MakeRequest, Link } 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, 'id'> & { diff --git a/lib/entities/app-key.ts b/lib/entities/app-key.ts index cb9b10973e..996cf03e1e 100644 --- a/lib/entities/app-key.ts +++ b/lib/entities/app-key.ts @@ -1,9 +1,9 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } 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, 'version'> & { appDefinition: Link<'AppDefinition'> diff --git a/lib/entities/app-signed-request.ts b/lib/entities/app-signed-request.ts index 600f898ffe..7501dd804d 100644 --- a/lib/entities/app-signed-request.ts +++ b/lib/entities/app-signed-request.ts @@ -1,7 +1,7 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' type AppSignedRequestSys = Except< BasicMetaSysProps<'AppSignedRequest', 'User'>, diff --git a/lib/entities/app-signing-secret.ts b/lib/entities/app-signing-secret.ts index b41069119b..6a1997c5f9 100644 --- a/lib/entities/app-signing-secret.ts +++ b/lib/entities/app-signing-secret.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } 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< BasicMetaSysProps<'AppSigningSecret', 'User'>, diff --git a/lib/entities/app-upload.ts b/lib/entities/app-upload.ts index 24cde6c4c1..a15ceaedc3 100644 --- a/lib/entities/app-upload.ts +++ b/lib/entities/app-upload.ts @@ -1,9 +1,9 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, MakeRequest, Link } 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, 'version'> 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 1f8d2995a7..19c9fbbbef 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 diff --git a/lib/entities/bulk-action.ts b/lib/entities/bulk-action.ts index ca697c513b..08d394f006 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 1a7122412c..c08f26c566 100644 --- a/lib/entities/comment.ts +++ b/lib/entities/comment.ts @@ -10,9 +10,9 @@ import type { Link, MakeRequest, 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 // 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 d1011eb3d6..44eb08e0b7 100644 --- a/lib/entities/content-type.ts +++ b/lib/entities/content-type.ts @@ -8,16 +8,16 @@ import type { Link, MakeRequest, QueryOptions, -} 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 } diff --git a/lib/entities/editor-interface.ts b/lib/entities/editor-interface.ts index 9c180c5ddd..95f85f6800 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, DefaultElements, MakeRequest, Link } 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 { /** diff --git a/lib/entities/entry.ts b/lib/entities/entry.ts index aefb945cc4..4518ad378c 100644 --- a/lib/entities/entry.ts +++ b/lib/entities/entry.ts @@ -8,12 +8,12 @@ import type { 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'> diff --git a/lib/entities/environment-alias.ts b/lib/entities/environment-alias.ts index f717013f8a..9fc4a99a88 100644 --- a/lib/entities/environment-alias.ts +++ b/lib/entities/environment-alias.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, MakeRequest, Link } 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 = { /** diff --git a/lib/entities/environment-template-installation.ts b/lib/entities/environment-template-installation.ts index b97562d346..8fa5871b64 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 ddef146121..3640235ebd 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' diff --git a/lib/entities/environment.ts b/lib/entities/environment.ts index 2dc7cc0ef7..3e76dbae87 100644 --- a/lib/entities/environment.ts +++ b/lib/entities/environment.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 { ContentfulEnvironmentAPI } from '../create-environment-api' -import createEnvironmentApi from '../create-environment-api' -import { wrapCollection } from '../common-utils' -import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } 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<'EnvironmentMeta', 'User'> & { status: Link<'Status'> diff --git a/lib/entities/extension.ts b/lib/entities/extension.ts index 9107a79f62..9924599bbc 100644 --- a/lib/entities/extension.ts +++ b/lib/entities/extension.ts @@ -1,14 +1,14 @@ 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, MakeRequest, Link } 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<'Extension', 'User'> & { diff --git a/lib/entities/function-log.ts b/lib/entities/function-log.ts index 7d2a8bf1b2..a90d70848a 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 f5694a4c1f..f30c4dcd27 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 index d63243839a..ce345edce1 100644 --- a/lib/entities/index.ts +++ b/lib/entities/index.ts @@ -1,65 +1,65 @@ -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' +import * as aiAction from './ai-action.js' +import * as aiActionInvocation from './ai-action-invocation.js' +import * as apiKey from './api-key.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 appInstallation from './app-installation.js' +import * as appSignedRequest from './app-signed-request.js' +import * as appSigningSecret from './app-signing-secret.js' +import * as appEventSubscription from './app-event-subscription.js' +import * as appKey from './app-key.js' +import * as appAccessToken from './app-access-token.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 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 func from './function.js' +import * as functionLog from './function-log.js' +import * as locale from './locale.js' +import * as oauthApplication from './oauth-application.js' +import * as organization from './organization.js' +import * as organizationInvitation from './organization-invitation.js' +import * as organizationMembership from './organization-membership.js' +import * as personalAccessToken from './personal-access-token.js' +import * as accessToken from './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 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 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 workflowDefinition from './workflow-definition.js' +import * as concept from './concept.js' +import * as conceptScheme from './concept-scheme.js' +import * as resourceProvider from './resource-provider.js' +import * as resourceType from './resource-type.js' +import * as resource from './resource.js' export default { aiAction, diff --git a/lib/entities/locale.ts b/lib/entities/locale.ts index 0a2bcebb33..2acfe199dd 100644 --- a/lib/entities/locale.ts +++ b/lib/entities/locale.ts @@ -1,9 +1,9 @@ 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, DefaultElements, MakeRequest, Link } 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<'Locale', 'User' | 'AppDefinition'> & { diff --git a/lib/entities/oauth-application.ts b/lib/entities/oauth-application.ts index 5014b3938e..acdf536ed9 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<'Application', 'User'> & { lastUsedAt: string | null diff --git a/lib/entities/organization-invitation.ts b/lib/entities/organization-invitation.ts index 229435bbea..5cce036b1e 100644 --- a/lib/entities/organization-invitation.ts +++ b/lib/entities/organization-invitation.ts @@ -1,6 +1,6 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types.js' export type OrganizationInvitationProps = { sys: MetaSysProps<'User'> & { diff --git a/lib/entities/organization-membership.ts b/lib/entities/organization-membership.ts index c1abd5c4e0..29b0dd79bb 100644 --- a/lib/entities/organization-membership.ts +++ b/lib/entities/organization-membership.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, Link } 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 = { /** diff --git a/lib/entities/organization.ts b/lib/entities/organization.ts index 29e51e90c6..0788de147d 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 f026195a68..506bfbd0e1 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<'User'> & { expiresAt?: string } diff --git a/lib/entities/preview-api-key.ts b/lib/entities/preview-api-key.ts index 65e2cac385..745779d5e6 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<'User'> diff --git a/lib/entities/release-action.ts b/lib/entities/release-action.ts index ab8758c804..3b55e0b34a 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 274bc2acfd..1fb0222f09 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 ca41fde2ab..fcf57ad710 100644 --- a/lib/entities/resource-provider.ts +++ b/lib/entities/resource-provider.ts @@ -4,12 +4,12 @@ import type { DefaultElements, Link, MakeRequest, -} 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 './index' +import enhanceWithMethods from '../enhance-with-methods.js' +import type { ResourceType, UpsertResourceTypeProps } from './resource-type.js' +import entities from './index.js' export type ResourceProviderProps = { /** diff --git a/lib/entities/resource-type.ts b/lib/entities/resource-type.ts index a5b5d6cfcb..e01e1f4f7c 100644 --- a/lib/entities/resource-type.ts +++ b/lib/entities/resource-type.ts @@ -5,11 +5,11 @@ import type { GetResourceTypeParams, Link, MakeRequest, -} 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 = { /** diff --git a/lib/entities/resource.ts b/lib/entities/resource.ts index a0ec082647..31de2e1b10 100644 --- a/lib/entities/resource.ts +++ b/lib/entities/resource.ts @@ -3,8 +3,8 @@ import type { CursorPaginatedCollectionProp, Link, MakeRequest, -} 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 diff --git a/lib/entities/role.ts b/lib/entities/role.ts index 6a9a966fb0..e1ab0e4888 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, MakeRequest, Link } 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' diff --git a/lib/entities/scheduled-action.ts b/lib/entities/scheduled-action.ts index cca6465254..5d9fa59eff 100644 --- a/lib/entities/scheduled-action.ts +++ b/lib/entities/scheduled-action.ts @@ -8,9 +8,9 @@ import type { 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 diff --git a/lib/entities/snapshot.ts b/lib/entities/snapshot.ts index db0508204f..98148beba3 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<'User'> & { diff --git a/lib/entities/space-member.ts b/lib/entities/space-member.ts index 90285bcf70..8badd03a1f 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, Link, MakeRequest, 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<'User'> diff --git a/lib/entities/space-membership.ts b/lib/entities/space-membership.ts index 68f0671e5c..e80756f059 100644 --- a/lib/entities/space-membership.ts +++ b/lib/entities/space-membership.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, Link } 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<'User'> & { space: Link<'Space'>; user: Link<'User'> } diff --git a/lib/entities/space.ts b/lib/entities/space.ts index 2b25aad117..69c8281e3f 100644 --- a/lib/entities/space.ts +++ b/lib/entities/space.ts @@ -1,10 +1,10 @@ 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<'Space', 'User'> & { diff --git a/lib/entities/tag.ts b/lib/entities/tag.ts index 240912805a..91c4384387 100644 --- a/lib/entities/tag.ts +++ b/lib/entities/tag.ts @@ -6,9 +6,9 @@ import type { Link, MakeRequest, MetaSysProps, -} 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' diff --git a/lib/entities/task.ts b/lib/entities/task.ts index 7e097d0f17..6624659333 100644 --- a/lib/entities/task.ts +++ b/lib/entities/task.ts @@ -7,9 +7,9 @@ import type { GetTaskParams, Link, MakeRequest, -} 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' diff --git a/lib/entities/team-membership.ts b/lib/entities/team-membership.ts index c1870649d6..462da60778 100644 --- a/lib/entities/team-membership.ts +++ b/lib/entities/team-membership.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, MetaSysProps, MakeRequest, Link } 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 = { /** diff --git a/lib/entities/team-space-membership.ts b/lib/entities/team-space-membership.ts index 33b6041321..a07fbd5ae2 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, MetaSysProps, QueryOptions, -} from '../common-types' +} from '../common-types.js' export interface Options { teamId?: string diff --git a/lib/entities/team.ts b/lib/entities/team.ts index 53af606133..5138b20c45 100644 --- a/lib/entities/team.ts +++ b/lib/entities/team.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, MetaSysProps, MakeRequest, Link } 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 = { /** diff --git a/lib/entities/ui-config.ts b/lib/entities/ui-config.ts index 2d2e1d8d69..6309a31f92 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, Link, MakeRequest } 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 = { /** diff --git a/lib/entities/upload-credential.ts b/lib/entities/upload-credential.ts index b0620c6109..7425ce477e 100644 --- a/lib/entities/upload-credential.ts +++ b/lib/entities/upload-credential.ts @@ -1,7 +1,7 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, Link, MakeRequest, MetaSysProps } 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 = { /** diff --git a/lib/entities/upload.ts b/lib/entities/upload.ts index cccf4d3906..4b6288f836 100644 --- a/lib/entities/upload.ts +++ b/lib/entities/upload.ts @@ -1,7 +1,7 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods' -import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods.js' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types.js' export type UploadProps = { /** diff --git a/lib/entities/usage.ts b/lib/entities/usage.ts index b9476cbf82..160d62b5ce 100644 --- a/lib/entities/usage.ts +++ b/lib/entities/usage.ts @@ -1,8 +1,8 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, Link, MakeRequest, 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' diff --git a/lib/entities/user-ui-config.ts b/lib/entities/user-ui-config.ts index 99fd146612..1989908b86 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, Link, MakeRequest } 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 = { /** diff --git a/lib/entities/user.ts b/lib/entities/user.ts index 9959488658..227895d32a 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 c016a35ff1..f6890b6f30 100644 --- a/lib/entities/webhook.ts +++ b/lib/entities/webhook.ts @@ -7,9 +7,9 @@ import type { DefaultElements, Link, MakeRequest, -} 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] diff --git a/lib/entities/workflow-definition.ts b/lib/entities/workflow-definition.ts index 14b341f721..4636c71718 100644 --- a/lib/entities/workflow-definition.ts +++ b/lib/entities/workflow-definition.ts @@ -8,9 +8,9 @@ import type { Link, MakeRequest, PaginationQueryOptions, -} 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[]] diff --git a/lib/entities/workflow.ts b/lib/entities/workflow.ts index 6901697e9a..c616b9ddb7 100644 --- a/lib/entities/workflow.ts +++ b/lib/entities/workflow.ts @@ -8,9 +8,9 @@ import type { Link, MakeRequest, PaginationQueryOptions, -} 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<'Workflow', 'User' | 'AppDefinition'>, diff --git a/lib/entities/workflows-changelog-entry.ts b/lib/entities/workflows-changelog-entry.ts index 0d0b508a1c..6154f2b04f 100644 --- a/lib/entities/workflows-changelog-entry.ts +++ b/lib/entities/workflows-changelog-entry.ts @@ -6,9 +6,9 @@ import type { MakeRequest, PaginationQueryOptions, 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) */ diff --git a/lib/export-types.ts b/lib/export-types.ts index a06705ce94..7471a9627b 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,19 +23,19 @@ export type { AppActionProps, AppActionType, CreateAppActionProps, -} from './entities/app-action' +} from './entities/app-action.js' export type { AppActionCall, AppActionCallProps, AppActionCallResponse, 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, @@ -42,38 +45,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, @@ -83,7 +86,7 @@ export type { BulkActionType, BulkActionUnpublishPayload, BulkActionValidatePayload, -} from './entities/bulk-action' +} from './entities/bulk-action.js' export type { Comment, CommentProps, @@ -95,20 +98,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, @@ -119,7 +122,7 @@ export type { FieldItem, GroupControl, SidebarItem, -} from './entities/editor-interface' +} from './entities/editor-interface.js' export type { CreateEntryProps, Entry, @@ -127,13 +130,17 @@ export type { WithResourceName, EntryMetaSysProps, EntryReferenceProps, -} from './entities/entry' -export type { CreateEnvironmentProps, Environment, EnvironmentProps } from './entities/environment' +} 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, @@ -141,7 +148,7 @@ export type { EnvironmentTemplate, EnvironmentTemplateProps, Hint, -} from './entities/environment-template' +} from './entities/environment-template.js' export type { CreateEnvironmentTemplateInstallationProps, EnvironmentTemplateInstallation, @@ -150,37 +157,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, @@ -190,47 +197,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, ActionType, ConstraintType } 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, TagSysProps } 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, @@ -244,7 +257,7 @@ export type { WebhookCallDetailsProps, WebhookCallOverviewProps, WebhookHealthProps, -} from './entities/webhook' +} from './entities/webhook.js' export type { CreateWorkflowDefinitionParams, CreateWorkflowDefinitionProps, @@ -271,29 +284,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, @@ -301,7 +314,7 @@ export type { ParameterDefinition, ParameterOption, ParameterType, -} from './entities/widget-parameters' +} from './entities/widget-parameters.js' export type { CreateWorkflowProps, DeleteWorkflowParams, @@ -309,9 +322,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/index.ts b/lib/index.ts index a5343e198e..9aff801703 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -5,29 +5,29 @@ */ 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/index' +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' -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' interface UserAgentParams { /** diff --git a/lib/methods/action.ts b/lib/methods/action.ts index ef796107b1..e11e46d711 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/bulk-action.ts b/lib/methods/bulk-action.ts index 0ea7056d4a..e82ba5ca5f 100644 --- a/lib/methods/bulk-action.ts +++ b/lib/methods/bulk-action.ts @@ -1,7 +1,7 @@ -import type { BulkActionPayload, BulkActionProps } from '../entities/bulk-action' -import type { PlainClientAPI } from '../plain/common-types' -import type { AsyncActionProcessingOptions } from './action' -import { pollAsyncActionStatus } from './action' +import type { BulkActionPayload, BulkActionProps } from '../entities/bulk-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/methods/content-type.ts b/lib/methods/content-type.ts index fc9c2cda03..d9553fcae1 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 fc53b03610..803d0cfde9 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 f2583d2d92..bd6312c1bd 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 3a15494fb8..b9e8cbae62 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 dfa98ffc88..4a9875dd01 100644 --- a/lib/plain/common-types.ts +++ b/lib/plain/common-types.ts @@ -17,109 +17,109 @@ import type { GetSpaceParams, KeyValueMap, QueryParams, -} 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, BulkActionPublishPayload, BulkActionUnpublishPayload, BulkActionValidatePayload, -} 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, 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 diff --git a/lib/plain/entities/ai-action-invocation.ts b/lib/plain/entities/ai-action-invocation.ts index fd4a8e3007..eb7076604a 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 83e9c60249..7704f07707 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 fdd24bc9c9..d12e3d48b7 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 ea7a9e4550..2cc40e411c 100644 --- a/lib/plain/entities/app-action-call.ts +++ b/lib/plain/entities/app-action-call.ts @@ -1,10 +1,10 @@ -import type { GetAppActionCallDetailsParams, GetAppActionCallParams } from '../../common-types' +import type { GetAppActionCallDetailsParams, GetAppActionCallParams } from '../../common-types.js' import type { AppActionCallProps, AppActionCallResponse, 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 dbf9faa2b8..e880309a13 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 9c7f80fc63..1ae5d94180 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 5dbcd86aa8..5051ebacf5 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 43942b135f..05432fdec1 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 902dd08eba..a34f8465f1 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 96e94d5f4f..4e3fc8fb08 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 5707027163..cfb06f93f9 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 e4864aa323..bfc24d8841 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 b651f92e38..03494c249f 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 52e2a6b0b3..429d81438c 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 06ca929b6f..1fea7304ce 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 6bf1e8faf8..6ae7ed8459 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' diff --git a/lib/plain/entities/concept.ts b/lib/plain/entities/concept.ts index 06d5a059f8..8d644ff059 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' diff --git a/lib/plain/entities/editor-interface.ts b/lib/plain/entities/editor-interface.ts index 14be3a5d1a..71844523cb 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 76e2e5f2f3..dee0d0e10f 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 2cf63d600c..4f90644b37 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 026d2e3f88..4369a3675f 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 676213e4e9..3b1d1dd9bf 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 2d765e2aa6..141e6693ad 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 c1b4ae2e05..ba97187cc3 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 66ec13b53c..7003c321d3 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 e0c51ba59f..d7440cfd7f 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 35b3aafb9e..d82610c9c2 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 912ed0aab2..b1abb4223f 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 7bce30a994..56f3a62367 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 9fcc5a2e90..427c555706 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 3a97780d99..0ecf212035 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 5a388b66df..fad5da3f5e 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 ad79052682..92dac53fbe 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 e743366991..565cc73764 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 3574cb399f..5c75c1ba85 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 d7f5bba710..618e7c053e 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 c6f89c32d0..8dc07e62c3 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 5115095b8a..2a7bca1ed3 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 47419a91b8..50b1ccae99 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 d4324ffe53..a9244797ba 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 b93e0071cb..a68d2a628a 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 647d24b882..37b0858fbd 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 5c81855e2d..f94ac71686 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 6a27921312..c589292139 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 9a1f386ff6..47eb42c96f 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 d090191225..058722b96f 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 df9f1e902d..ccf9ee9722 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 4034480bc2..8f7f3b2599 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 d8b8a45a8f..ebb41bdc5d 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 d98ea72440..8a6030914e 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 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 d979b38cbb..bbc5d7f024 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/rollup.config.js b/rollup.config.js index 6b7d038189..5e60ab3ed7 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,7 +1,7 @@ import { resolve, dirname } from 'path'; import { fileURLToPath } from 'url' -import pkg from './package.json' with { type: 'json' } +import pkg from "./package.json" with { type: 'json' } import nodeResolve from '@rollup/plugin-node-resolve' import commonjs from '@rollup/plugin-commonjs' diff --git a/test/helpers.ts b/test/helpers.ts index ab6c50f507..067dd07577 100644 --- a/test/helpers.ts +++ b/test/helpers.ts @@ -1,7 +1,7 @@ import type { CreateHttpClientParams } from 'contentful-sdk-core' -import { createClient } from '../lib' -import type { Environment, Organization, Space } from '../lib' -import { TestDefaults } from './defaults' +import { createClient } from '../lib.js' +import type { Environment, Organization, Space } from '../lib.js' +import { TestDefaults } from './defaults.js' import * as testUtils from '@contentful/integration-test-utils' diff --git a/test/integration/ai-action-integration.test.ts b/test/integration/ai-action-integration.test.ts index ec1a3f3b06..72ef248e96 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 9fefa58d54..300db8a306 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 637d3238a1..7862fcd49d 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' +} from '../../lib.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 3b5ca899a9..6c1cf332aa 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' +import type { AppActionProps, PlainClientAPI } from '../../lib.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 6b7b0354bc..6a01b63f69 100644 --- a/test/integration/app-bundle-integration.test.ts +++ b/test/integration/app-bundle-integration.test.ts @@ -1,7 +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' +import { getTestOrganization, getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers.js' +import type { Organization, AppDefinition, AppUpload, Space, Environment } from '../../lib.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 7337044cac..9a66defede 100644 --- a/test/integration/app-definition-integration.test.ts +++ b/test/integration/app-definition-integration.test.ts @@ -6,8 +6,8 @@ import { createAppInstallation, getDefaultSpace, timeoutToCalmRateLimiting, -} from '../helpers' -import type { Organization, Space, Environment, AppInstallation } from '../../lib' +} from '../helpers.js' +import type { Organization, Space, Environment, AppInstallation } from '../../lib.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 cfb45ae7e1..4f6a7960bd 100644 --- a/test/integration/app-details-integration.test.ts +++ b/test/integration/app-details-integration.test.ts @@ -1,6 +1,6 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' -import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' -import type { AppIcon, PlainClientAPI, Organization, AppDefinition } from '../../lib' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { AppIcon, PlainClientAPI, Organization, AppDefinition } from '../../lib.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 50c0c6b8ed..39b7520d69 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' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { PlainClientAPI, Organization, AppDefinition } from '../../lib.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 83e09f6075..c9e1b45462 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' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { PlainClientAPI, Organization, AppDefinition } from '../../lib.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 83e09f6075..c9e1b45462 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' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { PlainClientAPI, Organization, AppDefinition } from '../../lib.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 d6d7158f08..b1fab712c8 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' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { PlainClientAPI, Organization, AppDefinition } from '../../lib.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 7e6a950933..873c50f133 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' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' +import type { Organization } from '../../lib.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 25ad21e509..cb2551fcfb 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 351ede9655..5fb45d29a4 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 505cc6ec24..8f4f83a0d3 100644 --- a/test/integration/bulk-action-integration.test.ts +++ b/test/integration/bulk-action-integration.test.ts @@ -5,12 +5,12 @@ import type { BulkActionPublishPayload, BulkActionUnpublishPayload, BulkActionValidatePayload, -} from '../../lib' -import type { Environment, Space } from '../../lib' -import { waitForBulkActionProcessing } from '../../lib/methods/bulk-action' -import { TestDefaults } from '../defaults' -import { getDefaultSpace, initPlainClient, timeoutToCalmRateLimiting } from '../helpers' -import { makeLink, makeVersionedLink } from '../utils' +} from '../../lib.js' +import type { Environment, Space } from '../../lib.js' +import { waitForBulkActionProcessing } from '../../lib/methods/bulk-action.js' +import { TestDefaults } from '../defaults.js' +import { getDefaultSpace, initPlainClient, timeoutToCalmRateLimiting } from '../helpers.js' +import { makeLink, makeVersionedLink } from '../utils.js' describe('BulkActions Api', () => { let testSpace: Space diff --git a/test/integration/comment-integration.test.ts b/test/integration/comment-integration.test.ts index 9c6d638a4d..f08e2937dc 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 9042208c07..58b1f88524 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 c7eff4e4ef..5247d6bedc 100644 --- a/test/integration/entry-integration.test.ts +++ b/test/integration/entry-integration.test.ts @@ -9,15 +9,15 @@ import { waitForEnvironmentToBeReady, getTestOrganizationId, timeoutToCalmRateLimiting, -} from '../helpers' +} from '../helpers.js' import type { ConceptProps, ContentType, Environment, PlainClientAPI, Space, -} from '../../lib/export-types' -import { TestDefaults } from '../defaults' +} from '../../lib/export-types.js' +import { TestDefaults } from '../defaults.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 1ae41a90f9..219c63d819 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' -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.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 ENTRY_WITH_REFERENCES_ID = TestDefaults.entry.testEntryReferenceId 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 401985342c..ff41b79721 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 8c3cf27af9..8c8270f189 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,14 +8,14 @@ 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 = () => Promise 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 8fd4f74a2c..853b4292d2 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 6a86289634..1fff053379 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 9e6eb17c36..ff221bba65 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 77f7a90203..e131b9dee8 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 e7e0c88bc5..7bf6e203ca 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 667e4e01e6..bfe55731cc 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 0d674ad35f..83735cd6e8 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 61be24a087..6a4e203844 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 bef71dbe18..a00458e4b1 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[] = [] 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 260b48051f..88b77a2dd1 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 877bdaf163..d12296cb53 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/unit/adapters/REST/endpoints/app-action-call.test.ts b/test/unit/adapters/REST/endpoints/app-action-call.test.ts index 6dc1be5276..c8c253317e 100644 --- a/test/unit/adapters/REST/endpoints/app-action-call.test.ts +++ b/test/unit/adapters/REST/endpoints/app-action-call.test.ts @@ -1,10 +1,10 @@ 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' -import type { MakeRequest, MakeRequestOptions } from '../../../../../lib/export-types' +import type { CreateAppActionCallProps } from '../../../../../lib/entities/app-action-call.js' +import { wrapAppActionCallResponse } from '../../../../../lib/entities/app-action-call.js' +import type { MakeRequest, MakeRequestOptions } from '../../../../../lib/export-types.js' function setup(promise, mockName, params = {}) { const entityMock = cloneMock(mockName) diff --git a/test/unit/adapters/REST/endpoints/asset.test.ts b/test/unit/adapters/REST/endpoints/asset.test.ts index 9cbc3db6a6..4e4cfc5617 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 633a8a7916..5526495cf0 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 { diff --git a/test/unit/adapters/REST/endpoints/concept.test.ts b/test/unit/adapters/REST/endpoints/concept.test.ts index 9f24572e75..88dacc5f37 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 { diff --git a/test/unit/adapters/REST/endpoints/entry.test.ts b/test/unit/adapters/REST/endpoints/entry.test.ts index 99503dcb8e..b8cfacfb36 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 fdcd41b0fa..0966566119 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 d33b223c08..0a07125546 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 2ab1ce6f97..6407b4a414 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 f0df0cc292..b4fc5185e5 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 314eb84298..25016c6c93 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 424284d784..1a067bb65f 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 194e758bf9..25d6c3b417 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 98326ff88b..29cb69b38e 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 bbcdbe4372..e0d5b668e0 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 4ff5b4be5d..68738323b5 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 a79a935070..4dd9f857d1 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..5bd36bf577 100644 --- a/test/unit/constants/controls-defaults.test.ts +++ b/test/unit/constants/controls-defaults.test.ts @@ -3,7 +3,7 @@ import getDefaultControlOfField, { DEFAULTS_WIDGET, FIELD_TYPES, toApiFieldType, -} from '../../../lib/constants/editor-interface-defaults/controls-defaults' +} from '../../../lib/constants/editor-interface-defaults/controls-defaults.js' const baseField = { id: 'mockedId', name: 'mockedName', required: false, localized: false } 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 2cd2c8bac3..aae414ebeb 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 2106e605e6..4407949e52 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 73b29d658d..d1fe28809b 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,12 +28,12 @@ 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' +} 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' function setup(promise: Promise) { const entitiesMock = setupEntitiesMock() diff --git a/test/unit/create-environment-template-api.test.ts b/test/unit/create-environment-template-api.test.ts index 735be6f19f..dab5ee1fb1 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 0f4113daca..5d3aa88cec 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 fd78820ff3..a531ea3117 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 c8f743b139..0c1b1c8047 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 25bfd85229..90ecfaed02 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 db88d44de7..ce1c0400e9 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 6d0cafd77d..c3a6364e7b 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..4694b9ac3b 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 { 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 9bd7b85d40..862ae0148b 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 a97fcbdfca..8ae66680c7 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' -import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' -import { resourceProviderMock } from '../mocks/entities' +import { createClient } from '../../../lib.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 87ba8599f4..c6f331e06d 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' -import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' -import { resourceTypeMock } from '../mocks/entities' +import { createClient } from '../../../lib.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 2daa4644ef..efb78a13ce 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' -import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' -import { resourceMock } from '../mocks/entities' +import { createClient } from '../../../lib.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 b7d04b82e9..7ad4564a87 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' -import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' +import { createClient } from '../../../lib.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 5516637193..a8ac4dbcfb 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 4b488672f1..893d36f4d6 100644 --- a/test/unit/test-creators/static-entity-methods.ts +++ b/test/unit/test-creators/static-entity-methods.ts @@ -1,4 +1,4 @@ -import { cloneMock } from '../mocks/entities' +import { cloneMock } from '../mocks/entities.js' import { cloneDeep, upperFirst } from 'lodash' import { expect } from 'vitest' diff --git a/test/utils.ts b/test/utils.ts index 6c311c752b..c990d6d0f3 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 7115cce484..5f4799337e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,8 +4,8 @@ "rootDir": "./lib", "lib": ["dom", "esnext"], "target": "ES2017", - "module": "es2020", - "moduleResolution": "node", + "module": "nodenext", + "moduleResolution": "nodenext", "allowJs": true, "declarationDir": "dist/types", "declaration": true, 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() From a468a94e689ba0ca1a959697a0425c31c1b7c658 Mon Sep 17 00:00:00 2001 From: Lisa White Date: Fri, 27 Jun 2025 15:18:26 -0600 Subject: [PATCH 19/48] fix: update lib/index.js imports and merge in test fixes [DX-4] (#2672) * build(deps-dev): bump @types/node from 20.17.30 to 20.17.32 (#2628) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.17.30 to 20.17.32. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 20.17.32 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump the dev-dependencies group across 1 directory with 9 updates (#2631) Bumps the dev-dependencies group with 9 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) | `7.27.0` | `7.27.1` | | [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.26.10` | `7.27.1` | | [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) | `7.26.0` | `7.27.1` | | [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.26.9` | `7.27.1` | | [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) | `7.27.0` | `7.27.1` | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.25.1` | `9.26.0` | | [eslint](https://github.com/eslint/eslint) | `9.25.1` | `9.26.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.8.3` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.31.1` | `8.32.0` | Updates `@babel/cli` from 7.27.0 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-cli) Updates `@babel/core` from 7.26.10 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-core) Updates `@babel/node` from 7.26.0 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-node) Updates `@babel/preset-env` from 7.26.9 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-preset-env) Updates `@babel/preset-typescript` from 7.27.0 to 7.27.1 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-preset-typescript) Updates `@eslint/js` from 9.25.1 to 9.26.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.26.0/packages/js) Updates `eslint` from 9.25.1 to 9.26.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.25.1...v9.26.0) Updates `typescript` from 5.6.3 to 5.8.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.8.3) Updates `typescript-eslint` from 8.31.1 to 8.32.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.32.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@babel/cli" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@babel/core" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@babel/node" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@babel/preset-env" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@babel/preset-typescript" dependency-version: 7.27.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@eslint/js" dependency-version: 9.26.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: eslint dependency-version: 9.26.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript dependency-version: 5.8.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.32.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump @types/node from 20.17.32 to 20.17.43 (#2634) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.17.32 to 20.17.43. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 20.17.43 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump the dev-dependencies group across 1 directory with 5 updates (#2636) Bumps the dev-dependencies group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) | `7.27.1` | `7.27.2` | | [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.27.1` | `7.27.2` | | [type-fest](https://github.com/sindresorhus/type-fest) | `4.40.1` | `4.41.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.8.3` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.32.0` | `8.32.1` | Updates `@babel/cli` from 7.27.1 to 7.27.2 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.2/packages/babel-cli) Updates `@babel/preset-env` from 7.27.1 to 7.27.2 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.2/packages/babel-preset-env) Updates `type-fest` from 4.40.1 to 4.41.0 - [Release notes](https://github.com/sindresorhus/type-fest/releases) - [Commits](https://github.com/sindresorhus/type-fest/compare/v4.40.1...v4.41.0) Updates `typescript` from 5.6.3 to 5.8.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.8.3) Updates `typescript-eslint` from 8.32.0 to 8.32.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.32.1/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@babel/cli" dependency-version: 7.27.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@babel/preset-env" dependency-version: 7.27.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: type-fest dependency-version: 4.41.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript dependency-version: 5.8.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.32.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump the dev-dependencies group across 1 directory with 6 updates (#2643) Bumps the dev-dependencies group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.27.1` | `7.27.3` | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.26.0` | `9.27.0` | | [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) | `4.17.16` | `4.17.17` | | [eslint](https://github.com/eslint/eslint) | `9.26.0` | `9.27.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.8.3` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.32.1` | `8.33.0` | Updates `@babel/core` from 7.27.1 to 7.27.3 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.3/packages/babel-core) Updates `@eslint/js` from 9.26.0 to 9.27.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.27.0/packages/js) Updates `@types/lodash` from 4.17.16 to 4.17.17 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash) Updates `eslint` from 9.26.0 to 9.27.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.26.0...v9.27.0) Updates `typescript` from 5.6.3 to 5.8.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.8.3) Updates `typescript-eslint` from 8.32.1 to 8.33.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.33.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@babel/core" dependency-version: 7.27.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@eslint/js" dependency-version: 9.27.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: "@types/lodash" dependency-version: 4.17.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: eslint dependency-version: 9.27.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript dependency-version: 5.8.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.33.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump @types/node from 20.17.43 to 20.17.52 (#2646) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.17.43 to 20.17.52. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 20.17.52 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: rename team-tundra -> team-extensibility [EXT-6372] (#2649) * build(deps-dev): bump the dev-dependencies group across 1 directory with 5 updates (#2650) Bumps the dev-dependencies group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.27.3` | `7.27.4` | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.27.0` | `9.28.0` | | [eslint](https://github.com/eslint/eslint) | `9.27.0` | `9.28.0` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `5.8.3` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.33.0` | `8.33.1` | Updates `@babel/core` from 7.27.3 to 7.27.4 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.4/packages/babel-core) Updates `@eslint/js` from 9.27.0 to 9.28.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.28.0/packages/js) Updates `eslint` from 9.27.0 to 9.28.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.27.0...v9.28.0) Updates `typescript` from 5.6.3 to 5.8.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.8.3) Updates `typescript-eslint` from 8.33.0 to 8.33.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.33.1/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@babel/core" dependency-version: 7.27.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: "@eslint/js" dependency-version: 9.28.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: eslint dependency-version: 9.28.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript dependency-version: 5.8.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript-eslint dependency-version: 8.33.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump tar-fs in /test/output-integration/browser (#2651) Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 3.0.8 to 3.0.9. - [Commits](https://github.com/mafintosh/tar-fs/compare/v3.0.8...v3.0.9) --- updated-dependencies: - dependency-name: tar-fs dependency-version: 3.0.9 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump @types/node from 20.17.52 to 20.17.57 (#2654) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.17.52 to 20.17.57. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 20.17.57 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: [GROOT-1871] add concept scheme on concepts (#2652) * feat: add concept scheme on concepts * test: Taxonomy tests are failing after adding conceptScheme on concepts. (#2655) * test: Update tests * feat: skip the tests * feat: add forTemplatedSpaces field for env template creation [DX-173] (#2663) * chore: update test entry IDs in TestDefaults for failing integ tests [DX-198] (#2670) * chore: update test entry IDs in TestDefaults for failing integ tests * chore: replace hardcoded entry IDs with TestDefaults in entry integration tests * style: format code for better readability in entry references integration test * chore: remove .only oopssie * fix: update lib/index.js imports --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: BobHemphill76 Co-authored-by: momenzadehvida <86777609+momenzadehvida@users.noreply.github.com> Co-authored-by: Ely Lucas --- lib/entities/environment-template.ts | 1 + test/defaults.ts | 6 +++--- test/helpers.ts | 4 ++-- .../app-access-token-integration.test.ts | 2 +- .../integration/app-action-integration.test.ts | 2 +- .../integration/app-bundle-integration.test.ts | 2 +- .../app-definition-integration.test.ts | 2 +- .../app-details-integration.test.ts | 2 +- .../app-event-subscription-integration.test.ts | 2 +- test/integration/app-key-integration.test.ts | 2 +- .../app-signed-request-integration.test.ts | 2 +- .../app-signing-secret-integration.test.ts | 2 +- .../integration/app-upload-integration.test.ts | 2 +- .../bulk-action-integration.test.ts | 4 ++-- test/integration/entry-integration.test.ts | 5 +++-- .../entry-references-integration.test.ts | 18 ++++++++++-------- .../environment-template-integration.test.ts | 1 + test/unit/plain/resource-provider.test.ts | 2 +- test/unit/plain/resource-type.test.ts | 2 +- test/unit/plain/resource.test.ts | 2 +- test/unit/plain/webhook.test.ts | 2 +- 21 files changed, 36 insertions(+), 31 deletions(-) diff --git a/lib/entities/environment-template.ts b/lib/entities/environment-template.ts index 3640235ebd..5fd3bbf7ff 100644 --- a/lib/entities/environment-template.ts +++ b/lib/entities/environment-template.ts @@ -41,6 +41,7 @@ export type EnvironmentTemplateProps = { contentTypeTemplates: Array editorInterfaceTemplates: Array } + forTemplatedSpaces?: boolean } export type CreateEnvironmentTemplateProps = Omit diff --git a/test/defaults.ts b/test/defaults.ts index 511d81a792..6bbbe3d10a 100644 --- a/test/defaults.ts +++ b/test/defaults.ts @@ -6,13 +6,13 @@ export const TestDefaults = { withCrossSpaceReferenceId: 'test-content-type33324244', }, entry: { - testEntryId: '5ETMRzkl9KM4omyMwKAOki', + testEntryId: '3Z76Riu91MIwPWIMG93LNb', /** Used in the entry references specs */ testEntryReferenceId: '3ZgkmNQJxGjO9TUcnDgNQC', /** Used in Release specs */ - testEntryReleasesId: '11NZX9PeFBvuQPc6LyCRpP', + testEntryReleasesId: '7pw3xjgbpE41JJrenBessW', /** Used in BulkAction specs */ - testEntryBulkActionId: '375PMdQrwWOsifPJYP5Bb9', + testEntryBulkActionId: '6THqkC8vpDqAFtomRQazPu', }, userId: '0DdCYLZI33Oe1uZ0FLpCzw', userEmail: 'for_tests_contentful-management.js@contentful.com', diff --git a/test/helpers.ts b/test/helpers.ts index 067dd07577..12fe79b22c 100644 --- a/test/helpers.ts +++ b/test/helpers.ts @@ -1,6 +1,6 @@ import type { CreateHttpClientParams } from 'contentful-sdk-core' -import { createClient } from '../lib.js' -import type { Environment, Organization, Space } from '../lib.js' +import { createClient } from '../lib/index.js' +import type { Environment, Organization, Space } from '../lib/index.js' import { TestDefaults } from './defaults.js' import * as testUtils from '@contentful/integration-test-utils' diff --git a/test/integration/app-access-token-integration.test.ts b/test/integration/app-access-token-integration.test.ts index 7862fcd49d..d335034fdb 100644 --- a/test/integration/app-access-token-integration.test.ts +++ b/test/integration/app-access-token-integration.test.ts @@ -14,7 +14,7 @@ import type { Environment, PlainClientAPI, AppKeyProps, -} from '../../lib.js' +} 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 6c1cf332aa..50b70fc829 100644 --- a/test/integration/app-action-integration.test.ts +++ b/test/integration/app-action-integration.test.ts @@ -1,5 +1,5 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' -import type { AppActionProps, PlainClientAPI } from '../../lib.js' +import type { AppActionProps, PlainClientAPI } from '../../lib/index.js' import { initPlainClient, getTestOrganization, diff --git a/test/integration/app-bundle-integration.test.ts b/test/integration/app-bundle-integration.test.ts index 6a01b63f69..0a2a986d1c 100644 --- a/test/integration/app-bundle-integration.test.ts +++ b/test/integration/app-bundle-integration.test.ts @@ -1,7 +1,7 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' import { readFileSync } from 'fs' import { getTestOrganization, getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers.js' -import type { Organization, AppDefinition, AppUpload, Space, Environment } from '../../lib.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 9a66defede..84f783f864 100644 --- a/test/integration/app-definition-integration.test.ts +++ b/test/integration/app-definition-integration.test.ts @@ -7,7 +7,7 @@ import { getDefaultSpace, timeoutToCalmRateLimiting, } from '../helpers.js' -import type { Organization, Space, Environment, AppInstallation } from '../../lib.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 4f6a7960bd..79fad92e56 100644 --- a/test/integration/app-details-integration.test.ts +++ b/test/integration/app-details-integration.test.ts @@ -1,6 +1,6 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' -import type { AppIcon, PlainClientAPI, Organization, AppDefinition } from '../../lib.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 39b7520d69..7f0d42c145 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.js' -import type { PlainClientAPI, Organization, AppDefinition } from '../../lib.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 c9e1b45462..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.js' -import type { PlainClientAPI, Organization, AppDefinition } from '../../lib.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 c9e1b45462..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.js' -import type { PlainClientAPI, Organization, AppDefinition } from '../../lib.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 b1fab712c8..b261574272 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.js' -import type { PlainClientAPI, Organization, AppDefinition } from '../../lib.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 873c50f133..29993b18a4 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.js' -import type { Organization } from '../../lib.js' +import type { Organization } from '../../lib/index.js' describe('AppUpload api', { sequential: true }, () => { let organization: Organization diff --git a/test/integration/bulk-action-integration.test.ts b/test/integration/bulk-action-integration.test.ts index 8f4f83a0d3..bbe4604e45 100644 --- a/test/integration/bulk-action-integration.test.ts +++ b/test/integration/bulk-action-integration.test.ts @@ -5,8 +5,8 @@ import type { BulkActionPublishPayload, BulkActionUnpublishPayload, BulkActionValidatePayload, -} from '../../lib.js' -import type { Environment, Space } from '../../lib.js' +} from '../../lib/index.js' +import type { Environment, Space } from '../../lib/index.js' import { waitForBulkActionProcessing } from '../../lib/methods/bulk-action.js' import { TestDefaults } from '../defaults.js' import { getDefaultSpace, initPlainClient, timeoutToCalmRateLimiting } from '../helpers.js' diff --git a/test/integration/entry-integration.test.ts b/test/integration/entry-integration.test.ts index 5247d6bedc..d202c1e254 100644 --- a/test/integration/entry-integration.test.ts +++ b/test/integration/entry-integration.test.ts @@ -32,7 +32,7 @@ describe('Entry Api', () => { }) test('Gets entry', async () => { - return environment.getEntry('5ETMRzkl9KM4omyMwKAOki').then((response) => { + return environment.getEntry(TestDefaults.entry.testEntryId).then((response) => { expect(response.sys, 'sys').to.be.ok expect(response.fields, 'fields').to.be.ok }) @@ -45,7 +45,7 @@ describe('Entry Api', () => { }) }) test('Gets Entry snapshots', async () => { - return environment.getEntry('5ETMRzkl9KM4omyMwKAOki').then((entry) => { + return environment.getEntry(TestDefaults.entry.testEntryId).then((entry) => { return entry.getSnapshots().then((response) => { expect(response, 'entry snapshots').ok expect(response.items, 'entry snapshots items').ok @@ -300,6 +300,7 @@ describe('Entry Api', () => { 'dog', 'human', 'kangaroo', + 'test-content-type33324244', 'testEntryReferences', ], 'orders' diff --git a/test/integration/entry-references-integration.test.ts b/test/integration/entry-references-integration.test.ts index 219c63d819..db1c282698 100644 --- a/test/integration/entry-references-integration.test.ts +++ b/test/integration/entry-references-integration.test.ts @@ -1,11 +1,10 @@ import { expect, describe, it, beforeAll, afterAll } from 'vitest' -import type { PlainClientAPI } from '../../lib.js' +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 ENTRY_WITH_REFERENCES_ID = TestDefaults.entry.testEntryReferenceId const WRONG_ENTRY_ID = '123123XD' describe('Entry References', () => { @@ -23,13 +22,16 @@ describe('Entry References', () => { let entryWithReferences: any beforeAll(async () => { - entryWithReferences = await testEnvironment.getEntryReferences(ENTRY_WITH_REFERENCES_ID, { - include: 2, - }) + entryWithReferences = await testEnvironment.getEntryReferences( + TestDefaults.entry.testEntryReferenceId, + { + include: 2, + } + ) }) it('Get the correct entry with references', () => { - expect(entryWithReferences.items[0].sys.id).toBe(ENTRY_WITH_REFERENCES_ID) + expect(entryWithReferences.items[0].sys.id).toBe(TestDefaults.entry.testEntryReferenceId) expect(entryWithReferences.includes).not.toBeUndefined() expect(entryWithReferences.includes.Entry.length).toBeGreaterThan(0) }) @@ -62,7 +64,7 @@ describe('Entry References', () => { plainClient = initPlainClient(defaultParams) entry = await plainClient.entry.get({ - entryId: ENTRY_WITH_REFERENCES_ID, + entryId: TestDefaults.entry.testEntryReferenceId, }) entryWithReferences = await plainClient.entry.references({ @@ -72,7 +74,7 @@ describe('Entry References', () => { }) it('Get the correct entry with references', () => { - expect(entryWithReferences.items[0].sys.id).toBe(ENTRY_WITH_REFERENCES_ID) + expect(entryWithReferences.items[0].sys.id).toBe(TestDefaults.entry.testEntryReferenceId) expect(entryWithReferences.includes).not.toBeUndefined() expect(entryWithReferences.includes.Entry.length).toBeGreaterThan(0) }) diff --git a/test/integration/environment-template-integration.test.ts b/test/integration/environment-template-integration.test.ts index 8c8270f189..300830847f 100644 --- a/test/integration/environment-template-integration.test.ts +++ b/test/integration/environment-template-integration.test.ts @@ -238,6 +238,7 @@ describe.skip('Environment template API', () => { contentTypeTemplates: [], editorInterfaceTemplates: [], }, + forTemplatedSpaces: false, } } }) diff --git a/test/unit/plain/resource-provider.test.ts b/test/unit/plain/resource-provider.test.ts index 8ae66680c7..ffcc12d5ad 100644 --- a/test/unit/plain/resource-provider.test.ts +++ b/test/unit/plain/resource-provider.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect } from 'vitest' -import { createClient } from '../../../lib.js' +import { createClient } from '../../../lib/index.js' import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter.js' import { resourceProviderMock } from '../mocks/entities.js' diff --git a/test/unit/plain/resource-type.test.ts b/test/unit/plain/resource-type.test.ts index c6f331e06d..28d517e8db 100644 --- a/test/unit/plain/resource-type.test.ts +++ b/test/unit/plain/resource-type.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect } from 'vitest' -import { createClient } from '../../../lib.js' +import { createClient } from '../../../lib/index.js' import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter.js' import { resourceTypeMock } from '../mocks/entities.js' diff --git a/test/unit/plain/resource.test.ts b/test/unit/plain/resource.test.ts index efb78a13ce..bd35978932 100644 --- a/test/unit/plain/resource.test.ts +++ b/test/unit/plain/resource.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect } from 'vitest' -import { createClient } from '../../../lib.js' +import { createClient } from '../../../lib/index.js' import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter.js' import { resourceMock } from '../mocks/entities.js' diff --git a/test/unit/plain/webhook.test.ts b/test/unit/plain/webhook.test.ts index 7ad4564a87..2cf756b764 100644 --- a/test/unit/plain/webhook.test.ts +++ b/test/unit/plain/webhook.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect } from 'vitest' -import { createClient } from '../../../lib.js' +import { createClient } from '../../../lib/index.js' import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter.js' describe('Webhook', () => { From 1400aa87eb7ca58b56c2d5376a4b0dcad0861ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Fri, 5 Sep 2025 22:54:56 +0200 Subject: [PATCH 20/48] feat: migrate to new Rollup setup (#2717) * build: move to node v20 * build: build typescript with rollup * refactor: drastically reduce circular dependencies by eliminating index file for entities * build: replace rollup-dts which breaks with memory leak with plain typescript type emit * test: fix ignore paths for eslint and remove obsolete linting rule exception * ci: upgrade circleci images to latest * refactor: apply prettier * ci: set proper latest node orb * typo... --- .circleci/config.yml | 6 +- .nvmrc | 2 +- .prettierignore | 3 +- eslint.config.mjs | 5 +- lib/adapters/REST/endpoints/access-token.ts | 12 +- .../REST/endpoints/ai-action-invocation.ts | 4 +- lib/adapters/REST/endpoints/ai-action.ts | 22 +-- lib/adapters/REST/endpoints/api-key.ts | 12 +- .../REST/endpoints/app-access-token.ts | 4 +- .../REST/endpoints/app-action-call.ts | 16 +- lib/adapters/REST/endpoints/app-action.ts | 12 +- lib/adapters/REST/endpoints/app-bundle.ts | 8 +- lib/adapters/REST/endpoints/app-definition.ts | 14 +- lib/adapters/REST/endpoints/app-details.ts | 12 +- .../REST/endpoints/app-event-subscription.ts | 12 +- .../REST/endpoints/app-installation.ts | 12 +- lib/adapters/REST/endpoints/app-key.ts | 16 +- .../REST/endpoints/app-signed-request.ts | 4 +- .../REST/endpoints/app-signing-secret.ts | 12 +- lib/adapters/REST/endpoints/app-upload.ts | 6 +- lib/adapters/REST/endpoints/asset-key.ts | 10 +- lib/adapters/REST/endpoints/asset.ts | 66 +++---- lib/adapters/REST/endpoints/bulk-action.ts | 16 +- lib/adapters/REST/endpoints/comment.ts | 10 +- lib/adapters/REST/endpoints/concept-scheme.ts | 22 +-- lib/adapters/REST/endpoints/concept.ts | 28 +-- lib/adapters/REST/endpoints/content-type.ts | 16 +- .../REST/endpoints/editor-interface.ts | 8 +- lib/adapters/REST/endpoints/entry.ts | 58 +++--- .../REST/endpoints/environment-alias.ts | 10 +- .../environment-template-installation.ts | 6 +- .../REST/endpoints/environment-template.ts | 26 +-- lib/adapters/REST/endpoints/environment.ts | 18 +- lib/adapters/REST/endpoints/extension.ts | 12 +- lib/adapters/REST/endpoints/function-log.ts | 4 +- lib/adapters/REST/endpoints/function.ts | 6 +- lib/adapters/REST/endpoints/http.ts | 12 +- lib/adapters/REST/endpoints/locale.ts | 20 +- .../REST/endpoints/oauth-application.ts | 20 +- .../REST/endpoints/organization-invitation.ts | 8 +- .../REST/endpoints/organization-membership.ts | 10 +- lib/adapters/REST/endpoints/organization.ts | 6 +- .../REST/endpoints/personal-access-token.ts | 10 +- .../REST/endpoints/preview-api-key.ts | 8 +- lib/adapters/REST/endpoints/raw.ts | 8 +- lib/adapters/REST/endpoints/release-action.ts | 12 +- lib/adapters/REST/endpoints/release.ts | 38 ++-- .../REST/endpoints/resource-provider.ts | 6 +- lib/adapters/REST/endpoints/resource-type.ts | 16 +- lib/adapters/REST/endpoints/resource.ts | 2 +- lib/adapters/REST/endpoints/role.ts | 12 +- .../REST/endpoints/scheduled-action.ts | 16 +- lib/adapters/REST/endpoints/snapshot.ts | 16 +- lib/adapters/REST/endpoints/space-member.ts | 4 +- .../REST/endpoints/space-membership.ts | 22 +-- lib/adapters/REST/endpoints/space.ts | 8 +- lib/adapters/REST/endpoints/tag.ts | 8 +- lib/adapters/REST/endpoints/task.ts | 8 +- .../REST/endpoints/team-membership.ts | 14 +- .../REST/endpoints/team-space-membership.ts | 16 +- lib/adapters/REST/endpoints/team.ts | 8 +- lib/adapters/REST/endpoints/ui-config.ts | 4 +- .../REST/endpoints/upload-credentials.ts | 2 +- lib/adapters/REST/endpoints/upload.ts | 6 +- lib/adapters/REST/endpoints/usage.ts | 8 +- lib/adapters/REST/endpoints/user-ui-config.ts | 4 +- lib/adapters/REST/endpoints/user.ts | 10 +- lib/adapters/REST/endpoints/webhook.ts | 30 +-- .../REST/endpoints/workflow-definition.ts | 10 +- lib/adapters/REST/endpoints/workflow.ts | 12 +- .../REST/endpoints/workflows-changelog.ts | 2 +- lib/adapters/REST/make-request.ts | 2 +- lib/adapters/REST/types.ts | 10 +- lib/common-types.ts | 181 ++++++++---------- .../controls-defaults.ts | 2 +- lib/create-app-definition-api.ts | 6 +- lib/create-contentful-api.ts | 73 +++---- lib/create-entry-api.ts | 24 ++- lib/create-environment-api.ts | 104 +++++----- lib/create-environment-template-api.ts | 19 +- lib/create-organization-api.ts | 75 +++++--- lib/create-space-api.ts | 87 +++++---- lib/create-ui-config-api.ts | 5 +- lib/create-user-ui-config-api.ts | 5 +- lib/enhance-with-methods.ts | 23 ++- lib/entities/ai-action-invocation.ts | 2 +- lib/entities/app-access-token.ts | 2 +- lib/entities/app-action-call.ts | 10 +- lib/entities/app-definition.ts | 4 +- lib/entities/app-event-subscription.ts | 2 +- lib/entities/app-installation.ts | 4 +- lib/entities/app-signed-request.ts | 2 +- lib/entities/app-signing-secret.ts | 2 +- lib/entities/asset.ts | 2 +- lib/entities/bulk-action.ts | 6 +- lib/entities/comment.ts | 2 +- lib/entities/content-type.ts | 2 +- lib/entities/editor-interface.ts | 4 +- lib/entities/environment-alias.ts | 2 +- .../environment-template-installation.ts | 4 +- lib/entities/environment-template.ts | 4 +- lib/entities/function-log.ts | 2 +- lib/entities/function.ts | 2 +- lib/entities/index.ts | 127 ------------ lib/entities/oauth-application.ts | 4 +- lib/entities/organization-invitation.ts | 2 +- lib/entities/organization-membership.ts | 4 +- lib/entities/personal-access-token.ts | 2 +- lib/entities/preview-api-key.ts | 2 +- lib/entities/release-action.ts | 4 +- lib/entities/release.ts | 4 +- lib/entities/resource-provider.ts | 13 +- lib/entities/resource-type.ts | 8 +- lib/entities/resource.ts | 2 +- lib/entities/scheduled-action.ts | 4 +- lib/entities/space-membership.ts | 4 +- lib/entities/team-membership.ts | 4 +- lib/entities/team-space-membership.ts | 4 +- lib/entities/upload-credential.ts | 4 +- lib/entities/usage.ts | 2 +- lib/entities/utils.ts | 2 +- lib/entities/workflow-definition.ts | 6 +- lib/entities/workflows-changelog-entry.ts | 4 +- lib/global.d.ts | 1 - lib/index.ts | 8 +- lib/methods/action.ts | 4 +- lib/methods/bulk-action.ts | 4 +- lib/methods/content-type.ts | 8 +- lib/methods/release-action.ts | 4 +- lib/plain/as-iterator.ts | 2 +- lib/plain/common-types.ts | 158 +++++++-------- lib/plain/entities/ai-action-invocation.ts | 2 +- lib/plain/entities/ai-action.ts | 12 +- lib/plain/entities/app-access-token.ts | 2 +- lib/plain/entities/app-action-call.ts | 6 +- lib/plain/entities/app-action.ts | 8 +- lib/plain/entities/app-bundle.ts | 4 +- lib/plain/entities/app-definition.ts | 10 +- lib/plain/entities/app-details.ts | 2 +- lib/plain/entities/app-event-subscription.ts | 2 +- lib/plain/entities/app-installation.ts | 6 +- lib/plain/entities/app-key.ts | 6 +- lib/plain/entities/app-signed-request.ts | 2 +- lib/plain/entities/app-signing-secret.ts | 2 +- lib/plain/entities/app-upload.ts | 2 +- lib/plain/entities/comment.ts | 14 +- lib/plain/entities/concept-scheme.ts | 10 +- lib/plain/entities/concept.ts | 14 +- lib/plain/entities/editor-interface.ts | 4 +- lib/plain/entities/environment-alias.ts | 6 +- lib/plain/entities/environment.ts | 8 +- lib/plain/entities/extension.ts | 8 +- lib/plain/entities/function-log.ts | 2 +- lib/plain/entities/function.ts | 2 +- lib/plain/entities/locale.ts | 8 +- lib/plain/entities/oauth-application.ts | 6 +- lib/plain/entities/organization.ts | 2 +- lib/plain/entities/resource-provider.ts | 2 +- lib/plain/entities/resource-type.ts | 6 +- lib/plain/entities/resource.ts | 2 +- lib/plain/entities/role.ts | 10 +- lib/plain/entities/space-member.ts | 4 +- lib/plain/entities/space-membership.ts | 12 +- lib/plain/entities/space.ts | 6 +- lib/plain/entities/tag.ts | 4 +- lib/plain/entities/task.ts | 6 +- lib/plain/entities/team-membership.ts | 8 +- lib/plain/entities/team-space-membership.ts | 10 +- lib/plain/entities/team.ts | 8 +- lib/plain/entities/ui-config.ts | 2 +- lib/plain/entities/upload.ts | 2 +- lib/plain/entities/usage.ts | 4 +- lib/plain/entities/user-ui-config.ts | 2 +- lib/plain/entities/user.ts | 6 +- lib/plain/entities/webhook.ts | 14 +- lib/plain/entities/workflow-definition.ts | 10 +- lib/plain/entities/workflow.ts | 12 +- lib/plain/entities/workflows-changelog.ts | 2 +- lib/plain/pagination-helper.ts | 10 +- lib/plain/plain-client.ts | 4 +- lib/plain/wrappers/wrap.ts | 12 +- lib/upload-http-client.ts | 2 +- package-lock.json | 133 ++++++++++++- package.json | 24 ++- rollup.config.js | 67 ++++++- test/helpers.ts | 14 +- .../integration/ai-action-integration.test.ts | 2 +- .../ai-action-invocation-integration.test.ts | 8 +- .../app-access-token-integration.test.ts | 2 +- .../app-action-integration.test.ts | 12 +- .../app-bundle-integration.test.ts | 2 +- .../app-definition-integration.test.ts | 4 +- .../app-details-integration.test.ts | 12 +- ...app-event-subscription-integration.test.ts | 2 +- .../app-signing-secret-integration.test.ts | 12 +- .../app-upload-integration.test.ts | 8 +- test/integration/asset-integration.test.ts | 10 +- .../integration/asset-key-integration.test.ts | 2 +- .../bulk-action-integration.test.ts | 4 +- test/integration/comment-integration.test.ts | 8 +- .../content-type-integration.test.ts | 2 +- test/integration/entry-integration.test.ts | 48 ++--- .../entry-references-integration.test.ts | 6 +- .../environment-integration.test.ts | 4 +- .../environment-template-integration.test.ts | 19 +- .../organization-invitation.test.ts | 2 +- test/integration/plain-client.test.ts | 4 +- .../release-action-integration.test.ts | 2 +- test/integration/release-integration.test.ts | 2 +- test/integration/resource-integration.test.ts | 2 +- .../resource-provider-integration.test.ts | 18 +- .../resource-type-integration.test.ts | 26 +-- .../scheduled-action-integration.test.ts | 6 +- test/integration/taxonomy-integration.test.ts | 34 ++-- .../ui-extension-integration.test.ts | 2 +- test/integration/workflow-integration.test.ts | 8 +- .../browser/scripts/inject-env.js | 2 +- .../REST/endpoints/app-action-call.test.ts | 96 +++++----- .../adapters/REST/endpoints/asset.test.ts | 46 ++--- .../REST/endpoints/concept-scheme.test.ts | 14 +- .../adapters/REST/endpoints/concept.test.ts | 18 +- .../adapters/REST/endpoints/entry.test.ts | 8 +- .../REST/endpoints/function-log.test.ts | 4 +- .../adapters/REST/endpoints/function.test.ts | 6 +- .../endpoints/organization-membership.test.ts | 4 +- .../REST/endpoints/team-membership.test.ts | 6 +- .../unit/adapters/REST/endpoints/team.test.ts | 6 +- .../adapters/REST/endpoints/ui-config.test.ts | 2 +- .../adapters/REST/endpoints/upload.test.ts | 12 +- .../REST/endpoints/user-ui-config.test.ts | 2 +- .../endpoints/workflow-definition.test.ts | 12 +- test/unit/adapters/REST/rest-adapter.test.ts | 2 +- .../adapters/REST/reusable-tests/update.ts | 4 +- test/unit/create-contentful-api.test.ts | 2 +- test/unit/create-entry-api.test.ts | 2 +- test/unit/create-environment-api.test.ts | 2 +- test/unit/create-organization-api.test.ts | 68 +++---- test/unit/create-space-api.test.ts | 2 +- test/unit/entities/resource-provider.test.ts | 6 +- test/unit/entities/workflow.test.ts | 2 +- test/unit/mocks/entities.ts | 4 +- test/unit/mocks/makeRequest.ts | 2 +- test/unit/plain/pagination-helper.test.ts | 2 +- test/unit/plain/resource-provider.test.ts | 12 +- test/unit/plain/resource-type.test.ts | 14 +- test/unit/plain/resource.test.ts | 4 +- test/unit/plain/webhook.test.ts | 14 +- .../test-creators/instance-entity-methods.ts | 8 +- .../test-creators/static-entity-methods.ts | 8 +- test/utils.ts | 2 +- tsconfig.json | 19 +- 251 files changed, 1633 insertions(+), 1580 deletions(-) delete mode 100644 lib/entities/index.ts diff --git a/.circleci/config.yml b/.circleci/config.yml index 30b7580293..7ab3786d9a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,13 +1,13 @@ version: 2.1 orbs: vault: contentful/vault@1 - node: circleci/node@5.2.0 - browser-tools: circleci/browser-tools@1.4.8 + node: circleci/node@7.1.1 + browser-tools: circleci/browser-tools@2.3.1 executors: docker-with-node: docker: - - image: 'cimg/node:18.20.1-browsers' + - image: 'cimg/node:20.19.4-browsers' working_directory: ~/build-and-test commands: 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 36884aa428..eea6af63e9 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,5 +2,4 @@ node_modules dist coverage out -typings -rollup.config.js \ No newline at end of file +typings \ No newline at end of file diff --git a/eslint.config.mjs b/eslint.config.mjs index d16c458499..d538dc76f1 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,14 +1,15 @@ // @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'), { - ignores: ['test/output-integration/**/*'], languageOptions: { globals: { ...globals.node, @@ -54,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 808dbf3bec..7509430f9a 100644 --- a/lib/adapters/REST/endpoints/access-token.ts +++ b/lib/adapters/REST/endpoints/access-token.ts @@ -31,7 +31,7 @@ import * as raw from './raw.js' */ export const get: RestEndpoint<'AccessToken', 'get'> = ( http: AxiosInstance, - params: { tokenId: string } + params: { tokenId: string }, ) => { return raw.get(http, `/users/me/access_tokens/${params.tokenId}`) } @@ -58,7 +58,7 @@ export const get: RestEndpoint<'AccessToken', 'get'> = ( */ export const getMany: RestEndpoint<'AccessToken', 'getMany'> = ( http: AxiosInstance, - params: QueryParams + params: QueryParams, ) => { return raw.get>(http, '/users/me/access_tokens', { params: params.query, @@ -91,7 +91,7 @@ export const createPersonalAccessToken: RestEndpoint<'AccessToken', 'createPerso http: AxiosInstance, _params: {}, rawData: CreatePersonalAccessTokenProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post(http, '/users/me/access_tokens', rawData, { headers, @@ -121,7 +121,7 @@ export const createPersonalAccessToken: RestEndpoint<'AccessToken', 'createPerso */ export const revoke: RestEndpoint<'AccessToken', 'revoke'> = ( http: AxiosInstance, - params: { tokenId: string } + params: { tokenId: string }, ) => { return raw.put(http, `/users/me/access_tokens/${params.tokenId}/revoked`, null) } @@ -149,13 +149,13 @@ export const revoke: RestEndpoint<'AccessToken', 'revoke'> = ( */ export const getManyForOrganization: RestEndpoint<'AccessToken', 'getManyForOrganization'> = ( http: AxiosInstance, - params: GetOrganizationParams & QueryParams + params: GetOrganizationParams & QueryParams, ) => { return raw.get>( http, `/organizations/${params.organizationId}/access_tokens`, { params: params.query, - } + }, ) } diff --git a/lib/adapters/REST/endpoints/ai-action-invocation.ts b/lib/adapters/REST/endpoints/ai-action-invocation.ts index ed4fd43626..17e6bf9230 100644 --- a/lib/adapters/REST/endpoints/ai-action-invocation.ts +++ b/lib/adapters/REST/endpoints/ai-action-invocation.ts @@ -7,11 +7,11 @@ import * as raw from './raw.js' export const get: RestEndpoint<'AiActionInvocation', 'get'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { aiActionId: string; invocationId: string }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.get( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/ai/actions/${params.aiActionId}/invocations/${params.invocationId}`, - { headers } + { headers }, ) } diff --git a/lib/adapters/REST/endpoints/ai-action.ts b/lib/adapters/REST/endpoints/ai-action.ts index ebcbe7163d..b0d73d8b09 100644 --- a/lib/adapters/REST/endpoints/ai-action.ts +++ b/lib/adapters/REST/endpoints/ai-action.ts @@ -15,7 +15,7 @@ import type { AiActionInvocationType } from '../../../entities/ai-action-invocat export const get: RestEndpoint<'AiAction', 'get'> = ( http: AxiosInstance, params: GetSpaceParams & { aiActionId: string }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.get(http, `/spaces/${params.spaceId}/ai/actions/${params.aiActionId}`, { headers, @@ -25,7 +25,7 @@ export const get: RestEndpoint<'AiAction', 'get'> = ( export const getMany: RestEndpoint<'AiAction', 'getMany'> = ( http: AxiosInstance, params: GetSpaceParams & QueryParams, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.get>(http, `/spaces/${params.spaceId}/ai/actions`, { params: params.query, @@ -37,7 +37,7 @@ export const create: RestEndpoint<'AiAction', 'create'> = ( http: AxiosInstance, params: GetSpaceParams, data: CreateAiActionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post(http, `/spaces/${params.spaceId}/ai/actions`, data, { headers }) } @@ -46,7 +46,7 @@ export const update: RestEndpoint<'AiAction', 'update'> = ( http: AxiosInstance, params: GetSpaceParams & { aiActionId: string }, rawData: AiActionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data = copy(rawData) const { sys, ...payload } = data @@ -59,14 +59,14 @@ export const update: RestEndpoint<'AiAction', 'update'> = ( 'X-Contentful-Version': rawData.sys.version ?? 0, ...headers, }, - } + }, ) } export const del: RestEndpoint<'AiAction', 'delete'> = ( http: AxiosInstance, params: GetSpaceParams & { aiActionId: string }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.del(http, `/spaces/${params.spaceId}/ai/actions/${params.aiActionId}`, { headers }) } @@ -75,7 +75,7 @@ export const publish: RestEndpoint<'AiAction', 'publish'> = ( http: AxiosInstance, params: GetSpaceParams & { aiActionId: string; version: number }, rawData?: unknown, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.put( http, @@ -86,14 +86,14 @@ export const publish: RestEndpoint<'AiAction', 'publish'> = ( 'X-Contentful-Version': params.version, ...headers, }, - } + }, ) } export const unpublish: RestEndpoint<'AiAction', 'unpublish'> = ( http: AxiosInstance, params: GetSpaceParams & { aiActionId: string }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.del(http, `/spaces/${params.spaceId}/ai/actions/${params.aiActionId}/published`, { headers, @@ -104,12 +104,12 @@ export const invoke: RestEndpoint<'AiAction', 'invoke'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { aiActionId: string }, data: AiActionInvocationType, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/ai/actions/${params.aiActionId}/invoke`, data, - { headers } + { headers }, ) } diff --git a/lib/adapters/REST/endpoints/api-key.ts b/lib/adapters/REST/endpoints/api-key.ts index c28426f916..734d7732b5 100644 --- a/lib/adapters/REST/endpoints/api-key.ts +++ b/lib/adapters/REST/endpoints/api-key.ts @@ -9,14 +9,14 @@ import * as raw from './raw.js' export const get: RestEndpoint<'ApiKey', 'get'> = ( http: AxiosInstance, - params: GetSpaceParams & { apiKeyId: string } + params: GetSpaceParams & { apiKeyId: string }, ) => { return raw.get(http, `/spaces/${params.spaceId}/api_keys/${params.apiKeyId}`) } export const getMany: RestEndpoint<'ApiKey', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceParams & QueryParams + params: GetSpaceParams & QueryParams, ) => { return raw.get>(http, `/spaces/${params.spaceId}/api_keys`, { params: params.query, @@ -27,7 +27,7 @@ export const create: RestEndpoint<'ApiKey', 'create'> = ( http: AxiosInstance, params: GetSpaceParams, data: CreateApiKeyProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post(http, `/spaces/${params.spaceId}/api_keys`, data, { headers }) } @@ -36,7 +36,7 @@ export const createWithId: RestEndpoint<'ApiKey', 'createWithId'> = ( http: AxiosInstance, params: GetSpaceParams & { apiKeyId: string }, data: CreateApiKeyProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.put(http, `/spaces/${params.spaceId}/api_keys/${params.apiKeyId}`, data, { headers, @@ -47,7 +47,7 @@ export const update: RestEndpoint<'ApiKey', 'update'> = ( http: AxiosInstance, params: GetSpaceParams & { apiKeyId: string }, rawData: ApiKeyProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) @@ -71,7 +71,7 @@ export const update: RestEndpoint<'ApiKey', 'update'> = ( export const del: RestEndpoint<'ApiKey', 'delete'> = ( http: AxiosInstance, - params: GetSpaceParams & { apiKeyId: string } + params: GetSpaceParams & { apiKeyId: string }, ) => { return raw.del(http, `/spaces/${params.spaceId}/api_keys/${params.apiKeyId}`) } diff --git a/lib/adapters/REST/endpoints/app-access-token.ts b/lib/adapters/REST/endpoints/app-access-token.ts index 57e034cf8a..9cc3c0f387 100644 --- a/lib/adapters/REST/endpoints/app-access-token.ts +++ b/lib/adapters/REST/endpoints/app-access-token.ts @@ -10,12 +10,12 @@ import type { GetAppInstallationParams } from '../../../common-types.js' export const create: RestEndpoint<'AppAccessToken', 'create'> = ( http: AxiosInstance, params: GetAppInstallationParams, - data: CreateAppAccessTokenProps + data: CreateAppAccessTokenProps, ) => { return raw.post( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/app_installations/${params.appDefinitionId}/access_tokens`, undefined, - { headers: { Authorization: `Bearer ${data.jwt}` } } + { headers: { Authorization: `Bearer ${data.jwt}` } }, ) } diff --git a/lib/adapters/REST/endpoints/app-action-call.ts b/lib/adapters/REST/endpoints/app-action-call.ts index 4326ad1ba6..5b3f29d993 100644 --- a/lib/adapters/REST/endpoints/app-action-call.ts +++ b/lib/adapters/REST/endpoints/app-action-call.ts @@ -16,22 +16,22 @@ import { isSuccessful, shouldRePoll, waitFor } from '../../../common-utils.js' export const create: RestEndpoint<'AppActionCall', 'create'> = ( http: AxiosInstance, params: GetAppActionCallParams, - data: CreateAppActionCallProps + data: CreateAppActionCallProps, ) => { return raw.post( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/app_installations/${params.appDefinitionId}/actions/${params.appActionId}/calls`, - data + data, ) } export const getCallDetails: RestEndpoint<'AppActionCall', 'getCallDetails'> = ( http: AxiosInstance, - params: GetAppActionCallDetailsParams + params: GetAppActionCallDetailsParams, ) => { return raw.get( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/actions/${params.appActionId}/calls/${params.callId}` + `/spaces/${params.spaceId}/environments/${params.environmentId}/actions/${params.appActionId}/calls/${params.callId}`, ) } @@ -45,7 +45,7 @@ async function callAppActionResult( callId, }: { callId: string - } + }, ): Promise { let checkCount = 1 const retryInterval = params.retryInterval || APP_ACTION_CALL_RETRY_INTERVAL @@ -73,7 +73,7 @@ async function callAppActionResult( // If the response status code is not successful and is not a status code that should be repolled, reject with an error immediately else { const error = new Error( - 'The app action response is taking longer than expected to process.' + 'The app action response is taking longer than expected to process.', ) reject(error) } @@ -97,12 +97,12 @@ async function callAppActionResult( export const createWithResponse: RestEndpoint<'AppActionCall', 'createWithResponse'> = async ( http: AxiosInstance, params: CreateWithResponseParams, - data: CreateAppActionCallProps + data: CreateAppActionCallProps, ) => { const createResponse = await raw.post( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/app_installations/${params.appDefinitionId}/actions/${params.appActionId}/calls`, - data + data, ) const callId = createResponse.sys.id diff --git a/lib/adapters/REST/endpoints/app-action.ts b/lib/adapters/REST/endpoints/app-action.ts index c341baea62..b73ddd056b 100644 --- a/lib/adapters/REST/endpoints/app-action.ts +++ b/lib/adapters/REST/endpoints/app-action.ts @@ -26,14 +26,14 @@ const getAppActionsEnvUrl = (params: GetAppActionsForEnvParams) => { export const get: RestEndpoint<'AppAction', 'get'> = ( http: AxiosInstance, - params: GetAppActionParams + params: GetAppActionParams, ) => { return raw.get(http, getAppActionUrl(params)) } export const getMany: RestEndpoint<'AppAction', 'getMany'> = ( http: AxiosInstance, - params: GetAppDefinitionParams & QueryParams + params: GetAppDefinitionParams & QueryParams, ) => { return raw.get>(http, getBaseUrl(params), { params: normalizeSelect(params.query), @@ -42,7 +42,7 @@ export const getMany: RestEndpoint<'AppAction', 'getMany'> = ( export const getManyForEnvironment: RestEndpoint<'AppAction', 'getManyForEnvironment'> = ( http: AxiosInstance, - params: GetAppActionsForEnvParams & QueryParams + params: GetAppActionsForEnvParams & QueryParams, ) => { return raw.get>(http, getAppActionsEnvUrl(params), { params: normalizeSelect(params.query), @@ -51,7 +51,7 @@ export const getManyForEnvironment: RestEndpoint<'AppAction', 'getManyForEnviron export const del: RestEndpoint<'AppAction', 'delete'> = ( http: AxiosInstance, - params: GetAppActionParams + params: GetAppActionParams, ) => { return raw.del(http, getAppActionUrl(params)) } @@ -59,7 +59,7 @@ export const del: RestEndpoint<'AppAction', 'delete'> = ( export const create: RestEndpoint<'AppAction', 'create'> = ( http: AxiosInstance, params: GetAppDefinitionParams, - data: CreateAppActionProps + data: CreateAppActionProps, ) => { return raw.post(http, getBaseUrl(params), data) } @@ -67,7 +67,7 @@ export const create: RestEndpoint<'AppAction', 'create'> = ( export const update: RestEndpoint<'AppAction', 'update'> = ( http: AxiosInstance, params: GetAppActionParams, - data: CreateAppActionProps + data: CreateAppActionProps, ) => { return raw.put(http, getAppActionUrl(params), data) } diff --git a/lib/adapters/REST/endpoints/app-bundle.ts b/lib/adapters/REST/endpoints/app-bundle.ts index c1492c515c..2709353141 100644 --- a/lib/adapters/REST/endpoints/app-bundle.ts +++ b/lib/adapters/REST/endpoints/app-bundle.ts @@ -18,14 +18,14 @@ const getAppBundleUrl = (params: GetAppBundleParams) => export const get: RestEndpoint<'AppBundle', 'get'> = ( http: AxiosInstance, - params: GetAppBundleParams + params: GetAppBundleParams, ) => { return raw.get(http, getAppBundleUrl(params)) } export const getMany: RestEndpoint<'AppBundle', 'getMany'> = ( http: AxiosInstance, - params: GetAppDefinitionParams & QueryParams + params: GetAppDefinitionParams & QueryParams, ) => { return raw.get>(http, getBaseUrl(params), { params: normalizeSelect(params.query), @@ -34,7 +34,7 @@ export const getMany: RestEndpoint<'AppBundle', 'getMany'> = ( export const del: RestEndpoint<'AppBundle', 'delete'> = ( http: AxiosInstance, - params: GetAppBundleParams + params: GetAppBundleParams, ) => { return raw.del(http, getAppBundleUrl(params)) } @@ -42,7 +42,7 @@ export const del: RestEndpoint<'AppBundle', 'delete'> = ( export const create: RestEndpoint<'AppBundle', 'create'> = ( http: AxiosInstance, params: GetAppDefinitionParams, - payload: CreateAppBundleProps + payload: CreateAppBundleProps, ) => { const { appUploadId, comment, actions, functions } = payload diff --git a/lib/adapters/REST/endpoints/app-definition.ts b/lib/adapters/REST/endpoints/app-definition.ts index 06a5b3b88d..b7de87a082 100644 --- a/lib/adapters/REST/endpoints/app-definition.ts +++ b/lib/adapters/REST/endpoints/app-definition.ts @@ -29,7 +29,7 @@ const getBaseUrlForOrgInstallations = (params: GetAppInstallationsForOrgParams) export const get: RestEndpoint<'AppDefinition', 'get'> = ( http: AxiosInstance, - params: GetAppDefinitionParams & QueryParams + params: GetAppDefinitionParams & QueryParams, ) => { return raw.get(http, getAppDefinitionUrl(params), { params: normalizeSelect(params.query), @@ -38,7 +38,7 @@ export const get: RestEndpoint<'AppDefinition', 'get'> = ( export const getMany: RestEndpoint<'AppDefinition', 'getMany'> = ( http: AxiosInstance, - params: GetOrganizationParams & QueryParams + params: GetOrganizationParams & QueryParams, ) => { return raw.get(http, getBaseUrl(params), { params: params.query, @@ -48,7 +48,7 @@ export const getMany: RestEndpoint<'AppDefinition', 'getMany'> = ( export const create: RestEndpoint<'AppDefinition', 'create'> = ( http: AxiosInstance, params: GetOrganizationParams, - rawData: CreateAppDefinitionProps + rawData: CreateAppDefinitionProps, ) => { const data = copy(rawData) @@ -59,7 +59,7 @@ export const update: RestEndpoint<'AppDefinition', 'update'> = ( http: AxiosInstance, params: GetAppDefinitionParams, rawData: AppDefinitionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) @@ -75,14 +75,14 @@ export const update: RestEndpoint<'AppDefinition', 'update'> = ( export const del: RestEndpoint<'AppDefinition', 'delete'> = ( http: AxiosInstance, - params: GetAppDefinitionParams + params: GetAppDefinitionParams, ) => { return raw.del(http, getAppDefinitionUrl(params)) } export const getInstallationsForOrg: RestEndpoint<'AppDefinition', 'getInstallationsForOrg'> = ( http: AxiosInstance, - params: GetAppInstallationsForOrgParams & PaginationQueryParams + params: GetAppInstallationsForOrgParams & PaginationQueryParams, ) => { return raw.get( http, @@ -92,6 +92,6 @@ export const getInstallationsForOrg: RestEndpoint<'AppDefinition', 'getInstallat ...normalizeSpaceId(normalizeSelect(params.query)), 'sys.organization.sys.id[in]': params.organizationId, }, - } + }, ) } diff --git a/lib/adapters/REST/endpoints/app-details.ts b/lib/adapters/REST/endpoints/app-details.ts index bff67bd8d2..7bfd85f323 100644 --- a/lib/adapters/REST/endpoints/app-details.ts +++ b/lib/adapters/REST/endpoints/app-details.ts @@ -6,32 +6,32 @@ import type { GetAppDefinitionParams } from '../../../common-types.js' export const get: RestEndpoint<'AppDetails', 'get'> = ( http: AxiosInstance, - params: GetAppDefinitionParams + params: GetAppDefinitionParams, ) => { return raw.get( http, - `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/details` + `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/details`, ) } export const upsert: RestEndpoint<'AppDetails', 'upsert'> = ( http: AxiosInstance, params: GetAppDefinitionParams, - data: CreateAppDetailsProps + data: CreateAppDetailsProps, ) => { return raw.put( http, `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/details`, - data + data, ) } export const del: RestEndpoint<'AppDetails', 'delete'> = ( http: AxiosInstance, - params: GetAppDefinitionParams + params: GetAppDefinitionParams, ) => { return raw.del( http, - `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/details` + `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/details`, ) } diff --git a/lib/adapters/REST/endpoints/app-event-subscription.ts b/lib/adapters/REST/endpoints/app-event-subscription.ts index 6713158c21..0f1acf7739 100644 --- a/lib/adapters/REST/endpoints/app-event-subscription.ts +++ b/lib/adapters/REST/endpoints/app-event-subscription.ts @@ -9,32 +9,32 @@ import type { GetAppDefinitionParams } from '../../../common-types.js' export const get: RestEndpoint<'AppEventSubscription', 'get'> = ( http: AxiosInstance, - params: GetAppDefinitionParams + params: GetAppDefinitionParams, ) => { return raw.get( http, - `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/event_subscription` + `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/event_subscription`, ) } export const upsert: RestEndpoint<'AppEventSubscription', 'upsert'> = ( http: AxiosInstance, params: GetAppDefinitionParams, - data: CreateAppEventSubscriptionProps + data: CreateAppEventSubscriptionProps, ) => { return raw.put( http, `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/event_subscription`, - data + data, ) } export const del: RestEndpoint<'AppEventSubscription', 'delete'> = ( http: AxiosInstance, - params: GetAppDefinitionParams + params: GetAppDefinitionParams, ) => { return raw.del( http, - `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/event_subscription` + `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/event_subscription`, ) } diff --git a/lib/adapters/REST/endpoints/app-installation.ts b/lib/adapters/REST/endpoints/app-installation.ts index 12f0c67848..b1ce81335e 100644 --- a/lib/adapters/REST/endpoints/app-installation.ts +++ b/lib/adapters/REST/endpoints/app-installation.ts @@ -29,7 +29,7 @@ export const getAppInstallationUrl = (params: GetAppInstallationParams) => export const get: RestEndpoint<'AppInstallation', 'get'> = ( http: AxiosInstance, - params: GetAppInstallationParams & PaginationQueryParams + params: GetAppInstallationParams & PaginationQueryParams, ) => { return raw.get(http, getAppInstallationUrl(params), { params: normalizeSelect(params.query), @@ -38,7 +38,7 @@ export const get: RestEndpoint<'AppInstallation', 'get'> = ( export const getMany: RestEndpoint<'AppInstallation', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & PaginationQueryParams + params: GetSpaceEnvironmentParams & PaginationQueryParams, ) => { return raw.get>(http, getBaseUrl(params), { params: normalizeSelect(params.query), @@ -49,7 +49,7 @@ export const upsert: RestEndpoint<'AppInstallation', 'upsert'> = ( http: AxiosInstance, params: GetAppInstallationParams & { acceptAllTerms?: boolean }, rawData: CreateAppInstallationProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data = copy(rawData) @@ -66,14 +66,14 @@ export const upsert: RestEndpoint<'AppInstallation', 'upsert'> = ( export const del: RestEndpoint<'AppInstallation', 'delete'> = ( http: AxiosInstance, - params: GetAppInstallationParams + params: GetAppInstallationParams, ) => { return raw.del(http, getAppInstallationUrl(params)) } export const getForOrganization: RestEndpoint<'AppInstallation', 'getForOrganization'> = ( http: AxiosInstance, - params: GetAppInstallationsForOrgParams & SpaceQueryParams + params: GetAppInstallationsForOrgParams & SpaceQueryParams, ) => { return raw.get( http, @@ -83,6 +83,6 @@ export const getForOrganization: RestEndpoint<'AppInstallation', 'getForOrganiza ...normalizeSpaceId(normalizeSelect(params.query)), 'sys.organization.sys.id[in]': params.organizationId, }, - } + }, ) } diff --git a/lib/adapters/REST/endpoints/app-key.ts b/lib/adapters/REST/endpoints/app-key.ts index 1486e0630f..42addab630 100644 --- a/lib/adapters/REST/endpoints/app-key.ts +++ b/lib/adapters/REST/endpoints/app-key.ts @@ -10,42 +10,42 @@ import type { export const get: RestEndpoint<'AppKey', 'get'> = ( http: AxiosInstance, - params: GetAppKeyParams + params: GetAppKeyParams, ) => { return raw.get( http, - `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/keys/${params.fingerprint}` + `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/keys/${params.fingerprint}`, ) } export const getMany: RestEndpoint<'AppKey', 'getMany'> = ( http: AxiosInstance, - params: GetAppDefinitionParams + params: GetAppDefinitionParams, ) => { return raw.get>( http, - `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/keys` + `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/keys`, ) } export const create: RestEndpoint<'AppKey', 'create'> = ( http: AxiosInstance, params: GetAppDefinitionParams, - data: CreateAppKeyProps + data: CreateAppKeyProps, ) => { return raw.post( http, `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/keys`, - data + data, ) } export const del: RestEndpoint<'AppKey', 'delete'> = ( http: AxiosInstance, - params: GetAppKeyParams + params: GetAppKeyParams, ) => { return raw.del( http, - `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/keys/${params.fingerprint}` + `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/keys/${params.fingerprint}`, ) } diff --git a/lib/adapters/REST/endpoints/app-signed-request.ts b/lib/adapters/REST/endpoints/app-signed-request.ts index 724ec4f4cb..c2d52df74f 100644 --- a/lib/adapters/REST/endpoints/app-signed-request.ts +++ b/lib/adapters/REST/endpoints/app-signed-request.ts @@ -10,11 +10,11 @@ import type { GetAppInstallationParams } from '../../../common-types.js' export const create: RestEndpoint<'AppSignedRequest', 'create'> = ( http: AxiosInstance, params: GetAppInstallationParams, - data: CreateAppSignedRequestProps + data: CreateAppSignedRequestProps, ) => { return raw.post( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/app_installations/${params.appDefinitionId}/signed_requests`, - data + data, ) } diff --git a/lib/adapters/REST/endpoints/app-signing-secret.ts b/lib/adapters/REST/endpoints/app-signing-secret.ts index 4238cdd1cd..34a3a355c4 100644 --- a/lib/adapters/REST/endpoints/app-signing-secret.ts +++ b/lib/adapters/REST/endpoints/app-signing-secret.ts @@ -9,32 +9,32 @@ import type { GetAppDefinitionParams } from '../../../common-types.js' export const get: RestEndpoint<'AppSigningSecret', 'get'> = ( http: AxiosInstance, - params: GetAppDefinitionParams + params: GetAppDefinitionParams, ) => { return raw.get( http, - `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/signing_secret` + `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/signing_secret`, ) } export const upsert: RestEndpoint<'AppSigningSecret', 'upsert'> = ( http: AxiosInstance, params: GetAppDefinitionParams, - data: CreateAppSigningSecretProps + data: CreateAppSigningSecretProps, ) => { return raw.put( http, `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/signing_secret`, - data + data, ) } export const del: RestEndpoint<'AppSigningSecret', 'delete'> = ( http: AxiosInstance, - params: GetAppDefinitionParams + params: GetAppDefinitionParams, ) => { return raw.del( http, - `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/signing_secret` + `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/signing_secret`, ) } diff --git a/lib/adapters/REST/endpoints/app-upload.ts b/lib/adapters/REST/endpoints/app-upload.ts index 7a7c296469..bb046c6bb5 100644 --- a/lib/adapters/REST/endpoints/app-upload.ts +++ b/lib/adapters/REST/endpoints/app-upload.ts @@ -14,7 +14,7 @@ const getAppUploadUrl = (params: GetAppUploadParams) => export const get: RestEndpoint<'AppUpload', 'get'> = ( http: AxiosInstance, - params: GetAppUploadParams + params: GetAppUploadParams, ) => { const httpUpload = getUploadHttpClient(http) @@ -23,7 +23,7 @@ export const get: RestEndpoint<'AppUpload', 'get'> = ( export const del: RestEndpoint<'AppUpload', 'delete'> = ( http: AxiosInstance, - params: GetAppUploadParams + params: GetAppUploadParams, ) => { const httpUpload = getUploadHttpClient(http) @@ -33,7 +33,7 @@ export const del: RestEndpoint<'AppUpload', 'delete'> = ( export const create: RestEndpoint<'AppUpload', 'create'> = ( http: AxiosInstance, params: GetOrganizationParams, - payload: { file: string | ArrayBuffer | Stream } + payload: { file: string | ArrayBuffer | Stream }, ) => { const httpUpload = getUploadHttpClient(http) diff --git a/lib/adapters/REST/endpoints/asset-key.ts b/lib/adapters/REST/endpoints/asset-key.ts index 4fb0488e0e..d9b4c79183 100644 --- a/lib/adapters/REST/endpoints/asset-key.ts +++ b/lib/adapters/REST/endpoints/asset-key.ts @@ -24,19 +24,19 @@ const validateTimestamp = (name: string, timestamp: number, options: ValidateTim if (typeof timestamp !== 'number') { throw new ValidationError( name, - `only numeric values are allowed for timestamps, provided type was "${typeof timestamp}"` + `only numeric values are allowed for timestamps, provided type was "${typeof timestamp}"`, ) } if (options.maximum && timestamp > options.maximum) { throw new ValidationError( name, - `value (${timestamp}) cannot be further in the future than expected maximum (${options.maximum})` + `value (${timestamp}) cannot be further in the future than expected maximum (${options.maximum})`, ) } if (options.now && timestamp < options.now) { throw new ValidationError( name, - `value (${timestamp}) cannot be in the past, current time was ${options.now}` + `value (${timestamp}) cannot be in the past, current time was ${options.now}`, ) } } @@ -44,7 +44,7 @@ const validateTimestamp = (name: string, timestamp: number, options: ValidateTim export const create: RestEndpoint<'AssetKey', 'create'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams, - data: CreateAssetKeyProps + data: CreateAssetKeyProps, ) => { const expiresAt = data.expiresAt const now = Math.floor(Date.now() / 1000) @@ -56,6 +56,6 @@ export const create: RestEndpoint<'AssetKey', 'create'> = ( return raw.post( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/asset_keys`, - postParams + postParams, ) } diff --git a/lib/adapters/REST/endpoints/asset.ts b/lib/adapters/REST/endpoints/asset.ts index 175a9a1a3c..0e37ec847b 100644 --- a/lib/adapters/REST/endpoints/asset.ts +++ b/lib/adapters/REST/endpoints/asset.ts @@ -24,7 +24,7 @@ export const get: RestEndpoint<'Asset', 'get'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { assetId: string } & QueryParams, rawData?: unknown, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.get( http, @@ -32,7 +32,7 @@ export const get: RestEndpoint<'Asset', 'get'> = ( { params: normalizeSelect(params.query), headers: headers ? { ...headers } : undefined, - } + }, ) } @@ -40,7 +40,7 @@ export const getPublished: RestEndpoint<'Asset', 'getPublished'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & QueryParams, rawData?: unknown, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.get>( http, @@ -48,7 +48,7 @@ export const getPublished: RestEndpoint<'Asset', 'getPublished'> = ( { params: normalizeSelect(params.query), headers: headers ? { ...headers } : undefined, - } + }, ) } @@ -56,7 +56,7 @@ export const getMany: RestEndpoint<'Asset', 'getMany'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & QueryParams, rawData?: unknown, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.get>( http, @@ -64,7 +64,7 @@ export const getMany: RestEndpoint<'Asset', 'getMany'> = ( { params: normalizeSelect(params.query), headers: headers ? { ...headers } : undefined, - } + }, ) } @@ -72,7 +72,7 @@ export const update: RestEndpoint<'Asset', 'update'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { assetId: string }, rawData: AssetProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -85,24 +85,24 @@ export const update: RestEndpoint<'Asset', 'update'> = ( 'X-Contentful-Version': rawData.sys.version ?? 0, ...headers, }, - } + }, ) } export const del: RestEndpoint<'Asset', 'delete'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & { assetId: string } + params: GetSpaceEnvironmentParams & { assetId: string }, ) => { return raw.del( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/assets/${params.assetId}` + `/spaces/${params.spaceId}/environments/${params.environmentId}/assets/${params.assetId}`, ) } export const publish: RestEndpoint<'Asset', 'publish'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { assetId: string; locales?: string[] }, - rawData: AssetProps + rawData: AssetProps, ) => { const payload = params.locales?.length ? { add: { fields: { '*': params.locales } } } : null @@ -114,14 +114,14 @@ export const publish: RestEndpoint<'Asset', 'publish'> = ( headers: { 'X-Contentful-Version': rawData.sys.version ?? 0, }, - } + }, ) } export const unpublish: RestEndpoint<'Asset', 'unpublish'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { assetId: string; locales?: string[] }, - rawData?: AssetProps + rawData?: AssetProps, ) => { if (params.locales?.length) { const payload = { remove: { fields: { '*': params.locales } } } @@ -133,68 +133,68 @@ export const unpublish: RestEndpoint<'Asset', 'unpublish'> = ( headers: { 'X-Contentful-Version': rawData?.sys.version, }, - } + }, ) } else { return raw.del( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/assets/${params.assetId}/published` + `/spaces/${params.spaceId}/environments/${params.environmentId}/assets/${params.assetId}/published`, ) } } export const archive: RestEndpoint<'Asset', 'archive'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & { assetId: string } + params: GetSpaceEnvironmentParams & { assetId: string }, ) => { return raw.put( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/assets/${params.assetId}/archived` + `/spaces/${params.spaceId}/environments/${params.environmentId}/assets/${params.assetId}/archived`, ) } export const unarchive: RestEndpoint<'Asset', 'unarchive'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & { assetId: string } + params: GetSpaceEnvironmentParams & { assetId: string }, ) => { return raw.del( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/assets/${params.assetId}/archived` + `/spaces/${params.spaceId}/environments/${params.environmentId}/assets/${params.assetId}/archived`, ) } export const create: RestEndpoint<'Asset', 'create'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams, - rawData: CreateAssetProps + rawData: CreateAssetProps, ) => { const data = copy(rawData) return raw.post( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/assets`, - data + data, ) } export const createWithId: RestEndpoint<'Asset', 'createWithId'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { assetId: string }, - rawData: CreateAssetProps + rawData: CreateAssetProps, ) => { const data = copy(rawData) return raw.put( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/assets/${params.assetId}`, - data + data, ) } export const createFromFiles: RestEndpoint<'Asset', 'createFromFiles'> = async ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { uploadTimeout?: number }, - data: AssetFileProp + data: AssetFileProp, ) => { const httpUpload = getUploadHttpClient(http, { uploadTimeout: params.uploadTimeout }) @@ -218,7 +218,7 @@ export const createFromFiles: RestEndpoint<'Asset', 'createFromFiles'> = async ( }, } }) - }) + }), ) .then((uploads) => { const file = uploads.reduce((fieldsData, upload) => ({ ...fieldsData, ...upload }), {}) @@ -256,7 +256,7 @@ async function checkIfAssetHasUrl( reject: (err: Error) => unknown locale: string checkCount?: number - } & AssetProcessingForLocale + } & AssetProcessingForLocale, ) { return get(http, params).then((asset) => { if (asset.fields.file[locale].url) { @@ -278,7 +278,7 @@ async function checkIfAssetHasUrl( processingCheckWait, processingCheckRetries, }), - processingCheckWait + processingCheckWait, ) } }) @@ -295,7 +295,7 @@ export const processForLocale: RestEndpoint<'Asset', 'processForLocale'> = async asset: AssetProps locale: string options?: AssetProcessingForLocale - } + }, ) => { return raw .put( @@ -306,7 +306,7 @@ export const processForLocale: RestEndpoint<'Asset', 'processForLocale'> = async headers: { 'X-Contentful-Version': asset.sys.version, }, - } + }, ) .then(() => { return new Promise((resolve, reject) => @@ -323,8 +323,8 @@ export const processForLocale: RestEndpoint<'Asset', 'processForLocale'> = async locale, processingCheckWait, processingCheckRetries, - } - ) + }, + ), ) }) } @@ -335,7 +335,7 @@ export const processForAllLocales: RestEndpoint<'Asset', 'processForAllLocales'> asset, options = {}, ...params - }: GetSpaceEnvironmentParams & { asset: AssetProps; options?: AssetProcessingForLocale } + }: GetSpaceEnvironmentParams & { asset: AssetProps; options?: AssetProcessingForLocale }, ) => { const locales = Object.keys(asset.fields.file || {}) @@ -351,7 +351,7 @@ export const processForAllLocales: RestEndpoint<'Asset', 'processForAllLocales'> // The last one to call this will be the last one that finished // and thus the most up to date mostUpToDateAssetVersion = result - }) + }), ) return Promise.all(allProcessingLocales).then(() => mostUpToDateAssetVersion) diff --git a/lib/adapters/REST/endpoints/bulk-action.ts b/lib/adapters/REST/endpoints/bulk-action.ts index 6228cc1106..dad1b4c9b6 100644 --- a/lib/adapters/REST/endpoints/bulk-action.ts +++ b/lib/adapters/REST/endpoints/bulk-action.ts @@ -11,46 +11,46 @@ import * as raw from './raw.js' export const get: RestEndpoint<'BulkAction', 'get'> = ( http: AxiosInstance, - params: GetBulkActionParams + params: GetBulkActionParams, ) => { return raw.get( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/bulk_actions/actions/${params.bulkActionId}` + `/spaces/${params.spaceId}/environments/${params.environmentId}/bulk_actions/actions/${params.bulkActionId}`, ) } export const publish: RestEndpoint<'BulkAction', 'publish'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams, - payload: BulkActionPublishPayload + payload: BulkActionPublishPayload, ): Promise> => { return raw.post( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/bulk_actions/publish`, - payload + payload, ) } export const unpublish: RestEndpoint<'BulkAction', 'unpublish'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams, - payload: BulkActionUnpublishPayload + payload: BulkActionUnpublishPayload, ): Promise> => { return raw.post( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/bulk_actions/unpublish`, - payload + payload, ) } export const validate: RestEndpoint<'BulkAction', 'validate'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams, - payload: BulkActionValidatePayload + payload: BulkActionValidatePayload, ): Promise> => { return raw.post( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/bulk_actions/validate`, - payload + payload, ) } diff --git a/lib/adapters/REST/endpoints/comment.ts b/lib/adapters/REST/endpoints/comment.ts index e0e4424257..62c3ca7dcc 100644 --- a/lib/adapters/REST/endpoints/comment.ts +++ b/lib/adapters/REST/endpoints/comment.ts @@ -70,7 +70,7 @@ const getEntityBaseUrl = (paramsOrg: GetEntryParams | GetManyCommentsParams) => export const get: RestEndpoint<'Comment', 'get'> = ( http: AxiosInstance, - params: GetCommentParams & (PlainTextBodyFormat | RichTextBodyFormat) + params: GetCommentParams & (PlainTextBodyFormat | RichTextBodyFormat), ) => raw.get(http, getEntityCommentUrl(params), { headers: @@ -83,7 +83,7 @@ export const get: RestEndpoint<'Comment', 'get'> = ( export const getMany: RestEndpoint<'Comment', 'getMany'> = ( http: AxiosInstance, - params: GetManyCommentsParams & QueryParams & (PlainTextBodyFormat | RichTextBodyFormat) + params: GetManyCommentsParams & QueryParams & (PlainTextBodyFormat | RichTextBodyFormat), ) => raw.get>(http, getEntityBaseUrl(params), { params: normalizeSelect(params.query), @@ -98,7 +98,7 @@ export const getMany: RestEndpoint<'Comment', 'getMany'> = ( export const create: RestEndpoint<'Comment', 'create'> = ( http: AxiosInstance, params: CreateCommentParams, - rawData: CreateCommentProps | RichTextCommentBodyPayload + rawData: CreateCommentProps | RichTextCommentBodyPayload, ) => { const data = copy(rawData) return raw.post(http, getEntityBaseUrl(params), data, { @@ -116,7 +116,7 @@ export const update: RestEndpoint<'Comment', 'update'> = ( http: AxiosInstance, params: GetCommentParams, rawData: UpdateCommentProps | (Omit & RichTextCommentBodyPayload), - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -132,7 +132,7 @@ export const update: RestEndpoint<'Comment', 'update'> = ( export const del: RestEndpoint<'Comment', 'delete'> = ( http: AxiosInstance, - { version, ...params }: DeleteCommentParams + { version, ...params }: DeleteCommentParams, ) => { return raw.del(http, getEntityCommentUrl(params), { headers: { [VERSION_HEADER]: version }, diff --git a/lib/adapters/REST/endpoints/concept-scheme.ts b/lib/adapters/REST/endpoints/concept-scheme.ts index 65f7532da0..9d621c6180 100644 --- a/lib/adapters/REST/endpoints/concept-scheme.ts +++ b/lib/adapters/REST/endpoints/concept-scheme.ts @@ -22,14 +22,14 @@ function basePath(orgId: string) { export const get: RestEndpoint<'ConceptScheme', 'get'> = ( http: AxiosInstance, - params: GetConceptSchemeParams + params: GetConceptSchemeParams, ) => raw.get(http, `${basePath(params.organizationId)}/${params.conceptSchemeId}`) export const del: RestEndpoint<'ConceptScheme', 'delete'> = ( http: AxiosInstance, params: DeleteConceptSchemeParams, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.del(http, `${basePath(params.organizationId)}/${params.conceptSchemeId}`, { headers: { @@ -40,7 +40,7 @@ export const del: RestEndpoint<'ConceptScheme', 'delete'> = ( export const getMany: RestEndpoint<'ConceptScheme', 'getMany'> = ( http: AxiosInstance, - params: GetManyConceptSchemeParams + params: GetManyConceptSchemeParams, ) => { const url = params.query?.pageUrl ?? basePath(params.organizationId) return raw.get>(http, url, { @@ -50,13 +50,13 @@ export const getMany: RestEndpoint<'ConceptScheme', 'getMany'> = ( export const getTotal: RestEndpoint<'ConceptScheme', 'getTotal'> = ( http: AxiosInstance, - params: GetOrganizationParams + params: GetOrganizationParams, ) => raw.get<{ total: number }>(http, `${basePath(params.organizationId)}/total`) export const create: RestEndpoint<'ConceptScheme', 'create'> = ( http: AxiosInstance, params: GetOrganizationParams, - data: CreateConceptSchemeProps + data: CreateConceptSchemeProps, ) => { return raw.post(http, basePath(params.organizationId), data) } @@ -64,12 +64,12 @@ export const create: RestEndpoint<'ConceptScheme', 'create'> = ( export const createWithId: RestEndpoint<'ConceptScheme', 'createWithId'> = ( http: AxiosInstance, params: GetConceptSchemeParams, - data: CreateConceptSchemeProps + data: CreateConceptSchemeProps, ) => { return raw.put( http, `${basePath(params.organizationId)}/${params.conceptSchemeId}`, - data + data, ) } @@ -77,7 +77,7 @@ export const patch: RestEndpoint<'ConceptScheme', 'patch'> = ( http: AxiosInstance, params: UpdateConceptSchemeParams, data: OpPatch[], - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.patch( http, @@ -89,7 +89,7 @@ export const patch: RestEndpoint<'ConceptScheme', 'patch'> = ( 'Content-Type': 'application/json-patch+json', ...headers, }, - } + }, ) } @@ -97,7 +97,7 @@ export const update: RestEndpoint<'ConceptScheme', 'update'> = ( http: AxiosInstance, params: UpdateConceptSchemeParams, data: CreateConceptSchemeProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.put( http, @@ -108,6 +108,6 @@ export const update: RestEndpoint<'ConceptScheme', 'update'> = ( 'X-Contentful-Version': params.version, ...headers, }, - } + }, ) } diff --git a/lib/adapters/REST/endpoints/concept.ts b/lib/adapters/REST/endpoints/concept.ts index a386005dfc..39ad687ce9 100644 --- a/lib/adapters/REST/endpoints/concept.ts +++ b/lib/adapters/REST/endpoints/concept.ts @@ -22,7 +22,7 @@ function basePath(organizationId: string) { export const create: RestEndpoint<'Concept', 'create'> = ( http: AxiosInstance, params: GetOrganizationParams, - data: CreateConceptProps + data: CreateConceptProps, ) => { return raw.post(http, basePath(params.organizationId), data) } @@ -30,7 +30,7 @@ export const create: RestEndpoint<'Concept', 'create'> = ( export const createWithId: RestEndpoint<'Concept', 'createWithId'> = ( http: AxiosInstance, params: GetConceptParams, - data: CreateConceptProps + data: CreateConceptProps, ) => { return raw.put(http, `${basePath(params.organizationId)}/${params.conceptId}`, data) } @@ -39,7 +39,7 @@ export const patch: RestEndpoint<'Concept', 'patch'> = ( http: AxiosInstance, params: UpdateConceptParams, data: OpPatch[], - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.patch( http, @@ -51,7 +51,7 @@ export const patch: RestEndpoint<'Concept', 'patch'> = ( 'Content-Type': 'application/json-patch+json', ...headers, }, - } + }, ) } @@ -59,7 +59,7 @@ export const update: RestEndpoint<'Concept', 'update'> = ( http: AxiosInstance, params: UpdateConceptParams, data: CreateConceptProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.put( http, @@ -70,23 +70,23 @@ export const update: RestEndpoint<'Concept', 'update'> = ( 'X-Contentful-Version': params.version, ...headers, }, - } + }, ) } export const get: RestEndpoint<'Concept', 'get'> = ( http: AxiosInstance, - params: GetConceptParams + params: GetConceptParams, ) => raw.get[] }>( http, - `${basePath(params.organizationId)}/${params.conceptId}` + `${basePath(params.organizationId)}/${params.conceptId}`, ) export const del: RestEndpoint<'Concept', 'delete'> = ( http: AxiosInstance, params: DeleteConceptParams, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.del(http, `${basePath(params.organizationId)}/${params.conceptId}`, { headers: { @@ -97,7 +97,7 @@ export const del: RestEndpoint<'Concept', 'delete'> = ( export const getMany: RestEndpoint<'Concept', 'getMany'> = ( http: AxiosInstance, - params: GetManyConceptParams + params: GetManyConceptParams, ) => { const { url, queryParams } = cursorBasedCollection('', params) return raw.get< @@ -111,7 +111,7 @@ export const getMany: RestEndpoint<'Concept', 'getMany'> = ( export const getDescendants: RestEndpoint<'Concept', 'getDescendants'> = ( http: AxiosInstance, - params: GetConceptDescendantsParams + params: GetConceptDescendantsParams, ) => { const { url, queryParams } = cursorBasedCollection(`/${params.conceptId}/descendants`, params) return raw.get>(http, url, { params: queryParams }) @@ -119,7 +119,7 @@ export const getDescendants: RestEndpoint<'Concept', 'getDescendants'> = ( export const getAncestors: RestEndpoint<'Concept', 'getAncestors'> = ( http: AxiosInstance, - params: GetConceptDescendantsParams + params: GetConceptDescendantsParams, ) => { const { url, queryParams } = cursorBasedCollection(`/${params.conceptId}/ancestors`, params) return raw.get>(http, url, { params: queryParams }) @@ -127,7 +127,7 @@ export const getAncestors: RestEndpoint<'Concept', 'getAncestors'> = ( export const getTotal: RestEndpoint<'Concept', 'getTotal'> = ( http: AxiosInstance, - params: GetOrganizationParams + params: GetOrganizationParams, ) => raw.get<{ total: number }>(http, `${basePath(params.organizationId)}/total`) function cursorBasedCollection( @@ -135,7 +135,7 @@ function cursorBasedCollection( params: { organizationId: string query?: Record & { pageUrl?: string } - } + }, ): { url: string; queryParams: Record } { return params.query?.pageUrl ? { url: params.query?.pageUrl, queryParams: {} } diff --git a/lib/adapters/REST/endpoints/content-type.ts b/lib/adapters/REST/endpoints/content-type.ts index 0f712bf9e6..4bcd79e399 100644 --- a/lib/adapters/REST/endpoints/content-type.ts +++ b/lib/adapters/REST/endpoints/content-type.ts @@ -22,7 +22,7 @@ const getContentTypeUrl = (params: GetContentTypeParams) => export const get: RestEndpoint<'ContentType', 'get'> = ( http: AxiosInstance, params: GetContentTypeParams & QueryParams, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.get(http, getContentTypeUrl(params), { params: normalizeSelect(params.query), @@ -33,7 +33,7 @@ export const get: RestEndpoint<'ContentType', 'get'> = ( export const getMany: RestEndpoint<'ContentType', 'getMany'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & QueryParams, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.get>(http, getBaseUrl(params), { params: params.query, @@ -45,7 +45,7 @@ export const create: RestEndpoint<'ContentType', 'create'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams, rawData: CreateContentTypeProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data = copy(rawData) @@ -56,7 +56,7 @@ export const createWithId: RestEndpoint<'ContentType', 'createWithId'> = ( http: AxiosInstance, params: GetContentTypeParams, rawData: CreateContentTypeProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data = copy(rawData) @@ -67,7 +67,7 @@ export const update: RestEndpoint<'ContentType', 'update'> = ( http: AxiosInstance, params: GetContentTypeParams, rawData: ContentTypeProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -82,7 +82,7 @@ export const update: RestEndpoint<'ContentType', 'update'> = ( export const del: RestEndpoint<'ContentType', 'delete'> = ( http: AxiosInstance, params: GetContentTypeParams, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.del(http, getContentTypeUrl(params), { headers }) } @@ -91,7 +91,7 @@ export const publish: RestEndpoint<'ContentType', 'publish'> = ( http: AxiosInstance, params: GetContentTypeParams, rawData: ContentTypeProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.put(http, getContentTypeUrl(params) + '/published', null, { headers: { @@ -104,7 +104,7 @@ export const publish: RestEndpoint<'ContentType', 'publish'> = ( export const unpublish: RestEndpoint<'ContentType', 'unpublish'> = ( http: AxiosInstance, params: GetContentTypeParams, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.del(http, getContentTypeUrl(params) + '/published', { headers }) } diff --git a/lib/adapters/REST/endpoints/editor-interface.ts b/lib/adapters/REST/endpoints/editor-interface.ts index 9bedf71877..0f4d03d9c3 100644 --- a/lib/adapters/REST/endpoints/editor-interface.ts +++ b/lib/adapters/REST/endpoints/editor-interface.ts @@ -17,18 +17,18 @@ const getBaseUrl = (params: GetEditorInterfaceParams) => export const get: RestEndpoint<'EditorInterface', 'get'> = ( http: AxiosInstance, - params: GetEditorInterfaceParams + params: GetEditorInterfaceParams, ) => { return raw.get(http, getBaseUrl(params)) } export const getMany: RestEndpoint<'EditorInterface', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & QueryParams + params: GetSpaceEnvironmentParams & QueryParams, ) => { return raw.get>( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/editor_interfaces` + `/spaces/${params.spaceId}/environments/${params.environmentId}/editor_interfaces`, ) } @@ -36,7 +36,7 @@ export const update: RestEndpoint<'EditorInterface', 'update'> = ( http: AxiosInstance, params: GetEditorInterfaceParams, rawData: EditorInterfaceProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys diff --git a/lib/adapters/REST/endpoints/entry.ts b/lib/adapters/REST/endpoints/entry.ts index d6e6ae8e52..dc456543e4 100644 --- a/lib/adapters/REST/endpoints/entry.ts +++ b/lib/adapters/REST/endpoints/entry.ts @@ -18,7 +18,7 @@ export const get: RestEndpoint<'Entry', 'get'> = { return raw.get>( http, @@ -26,17 +26,17 @@ export const get: RestEndpoint<'Entry', 'get'> = = < - T extends KeyValueMap = KeyValueMap + T extends KeyValueMap = KeyValueMap, >( http: AxiosInstance, params: GetSpaceEnvironmentParams & QueryParams, rawData?: unknown, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.get>>( http, @@ -44,7 +44,7 @@ export const getPublished: RestEndpoint<'Entry', 'getPublished'> = < { params: normalizeSelect(params.query), headers: { ...headers }, - } + }, ) } @@ -52,7 +52,7 @@ export const getMany: RestEndpoint<'Entry', 'getMany'> = { return raw.get>>( http, @@ -60,7 +60,7 @@ export const getMany: RestEndpoint<'Entry', 'getMany'> = = { return raw.patch>( http, @@ -80,7 +80,7 @@ export const patch: RestEndpoint<'Entry', 'patch'> = = , - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -101,24 +101,24 @@ export const update: RestEndpoint<'Entry', 'update'> = = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & { entryId: string } + params: GetSpaceEnvironmentParams & { entryId: string }, ) => { return raw.del( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/entries/${params.entryId}` + `/spaces/${params.spaceId}/environments/${params.environmentId}/entries/${params.entryId}`, ) } export const publish: RestEndpoint<'Entry', 'publish'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { entryId: string; locales?: string[] }, - rawData: EntryProps + rawData: EntryProps, ) => { const payload = params.locales?.length ? { add: { fields: { '*': params.locales } } } : null @@ -130,14 +130,14 @@ export const publish: RestEndpoint<'Entry', 'publish'> = = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { entryId: string; locales?: string[] }, - rawData?: EntryProps + rawData?: EntryProps, ) => { if (params.locales?.length) { const payload = { remove: { fields: { '*': params.locales } } } @@ -149,40 +149,40 @@ export const unpublish: RestEndpoint<'Entry', 'unpublish'> = >( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/entries/${params.entryId}/published` + `/spaces/${params.spaceId}/environments/${params.environmentId}/entries/${params.entryId}/published`, ) } } export const archive: RestEndpoint<'Entry', 'archive'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & { entryId: string } + params: GetSpaceEnvironmentParams & { entryId: string }, ) => { return raw.put>( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/entries/${params.entryId}/archived` + `/spaces/${params.spaceId}/environments/${params.environmentId}/entries/${params.entryId}/archived`, ) } export const unarchive: RestEndpoint<'Entry', 'unarchive'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & { entryId: string } + params: GetSpaceEnvironmentParams & { entryId: string }, ) => { return raw.del>( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/entries/${params.entryId}/archived` + `/spaces/${params.spaceId}/environments/${params.environmentId}/entries/${params.entryId}/archived`, ) } export const create: RestEndpoint<'Entry', 'create'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { contentTypeId: string }, - rawData: CreateEntryProps + rawData: CreateEntryProps, ) => { const data = copy(rawData) @@ -194,16 +194,16 @@ export const create: RestEndpoint<'Entry', 'create'> = = < - T extends KeyValueMap = KeyValueMap + T extends KeyValueMap = KeyValueMap, >( http: AxiosInstance, params: GetSpaceEnvironmentParams & { entryId: string; contentTypeId: string }, - rawData: CreateEntryProps + rawData: CreateEntryProps, ) => { const data = copy(rawData) @@ -215,7 +215,7 @@ export const createWithId: RestEndpoint<'Entry', 'createWithId'> = < headers: { 'X-Contentful-Content-Type': params.contentTypeId, }, - } + }, ) } @@ -224,7 +224,7 @@ export const references: RestEndpoint<'Entry', 'references'> = ( params: GetSpaceEnvironmentParams & { entryId: string include?: number - } + }, ): Promise => { const { spaceId, environmentId, entryId, include } = params @@ -232,6 +232,6 @@ export const references: RestEndpoint<'Entry', 'references'> = ( return raw.get( http, - `/spaces/${spaceId}/environments/${environmentId}/entries/${entryId}/references?include=${level}` + `/spaces/${spaceId}/environments/${environmentId}/entries/${entryId}/references?include=${level}`, ) } diff --git a/lib/adapters/REST/endpoints/environment-alias.ts b/lib/adapters/REST/endpoints/environment-alias.ts index 7681f0ad1e..44fec09296 100644 --- a/lib/adapters/REST/endpoints/environment-alias.ts +++ b/lib/adapters/REST/endpoints/environment-alias.ts @@ -30,14 +30,14 @@ const getEnvironmentAliasUrl = (params: GetSpaceEnvAliasParams) => export const get: RestEndpoint<'EnvironmentAlias', 'get'> = ( http: AxiosInstance, - params: GetSpaceEnvAliasParams + params: GetSpaceEnvAliasParams, ) => { return raw.get(http, getEnvironmentAliasUrl(params)) } export const getMany: RestEndpoint<'EnvironmentAlias', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceParams & PaginationQueryParams + params: GetSpaceParams & PaginationQueryParams, ) => { return raw.get>(http, getBaseUrl(params), { params: params.query, @@ -48,7 +48,7 @@ export const createWithId: RestEndpoint<'EnvironmentAlias', 'createWithId'> = ( http: AxiosInstance, params: GetSpaceEnvAliasParams, rawData: CreateEnvironmentAliasProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data = copy(rawData) return raw.put(http, getEnvironmentAliasUrl(params), data, { @@ -60,7 +60,7 @@ export const update: RestEndpoint<'EnvironmentAlias', 'update'> = ( http: AxiosInstance, params: GetSpaceEnvAliasParams, rawData: EnvironmentAliasProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -74,7 +74,7 @@ export const update: RestEndpoint<'EnvironmentAlias', 'update'> = ( export const del: RestEndpoint<'EnvironmentAlias', 'delete'> = ( http: AxiosInstance, - params: GetSpaceEnvAliasParams + params: GetSpaceEnvAliasParams, ) => { return raw.del(http, getEnvironmentAliasUrl(params)) } diff --git a/lib/adapters/REST/endpoints/environment-template-installation.ts b/lib/adapters/REST/endpoints/environment-template-installation.ts index c6e644e1cf..e8aa2d3d2c 100644 --- a/lib/adapters/REST/endpoints/environment-template-installation.ts +++ b/lib/adapters/REST/endpoints/environment-template-installation.ts @@ -8,7 +8,7 @@ const apiPath = (organizationId: string, ...pathSegments: (number | string)[]) = export const getMany: RestEndpoint<'EnvironmentTemplateInstallation', 'getMany'> = ( http, { organizationId, environmentTemplateId, spaceId, environmentId, ...paginationProps }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.get(http, apiPath(organizationId, environmentTemplateId, 'template_installations'), { params: { @@ -25,7 +25,7 @@ export const getForEnvironment: RestEndpoint< > = ( http, { spaceId, environmentId, environmentTemplateId, installationId, ...paginationProps }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.get( http, @@ -36,5 +36,5 @@ export const getForEnvironment: RestEndpoint< ...paginationProps, }, headers, - } + }, ) diff --git a/lib/adapters/REST/endpoints/environment-template.ts b/lib/adapters/REST/endpoints/environment-template.ts index 9199e291cd..b72634cd12 100644 --- a/lib/adapters/REST/endpoints/environment-template.ts +++ b/lib/adapters/REST/endpoints/environment-template.ts @@ -11,7 +11,7 @@ const apiPath = (organizationId: string, ...pathSegments: (number | string)[]) = export const get: RestEndpoint<'EnvironmentTemplate', 'get'> = ( http, { organizationId, environmentTemplateId, version, query = {} }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => version ? raw.get(http, apiPath(organizationId, environmentTemplateId, 'versions', version), { @@ -26,21 +26,21 @@ export const get: RestEndpoint<'EnvironmentTemplate', 'get'> = ( export const getMany: RestEndpoint<'EnvironmentTemplate', 'getMany'> = ( http, { organizationId, query = {} }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.get(http, apiPath(organizationId), { params: query, headers }) export const create: RestEndpoint<'EnvironmentTemplate', 'create'> = ( http, { organizationId }, payload, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.post(http, apiPath(organizationId), payload, { headers }) export const update: RestEndpoint<'EnvironmentTemplate', 'update'> = ( http, { organizationId, environmentTemplateId }, payload, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(payload) delete data.sys @@ -57,7 +57,7 @@ export const versionUpdate: RestEndpoint<'EnvironmentTemplate', 'versionUpdate'> http, { organizationId, version, environmentTemplateId }, payload, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.patch(http, apiPath(organizationId, environmentTemplateId, 'versions', version), payload, { headers, @@ -66,13 +66,13 @@ export const versionUpdate: RestEndpoint<'EnvironmentTemplate', 'versionUpdate'> export const del: RestEndpoint<'EnvironmentTemplate', 'delete'> = ( http, { organizationId, environmentTemplateId }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.del(http, apiPath(organizationId, environmentTemplateId), { headers }) export const versions: RestEndpoint<'EnvironmentTemplate', 'versions'> = ( http, { organizationId, environmentTemplateId, query = {} }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.get(http, apiPath(organizationId, environmentTemplateId, 'versions'), { params: query, @@ -83,7 +83,7 @@ export const validate: RestEndpoint<'EnvironmentTemplate', 'validate'> = ( http, { spaceId, environmentId, environmentTemplateId, version }, payload, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.put( http, @@ -91,29 +91,29 @@ export const validate: RestEndpoint<'EnvironmentTemplate', 'validate'> = ( ? `/spaces/${spaceId}/environments/${environmentId}/template_installations/${environmentTemplateId}/versions/${version}/validated` : `/spaces/${spaceId}/environments/${environmentId}/template_installations/${environmentTemplateId}/validated`, payload, - { headers } + { headers }, ) export const install: RestEndpoint<'EnvironmentTemplate', 'install'> = ( http, { spaceId, environmentId, environmentTemplateId }, payload, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.post( http, `/spaces/${spaceId}/environments/${environmentId}/template_installations/${environmentTemplateId}/versions`, payload, - { headers } + { headers }, ) export const disconnect: RestEndpoint<'EnvironmentTemplate', 'disconnect'> = ( http, { spaceId, environmentId, environmentTemplateId }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.del( http, `/spaces/${spaceId}/environments/${environmentId}/template_installations/${environmentTemplateId}`, - { headers } + { headers }, ) diff --git a/lib/adapters/REST/endpoints/environment.ts b/lib/adapters/REST/endpoints/environment.ts index 002991659a..d93c4b94c1 100644 --- a/lib/adapters/REST/endpoints/environment.ts +++ b/lib/adapters/REST/endpoints/environment.ts @@ -14,17 +14,17 @@ import * as raw from './raw.js' export const get: RestEndpoint<'Environment', 'get'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams + params: GetSpaceEnvironmentParams, ) => { return raw.get( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}` + `/spaces/${params.spaceId}/environments/${params.environmentId}`, ) } export const getMany: RestEndpoint<'Environment', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceParams & PaginationQueryParams + params: GetSpaceParams & PaginationQueryParams, ) => { return raw.get>(http, `/spaces/${params.spaceId}/environments`, { params: params.query, @@ -35,7 +35,7 @@ export const update: RestEndpoint<'Environment', 'update'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams, rawData: EnvironmentProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -49,13 +49,13 @@ export const update: RestEndpoint<'Environment', 'update'> = ( ...headers, 'X-Contentful-Version': rawData.sys.version ?? 0, }, - } + }, ) } export const del: RestEndpoint<'Environment', 'delete'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams + params: GetSpaceEnvironmentParams, ) => { return raw.del(http, `/spaces/${params.spaceId}/environments/${params.environmentId}`) } @@ -64,7 +64,7 @@ export const create: RestEndpoint<'Environment', 'create'> = ( http: AxiosInstance, params: GetSpaceParams, rawData: CreateEnvironmentProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data = copy(rawData) return raw.post(http, `/spaces/${params.spaceId}/environments`, data, { @@ -76,7 +76,7 @@ export const createWithId: RestEndpoint<'Environment', 'createWithId'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { sourceEnvironmentId?: string }, rawData: CreateEnvironmentProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data = copy(rawData) return raw.put( @@ -92,6 +92,6 @@ export const createWithId: RestEndpoint<'Environment', 'createWithId'> = ( } : {}), }, - } + }, ) } diff --git a/lib/adapters/REST/endpoints/extension.ts b/lib/adapters/REST/endpoints/extension.ts index 5a75270685..20652894a5 100644 --- a/lib/adapters/REST/endpoints/extension.ts +++ b/lib/adapters/REST/endpoints/extension.ts @@ -21,7 +21,7 @@ export const getExtensionUrl = (params: GetExtensionParams) => export const get: RestEndpoint<'Extension', 'get'> = ( http: AxiosInstance, - params: GetExtensionParams & QueryParams + params: GetExtensionParams & QueryParams, ) => { return raw.get(http, getExtensionUrl(params), { params: normalizeSelect(params.query), @@ -30,7 +30,7 @@ export const get: RestEndpoint<'Extension', 'get'> = ( export const getMany: RestEndpoint<'Extension', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & QueryParams + params: GetSpaceEnvironmentParams & QueryParams, ) => { return raw.get>(http, getBaseUrl(params), { params: normalizeSelect(params.query), @@ -41,7 +41,7 @@ export const create: RestEndpoint<'Extension', 'create'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams, rawData: CreateExtensionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post(http, getBaseUrl(params), rawData, { headers }) } @@ -50,7 +50,7 @@ export const createWithId: RestEndpoint<'Extension', 'createWithId'> = ( http: AxiosInstance, params: GetExtensionParams, rawData: CreateExtensionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data = copy(rawData) @@ -61,7 +61,7 @@ export const update: RestEndpoint<'Extension', 'update'> = async ( http: AxiosInstance, params: GetExtensionParams, rawData: ExtensionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) @@ -77,7 +77,7 @@ export const update: RestEndpoint<'Extension', 'update'> = async ( export const del: RestEndpoint<'Extension', 'delete'> = ( http: AxiosInstance, - params: GetExtensionParams + params: GetExtensionParams, ) => { return raw.del(http, getExtensionUrl(params)) } diff --git a/lib/adapters/REST/endpoints/function-log.ts b/lib/adapters/REST/endpoints/function-log.ts index d7a9d7836e..1b027d12a0 100644 --- a/lib/adapters/REST/endpoints/function-log.ts +++ b/lib/adapters/REST/endpoints/function-log.ts @@ -20,7 +20,7 @@ const getURL = (params: GetFunctionLogParams) => export const get: RestEndpoint<'FunctionLog', 'get'> = ( http: AxiosInstance, - params: GetFunctionLogParams + params: GetFunctionLogParams, ) => { return raw.get(http, getURL(params), { headers: { @@ -31,7 +31,7 @@ export const get: RestEndpoint<'FunctionLog', 'get'> = ( export const getMany: RestEndpoint<'FunctionLog', 'getMany'> = ( http: AxiosInstance, - params: GetManyFunctionLogParams + params: GetManyFunctionLogParams, ) => { return raw.get>(http, baseURL(params), { params: params.query, diff --git a/lib/adapters/REST/endpoints/function.ts b/lib/adapters/REST/endpoints/function.ts index e550b0e8ff..314a229c8c 100644 --- a/lib/adapters/REST/endpoints/function.ts +++ b/lib/adapters/REST/endpoints/function.ts @@ -21,21 +21,21 @@ const getFunctionsEnvURL = (params: GetFunctionForEnvParams) => { export const get: RestEndpoint<'Function', 'get'> = ( http: AxiosInstance, - params: GetFunctionParams + params: GetFunctionParams, ) => { return raw.get(http, getFunctionUrl(params)) } export const getMany: RestEndpoint<'Function', 'getMany'> = ( http: AxiosInstance, - params: GetManyFunctionParams + params: GetManyFunctionParams, ) => { return raw.get>(http, getManyUrl(params), { params: params.query }) } export const getManyForEnvironment: RestEndpoint<'Function', 'getManyForEnvironment'> = ( http: AxiosInstance, - params: GetFunctionForEnvParams + params: GetFunctionForEnvParams, ) => { return raw.get>(http, getFunctionsEnvURL(params), { params: params.query, diff --git a/lib/adapters/REST/endpoints/http.ts b/lib/adapters/REST/endpoints/http.ts index a997a78f02..2c5186a6d6 100644 --- a/lib/adapters/REST/endpoints/http.ts +++ b/lib/adapters/REST/endpoints/http.ts @@ -5,7 +5,7 @@ import * as raw from './raw.js' export const get: RestEndpoint<'Http', 'get'> = ( http: AxiosInstance, - { url, config }: { url: string; config?: RawAxiosRequestConfig } + { url, config }: { url: string; config?: RawAxiosRequestConfig }, ) => { return raw.get(http, url, config) } @@ -13,7 +13,7 @@ export const get: RestEndpoint<'Http', 'get'> = ( export const post: RestEndpoint<'Http', 'post'> = ( http: AxiosInstance, { url, config }: { url: string; config?: RawAxiosRequestConfig }, - payload?: any + payload?: any, ) => { return raw.post(http, url, payload, config) } @@ -21,7 +21,7 @@ export const post: RestEndpoint<'Http', 'post'> = ( export const put: RestEndpoint<'Http', 'put'> = ( http: AxiosInstance, { url, config }: { url: string; config?: RawAxiosRequestConfig }, - payload?: any + payload?: any, ) => { return raw.put(http, url, payload, config) } @@ -29,21 +29,21 @@ export const put: RestEndpoint<'Http', 'put'> = ( export const patch: RestEndpoint<'Http', 'patch'> = ( http: AxiosInstance, { url, config }: { url: string; config?: RawAxiosRequestConfig }, - payload?: any + payload?: any, ) => { return raw.patch(http, url, payload, config) } export const del: RestEndpoint<'Http', 'delete'> = ( http: AxiosInstance, - { url, config }: { url: string; config?: RawAxiosRequestConfig } + { url, config }: { url: string; config?: RawAxiosRequestConfig }, ) => { return raw.del(http, url, config) } export const request: RestEndpoint<'Http', 'request'> = ( http: AxiosInstance, - { url, config }: { url: string; config?: RawAxiosRequestConfig } + { url, config }: { url: string; config?: RawAxiosRequestConfig }, ) => { return raw.http(http, url, config) } diff --git a/lib/adapters/REST/endpoints/locale.ts b/lib/adapters/REST/endpoints/locale.ts index 3b9b0f791f..ada9283fdc 100644 --- a/lib/adapters/REST/endpoints/locale.ts +++ b/lib/adapters/REST/endpoints/locale.ts @@ -14,24 +14,24 @@ import { normalizeSelect } from './utils.js' export const get: RestEndpoint<'Locale', 'get'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & { localeId: string } + params: GetSpaceEnvironmentParams & { localeId: string }, ) => { return raw.get( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/locales/${params.localeId}` + `/spaces/${params.spaceId}/environments/${params.environmentId}/locales/${params.localeId}`, ) } export const getMany: RestEndpoint<'Locale', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & QueryParams + params: GetSpaceEnvironmentParams & QueryParams, ) => { return raw.get>( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/locales`, { params: normalizeSelect(params.query), - } + }, ) } @@ -39,7 +39,7 @@ export const create: RestEndpoint<'Locale', 'create'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams, data: CreateLocaleProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post( http, @@ -47,7 +47,7 @@ export const create: RestEndpoint<'Locale', 'create'> = ( data, { headers, - } + }, ) } @@ -55,7 +55,7 @@ export const update: RestEndpoint<'Locale', 'update'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { localeId: string }, rawData: LocaleProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -69,16 +69,16 @@ export const update: RestEndpoint<'Locale', 'update'> = ( ...headers, 'X-Contentful-Version': rawData.sys.version ?? 0, }, - } + }, ) } export const del: RestEndpoint<'Locale', 'delete'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & { localeId: string } + params: GetSpaceEnvironmentParams & { localeId: string }, ) => { return raw.del( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/locales/${params.localeId}` + `/spaces/${params.spaceId}/environments/${params.environmentId}/locales/${params.localeId}`, ) } diff --git a/lib/adapters/REST/endpoints/oauth-application.ts b/lib/adapters/REST/endpoints/oauth-application.ts index 8b798cdd6c..87bb478d46 100644 --- a/lib/adapters/REST/endpoints/oauth-application.ts +++ b/lib/adapters/REST/endpoints/oauth-application.ts @@ -38,11 +38,11 @@ import type { */ export const get: RestEndpoint<'OAuthApplication', 'get'> = ( http: AxiosInstance, - params: GetOAuthApplicationParams + params: GetOAuthApplicationParams, ) => { return raw.get( http, - `/users/${params.userId}/oauth_applications/${params.oauthApplicationId}` + `/users/${params.userId}/oauth_applications/${params.oauthApplicationId}`, ) } @@ -70,14 +70,14 @@ export const get: RestEndpoint<'OAuthApplication', 'get'> = ( */ export const getManyForUser: RestEndpoint<'OAuthApplication', 'getManyForUser'> = ( http: AxiosInstance, - params: GetUserParams & QueryParams + params: GetUserParams & QueryParams, ) => { return raw.get>( http, `/users/${params.userId}/oauth_applications`, { params: params.query, - } + }, ) } @@ -110,7 +110,7 @@ export const create: RestEndpoint<'OAuthApplication', 'create'> = ( http: AxiosInstance, params: GetUserParams, rawData: CreateOAuthApplicationProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post( http, @@ -118,7 +118,7 @@ export const create: RestEndpoint<'OAuthApplication', 'create'> = ( rawData, { headers, - } + }, ) } @@ -151,7 +151,7 @@ export const update: RestEndpoint<'OAuthApplication', 'update'> = ( http: AxiosInstance, params: GetOAuthApplicationParams, rawData: UpdateOAuthApplicationProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.put( http, @@ -159,7 +159,7 @@ export const update: RestEndpoint<'OAuthApplication', 'update'> = ( rawData, { headers, - } + }, ) } @@ -187,10 +187,10 @@ export const update: RestEndpoint<'OAuthApplication', 'update'> = ( */ export const del: RestEndpoint<'OAuthApplication', 'delete'> = ( http: AxiosInstance, - params: GetOAuthApplicationParams + params: GetOAuthApplicationParams, ) => { return raw.del( http, - `/users/${params.userId}/oauth_applications/${params.oauthApplicationId}` + `/users/${params.userId}/oauth_applications/${params.oauthApplicationId}`, ) } diff --git a/lib/adapters/REST/endpoints/organization-invitation.ts b/lib/adapters/REST/endpoints/organization-invitation.ts index 24af469bfa..e3ca17188c 100644 --- a/lib/adapters/REST/endpoints/organization-invitation.ts +++ b/lib/adapters/REST/endpoints/organization-invitation.ts @@ -19,7 +19,7 @@ export const create: RestEndpoint<'OrganizationInvitation', 'create'> = ( http: AxiosInstance, params: { organizationId: string }, data: CreateOrganizationInvitationProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post( http, @@ -30,14 +30,14 @@ export const create: RestEndpoint<'OrganizationInvitation', 'create'> = ( ...InvitationAlphaHeaders, ...headers, }, - } + }, ) } export const get: RestEndpoint<'OrganizationInvitation', 'get'> = ( http: AxiosInstance, params: { organizationId: string; invitationId: string }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.get( http, @@ -47,6 +47,6 @@ export const get: RestEndpoint<'OrganizationInvitation', 'get'> = ( ...OrganizationUserManagementAlphaHeaders, ...headers, }, - } + }, ) } diff --git a/lib/adapters/REST/endpoints/organization-membership.ts b/lib/adapters/REST/endpoints/organization-membership.ts index 0a57dc20ef..3ac4778431 100644 --- a/lib/adapters/REST/endpoints/organization-membership.ts +++ b/lib/adapters/REST/endpoints/organization-membership.ts @@ -20,14 +20,14 @@ const getEntityUrl = (params: GetOrganizationMembershipParams) => export const get: RestEndpoint<'OrganizationMembership', 'get'> = ( http: AxiosInstance, - params: GetOrganizationMembershipParams + params: GetOrganizationMembershipParams, ) => { return raw.get(http, getEntityUrl(params)) } export const getMany: RestEndpoint<'OrganizationMembership', 'getMany'> = ( http: AxiosInstance, - params: GetOrganizationParams & QueryParams + params: GetOrganizationParams & QueryParams, ) => { return raw.get>(http, getBaseUrl(params), { params: params.query, @@ -38,7 +38,7 @@ export const update: RestEndpoint<'OrganizationMembership', 'update'> = ( http: AxiosInstance, params: GetOrganizationMembershipParams, rawData: OrganizationMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -53,13 +53,13 @@ export const update: RestEndpoint<'OrganizationMembership', 'update'> = ( ...headers, 'X-Contentful-Version': rawData.sys.version ?? 0, }, - } + }, ) } export const del: RestEndpoint<'OrganizationMembership', 'delete'> = ( http: AxiosInstance, - params: GetOrganizationMembershipParams + params: GetOrganizationMembershipParams, ) => { return raw.del(http, getEntityUrl(params)) } diff --git a/lib/adapters/REST/endpoints/organization.ts b/lib/adapters/REST/endpoints/organization.ts index 838f2b7cbd..e86f4c7c79 100644 --- a/lib/adapters/REST/endpoints/organization.ts +++ b/lib/adapters/REST/endpoints/organization.ts @@ -10,7 +10,7 @@ import * as raw from './raw.js' export const getMany: RestEndpoint<'Organization', 'getMany'> = ( http: AxiosInstance, - params?: PaginationQueryParams + params?: PaginationQueryParams, ) => { return raw.get>(http, `/organizations`, { params: params?.query, @@ -19,7 +19,7 @@ export const getMany: RestEndpoint<'Organization', 'getMany'> = ( export const get: RestEndpoint<'Organization', 'get'> = ( http: AxiosInstance, - params: GetOrganizationParams + params: GetOrganizationParams, ) => { return getMany(http, { query: { limit: 100 } }).then((data) => { const org = data.items.find((org) => org.sys.id === params.organizationId) @@ -27,7 +27,7 @@ export const get: RestEndpoint<'Organization', 'get'> = ( const error = new Error( `No organization was found with the ID ${ params.organizationId - } instead got ${JSON.stringify(data)}` + } instead got ${JSON.stringify(data)}`, ) // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore diff --git a/lib/adapters/REST/endpoints/personal-access-token.ts b/lib/adapters/REST/endpoints/personal-access-token.ts index f721377328..c67ac2960e 100644 --- a/lib/adapters/REST/endpoints/personal-access-token.ts +++ b/lib/adapters/REST/endpoints/personal-access-token.ts @@ -13,7 +13,7 @@ import * as raw from './raw.js' */ export const get: RestEndpoint<'PersonalAccessToken', 'get'> = ( http: AxiosInstance, - params: { tokenId: string } + params: { tokenId: string }, ) => { return raw.get(http, `/users/me/access_tokens/${params.tokenId}`) } @@ -23,7 +23,7 @@ export const get: RestEndpoint<'PersonalAccessToken', 'get'> = ( */ export const getMany: RestEndpoint<'PersonalAccessToken', 'getMany'> = ( http: AxiosInstance, - params: QueryParams + params: QueryParams, ) => { return raw.get>(http, '/users/me/access_tokens', { params: params.query, @@ -37,7 +37,7 @@ export const create: RestEndpoint<'PersonalAccessToken', 'create'> = ( http: AxiosInstance, _params: {}, rawData: CreatePersonalAccessTokenProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post(http, '/users/me/access_tokens', rawData, { headers, @@ -49,11 +49,11 @@ export const create: RestEndpoint<'PersonalAccessToken', 'create'> = ( */ export const revoke: RestEndpoint<'PersonalAccessToken', 'revoke'> = ( http: AxiosInstance, - params: { tokenId: string } + params: { tokenId: string }, ) => { return raw.put( http, `/users/me/access_tokens/${params.tokenId}/revoked`, - null + null, ) } diff --git a/lib/adapters/REST/endpoints/preview-api-key.ts b/lib/adapters/REST/endpoints/preview-api-key.ts index 1901382f96..d7c7adfa16 100644 --- a/lib/adapters/REST/endpoints/preview-api-key.ts +++ b/lib/adapters/REST/endpoints/preview-api-key.ts @@ -6,23 +6,23 @@ import * as raw from './raw.js' export const get: RestEndpoint<'PreviewApiKey', 'get'> = ( http: AxiosInstance, - params: GetSpaceParams & { previewApiKeyId: string } + params: GetSpaceParams & { previewApiKeyId: string }, ) => { return raw.get( http, - `/spaces/${params.spaceId}/preview_api_keys/${params.previewApiKeyId}` + `/spaces/${params.spaceId}/preview_api_keys/${params.previewApiKeyId}`, ) } export const getMany: RestEndpoint<'PreviewApiKey', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceParams & QueryParams + params: GetSpaceParams & QueryParams, ) => { return raw.get>( http, `/spaces/${params.spaceId}/preview_api_keys`, { params: params.query, - } + }, ) } diff --git a/lib/adapters/REST/endpoints/raw.ts b/lib/adapters/REST/endpoints/raw.ts index 949648e7d4..d636b1a567 100644 --- a/lib/adapters/REST/endpoints/raw.ts +++ b/lib/adapters/REST/endpoints/raw.ts @@ -20,7 +20,7 @@ export function patch( http: AxiosInstance, url: string, payload?: any, - config?: RawAxiosRequestConfig + config?: RawAxiosRequestConfig, ) { return http .patch(url, payload, { @@ -34,7 +34,7 @@ export function post( http: AxiosInstance, url: string, payload?: any, - config?: RawAxiosRequestConfig + config?: RawAxiosRequestConfig, ) { return http .post(url, payload, { @@ -48,7 +48,7 @@ export function put( http: AxiosInstance, url: string, payload?: any, - config?: RawAxiosRequestConfig + config?: RawAxiosRequestConfig, ) { return http .put(url, payload, { @@ -70,7 +70,7 @@ export function del(http: AxiosInstance, url: string, config?: RawAxios export function http( http: AxiosInstance, url: string, - config?: Omit + config?: Omit, ) { return http(url, { baseURL: getBaseUrl(http), diff --git a/lib/adapters/REST/endpoints/release-action.ts b/lib/adapters/REST/endpoints/release-action.ts index 5b0afd7698..97c814ac62 100644 --- a/lib/adapters/REST/endpoints/release-action.ts +++ b/lib/adapters/REST/endpoints/release-action.ts @@ -6,30 +6,30 @@ import * as raw from './raw.js' export const get: RestEndpoint<'ReleaseAction', 'get'> = ( http: AxiosInstance, - params: GetReleaseParams & { actionId: string } + params: GetReleaseParams & { actionId: string }, ) => { return raw.get( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/releases/${params.releaseId}/actions/${params.actionId}` + `/spaces/${params.spaceId}/environments/${params.environmentId}/releases/${params.releaseId}/actions/${params.actionId}`, ) } export const getMany: RestEndpoint<'ReleaseAction', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & { query?: ReleaseActionQueryOptions } + params: GetSpaceEnvironmentParams & { query?: ReleaseActionQueryOptions }, ) => { return raw.get( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/release_actions`, { params: params.query, - } + }, ) } export const queryForRelease: RestEndpoint<'ReleaseAction', 'queryForRelease'> = ( http: AxiosInstance, - params: GetReleaseParams & { query?: ReleaseActionQueryOptions } + params: GetReleaseParams & { query?: ReleaseActionQueryOptions }, ) => { return raw.get( http, @@ -39,6 +39,6 @@ export const queryForRelease: RestEndpoint<'ReleaseAction', 'queryForRelease'> = 'sys.release.sys.id[in]': params.releaseId, ...params.query, }, - } + }, ) } diff --git a/lib/adapters/REST/endpoints/release.ts b/lib/adapters/REST/endpoints/release.ts index dc1a47bc24..0346648b8d 100644 --- a/lib/adapters/REST/endpoints/release.ts +++ b/lib/adapters/REST/endpoints/release.ts @@ -11,17 +11,17 @@ import * as raw from './raw.js' export const get: RestEndpoint<'Release', 'get'> = ( http: AxiosInstance, - params: GetReleaseParams + params: GetReleaseParams, ) => { return raw.get( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/releases/${params.releaseId}` + `/spaces/${params.spaceId}/environments/${params.environmentId}/releases/${params.releaseId}`, ) } export const query: RestEndpoint<'Release', 'query'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & { query?: ReleaseQueryOptions } + params: GetSpaceEnvironmentParams & { query?: ReleaseQueryOptions }, ) => { return raw.get(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/releases`, { params: params.query, @@ -31,12 +31,12 @@ export const query: RestEndpoint<'Release', 'query'> = ( export const create: RestEndpoint<'Release', 'create'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams, - payload: ReleasePayload + payload: ReleasePayload, ) => { return raw.post( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/releases`, - payload + payload, ) } @@ -44,7 +44,7 @@ export const update: RestEndpoint<'Release', 'update'> = ( http: AxiosInstance, params: GetReleaseParams & { version: number }, payload: ReleasePayload, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.put( http, @@ -55,24 +55,24 @@ export const update: RestEndpoint<'Release', 'update'> = ( 'X-Contentful-Version': params.version, ...headers, }, - } + }, ) } export const del: RestEndpoint<'Release', 'delete'> = ( http: AxiosInstance, - params: GetReleaseParams + params: GetReleaseParams, ) => { return raw.del( http, - `/spaces/${params.spaceId}/environments/${params.environmentId}/releases/${params.releaseId}` + `/spaces/${params.spaceId}/environments/${params.environmentId}/releases/${params.releaseId}`, ) } export const publish: RestEndpoint<'Release', 'publish'> = ( http: AxiosInstance, params: GetReleaseParams & { version: number }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.put( http, @@ -83,14 +83,14 @@ export const publish: RestEndpoint<'Release', 'publish'> = ( 'X-Contentful-Version': params.version, ...headers, }, - } + }, ) } export const unpublish: RestEndpoint<'Release', 'unpublish'> = ( http: AxiosInstance, params: GetReleaseParams & { version: number }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.del( http, @@ -100,25 +100,25 @@ export const unpublish: RestEndpoint<'Release', 'unpublish'> = ( 'X-Contentful-Version': params.version, ...headers, }, - } + }, ) } export const validate: RestEndpoint<'Release', 'validate'> = ( http: AxiosInstance, params: GetReleaseParams, - payload?: ReleaseValidatePayload + payload?: ReleaseValidatePayload, ) => { return raw.post( http, `/spaces/${params.spaceId}/environments/${params.environmentId}/releases/${params.releaseId}/validate`, - payload + payload, ) } export const archive: RestEndpoint<'Release', 'archive'> = ( http: AxiosInstance, - params: GetReleaseParams & { version: string | number } + params: GetReleaseParams & { version: string | number }, ) => { return raw.put( http, @@ -128,13 +128,13 @@ export const archive: RestEndpoint<'Release', 'archive'> = ( headers: { 'X-Contentful-Version': params.version, }, - } + }, ) } export const unarchive: RestEndpoint<'Release', 'unarchive'> = ( http: AxiosInstance, - params: GetReleaseParams & { version: string | number } + params: GetReleaseParams & { version: string | number }, ) => { return raw.del( http, @@ -143,6 +143,6 @@ export const unarchive: RestEndpoint<'Release', 'unarchive'> = ( headers: { 'X-Contentful-Version': params.version, }, - } + }, ) } diff --git a/lib/adapters/REST/endpoints/resource-provider.ts b/lib/adapters/REST/endpoints/resource-provider.ts index 152ddf9fe4..eefe1955d7 100644 --- a/lib/adapters/REST/endpoints/resource-provider.ts +++ b/lib/adapters/REST/endpoints/resource-provider.ts @@ -13,7 +13,7 @@ const getBaseUrl = (params: GetResourceProviderParams) => export const get: RestEndpoint<'ResourceProvider', 'get'> = ( http: AxiosInstance, - params: GetResourceProviderParams + params: GetResourceProviderParams, ) => { return raw.get(http, getBaseUrl(params)) } @@ -22,14 +22,14 @@ export const upsert: RestEndpoint<'ResourceProvider', 'upsert'> = ( http: AxiosInstance, params: GetResourceProviderParams, rawData: UpsertResourceProviderProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.put(http, getBaseUrl(params), rawData, { headers }) } export const del: RestEndpoint<'ResourceProvider', 'delete'> = ( http: AxiosInstance, - params: GetResourceProviderParams + params: GetResourceProviderParams, ) => { return raw.del(http, getBaseUrl(params)) } diff --git a/lib/adapters/REST/endpoints/resource-type.ts b/lib/adapters/REST/endpoints/resource-type.ts index d86d8d1d23..cce2cab52b 100644 --- a/lib/adapters/REST/endpoints/resource-type.ts +++ b/lib/adapters/REST/endpoints/resource-type.ts @@ -17,7 +17,7 @@ import type { } from '../../../entities/resource-type.js' const getBaseUrl = ( - params: GetResourceTypeParams | Omit + params: GetResourceTypeParams | Omit, ) => `/organizations/${params.organizationId}/app_definitions/${params.appDefinitionId}/resource_provider/resource_types` @@ -25,12 +25,12 @@ const getEntityUrl = (params: GetResourceTypeParams) => `${getBaseUrl(params)}/${params.resourceTypeId}` const getSpaceEnvUrl = ( - params: GetSpaceEnvironmentParams & { query?: BasicCursorPaginationOptions } + params: GetSpaceEnvironmentParams & { query?: BasicCursorPaginationOptions }, ) => `/spaces/${params.spaceId}/environments/${params.environmentId}/resource_types` export const get: RestEndpoint<'ResourceType', 'get'> = ( http: AxiosInstance, - params: GetResourceTypeParams + params: GetResourceTypeParams, ) => { return raw.get(http, getEntityUrl(params)) } @@ -39,7 +39,7 @@ export const upsert: RestEndpoint<'ResourceType', 'upsert'> = ( http: AxiosInstance, params: GetResourceTypeParams, rawData: UpsertResourceTypeProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data = copy(rawData) @@ -48,24 +48,24 @@ export const upsert: RestEndpoint<'ResourceType', 'upsert'> = ( export const del: RestEndpoint<'ResourceType', 'delete'> = ( http: AxiosInstance, - params: GetResourceTypeParams + params: GetResourceTypeParams, ) => { return raw.del(http, getEntityUrl(params)) } export const getMany: RestEndpoint<'ResourceType', 'getMany'> = ( http: AxiosInstance, - params: Omit + params: Omit, ) => { return raw.get>(http, getBaseUrl(params)) } export const getForEnvironment: RestEndpoint<'ResourceType', 'getForEnvironment'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & { query?: BasicCursorPaginationOptions } + params: GetSpaceEnvironmentParams & { query?: BasicCursorPaginationOptions }, ) => { return raw.get>( http, - getSpaceEnvUrl(params) + getSpaceEnvUrl(params), ) } diff --git a/lib/adapters/REST/endpoints/resource.ts b/lib/adapters/REST/endpoints/resource.ts index 58f2afe694..fea0fc2f87 100644 --- a/lib/adapters/REST/endpoints/resource.ts +++ b/lib/adapters/REST/endpoints/resource.ts @@ -9,7 +9,7 @@ const getBaseUrl = (params: GetResourceParams) => export const getMany: RestEndpoint<'Resource', 'getMany'> = ( http: AxiosInstance, - params: GetResourceParams & { query?: ResourceQueryOptions } + params: GetResourceParams & { query?: ResourceQueryOptions }, ) => raw.get>(http, getBaseUrl(params), { params: params.query, diff --git a/lib/adapters/REST/endpoints/role.ts b/lib/adapters/REST/endpoints/role.ts index 009e7c6bd1..fec851313c 100644 --- a/lib/adapters/REST/endpoints/role.ts +++ b/lib/adapters/REST/endpoints/role.ts @@ -15,14 +15,14 @@ import { normalizeSelect } from './utils.js' export const get: RestEndpoint<'Role', 'get'> = ( http: AxiosInstance, - params: GetSpaceParams & { roleId: string } + params: GetSpaceParams & { roleId: string }, ) => { return raw.get(http, `/spaces/${params.spaceId}/roles/${params.roleId}`) } export const getMany: RestEndpoint<'Role', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceParams & QueryParams + params: GetSpaceParams & QueryParams, ) => { return raw.get>(http, `/spaces/${params.spaceId}/roles`, { params: normalizeSelect(params.query), @@ -31,7 +31,7 @@ export const getMany: RestEndpoint<'Role', 'getMany'> = ( export const getManyForOrganization: RestEndpoint<'Role', 'getManyForOrganization'> = ( http: AxiosInstance, - params: GetOrganizationParams & QueryParams + params: GetOrganizationParams & QueryParams, ) => { return raw.get>(http, `/organizations/${params.organizationId}/roles`, { params: normalizeSelect(params.query), @@ -42,7 +42,7 @@ export const create: RestEndpoint<'Role', 'create'> = ( http: AxiosInstance, params: GetSpaceParams, data: CreateRoleProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post(http, `/spaces/${params.spaceId}/roles`, data, { headers, @@ -53,7 +53,7 @@ export const createWithId: RestEndpoint<'Role', 'createWithId'> = ( http: AxiosInstance, params: GetSpaceParams & { roleId: string }, data: CreateRoleProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.put(http, `/spaces/${params.spaceId}/roles/${params.roleId}`, data, { headers, @@ -64,7 +64,7 @@ export const update: RestEndpoint<'Role', 'update'> = ( http: AxiosInstance, params: GetSpaceParams & { roleId: string }, rawData: RoleProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys diff --git a/lib/adapters/REST/endpoints/scheduled-action.ts b/lib/adapters/REST/endpoints/scheduled-action.ts index 658d1bfc3b..95e49dd8ac 100644 --- a/lib/adapters/REST/endpoints/scheduled-action.ts +++ b/lib/adapters/REST/endpoints/scheduled-action.ts @@ -12,7 +12,7 @@ import { normalizeSelect } from './utils.js' export const get: RestEndpoint<'ScheduledAction', 'get'> = ( http: AxiosInstance, - params: GetSpaceParams & { environmentId: string; scheduledActionId: string } + params: GetSpaceParams & { environmentId: string; scheduledActionId: string }, ) => { return raw.get( http, @@ -21,34 +21,34 @@ export const get: RestEndpoint<'ScheduledAction', 'get'> = ( params: { 'environment.sys.id': params.environmentId, }, - } + }, ) } export const getMany: RestEndpoint<'ScheduledAction', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceParams & QueryParams + params: GetSpaceParams & QueryParams, ) => { return raw.get>( http, `/spaces/${params.spaceId}/scheduled_actions`, { params: normalizeSelect(params.query), - } + }, ) } export const create: RestEndpoint<'ScheduledAction', 'create'> = ( http: AxiosInstance, params: GetSpaceParams, - data: Omit + data: Omit, ) => { return raw.post(http, `/spaces/${params.spaceId}/scheduled_actions`, data) } export const del: RestEndpoint<'ScheduledAction', 'delete'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & { scheduledActionId: string } + params: GetSpaceEnvironmentParams & { scheduledActionId: string }, ) => { return raw.del(http, `/spaces/${params.spaceId}/scheduled_actions/${params.scheduledActionId}`, { params: { @@ -60,7 +60,7 @@ export const del: RestEndpoint<'ScheduledAction', 'delete'> = ( export const update: RestEndpoint<'ScheduledAction', 'update'> = ( http: AxiosInstance, params: GetSpaceParams & { scheduledActionId: string; version: number }, - data: Omit + data: Omit, ) => { return raw.put( http, @@ -73,6 +73,6 @@ export const update: RestEndpoint<'ScheduledAction', 'update'> = ( headers: { 'X-Contentful-Version': params.version, }, - } + }, ) } diff --git a/lib/adapters/REST/endpoints/snapshot.ts b/lib/adapters/REST/endpoints/snapshot.ts index a76e7ae99b..f421d10e50 100644 --- a/lib/adapters/REST/endpoints/snapshot.ts +++ b/lib/adapters/REST/endpoints/snapshot.ts @@ -20,25 +20,25 @@ const getEntryUrl = (params: GetSnapshotForEntryParams & { snapshotId: string }) getBaseEntryUrl(params) + `/${params.snapshotId}` export const getManyForEntry: RestEndpoint<'Snapshot', 'getManyForEntry'> = < - T extends KeyValueMap = KeyValueMap + T extends KeyValueMap = KeyValueMap, >( http: AxiosInstance, - params: GetSnapshotForEntryParams & QueryParams + params: GetSnapshotForEntryParams & QueryParams, ) => { return raw.get, 'metadata'>>>>( http, getBaseEntryUrl(params), { params: normalizeSelect(params.query), - } + }, ) } export const getForEntry: RestEndpoint<'Snapshot', 'getForEntry'> = < - T extends KeyValueMap = KeyValueMap + T extends KeyValueMap = KeyValueMap, >( http: AxiosInstance, - params: GetSnapshotForEntryParams & { snapshotId: string } + params: GetSnapshotForEntryParams & { snapshotId: string }, ) => { return raw.get, 'metadata'>>>(http, getEntryUrl(params)) } @@ -51,20 +51,20 @@ const getContentTypeUrl = (params: GetSnapshotForContentTypeParams & { snapshotI export const getManyForContentType: RestEndpoint<'Snapshot', 'getManyForContentType'> = ( http: AxiosInstance, - params: GetSnapshotForContentTypeParams & QueryParams + params: GetSnapshotForContentTypeParams & QueryParams, ) => { return raw.get>>( http, getBaseContentTypeUrl(params), { params: normalizeSelect(params.query), - } + }, ) } export const getForContentType: RestEndpoint<'Snapshot', 'getForContentType'> = ( http: AxiosInstance, - params: GetSnapshotForContentTypeParams & { snapshotId: string } + params: GetSnapshotForContentTypeParams & { snapshotId: string }, ) => { return raw.get>(http, getContentTypeUrl(params)) } diff --git a/lib/adapters/REST/endpoints/space-member.ts b/lib/adapters/REST/endpoints/space-member.ts index 367caa5b45..b1185982ba 100644 --- a/lib/adapters/REST/endpoints/space-member.ts +++ b/lib/adapters/REST/endpoints/space-member.ts @@ -6,13 +6,13 @@ import * as raw from './raw.js' export const get: RestEndpoint<'SpaceMember', 'get'> = ( http: AxiosInstance, - params: GetSpaceParams & { spaceMemberId: string } + params: GetSpaceParams & { spaceMemberId: string }, ) => raw.get(http, `/spaces/${params.spaceId}/space_members/${params.spaceMemberId}`) export const getMany: RestEndpoint<'SpaceMember', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceParams & QueryParams + params: GetSpaceParams & QueryParams, ) => raw.get>(http, `/spaces/${params.spaceId}/space_members`, { params: params.query, diff --git a/lib/adapters/REST/endpoints/space-membership.ts b/lib/adapters/REST/endpoints/space-membership.ts index 0ba4db63cc..13ca31e9da 100644 --- a/lib/adapters/REST/endpoints/space-membership.ts +++ b/lib/adapters/REST/endpoints/space-membership.ts @@ -18,7 +18,7 @@ import * as raw from './raw.js' function spaceMembershipDeprecationWarning() { console.warn( - 'The user attribute in the space membership root is deprecated. The attribute has been moved inside the sys object (i.e. sys.user)' + 'The user attribute in the space membership root is deprecated. The attribute has been moved inside the sys object (i.e. sys.user)', ) } @@ -28,7 +28,7 @@ const getEntityUrl = (params: GetSpaceMembershipProps) => export const get: RestEndpoint<'SpaceMembership', 'get'> = ( http: AxiosInstance, - params: GetSpaceMembershipProps + params: GetSpaceMembershipProps, ) => { spaceMembershipDeprecationWarning() return raw.get(http, getEntityUrl(params)) @@ -36,7 +36,7 @@ export const get: RestEndpoint<'SpaceMembership', 'get'> = ( export const getMany: RestEndpoint<'SpaceMembership', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceParams & QueryParams + params: GetSpaceParams & QueryParams, ) => { spaceMembershipDeprecationWarning() return raw.get>(http, getBaseUrl(params), { @@ -46,24 +46,24 @@ export const getMany: RestEndpoint<'SpaceMembership', 'getMany'> = ( export const getForOrganization: RestEndpoint<'SpaceMembership', 'getForOrganization'> = ( http: AxiosInstance, - params: GetOrganizationParams & { spaceMembershipId: string } + params: GetOrganizationParams & { spaceMembershipId: string }, ) => { return raw.get( http, - `/organizations/${params.organizationId}/space_memberships/${params.spaceMembershipId}` + `/organizations/${params.organizationId}/space_memberships/${params.spaceMembershipId}`, ) } export const getManyForOrganization: RestEndpoint<'SpaceMembership', 'getManyForOrganization'> = ( http: AxiosInstance, - params: GetOrganizationParams & QueryParams + params: GetOrganizationParams & QueryParams, ) => { return raw.get>( http, `/organizations/${params.organizationId}/space_memberships`, { params: params.query, - } + }, ) } @@ -71,7 +71,7 @@ export const create: RestEndpoint<'SpaceMembership', 'create'> = ( http: AxiosInstance, params: GetSpaceParams, data: CreateSpaceMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { spaceMembershipDeprecationWarning() return raw.post(http, getBaseUrl(params), data, { @@ -83,7 +83,7 @@ export const createWithId: RestEndpoint<'SpaceMembership', 'createWithId'> = ( http: AxiosInstance, params: GetSpaceMembershipProps, data: CreateSpaceMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { spaceMembershipDeprecationWarning() return raw.put(http, getEntityUrl(params), data, { @@ -95,7 +95,7 @@ export const update: RestEndpoint<'SpaceMembership', 'update'> = ( http: AxiosInstance, params: GetSpaceMembershipProps, rawData: SpaceMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -109,7 +109,7 @@ export const update: RestEndpoint<'SpaceMembership', 'update'> = ( export const del: RestEndpoint<'SpaceMembership', 'delete'> = ( http: AxiosInstance, - params: GetSpaceMembershipProps + params: GetSpaceMembershipProps, ) => { return raw.del(http, getEntityUrl(params)) } diff --git a/lib/adapters/REST/endpoints/space.ts b/lib/adapters/REST/endpoints/space.ts index 7e81696ce3..435607a447 100644 --- a/lib/adapters/REST/endpoints/space.ts +++ b/lib/adapters/REST/endpoints/space.ts @@ -17,7 +17,7 @@ export const get: RestEndpoint<'Space', 'get'> = (http: AxiosInstance, params: G export const getMany: RestEndpoint<'Space', 'getMany'> = ( http: AxiosInstance, - params: QueryParams + params: QueryParams, ) => raw.get>(http, `/spaces`, { params: params.query, @@ -25,7 +25,7 @@ export const getMany: RestEndpoint<'Space', 'getMany'> = ( export const getManyForOrganization: RestEndpoint<'Space', 'getManyForOrganization'> = ( http: AxiosInstance, - params: GetOrganizationParams & QueryParams + params: GetOrganizationParams & QueryParams, ) => raw.get>(http, `/organizations/${params.organizationId}/spaces`, { params: params.query, @@ -35,7 +35,7 @@ export const create: RestEndpoint<'Space', 'create'> = ( http: AxiosInstance, params: { organizationId?: string }, payload: Omit, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post(http, `/spaces`, payload, { headers: params.organizationId @@ -48,7 +48,7 @@ export const update: RestEndpoint<'Space', 'update'> = ( http: AxiosInstance, params: GetSpaceParams, rawData: SpaceProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys diff --git a/lib/adapters/REST/endpoints/tag.ts b/lib/adapters/REST/endpoints/tag.ts index c719bbeaf4..da301c8792 100644 --- a/lib/adapters/REST/endpoints/tag.ts +++ b/lib/adapters/REST/endpoints/tag.ts @@ -27,7 +27,7 @@ export const get: RestEndpoint<'Tag', 'get'> = (http: AxiosInstance, params: Get export const getMany: RestEndpoint<'Tag', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams & QueryParams + params: GetSpaceEnvironmentParams & QueryParams, ) => raw.get>(http, getBaseUrl(params), { params: params.query, @@ -36,7 +36,7 @@ export const getMany: RestEndpoint<'Tag', 'getMany'> = ( export const createWithId: RestEndpoint<'Tag', 'createWithId'> = ( http: AxiosInstance, params: GetTagParams, - rawData: CreateTagProps + rawData: CreateTagProps, ) => { const data = copy(rawData) return raw.put(http, getTagUrl(params), data, { @@ -48,7 +48,7 @@ export const update: RestEndpoint<'Tag', 'update'> = ( http: AxiosInstance, params: GetTagParams, rawData: UpdateTagProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -63,7 +63,7 @@ export const update: RestEndpoint<'Tag', 'update'> = ( export const del: RestEndpoint<'Tag', 'delete'> = ( http: AxiosInstance, - { version, ...params }: DeleteTagParams + { version, ...params }: DeleteTagParams, ) => { return raw.del(http, getTagUrl(params), { headers: { 'X-Contentful-Version': version } }) } diff --git a/lib/adapters/REST/endpoints/task.ts b/lib/adapters/REST/endpoints/task.ts index e5212c3065..f24d0b1be5 100644 --- a/lib/adapters/REST/endpoints/task.ts +++ b/lib/adapters/REST/endpoints/task.ts @@ -28,7 +28,7 @@ export const get: RestEndpoint<'Task', 'get'> = (http: AxiosInstance, params: Ge export const getMany: RestEndpoint<'Task', 'getMany'> = ( http: AxiosInstance, - params: GetEntryParams & QueryParams & PaginationQueryOptions + params: GetEntryParams & QueryParams & PaginationQueryOptions, ) => raw.get>(http, getBaseUrl(params), { params: normalizeSelect(params.query), @@ -42,7 +42,7 @@ export const getAll: RestEndpoint<'Task', 'getAll'> = getMany export const create: RestEndpoint<'Task', 'create'> = ( http: AxiosInstance, params: CreateTaskParams, - rawData: CreateTaskProps + rawData: CreateTaskProps, ) => { const data = copy(rawData) return raw.post(http, getBaseUrl(params), data) @@ -52,7 +52,7 @@ export const update: RestEndpoint<'Task', 'update'> = ( http: AxiosInstance, params: GetTaskParams, rawData: UpdateTaskProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -67,7 +67,7 @@ export const update: RestEndpoint<'Task', 'update'> = ( export const del: RestEndpoint<'Task', 'delete'> = ( http: AxiosInstance, - { version, ...params }: DeleteTaskParams + { version, ...params }: DeleteTaskParams, ) => { return raw.del(http, getTaskUrl(params), { headers: { 'X-Contentful-Version': version } }) } diff --git a/lib/adapters/REST/endpoints/team-membership.ts b/lib/adapters/REST/endpoints/team-membership.ts index 086b674fc5..7a2370cbe8 100644 --- a/lib/adapters/REST/endpoints/team-membership.ts +++ b/lib/adapters/REST/endpoints/team-membership.ts @@ -25,24 +25,24 @@ const getEntityUrl = (params: GetTeamMembershipParams) => export const get: RestEndpoint<'TeamMembership', 'get'> = ( http: AxiosInstance, - params: GetTeamMembershipParams + params: GetTeamMembershipParams, ) => raw.get(http, getEntityUrl(params)) export const getManyForOrganization = ( http: AxiosInstance, - params: GetOrganizationParams & QueryParams + params: GetOrganizationParams & QueryParams, ) => raw.get>( http, `/organizations/${params.organizationId}/team_memberships`, { params: normalizeSelect(params.query), - } + }, ) export const getManyForTeam: RestEndpoint<'TeamMembership', 'getManyForTeam'> = ( http: AxiosInstance, - params: GetTeamParams & QueryParams + params: GetTeamParams & QueryParams, ) => { return raw.get>(http, getBaseUrl(params), { params: normalizeSelect(params.query), @@ -53,7 +53,7 @@ export const create: RestEndpoint<'TeamMembership', 'create'> = ( http: AxiosInstance, params: GetTeamParams, rawData: CreateTeamMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post(http, getBaseUrl(params), rawData, { headers }) } @@ -62,7 +62,7 @@ export const update: RestEndpoint<'TeamMembership', 'update'> = ( http: AxiosInstance, params: GetTeamMembershipParams, rawData: TeamMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -77,5 +77,5 @@ export const update: RestEndpoint<'TeamMembership', 'update'> = ( export const del: RestEndpoint<'TeamMembership', 'delete'> = ( http: AxiosInstance, - params: GetTeamMembershipParams + params: GetTeamMembershipParams, ) => raw.del(http, getEntityUrl(params)) diff --git a/lib/adapters/REST/endpoints/team-space-membership.ts b/lib/adapters/REST/endpoints/team-space-membership.ts index b2aec54577..f69a4b5d9a 100644 --- a/lib/adapters/REST/endpoints/team-space-membership.ts +++ b/lib/adapters/REST/endpoints/team-space-membership.ts @@ -23,12 +23,12 @@ const getEntityUrl = (params: GetTeamSpaceMembershipParams) => export const get: RestEndpoint<'TeamSpaceMembership', 'get'> = ( http: AxiosInstance, - params: GetTeamSpaceMembershipParams + params: GetTeamSpaceMembershipParams, ) => raw.get(http, getEntityUrl(params)) export const getMany: RestEndpoint<'TeamSpaceMembership', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceParams & QueryParams + params: GetSpaceParams & QueryParams, ) => raw.get>(http, getBaseUrl(params), { params: params.query, @@ -36,11 +36,11 @@ export const getMany: RestEndpoint<'TeamSpaceMembership', 'getMany'> = ( export const getForOrganization: RestEndpoint<'TeamSpaceMembership', 'getForOrganization'> = ( http: AxiosInstance, - params: GetOrganizationParams & { teamSpaceMembershipId: string } + params: GetOrganizationParams & { teamSpaceMembershipId: string }, ) => { return raw.get( http, - `/organizations/${params.organizationId}/team_space_memberships/${params.teamSpaceMembershipId}` + `/organizations/${params.organizationId}/team_space_memberships/${params.teamSpaceMembershipId}`, ) } @@ -57,7 +57,7 @@ export const getManyForOrganization: RestEndpoint< `/organizations/${params.organizationId}/team_space_memberships`, { params: params.query, - } + }, ) } @@ -65,7 +65,7 @@ export const create: RestEndpoint<'TeamSpaceMembership', 'create'> = ( http: AxiosInstance, params: GetSpaceParams & { teamId: string }, rawData: CreateTeamSpaceMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post(http, getBaseUrl(params), rawData, { headers: { @@ -79,7 +79,7 @@ export const update: RestEndpoint<'TeamSpaceMembership', 'update'> = ( http: AxiosInstance, params: GetTeamSpaceMembershipParams, rawData: TeamSpaceMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -95,7 +95,7 @@ export const update: RestEndpoint<'TeamSpaceMembership', 'update'> = ( export const del: RestEndpoint<'TeamSpaceMembership', 'delete'> = ( http: AxiosInstance, - params: GetTeamSpaceMembershipParams + params: GetTeamSpaceMembershipParams, ) => { return raw.del(http, getEntityUrl(params)) } diff --git a/lib/adapters/REST/endpoints/team.ts b/lib/adapters/REST/endpoints/team.ts index c4c2f9884f..22442549b2 100644 --- a/lib/adapters/REST/endpoints/team.ts +++ b/lib/adapters/REST/endpoints/team.ts @@ -24,7 +24,7 @@ export const get: RestEndpoint<'Team', 'get'> = (http: AxiosInstance, params: Ge export const getMany: RestEndpoint<'Team', 'getMany'> = ( http: AxiosInstance, - params: GetOrganizationParams & QueryParams + params: GetOrganizationParams & QueryParams, ) => raw.get>(http, getBaseUrl(params), { params: normalizeSelect(params.query), @@ -32,7 +32,7 @@ export const getMany: RestEndpoint<'Team', 'getMany'> = ( export const getManyForSpace: RestEndpoint<'Team', 'getManyForSpace'> = ( http: AxiosInstance, - params: GetSpaceParams & QueryParams + params: GetSpaceParams & QueryParams, ) => { return raw.get>(http, `/spaces/${params.spaceId}/teams`, { params: normalizeSelect(params.query), @@ -43,7 +43,7 @@ export const create: RestEndpoint<'Team', 'create'> = ( http: AxiosInstance, params: GetOrganizationParams, rawData: CreateTeamProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.post(http, getBaseUrl(params), rawData, { headers }) } @@ -52,7 +52,7 @@ export const update: RestEndpoint<'Team', 'update'> = ( http: AxiosInstance, params: GetTeamParams, rawData: TeamProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys diff --git a/lib/adapters/REST/endpoints/ui-config.ts b/lib/adapters/REST/endpoints/ui-config.ts index 82e4f9f95b..2a1a65a2eb 100644 --- a/lib/adapters/REST/endpoints/ui-config.ts +++ b/lib/adapters/REST/endpoints/ui-config.ts @@ -11,7 +11,7 @@ const getUrl = (params: GetUIConfigParams) => export const get: RestEndpoint<'UIConfig', 'get'> = ( http: AxiosInstance, - params: GetUIConfigParams + params: GetUIConfigParams, ) => { return raw.get(http, getUrl(params)) } @@ -19,7 +19,7 @@ export const get: RestEndpoint<'UIConfig', 'get'> = ( export const update: RestEndpoint<'UIConfig', 'update'> = ( http: AxiosInstance, params: GetUIConfigParams, - rawData: UIConfigProps + rawData: UIConfigProps, ) => { const data: SetOptional = copy(rawData) delete data.sys diff --git a/lib/adapters/REST/endpoints/upload-credentials.ts b/lib/adapters/REST/endpoints/upload-credentials.ts index 1c78a6b94c..d22b3ace0f 100644 --- a/lib/adapters/REST/endpoints/upload-credentials.ts +++ b/lib/adapters/REST/endpoints/upload-credentials.ts @@ -12,7 +12,7 @@ const getBaseUrl = (params: GetSpaceEnvironmentParams) => { export const create: RestEndpoint<'UploadCredential', 'create'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentParams + params: GetSpaceEnvironmentParams, ) => { const httpUpload = getUploadHttpClient(http) diff --git a/lib/adapters/REST/endpoints/upload.ts b/lib/adapters/REST/endpoints/upload.ts index f99e9d2cc9..f6e72f8d12 100644 --- a/lib/adapters/REST/endpoints/upload.ts +++ b/lib/adapters/REST/endpoints/upload.ts @@ -23,7 +23,7 @@ const getEntityUploadUrl = (params: GetSpaceEnvironmentUploadParams) => { export const create: RestEndpoint<'Upload', 'create'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams, - data: { file: string | ArrayBuffer | Stream } + data: { file: string | ArrayBuffer | Stream }, ) => { const httpUpload = getUploadHttpClient(http) @@ -41,7 +41,7 @@ export const create: RestEndpoint<'Upload', 'create'> = ( export const del: RestEndpoint<'Upload', 'delete'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentUploadParams + params: GetSpaceEnvironmentUploadParams, ) => { const httpUpload = getUploadHttpClient(http) const path = getEntityUploadUrl(params) @@ -50,7 +50,7 @@ export const del: RestEndpoint<'Upload', 'delete'> = ( export const get: RestEndpoint<'Upload', 'get'> = ( http: AxiosInstance, - params: GetSpaceEnvironmentUploadParams + params: GetSpaceEnvironmentUploadParams, ) => { const httpUpload = getUploadHttpClient(http) const path = getEntityUploadUrl(params) diff --git a/lib/adapters/REST/endpoints/usage.ts b/lib/adapters/REST/endpoints/usage.ts index 416be09563..dde8b98184 100644 --- a/lib/adapters/REST/endpoints/usage.ts +++ b/lib/adapters/REST/endpoints/usage.ts @@ -6,26 +6,26 @@ import * as raw from './raw.js' export const getManyForSpace: RestEndpoint<'Usage', 'getManyForSpace'> = ( http: AxiosInstance, - params: { organizationId: string } & QueryParams + params: { organizationId: string } & QueryParams, ) => { return raw.get>>( http, `/organizations/${params.organizationId}/space_periodic_usages`, { params: params.query, - } + }, ) } export const getManyForOrganization: RestEndpoint<'Usage', 'getManyForOrganization'> = ( http: AxiosInstance, - params: { organizationId: string } & QueryParams + params: { organizationId: string } & QueryParams, ) => { return raw.get>>( http, `/organizations/${params.organizationId}/organization_periodic_usages`, { params: params.query, - } + }, ) } diff --git a/lib/adapters/REST/endpoints/user-ui-config.ts b/lib/adapters/REST/endpoints/user-ui-config.ts index ca3f787952..0e6bf965a5 100644 --- a/lib/adapters/REST/endpoints/user-ui-config.ts +++ b/lib/adapters/REST/endpoints/user-ui-config.ts @@ -11,7 +11,7 @@ const getUrl = (params: GetUserUIConfigParams) => export const get: RestEndpoint<'UserUIConfig', 'get'> = ( http: AxiosInstance, - params: GetUserUIConfigParams + params: GetUserUIConfigParams, ) => { return raw.get(http, getUrl(params)) } @@ -19,7 +19,7 @@ export const get: RestEndpoint<'UserUIConfig', 'get'> = ( export const update: RestEndpoint<'UserUIConfig', 'update'> = ( http: AxiosInstance, params: GetUserUIConfigParams, - rawData: UserUIConfigProps + rawData: UserUIConfigProps, ) => { const data: SetOptional = copy(rawData) delete data.sys diff --git a/lib/adapters/REST/endpoints/user.ts b/lib/adapters/REST/endpoints/user.ts index 2f5d8773db..e1b1d24088 100644 --- a/lib/adapters/REST/endpoints/user.ts +++ b/lib/adapters/REST/endpoints/user.ts @@ -11,19 +11,19 @@ import * as raw from './raw.js' export const getForSpace: RestEndpoint<'User', 'getForSpace'> = ( http: AxiosInstance, - params: GetSpaceParams & { userId: string } + params: GetSpaceParams & { userId: string }, ) => { return raw.get(http, `/spaces/${params.spaceId}/users/${params.userId}`) } export const getCurrent: RestEndpoint<'User', 'getCurrent'> = ( http: AxiosInstance, - params?: QueryParams + params?: QueryParams, ) => raw.get(http, `/users/me`, { params: params?.query }) export const getManyForSpace: RestEndpoint<'User', 'getManyForSpace'> = ( http: AxiosInstance, - params: GetSpaceParams & QueryParams + params: GetSpaceParams & QueryParams, ) => { return raw.get>(http, `/spaces/${params.spaceId}/users`, { params: params.query, @@ -32,14 +32,14 @@ export const getManyForSpace: RestEndpoint<'User', 'getManyForSpace'> = ( export const getForOrganization: RestEndpoint<'User', 'getForOrganization'> = ( http: AxiosInstance, - params: GetOrganizationParams & { userId: string } + params: GetOrganizationParams & { userId: string }, ) => { return raw.get(http, `/organizations/${params.organizationId}/users/${params.userId}`) } export const getManyForOrganization: RestEndpoint<'User', 'getManyForOrganization'> = ( http: AxiosInstance, - params: GetOrganizationParams & QueryParams + params: GetOrganizationParams & QueryParams, ) => { return raw.get>(http, `/organizations/${params.organizationId}/users`, { params: params.query, diff --git a/lib/adapters/REST/endpoints/webhook.ts b/lib/adapters/REST/endpoints/webhook.ts index 64c33854f2..39d8910762 100644 --- a/lib/adapters/REST/endpoints/webhook.ts +++ b/lib/adapters/REST/endpoints/webhook.ts @@ -47,14 +47,14 @@ const getWebhookRetryPolicyUrl = (params: GetSpaceParams) => export const get: RestEndpoint<'Webhook', 'get'> = ( http: AxiosInstance, - params: GetWebhookParams + params: GetWebhookParams, ) => { return raw.get(http, getWebhookUrl(params)) } export const getManyCallDetails: RestEndpoint<'Webhook', 'getManyCallDetails'> = ( http: AxiosInstance, - params: GetWebhookParams & QueryParams + params: GetWebhookParams & QueryParams, ) => { return raw.get(http, getWebhookCallUrl(params), { params: normalizeSelect(params.query), @@ -63,21 +63,21 @@ export const getManyCallDetails: RestEndpoint<'Webhook', 'getManyCallDetails'> = export const getCallDetails: RestEndpoint<'Webhook', 'getCallDetails'> = ( http: AxiosInstance, - params: GetWebhookCallDetailsUrl + params: GetWebhookCallDetailsUrl, ) => { return raw.get(http, getWebhookCallDetailsUrl(params)) } export const getHealthStatus: RestEndpoint<'Webhook', 'getHealthStatus'> = ( http: AxiosInstance, - params: GetWebhookParams + params: GetWebhookParams, ) => { return raw.get(http, getWebhookHealthUrl(params)) } export const getMany: RestEndpoint<'Webhook', 'getMany'> = ( http: AxiosInstance, - params: GetSpaceParams & QueryParams + params: GetSpaceParams & QueryParams, ) => { return raw.get(http, getBaseUrl(params), { params: normalizeSelect(params.query), @@ -86,7 +86,7 @@ export const getMany: RestEndpoint<'Webhook', 'getMany'> = ( export const getSigningSecret: RestEndpoint<'Webhook', 'getSigningSecret'> = ( http: AxiosInstance, - params: GetSpaceParams + params: GetSpaceParams, ) => { return raw.get(http, getWebhookSigningSecretUrl(params)) } @@ -96,7 +96,7 @@ export const getSigningSecret: RestEndpoint<'Webhook', 'getSigningSecret'> = ( */ export const getRetryPolicy: RestEndpoint<'Webhook', 'getRetryPolicy'> = ( http: AxiosInstance, - params: GetSpaceParams + params: GetSpaceParams, ) => { return raw.get(http, getWebhookRetryPolicyUrl(params)) } @@ -105,7 +105,7 @@ export const create: RestEndpoint<'Webhook', 'create'> = ( http: AxiosInstance, params: GetSpaceParams, rawData: CreateWebhooksProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data = copy(rawData) @@ -116,7 +116,7 @@ export const createWithId = ( http: AxiosInstance, params: GetWebhookParams, rawData: CreateWebhooksProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data = copy(rawData) @@ -127,7 +127,7 @@ export const update: RestEndpoint<'Webhook', 'update'> = async ( http: AxiosInstance, params: GetWebhookParams, rawData: WebhookProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) @@ -144,7 +144,7 @@ export const update: RestEndpoint<'Webhook', 'update'> = async ( export const upsertSigningSecret: RestEndpoint<'Webhook', 'upsertSigningSecret'> = async ( http: AxiosInstance, params: GetSpaceParams, - rawData: UpsertWebhookSigningSecretPayload + rawData: UpsertWebhookSigningSecretPayload, ) => { const data = copy(rawData) @@ -157,7 +157,7 @@ export const upsertSigningSecret: RestEndpoint<'Webhook', 'upsertSigningSecret'> export const upsertRetryPolicy: RestEndpoint<'Webhook', 'upsertRetryPolicy'> = async ( http: AxiosInstance, params: GetSpaceParams, - rawData: WebhookRetryPolicyPayload + rawData: WebhookRetryPolicyPayload, ) => { const data = copy(rawData) @@ -166,14 +166,14 @@ export const upsertRetryPolicy: RestEndpoint<'Webhook', 'upsertRetryPolicy'> = a export const del: RestEndpoint<'Webhook', 'delete'> = ( http: AxiosInstance, - params: GetWebhookParams + params: GetWebhookParams, ) => { return raw.del(http, getWebhookUrl(params)) } export const deleteSigningSecret: RestEndpoint<'Webhook', 'deleteSigningSecret'> = async ( http: AxiosInstance, - params: GetSpaceParams + params: GetSpaceParams, ) => { return raw.del(http, getWebhookSigningSecretUrl(params)) } @@ -183,7 +183,7 @@ export const deleteSigningSecret: RestEndpoint<'Webhook', 'deleteSigningSecret'> */ export const deleteRetryPolicy: RestEndpoint<'Webhook', 'deleteRetryPolicy'> = async ( http: AxiosInstance, - params: GetSpaceParams + params: GetSpaceParams, ) => { return raw.del(http, getWebhookRetryPolicyUrl(params)) } diff --git a/lib/adapters/REST/endpoints/workflow-definition.ts b/lib/adapters/REST/endpoints/workflow-definition.ts index 9cb657bd0b..543951bf62 100644 --- a/lib/adapters/REST/endpoints/workflow-definition.ts +++ b/lib/adapters/REST/endpoints/workflow-definition.ts @@ -25,7 +25,7 @@ const getWorkflowDefinitionUrl = (params: GetWorkflowDefinitionParams) => export const get: RestEndpoint<'WorkflowDefinition', 'get'> = ( http: AxiosInstance, params: GetWorkflowDefinitionParams, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.get(http, getWorkflowDefinitionUrl(params), { headers, @@ -34,7 +34,7 @@ export const get: RestEndpoint<'WorkflowDefinition', 'get'> = ( export const getMany: RestEndpoint<'WorkflowDefinition', 'getMany'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { query?: WorkflowDefinitionQueryOptions }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.get>(http, getBaseUrl(params), { headers, @@ -45,7 +45,7 @@ export const create: RestEndpoint<'WorkflowDefinition', 'create'> = ( http: AxiosInstance, params: CreateWorkflowDefinitionParams, rawData: CreateWorkflowDefinitionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data = copy(rawData) return raw.post(http, getBaseUrl(params), data, { @@ -57,7 +57,7 @@ export const update: RestEndpoint<'WorkflowDefinition', 'update'> = ( http: AxiosInstance, params: GetWorkflowDefinitionParams, rawData: UpdateWorkflowDefinitionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -73,7 +73,7 @@ export const update: RestEndpoint<'WorkflowDefinition', 'update'> = ( export const del: RestEndpoint<'WorkflowDefinition', 'delete'> = ( http: AxiosInstance, { version, ...params }: DeleteWorkflowDefinitionParams, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.del(http, getWorkflowDefinitionUrl(params), { headers: { 'X-Contentful-Version': version, ...headers }, diff --git a/lib/adapters/REST/endpoints/workflow.ts b/lib/adapters/REST/endpoints/workflow.ts index ee44820615..b9a79db0b6 100644 --- a/lib/adapters/REST/endpoints/workflow.ts +++ b/lib/adapters/REST/endpoints/workflow.ts @@ -29,7 +29,7 @@ const completeWorkflowUrl = (params: GetWorkflowParams) => `${getWorkflowUrl(par export const getMany: RestEndpoint<'Workflow', 'getMany'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { query?: WorkflowQueryOptions }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.get>(http, getBaseUrl(params), { headers, @@ -39,7 +39,7 @@ export const getMany: RestEndpoint<'Workflow', 'getMany'> = ( export const get: RestEndpoint<'Workflow', 'get'> = ( http: AxiosInstance, params: GetWorkflowParams, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.get(http, getWorkflowUrl(params), { headers, @@ -49,7 +49,7 @@ export const create: RestEndpoint<'Workflow', 'create'> = ( http: AxiosInstance, params: CreateWorkflowParams, rawData: CreateWorkflowProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data = copy(rawData) return raw.post(http, getBaseUrl(params), data, { @@ -61,7 +61,7 @@ export const update: RestEndpoint<'Workflow', 'update'> = ( http: AxiosInstance, params: UpdateWorkflowParams, rawData: UpdateWorkflowProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { const data: SetOptional = copy(rawData) delete data.sys @@ -77,7 +77,7 @@ export const update: RestEndpoint<'Workflow', 'update'> = ( export const del: RestEndpoint<'Workflow', 'delete'> = ( http: AxiosInstance, { version, ...params }: DeleteWorkflowParams, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.del(http, getWorkflowUrl(params), { headers: { 'X-Contentful-Version': version, ...headers }, @@ -87,7 +87,7 @@ export const del: RestEndpoint<'Workflow', 'delete'> = ( export const complete: RestEndpoint<'Workflow', 'complete'> = ( http: AxiosInstance, { version, ...params }: CompleteWorkflowParams, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => { return raw.put(http, completeWorkflowUrl(params), null, { headers: { 'X-Contentful-Version': version, ...headers }, diff --git a/lib/adapters/REST/endpoints/workflows-changelog.ts b/lib/adapters/REST/endpoints/workflows-changelog.ts index dd0e2b53fa..6dcdcc18ac 100644 --- a/lib/adapters/REST/endpoints/workflows-changelog.ts +++ b/lib/adapters/REST/endpoints/workflows-changelog.ts @@ -13,7 +13,7 @@ const getBaseUrl = (params: GetSpaceEnvironmentParams) => export const getMany: RestEndpoint<'WorkflowsChangelog', 'getMany'> = ( http: AxiosInstance, params: GetSpaceEnvironmentParams & { query: WorkflowsChangelogQueryOptions }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => raw.get>(http, getBaseUrl(params), { headers, diff --git a/lib/adapters/REST/make-request.ts b/lib/adapters/REST/make-request.ts index adba21c76c..2bfb75e599 100644 --- a/lib/adapters/REST/make-request.ts +++ b/lib/adapters/REST/make-request.ts @@ -23,7 +23,7 @@ export const makeRequest = async ({ http: AxiosInstance, params?: Record, payload?: Record | OpPatch[] | MakeRequestPayload, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ) => Promise = // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore diff --git a/lib/adapters/REST/types.ts b/lib/adapters/REST/types.ts index 59d2298a01..9644375a5c 100644 --- a/lib/adapters/REST/types.ts +++ b/lib/adapters/REST/types.ts @@ -16,11 +16,11 @@ export type RestEndpoint< Headers = 'headers' extends keyof MROpts ? MROpts['headers'] : undefined, - Return = MRReturn + Return = MRReturn, > = Params extends undefined ? (http: AxiosInstance) => Return : Payload extends undefined - ? (http: AxiosInstance, params: Params) => Return - : Headers extends undefined - ? (http: AxiosInstance, params: Params, payload: Payload) => Return - : (http: AxiosInstance, params: Params, payload: Payload, headers: Headers) => Return + ? (http: AxiosInstance, params: Params) => Return + : Headers extends undefined + ? (http: AxiosInstance, params: Params, payload: Payload) => Return + : (http: AxiosInstance, params: Params, payload: Payload, headers: Headers) => Return diff --git a/lib/common-types.ts b/lib/common-types.ts index 80be466a0f..1263c95af5 100644 --- a/lib/common-types.ts +++ b/lib/common-types.ts @@ -431,10 +431,9 @@ type MRInternal = { (opts: MROpts<'AppAction', 'update', UA>): MRReturn<'AppAction', 'update'> (opts: MROpts<'AppActionCall', 'create', UA>): MRReturn<'AppActionCall', 'create'> - (opts: MROpts<'AppActionCall', 'createWithResponse', UA>): MRReturn< - 'AppActionCall', - 'createWithResponse' - > + ( + opts: MROpts<'AppActionCall', 'createWithResponse', UA>, + ): MRReturn<'AppActionCall', 'createWithResponse'> (opts: MROpts<'AppActionCall', 'getCallDetails', UA>): MRReturn<'AppActionCall', 'getCallDetails'> (opts: MROpts<'AppBundle', 'get', UA>): MRReturn<'AppBundle', 'get'> @@ -454,19 +453,17 @@ type MRInternal = { (opts: MROpts<'AppDefinition', 'create', UA>): MRReturn<'AppDefinition', 'create'> (opts: MROpts<'AppDefinition', 'update', UA>): MRReturn<'AppDefinition', 'update'> (opts: MROpts<'AppDefinition', 'delete', UA>): MRReturn<'AppDefinition', 'delete'> - (opts: MROpts<'AppDefinition', 'getInstallationsForOrg', UA>): MRReturn< - 'AppDefinition', - 'getInstallationsForOrg' - > + ( + opts: MROpts<'AppDefinition', 'getInstallationsForOrg', UA>, + ): MRReturn<'AppDefinition', 'getInstallationsForOrg'> (opts: MROpts<'AppInstallation', 'get', UA>): MRReturn<'AppInstallation', 'get'> (opts: MROpts<'AppInstallation', 'getMany', UA>): MRReturn<'AppInstallation', 'getMany'> (opts: MROpts<'AppInstallation', 'upsert', UA>): MRReturn<'AppInstallation', 'upsert'> (opts: MROpts<'AppInstallation', 'delete', UA>): MRReturn<'AppInstallation', 'delete'> - (opts: MROpts<'AppInstallation', 'getForOrganization', UA>): MRReturn< - 'AppInstallation', - 'getForOrganization' - > + ( + opts: MROpts<'AppInstallation', 'getForOrganization', UA>, + ): MRReturn<'AppInstallation', 'getForOrganization'> (opts: MROpts<'Asset', 'getMany', UA>): MRReturn<'Asset', 'getMany'> (opts: MROpts<'Asset', 'getPublished', UA>): MRReturn<'Asset', 'getPublished'> @@ -563,10 +560,9 @@ type MRInternal = { (opts: MROpts<'EnvironmentAlias', 'get', UA>): MRReturn<'EnvironmentAlias', 'get'> (opts: MROpts<'EnvironmentAlias', 'getMany', UA>): MRReturn<'EnvironmentAlias', 'getMany'> - (opts: MROpts<'EnvironmentAlias', 'createWithId', UA>): MRReturn< - 'EnvironmentAlias', - 'createWithId' - > + ( + opts: MROpts<'EnvironmentAlias', 'createWithId', UA>, + ): MRReturn<'EnvironmentAlias', 'createWithId'> (opts: MROpts<'EnvironmentAlias', 'update', UA>): MRReturn<'EnvironmentAlias', 'update'> (opts: MROpts<'EnvironmentAlias', 'delete', UA>): MRReturn<'EnvironmentAlias', 'delete'> @@ -576,25 +572,21 @@ type MRInternal = { (opts: MROpts<'EnvironmentTemplate', 'update', UA>): MRReturn<'EnvironmentTemplate', 'update'> (opts: MROpts<'EnvironmentTemplate', 'delete', UA>): MRReturn<'EnvironmentTemplate', 'delete'> (opts: MROpts<'EnvironmentTemplate', 'versions', UA>): MRReturn<'EnvironmentTemplate', 'versions'> - (opts: MROpts<'EnvironmentTemplate', 'versionUpdate', UA>): MRReturn< - 'EnvironmentTemplate', - 'versionUpdate' - > + ( + opts: MROpts<'EnvironmentTemplate', 'versionUpdate', UA>, + ): MRReturn<'EnvironmentTemplate', 'versionUpdate'> (opts: MROpts<'EnvironmentTemplate', 'validate', UA>): MRReturn<'EnvironmentTemplate', 'validate'> (opts: MROpts<'EnvironmentTemplate', 'install', UA>): MRReturn<'EnvironmentTemplate', 'install'> - (opts: MROpts<'EnvironmentTemplate', 'disconnect', UA>): MRReturn< - 'EnvironmentTemplate', - 'disconnect' - > - - (opts: MROpts<'EnvironmentTemplateInstallation', 'getMany', UA>): MRReturn< - 'EnvironmentTemplateInstallation', - 'getMany' - > - (opts: MROpts<'EnvironmentTemplateInstallation', 'getForEnvironment', UA>): MRReturn< - 'EnvironmentTemplateInstallation', - 'getForEnvironment' - > + ( + opts: MROpts<'EnvironmentTemplate', 'disconnect', UA>, + ): MRReturn<'EnvironmentTemplate', 'disconnect'> + + ( + opts: MROpts<'EnvironmentTemplateInstallation', 'getMany', UA>, + ): MRReturn<'EnvironmentTemplateInstallation', 'getMany'> + ( + opts: MROpts<'EnvironmentTemplateInstallation', 'getForEnvironment', UA>, + ): MRReturn<'EnvironmentTemplateInstallation', 'getForEnvironment'> (opts: MROpts<'Entry', 'getMany', UA>): MRReturn<'Entry', 'getMany'> (opts: MROpts<'Entry', 'getPublished', UA>): MRReturn<'Entry', 'getPublished'> @@ -619,10 +611,9 @@ type MRInternal = { (opts: MROpts<'Function', 'get', UA>): MRReturn<'Function', 'get'> (opts: MROpts<'Function', 'getMany', UA>): MRReturn<'Function', 'getMany'> - (opts: MROpts<'Function', 'getManyForEnvironment', UA>): MRReturn< - 'Function', - 'getManyForEnvironment' - > + ( + opts: MROpts<'Function', 'getManyForEnvironment', UA>, + ): MRReturn<'Function', 'getManyForEnvironment'> (opts: MROpts<'FunctionLog', 'get', UA>): MRReturn<'FunctionLog', 'get'> (opts: MROpts<'FunctionLog', 'getMany', UA>): MRReturn<'FunctionLog', 'getMany'> @@ -637,24 +628,20 @@ type MRInternal = { (opts: MROpts<'Organization', 'get', UA>): MRReturn<'Organization', 'get'> (opts: MROpts<'OrganizationInvitation', 'get', UA>): MRReturn<'OrganizationInvitation', 'get'> - (opts: MROpts<'OrganizationInvitation', 'create', UA>): MRReturn< - 'OrganizationInvitation', - 'create' - > + ( + opts: MROpts<'OrganizationInvitation', 'create', UA>, + ): MRReturn<'OrganizationInvitation', 'create'> (opts: MROpts<'OrganizationMembership', 'get', UA>): MRReturn<'OrganizationMembership', 'get'> - (opts: MROpts<'OrganizationMembership', 'getMany', UA>): MRReturn< - 'OrganizationMembership', - 'getMany' - > - (opts: MROpts<'OrganizationMembership', 'update', UA>): MRReturn< - 'OrganizationMembership', - 'update' - > - (opts: MROpts<'OrganizationMembership', 'delete', UA>): MRReturn< - 'OrganizationMembership', - 'delete' - > + ( + opts: MROpts<'OrganizationMembership', 'getMany', UA>, + ): MRReturn<'OrganizationMembership', 'getMany'> + ( + opts: MROpts<'OrganizationMembership', 'update', UA>, + ): MRReturn<'OrganizationMembership', 'update'> + ( + opts: MROpts<'OrganizationMembership', 'delete', UA>, + ): MRReturn<'OrganizationMembership', 'delete'> (opts: MROpts<'PersonalAccessToken', 'get', UA>): MRReturn<'PersonalAccessToken', 'get'> (opts: MROpts<'PersonalAccessToken', 'getMany', UA>): MRReturn<'PersonalAccessToken', 'getMany'> @@ -663,21 +650,18 @@ type MRInternal = { (opts: MROpts<'AccessToken', 'get', UA>): MRReturn<'AccessToken', 'get'> (opts: MROpts<'AccessToken', 'getMany', UA>): MRReturn<'AccessToken', 'getMany'> - (opts: MROpts<'AccessToken', 'createPersonalAccessToken', UA>): MRReturn< - 'AccessToken', - 'createPersonalAccessToken' - > + ( + opts: MROpts<'AccessToken', 'createPersonalAccessToken', UA>, + ): MRReturn<'AccessToken', 'createPersonalAccessToken'> (opts: MROpts<'AccessToken', 'revoke', UA>): MRReturn<'AccessToken', 'revoke'> - (opts: MROpts<'AccessToken', 'getManyForOrganization', UA>): MRReturn< - 'AccessToken', - 'getManyForOrganization' - > + ( + opts: MROpts<'AccessToken', 'getManyForOrganization', UA>, + ): MRReturn<'AccessToken', 'getManyForOrganization'> (opts: MROpts<'OAuthApplication', 'get', UA>): MRReturn<'OAuthApplication', 'get'> - (opts: MROpts<'OAuthApplication', 'getManyForUser', UA>): MRReturn< - 'OAuthApplication', - 'getManyForUser' - > + ( + opts: MROpts<'OAuthApplication', 'getManyForUser', UA>, + ): MRReturn<'OAuthApplication', 'getManyForUser'> (opts: MROpts<'OAuthApplication', 'create', UA>): MRReturn<'OAuthApplication', 'create'> (opts: MROpts<'OAuthApplication', 'update', UA>): MRReturn<'OAuthApplication', 'update'> (opts: MROpts<'OAuthApplication', 'delete', UA>): MRReturn<'OAuthApplication', 'delete'> @@ -698,10 +682,9 @@ type MRInternal = { (opts: MROpts<'ReleaseAction', 'get', UA>): MRReturn<'ReleaseAction', 'get'> (opts: MROpts<'ReleaseAction', 'getMany', UA>): MRReturn<'ReleaseAction', 'getMany'> - (opts: MROpts<'ReleaseAction', 'queryForRelease', UA>): MRReturn< - 'ReleaseAction', - 'queryForRelease' - > + ( + opts: MROpts<'ReleaseAction', 'queryForRelease', UA>, + ): MRReturn<'ReleaseAction', 'queryForRelease'> (opts: MROpts<'Resource', 'getMany', UA>): MRReturn<'Resource', 'getMany'> (opts: MROpts<'ResourceProvider', 'get', UA>): MRReturn<'ResourceProvider', 'get'> (opts: MROpts<'ResourceProvider', 'upsert', UA>): MRReturn<'ResourceProvider', 'upsert'> @@ -710,10 +693,9 @@ type MRInternal = { (opts: MROpts<'ResourceType', 'get', UA>): MRReturn<'ResourceType', 'get'> (opts: MROpts<'ResourceType', 'upsert', UA>): MRReturn<'ResourceType', 'upsert'> (opts: MROpts<'ResourceType', 'delete', UA>): MRReturn<'ResourceType', 'delete'> - (opts: MROpts<'ResourceType', 'getForEnvironment', UA>): MRReturn< - 'ResourceType', - 'getForEnvironment' - > + ( + opts: MROpts<'ResourceType', 'getForEnvironment', UA>, + ): MRReturn<'ResourceType', 'getForEnvironment'> (opts: MROpts<'ResourceType', 'getMany', UA>): MRReturn<'ResourceType', 'getMany'> (opts: MROpts<'Role', 'get', UA>): MRReturn<'Role', 'get'> @@ -732,10 +714,9 @@ type MRInternal = { (opts: MROpts<'Snapshot', 'getManyForEntry', UA>): MRReturn<'Snapshot', 'getManyForEntry'> (opts: MROpts<'Snapshot', 'getForEntry', UA>): MRReturn<'Snapshot', 'getForEntry'> - (opts: MROpts<'Snapshot', 'getManyForContentType', UA>): MRReturn< - 'Snapshot', - 'getManyForContentType' - > + ( + opts: MROpts<'Snapshot', 'getManyForContentType', UA>, + ): MRReturn<'Snapshot', 'getManyForContentType'> (opts: MROpts<'Snapshot', 'getForContentType', UA>): MRReturn<'Snapshot', 'getForContentType'> (opts: MROpts<'Space', 'get', UA>): MRReturn<'Space', 'get'> @@ -750,14 +731,12 @@ type MRInternal = { (opts: MROpts<'SpaceMembership', 'get', UA>): MRReturn<'SpaceMembership', 'get'> (opts: MROpts<'SpaceMembership', 'getMany', UA>): MRReturn<'SpaceMembership', 'getMany'> - (opts: MROpts<'SpaceMembership', 'getForOrganization', UA>): MRReturn< - 'SpaceMembership', - 'getForOrganization' - > - (opts: MROpts<'SpaceMembership', 'getManyForOrganization', UA>): MRReturn< - 'SpaceMembership', - 'getManyForOrganization' - > + ( + opts: MROpts<'SpaceMembership', 'getForOrganization', UA>, + ): MRReturn<'SpaceMembership', 'getForOrganization'> + ( + opts: MROpts<'SpaceMembership', 'getManyForOrganization', UA>, + ): MRReturn<'SpaceMembership', 'getManyForOrganization'> (opts: MROpts<'SpaceMembership', 'create', UA>): MRReturn<'SpaceMembership', 'create'> (opts: MROpts<'SpaceMembership', 'createWithId', UA>): MRReturn<'SpaceMembership', 'createWithId'> (opts: MROpts<'SpaceMembership', 'update', UA>): MRReturn<'SpaceMembership', 'update'> @@ -784,28 +763,24 @@ type MRInternal = { (opts: MROpts<'Team', 'delete', UA>): MRReturn<'Team', 'delete'> (opts: MROpts<'TeamMembership', 'get', UA>): MRReturn<'TeamMembership', 'get'> - (opts: MROpts<'TeamMembership', 'getManyForOrganization', UA>): MRReturn< - 'TeamMembership', - 'getManyForOrganization' - > - (opts: MROpts<'TeamMembership', 'getManyForTeam', UA>): MRReturn< - 'TeamMembership', - 'getManyForTeam' - > + ( + opts: MROpts<'TeamMembership', 'getManyForOrganization', UA>, + ): MRReturn<'TeamMembership', 'getManyForOrganization'> + ( + opts: MROpts<'TeamMembership', 'getManyForTeam', UA>, + ): MRReturn<'TeamMembership', 'getManyForTeam'> (opts: MROpts<'TeamMembership', 'create', UA>): MRReturn<'TeamMembership', 'create'> (opts: MROpts<'TeamMembership', 'update', UA>): MRReturn<'TeamMembership', 'update'> (opts: MROpts<'TeamMembership', 'delete', UA>): MRReturn<'TeamMembership', 'delete'> (opts: MROpts<'TeamSpaceMembership', 'get', UA>): MRReturn<'TeamSpaceMembership', 'get'> (opts: MROpts<'TeamSpaceMembership', 'getMany', UA>): MRReturn<'TeamSpaceMembership', 'getMany'> - (opts: MROpts<'TeamSpaceMembership', 'getForOrganization', UA>): MRReturn< - 'TeamSpaceMembership', - 'getForOrganization' - > - (opts: MROpts<'TeamSpaceMembership', 'getManyForOrganization', UA>): MRReturn< - 'TeamSpaceMembership', - 'getManyForOrganization' - > + ( + opts: MROpts<'TeamSpaceMembership', 'getForOrganization', UA>, + ): MRReturn<'TeamSpaceMembership', 'getForOrganization'> + ( + opts: MROpts<'TeamSpaceMembership', 'getManyForOrganization', UA>, + ): MRReturn<'TeamSpaceMembership', 'getManyForOrganization'> (opts: MROpts<'TeamSpaceMembership', 'create', UA>): MRReturn<'TeamSpaceMembership', 'create'> (opts: MROpts<'TeamSpaceMembership', 'update', UA>): MRReturn<'TeamSpaceMembership', 'update'> (opts: MROpts<'TeamSpaceMembership', 'delete', UA>): MRReturn<'TeamSpaceMembership', 'delete'> @@ -2217,7 +2192,7 @@ export type MRActions = { export type MROpts< ET extends keyof MRActions, Action extends keyof MRActions[ET], - UA extends boolean = false + UA extends boolean = false, > = { entityType: ET action: Action @@ -2243,7 +2218,7 @@ export type MROpts< */ export type MRReturn< ET extends keyof MRActions, - Action extends keyof MRActions[ET] + Action extends keyof MRActions[ET], > = 'return' extends keyof MRActions[ET][Action] ? Promise : never /** Base interface for all Payload interfaces. Used as part of the MakeRequestOptions to simplify payload definitions. */ diff --git a/lib/constants/editor-interface-defaults/controls-defaults.ts b/lib/constants/editor-interface-defaults/controls-defaults.ts index 9aa8b22239..33c0d20c7b 100644 --- a/lib/constants/editor-interface-defaults/controls-defaults.ts +++ b/lib/constants/editor-interface-defaults/controls-defaults.ts @@ -183,7 +183,7 @@ export default function getDefaultControlOfField(field: ContentFields): DefaultW } const hasInValidation = (field.validations || []).find( - (v: ContentTypeFieldValidation) => 'in' in v + (v: ContentTypeFieldValidation) => 'in' in v, ) if (hasInValidation && DROPDOWN_TYPES.includes(fieldType)) { diff --git a/lib/create-app-definition-api.ts b/lib/create-app-definition-api.ts index 6062fb564f..905c186bed 100644 --- a/lib/create-app-definition-api.ts +++ b/lib/create-app-definition-api.ts @@ -1,5 +1,6 @@ import type { MakeRequest, QueryOptions, SpaceQueryOptions } from './common-types.js' -import entities from './entities/index.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' @@ -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 c71182a545..59fe3db12b 100644 --- a/lib/create-contentful-api.ts +++ b/lib/create-contentful-api.ts @@ -12,17 +12,27 @@ import type { GetOAuthApplicationParams, GetUserParams, } from './common-types.js' -import entities from './entities/index.js' -import type { Organization, OrganizationProps } from './entities/organization.js' -import type { CreatePersonalAccessTokenProps } from './entities/personal-access-token.js' -import type { Space, SpaceProps } from './entities/space.js' -import type { AppDefinition } from './entities/app-definition.js' -import type { UsageQuery } from './entities/usage.js' -import type { UserProps } from './entities/user.js' -import type { - CreateEnvironmentTemplateProps, - EnvironmentTemplate, - EnvironmentTemplateProps, +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 { @@ -30,6 +40,11 @@ import type { OAuthApplication, OAuthApplicationProps, } 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,18 +53,6 @@ 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__, /** @@ -70,7 +73,7 @@ export default function createClientApi(makeRequest: MakeRequest) { */ getEnvironmentTemplates: function getEnvironmentTemplates( organizationId: string, - query: BasicCursorPaginationOptions & { select?: string } = {} + query: BasicCursorPaginationOptions & { select?: string } = {}, ): Promise> { return makeRequest({ entityType: 'EnvironmentTemplate', @@ -139,7 +142,7 @@ export default function createClientApi(makeRequest: MakeRequest) { */ createEnvironmentTemplate: function createEnvironmentTemplate( organizationId: string, - environmentTemplateData: CreateEnvironmentTemplateProps + environmentTemplateData: CreateEnvironmentTemplateProps, ): Promise { return makeRequest({ entityType: 'EnvironmentTemplate', @@ -164,7 +167,7 @@ export default function createClientApi(makeRequest: MakeRequest) { * ``` */ getSpaces: function getSpaces( - query: QueryOptions = {} + query: QueryOptions = {}, ): Promise> { return makeRequest({ entityType: 'Space', @@ -218,7 +221,7 @@ export default function createClientApi(makeRequest: MakeRequest) { */ createSpace: function createSpace( spaceData: CreateSpaceProps, - organizationId: string + organizationId: string, ): Promise { return makeRequest({ entityType: 'Space', @@ -268,7 +271,7 @@ export default function createClientApi(makeRequest: MakeRequest) { * ``` */ getOrganizations: function getOrganizations( - query: PaginationQueryParams['query'] = {} + query: PaginationQueryParams['query'] = {}, ): Promise> { return makeRequest({ entityType: 'Organization', @@ -318,7 +321,7 @@ export default function createClientApi(makeRequest: MakeRequest) { * .catch(console.error) */ getOAuthApplication: function getOAuthApplication( - params: GetOAuthApplicationParams + params: GetOAuthApplicationParams, ): Promise { const { userId } = params return makeRequest({ @@ -344,7 +347,7 @@ export default function createClientApi(makeRequest: MakeRequest) { * .catch(console.error) */ getOAuthApplications: function getOAuthApplications( - params: GetUserParams & QueryParams + params: GetUserParams & QueryParams, ): Promise> { const { userId } = params return makeRequest({ @@ -376,7 +379,7 @@ export default function createClientApi(makeRequest: MakeRequest) { */ createOAuthApplication: function createOAuthApplication( params: GetUserParams, - rawData: CreateOAuthApplicationProps + rawData: CreateOAuthApplicationProps, ): Promise { const { userId } = params return makeRequest({ @@ -405,7 +408,7 @@ export default function createClientApi(makeRequest: MakeRequest) { */ getAppDefinition: function getAppDefinition( - params: GetAppDefinitionParams + params: GetAppDefinitionParams, ): Promise { return makeRequest({ entityType: 'AppDefinition', @@ -438,7 +441,7 @@ export default function createClientApi(makeRequest: MakeRequest) { * ``` */ createPersonalAccessToken: function createPersonalAccessToken( - data: CreatePersonalAccessTokenProps + data: CreatePersonalAccessTokenProps, ) { return makeRequest({ /** @@ -568,7 +571,7 @@ export default function createClientApi(makeRequest: MakeRequest) { */ getOrganizationAccessTokens: function getOrganizationAccessTokens( organizationId: string, - query: QueryOptions = {} + query: QueryOptions = {}, ) { return makeRequest({ entityType: 'AccessToken', @@ -603,7 +606,7 @@ export default function createClientApi(makeRequest: MakeRequest) { */ getOrganizationUsage: function getOrganizationUsage( organizationId: string, - query: QueryOptions = {} + query: QueryOptions = {}, ) { return makeRequest({ entityType: 'Usage', diff --git a/lib/create-entry-api.ts b/lib/create-entry-api.ts index d041abfbe2..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.js' -import type { CreateCommentParams, CreateCommentProps } from './entities/comment.js' -import type { Entry, EntryProps, EntryReferenceOptionsProps } from './entities/entry.js' -import type { CreateTaskProps } from './entities/task.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 entities from './entities/index.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 3f808fa2a0..696bbc3871 100644 --- a/lib/create-environment-api.ts +++ b/lib/create-environment-api.ts @@ -8,23 +8,32 @@ import type { QueryOptions, } from './common-types.js' import type { BasicQueryOptions, MakeRequest } from './common-types.js' -import entities from './entities/index.js' -import type { CreateAppInstallationProps } from './entities/app-installation.js' -import type { CreateAppSignedRequestProps } from './entities/app-signed-request.js' -import type { CreateAppActionCallProps } from './entities/app-action-call.js' -import type { - AssetFileProp, - AssetProps, - CreateAssetFromFilesOptions, - CreateAssetProps, +import { + wrapAppInstallation, + wrapAppInstallationCollection, + type CreateAppInstallationProps, +} from './entities/app-installation.js' +import { + wrapAppSignedRequest, + type CreateAppSignedRequestProps, +} from './entities/app-signed-request.js' +import { wrapAppActionCall, type CreateAppActionCallProps } from './entities/app-action-call.js' +import { + wrapAsset, + wrapAssetCollection, + type AssetFileProp, + type AssetProps, + type CreateAssetFromFilesOptions, + type CreateAssetProps, } from './entities/asset.js' -import type { CreateAssetKeyProps } from './entities/asset-key.js' -import type { - BulkAction, - BulkActionPayload, - BulkActionPublishPayload, - BulkActionUnpublishPayload, - BulkActionValidatePayload, +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' @@ -37,16 +46,27 @@ import type { } from './entities/release.js' import { wrapRelease, wrapReleaseCollection } from './entities/release.js' -import type { ContentTypeProps, CreateContentTypeProps } from './entities/content-type.js' -import type { - CreateEntryProps, - EntryProps, - EntryReferenceOptionsProps, - EntryReferenceProps, +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 type { EnvironmentProps } from './entities/environment.js' -import type { CreateExtensionProps } from './entities/extension.js' -import type { CreateLocaleProps } from './entities/locale.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' @@ -54,10 +74,14 @@ 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 type { CreateAppAccessTokenProps } from './entities/app-access-token.js' -import type { ResourceQueryOptions } from './entities/resource.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 @@ -71,24 +95,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 @@ -1477,7 +1483,7 @@ export default function createEnvironmentApi(makeRequest: MakeRequest) { createAppInstallation( appDefinitionId: string, data: CreateAppInstallationProps, - { acceptAllTerms }: { acceptAllTerms?: boolean } = {} + { acceptAllTerms }: { acceptAllTerms?: boolean } = {}, ) { const raw = this.toPlainObject() as EnvironmentProps return makeRequest({ @@ -1582,7 +1588,7 @@ export default function createEnvironmentApi(makeRequest: MakeRequest) { createAppActionCall( appDefinitionId: string, appActionId: string, - data: CreateAppActionCallProps + data: CreateAppActionCallProps, ) { const raw = this.toPlainObject() as EnvironmentProps return makeRequest({ @@ -1750,7 +1756,7 @@ export default function createEnvironmentApi(makeRequest: MakeRequest) { getFunctionLogs( appInstallationId: string, functionId: string, - query?: CursorBasedParams & CreatedAtIntervalParams + query?: CursorBasedParams & CreatedAtIntervalParams, ) { const raw: EnvironmentProps = this.toPlainObject() @@ -2409,7 +2415,7 @@ export default function createEnvironmentApi(makeRequest: MakeRequest) { */ async getEnvironmentTemplateInstallations( environmentTemplateId: string, - { installationId, ...query }: BasicCursorPaginationOptions & { installationId?: string } = {} + { installationId, ...query }: BasicCursorPaginationOptions & { installationId?: string } = {}, ) { const raw: EnvironmentProps = this.toPlainObject() diff --git a/lib/create-environment-template-api.ts b/lib/create-environment-template-api.ts index 060ef3ba3a..9bf2112450 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.js' -import entities from './entities/index.js' -import type { EnvironmentTemplateProps } from './entities/environment-template.js' -import type { - CreateEnvironmentTemplateInstallationProps, - ValidateEnvironmentTemplateInstallationProps, +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 5fea20db98..3b05e49fe4 100644 --- a/lib/create-organization-api.ts +++ b/lib/create-organization-api.ts @@ -1,24 +1,57 @@ import { createRequestConfig } from 'contentful-sdk-core' -import entities from './entities/index.js' import type { Stream } from 'stream' -import type { CreateTeamMembershipProps } from './entities/team-membership.js' -import type { CreateTeamProps } from './entities/team.js' -import type { CreateOrganizationInvitationProps } from './entities/organization-invitation.js' +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, - AcceptsQueryParams, BasicQueryOptions, MakeRequest, QueryOptions, QueryParams, } from './common-types.js' -import type { CreateAppDefinitionProps } from './entities/app-definition.js' -import type { CreateAppActionProps } from './entities/app-action.js' -import type { CreateAppSigningSecretProps } from './entities/app-signing-secret.js' -import type { CreateAppEventSubscriptionProps } from './entities/app-event-subscription.js' -import type { CreateAppKeyProps } from './entities/app-key.js' -import type { CreateAppDetailsProps } from './entities/app-details.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 @@ -32,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 450bcd41cd..fd62e139ed 100644 --- a/lib/create-space-api.ts +++ b/lib/create-space-api.ts @@ -5,28 +5,58 @@ import { createRequestConfig } from 'contentful-sdk-core' import type { MakeRequest, PaginationQueryOptions, QueryOptions } from './common-types.js' -import entities from './entities/index.js' -import type { CreateApiKeyProps } from './entities/api-key.js' -import type { CreateEnvironmentProps } from './entities/environment.js' -import type { CreateEnvironmentAliasProps } from './entities/environment-alias.js' -import type { CreateRoleProps, RoleProps } from './entities/role.js' -import type { - ScheduledActionProps, - ScheduledActionQueryOptions, +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 type { SpaceProps } from './entities/space.js' -import type { CreateSpaceMembershipProps } from './entities/space-membership.js' -import type { CreateTeamSpaceMembershipProps } from './entities/team-space-membership.js' -import type { - CreateWebhooksProps, - UpsertWebhookSigningSecretPayload, - WebhookRetryPolicyPayload, +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 type { - AiActionProps, - AiActionQueryOptions, - CreateAiActionProps, +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 @@ -40,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 @@ -214,7 +227,7 @@ export default function createSpaceApi(makeRequest: MakeRequest) { createEnvironmentWithId( id: string, data: CreateEnvironmentProps, - sourceEnvironmentId?: string + sourceEnvironmentId?: string, ) { const raw = this.toPlainObject() as SpaceProps return makeRequest({ diff --git a/lib/create-ui-config-api.ts b/lib/create-ui-config-api.ts index ca1d5d0341..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.js' -import entities from './entities/index.js' -import type { UIConfig } from './entities/ui-config.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 f9d7dc9e17..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.js' -import entities from './entities/index.js' -import type { UserUIConfig } from './entities/user-ui-config.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/enhance-with-methods.ts b/lib/enhance-with-methods.ts index 4f6f9cff3e..c599878765 100644 --- a/lib/enhance-with-methods.ts +++ b/lib/enhance-with-methods.ts @@ -11,15 +11,18 @@ */ export default function enhanceWithMethods< B extends Record, - M extends Record + M extends Record, >(baseObject: B, methodsObject: M): M & B { - return Object.keys(methodsObject).reduce((enhancedObject, methodName) => { - Object.defineProperty(enhancedObject, methodName, { - enumerable: false, - configurable: true, - writable: false, - value: methodsObject[methodName], - }) - return enhancedObject - }, baseObject as M & B) + return Object.keys(methodsObject).reduce( + (enhancedObject, methodName) => { + Object.defineProperty(enhancedObject, methodName, { + enumerable: false, + configurable: true, + writable: false, + value: methodsObject[methodName], + }) + return enhancedObject + }, + baseObject as M & B, + ) } diff --git a/lib/entities/ai-action-invocation.ts b/lib/entities/ai-action-invocation.ts index 228fadc317..90d2409a1a 100644 --- a/lib/entities/ai-action-invocation.ts +++ b/lib/entities/ai-action-invocation.ts @@ -100,7 +100,7 @@ export interface AiActionInvocation */ export function wrapAiActionInvocation( makeRequest: MakeRequest, - data: AiActionInvocationProps + data: AiActionInvocationProps, ): AiActionInvocation { const invocation = toPlainObject(copy(data)) return freezeSys(invocation) diff --git a/lib/entities/app-access-token.ts b/lib/entities/app-access-token.ts index 13aeb0f772..a37ae273ff 100644 --- a/lib/entities/app-access-token.ts +++ b/lib/entities/app-access-token.ts @@ -38,7 +38,7 @@ export interface AppAccessToken extends AppAccessTokenProps, DefaultElements wrapBulkAction(makeRequest, bulkAction)) }, async waitProcessing( - options?: AsyncActionProcessingOptions + options?: AsyncActionProcessingOptions, ): Promise> { return pollAsyncActionStatus>(async () => this.get(), options) }, @@ -141,12 +141,12 @@ export interface BulkAction */ export function wrapBulkAction( makeRequest: MakeRequest, - data: BulkActionProps + data: BulkActionProps, ): BulkAction { const bulkAction = toPlainObject(copy(data)) const bulkActionWithApiMethods = enhanceWithMethods( bulkAction as any, - createBulkActionApi(makeRequest) + createBulkActionApi(makeRequest), ) return freezeSys(bulkActionWithApiMethods) as BulkAction } diff --git a/lib/entities/comment.ts b/lib/entities/comment.ts index c08f26c566..fcfbc86edf 100644 --- a/lib/entities/comment.ts +++ b/lib/entities/comment.ts @@ -178,7 +178,7 @@ export default function createCommentApi(makeRequest: MakeRequest): CommentApi { */ export function wrapComment( makeRequest: MakeRequest, - data: CommentProps | RichTextCommentProps + data: CommentProps | RichTextCommentProps, ): Comment | RichTextComment { const comment = toPlainObject(copy(data)) const commentWithMethods = enhanceWithMethods(comment, createCommentApi(makeRequest)) diff --git a/lib/entities/content-type.ts b/lib/entities/content-type.ts index 44eb08e0b7..20159ed640 100644 --- a/lib/entities/content-type.ts +++ b/lib/entities/content-type.ts @@ -336,7 +336,7 @@ function createContentTypeApi(makeRequest: MakeRequest): ContentTypeApi { omitAndDeleteField: function (fieldId: string) { const { raw, params } = getParams(this) return omitAndDeleteField(makeRequest, { ...params, fieldId }, raw).then((data) => - wrapContentType(makeRequest, data) + wrapContentType(makeRequest, data), ) }, } diff --git a/lib/entities/editor-interface.ts b/lib/entities/editor-interface.ts index 95f85f6800..d4e828e513 100644 --- a/lib/entities/editor-interface.ts +++ b/lib/entities/editor-interface.ts @@ -203,12 +203,12 @@ function createEditorInterfaceApi(makeRequest: MakeRequest) { */ export function wrapEditorInterface( makeRequest: MakeRequest, - data: EditorInterfaceProps + data: EditorInterfaceProps, ): EditorInterface { const editorInterface = toPlainObject(copy(data)) const editorInterfaceWithMethods = enhanceWithMethods( editorInterface, - createEditorInterfaceApi(makeRequest) + createEditorInterfaceApi(makeRequest), ) return freezeSys(editorInterfaceWithMethods) } diff --git a/lib/entities/environment-alias.ts b/lib/entities/environment-alias.ts index 9fc4a99a88..56319adbae 100644 --- a/lib/entities/environment-alias.ts +++ b/lib/entities/environment-alias.ts @@ -106,7 +106,7 @@ function createEnvironmentAliasApi(makeRequest: MakeRequest) { */ export function wrapEnvironmentAlias( makeRequest: MakeRequest, - data: EnvironmentAliasProps + data: EnvironmentAliasProps, ): EnvironmentAlias { const alias = toPlainObject(copy(data)) const enhancedAlias = enhanceWithMethods(alias, createEnvironmentAliasApi(makeRequest)) diff --git a/lib/entities/environment-template-installation.ts b/lib/entities/environment-template-installation.ts index 8fa5871b64..415d43fd57 100644 --- a/lib/entities/environment-template-installation.ts +++ b/lib/entities/environment-template-installation.ts @@ -76,12 +76,12 @@ export type EnvironmentTemplateInstallation = EnvironmentTemplateInstallationPro export function wrapEnvironmentTemplateInstallation( makeRequest: MakeRequest, - data: EnvironmentTemplateInstallationProps + data: EnvironmentTemplateInstallationProps, ): EnvironmentTemplateInstallation { const environmentTemplate = toPlainObject(copy(data)) return freezeSys(environmentTemplate) } export const wrapEnvironmentTemplateInstallationCollection = wrapCursorPaginatedCollection( - wrapEnvironmentTemplateInstallation + wrapEnvironmentTemplateInstallation, ) diff --git a/lib/entities/environment-template.ts b/lib/entities/environment-template.ts index 5fd3bbf7ff..84586e7a52 100644 --- a/lib/entities/environment-template.ts +++ b/lib/entities/environment-template.ts @@ -53,13 +53,13 @@ export type EnvironmentTemplate = EnvironmentTemplateProps & export function wrapEnvironmentTemplate( makeRequest: MakeRequest, data: EnvironmentTemplateProps, - organizationId: string + organizationId: string, ): EnvironmentTemplate { const environmentTemplate = toPlainObject(copy(data)) const environmentTemplateApi = createEnvironmentTemplateApi(makeRequest, organizationId) const enhancedEnvironmentTemplate = enhanceWithMethods( environmentTemplate, - environmentTemplateApi + environmentTemplateApi, ) return freezeSys(enhancedEnvironmentTemplate) } diff --git a/lib/entities/function-log.ts b/lib/entities/function-log.ts index a90d70848a..bfa87d11ad 100644 --- a/lib/entities/function-log.ts +++ b/lib/entities/function-log.ts @@ -44,7 +44,7 @@ export interface FunctionLog extends FunctionLogProps, DefaultElements */ export function wrapReleaseAction( makeRequest: MakeRequest, - data: ReleaseActionProps + data: ReleaseActionProps, ): ReleaseAction { const releaseAction = toPlainObject(copy(data)) const releaseActionWithApiMethods = enhanceWithMethods( releaseAction as any, - createReleaseActionApi(makeRequest) + createReleaseActionApi(makeRequest), ) return freezeSys(releaseActionWithApiMethods) } diff --git a/lib/entities/release.ts b/lib/entities/release.ts index 1fb0222f09..c53c1e52ac 100644 --- a/lib/entities/release.ts +++ b/lib/entities/release.ts @@ -251,7 +251,7 @@ export function wrapRelease(makeRequest: MakeRequest, data: ReleaseProps): Relea const release = toPlainObject(copy(data)) const releaseWithApiMethods = enhanceWithMethods( release as any, - createReleaseApi(makeRequest) as any + createReleaseApi(makeRequest) as any, ) return freezeSys(releaseWithApiMethods) } @@ -261,5 +261,5 @@ export function wrapRelease(makeRequest: MakeRequest, data: ReleaseProps): Relea */ export const wrapReleaseCollection: ( makeRequest: MakeRequest, - data: CursorPaginatedCollectionProp + data: CursorPaginatedCollectionProp, ) => CursorPaginatedCollection = wrapCursorPaginatedCollection(wrapRelease) diff --git a/lib/entities/resource-provider.ts b/lib/entities/resource-provider.ts index fcf57ad710..b471f14e6d 100644 --- a/lib/entities/resource-provider.ts +++ b/lib/entities/resource-provider.ts @@ -8,8 +8,11 @@ import type { import { toPlainObject, freezeSys } from 'contentful-sdk-core' import copy from 'fast-copy' import enhanceWithMethods from '../enhance-with-methods.js' -import type { ResourceType, UpsertResourceTypeProps } from './resource-type.js' -import entities from './index.js' +import { + wrapResourceType, + type ResourceType, + type UpsertResourceTypeProps, +} from './resource-type.js' export type ResourceProviderProps = { /** @@ -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 @@ -173,12 +174,12 @@ const getUpsertParams = (data: ResourceProviderProps): UpsertResourceProviderPro */ export function wrapResourceProvider( makeRequest: MakeRequest, - data: ResourceProviderProps + data: ResourceProviderProps, ): ResourceProvider { const resourceProvider = toPlainObject(copy(data)) const ResourceProviderWithMethods = enhanceWithMethods( resourceProvider, - createResourceProviderApi(makeRequest) + createResourceProviderApi(makeRequest), ) return freezeSys(ResourceProviderWithMethods) } diff --git a/lib/entities/resource-type.ts b/lib/entities/resource-type.ts index e01e1f4f7c..ec3956000d 100644 --- a/lib/entities/resource-type.ts +++ b/lib/entities/resource-type.ts @@ -154,14 +154,14 @@ export function wrapResourceType(makeRequest: MakeRequest, data: ResourceTypePro const resourceType = toPlainObject(copy(data)) const ResourceTypeWithMethods = enhanceWithMethods( resourceType, - createResourceTypeApi(makeRequest) + createResourceTypeApi(makeRequest), ) return freezeSys(ResourceTypeWithMethods) } export function wrapResourceTypeforEnvironment( makeRequest: MakeRequest, - data: SpaceEnvResourceTypeProps + data: SpaceEnvResourceTypeProps, ): SpaceEnvResourceTypeProps { const resourceType = toPlainObject(data) return freezeSys(resourceType) @@ -169,7 +169,7 @@ export function wrapResourceTypeforEnvironment( export const wrapResourceTypesForEnvironmentCollection: ( makeRequest: MakeRequest, - data: CursorPaginatedCollectionProp + data: CursorPaginatedCollectionProp, ) => CursorPaginatedCollectionProp = wrapCursorPaginatedCollection( - wrapResourceTypeforEnvironment + wrapResourceTypeforEnvironment, ) diff --git a/lib/entities/resource.ts b/lib/entities/resource.ts index 31de2e1b10..20a9206261 100644 --- a/lib/entities/resource.ts +++ b/lib/entities/resource.ts @@ -48,5 +48,5 @@ export function wrapResource(makeRequest: MakeRequest, data: ResourceProps) { } export const wrapResourceCollection: ( makeRequest: MakeRequest, - data: CursorPaginatedCollectionProp + data: CursorPaginatedCollectionProp, ) => CursorPaginatedCollectionProp = wrapCursorPaginatedCollection(wrapResource) diff --git a/lib/entities/scheduled-action.ts b/lib/entities/scheduled-action.ts index 5d9fa59eff..835e39aae2 100644 --- a/lib/entities/scheduled-action.ts +++ b/lib/entities/scheduled-action.ts @@ -247,12 +247,12 @@ export default function getInstanceMethods(makeRequest: MakeRequest): ScheduledA */ export function wrapScheduledAction( makeRequest: MakeRequest, - data: ScheduledActionProps + data: ScheduledActionProps, ): ScheduledAction { const scheduledAction = toPlainObject(copy(data)) const scheduledActionWithMethods = enhanceWithMethods( scheduledAction, - getInstanceMethods(makeRequest) + getInstanceMethods(makeRequest), ) return freezeSys(scheduledActionWithMethods) } diff --git a/lib/entities/space-membership.ts b/lib/entities/space-membership.ts index e80756f059..388a5e6cab 100644 --- a/lib/entities/space-membership.ts +++ b/lib/entities/space-membership.ts @@ -96,12 +96,12 @@ function createSpaceMembershipApi(makeRequest: MakeRequest) { */ export function wrapSpaceMembership( makeRequest: MakeRequest, - data: SpaceMembershipProps + data: SpaceMembershipProps, ): SpaceMembership { const spaceMembership = toPlainObject(copy(data)) const spaceMembershipWithMethods = enhanceWithMethods( spaceMembership, - createSpaceMembershipApi(makeRequest) + createSpaceMembershipApi(makeRequest), ) return freezeSys(spaceMembershipWithMethods) } diff --git a/lib/entities/team-membership.ts b/lib/entities/team-membership.ts index 462da60778..2fc78147cf 100644 --- a/lib/entities/team-membership.ts +++ b/lib/entities/team-membership.ts @@ -110,12 +110,12 @@ function createTeamMembershipApi(makeRequest: MakeRequest) { */ export function wrapTeamMembership( makeRequest: MakeRequest, - data: TeamMembershipProps + data: TeamMembershipProps, ): TeamMembership { const teamMembership = toPlainObject(copy(data)) const teamMembershipWithMethods = enhanceWithMethods( teamMembership, - createTeamMembershipApi(makeRequest) + createTeamMembershipApi(makeRequest), ) return freezeSys(teamMembershipWithMethods) } diff --git a/lib/entities/team-space-membership.ts b/lib/entities/team-space-membership.ts index a07fbd5ae2..d0037b78a0 100644 --- a/lib/entities/team-space-membership.ts +++ b/lib/entities/team-space-membership.ts @@ -125,12 +125,12 @@ function createTeamSpaceMembershipApi(makeRequest: MakeRequest) { */ export function wrapTeamSpaceMembership( makeRequest: MakeRequest, - data: TeamSpaceMembershipProps + data: TeamSpaceMembershipProps, ): TeamSpaceMembership { const teamSpaceMembership = toPlainObject(copy(data)) const teamSpaceMembershipWithMethods = enhanceWithMethods( teamSpaceMembership, - createTeamSpaceMembershipApi(makeRequest) + createTeamSpaceMembershipApi(makeRequest), ) return freezeSys(teamSpaceMembershipWithMethods) } diff --git a/lib/entities/upload-credential.ts b/lib/entities/upload-credential.ts index 7425ce477e..872612125c 100644 --- a/lib/entities/upload-credential.ts +++ b/lib/entities/upload-credential.ts @@ -66,12 +66,12 @@ function createUploadCredentialsApi(makeRequest: MakeRequest) { */ export function wrapUploadCredential( makeRequest: MakeRequest, - data: UploadCredentialProps + data: UploadCredentialProps, ): UploadCredential { const uploadCredential = toPlainObject(copy(data)) const uploadCredentialWithMethods = enhanceWithMethods( uploadCredential, - createUploadCredentialsApi(makeRequest) + createUploadCredentialsApi(makeRequest), ) return freezeSys(uploadCredentialWithMethods) } diff --git a/lib/entities/usage.ts b/lib/entities/usage.ts index 160d62b5ce..2923c0e7c8 100644 --- a/lib/entities/usage.ts +++ b/lib/entities/usage.ts @@ -15,7 +15,7 @@ export interface UsageQuery extends QueryOptions { export type UsageProps< TType extends 'SpacePeriodicUsage' | 'OrganizationPeriodicUsage' = | 'SpacePeriodicUsage' - | 'OrganizationPeriodicUsage' + | 'OrganizationPeriodicUsage', > = { /** * System metadata diff --git a/lib/entities/utils.ts b/lib/entities/utils.ts index d1cd11d954..1a5e5d92f6 100644 --- a/lib/entities/utils.ts +++ b/lib/entities/utils.ts @@ -1,7 +1,7 @@ export type LocalizedEntity< Entity, LocalizedFields extends keyof Entity, - Locales extends string + Locales extends string, > = { [K in keyof Entity]: K extends LocalizedFields ? { [Locale in Locales]: Entity[K] } : Entity[K] } diff --git a/lib/entities/workflow-definition.ts b/lib/entities/workflow-definition.ts index 4636c71718..9fcc47c320 100644 --- a/lib/entities/workflow-definition.ts +++ b/lib/entities/workflow-definition.ts @@ -151,7 +151,7 @@ export type WorkflowDefinitionQueryOptions = Omit ({ spaceId: workflowDefinition.sys.space.sys.id, @@ -193,12 +193,12 @@ export default function createWorkflowDefinitionApi( */ export function wrapWorkflowDefinition( makeRequest: MakeRequest, - data: WorkflowDefinitionProps + data: WorkflowDefinitionProps, ): WorkflowDefinition { const workflowDefinition = toPlainObject(copy(data)) const workflowDefinitionWithMethods = enhanceWithMethods( workflowDefinition, - createWorkflowDefinitionApi(makeRequest) + createWorkflowDefinitionApi(makeRequest), ) return freezeSys(workflowDefinitionWithMethods) } diff --git a/lib/entities/workflows-changelog-entry.ts b/lib/entities/workflows-changelog-entry.ts index 6154f2b04f..169ec31a93 100644 --- a/lib/entities/workflows-changelog-entry.ts +++ b/lib/entities/workflows-changelog-entry.ts @@ -50,12 +50,12 @@ function createWorkflowsChangelogEntryApi() { */ export function wrapWorkflowsChangelogEntry( _makeRequest: MakeRequest, - data: WorkflowsChangelogEntryProps + data: WorkflowsChangelogEntryProps, ): WorkflowsChangelogEntry { const workflowsChangelogEntry = toPlainObject(copy(data)) const workflowsChangelogEntryWithMethods = enhanceWithMethods( workflowsChangelogEntry, - createWorkflowsChangelogEntryApi() + createWorkflowsChangelogEntryApi(), ) return freezeSys(workflowsChangelogEntryWithMethods) } diff --git a/lib/global.d.ts b/lib/global.d.ts index 2fbca50d97..4160217822 100644 --- a/lib/global.d.ts +++ b/lib/global.d.ts @@ -1,2 +1 @@ -// eslint-disable-next-line no-unused-vars declare const __VERSION__: string diff --git a/lib/index.ts b/lib/index.ts index 9aff801703..3c4ca75532 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -65,7 +65,7 @@ function createClient( opts: { type: 'plain' defaults?: DefaultParams - } + }, ): PlainClientAPI // Usually, overloads with more specific signatures should come first but some IDEs are often not able to handle overloads with separate TSDocs correctly /** @@ -77,14 +77,14 @@ function createClient( type?: 'plain' alphaFeatures: string[] defaults?: DefaultParams - } + }, ): ClientAPI | PlainClientAPI function createClient( params: ClientOptions, opts: { type?: 'plain' defaults?: DefaultParams - } = {} + } = {}, ): ClientAPI | PlainClientAPI { const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js' @@ -92,7 +92,7 @@ function createClient( `${sdkMain}/${__VERSION__}`, params.application, params.integration, - params.feature + params.feature, ) const adapter = createAdapter({ ...params, userAgent }) diff --git a/lib/methods/action.ts b/lib/methods/action.ts index e11e46d711..b32320d7fe 100644 --- a/lib/methods/action.ts +++ b/lib/methods/action.ts @@ -55,7 +55,7 @@ export type AsyncActionProcessingOptions = { */ export async function pollAsyncActionStatus( actionFunction: () => Promise, - options?: AsyncActionProcessingOptions + options?: AsyncActionProcessingOptions, ): Promise { let retryCount = 0 let done = false @@ -89,6 +89,6 @@ export async function pollAsyncActionStatus( throw new AsyncActionProcessingError( `${action?.sys.type} didn't finish processing within the expected timeframe.`, - action + action, ) } diff --git a/lib/methods/bulk-action.ts b/lib/methods/bulk-action.ts index e82ba5ca5f..c4f4331dd1 100644 --- a/lib/methods/bulk-action.ts +++ b/lib/methods/bulk-action.ts @@ -15,7 +15,7 @@ type PlainOptions = { * Used by the Plain client */ export async function waitForBulkActionProcessing( { plainClient, spaceId, environmentId, bulkActionId }: PlainOptions, - options?: AsyncActionProcessingOptions + options?: AsyncActionProcessingOptions, ): Promise> { return pollAsyncActionStatus( async () => @@ -24,6 +24,6 @@ export async function waitForBulkActionProcessing field.id === fieldId) if (!field) { return Promise.reject( new Error( - `Tried to omitAndDeleteField on a nonexistent field, ${fieldId}, on the content type ${contentType.name}.` - ) + `Tried to omitAndDeleteField on a nonexistent field, ${fieldId}, on the content type ${contentType.name}.`, + ), ) } @@ -36,7 +36,7 @@ export const omitAndDeleteField = ( }: { fieldId: string } & GetContentTypeParams, - contentType: ContentTypeProps + contentType: ContentTypeProps, ) => { return findAndUpdateField(contentType, fieldId, 'omitted') .then((newContentType) => { diff --git a/lib/methods/release-action.ts b/lib/methods/release-action.ts index 803d0cfde9..7c3b6c6119 100644 --- a/lib/methods/release-action.ts +++ b/lib/methods/release-action.ts @@ -16,7 +16,7 @@ type PlainOptions = { * Used by the Plain client */ export async function waitForReleaseActionProcessing( { plainClient, spaceId, environmentId, releaseId, actionId }: PlainOptions, - options?: AsyncActionProcessingOptions + options?: AsyncActionProcessingOptions, ): Promise> { return pollAsyncActionStatus( async () => @@ -26,6 +26,6 @@ export async function waitForReleaseActionProcessing = T extends (params: infer P) => any ? P : export const asIterator =

>( fn: F, - params: ParamsType + params: ParamsType, ): AsyncIterable => { return { [Symbol.asyncIterator]() { diff --git a/lib/plain/common-types.ts b/lib/plain/common-types.ts index 4a9875dd01..f5fd84878d 100644 --- a/lib/plain/common-types.ts +++ b/lib/plain/common-types.ts @@ -155,47 +155,47 @@ export type PlainClientAPI = { version?: number query?: { select?: string } }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise getMany( params: GetOrganizationParams & { query?: BasicCursorPaginationOptions & { select?: string } }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise> create( params: GetOrganizationParams, rawData: CreateEnvironmentTemplateProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise versionUpdate( params: GetEnvironmentTemplateParams & { version: number }, rawData: { versionName?: string; versionDescription?: string }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise update( params: GetEnvironmentTemplateParams, rawData: EnvironmentTemplateProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise delete(params: GetEnvironmentTemplateParams, headers?: RawAxiosRequestHeaders): Promise versions( params: GetEnvironmentTemplateParams & { query?: BasicCursorPaginationOptions & { select?: string } }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise> validate( params: EnvironmentTemplateParams & { version?: number }, rawData: ValidateEnvironmentTemplateInstallationProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise install( params: EnvironmentTemplateParams, rawData: CreateEnvironmentTemplateInstallationProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise disconnect(params: EnvironmentTemplateParams, headers?: RawAxiosRequestHeaders): Promise } @@ -207,29 +207,29 @@ export type PlainClientAPI = { organizationId: string spaceId?: string }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise> getForEnvironment( params: BasicCursorPaginationOptions & EnvironmentTemplateParams & { installationId?: string }, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise> } bulkAction: { get(params: GetBulkActionParams): Promise> publish( params: GetSpaceEnvironmentParams, - payload: BulkActionPublishPayload + payload: BulkActionPublishPayload, ): Promise> unpublish( params: GetSpaceEnvironmentParams, - payload: BulkActionUnpublishPayload + payload: BulkActionUnpublishPayload, ): Promise> validate( params: GetSpaceEnvironmentParams, - payload: BulkActionValidatePayload + payload: BulkActionValidatePayload, ): Promise> } comment: CommentPlainClientAPI @@ -238,31 +238,31 @@ export type PlainClientAPI = { contentType: { get(params: OptionalDefaults): Promise getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> update( params: OptionalDefaults, rawData: ContentTypeProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise delete(params: OptionalDefaults): Promise publish( params: OptionalDefaults, - rawData: ContentTypeProps + rawData: ContentTypeProps, ): Promise unpublish(params: OptionalDefaults): Promise create( params: OptionalDefaults, - rawData: CreateContentTypeProps + rawData: CreateContentTypeProps, ): Promise createWithId( params: OptionalDefaults, - rawData: CreateContentTypeProps + rawData: CreateContentTypeProps, ): Promise omitAndDeleteField( params: OptionalDefaults, contentType: ContentTypeProps, - fieldId: string + fieldId: string, ): Promise } user: UserPlainClientAPI @@ -270,52 +270,52 @@ export type PlainClientAPI = { getPublished( params: OptionalDefaults, rawData?: unknown, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise>> getMany( params: OptionalDefaults, rawData?: unknown, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise>> get( params: OptionalDefaults, rawData?: unknown, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise> update( params: OptionalDefaults, rawData: EntryProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise> patch( params: OptionalDefaults, rawData: OpPatch[], - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise> delete(params: OptionalDefaults): Promise publish( params: OptionalDefaults, - rawData: EntryProps + rawData: EntryProps, ): Promise> unpublish( params: OptionalDefaults, - rawData?: EntryProps + rawData?: EntryProps, ): Promise> archive( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> unarchive( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> create( params: OptionalDefaults, - rawData: CreateEntryProps + rawData: CreateEntryProps, ): Promise> createWithId( params: OptionalDefaults< GetSpaceEnvironmentParams & { entryId: string; contentTypeId: string } >, - rawData: CreateEntryProps + rawData: CreateEntryProps, ): Promise> references( params: OptionalDefaults< @@ -323,74 +323,74 @@ export type PlainClientAPI = { entryId: string include?: number } - > + >, ): Promise } asset: { getPublished( params: OptionalDefaults, rawData?: unknown, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise> getMany( params: OptionalDefaults, rawData?: unknown, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise> get( params: OptionalDefaults, rawData?: unknown, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise update( params: OptionalDefaults, rawData: AssetProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise delete(params: OptionalDefaults): Promise publish( params: OptionalDefaults, - rawData: AssetProps + rawData: AssetProps, ): Promise unpublish( params: OptionalDefaults, - rawData?: AssetProps + rawData?: AssetProps, ): Promise archive( - params: OptionalDefaults + params: OptionalDefaults, ): Promise unarchive( - params: OptionalDefaults + params: OptionalDefaults, ): Promise create( params: OptionalDefaults, - rawData: CreateAssetProps + rawData: CreateAssetProps, ): Promise createWithId( params: OptionalDefaults, - rawData: CreateAssetProps + rawData: CreateAssetProps, ): Promise createFromFiles( params: OptionalDefaults, - data: AssetFileProp + data: AssetFileProp, ): Promise processForAllLocales( params: OptionalDefaults, asset: AssetProps, - processingOptions?: AssetProcessingForLocale + processingOptions?: AssetProcessingForLocale, ): Promise processForLocale( params: OptionalDefaults, asset: AssetProps, locale: string, - processingOptions?: AssetProcessingForLocale + processingOptions?: AssetProcessingForLocale, ): Promise } appUpload: AppUploadPlainClientAPI assetKey: { create( params: OptionalDefaults, - data: CreateAssetKeyProps + data: CreateAssetKeyProps, ): Promise } upload: UploadPlainClientAPI @@ -399,11 +399,11 @@ export type PlainClientAPI = { personalAccessToken: { get(params: OptionalDefaults<{ tokenId: string }>): Promise getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> create( rawData: CreatePersonalAccessTokenProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise revoke(params: OptionalDefaults<{ tokenId: string }>): Promise } @@ -412,11 +412,11 @@ export type PlainClientAPI = { getMany(params: OptionalDefaults): Promise> createPersonalAccessToken( rawData: CreatePATProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise revoke(params: OptionalDefaults<{ tokenId: string }>): Promise getManyForOrganization( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> } usage: UsagePlainClientAPI @@ -424,40 +424,40 @@ export type PlainClientAPI = { archive(params: OptionalDefaults): Promise get(params: OptionalDefaults): Promise query( - params: OptionalDefaults & { query?: ReleaseQueryOptions } + params: OptionalDefaults & { query?: ReleaseQueryOptions }, ): Promise> create( params: OptionalDefaults, - data: ReleasePayload + data: ReleasePayload, ): Promise update( params: OptionalDefaults, - data: ReleasePayload + data: ReleasePayload, ): Promise delete(params: OptionalDefaults): Promise publish( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> unarchive( - params: OptionalDefaults + params: OptionalDefaults, ): Promise unpublish( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> validate( params: OptionalDefaults, - data?: ReleaseValidatePayload + data?: ReleaseValidatePayload, ): Promise> } releaseAction: { get( - params: OptionalDefaults & { actionId: string } + params: OptionalDefaults & { actionId: string }, ): Promise getMany( - params: OptionalDefaults & { query?: ReleaseActionQueryOptions } + params: OptionalDefaults & { query?: ReleaseActionQueryOptions }, ): Promise> queryForRelease( - params: OptionalDefaults & { query?: ReleaseActionQueryOptions } + params: OptionalDefaults & { query?: ReleaseActionQueryOptions }, ): Promise> } resource: ResourcePlainAPI @@ -469,50 +469,50 @@ export type PlainClientAPI = { params: OptionalDefaults & { scheduledActionId: string environmentId: string - } + }, ): Promise getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> create( params: OptionalDefaults, - data: CreateUpdateScheduledActionProps + data: CreateUpdateScheduledActionProps, ): Promise delete( - params: OptionalDefaults + params: OptionalDefaults, ): Promise update( params: OptionalDefaults, - data: CreateUpdateScheduledActionProps + data: CreateUpdateScheduledActionProps, ): Promise } previewApiKey: { get( - params: OptionalDefaults + params: OptionalDefaults, ): Promise getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> } apiKey: { get(params: OptionalDefaults): Promise getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> create( params: OptionalDefaults, data: CreateApiKeyProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise createWithId( params: OptionalDefaults, data: CreateApiKeyProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise update( params: OptionalDefaults, rawData: ApiKeyProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise delete(params: OptionalDefaults): Promise } @@ -522,16 +522,16 @@ export type PlainClientAPI = { webhook: WebhookPlainClientAPI snapshot: { getManyForEntry( - params: OptionalDefaults + params: OptionalDefaults, ): Promise, 'metadata'>>>> getForEntry( - params: OptionalDefaults + params: OptionalDefaults, ): Promise, 'metadata'>>> getManyForContentType( - params: OptionalDefaults + params: OptionalDefaults, ): Promise>> getForContentType( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> } tag: TagPlainClientAPI @@ -539,25 +539,25 @@ export type PlainClientAPI = { organizationInvitation: { get( params: OptionalDefaults<{ organizationId: string; invitationId: string }>, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise create( params: OptionalDefaults<{ organizationId: string }>, data: CreateOrganizationInvitationProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise } organizationMembership: { get( - params: OptionalDefaults + params: OptionalDefaults, ): Promise getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> update( params: OptionalDefaults, rawData: OrganizationMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise delete(params: OptionalDefaults): Promise } diff --git a/lib/plain/entities/ai-action-invocation.ts b/lib/plain/entities/ai-action-invocation.ts index eb7076604a..e8b841ae5b 100644 --- a/lib/plain/entities/ai-action-invocation.ts +++ b/lib/plain/entities/ai-action-invocation.ts @@ -16,6 +16,6 @@ export type AiActionInvocationPlainClientAPI = { params: OptionalDefaults< GetSpaceEnvironmentParams & { aiActionId: string; invocationId: string } >, - headers?: Partial + headers?: Partial, ): Promise } diff --git a/lib/plain/entities/ai-action.ts b/lib/plain/entities/ai-action.ts index 7704f07707..4c3b804c35 100644 --- a/lib/plain/entities/ai-action.ts +++ b/lib/plain/entities/ai-action.ts @@ -27,7 +27,7 @@ export type AiActionPlainClientAPI = { * @throws if the request fails or the entities are not found. */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Deletes the AI Action. @@ -47,7 +47,7 @@ export type AiActionPlainClientAPI = { create( params: OptionalDefaults, payload: CreateAiActionProps, - headers?: Partial + headers?: Partial, ): Promise /** * Updates an AI Action. @@ -60,7 +60,7 @@ export type AiActionPlainClientAPI = { update( params: OptionalDefaults, payload: AiActionProps, - headers?: Partial + headers?: Partial, ): Promise /** * Publishes the AI Action. @@ -72,7 +72,7 @@ export type AiActionPlainClientAPI = { publish( params: OptionalDefaults, payload?: unknown, - headers?: Partial + headers?: Partial, ): Promise /** * Unpublishes the AI Action. @@ -81,7 +81,7 @@ export type AiActionPlainClientAPI = { * @throws if the request fails or the AI Action is not found. */ unpublish( - params: OptionalDefaults + params: OptionalDefaults, ): Promise /** * Invokes an AI Action. @@ -95,6 +95,6 @@ export type AiActionPlainClientAPI = { invoke( params: OptionalDefaults, payload: AiActionInvocationType, - headers?: Partial + headers?: Partial, ): Promise } diff --git a/lib/plain/entities/app-access-token.ts b/lib/plain/entities/app-access-token.ts index d12e3d48b7..ceb0bb4b0d 100644 --- a/lib/plain/entities/app-access-token.ts +++ b/lib/plain/entities/app-access-token.ts @@ -31,6 +31,6 @@ export type AppAccessTokenPlainClientAPI = { */ create( params: OptionalDefaults, - payload: CreateAppAccessTokenProps + payload: CreateAppAccessTokenProps, ): Promise } diff --git a/lib/plain/entities/app-action-call.ts b/lib/plain/entities/app-action-call.ts index 2cc40e411c..2883ec3932 100644 --- a/lib/plain/entities/app-action-call.ts +++ b/lib/plain/entities/app-action-call.ts @@ -30,7 +30,7 @@ export type AppActionCallPlainClientAPI = { */ create( params: OptionalDefaults, - payload: CreateAppActionCallProps + payload: CreateAppActionCallProps, ): Promise /** * Fetches the details of an App Action Call @@ -48,7 +48,7 @@ export type AppActionCallPlainClientAPI = { * ``` */ getCallDetails( - params: OptionalDefaults + params: OptionalDefaults, ): Promise /** * Calls (triggers) an App Action @@ -73,6 +73,6 @@ export type AppActionCallPlainClientAPI = { */ createWithResponse( params: OptionalDefaults, - payload: CreateAppActionCallProps + payload: CreateAppActionCallProps, ): Promise } diff --git a/lib/plain/entities/app-action.ts b/lib/plain/entities/app-action.ts index e880309a13..1ba29f3ece 100644 --- a/lib/plain/entities/app-action.ts +++ b/lib/plain/entities/app-action.ts @@ -38,7 +38,7 @@ export type AppActionPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Fetches all App Actions for the given environment @@ -54,7 +54,7 @@ export type AppActionPlainClientAPI = { * ``` */ getManyForEnvironment( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Deletes the App Action @@ -119,7 +119,7 @@ export type AppActionPlainClientAPI = { */ create( params: OptionalDefaults, - payload: CreateAppActionProps + payload: CreateAppActionProps, ): Promise /** * Updates an App Action @@ -169,6 +169,6 @@ export type AppActionPlainClientAPI = { */ update( params: OptionalDefaults, - payload: CreateAppActionProps + payload: CreateAppActionProps, ): Promise } diff --git a/lib/plain/entities/app-bundle.ts b/lib/plain/entities/app-bundle.ts index 1ae5d94180..119785cdaf 100644 --- a/lib/plain/entities/app-bundle.ts +++ b/lib/plain/entities/app-bundle.ts @@ -36,7 +36,7 @@ export type AppBundlePlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Deletes the App Bundle @@ -73,6 +73,6 @@ export type AppBundlePlainClientAPI = { */ create( params: OptionalDefaults, - payload: CreateAppBundleProps + payload: CreateAppBundleProps, ): Promise } diff --git a/lib/plain/entities/app-definition.ts b/lib/plain/entities/app-definition.ts index 5051ebacf5..8da8646325 100644 --- a/lib/plain/entities/app-definition.ts +++ b/lib/plain/entities/app-definition.ts @@ -27,7 +27,7 @@ export type AppDefinitionPlainClientAPI = { * ``` */ get( - params: OptionalDefaults + params: OptionalDefaults, ): Promise /** * Fetch all App Definitions for the given Organization @@ -42,7 +42,7 @@ export type AppDefinitionPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Create an App Definition @@ -71,7 +71,7 @@ export type AppDefinitionPlainClientAPI = { */ create( params: OptionalDefaults, - rawData: CreateAppDefinitionProps + rawData: CreateAppDefinitionProps, ): Promise /** * Update an App Definition @@ -96,7 +96,7 @@ export type AppDefinitionPlainClientAPI = { update( params: OptionalDefaults, rawData: AppDefinitionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Delete an App Definition @@ -116,6 +116,6 @@ export type AppDefinitionPlainClientAPI = { * Please use please use appInstallations.getForOrganization instead */ getInstallationsForOrg( - params: OptionalDefaults + params: OptionalDefaults, ): Promise } diff --git a/lib/plain/entities/app-details.ts b/lib/plain/entities/app-details.ts index 05432fdec1..f1f778b411 100644 --- a/lib/plain/entities/app-details.ts +++ b/lib/plain/entities/app-details.ts @@ -28,7 +28,7 @@ export type AppDetailsPlainClientAPI = { */ upsert( params: OptionalDefaults, - payload: CreateAppDetailsProps + payload: CreateAppDetailsProps, ): Promise /** * Fetches the App Detail diff --git a/lib/plain/entities/app-event-subscription.ts b/lib/plain/entities/app-event-subscription.ts index a34f8465f1..5d513e895b 100644 --- a/lib/plain/entities/app-event-subscription.ts +++ b/lib/plain/entities/app-event-subscription.ts @@ -50,7 +50,7 @@ export type AppEventSubscriptionPlainClientAPI = { */ upsert( params: OptionalDefaults, - payload: CreateAppEventSubscriptionProps + payload: CreateAppEventSubscriptionProps, ): Promise /** * Fetches the current App Event Subscription for the given App diff --git a/lib/plain/entities/app-installation.ts b/lib/plain/entities/app-installation.ts index 4e3fc8fb08..daa5c2811d 100644 --- a/lib/plain/entities/app-installation.ts +++ b/lib/plain/entities/app-installation.ts @@ -44,7 +44,7 @@ export type AppInstallationPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Fetches all App Installations for the given Organization @@ -60,7 +60,7 @@ export type AppInstallationPlainClientAPI = { * ``` */ getForOrganization( - params: OptionalDefaults + params: OptionalDefaults, ): Promise /** * Creates or updates an App Installation @@ -87,7 +87,7 @@ export type AppInstallationPlainClientAPI = { upsert( params: OptionalDefaults, rawData: CreateAppInstallationProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Uninstalls the App diff --git a/lib/plain/entities/app-key.ts b/lib/plain/entities/app-key.ts index cfb06f93f9..1125234975 100644 --- a/lib/plain/entities/app-key.ts +++ b/lib/plain/entities/app-key.ts @@ -30,7 +30,7 @@ export type AppKeyPlainClientAPI = { */ create( params: OptionalDefaults, - payload: CreateAppKeyProps + payload: CreateAppKeyProps, ): Promise /** * Fetches the App Key with the given fingerprint @@ -47,7 +47,7 @@ export type AppKeyPlainClientAPI = { * ``` */ get( - params: OptionalDefaults & { fingerprint: string } + params: OptionalDefaults & { fingerprint: string }, ): Promise /** * Fetches all Keys for the given App @@ -76,7 +76,7 @@ export type AppKeyPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults & QueryParams + params: OptionalDefaults & QueryParams, ): Promise> /** * Removes the App Key with the given fingerprint diff --git a/lib/plain/entities/app-signed-request.ts b/lib/plain/entities/app-signed-request.ts index bfc24d8841..19ad7f7e64 100644 --- a/lib/plain/entities/app-signed-request.ts +++ b/lib/plain/entities/app-signed-request.ts @@ -36,6 +36,6 @@ export type AppSignedRequestPlainClientAPI = { */ create( params: OptionalDefaults, - payload: CreateAppSignedRequestProps + payload: CreateAppSignedRequestProps, ): Promise } diff --git a/lib/plain/entities/app-signing-secret.ts b/lib/plain/entities/app-signing-secret.ts index 03494c249f..33be3318b7 100644 --- a/lib/plain/entities/app-signing-secret.ts +++ b/lib/plain/entities/app-signing-secret.ts @@ -24,7 +24,7 @@ export type AppSigningSecretPlainClientAPI = { */ upsert( params: OptionalDefaults, - payload: CreateAppSigningSecretProps + payload: CreateAppSigningSecretProps, ): Promise /** * Fetches the current App Signing Secret for the given App diff --git a/lib/plain/entities/app-upload.ts b/lib/plain/entities/app-upload.ts index 429d81438c..38c36e2760 100644 --- a/lib/plain/entities/app-upload.ts +++ b/lib/plain/entities/app-upload.ts @@ -52,6 +52,6 @@ export type AppUploadPlainClientAPI = { */ create( params: OptionalDefaults, - payload: { file: string | ArrayBuffer | Stream } + payload: { file: string | ArrayBuffer | Stream }, ): Promise } diff --git a/lib/plain/entities/comment.ts b/lib/plain/entities/comment.ts index 1fea7304ce..97db427c81 100644 --- a/lib/plain/entities/comment.ts +++ b/lib/plain/entities/comment.ts @@ -50,7 +50,7 @@ export type CommentPlainClientAPI = { * ``` * */ get( - params: OptionalDefaults & RichTextBodyFormat + params: OptionalDefaults & RichTextBodyFormat, ): Promise /** Fetches all plain text comments on an entry * @@ -71,7 +71,7 @@ export type CommentPlainClientAPI = { * ``` * */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** Fetches all rich text comments on an entry * @@ -92,7 +92,7 @@ export type CommentPlainClientAPI = { * ``` * */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** Creates a plain text comment * @@ -118,7 +118,7 @@ export type CommentPlainClientAPI = { create( params: OptionalDefaults, rawData: CreateCommentProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** Creates a rich text comment * @@ -144,7 +144,7 @@ export type CommentPlainClientAPI = { create( params: OptionalDefaults, rawData: RichTextCommentBodyPayload, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** Updates a plain text comment * @@ -178,7 +178,7 @@ export type CommentPlainClientAPI = { update( params: OptionalDefaults, rawData: UpdateCommentProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** Updates a plain text comment * @@ -212,7 +212,7 @@ export type CommentPlainClientAPI = { update( params: OptionalDefaults, rawData: Omit & RichTextCommentBodyPayload, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** Deletes a comment * diff --git a/lib/plain/entities/concept-scheme.ts b/lib/plain/entities/concept-scheme.ts index 6ae7ed8459..b7c070a5ef 100644 --- a/lib/plain/entities/concept-scheme.ts +++ b/lib/plain/entities/concept-scheme.ts @@ -25,7 +25,7 @@ export type ConceptSchemePlainClientAPI = { */ create( params: SetOptional, - payload: CreateConceptSchemeProps + payload: CreateConceptSchemeProps, ): Promise /** @@ -43,7 +43,7 @@ export type ConceptSchemePlainClientAPI = { */ createWithId( params: SetOptional, - payload: CreateConceptSchemeProps + payload: CreateConceptSchemeProps, ): Promise /** @@ -62,7 +62,7 @@ export type ConceptSchemePlainClientAPI = { */ update( params: SetOptional, - payload: CreateConceptSchemeProps + payload: CreateConceptSchemeProps, ): Promise /** @@ -81,7 +81,7 @@ export type ConceptSchemePlainClientAPI = { */ patch( params: SetOptional, - payload: OpPatch[] + payload: OpPatch[], ): Promise /** @@ -112,7 +112,7 @@ export type ConceptSchemePlainClientAPI = { * ``` */ getMany( - params: SetOptional + params: SetOptional, ): Promise> /** diff --git a/lib/plain/entities/concept.ts b/lib/plain/entities/concept.ts index 8d644ff059..33cb0ab5cd 100644 --- a/lib/plain/entities/concept.ts +++ b/lib/plain/entities/concept.ts @@ -26,7 +26,7 @@ export type ConceptPlainClientAPI = { */ create( params: SetOptional, - payload: CreateConceptProps + payload: CreateConceptProps, ): Promise /** @@ -44,7 +44,7 @@ export type ConceptPlainClientAPI = { */ createWithId( params: SetOptional, - payload: CreateConceptProps + payload: CreateConceptProps, ): Promise /** @@ -63,7 +63,7 @@ export type ConceptPlainClientAPI = { */ update( params: SetOptional, - payload: CreateConceptProps + payload: CreateConceptProps, ): Promise /** @@ -82,7 +82,7 @@ export type ConceptPlainClientAPI = { */ patch( params: SetOptional, - payload: OpPatch[] + payload: OpPatch[], ): Promise /** @@ -128,7 +128,7 @@ export type ConceptPlainClientAPI = { * ``` */ getMany( - params: SetOptional + params: SetOptional, ): Promise> /** @@ -159,7 +159,7 @@ export type ConceptPlainClientAPI = { * ``` */ getDescendants( - params: SetOptional + params: SetOptional, ): Promise> /** @@ -176,6 +176,6 @@ export type ConceptPlainClientAPI = { * ``` */ getAncestors( - params: SetOptional + params: SetOptional, ): Promise> } diff --git a/lib/plain/entities/editor-interface.ts b/lib/plain/entities/editor-interface.ts index 71844523cb..08add12065 100644 --- a/lib/plain/entities/editor-interface.ts +++ b/lib/plain/entities/editor-interface.ts @@ -38,7 +38,7 @@ export type EditorInterfacePlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Update an Editor Interface @@ -74,6 +74,6 @@ export type EditorInterfacePlainClientAPI = { update( params: OptionalDefaults, rawData: EditorInterfaceProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise } diff --git a/lib/plain/entities/environment-alias.ts b/lib/plain/entities/environment-alias.ts index dee0d0e10f..0e174a9a18 100644 --- a/lib/plain/entities/environment-alias.ts +++ b/lib/plain/entities/environment-alias.ts @@ -39,7 +39,7 @@ export type EnvironmentAliasPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Create an environment alias @@ -70,7 +70,7 @@ export type EnvironmentAliasPlainClientAPI = { createWithId( params: OptionalDefaults, rawData: CreateEnvironmentAliasProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Update an environment alias @@ -99,7 +99,7 @@ export type EnvironmentAliasPlainClientAPI = { update( params: OptionalDefaults, rawData: EnvironmentAliasProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Delete an environment alias diff --git a/lib/plain/entities/environment.ts b/lib/plain/entities/environment.ts index 4f90644b37..6f9a09b9b9 100644 --- a/lib/plain/entities/environment.ts +++ b/lib/plain/entities/environment.ts @@ -36,7 +36,7 @@ export type EnvironmentPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Create an environment @@ -60,7 +60,7 @@ export type EnvironmentPlainClientAPI = { create( params: OptionalDefaults, rawData: Partial>, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Create an environment with a specific ID @@ -85,7 +85,7 @@ export type EnvironmentPlainClientAPI = { createWithId( params: OptionalDefaults, rawData: CreateEnvironmentProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Update an environment @@ -115,7 +115,7 @@ export type EnvironmentPlainClientAPI = { update( params: OptionalDefaults, rawData: EnvironmentProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Delete an environment diff --git a/lib/plain/entities/extension.ts b/lib/plain/entities/extension.ts index 4369a3675f..38aa080c23 100644 --- a/lib/plain/entities/extension.ts +++ b/lib/plain/entities/extension.ts @@ -38,7 +38,7 @@ export type ExtensionPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Creates a new Extension with an auto-generated ID @@ -72,7 +72,7 @@ export type ExtensionPlainClientAPI = { create( params: OptionalDefaults, rawData: CreateExtensionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Creates a new Extension with a given ID @@ -107,7 +107,7 @@ export type ExtensionPlainClientAPI = { createWithId( params: OptionalDefaults, rawData: CreateExtensionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Updates an Extension @@ -158,7 +158,7 @@ export type ExtensionPlainClientAPI = { update( params: OptionalDefaults, rawData: ExtensionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Deletes the Extension diff --git a/lib/plain/entities/function-log.ts b/lib/plain/entities/function-log.ts index 3b1d1dd9bf..52d9909a40 100644 --- a/lib/plain/entities/function-log.ts +++ b/lib/plain/entities/function-log.ts @@ -54,6 +54,6 @@ export type FunctionLogPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> } diff --git a/lib/plain/entities/function.ts b/lib/plain/entities/function.ts index 141e6693ad..b93fdde970 100644 --- a/lib/plain/entities/function.ts +++ b/lib/plain/entities/function.ts @@ -57,6 +57,6 @@ export type FunctionPlainClientAPI = { * ``` */ getManyForEnvironment( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> } diff --git a/lib/plain/entities/locale.ts b/lib/plain/entities/locale.ts index ba97187cc3..212bfa54c6 100644 --- a/lib/plain/entities/locale.ts +++ b/lib/plain/entities/locale.ts @@ -19,7 +19,7 @@ export type LocalePlainClientAPI = { * ``` */ get( - params: OptionalDefaults + params: OptionalDefaults, ): Promise /** * Fetch all locales in a space and environment @@ -40,7 +40,7 @@ export type LocalePlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Delete a locale @@ -87,7 +87,7 @@ export type LocalePlainClientAPI = { update( params: OptionalDefaults, rawData: LocaleProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Create a locale @@ -114,6 +114,6 @@ export type LocalePlainClientAPI = { create( params: OptionalDefaults, data: CreateLocaleProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise } diff --git a/lib/plain/entities/oauth-application.ts b/lib/plain/entities/oauth-application.ts index 7003c321d3..030cd4c4d9 100644 --- a/lib/plain/entities/oauth-application.ts +++ b/lib/plain/entities/oauth-application.ts @@ -29,7 +29,7 @@ export type OAuthApplicationPlainClientAPI = { * ``` */ getManyForUser( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** @@ -70,7 +70,7 @@ export type OAuthApplicationPlainClientAPI = { create( params: OptionalDefaults, rawData: CreateOAuthApplicationProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** @@ -95,7 +95,7 @@ export type OAuthApplicationPlainClientAPI = { update( params: OptionalDefaults, rawData: UpdateOAuthApplicationProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** diff --git a/lib/plain/entities/organization.ts b/lib/plain/entities/organization.ts index d7440cfd7f..88a8854c83 100644 --- a/lib/plain/entities/organization.ts +++ b/lib/plain/entities/organization.ts @@ -22,7 +22,7 @@ export type OrganizationPlainClientAPI = { * ``` */ getAll( - params?: OptionalDefaults + params?: OptionalDefaults, ): Promise> /** * Fetch a single organization by its ID diff --git a/lib/plain/entities/resource-provider.ts b/lib/plain/entities/resource-provider.ts index d82610c9c2..a3dfd84985 100644 --- a/lib/plain/entities/resource-provider.ts +++ b/lib/plain/entities/resource-provider.ts @@ -49,7 +49,7 @@ export type ResourceProviderPlainClientAPI = { upsert( params: OptionalDefaults, rawData: UpsertResourceProviderProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** diff --git a/lib/plain/entities/resource-type.ts b/lib/plain/entities/resource-type.ts index b1abb4223f..6f88e8bb6b 100644 --- a/lib/plain/entities/resource-type.ts +++ b/lib/plain/entities/resource-type.ts @@ -62,7 +62,7 @@ export type ResourceTypePlainClientAPI = { upsert( params: OptionalDefaults, rawData: UpsertResourceTypeProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /* @@ -95,7 +95,7 @@ export type ResourceTypePlainClientAPI = { * ``` */ getForEnvironment( - params: OptionalDefaults & { query?: BasicCursorPaginationOptions } + params: OptionalDefaults & { query?: BasicCursorPaginationOptions }, ): Promise> /* @@ -112,6 +112,6 @@ export type ResourceTypePlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults> + params: OptionalDefaults>, ): Promise> } diff --git a/lib/plain/entities/resource.ts b/lib/plain/entities/resource.ts index 56f3a62367..c6d373b1cf 100644 --- a/lib/plain/entities/resource.ts +++ b/lib/plain/entities/resource.ts @@ -36,6 +36,6 @@ export type ResourcePlainAPI = { * ``` */ getMany( - params: OptionalDefaults & { query?: ResourceQueryOptions } + params: OptionalDefaults & { query?: ResourceQueryOptions }, ): Promise> } diff --git a/lib/plain/entities/role.ts b/lib/plain/entities/role.ts index 427c555706..9fc4d09066 100644 --- a/lib/plain/entities/role.ts +++ b/lib/plain/entities/role.ts @@ -39,7 +39,7 @@ export type RolePlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** Fetches all Roles for the given Organization * @@ -57,7 +57,7 @@ export type RolePlainClientAPI = { * ``` */ getManyForOrganization( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** Creates a Role * @@ -114,7 +114,7 @@ export type RolePlainClientAPI = { create( params: OptionalDefaults, data: CreateRoleProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** Creates a Role with a given ID * @@ -172,7 +172,7 @@ export type RolePlainClientAPI = { createWithId( params: OptionalDefaults, data: CreateRoleProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** Updates a Role * @@ -202,7 +202,7 @@ export type RolePlainClientAPI = { update( params: OptionalDefaults, rawData: RoleProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** Deletes a Role * diff --git a/lib/plain/entities/space-member.ts b/lib/plain/entities/space-member.ts index 0ecf212035..d4ccf59ce9 100644 --- a/lib/plain/entities/space-member.ts +++ b/lib/plain/entities/space-member.ts @@ -16,7 +16,7 @@ export type SpaceMemberPlainClientAPI = { * ``` */ get( - params: OptionalDefaults + params: OptionalDefaults, ): Promise /** * Fetches all the space members for a given space @@ -30,6 +30,6 @@ export type SpaceMemberPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> } diff --git a/lib/plain/entities/space-membership.ts b/lib/plain/entities/space-membership.ts index fad5da3f5e..8fcc2e451e 100644 --- a/lib/plain/entities/space-membership.ts +++ b/lib/plain/entities/space-membership.ts @@ -39,7 +39,7 @@ export type SpaceMembershipPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Fetches the space membership within a given organization @@ -54,7 +54,7 @@ export type SpaceMembershipPlainClientAPI = { * ``` */ getForOrganization( - params: OptionalDefaults + params: OptionalDefaults, ): Promise /** * Fetches all of the space memberships within a given organization @@ -69,7 +69,7 @@ export type SpaceMembershipPlainClientAPI = { * ``` */ getManyForOrganization( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Creates a space membership @@ -101,7 +101,7 @@ export type SpaceMembershipPlainClientAPI = { create( params: OptionalDefaults, data: CreateSpaceMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Creates a space membership with a specific ID @@ -134,7 +134,7 @@ export type SpaceMembershipPlainClientAPI = { createWithId( params: OptionalDefaults, data: CreateSpaceMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Updates a space membership @@ -163,7 +163,7 @@ export type SpaceMembershipPlainClientAPI = { update( params: OptionalDefaults, rawData: SpaceMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Deletes a space membership diff --git a/lib/plain/entities/space.ts b/lib/plain/entities/space.ts index 92dac53fbe..434734727a 100644 --- a/lib/plain/entities/space.ts +++ b/lib/plain/entities/space.ts @@ -50,7 +50,7 @@ export type SpacePlainClientAPI = { * ``` */ getManyForOrganization( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Creates a space @@ -72,7 +72,7 @@ export type SpacePlainClientAPI = { create( params: OptionalDefaults<{ organizationId?: string }>, payload: Omit, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Updates a space @@ -99,7 +99,7 @@ export type SpacePlainClientAPI = { update( params: OptionalDefaults, payload: SpaceProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Deletes a space diff --git a/lib/plain/entities/tag.ts b/lib/plain/entities/tag.ts index 565cc73764..f7837a930a 100644 --- a/lib/plain/entities/tag.ts +++ b/lib/plain/entities/tag.ts @@ -42,7 +42,7 @@ export type TagPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Create a new tag @@ -95,7 +95,7 @@ export type TagPlainClientAPI = { update( params: OptionalDefaults, rawData: UpdateTagProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Delete a single tag by ID and version diff --git a/lib/plain/entities/task.ts b/lib/plain/entities/task.ts index 5c75c1ba85..c240235c70 100644 --- a/lib/plain/entities/task.ts +++ b/lib/plain/entities/task.ts @@ -50,7 +50,7 @@ export type TaskPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** Creates a task * @@ -83,7 +83,7 @@ export type TaskPlainClientAPI = { create( params: OptionalDefaults, rawData: CreateTaskProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** Updates a task * @@ -117,7 +117,7 @@ export type TaskPlainClientAPI = { update( params: OptionalDefaults, rawData: UpdateTaskProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** Deletes a task * diff --git a/lib/plain/entities/team-membership.ts b/lib/plain/entities/team-membership.ts index 618e7c053e..0d11cd428f 100644 --- a/lib/plain/entities/team-membership.ts +++ b/lib/plain/entities/team-membership.ts @@ -40,7 +40,7 @@ export type TeamMembershipPlainClientAPI = { * ``` */ getManyForOrganization( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Fetch all team memberships for a given team @@ -59,7 +59,7 @@ export type TeamMembershipPlainClientAPI = { * ``` */ getManyForTeam( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Create a new team membership @@ -81,7 +81,7 @@ export type TeamMembershipPlainClientAPI = { create( params: OptionalDefaults, rawData: CreateTeamMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Update a team membership @@ -110,7 +110,7 @@ export type TeamMembershipPlainClientAPI = { update( params: OptionalDefaults, rawData: TeamMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Delete a team membership diff --git a/lib/plain/entities/team-space-membership.ts b/lib/plain/entities/team-space-membership.ts index 8dc07e62c3..a672cf69c5 100644 --- a/lib/plain/entities/team-space-membership.ts +++ b/lib/plain/entities/team-space-membership.ts @@ -43,7 +43,7 @@ export type TeamSpaceMembershipPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Fetch a team space membership for a given organization @@ -59,7 +59,7 @@ export type TeamSpaceMembershipPlainClientAPI = { * ``` */ getForOrganization( - params: OptionalDefaults + params: OptionalDefaults, ): Promise /** * Fetch all team space memberships for a given organization @@ -78,7 +78,7 @@ export type TeamSpaceMembershipPlainClientAPI = { * ``` */ getManyForOrganization( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Create a new team space membership @@ -100,7 +100,7 @@ export type TeamSpaceMembershipPlainClientAPI = { create( params: OptionalDefaults, rawData: CreateTeamSpaceMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Update a team space membership @@ -127,7 +127,7 @@ export type TeamSpaceMembershipPlainClientAPI = { update( params: OptionalDefaults, rawData: TeamSpaceMembershipProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Delete a team space membership diff --git a/lib/plain/entities/team.ts b/lib/plain/entities/team.ts index 2a7bca1ed3..be6f167af6 100644 --- a/lib/plain/entities/team.ts +++ b/lib/plain/entities/team.ts @@ -40,7 +40,7 @@ export type TeamPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Fetch all teams for a given space @@ -58,7 +58,7 @@ export type TeamPlainClientAPI = { * ``` */ getManyForSpace( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Create a new team @@ -79,7 +79,7 @@ export type TeamPlainClientAPI = { create( params: OptionalDefaults, rawData: CreateTeamProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Update a team @@ -106,7 +106,7 @@ export type TeamPlainClientAPI = { update( params: OptionalDefaults, rawData: TeamProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Delete a team diff --git a/lib/plain/entities/ui-config.ts b/lib/plain/entities/ui-config.ts index 50b1ccae99..fb97e1e52c 100644 --- a/lib/plain/entities/ui-config.ts +++ b/lib/plain/entities/ui-config.ts @@ -43,6 +43,6 @@ export type UIConfigPlainClientAPI = { */ update( params: OptionalDefaults, - rawData: UIConfigProps + rawData: UIConfigProps, ): Promise } diff --git a/lib/plain/entities/upload.ts b/lib/plain/entities/upload.ts index a68d2a628a..4fb5d589ff 100644 --- a/lib/plain/entities/upload.ts +++ b/lib/plain/entities/upload.ts @@ -43,7 +43,7 @@ export type UploadPlainClientAPI = { */ create( params: OptionalDefaults, - data: { file: string | ArrayBuffer | Stream } + data: { file: string | ArrayBuffer | Stream }, ): Promise /** Deletes the Space Environment Upload * diff --git a/lib/plain/entities/usage.ts b/lib/plain/entities/usage.ts index 37b0858fbd..b30dd15e94 100644 --- a/lib/plain/entities/usage.ts +++ b/lib/plain/entities/usage.ts @@ -23,7 +23,7 @@ export type UsagePlainClientAPI = { * ``` */ getManyForSpace( - params: OptionalDefaults<{ organizationId: string } & QueryParams> + params: OptionalDefaults<{ organizationId: string } & QueryParams>, ): Promise> /** Fetches all an organization's usage data by organization * @@ -45,6 +45,6 @@ export type UsagePlainClientAPI = { * ``` */ getManyForOrganization( - params: OptionalDefaults<{ organizationId: string } & QueryParams> + params: OptionalDefaults<{ organizationId: string } & QueryParams>, ): Promise> } diff --git a/lib/plain/entities/user-ui-config.ts b/lib/plain/entities/user-ui-config.ts index f94ac71686..5656e004d0 100644 --- a/lib/plain/entities/user-ui-config.ts +++ b/lib/plain/entities/user-ui-config.ts @@ -43,6 +43,6 @@ export type UserUIConfigPlainClientAPI = { */ update( params: OptionalDefaults, - rawData: UserUIConfigProps + rawData: UserUIConfigProps, ): Promise } diff --git a/lib/plain/entities/user.ts b/lib/plain/entities/user.ts index c589292139..a37fbb444a 100644 --- a/lib/plain/entities/user.ts +++ b/lib/plain/entities/user.ts @@ -24,7 +24,7 @@ export type UserPlainClientAPI = { * ``` */ getManyForSpace( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Fetches a user in a space @@ -65,7 +65,7 @@ export type UserPlainClientAPI = { * ``` */ getForOrganization( - params: OptionalDefaults + params: OptionalDefaults, ): Promise /** * Fetches all users in an organization @@ -83,6 +83,6 @@ export type UserPlainClientAPI = { * ``` */ getManyForOrganization( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> } diff --git a/lib/plain/entities/webhook.ts b/lib/plain/entities/webhook.ts index 47eb42c96f..cc991f7320 100644 --- a/lib/plain/entities/webhook.ts +++ b/lib/plain/entities/webhook.ts @@ -48,7 +48,7 @@ export type WebhookPlainClientAPI = { * ``` */ getMany( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> /** * Creates a Webhook @@ -73,7 +73,7 @@ export type WebhookPlainClientAPI = { create( params: OptionalDefaults, rawData: CreateWebhooksProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Creates the Webhook @@ -97,7 +97,7 @@ export type WebhookPlainClientAPI = { */ update( params: OptionalDefaults, - rawData: CreateWebhooksProps + rawData: CreateWebhooksProps, ): Promise /** * Deletes the Webhook @@ -143,7 +143,7 @@ export type WebhookPlainClientAPI = { * ``` */ getCallDetails( - params: OptionalDefaults + params: OptionalDefaults, ): Promise /** * Fetches the details the most recent calls for a given Webhook @@ -159,7 +159,7 @@ export type WebhookPlainClientAPI = { * ``` */ getManyCallDetails( - params: OptionalDefaults + params: OptionalDefaults, ): Promise> // Webhook Retry Policies @@ -172,7 +172,7 @@ export type WebhookPlainClientAPI = { */ upsertRetryPolicy( params: OptionalDefaults, - rawData: WebhookRetryPolicyPayload + rawData: WebhookRetryPolicyPayload, ): Promise /** * @deprecated The EAP for this feature has ended. This method will be removed in the next major version. @@ -212,7 +212,7 @@ export type WebhookPlainClientAPI = { */ upsertSigningSecret( params: OptionalDefaults, - rawData: UpsertWebhookSigningSecretPayload + rawData: UpsertWebhookSigningSecretPayload, ): Promise /** * Removes the webhook signing secret for a given Space diff --git a/lib/plain/entities/workflow-definition.ts b/lib/plain/entities/workflow-definition.ts index 058722b96f..8bcdcdf080 100644 --- a/lib/plain/entities/workflow-definition.ts +++ b/lib/plain/entities/workflow-definition.ts @@ -32,7 +32,7 @@ export type WorkflowDefinitionPlainClientAPI = { */ get( params: OptionalDefaults, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Query Workflow Definitions with certain filters @@ -54,7 +54,7 @@ export type WorkflowDefinitionPlainClientAPI = { params: OptionalDefaults< GetSpaceEnvironmentParams & { query?: WorkflowDefinitionQueryOptions } >, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise> /** * Create a new Workflow Definition @@ -72,7 +72,7 @@ export type WorkflowDefinitionPlainClientAPI = { create( params: OptionalDefaults, rawData: CreateWorkflowDefinitionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Update a Workflow Definition @@ -97,7 +97,7 @@ export type WorkflowDefinitionPlainClientAPI = { update( params: OptionalDefaults, rawData: UpdateWorkflowDefinitionProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Delete a Workflow Definition @@ -115,6 +115,6 @@ export type WorkflowDefinitionPlainClientAPI = { */ delete( params: OptionalDefaults, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise } diff --git a/lib/plain/entities/workflow.ts b/lib/plain/entities/workflow.ts index ccf9ee9722..ac33aa3b29 100644 --- a/lib/plain/entities/workflow.ts +++ b/lib/plain/entities/workflow.ts @@ -33,7 +33,7 @@ export type WorkflowPlainClientAPI = { */ get( params: OptionalDefaults, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** @@ -54,7 +54,7 @@ export type WorkflowPlainClientAPI = { */ getMany( params: OptionalDefaults, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise> /** * Start a Workflow @@ -88,7 +88,7 @@ export type WorkflowPlainClientAPI = { create( params: OptionalDefaults, rawData: CreateWorkflowProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Update a Workflow (i.e. move to another step) @@ -112,7 +112,7 @@ export type WorkflowPlainClientAPI = { update( params: OptionalDefaults, rawData: UpdateWorkflowProps, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Delete a Workflow @@ -129,7 +129,7 @@ export type WorkflowPlainClientAPI = { */ delete( params: OptionalDefaults, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise /** * Complete a Workflow, allowing a new one to be created for the same entry @@ -146,6 +146,6 @@ export type WorkflowPlainClientAPI = { */ complete( params: OptionalDefaults, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise } diff --git a/lib/plain/entities/workflows-changelog.ts b/lib/plain/entities/workflows-changelog.ts index 8f7f3b2599..dda1ac49d5 100644 --- a/lib/plain/entities/workflows-changelog.ts +++ b/lib/plain/entities/workflows-changelog.ts @@ -26,6 +26,6 @@ export type WorkflowsChangelogPlainClientAPI = { */ getMany( params: OptionalDefaults, - headers?: RawAxiosRequestHeaders + headers?: RawAxiosRequestHeaders, ): Promise> } diff --git a/lib/plain/pagination-helper.ts b/lib/plain/pagination-helper.ts index ebb41bdc5d..2b4d8c52f1 100644 --- a/lib/plain/pagination-helper.ts +++ b/lib/plain/pagination-helper.ts @@ -15,10 +15,10 @@ type ExpectedParams = OffsetBasedParams | CursorBasedParams */ type IterableCollection = Omit | CursorPaginatedCollectionProp, 'sys'> export type FetchFn

= ( - params: P + params: P, ) => Promise> type ParamsType

> = T extends ( - params: infer P + params: infer P, ) => unknown ? P : never @@ -57,7 +57,7 @@ function range(from: number, to: number): number[] { export async function fetchAll< Params extends ExpectedParams, Entity, - F extends FetchFn + F extends FetchFn, >(fetchFn: FetchFn, params: ParamsType): Promise { const response = await fetchFn({ ...params }) @@ -78,7 +78,7 @@ export async function fetchAll< limit, skip: page * limit, }, - }).then((result) => result.items) + }).then((result) => result.items), ) const remainingItems = await Promise.all(promises) @@ -109,6 +109,6 @@ export async function fetchAll< } throw new Error( - `Can not determine collection type of response, neither property "total" nor "pages" are present.` + `Can not determine collection type of response, neither property "total" nor "pages" are present.`, ) } diff --git a/lib/plain/plain-client.ts b/lib/plain/plain-client.ts index 8a6030914e..934e0e936a 100644 --- a/lib/plain/plain-client.ts +++ b/lib/plain/plain-client.ts @@ -15,7 +15,7 @@ export type { DefaultParams } from './wrappers/wrap.js' */ export const createPlainClient = ( makeRequest: MakeRequest, - defaults: DefaultParams | undefined + defaults: DefaultParams | undefined, ): PlainClientAPI => { const wrapParams = { makeRequest, defaults } @@ -223,7 +223,7 @@ export const createPlainClient = ( omitAndDeleteField( makeRequest, { ...({ ...defaults, ...params } as GetContentTypeParams), fieldId }, - contentType + contentType, ), }, user: { diff --git a/lib/plain/wrappers/wrap.ts b/lib/plain/wrappers/wrap.ts index bbc5d7f024..5e870d9931 100644 --- a/lib/plain/wrappers/wrap.ts +++ b/lib/plain/wrappers/wrap.ts @@ -39,14 +39,14 @@ export type WrapFn< Headers = 'headers' extends keyof MRActions[ET][Action] ? MRActions[ET][Action]['headers'] : undefined, - Return = MRReturn + Return = MRReturn, > = Params extends undefined ? () => Return : Payload extends undefined - ? (params: Params) => Return - : Headers extends undefined - ? (params: Params, payload: Payload) => Return - : (params: Params, payload: Payload, headers: Headers) => Return + ? (params: Params) => Return + : Headers extends undefined + ? (params: Params, payload: Payload) => Return + : (params: Params, payload: Payload, headers: Headers) => Return /** * @private @@ -54,7 +54,7 @@ export type WrapFn< export const wrap = ( { makeRequest, defaults }: WrapParams, entityType: ET, - action: Action + action: Action, ): WrapFn => { type Params = 'params' extends keyof MRActions[ET][Action] ? MRActions[ET][Action]['params'] diff --git a/lib/upload-http-client.ts b/lib/upload-http-client.ts index 6d4a297457..dca3c6bba3 100644 --- a/lib/upload-http-client.ts +++ b/lib/upload-http-client.ts @@ -9,7 +9,7 @@ type UploadHttpClientOpts = { */ export function getUploadHttpClient( http: AxiosInstance, - options?: UploadHttpClientOpts + options?: UploadHttpClientOpts, ): AxiosInstance { const { hostUpload, defaultHostnameUpload, timeout } = http.httpClientParams as Record< string, diff --git a/package-lock.json b/package-lock.json index 90520feef9..96bcaddd83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,6 +32,7 @@ "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-terser": "^0.4.4", + "@rollup/plugin-typescript": "^12.1.4", "@semantic-release/changelog": "^6.0.0", "@size-limit/file": "^11.1.6", "@types/json-patch": "^0.0.33", @@ -52,10 +53,11 @@ "lodash": "^4.17.20", "nodemon": "^3.1.2", "playwright": "^1.49.1", - "prettier": "^2.6.0", + "prettier": "^3.6.2", "process": "^0.11.10", "rimraf": "^5.0.0", "rollup": "^4.28.1", + "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-visualizer": "^5.12.0", "semantic-release": "^22.0.12", "size-limit": "^11.1.6", @@ -65,7 +67,7 @@ "vitest": "^2.1.8" }, "engines": { - "node": ">=18" + "node": ">=20" } }, "node_modules/@ampproject/remapping": { @@ -3367,6 +3369,33 @@ } } }, + "node_modules/@rollup/plugin-typescript": { + "version": "12.1.4", + "resolved": "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-12.1.4.tgz", + "integrity": "sha512-s5Hx+EtN60LMlDBvl5f04bEiFZmAepk27Q+mr85L/00zPDn1jtzlTV6FWn81MaIwqfWzKxmOJrBWHU6vtQyedQ==", + "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.1.3", "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.3.tgz", @@ -5100,6 +5129,19 @@ "node": ">= 4.0.0" } }, + "node_modules/atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true, + "license": "(MIT OR Apache-2.0)", + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, "node_modules/axios": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/axios/-/axios-1.9.0.tgz", @@ -6494,6 +6536,16 @@ } } }, + "node_modules/decode-uri-component": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", + "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, "node_modules/dedent": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", @@ -13776,16 +13828,16 @@ } }, "node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz", + "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==", "dev": true, "license": "MIT", "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" @@ -14445,6 +14497,61 @@ "fsevents": "~2.3.2" } }, + "node_modules/rollup-plugin-sourcemaps": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.6.3.tgz", + "integrity": "sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rollup/pluginutils": "^3.0.9", + "source-map-resolve": "^0.6.0" + }, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "@types/node": ">=10.0.0", + "rollup": ">=0.31.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/rollup-plugin-sourcemaps/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/rollup-plugin-sourcemaps/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true, + "license": "MIT" + }, + "node_modules/rollup-plugin-sourcemaps/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true, + "license": "MIT" + }, "node_modules/rollup-plugin-visualizer": { "version": "5.12.0", "resolved": "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.12.0.tgz", @@ -15280,6 +15387,18 @@ "node": ">=0.10.0" } }, + "node_modules/source-map-resolve": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.6.0.tgz", + "integrity": "sha512-KXBr9d/fO/bWo97NXsPIAW1bFSBOuCnjbNTBMO7N59hsv5i9yzRDfcYwwt0l04+VqnKC+EwzvJZIP/qkuMgR/w==", + "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated", + "dev": true, + "license": "MIT", + "dependencies": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0" + } + }, "node_modules/source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", diff --git a/package.json b/package.json index 9341495f22..62749f3b26 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,11 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", - "import": "./dist/esm/index.js", - "require": "./dist/cjs/index.cjs" + "node": "./dist/contentful-management.node.cjs", + "browser": "./dist/contentful-management.browser.cjs", + "react-native": "./dist/contentful-management.react-native.cjs", + "require": "./dist/cjs/index.cjs", + "default": "./dist/esm/index.js" }, "./dist/contentful-management.node.cjs": "./dist/contentful-management.node.cjs", "./dist/contentful-management.browser.js": "./dist/contentful-management.browser.js", @@ -17,7 +20,7 @@ "main": "./dist/cjs/index.cjs", "types": "dist/types/index.d.ts", "engines": { - "node": ">=18" + "node": ">=20" }, "browserslist": [ ">0.3%", @@ -34,16 +37,15 @@ "license": "MIT", "scripts": { "clean": "rimraf dist", - "build": "npm run clean && npm run build:esm && npm run build:rollup && rm -rf dist/esm-raw", - "build:esm": "tsc", + "build": "npm run clean && npm run build:rollup", "build:rollup": "NODE_ENV=production rollup -c", "build:docs": "typedoc", "postbuild": "npm run check && npm run test:demo-projects", "check": "npm run check:cjs && npm run check:esm && npm run check:browser && npm run check:browser-min", - "check:browser": "es-check es2018 ./dist/contentful-management.browser.js", - "check:browser-min": "es-check es2018 ./dist/contentful-management.browser.min.js", - "check:cjs": "es-check es2017 './dist/**/*.cjs'", - "check:esm": "es-check es2017 --module './dist/esm/*.js'", + "check:browser": "es-check es2021 ./dist/contentful-management.browser.js", + "check:browser-min": "es-check es2021 ./dist/contentful-management.browser.min.js", + "check:cjs": "es-check es2020 './dist/**/*.cjs'", + "check:esm": "es-check es2020 --module './dist/esm/*.js'", "docs:dev": "npm run build && 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", @@ -99,6 +101,7 @@ "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-terser": "^0.4.4", + "@rollup/plugin-typescript": "^12.1.4", "@semantic-release/changelog": "^6.0.0", "@size-limit/file": "^11.1.6", "@types/json-patch": "^0.0.33", @@ -119,10 +122,11 @@ "lodash": "^4.17.20", "nodemon": "^3.1.2", "playwright": "^1.49.1", - "prettier": "^2.6.0", + "prettier": "^3.6.2", "process": "^0.11.10", "rimraf": "^5.0.0", "rollup": "^4.28.1", + "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-visualizer": "^5.12.0", "semantic-release": "^22.0.12", "size-limit": "^11.1.6", diff --git a/rollup.config.js b/rollup.config.js index 5e60ab3ed7..d7f97cfe1f 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,7 +1,7 @@ -import { resolve, dirname } from 'path'; +import { resolve, dirname } from 'path' import { fileURLToPath } from 'url' -import pkg from "./package.json" with { type: 'json' } +import pkg from './package.json' with { type: 'json' } import nodeResolve from '@rollup/plugin-node-resolve' import commonjs from '@rollup/plugin-commonjs' @@ -12,12 +12,22 @@ import replace from '@rollup/plugin-replace' import { optimizeLodashImports } from '@optimize-lodash/rollup-plugin' import { visualizer } from 'rollup-plugin-visualizer' import { babel } from '@rollup/plugin-babel' +import typescript from '@rollup/plugin-typescript' +import sourcemaps from 'rollup-plugin-sourcemaps' const __dirname = dirname(fileURLToPath(import.meta.url)) +const tsPlugin = typescript({ + tsconfig: './tsconfig.json', + declaration: false, + noEmitOnError: true, +}) + const baseConfig = { - input: 'dist/esm-raw/index.js', + input: 'lib/index.ts', plugins: [ + tsPlugin, + sourcemaps(), optimizeLodashImports(), replace({ preventAssignment: true, @@ -33,46 +43,57 @@ const baseConfig = { }), json(), ], + external: ['axios', 'contentful-sdk-core', 'fast-copy'], } const esmConfig = { - input: 'dist/esm-raw/index.js', + 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 cjsConfig = { - input: 'dist/esm-raw/index.js', + input: 'lib/index.ts', output: { dir: 'dist/cjs', format: 'cjs', preserveModules: true, entryFileNames: '[name].cjs', + 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.node.cjs', format: 'cjs', + sourcemap: true, }, plugins: [ ...baseConfig.plugins, @@ -104,16 +125,20 @@ const cjsBundleConfig = { const browserConfig = { ...baseConfig, + external: [], output: { file: 'dist/contentful-management.browser.js', format: 'iife', name: 'contentfulManagement', + sourcemap: true, }, plugins: [ nodeResolve({ preferBuiltins: false, browser: true, }), + tsPlugin, + sourcemaps(), alias({ entries: [ { @@ -202,4 +227,32 @@ const reactNativeConfig = { }, } -export default [esmConfig, cjsConfig, cjsBundleConfig, browserConfig, browserMinConfig, reactNativeConfig] +// Types build in Rollup +const typesConfig = { + input: 'lib/index.ts', + output: { + dir: 'dist/types', + format: 'esm', + preserveModules: true, + }, + plugins: [ + typescript({ + tsconfig: './tsconfig.json', + outDir: 'dist/types', + declaration: true, + noEmitOnError: true, + emitDeclarationOnly: true, + }), + ], + external: baseConfig.external, +} + +export default [ + esmConfig, + cjsConfig, + cjsBundleConfig, + browserConfig, + browserMinConfig, + reactNativeConfig, + typesConfig, +] diff --git a/test/helpers.ts b/test/helpers.ts index 12fe79b22c..60e912e944 100644 --- a/test/helpers.ts +++ b/test/helpers.ts @@ -50,7 +50,7 @@ export const initPlainClient = (defaults = {}) => { { type: 'plain', defaults, - } + }, ) } @@ -165,7 +165,7 @@ export const cleanupTaxonomy = async (olderThan = 1000 * 60 * 60) => { const { items: concepts } = await client.concept.getMany({}) const conceptsToBeDeleted = concepts.filter( - (item) => Date.parse(item.sys.createdAt) > Date.now() - olderThan + (item) => Date.parse(item.sys.createdAt) > Date.now() - olderThan, ) if (conceptsToBeDeleted.length > 0) { @@ -177,12 +177,12 @@ export const cleanupTaxonomy = async (olderThan = 1000 * 60 * 60) => { client.concept.delete({ conceptId: item.sys.id, version: item.sys.version, - }) - ) + }), + ), ) const { items: conceptSchemes } = await client.conceptScheme.getMany({}) const conceptSchemesToBeDeleted = conceptSchemes.filter( - (item) => Date.parse(item.sys.createdAt) > Date.now() - olderThan + (item) => Date.parse(item.sys.createdAt) > Date.now() - olderThan, ) if (conceptSchemesToBeDeleted.length > 0) { @@ -194,8 +194,8 @@ export const cleanupTaxonomy = async (olderThan = 1000 * 60 * 60) => { client.conceptScheme.delete({ conceptSchemeId: item.sys.id, version: item.sys.version, - }) - ) + }), + ), ) } diff --git a/test/integration/ai-action-integration.test.ts b/test/integration/ai-action-integration.test.ts index 72ef248e96..c02dffc978 100644 --- a/test/integration/ai-action-integration.test.ts +++ b/test/integration/ai-action-integration.test.ts @@ -174,7 +174,7 @@ describe('AiAction api', { sequential: true }, () => { value: 'Hello world', }, ], - }) + }), ) .then((invocation) => { expect(invocation.sys.type).equals('AiActionInvocation') diff --git a/test/integration/ai-action-invocation-integration.test.ts b/test/integration/ai-action-invocation-integration.test.ts index 300db8a306..d2bab2fbd4 100644 --- a/test/integration/ai-action-invocation-integration.test.ts +++ b/test/integration/ai-action-invocation-integration.test.ts @@ -10,7 +10,7 @@ export async function pollForCompletedAiActionInvocationResult( environment, aiActionId: string, invocationId: string, - pollingTimeoutSeconds = 15 + pollingTimeoutSeconds = 15, ) { const pollIntervalMs = 1000 // 1 second between polls const pollingTimeoutMs = pollingTimeoutSeconds * 1000 @@ -100,7 +100,7 @@ describe('AiActionInvocation api', { sequential: true }, () => { environment, aiAction.sys.id, invocation.sys.id, - 15 + 15, ) expect(fetchedInvocation.sys.type).equals('AiActionInvocation') @@ -122,7 +122,7 @@ describe('AiActionInvocation api', { sequential: true }, () => { } catch (error) { expect(error.name).equals( 'ValidationFailed', - 'API should return validation error for invalid invocation ID' + 'API should return validation error for invalid invocation ID', ) } }) @@ -155,7 +155,7 @@ describe('AiActionInvocation api', { sequential: true }, () => { } catch (error) { expect(error.name).equals( 'Error', - 'API should return error when accessing invocation with wrong AI Action ID' + 'API should return error when accessing invocation with wrong AI Action ID', ) } finally { await otherAiAction.delete() diff --git a/test/integration/app-access-token-integration.test.ts b/test/integration/app-access-token-integration.test.ts index d335034fdb..b8ca9c9238 100644 --- a/test/integration/app-access-token-integration.test.ts +++ b/test/integration/app-access-token-integration.test.ts @@ -77,7 +77,7 @@ describe('AppAccessToken api', { sequential: true }, () => { }, { jwt, - } + }, ) // Token length not deterministic, but should be within a certain range diff --git a/test/integration/app-action-integration.test.ts b/test/integration/app-action-integration.test.ts index 50b70fc829..7f703bffdb 100644 --- a/test/integration/app-action-integration.test.ts +++ b/test/integration/app-action-integration.test.ts @@ -48,7 +48,7 @@ describe('AppAction api', function () { name: 'my test action', url: 'https://www.somewhere.com', parameters: [], - } + }, ) expect(appAction.sys.type).equals('AppAction', 'type') @@ -70,7 +70,7 @@ describe('AppAction api', function () { name: 'my test action', url: 'https://www.somewhere.com', parameters: [], - } + }, ) await createAppInstallation(appDefinition.sys.id) @@ -98,7 +98,7 @@ describe('AppAction api', function () { name: 'my test action', url: 'https://www.somewhere.com', parameters: [], - } + }, ) const updated = await client.appAction.update( @@ -112,7 +112,7 @@ describe('AppAction api', function () { name: 'my updated action', url: 'https://www.elsewhere.com', parameters: [], - } + }, ) expect(updated.sys.type).equals('AppAction', 'type') @@ -134,7 +134,7 @@ describe('AppAction api', function () { name: 'my test action', url: 'https://www.somewhere.com', parameters: [], - } + }, ) const gotAppAction = await client.appAction.get({ @@ -162,7 +162,7 @@ describe('AppAction api', function () { name: 'my test action', url: 'https://www.somewhere.com', parameters: [], - } + }, ) const gotAppActions = await client.appAction.getMany({ diff --git a/test/integration/app-bundle-integration.test.ts b/test/integration/app-bundle-integration.test.ts index 0a2a986d1c..3a88595e8e 100644 --- a/test/integration/app-bundle-integration.test.ts +++ b/test/integration/app-bundle-integration.test.ts @@ -84,7 +84,7 @@ describe('AppBundle api', { sequential: true }, () => { await appBundle.delete() await expect(appDefinition.getAppBundle(appBundle.sys.id)).rejects.toThrow( - 'The resource could not be found' + 'The resource could not be found', ) }) }) diff --git a/test/integration/app-definition-integration.test.ts b/test/integration/app-definition-integration.test.ts index 84f783f864..4e67355063 100644 --- a/test/integration/app-definition-integration.test.ts +++ b/test/integration/app-definition-integration.test.ts @@ -72,7 +72,7 @@ describe('AppDefinition api', { sequential: true }, () => { expect(appDefinition.name).toBe('Test App') if (!appDefinition.parameters || !appDefinition.parameters.installation) { throw new Error( - `appDefinition.parameters or appDefinition.parameters.installation is not defined` + `appDefinition.parameters or appDefinition.parameters.installation is not defined`, ) } expect(appDefinition.parameters.installation[0].id).toBe('secret') @@ -115,7 +115,7 @@ describe('AppDefinition api', { sequential: true }, () => { await appDefinition.delete() await expect(organization.getAppDefinition(appDefinition.sys.id)).rejects.toThrow( - 'The resource could not be found' + 'The resource could not be found', ) }) diff --git a/test/integration/app-details-integration.test.ts b/test/integration/app-details-integration.test.ts index 79fad92e56..2e8ee3a066 100644 --- a/test/integration/app-details-integration.test.ts +++ b/test/integration/app-details-integration.test.ts @@ -38,7 +38,7 @@ describe('AppDetails api', { sequential: true }, () => { test('createAppDetails', async () => { const details = await client.appDetails.upsert( { organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id }, - { icon: imageOne } + { icon: imageOne }, ) expect(details.icon).toEqual(imageOne) @@ -52,7 +52,7 @@ describe('AppDetails api', { sequential: true }, () => { test('getAppDetails', async () => { await client.appDetails.upsert( { organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id }, - { icon: imageOne } + { icon: imageOne }, ) const details = await client.appDetails.get({ organizationId: organization.sys.id, @@ -69,14 +69,14 @@ describe('AppDetails api', { sequential: true }, () => { test('updateAppDetails', async () => { const details = await client.appDetails.upsert( { organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id }, - { icon: imageOne } + { icon: imageOne }, ) expect(details.icon).toEqual(imageOne) const updatedDetails = await client.appDetails.upsert( { organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id }, - { icon: imageTwo } + { icon: imageTwo }, ) expect(updatedDetails.icon).toEqual(imageTwo) @@ -90,7 +90,7 @@ describe('AppDetails api', { sequential: true }, () => { test('deleteAppDetails', async () => { await client.appDetails.upsert( { organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id }, - { icon: imageOne } + { icon: imageOne }, ) await client.appDetails.delete({ @@ -102,7 +102,7 @@ describe('AppDetails api', { sequential: true }, () => { client.appDetails.get({ organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id, - }) + }), ).rejects.toThrow('The resource could not be found') }) }) diff --git a/test/integration/app-event-subscription-integration.test.ts b/test/integration/app-event-subscription-integration.test.ts index 7f0d42c145..60a9dbcf4a 100644 --- a/test/integration/app-event-subscription-integration.test.ts +++ b/test/integration/app-event-subscription-integration.test.ts @@ -72,7 +72,7 @@ describe('AppEventSubscription api', { sequential: true }, () => { await client.appEventSubscription.delete(entityId) await expect(client.appEventSubscription.get(entityId)).rejects.toThrow( - 'The resource could not be found' + 'The resource could not be found', ) }) }) diff --git a/test/integration/app-signing-secret-integration.test.ts b/test/integration/app-signing-secret-integration.test.ts index b261574272..d33bf5fdfd 100644 --- a/test/integration/app-signing-secret-integration.test.ts +++ b/test/integration/app-signing-secret-integration.test.ts @@ -27,7 +27,7 @@ describe('AppSigningSecret api', { sequential: true }, () => { test('createAppSigningSecret', async () => { const signingSecret = await client.appSigningSecret.upsert( { organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id }, - { value: 'q_Oly53ipVRUxyoBmkG0MITMR9oca9wPsXOpsQ-bWdndmWwc_xT3AIJrJ_yWwI74' } + { value: 'q_Oly53ipVRUxyoBmkG0MITMR9oca9wPsXOpsQ-bWdndmWwc_xT3AIJrJ_yWwI74' }, ) expect(signingSecret.redactedValue).toBe('wI74') @@ -41,7 +41,7 @@ describe('AppSigningSecret api', { sequential: true }, () => { test('getAppSigningSecret', async () => { await client.appSigningSecret.upsert( { organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id }, - { value: 'q_Oly53ipVRUxyoBmkG0MITMR9oca9wPsXOpsQ-bWdndmWwc_xT3AIJrJ_yWwI75' } + { value: 'q_Oly53ipVRUxyoBmkG0MITMR9oca9wPsXOpsQ-bWdndmWwc_xT3AIJrJ_yWwI75' }, ) const signingSecret = await client.appSigningSecret.get({ organizationId: organization.sys.id, @@ -58,14 +58,14 @@ describe('AppSigningSecret api', { sequential: true }, () => { test('updateAppSigningSecret', async () => { const signingSecret = await client.appSigningSecret.upsert( { organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id }, - { value: 'q_Oly53ipVRUxyoBmkG0MITMR9oca9wPsXOpsQ-bWdndmWwc_xT3AIJrJ_yWwI74' } + { value: 'q_Oly53ipVRUxyoBmkG0MITMR9oca9wPsXOpsQ-bWdndmWwc_xT3AIJrJ_yWwI74' }, ) expect(signingSecret.redactedValue).toBe('wI74') const updatedSigningSecret = await client.appSigningSecret.upsert( { organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id }, - { value: 'q_Oly53ipVRUxyoBmkG0MITMR9oca9wPsXOpsQ-bWdndmWwc_xT3AIJrJ_yWwI76' } + { value: 'q_Oly53ipVRUxyoBmkG0MITMR9oca9wPsXOpsQ-bWdndmWwc_xT3AIJrJ_yWwI76' }, ) expect(updatedSigningSecret.redactedValue).toBe('wI76') @@ -79,7 +79,7 @@ describe('AppSigningSecret api', { sequential: true }, () => { test('deleteAppSigningSecret', async () => { await client.appSigningSecret.upsert( { organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id }, - { value: 'q_Oly53ipVRUxyoBmkG0MITMR9oca9wPsXOpsQ-bWdndmWwc_xT3AIJrJ_yWwI74' } + { value: 'q_Oly53ipVRUxyoBmkG0MITMR9oca9wPsXOpsQ-bWdndmWwc_xT3AIJrJ_yWwI74' }, ) await client.appSigningSecret.delete({ @@ -91,7 +91,7 @@ describe('AppSigningSecret api', { sequential: true }, () => { client.appSigningSecret.get({ organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id, - }) + }), ).rejects.toThrow('The resource could not be found') }) }) diff --git a/test/integration/app-upload-integration.test.ts b/test/integration/app-upload-integration.test.ts index 29993b18a4..940b19807d 100644 --- a/test/integration/app-upload-integration.test.ts +++ b/test/integration/app-upload-integration.test.ts @@ -14,7 +14,7 @@ describe('AppUpload api', { sequential: true }, () => { test('createAppUpload', async () => { const appUpload = await organization.createAppUpload( - readFileSync(`${__dirname}/fixtures/build.zip`) + readFileSync(`${__dirname}/fixtures/build.zip`), ) expect(appUpload.sys.type).toBe('AppUpload') @@ -24,7 +24,7 @@ describe('AppUpload api', { sequential: true }, () => { test('getAppUpload', async () => { const appUpload = await organization.createAppUpload( - readFileSync(`${__dirname}/fixtures/build.zip`) + readFileSync(`${__dirname}/fixtures/build.zip`), ) const fetchedAppUpload = await organization.getAppUpload(appUpload.sys.id) @@ -36,13 +36,13 @@ describe('AppUpload api', { sequential: true }, () => { test('delete', async () => { const appUpload = await organization.createAppUpload( - readFileSync(`${__dirname}/fixtures/build.zip`) + readFileSync(`${__dirname}/fixtures/build.zip`), ) await appUpload.delete() await expect(organization.getAppUpload(appUpload.sys.id)).rejects.toThrow( - 'The resource could not be found' + 'The resource could not be found', ) }) }) diff --git a/test/integration/asset-integration.test.ts b/test/integration/asset-integration.test.ts index cb2551fcfb..46d713273b 100644 --- a/test/integration/asset-integration.test.ts +++ b/test/integration/asset-integration.test.ts @@ -198,8 +198,8 @@ describe('Asset API - Write', { concurrent: true }, () => { }, { uploadTimeout: 1, - } - ) + }, + ), ).rejects.toThrow(Error) }) @@ -230,7 +230,7 @@ describe('Asset API - Write', { concurrent: true }, () => { prefLabel: { 'en-US': 'Concept to be assigned', }, - } + }, ) conceptsToCleanUp.push(newConcept) @@ -275,7 +275,7 @@ describe('Asset API - Write', { concurrent: true }, () => { prefLabel: { 'en-US': 'Concept to be assigned', }, - } + }, ) conceptsToCleanUp.push(newConcept) @@ -324,7 +324,7 @@ describe('Asset API - Write', { concurrent: true }, () => { prefLabel: { 'en-US': 'Concept to be assigned', }, - } + }, ) conceptsToCleanUp.push(newConcept) const assetToDeleteConceptFrom = await environment.createAsset({ diff --git a/test/integration/asset-key-integration.test.ts b/test/integration/asset-key-integration.test.ts index 5fb45d29a4..a557119fe2 100644 --- a/test/integration/asset-key-integration.test.ts +++ b/test/integration/asset-key-integration.test.ts @@ -48,7 +48,7 @@ describe('AssetKey API (createAssetKey)', () => { it('when expiry is too far in the future (> 48 hours)', async () => { await expect(requestWith({ expiresAt: now() + 72 * 60 * 60 })).rejects.toThrow( - ValidationError + ValidationError, ) }) diff --git a/test/integration/bulk-action-integration.test.ts b/test/integration/bulk-action-integration.test.ts index bbe4604e45..7366ca99d2 100644 --- a/test/integration/bulk-action-integration.test.ts +++ b/test/integration/bulk-action-integration.test.ts @@ -35,7 +35,7 @@ describe('BulkActions Api', () => { }) const bulkActionInProgress = await testEnvironment.getBulkAction( - createdBulkAction.sys.id + createdBulkAction.sys.id, ) expect(bulkActionInProgress.sys.id).toBe(createdBulkAction.sys.id) }) @@ -222,7 +222,7 @@ describe('BulkActions Api', () => { }) } catch (error: any) { expect(error.message).toBe( - "BulkAction didn't finish processing within the expected timeframe." + "BulkAction didn't finish processing within the expected timeframe.", ) expect(error.action.sys.id).toBe(createdBulkAction.sys.id) } diff --git a/test/integration/comment-integration.test.ts b/test/integration/comment-integration.test.ts index f08e2937dc..adc4b42150 100644 --- a/test/integration/comment-integration.test.ts +++ b/test/integration/comment-integration.test.ts @@ -28,7 +28,7 @@ describe('Comment Api', () => { space = (await createTestSpace(defaultClient, 'Comment')) as Space environment = (await createTestEnvironment( space, - 'Comment Testing Environment' + 'Comment Testing Environment', )) as unknown as Environment contentType = await environment.createContentType({ name: 'Content Type', @@ -119,13 +119,13 @@ describe('Comment Api', () => { const replyComment = await plainClient.comment.create( { ...params, parentCommentId: parentComment.sys.id }, - { body: commentBodyReply } + { body: commentBodyReply }, ) const response = await plainClient.comment.getMany(params) expect(response.items).toBeInstanceOf(Array) expect(response.items.find((item) => item.sys.id === replyComment.sys.id)?.body).toBe( - commentBodyReply + commentBodyReply, ) await plainClient.comment.delete({ @@ -157,7 +157,7 @@ describe('Comment Api', () => { expect(response.items).toBeInstanceOf(Array) expect(response.items.map((item) => item.sys.id)).toContain(id) expect( - response.items.map((item) => (item.sys.parentEntity.sys as { ref: string }).ref) + response.items.map((item) => (item.sys.parentEntity.sys as { ref: string }).ref), ).toContain('fields.firstField') await plainClient.comment.delete({ diff --git a/test/integration/content-type-integration.test.ts b/test/integration/content-type-integration.test.ts index 58b1f88524..58a5bbcbd2 100644 --- a/test/integration/content-type-integration.test.ts +++ b/test/integration/content-type-integration.test.ts @@ -104,7 +104,7 @@ describe('ContentType Api', () => { const deletedFieldContentType = await updatedContentType.omitAndDeleteField('field2delete') expect( - deletedFieldContentType.fields.filter((field) => field.id === 'field2delete') + deletedFieldContentType.fields.filter((field) => field.id === 'field2delete'), ).toHaveLength(0) expect(deletedFieldContentType.getEditorInterface).toBeTruthy() diff --git a/test/integration/entry-integration.test.ts b/test/integration/entry-integration.test.ts index d202c1e254..28c498d75b 100644 --- a/test/integration/entry-integration.test.ts +++ b/test/integration/entry-integration.test.ts @@ -145,10 +145,10 @@ describe('Entry Api', () => { .then((response) => { expect(response.total > 0).ok expect( - response.items[0].fields.likes['en-US'].filter((i) => i === 'lasagna').length + response.items[0].fields.likes['en-US'].filter((i) => i === 'lasagna').length, ).equal(0) expect( - response.items[0].fields.likes['en-US'].filter((i) => i === 'rainbows').length + response.items[0].fields.likes['en-US'].filter((i) => i === 'rainbows').length, ).equal(0) }) }) @@ -184,7 +184,7 @@ describe('Entry Api', () => { .then((response) => { expect(response.items[0].sys.id).equal( 'nyancat', - 'returned entry has link to specified linked entry' + 'returned entry has link to specified linked entry', ) }) }) @@ -303,11 +303,11 @@ describe('Entry Api', () => { 'test-content-type33324244', 'testEntryReferences', ], - 'orders' + 'orders', ) expect( response.items[0].sys.id < response.items[1].sys.id, - 'id of entry with index 1 is higher than the one of index 0 since they share content type' + 'id of entry with index 1 is higher than the one of index 0 since they share content type', ).ok }) }) @@ -348,7 +348,7 @@ describe('Entry Api', () => { localized: false, }, ], - } + }, ) await contentType.publish() }) @@ -372,7 +372,7 @@ describe('Entry Api', () => { expect(updatedEntry.isUpdated(), 'entry is updated').ok expect(updatedEntry.fields.title['en-US']).equals( 'title has changed', - 'updated title' + 'updated title', ) const patchOp = { op: 'replace', @@ -382,7 +382,7 @@ describe('Entry Api', () => { return updatedEntry.patch([patchOp]).then((patchedEntry) => { expect(patchedEntry.fields.title['en-US']).equals( 'title was patched', - 'updated title' + 'updated title', ) return patchedEntry.unpublish().then((unpublishedEntry) => { expect(unpublishedEntry.isDraft(), 'entry is back in draft').ok @@ -441,7 +441,7 @@ describe('Entry Api', () => { prefLabel: { 'en-US': 'Parent concept for validation', }, - } + }, ) const childConcept = await client.concept.create( {}, @@ -458,7 +458,7 @@ describe('Entry Api', () => { }, }, ], - } + }, ) conceptsToCleanUp.push(parentConcept, childConcept) @@ -486,7 +486,7 @@ describe('Entry Api', () => { }, ], }, - } + }, ) await contentTypeWithTaxonomyValidation.publish() @@ -508,7 +508,7 @@ describe('Entry Api', () => { ], tags: [], }, - } + }, ) if (!createdEntry.metadata?.concepts) { throw new Error('created entry is missing metadata concepts') @@ -525,7 +525,7 @@ describe('Entry Api', () => { prefLabel: { 'en-US': 'Parent concept for validation', }, - } + }, ) const childConcept = await client.concept.create( {}, @@ -542,7 +542,7 @@ describe('Entry Api', () => { }, }, ], - } + }, ) conceptsToCleanUp.push(parentConcept, childConcept) @@ -570,7 +570,7 @@ describe('Entry Api', () => { }, ], }, - } + }, ) await contentTypeWithTaxonomyValidation.publish() @@ -581,7 +581,7 @@ describe('Entry Api', () => { title: { 'en-US': 'this is the title of an entry with a taxonomy assigned' }, }, // metadata intentionally omitted - } + }, ) if (!entryToUpdate.metadata?.concepts) { throw new Error('entry to update is missing metadata concepts') @@ -616,7 +616,7 @@ describe('Entry Api', () => { prefLabel: { 'en-US': 'Parent concept for validation', }, - } + }, ) const childConcept = await client.concept.create( {}, @@ -633,7 +633,7 @@ describe('Entry Api', () => { }, }, ], - } + }, ) conceptsToCleanUp.push(parentConcept, childConcept) @@ -661,7 +661,7 @@ describe('Entry Api', () => { }, ], }, - } + }, ) await contentTypeWithTaxonomyValidation.publish() @@ -683,7 +683,7 @@ describe('Entry Api', () => { ], tags: [], }, - } + }, ) if (!entryToDeleteConceptFrom.metadata?.concepts) { throw new Error('entry to delete concept from is missing metadata concepts') @@ -778,11 +778,11 @@ describe('Entry Api', () => { xSpaceEnabledSpace = await getDefaultSpace() xSpaceEnabledEnvironment = await createTestEnvironment( xSpaceEnabledSpace, - 'Test Cross Space' + 'Test Cross Space', ) await waitForEnvironmentToBeReady(xSpaceEnabledSpace, xSpaceEnabledEnvironment) xSpaceEnabledContentType = await xSpaceEnabledEnvironment.getContentType( - TestDefaults.contentType.withCrossSpaceReferenceId + TestDefaults.contentType.withCrossSpaceReferenceId, ) }) @@ -824,7 +824,7 @@ describe('Entry Api', () => { beforeEach(async () => { xSpaceDisabledContentType = await xSpaceDisabledEnvironment.createContentTypeWithId( generateRandomId('test-content-type'), - contentTypeData + contentTypeData, ) await xSpaceDisabledContentType.publish() }) @@ -853,7 +853,7 @@ describe('Entry Api', () => { expect(errorMessage.status).equals(403, '403 forbidden status') expect(errorMessage.details.reasons).equals( 'Cross space links feature is not enabled for this space', - 'reason explained' + 'reason explained', ) }) }) diff --git a/test/integration/entry-references-integration.test.ts b/test/integration/entry-references-integration.test.ts index db1c282698..f9347da4eb 100644 --- a/test/integration/entry-references-integration.test.ts +++ b/test/integration/entry-references-integration.test.ts @@ -26,7 +26,7 @@ describe('Entry References', () => { TestDefaults.entry.testEntryReferenceId, { include: 2, - } + }, ) }) @@ -38,7 +38,7 @@ describe('Entry References', () => { it('Should return the correct cities', () => { const cities = entryWithReferences.includes.Entry.map( - (entry: any) => entry.fields.name['en-US'] + (entry: any) => entry.fields.name['en-US'], ) expect(cities).toEqual(expect.arrayContaining(['Berlin', 'London', 'San Francisco', 'Paris'])) }) @@ -81,7 +81,7 @@ describe('Entry References', () => { it('Should return the correct cities', () => { const cities = entryWithReferences.includes.Entry.map( - (entry: any) => entry.fields.name['en-US'] + (entry: any) => entry.fields.name['en-US'], ) expect(cities).toEqual(expect.arrayContaining(['Berlin', 'London', 'San Francisco', 'Paris'])) }) diff --git a/test/integration/environment-integration.test.ts b/test/integration/environment-integration.test.ts index ff41b79721..a5fc44a4d5 100644 --- a/test/integration/environment-integration.test.ts +++ b/test/integration/environment-integration.test.ts @@ -95,7 +95,7 @@ describe('Environment Api', () => { }) appUpload = await organization.createAppUpload( - readFileSync(`${__dirname}/fixtures/build.zip`) + readFileSync(`${__dirname}/fixtures/build.zip`), ) appBundle = await appDefinition.createAppBundle({ appUploadId: appUpload.sys.id, @@ -130,7 +130,7 @@ describe('Environment Api', () => { tmdbAccessToken: 'test', }, }, - { acceptAllTerms: true } + { acceptAllTerms: true }, ) }) diff --git a/test/integration/environment-template-integration.test.ts b/test/integration/environment-template-integration.test.ts index 300830847f..0fdfd33969 100644 --- a/test/integration/environment-template-integration.test.ts +++ b/test/integration/environment-template-integration.test.ts @@ -76,7 +76,7 @@ describe.skip('Environment template API', () => { const { items: templates } = await client.getEnvironmentTemplates(orgId) expect( - templates.filter(({ description }) => description === templateDescription) + templates.filter(({ description }) => description === templateDescription), ).toHaveLength(1) const [{ sys, ...template }] = templates @@ -92,7 +92,7 @@ describe.skip('Environment template API', () => { }) expect( - templates.filter(({ description }) => description === templateDescription) + templates.filter(({ description }) => description === templateDescription), ).toHaveLength(1) const [firstTemplate] = templates @@ -196,7 +196,7 @@ describe.skip('Environment template API', () => { it('gets installations on an environment for a given environment template', async () => { const installation = await installTemplate() const { items: installations } = await environment.getEnvironmentTemplateInstallations( - installation.sys.template.sys.id + installation.sys.template.sys.id, ) expect(installations).toHaveLength(1) @@ -223,7 +223,7 @@ describe.skip('Environment template API', () => { }) await expect( - template.disconnect({ spaceId: space.sys.id, environmentId: environment.sys.id }) + template.disconnect({ spaceId: space.sys.id, environmentId: environment.sys.id }), ).resolves.not.toThrow() }) }) @@ -247,15 +247,14 @@ async function waitForPendingInstallation( client: ClientAPI, environment: Environment, environmentTemplateId: string, - { retries = 3, timeout = 200 } = {} + { retries = 3, timeout = 200 } = {}, ): Promise { while (retries > 1) { - const { items: installations } = await environment.getEnvironmentTemplateInstallations( - environmentTemplateId - ) + const { items: installations } = + await environment.getEnvironmentTemplateInstallations(environmentTemplateId) const allInstallationsSuccessful = installations.every( - (installation) => installation.sys.status === 'succeeded' + (installation) => installation.sys.status === 'succeeded', ) if (allInstallationsSuccessful) { @@ -326,7 +325,7 @@ async function enableSpace(client: ClientAPI, space: Space): Promise { async function clearEnvironmentTemplates( client: ClientAPI, orgId: string, - templateDescription: string + templateDescription: string, ): Promise { const { items: templates } = await client.getEnvironmentTemplates(orgId) diff --git a/test/integration/organization-invitation.test.ts b/test/integration/organization-invitation.test.ts index 853b4292d2..97d106d9ba 100644 --- a/test/integration/organization-invitation.test.ts +++ b/test/integration/organization-invitation.test.ts @@ -28,7 +28,7 @@ describe('OrganizationMembership Invitation API', () => { expect(invitation.sys.organizationMembership.sys.linkType).toBe('OrganizationMembership') const membership = await organization.getOrganizationMembership( - invitation.sys.organizationMembership.sys.id + invitation.sys.organizationMembership.sys.id, ) // Delete membership, which also deletes the invitation for this user diff --git a/test/integration/plain-client.test.ts b/test/integration/plain-client.test.ts index 1fff053379..e6a12aefa4 100644 --- a/test/integration/plain-client.test.ts +++ b/test/integration/plain-client.test.ts @@ -24,7 +24,7 @@ describe('ContentType Api', () => { writeSpace = await createTestSpace(defaultClient, 'ContentType') writeEnvironment = (await createTestEnvironment( writeSpace, - 'Testing Environment' + 'Testing Environment', )) as unknown as Environment }) @@ -117,7 +117,7 @@ describe('ContentType Api', () => { const deletedFieldContentType = await updatedContentType.omitAndDeleteField('field2delete') expect( - deletedFieldContentType.fields.filter((field) => field.id === 'field2delete') + deletedFieldContentType.fields.filter((field) => field.id === 'field2delete'), ).toHaveLength(0) expect(deletedFieldContentType.getEditorInterface).toBeTruthy() diff --git a/test/integration/release-action-integration.test.ts b/test/integration/release-action-integration.test.ts index ff221bba65..47f37defcd 100644 --- a/test/integration/release-action-integration.test.ts +++ b/test/integration/release-action-integration.test.ts @@ -45,7 +45,7 @@ describe('ReleaseAction Api', () => { fields: { title: { 'en-US': 'Non-localized value' }, }, - } + }, ) const releasePayload: ReleasePayload = { diff --git a/test/integration/release-integration.test.ts b/test/integration/release-integration.test.ts index e131b9dee8..2d88a7c537 100644 --- a/test/integration/release-integration.test.ts +++ b/test/integration/release-integration.test.ts @@ -38,7 +38,7 @@ describe('Release Api', () => { fields: { title: { 'en-US': 'Non-localized value' }, }, - } + }, ) } catch (err) { console.error('Error running setup: ', err) diff --git a/test/integration/resource-integration.test.ts b/test/integration/resource-integration.test.ts index 7bf6e203ca..7dfa540001 100644 --- a/test/integration/resource-integration.test.ts +++ b/test/integration/resource-integration.test.ts @@ -91,7 +91,7 @@ describe('Resource API', () => { tmdbAccessToken: 'test', }, }, - { acceptAllTerms: true } + { acceptAllTerms: true }, ) }) diff --git a/test/integration/resource-provider-integration.test.ts b/test/integration/resource-provider-integration.test.ts index bfe55731cc..a82953bc0e 100644 --- a/test/integration/resource-provider-integration.test.ts +++ b/test/integration/resource-provider-integration.test.ts @@ -122,7 +122,7 @@ describe('ResourceProvider API', () => { await resourceProvider.delete() await expect(appDefinition.getResourceProvider()).rejects.toThrow( - 'The resource could not be found' + 'The resource could not be found', ) }) @@ -176,7 +176,7 @@ describe('ResourceProvider API', () => { sys: { id: 'test' }, type: 'function', function: { sys: { id: functionManifest.id, type: 'Link', linkType: 'Function' } }, - } + }, ) expect(resourceProvider.sys.id).toBe('test') @@ -191,7 +191,7 @@ describe('ResourceProvider API', () => { sys: { id: 'test' }, type: 'function', function: { sys: { id: functionManifest.id, type: 'Link', linkType: 'Function' } }, - } + }, ) const updateFunctionManifest = { ...functionManifest, id: 'testMock' } @@ -201,7 +201,7 @@ describe('ResourceProvider API', () => { appUploadId: appUpload.sys.id, comment: 'Testing ResourceProviderCreation', functions: [updateFunctionManifest], - } + }, ) await plainClient.appDefinition.update( @@ -212,7 +212,7 @@ describe('ResourceProvider API', () => { locations: [{ location: 'entry-sidebar' }], src: undefined, bundle: { sys: { id: newAppBundle.sys.id, type: 'Link', linkType: 'AppBundle' } }, - } + }, ) const updatedResourceProvider = await plainClient.resourceProvider.upsert( { organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id }, @@ -220,7 +220,7 @@ describe('ResourceProvider API', () => { sys: { id: 'test' }, type: 'function', function: { sys: { id: updateFunctionManifest.id, type: 'Link', linkType: 'Function' } }, - } + }, ) expect(updatedResourceProvider.sys.id).toBe('test') @@ -235,7 +235,7 @@ describe('ResourceProvider API', () => { sys: { id: 'test' }, type: 'function', function: { sys: { id: functionManifest.id, type: 'Link', linkType: 'Function' } }, - } + }, ) const resourceProvider = await plainClient.resourceProvider.get({ @@ -255,7 +255,7 @@ describe('ResourceProvider API', () => { sys: { id: 'test' }, type: 'function', function: { sys: { id: functionManifest.id, type: 'Link', linkType: 'Function' } }, - } + }, ) await plainClient.resourceProvider.delete({ @@ -267,7 +267,7 @@ describe('ResourceProvider API', () => { plainClient.resourceProvider.get({ organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id, - }) + }), ).rejects.toThrow('The resource could not be found') }) }) diff --git a/test/integration/resource-type-integration.test.ts b/test/integration/resource-type-integration.test.ts index 83735cd6e8..f2f6a967d8 100644 --- a/test/integration/resource-type-integration.test.ts +++ b/test/integration/resource-type-integration.test.ts @@ -178,13 +178,13 @@ describe('ResourceType API', () => { defaultFieldMapping: { title: 'title', }, - } + }, ) await resourceType.delete() await expect( - resourceProvider.getResourceType('resourceProvider:resourceTypeId') + resourceProvider.getResourceType('resourceProvider:resourceTypeId'), ).rejects.toThrow('The resource could not be found') }) @@ -201,7 +201,7 @@ describe('ResourceType API', () => { defaultFieldMapping: { title: 'title', }, - } + }, ) expect(resourceTypePlain?.sys.id).toBe('resourceProvider:resourceTypeId') @@ -221,8 +221,8 @@ describe('ResourceType API', () => { defaultFieldMapping: { title: 'title', }, - } - ) + }, + ), ).rejects.toThrow('The resource could not be found') }) @@ -238,7 +238,7 @@ describe('ResourceType API', () => { defaultFieldMapping: { title: 'title', }, - } + }, ) const updatedResourceType = await plainClient.resourceType.upsert( @@ -252,7 +252,7 @@ describe('ResourceType API', () => { defaultFieldMapping: { title: 'title', }, - } + }, ) expect(updatedResourceType.sys.id).toBe('resourceProvider:resourceTypeId') @@ -271,7 +271,7 @@ describe('ResourceType API', () => { defaultFieldMapping: { title: 'title', }, - } + }, ) resourceTypePlain = await plainClient.resourceType.get({ @@ -296,7 +296,7 @@ describe('ResourceType API', () => { defaultFieldMapping: { title: 'title', }, - } + }, ) const response = await plainClient.resourceType.getMany({ @@ -322,14 +322,14 @@ describe('ResourceType API', () => { defaultFieldMapping: { title: 'title', }, - } + }, ) const { spaceId, environmentId } = TestDefaults appInstallationPlain = await plainClient.appInstallation.upsert( { spaceId, environmentId, appDefinitionId: appDefinition.sys.id }, { parameters: { tmdbAccessToken: 'testing' } }, - { acceptAllTerms: true } + { acceptAllTerms: true }, ) const resourceTypesPlain = await plainClient.resourceType.getForEnvironment({ @@ -364,7 +364,7 @@ describe('ResourceType API', () => { defaultFieldMapping: { title: 'title', }, - } + }, ) await plainClient.resourceType.delete({ @@ -378,7 +378,7 @@ describe('ResourceType API', () => { organizationId: organization.sys.id, appDefinitionId: appDefinition.sys.id, resourceTypeId: 'resourceProvider:resourceTypeId', - }) + }), ).rejects.toThrow('The resource could not be found') }) }) diff --git a/test/integration/scheduled-action-integration.test.ts b/test/integration/scheduled-action-integration.test.ts index 6a4e203844..2a23c42e2c 100644 --- a/test/integration/scheduled-action-integration.test.ts +++ b/test/integration/scheduled-action-integration.test.ts @@ -368,7 +368,7 @@ describe('Scheduled Actions API', () => { scheduledFor: { datetime, }, - } + }, ) const scheduledAction = await plainClient.scheduledActions.get({ @@ -387,7 +387,7 @@ describe('Scheduled Actions API', () => { ...payload.scheduledFor, timezone: 'Europe/Berlin', }, - } + }, ) expect(updatedAction.scheduledFor.timezone).toBe('Europe/Berlin') @@ -437,7 +437,7 @@ describe('Scheduled Actions API', () => { datetime, }, payload: aggregateRootPayload, - } + }, ) const scheduledAction = await plainClient.scheduledActions.get({ diff --git a/test/integration/taxonomy-integration.test.ts b/test/integration/taxonomy-integration.test.ts index a00458e4b1..80dc5f653a 100644 --- a/test/integration/taxonomy-integration.test.ts +++ b/test/integration/taxonomy-integration.test.ts @@ -60,7 +60,7 @@ describe('Taxonomy Integration', () => { await expect( client.concept.get({ conceptId: result.sys.id, - }) + }), ).rejects.toThrow('The resource could not be found') }) @@ -149,7 +149,7 @@ describe('Taxonomy Integration', () => { op: 'replace', value: 'https://example.com/concept', }, - ] + ], ) isConceptProps(updatedConcept) @@ -176,7 +176,7 @@ describe('Taxonomy Integration', () => { { ...concept, uri: 'https://example.com/concept', - } + }, ) isConceptProps(updatedConcept) @@ -196,7 +196,7 @@ describe('Taxonomy Integration', () => { const result = await client.concept.create({}, concept) conceptsToDelete.push(result) - }) + }), ) const { total } = await client.concept.getTotal({}) @@ -217,7 +217,7 @@ describe('Taxonomy Integration', () => { const result = await client.concept.create({}, concept) conceptsToDelete.push(result) - }) + }), ) const { items } = await client.concept.getMany({}) @@ -231,7 +231,7 @@ describe('Taxonomy Integration', () => { prefLabel: { 'en-US': 'Test Concept', }, - } + }, ) const second = await client.concept.create( @@ -249,7 +249,7 @@ describe('Taxonomy Integration', () => { }, }, ], - } + }, ) conceptsToDelete.push(second, first) @@ -268,7 +268,7 @@ describe('Taxonomy Integration', () => { prefLabel: { 'en-US': 'Test Concept 1', }, - } + }, ) const second = await client.concept.create( @@ -286,7 +286,7 @@ describe('Taxonomy Integration', () => { }, }, ], - } + }, ) conceptsToDelete.push(second, first) @@ -322,7 +322,7 @@ describe('Taxonomy Integration', () => { await expect( client.conceptScheme.get({ conceptSchemeId: result.sys.id, - }) + }), ).rejects.toThrow('The resource could not be found') }) @@ -349,7 +349,7 @@ describe('Taxonomy Integration', () => { } const result = await client.conceptScheme.createWithId( { conceptSchemeId: 'test-concept-scheme-id' }, - conceptScheme + conceptScheme, ) conceptSchemesToDelete.push(result) @@ -399,7 +399,7 @@ describe('Taxonomy Integration', () => { op: 'replace', value: 'https://example.com/updatedConceptScheme', }, - ] + ], ) isConceptSchemeProps(updatedConceptScheme) @@ -426,7 +426,7 @@ describe('Taxonomy Integration', () => { { ...conceptScheme, uri: 'https://example.com/updatedConceptScheme', - } + }, ) isConceptSchemeProps(updatedConceptScheme) @@ -446,7 +446,7 @@ describe('Taxonomy Integration', () => { const result = await client.conceptScheme.create({}, conceptScheme) conceptSchemesToDelete.push(result) - }) + }), ) const { total } = await client.conceptScheme.getTotal({}) @@ -467,7 +467,7 @@ describe('Taxonomy Integration', () => { const result = await client.conceptScheme.create({}, conceptScheme) conceptSchemesToDelete.push(result) - }) + }), ) const { items } = await client.conceptScheme.getMany({}) @@ -495,13 +495,13 @@ function isConceptProps(concept: any) { 'scopeNote', 'sys', 'uri', - ].sort() + ].sort(), ) } function isConceptSchemeProps(conceptScheme: any) { expect(conceptScheme.sys?.type).toBe('TaxonomyConceptScheme') expect(Object.keys(conceptScheme).sort()).toEqual( - ['definition', 'prefLabel', 'topConcepts', 'concepts', 'totalConcepts', 'sys', 'uri'].sort() + ['definition', 'prefLabel', 'topConcepts', 'concepts', 'totalConcepts', 'sys', 'uri'].sort(), ) } diff --git a/test/integration/ui-extension-integration.test.ts b/test/integration/ui-extension-integration.test.ts index 88b77a2dd1..2762ddda26 100644 --- a/test/integration/ui-extension-integration.test.ts +++ b/test/integration/ui-extension-integration.test.ts @@ -72,7 +72,7 @@ describe('Extension API', () => { expect(extension.sys.type).toBe('Extension') expect(extension.extension.name).toBe('My awesome extension hosted at Contentful') expect(extension.extension.srcdoc).toBe( - 'MyAwesomeUiExtension

Awesome

' + 'MyAwesomeUiExtension

Awesome

', ) // Delete the UI Extension diff --git a/test/integration/workflow-integration.test.ts b/test/integration/workflow-integration.test.ts index d12296cb53..1475bda740 100644 --- a/test/integration/workflow-integration.test.ts +++ b/test/integration/workflow-integration.test.ts @@ -61,7 +61,7 @@ describe('Workflow Api', () => { validations: [{ linkContentType: [contentType.sys.id] }], }, ], - } + }, ) }) @@ -78,7 +78,7 @@ describe('Workflow Api', () => { { entity: makeLink(entry.sys.type as 'Entry', entry.sys.id), workflowDefinition: makeLink('WorkflowDefinition', workflowDefinition.sys.id), - } + }, ) expect(workflow.sys).toBeDefined() const fetchedWorkflow = await plainClient.workflow.get({ @@ -91,7 +91,7 @@ describe('Workflow Api', () => { const updatedWorkflow = await plainClient.workflow.update( { environmentId, spaceId, workflowId: workflow.sys.id }, - { stepId: workflowDefinition.steps[1].id, sys: { version: workflow.sys.version } } + { stepId: workflowDefinition.steps[1].id, sys: { version: workflow.sys.version } }, ) expect(updatedWorkflow.stepId).toBe(workflowDefinition.steps[1].id) @@ -108,7 +108,7 @@ describe('Workflow Api', () => { environmentId, spaceId, workflowId: updatedWorkflow.sys.id, - }) + }), ).rejects.toThrow() }) }) diff --git a/test/output-integration/browser/scripts/inject-env.js b/test/output-integration/browser/scripts/inject-env.js index b91c6a2262..18fab72064 100644 --- a/test/output-integration/browser/scripts/inject-env.js +++ b/test/output-integration/browser/scripts/inject-env.js @@ -8,7 +8,7 @@ const outputPath = resolve( url.fileURLToPath(new URL('.', import.meta.url)), '..', 'public', - 'env.js' + 'env.js', ) // Convert process.env into a JS object with JSON.stringify 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 c8c253317e..0f3334c281 100644 --- a/test/unit/adapters/REST/endpoints/app-action-call.test.ts +++ b/test/unit/adapters/REST/endpoints/app-action-call.test.ts @@ -20,12 +20,12 @@ describe('Rest App Action Call', { concurrent: true }, () => { const { httpMock, adapterMock, entityMock } = setup( Promise.resolve({ data: responseMock }), - 'appActionCallResponse' + 'appActionCallResponse', ) const entity = wrapAppActionCallResponse( ((...args: [MakeRequestOptions]) => adapterMock.makeRequest(...args)) as MakeRequest, - entityMock + entityMock, ) const payload: CreateAppActionCallProps = { @@ -41,13 +41,13 @@ describe('Rest App Action Call', { concurrent: true }, () => { expect(response).to.deep.equal(entityMock) expect(httpMock.post.mock.calls[0][0]).toBe( - `/spaces/space-id/environments/environment-id/app_installations/app-definiton-id/actions/app-action-id/calls` + `/spaces/space-id/environments/environment-id/app_installations/app-definiton-id/actions/app-action-id/calls`, ) expect(httpMock.post.mock.calls[0][1]).toStrictEqual(payload) expect(httpMock.get.mock.calls[0][0]).toBe( - `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id` + `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id`, ) }) @@ -55,7 +55,7 @@ describe('Rest App Action Call', { concurrent: true }, () => { const responseMock = cloneMock('appActionCallResponse') const { httpMock, adapterMock, entityMock } = setup( Promise.resolve({ data: responseMock }), - 'appActionCallResponse' + 'appActionCallResponse', ) httpMock.get.mockRejectedValue(Error('getCallDetails error')) @@ -63,19 +63,19 @@ describe('Rest App Action Call', { concurrent: true }, () => { const entity = wrapAppActionCallResponse( ((...args: [MakeRequestOptions]) => adapterMock.makeRequest(...args)) as MakeRequest, entityMock, - { retryInterval: 100 } + { retryInterval: 100 }, ) await expect(entity.createWithResponse()).rejects.toThrow( - 'The app action response is taking longer than expected to process.' + 'The app action response is taking longer than expected to process.', ) expect( httpMock.get.mock.calls.filter((call) => call.includes( - `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id` - ) - ) + `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id`, + ), + ), ).toHaveLength(15) }) @@ -86,7 +86,7 @@ describe('Rest App Action Call', { concurrent: true }, () => { const { httpMock, adapterMock, entityMock } = setup( Promise.resolve({ data: errorResponseMock }), - 'appActionCallResponse' + 'appActionCallResponse', ) httpMock.get @@ -97,7 +97,7 @@ describe('Rest App Action Call', { concurrent: true }, () => { const entity = wrapAppActionCallResponse( ((...args: [MakeRequestOptions]) => adapterMock.makeRequest(...args)) as MakeRequest, entityMock, - { retryInterval: 100 } + { retryInterval: 100 }, ) const result = await entity.createWithResponse() @@ -107,9 +107,9 @@ describe('Rest App Action Call', { concurrent: true }, () => { expect( httpMock.get.mock.calls.filter((call) => call.includes( - `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id` - ) - ) + `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id`, + ), + ), ).toHaveLength(3) }) @@ -119,25 +119,25 @@ describe('Rest App Action Call', { concurrent: true }, () => { const { httpMock, adapterMock, entityMock } = setup( Promise.resolve({ data: responseMock }), - 'appActionCallResponse' + 'appActionCallResponse', ) const entity = wrapAppActionCallResponse( ((...args: [MakeRequestOptions]) => adapterMock.makeRequest(...args)) as MakeRequest, entityMock, - { retryInterval: 100 } + { retryInterval: 100 }, ) await expect(entity.createWithResponse()).rejects.toThrow( - 'The app action response is taking longer than expected to process.' + 'The app action response is taking longer than expected to process.', ) expect( httpMock.get.mock.calls.filter((call) => call.includes( - `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id` - ) - ) + `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id`, + ), + ), ).toHaveLength(15) }) @@ -147,25 +147,25 @@ describe('Rest App Action Call', { concurrent: true }, () => { const { httpMock, adapterMock, entityMock } = setup( Promise.resolve({ data: responseMock }), - 'appActionCallResponse' + 'appActionCallResponse', ) const entity = wrapAppActionCallResponse( ((...args: [MakeRequestOptions]) => adapterMock.makeRequest(...args)) as MakeRequest, entityMock, - { retryInterval: 100 } + { retryInterval: 100 }, ) await expect(entity.createWithResponse()).rejects.toThrow( - 'The app action response is taking longer than expected to process.' + 'The app action response is taking longer than expected to process.', ) expect( httpMock.get.mock.calls.filter((call) => call.includes( - `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id` - ) - ) + `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id`, + ), + ), ).toHaveLength(15) }) @@ -178,24 +178,24 @@ describe('Rest App Action Call', { concurrent: true }, () => { const { httpMock, adapterMock, entityMock } = setup( Promise.resolve({ data: responseMock }), - 'appActionCallResponse' + 'appActionCallResponse', ) const entity = wrapAppActionCallResponse( ((...args: [MakeRequestOptions]) => adapterMock.makeRequest(...args)) as MakeRequest, - entityMock + entityMock, ) await expect(entity.createWithResponse()).rejects.toThrow( - 'App action not found or lambda fails' + 'App action not found or lambda fails', ) expect( httpMock.get.mock.calls.filter((call) => call.includes( - `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id` - ) - ) + `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id`, + ), + ), ).toHaveLength(1) }) @@ -206,25 +206,25 @@ describe('Rest App Action Call', { concurrent: true }, () => { const { httpMock, adapterMock, entityMock } = setup( Promise.resolve({ data: responseMock }), - 'appActionCallResponse' + 'appActionCallResponse', ) const entity = wrapAppActionCallResponse( ((...args: [MakeRequestOptions]) => adapterMock.makeRequest(...args)) as MakeRequest, entityMock, - { retries: numRetries, retryInterval: 250 } + { retries: numRetries, retryInterval: 250 }, ) await expect(entity.createWithResponse()).rejects.toThrow( - 'The app action response is taking longer than expected to process.' + 'The app action response is taking longer than expected to process.', ) expect( httpMock.get.mock.calls.filter((call) => call.includes( - `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id` - ) - ) + `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id`, + ), + ), ).toHaveLength(numRetries) }) @@ -237,24 +237,24 @@ describe('Rest App Action Call', { concurrent: true }, () => { const { httpMock, adapterMock, entityMock } = setup( Promise.resolve({ data: responseMock }), - 'appActionCallResponse' + 'appActionCallResponse', ) const entity = wrapAppActionCallResponse( ((...args: [MakeRequestOptions]) => adapterMock.makeRequest(...args)) as MakeRequest, - entityMock + entityMock, ) await expect(entity.createWithResponse()).rejects.toThrow( - 'App action not found or lambda fails' + 'App action not found or lambda fails', ) expect( httpMock.get.mock.calls.filter((call) => call.includes( - `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id` - ) - ) + `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id`, + ), + ), ).toHaveLength(1) }) @@ -263,11 +263,11 @@ describe('Rest App Action Call', { concurrent: true }, () => { const { httpMock, adapterMock, entityMock } = setup( Promise.resolve({ data: responseMock }), - 'appActionCallResponse' + 'appActionCallResponse', ) const entity = wrapAppActionCallResponse( ((...args: [MakeRequestOptions]) => adapterMock.makeRequest(...args)) as MakeRequest, - entityMock + entityMock, ) const response = await entity.getCallDetails() @@ -276,7 +276,7 @@ describe('Rest App Action Call', { concurrent: true }, () => { expect(response).to.deep.equal(entityMock) expect(httpMock.get.mock.calls[0][0]).toBe( - `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id` + `/spaces/space-id/environments/environment-id/actions/app-action-id/calls/call-id`, ) }) }) diff --git a/test/unit/adapters/REST/endpoints/asset.test.ts b/test/unit/adapters/REST/endpoints/asset.test.ts index 4e4cfc5617..c96593db37 100644 --- a/test/unit/adapters/REST/endpoints/asset.test.ts +++ b/test/unit/adapters/REST/endpoints/asset.test.ts @@ -52,27 +52,27 @@ describe('Rest Asset', { concurrent: true }, async () => { return entity.processForAllLocales().then(() => { expect(httpMock.put.mock.calls[0][0]).equals( '/spaces/mock-space-id/environments/mock-environment-id/assets/id/files/en-US/process', - 'en-US locale is sent' + 'en-US locale is sent', ) expect(httpMock.put.mock.calls[1][0]).equals( '/spaces/mock-space-id/environments/mock-environment-id/assets/id/files/de-DE/process', - 'de-DE locale is sent' + 'de-DE locale is sent', ) expect(httpMock.put.mock.calls[0][2].headers['X-Contentful-Version']).equals( 2, - 'version header is sent for first locale' + 'version header is sent for first locale', ) expect(httpMock.put.mock.calls[1][2].headers['X-Contentful-Version']).equals( 2, - 'version header is sent for second locale' + 'version header is sent for second locale', ) expect(httpMock.get.mock.calls[0][0]).equals( '/spaces/mock-space-id/environments/mock-environment-id/assets/id', - 'asset was checked after processing for first locale' + 'asset was checked after processing for first locale', ) expect(httpMock.get.mock.calls[1][0]).equals( '/spaces/mock-space-id/environments/mock-environment-id/assets/id', - 'asset was checked after processing for second locale' + 'asset was checked after processing for second locale', ) }) }) @@ -93,15 +93,15 @@ describe('Rest Asset', { concurrent: true }, async () => { return entity.processForLocale('en-US').then(() => { expect(httpMock.put.mock.calls[0][0]).equals( '/spaces/mock-space-id/environments/mock-environment-id/assets/id/files/en-US/process', - 'correct locale is sent' + 'correct locale is sent', ) expect(httpMock.put.mock.calls[0][2].headers['X-Contentful-Version']).equals( 2, - 'version header is sent' + 'version header is sent', ) expect(httpMock.get.mock.calls[0][0]).equals( '/spaces/mock-space-id/environments/mock-environment-id/assets/id', - 'asset was checked after processing' + 'asset was checked after processing', ) }) }) @@ -154,27 +154,27 @@ describe('Rest Asset', { concurrent: true }, async () => { return entity.processForAllLocales().then(() => { expect(httpMock.put.mock.calls[0][0]).equals( '/spaces/mock-space-id/environments/mock-environment-id/assets/id/files/en-US/process', - 'en-US locale is sent' + 'en-US locale is sent', ) expect(httpMock.put.mock.calls[1][0]).equals( '/spaces/mock-space-id/environments/mock-environment-id/assets/id/files/de-DE/process', - 'de-DE locale is sent' + 'de-DE locale is sent', ) expect(httpMock.put.mock.calls[0][2].headers['X-Contentful-Version']).equals( 2, - 'version header is sent for first locale' + 'version header is sent for first locale', ) expect(httpMock.put.mock.calls[1][2].headers['X-Contentful-Version']).equals( 2, - 'version header is sent for second locale' + 'version header is sent for second locale', ) expect(httpMock.get.mock.calls[0][0]).equals( '/spaces/mock-space-id/environments/mock-environment-id/assets/id', - 'asset was checked after processing for first locale' + 'asset was checked after processing for first locale', ) expect(httpMock.get.mock.calls[1][0]).equals( '/spaces/mock-space-id/environments/mock-environment-id/assets/id', - 'asset was checked after processing for second locale' + 'asset was checked after processing for second locale', ) }) }) @@ -209,7 +209,7 @@ describe('Rest Asset', { concurrent: true }, async () => { expect(httpMock.get.mock.calls.length, 'asset is checked multiple times').toBeGreaterThan(1) expect(error.name).equals('AssetProcessingTimeout', 'timeout is thrown') }) - } + }, ) test('Asset update with tags works', async () => { @@ -225,11 +225,11 @@ describe('Rest Asset', { concurrent: true }, async () => { expect(response.toPlainObject, 'response is wrapped').to.be.ok expect(httpMock.put.mock.calls[0][1].metadata.tags[0].name).equals( 'newname', - 'metadata is sent' + 'metadata is sent', ) expect(httpMock.put.mock.calls[0][2].headers['X-Contentful-Version']).equals( 2, - 'version header is sent' + 'version header is sent', ) return { httpMock, @@ -249,7 +249,7 @@ describe('Rest Asset', { concurrent: true }, async () => { id: 'some_random_id', }, }, - }) + }), ) httpMock.post.mockReturnValueOnce( @@ -259,13 +259,13 @@ describe('Rest Asset', { concurrent: true }, async () => { id: 'some_random_id', }, }, - }) + }), ) httpMock.post.mockReturnValueOnce( Promise.resolve({ data: assetWithFilesMock, - }) + }), ) return adapterMock @@ -293,11 +293,11 @@ describe('Rest Asset', { concurrent: true }, async () => { .then(() => { expect(httpMock.post.mock.calls[0][1]).equals( '', - 'uploads file #1 to upload endpoint' + 'uploads file #1 to upload endpoint', ) expect(httpMock.post.mock.calls[1][1]).equals( '', - 'uploads file #2 to upload endpoint' + 'uploads file #2 to upload endpoint', ) }) }) diff --git a/test/unit/adapters/REST/endpoints/concept-scheme.test.ts b/test/unit/adapters/REST/endpoints/concept-scheme.test.ts index 5526495cf0..02116cd524 100644 --- a/test/unit/adapters/REST/endpoints/concept-scheme.test.ts +++ b/test/unit/adapters/REST/endpoints/concept-scheme.test.ts @@ -28,7 +28,7 @@ describe('ConceptScheme', () => { .then((r) => { expect(r).to.eql(entityMock) expect(httpMock.get.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concept-schemes/concept-scheme-id' + '/organizations/organization-id/taxonomy/concept-schemes/concept-scheme-id', ) }) }) @@ -48,7 +48,7 @@ describe('ConceptScheme', () => { }) .then(() => { expect(httpMock.get.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concept-schemes/total' + '/organizations/organization-id/taxonomy/concept-schemes/total', ) }) }) @@ -69,7 +69,7 @@ describe('ConceptScheme', () => { .then((r) => { expect(r).to.eql(entityMock) expect(httpMock.post.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concept-schemes' + '/organizations/organization-id/taxonomy/concept-schemes', ) }) }) @@ -92,7 +92,7 @@ describe('ConceptScheme', () => { .then((r) => { expect(r).to.eql(entityMock) expect(httpMock.put.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concept-schemes/concept-scheme-id' + '/organizations/organization-id/taxonomy/concept-schemes/concept-scheme-id', ) }) }) @@ -113,7 +113,7 @@ describe('ConceptScheme', () => { }) .then(() => { expect(httpMock.patch.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concept-schemes/concept-scheme-id' + '/organizations/organization-id/taxonomy/concept-schemes/concept-scheme-id', ) }) }) @@ -135,7 +135,7 @@ describe('ConceptScheme', () => { }) .then(() => { expect(httpMock.put.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concept-schemes/concept-scheme-id' + '/organizations/organization-id/taxonomy/concept-schemes/concept-scheme-id', ) }) }) @@ -157,7 +157,7 @@ describe('ConceptScheme', () => { }) .then(() => { expect(httpMock.delete.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concept-schemes/concept-scheme-id' + '/organizations/organization-id/taxonomy/concept-schemes/concept-scheme-id', ) expect(httpMock.delete.mock.calls[0][1].headers).to.eql({ 'X-Contentful-Version': 1 }) }) diff --git a/test/unit/adapters/REST/endpoints/concept.test.ts b/test/unit/adapters/REST/endpoints/concept.test.ts index 88dacc5f37..695d16992b 100644 --- a/test/unit/adapters/REST/endpoints/concept.test.ts +++ b/test/unit/adapters/REST/endpoints/concept.test.ts @@ -28,7 +28,7 @@ describe('Concept', () => { .then((r) => { expect(r).to.eql(entityMock) expect(httpMock.get.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concepts/concept-id' + '/organizations/organization-id/taxonomy/concepts/concept-id', ) }) }) @@ -98,7 +98,7 @@ describe('Concept', () => { }) .then(() => { expect(httpMock.get.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concepts/total' + '/organizations/organization-id/taxonomy/concepts/total', ) }) }) @@ -120,7 +120,7 @@ describe('Concept', () => { .then((r) => { expect(r).to.eql(entityMock) expect(httpMock.post.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concepts' + '/organizations/organization-id/taxonomy/concepts', ) }) }) @@ -143,7 +143,7 @@ describe('Concept', () => { .then((r) => { expect(r).to.eql(entityMock) expect(httpMock.put.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concepts/concept-id' + '/organizations/organization-id/taxonomy/concepts/concept-id', ) }) }) @@ -164,7 +164,7 @@ describe('Concept', () => { }) .then(() => { expect(httpMock.patch.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concepts/concept-id' + '/organizations/organization-id/taxonomy/concepts/concept-id', ) }) }) @@ -186,7 +186,7 @@ describe('Concept', () => { }) .then(() => { expect(httpMock.put.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concepts/concept-id' + '/organizations/organization-id/taxonomy/concepts/concept-id', ) }) }) @@ -207,7 +207,7 @@ describe('Concept', () => { }) .then(() => { expect(httpMock.delete.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concepts/concept-id' + '/organizations/organization-id/taxonomy/concepts/concept-id', ) }) }) @@ -228,7 +228,7 @@ describe('Concept', () => { }) .then(() => { expect(httpMock.get.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concepts/concept-id/descendants' + '/organizations/organization-id/taxonomy/concepts/concept-id/descendants', ) }) }) @@ -250,7 +250,7 @@ describe('Concept', () => { }) .then(() => { expect(httpMock.get.mock.calls[0][0]).to.eql( - '/organizations/organization-id/taxonomy/concepts/concept-id/ancestors' + '/organizations/organization-id/taxonomy/concepts/concept-id/ancestors', ) }) }) diff --git a/test/unit/adapters/REST/endpoints/entry.test.ts b/test/unit/adapters/REST/endpoints/entry.test.ts index b8cfacfb36..b87ea98457 100644 --- a/test/unit/adapters/REST/endpoints/entry.test.ts +++ b/test/unit/adapters/REST/endpoints/entry.test.ts @@ -27,11 +27,11 @@ describe('Rest Entry', () => { expect(response.toPlainObject, 'response is wrapped').to.be.ok expect(httpMock.put.mock.calls[0][1].metadata.tags[0].sys.id).equals( 'changed-link-target', - 'metadata is sent' + 'metadata is sent', ) expect(httpMock.put.mock.calls[0][2].headers['X-Contentful-Version']).equals( 2, - 'version header is sent' + 'version header is sent', ) return { httpMock, @@ -62,12 +62,12 @@ describe('Rest Entry', () => { expect(r).to.eql(entityMock) expect(httpMock.put.mock.calls[0][0]).to.eql( '/spaces/id/environments/id/entries/entryId', - 'entry id is sent' + 'entry id is sent', ) expect(httpMock.put.mock.calls[0][1]).to.eql(entityMock, 'data is sent') expect(httpMock.put.mock.calls[0][2].headers['X-Contentful-Content-Type']).to.eql( 'contentTypeId', - 'content type is specified' + 'content type is specified', ) }) }) diff --git a/test/unit/adapters/REST/endpoints/function-log.test.ts b/test/unit/adapters/REST/endpoints/function-log.test.ts index 0966566119..3c6fb3bab0 100644 --- a/test/unit/adapters/REST/endpoints/function-log.test.ts +++ b/test/unit/adapters/REST/endpoints/function-log.test.ts @@ -31,7 +31,7 @@ describe('FunctionLog', () => { .then((r) => { expect(r).to.eql(entityMock) expect(httpMock.get.mock.calls[0][0]).to.eql( - '/spaces/space-id/environments/environment-id/app_installations/app-installation-id/functions/function-id/logs/log-id' + '/spaces/space-id/environments/environment-id/app_installations/app-installation-id/functions/function-id/logs/log-id', ) }) }) @@ -56,7 +56,7 @@ describe('FunctionLog', () => { .then((r) => { expect(r).to.eql(entityMock) expect(httpMock.get.mock.calls[0][0]).to.eql( - '/spaces/space-id/environments/environment-id/app_installations/app-installation-id/functions/function-id/logs' + '/spaces/space-id/environments/environment-id/app_installations/app-installation-id/functions/function-id/logs', ) }) }) diff --git a/test/unit/adapters/REST/endpoints/function.test.ts b/test/unit/adapters/REST/endpoints/function.test.ts index 0a07125546..695f15d656 100644 --- a/test/unit/adapters/REST/endpoints/function.test.ts +++ b/test/unit/adapters/REST/endpoints/function.test.ts @@ -29,7 +29,7 @@ describe('Function', () => { .then((r) => { expect(r).to.eql(entityMock) expect(httpMock.get.mock.calls[0][0]).to.eql( - '/organizations/organization-id/app_definitions/app-definition-id/functions/function-id' + '/organizations/organization-id/app_definitions/app-definition-id/functions/function-id', ) }) }) @@ -52,7 +52,7 @@ describe('Function', () => { .then((r) => { expect(r).to.eql(entityMock) expect(httpMock.get.mock.calls[0][0]).to.eql( - '/organizations/organization-id/app_definitions/app-definition-id/functions' + '/organizations/organization-id/app_definitions/app-definition-id/functions', ) }) }) @@ -76,7 +76,7 @@ describe('Function', () => { .then((r) => { expect(r).to.eql(entityMock) expect(httpMock.get.mock.calls[0][0]).to.eql( - '/spaces/space-id/environments/environment-id/app_installations/app-installation-id/functions' + '/spaces/space-id/environments/environment-id/app_installations/app-installation-id/functions', ) }) }) diff --git a/test/unit/adapters/REST/endpoints/organization-membership.test.ts b/test/unit/adapters/REST/endpoints/organization-membership.test.ts index 6407b4a414..c7e2e3055e 100644 --- a/test/unit/adapters/REST/endpoints/organization-membership.test.ts +++ b/test/unit/adapters/REST/endpoints/organization-membership.test.ts @@ -17,12 +17,12 @@ describe('Rest Organization Membership', () => { const entity = wrapOrganizationMembership( (...args) => adapterMock.makeRequest(...args), entityMock, - 'org-id' + 'org-id', ) return entity.delete().then((response) => { expect(httpMock.delete.mock.calls[0][0]).equals( `/organizations/org-id/organization_memberships/${entityMock.sys.id}`, - 'url is correct' + 'url is correct', ) return { httpMock, diff --git a/test/unit/adapters/REST/endpoints/team-membership.test.ts b/test/unit/adapters/REST/endpoints/team-membership.test.ts index b4fc5185e5..9dec84465f 100644 --- a/test/unit/adapters/REST/endpoints/team-membership.test.ts +++ b/test/unit/adapters/REST/endpoints/team-membership.test.ts @@ -21,11 +21,11 @@ describe('Rest Team Membership', () => { expect(response.toPlainObject, 'response is wrapped').to.be.ok expect(httpMock.put.mock.calls[0][0]).equals( `/organizations/mock-organization-id/teams/team1/team_memberships/${entityMock.sys.id}`, - 'url is correct' + 'url is correct', ) expect(httpMock.put.mock.calls[0][2].headers['X-Contentful-Version']).equals( 2, - 'version header is sent' + 'version header is sent', ) return { httpMock, @@ -43,7 +43,7 @@ describe('Rest Team Membership', () => { return entity.delete().then((response) => { expect(httpMock.delete.mock.calls[0][0]).equals( `/organizations/mock-organization-id/teams/team1/team_memberships/${entityMock.sys.id}`, - 'url is correct' + 'url is correct', ) return { httpMock, diff --git a/test/unit/adapters/REST/endpoints/team.test.ts b/test/unit/adapters/REST/endpoints/team.test.ts index 25016c6c93..dd9f93a243 100644 --- a/test/unit/adapters/REST/endpoints/team.test.ts +++ b/test/unit/adapters/REST/endpoints/team.test.ts @@ -20,11 +20,11 @@ describe('Rest Team', () => { expect(response.toPlainObject, 'response is wrapped').to.be.ok expect(httpMock.put.mock.calls[0][0]).equals( `/organizations/mock-organization-id/teams/${entityMock.sys.id}`, - 'url is correct' + 'url is correct', ) expect(httpMock.put.mock.calls[0][2].headers['X-Contentful-Version']).equals( 2, - 'version header is sent' + 'version header is sent', ) return { httpMock, @@ -41,7 +41,7 @@ describe('Rest Team', () => { return entity.delete().then((response) => { expect(httpMock.delete.mock.calls[0][0]).equals( `/organizations/mock-organization-id/teams/${entityMock.sys.id}`, - 'url is correct' + 'url is correct', ) return { httpMock, diff --git a/test/unit/adapters/REST/endpoints/ui-config.test.ts b/test/unit/adapters/REST/endpoints/ui-config.test.ts index 1a067bb65f..887a3c7b68 100644 --- a/test/unit/adapters/REST/endpoints/ui-config.test.ts +++ b/test/unit/adapters/REST/endpoints/ui-config.test.ts @@ -23,7 +23,7 @@ describe('Rest UIConfig', () => { expect(httpMock.put.mock.calls[0][1].entryListViews[0].id).equals('view', 'metadata is sent') expect(httpMock.put.mock.calls[0][2].headers['X-Contentful-Version']).equals( 2, - 'version header is sent' + 'version header is sent', ) return { httpMock, diff --git a/test/unit/adapters/REST/endpoints/upload.test.ts b/test/unit/adapters/REST/endpoints/upload.test.ts index 25d6c3b417..aafa9d7542 100644 --- a/test/unit/adapters/REST/endpoints/upload.test.ts +++ b/test/unit/adapters/REST/endpoints/upload.test.ts @@ -31,11 +31,11 @@ describe('Rest Upload', async () => { .then(() => { expect(httpMock.post.mock.calls[0][0]).equals('/spaces/id/environments/envId/uploads') expect(httpMock.post.mock.calls[0][2].headers['Content-Type']).equals( - 'application/octet-stream' + 'application/octet-stream', ) expect(httpMock.post.mock.calls[0][1]).equals( '', - 'uploads file to upload endpoint' + 'uploads file to upload endpoint', ) }) }) @@ -59,11 +59,11 @@ describe('Rest Upload', async () => { .then(() => { expect(httpMock.post.mock.calls[0][0]).equals('/spaces/id/uploads') expect(httpMock.post.mock.calls[0][2].headers['Content-Type']).equals( - 'application/octet-stream' + 'application/octet-stream', ) expect(httpMock.post.mock.calls[0][1]).equals( '', - 'uploads file to upload endpoint' + 'uploads file to upload endpoint', ) }) }) @@ -84,11 +84,11 @@ describe('Rest Upload', async () => { }) .then(() => { expect(httpMock.post.mock.calls[0][2].headers['Content-Type']).equals( - 'application/octet-stream' + 'application/octet-stream', ) expect(httpMock.post.mock.calls[0][1]).equals( '', - 'uploads file to upload endpoint' + 'uploads file to upload endpoint', ) }) }) 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 29cb69b38e..7ed9ca7b88 100644 --- a/test/unit/adapters/REST/endpoints/user-ui-config.test.ts +++ b/test/unit/adapters/REST/endpoints/user-ui-config.test.ts @@ -23,7 +23,7 @@ describe('Rest UserUIConfig', () => { expect(httpMock.put.mock.calls[0][1].entryListViews[0].id).equals('view', 'metadata is sent') expect(httpMock.put.mock.calls[0][2].headers['X-Contentful-Version']).equals( 2, - 'version header is sent' + 'version header is sent', ) return { httpMock, diff --git a/test/unit/adapters/REST/endpoints/workflow-definition.test.ts b/test/unit/adapters/REST/endpoints/workflow-definition.test.ts index e0d5b668e0..70dd9834b5 100644 --- a/test/unit/adapters/REST/endpoints/workflow-definition.test.ts +++ b/test/unit/adapters/REST/endpoints/workflow-definition.test.ts @@ -20,18 +20,18 @@ describe('Rest Workflow Definition', () => { entityMock.sys.version = 2 const entity = wrapWorkflowDefinition( ((...args: [MakeRequestOptions]) => adapterMock.makeRequest(...args)) as MakeRequest, - entityMock + entityMock, ) entity.description = 'new description' return entity.update().then((response) => { expect(response.toPlainObject, 'response is wrapped').to.be.ok expect(httpMock.put.mock.calls[0][0]).equals( `/spaces/${entityMock.sys.space.sys.id}/environments/${entityMock.sys.environment.sys.id}/workflow_definitions/${entityMock.sys.id}`, - 'url is correct' + 'url is correct', ) expect(httpMock.put.mock.calls[0][2].headers['X-Contentful-Version']).equals( 2, - 'version header is sent' + 'version header is sent', ) return { httpMock, @@ -46,16 +46,16 @@ describe('Rest Workflow Definition', () => { entityMock.sys.version = 2 const entity = wrapWorkflowDefinition( ((...args: [MakeRequestOptions]) => adapterMock.makeRequest(...args)) as MakeRequest, - entityMock + entityMock, ) return entity.delete().then(() => { expect(httpMock.delete.mock.calls[0][0]).equals( `/spaces/${entityMock.sys.space.sys.id}/environments/${entityMock.sys.environment.sys.id}/workflow_definitions/${entityMock.sys.id}`, - 'url is correct' + 'url is correct', ) expect(httpMock.delete.mock.calls[0][1].headers['X-Contentful-Version']).equals( 2, - 'version header is sent' + 'version header is sent', ) return { httpMock, diff --git a/test/unit/adapters/REST/rest-adapter.test.ts b/test/unit/adapters/REST/rest-adapter.test.ts index 68738323b5..5da84dd69e 100644 --- a/test/unit/adapters/REST/rest-adapter.test.ts +++ b/test/unit/adapters/REST/rest-adapter.test.ts @@ -19,7 +19,7 @@ describe('Rest Adapter', () => { entityType: 'nothing', action: 'nothing', userAgent: 'test-runner', - }) + }), ).rejects.toThrowError('Unknown endpoint') }) }) diff --git a/test/unit/adapters/REST/reusable-tests/update.ts b/test/unit/adapters/REST/reusable-tests/update.ts index 4dd9f857d1..f988b84ddc 100644 --- a/test/unit/adapters/REST/reusable-tests/update.ts +++ b/test/unit/adapters/REST/reusable-tests/update.ts @@ -22,11 +22,11 @@ export function reusableEntityUpdateTest(entityType, mockName) { expect(httpMock.put.mock.calls[0][1].sys).equals(undefined, 'sys is removed') expect(httpMock.put.mock.calls[0][2].headers['X-Contentful-Version']).equals( 2, - 'version header is sent' + 'version header is sent', ) expect(httpMock.put.mock.calls[0][2].headers['X-Test']).equals( 'test header', - 'custom header is set' + 'custom header is set', ) }) } diff --git a/test/unit/create-contentful-api.test.ts b/test/unit/create-contentful-api.test.ts index aae414ebeb..23361ee140 100644 --- a/test/unit/create-contentful-api.test.ts +++ b/test/unit/create-contentful-api.test.ts @@ -177,7 +177,7 @@ describe('createEntryApi', () => { makeRequest: setupMakeRequest(promise), entityMock: cloneMock('entryReferencesCollection'), }), - { wrapperMethod: wrapEntryCollection } + { wrapperMethod: wrapEntryCollection }, ) }) diff --git a/test/unit/create-entry-api.test.ts b/test/unit/create-entry-api.test.ts index 4407949e52..54c092285f 100644 --- a/test/unit/create-entry-api.test.ts +++ b/test/unit/create-entry-api.test.ts @@ -175,7 +175,7 @@ describe('createEntryApi', () => { entityMock: cloneMock('entryReferencesCollection'), } }, - { wrapperMethod: wrapEntryCollection } + { wrapperMethod: wrapEntryCollection }, ) }) diff --git a/test/unit/create-environment-api.test.ts b/test/unit/create-environment-api.test.ts index d1fe28809b..53295e8696 100644 --- a/test/unit/create-environment-api.test.ts +++ b/test/unit/create-environment-api.test.ts @@ -633,7 +633,7 @@ describe('A createEnvironmentApi', () => { test('API call getEnvironmentTemplateInstallations', async () => { const environmentTemplateId = 'mockEnvironmentTemplateId' const { api, makeRequest } = setup( - Promise.resolve({ items: [environmentTemplateInstallationMock] }) + Promise.resolve({ items: [environmentTemplateInstallationMock] }), ) const installations = (await api.getEnvironmentTemplateInstallations(environmentTemplateId)) .items diff --git a/test/unit/create-organization-api.test.ts b/test/unit/create-organization-api.test.ts index 5d3aa88cec..508efa7f4e 100644 --- a/test/unit/create-organization-api.test.ts +++ b/test/unit/create-organization-api.test.ts @@ -271,7 +271,7 @@ describe('A createOrganizationApi', () => { () => {}, (r) => { expect(r).equals(error) - } + }, ) }) @@ -282,7 +282,7 @@ describe('A createOrganizationApi', () => { skip: 0, limit: 10, items: [teamMembershipMock], - }) + }), ) return api['getTeamMemberships']({ teamId: 'teamid' }).then((r) => { expect(r).eql({ @@ -302,7 +302,7 @@ describe('A createOrganizationApi', () => { () => {}, (r) => { expect(r).equals(error) - } + }, ) }) @@ -313,7 +313,7 @@ describe('A createOrganizationApi', () => { skip: 0, limit: 10, items: [teamMembershipMock], - }) + }), ) return api['getTeamMemberships']().then((r) => { expect(r).eql({ @@ -328,7 +328,7 @@ describe('A createOrganizationApi', () => { test('API call getTeamSpaceMembership', async () => { const { api, entitiesMock } = setup(Promise.resolve(teamSpaceMembershipMock)) entitiesMock['teamSpaceMembership'][`wrapTeamSpaceMembership`].mockReturnValue( - teamSpaceMembershipMock + teamSpaceMembershipMock, ) return api['getTeamSpaceMembership']('eid').then((r) => { expect(r).eql(teamSpaceMembershipMock) @@ -343,7 +343,7 @@ describe('A createOrganizationApi', () => { () => {}, (r) => { expect(r).equals(error) - } + }, ) }) @@ -354,7 +354,7 @@ describe('A createOrganizationApi', () => { skip: 0, limit: 10, items: [teamSpaceMembershipMock], - }) + }), ) return api['getTeamSpaceMemberships']({ teamId: 'teamid' }).then((r) => { expect(r).eql({ @@ -374,7 +374,7 @@ describe('A createOrganizationApi', () => { () => {}, (r) => { expect(r).eql(error) - } + }, ) }) @@ -385,7 +385,7 @@ describe('A createOrganizationApi', () => { skip: 0, limit: 10, items: [teamSpaceMembershipMock], - }) + }), ) return api['getTeamSpaceMemberships']().then((r) => { expect(r).eql({ @@ -413,7 +413,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -433,7 +433,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -461,7 +461,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -489,7 +489,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -509,7 +509,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -520,7 +520,7 @@ describe('A createOrganizationApi', () => { skip: 0, limit: 10, items: [appActionMock], - }) + }), ) return api['getAppActions']('app-def-id').then((result) => { expect(result).eql({ @@ -540,7 +540,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -560,7 +560,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -570,7 +570,7 @@ describe('A createOrganizationApi', () => { return api['upsertAppSigningSecret']('app-def-id', { value: 'mocked-new-secret-id' }).then( (result) => { expect(result).eql(appSigningSecretMock) - } + }, ) }) @@ -582,7 +582,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -602,7 +602,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -622,14 +622,14 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) test('API call createEventSubscription', async () => { const { api, entitiesMock } = setup(Promise.resolve(appEventSubscriptionMock)) entitiesMock['appEventSubscription']['wrapAppEventSubscription'].mockReturnValue( - appEventSubscriptionMock + appEventSubscriptionMock, ) return api['upsertAppEventSubscription']('app-def-id', { targetUrl: 'https://contentful.fake/event-processor', @@ -650,14 +650,14 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) test('API call getAppEventSubscription', async () => { const { api, entitiesMock } = setup(Promise.resolve(appEventSubscriptionMock)) entitiesMock['appEventSubscription']['wrapAppEventSubscription'].mockReturnValue( - appEventSubscriptionMock + appEventSubscriptionMock, ) return api['getAppEventSubscription']('app-def-id').then((result) => { expect(result).eql(appEventSubscriptionMock) @@ -672,7 +672,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -692,7 +692,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -712,7 +712,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -732,7 +732,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -752,7 +752,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -772,7 +772,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -792,7 +792,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -812,7 +812,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -832,7 +832,7 @@ describe('A createOrganizationApi', () => { () => {}, (errorResponse) => { expect(errorResponse).eql(error) - } + }, ) }) @@ -862,7 +862,7 @@ describe('A createOrganizationApi', () => { const error = new Error('Failed to get functions') const { api } = setup(Promise.reject(error)) await expect( - api.getFunctions('app-def-id', { 'accepts[all]': 'appaction.call' }) + api.getFunctions('app-def-id', { 'accepts[all]': 'appaction.call' }), ).rejects.toThrow(error) }) }) diff --git a/test/unit/create-space-api.test.ts b/test/unit/create-space-api.test.ts index a531ea3117..80c726c28a 100644 --- a/test/unit/create-space-api.test.ts +++ b/test/unit/create-space-api.test.ts @@ -242,7 +242,7 @@ describe('A createSpaceApi', () => { test('API call createTeamSpaceMembership', async () => { const { api, entitiesMock } = setup(Promise.resolve(teamSpaceMembershipMock)) entitiesMock.teamSpaceMembership.wrapTeamSpaceMembership.mockReturnValue( - teamSpaceMembershipMock + teamSpaceMembershipMock, ) const result = await api.createTeamSpaceMembership('team-id', { admin: true, roles: [] }) diff --git a/test/unit/entities/resource-provider.test.ts b/test/unit/entities/resource-provider.test.ts index 0c1b1c8047..509d3b2b3b 100644 --- a/test/unit/entities/resource-provider.test.ts +++ b/test/unit/entities/resource-provider.test.ts @@ -19,7 +19,7 @@ function setup(promise: Promise) { } function setupResourceType( - promise: Promise> + promise: Promise>, ) { return { makeRequest: setupMakeRequest(promise), @@ -51,7 +51,7 @@ describe('Entity ResourceProvider', () => { const response = await entity['upsertResourceType']( 'resourceProvider:resourceTypeId', - resourceTypeMock + resourceTypeMock, ) expect(response).toEqual(resourceTypeMock) expect(response.toPlainObject).toBeTruthy() @@ -74,7 +74,7 @@ describe('Entity ResourceProvider', () => { skip: 0, limit: 100, sys: { type: 'Array' }, - }) + }), ) const entity = wrapResourceProvider(makeRequest, entityMock) const response = await entity['getResourceTypes']() diff --git a/test/unit/entities/workflow.test.ts b/test/unit/entities/workflow.test.ts index 90ecfaed02..35ce1fe3e7 100644 --- a/test/unit/entities/workflow.test.ts +++ b/test/unit/entities/workflow.test.ts @@ -65,7 +65,7 @@ describe('Entity Workflow', () => { wrapperMethod: wrapWorkflow, actionMethod: 'complete', }, - false + false, ) }) diff --git a/test/unit/mocks/entities.ts b/test/unit/mocks/entities.ts index ce1c0400e9..6e000e81c4 100644 --- a/test/unit/mocks/entities.ts +++ b/test/unit/mocks/entities.ts @@ -734,7 +734,7 @@ const teamMembershipMock: TeamMembershipProps = { organization: makeLink('Organization', 'mock-organization-id'), organizationMembership: makeLink( 'OrganizationMembership', - 'mock-organization-membership-team-id' + 'mock-organization-membership-team-id', ), }), admin: false, @@ -748,7 +748,7 @@ const organizationInvitationMock: OrganizationInvitationProps = { type: 'organizationInvitation', organizationMembership: makeLink( 'OrganizationMembership', - 'mock-organization-membership-team-id' + 'mock-organization-membership-team-id', ), user: makeLink('User', 'mock-user-id'), invitationUrl: 'https://example.com/mocked/invitation/url', diff --git a/test/unit/mocks/makeRequest.ts b/test/unit/mocks/makeRequest.ts index c3a6364e7b..2e730724fb 100644 --- a/test/unit/mocks/makeRequest.ts +++ b/test/unit/mocks/makeRequest.ts @@ -3,7 +3,7 @@ import type { Mock } from 'vitest' import type { MakeRequest } from '../../../lib/common-types.js' export default function setupMakeRequest( - promise: Promise + promise: Promise, ): Mock<{ payload: T }[], T> & MakeRequest { return vi.fn().mockReturnValue(promise) } diff --git a/test/unit/plain/pagination-helper.test.ts b/test/unit/plain/pagination-helper.test.ts index 862ae0148b..bb5baf7c29 100644 --- a/test/unit/plain/pagination-helper.test.ts +++ b/test/unit/plain/pagination-helper.test.ts @@ -77,7 +77,7 @@ describe('pagination helpers', () => { describe('cursor based pagination', () => { function createCursorBasedEndpoint< P extends CursorBasedParams = CursorBasedParams, - T = unknown + T = unknown, >(items: T[]): FetchFn { return async (params): Promise> => { const { diff --git a/test/unit/plain/resource-provider.test.ts b/test/unit/plain/resource-provider.test.ts index ffcc12d5ad..9fc0fa4de7 100644 --- a/test/unit/plain/resource-provider.test.ts +++ b/test/unit/plain/resource-provider.test.ts @@ -9,7 +9,7 @@ describe('ResourceProvider', () => { test('get', async () => { const { httpMock, adapterMock } = setupRestAdapter( - Promise.resolve({ data: resourceProviderMock }) + Promise.resolve({ data: resourceProviderMock }), ) const plainClient = createClient({ apiAdapter: adapterMock }, { type: 'plain' }) const response = await plainClient.resourceProvider.get({ organizationId, appDefinitionId }) @@ -18,13 +18,13 @@ describe('ResourceProvider', () => { expect(response.sys.id).toBe('id') expect(httpMock.get.mock.calls[0][0]).toBe( - `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider` + `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider`, ) }) test('upsert', async () => { const { httpMock, adapterMock } = setupRestAdapter( - Promise.resolve({ data: resourceProviderMock }) + Promise.resolve({ data: resourceProviderMock }), ) const plainClient = createClient({ apiAdapter: adapterMock }, { type: 'plain' }) const response = await plainClient.resourceProvider.upsert( @@ -33,14 +33,14 @@ describe('ResourceProvider', () => { sys: { id: 'id' }, type: 'function', function: { sys: { id: 'id', type: 'Link', linkType: 'Function' } }, - } + }, ) expect(response).toBeInstanceOf(Object) expect(response.sys.id).toBe('id') expect(httpMock.put.mock.calls[0][0]).toBe( - `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider` + `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider`, ) }) @@ -50,7 +50,7 @@ describe('ResourceProvider', () => { await plainClient.resourceProvider.delete({ organizationId, appDefinitionId }) expect(httpMock.delete.mock.calls[0][0]).toBe( - `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider` + `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider`, ) }) }) diff --git a/test/unit/plain/resource-type.test.ts b/test/unit/plain/resource-type.test.ts index 28d517e8db..22dcaf7541 100644 --- a/test/unit/plain/resource-type.test.ts +++ b/test/unit/plain/resource-type.test.ts @@ -21,13 +21,13 @@ describe('ResourceType', () => { expect(response.sys.id).toBe('id') expect(httpMock.get.mock.calls[0][0]).toBe( - `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider/resource_types/resourceTypeId` + `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider/resource_types/resourceTypeId`, ) }) test('getMany', async () => { const { httpMock, adapterMock } = setupRestAdapter( - Promise.resolve({ data: { items: [resourceTypeMock] } }) + Promise.resolve({ data: { items: [resourceTypeMock] } }), ) const plainClient = createClient({ apiAdapter: adapterMock }, { type: 'plain' }) const response = await plainClient.resourceType.getMany({ @@ -39,13 +39,13 @@ describe('ResourceType', () => { expect(response.items[0].sys.id).toBe('id') expect(httpMock.get.mock.calls[0][0]).toBe( - `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider/resource_types` + `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider/resource_types`, ) }) test('getForEnvironment', async () => { const { httpMock, adapterMock } = setupRestAdapter( - Promise.resolve({ data: { items: [resourceTypeMock] } }) + Promise.resolve({ data: { items: [resourceTypeMock] } }), ) const plainClient = createClient({ apiAdapter: adapterMock }, { type: 'plain' }) const response = await plainClient.resourceType.getForEnvironment({ @@ -69,14 +69,14 @@ describe('ResourceType', () => { defaultFieldMapping: { title: 'title', }, - } + }, ) expect(response).toBeInstanceOf(Object) expect(response.sys.id).toBe('id') expect(httpMock.put.mock.calls[0][0]).toBe( - `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider/resource_types/resourceTypeId` + `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider/resource_types/resourceTypeId`, ) }) @@ -86,7 +86,7 @@ describe('ResourceType', () => { await plainClient.resourceType.delete({ organizationId, appDefinitionId, resourceTypeId }) expect(httpMock.delete.mock.calls[0][0]).toBe( - `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider/resource_types/resourceTypeId` + `/organizations/organizationId/app_definitions/appDefinitionId/resource_provider/resource_types/resourceTypeId`, ) }) }) diff --git a/test/unit/plain/resource.test.ts b/test/unit/plain/resource.test.ts index bd35978932..d3a68275ad 100644 --- a/test/unit/plain/resource.test.ts +++ b/test/unit/plain/resource.test.ts @@ -10,7 +10,7 @@ describe('Resource', () => { test('getForEnvironment', async () => { const { httpMock, adapterMock } = setupRestAdapter( - Promise.resolve({ data: { items: [resourceMock] } }) + Promise.resolve({ data: { items: [resourceMock] } }), ) const plainClient = createClient({ apiAdapter: adapterMock }, { type: 'plain' }) const response = await plainClient.resource.getMany({ @@ -27,7 +27,7 @@ describe('Resource', () => { expect(response.items[0].sys.urn).toBe('resource-urn') expect(httpMock.get.mock.calls[0][0]).toBe( - `/spaces/spaceId/environments/envId/resource_types/${resourceTypeId}/resources` + `/spaces/spaceId/environments/envId/resource_types/${resourceTypeId}/resources`, ) }) }) diff --git a/test/unit/plain/webhook.test.ts b/test/unit/plain/webhook.test.ts index 2cf756b764..cea28b3db8 100644 --- a/test/unit/plain/webhook.test.ts +++ b/test/unit/plain/webhook.test.ts @@ -7,7 +7,7 @@ describe('Webhook', () => { test('getSigningSecret', async () => { const { httpMock, adapterMock } = setupRestAdapter( - Promise.resolve({ data: { redactedValue: 'abcd' } }) + Promise.resolve({ data: { redactedValue: 'abcd' } }), ) const plainClient = createClient({ apiAdapter: adapterMock }, { type: 'plain' }) const response = await plainClient.webhook.getSigningSecret({ spaceId }) @@ -22,7 +22,7 @@ describe('Webhook', () => { test('upsertSigningSecret', async () => { const { httpMock, adapterMock } = setupRestAdapter( - Promise.resolve({ data: { redactedValue: 'abcd' } }) + Promise.resolve({ data: { redactedValue: 'abcd' } }), ) const plainClient = createClient({ apiAdapter: adapterMock }, { type: 'plain' }) @@ -37,7 +37,7 @@ describe('Webhook', () => { payload, { baseURL: 'https://api.contentful.com', - } + }, ) }) @@ -50,13 +50,13 @@ describe('Webhook', () => { `/spaces/space-id/webhook_settings/signing_secret`, { baseURL: 'https://api.contentful.com', - } + }, ) }) test('getRetryPolicy', async () => { const { httpMock, adapterMock } = setupRestAdapter( - Promise.resolve({ data: { maxRetries: 15 } }) + Promise.resolve({ data: { maxRetries: 15 } }), ) const plainClient = createClient({ apiAdapter: adapterMock }, { type: 'plain' }) const response = await plainClient.webhook.getRetryPolicy({ spaceId }) @@ -71,7 +71,7 @@ describe('Webhook', () => { test('upsertRetryPolicy', async () => { const { httpMock, adapterMock } = setupRestAdapter( - Promise.resolve({ data: { maxRetries: 15 } }) + Promise.resolve({ data: { maxRetries: 15 } }), ) const plainClient = createClient({ apiAdapter: adapterMock }, { type: 'plain' }) @@ -86,7 +86,7 @@ describe('Webhook', () => { payload, { baseURL: 'https://api.contentful.com', - } + }, ) }) diff --git a/test/unit/test-creators/instance-entity-methods.ts b/test/unit/test-creators/instance-entity-methods.ts index a8ac4dbcfb..2874ab6cfc 100644 --- a/test/unit/test-creators/instance-entity-methods.ts +++ b/test/unit/test-creators/instance-entity-methods.ts @@ -39,7 +39,7 @@ export async function entityCollectionActionTest(setup, { wrapperMethod, actionM export async function entityActionTest( setup, { wrapperMethod, actionMethod }, - checkResponse = true + checkResponse = true, ) { const { makeRequest, entityMock } = setup(Promise.resolve({})) const entity = wrapperMethod(makeRequest, entityMock) @@ -142,7 +142,7 @@ export async function omitAndDeleteFieldTest(setup: OmitAndDeleteSetup, { wrappe const setupData = setup( Promise.resolve({ fields: [titleField], - }) + }), ) setupData.entityMock.fields = [titleField] /* Since this method calls update() 2x, first call needs to return a properly wrapped entity. */ @@ -153,10 +153,10 @@ export async function omitAndDeleteFieldTest(setup: OmitAndDeleteSetup, { wrappe expect(response.toPlainObject, 'response is wrapped').to.be.ok // @todo type is not correct, it complains that payload does not exist (but it does) expect( - makeRequestSpy.mock.calls[0][0].payload.fields.find((field) => field.id === 'title').omitted + makeRequestSpy.mock.calls[0][0].payload.fields.find((field) => field.id === 'title').omitted, ).equals(true, 'omitted was se t to true in the first update') expect( - makeRequestSpy.mock.calls[1][0].payload.fields.find((field) => field.id === 'title').deleted + makeRequestSpy.mock.calls[1][0].payload.fields.find((field) => field.id === 'title').deleted, ).equals(true, 'deleted was set to true in the first update') }) } diff --git a/test/unit/test-creators/static-entity-methods.ts b/test/unit/test-creators/static-entity-methods.ts index 893d36f4d6..2e73a8991c 100644 --- a/test/unit/test-creators/static-entity-methods.ts +++ b/test/unit/test-creators/static-entity-methods.ts @@ -4,11 +4,11 @@ import { expect } from 'vitest' export async function makeGetEntityTest( setup, - { entityType, mockToReturn, methodToTest, wrapperSuffix = '' } + { entityType, mockToReturn, methodToTest, wrapperSuffix = '' }, ) { const { api, entitiesMock } = setup(Promise.resolve(mockToReturn)) entitiesMock[entityType][`wrap${upperFirst(entityType)}${wrapperSuffix}`].mockReturnValue( - mockToReturn + mockToReturn, ) const result = await api[methodToTest]('eid') expect(result).toEqual(mockToReturn) @@ -50,7 +50,7 @@ export async function makeCreateEntityTest(setup, { entityType, mockToReturn, me export async function makeCreateEntityWithIdTest( setup, - { entityType, mockToReturn, methodToTest } + { entityType, mockToReturn, methodToTest }, ) { const id = 'entityId' const { api, makeRequest, entitiesMock } = setup(Promise.resolve(mockToReturn)) @@ -71,7 +71,7 @@ export function testGettingEntrySDKObject( wrapFunction, expectedFunctions, getResourceFromDataFunctionName, - } + }, ) { const { api, makeRequest, entitiesMock } = setup(Promise.resolve({})) const resourceData = cloneDeep(resourceMock) diff --git a/test/utils.ts b/test/utils.ts index c990d6d0f3..a95246d8df 100644 --- a/test/utils.ts +++ b/test/utils.ts @@ -9,7 +9,7 @@ export function makeLink(type: T, id: string): Link { export function makeVersionedLink( type: T, id: string, - version: number + version: number, ): VersionedLink { return { sys: { id, linkType: type, type: 'Link', version }, diff --git a/tsconfig.json b/tsconfig.json index 5f4799337e..e2f4fbda47 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,23 +1,18 @@ { "compilerOptions": { - "outDir": "./dist/esm-raw", "rootDir": "./lib", "lib": ["dom", "esnext"], - "target": "ES2017", + "target": "ES2021", "module": "nodenext", "moduleResolution": "nodenext", - "allowJs": true, - "declarationDir": "dist/types", - "declaration": true, "strict": true, "importHelpers": true, - "isolatedModules": false, "esModuleInterop": true, - "noImplicitThis": false, - "typeRoots": ["node_modules/@types"], - "noImplicitAny": false, - "skipLibCheck": true + "skipLibCheck": true, + "noEmit": true, + "inlineSources": true, + "sourceMap": true, + "noImplicitThis": false }, - "include": ["./lib/**/*", "types"], - "exclude": ["./node_modules/**/*", "dist", "test"] + "include": ["lib", "types"] } From 35da246128a0a4fe2790860935838981a3eeb7ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Fri, 12 Sep 2025 13:51:04 +0200 Subject: [PATCH 21/48] build: move puppeteer and es-check to dev dependencies --- package-lock.json | 177 ++++++++++++++++++++++++++++++++++++++++++---- package.json | 4 +- 2 files changed, 164 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 96bcaddd83..6c100d4e42 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,11 +12,9 @@ "@contentful/rich-text-types": "^16.6.1", "axios": "^1.8.4", "contentful-sdk-core": "10.0.0-beta.1", - "es-check": "^7.2.1", "fast-copy": "^3.0.0", "globals": "^15.15.0", "json-patch": "^0.7.0", - "puppeteer": "^24.4.0", "type-fest": "^4.18.3" }, "devDependencies": { @@ -45,6 +43,7 @@ "babel-plugin-lodash": "^3.3.4", "contentful-sdk-jsdoc": "3.1.0", "cz-conventional-changelog": "^3.3.0", + "es-check": "^7.2.1", "eslint": "^9.15.0", "husky": "^9.1.7", "in-publish": "^2.0.1", @@ -55,6 +54,7 @@ "playwright": "^1.49.1", "prettier": "^3.6.2", "process": "^0.11.10", + "puppeteer": "^24.4.0", "rimraf": "^5.0.0", "rollup": "^4.28.1", "rollup-plugin-sourcemaps": "^0.6.3", @@ -88,6 +88,7 @@ "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.27.1", @@ -376,6 +377,7 @@ "version": "7.27.1", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", + "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -1822,6 +1824,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "dev": true, "dependencies": { "colorspace": "1.1.x", "enabled": "2.0.x", @@ -2787,6 +2790,7 @@ "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" @@ -2799,6 +2803,7 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, "engines": { "node": ">= 8" } @@ -2807,6 +2812,7 @@ "version": "1.2.8", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" @@ -3120,6 +3126,7 @@ "version": "2.8.0", "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.8.0.tgz", "integrity": "sha512-yTwt2KWRmCQAfhvbCRjebaSX8pV1//I0Y3g+A7f/eS7gf0l4eRJoUCvcYdVtboeU4CTOZQuqYbZNS8aBYb8ROQ==", + "dev": true, "license": "Apache-2.0", "dependencies": { "debug": "^4.4.0", @@ -3141,6 +3148,7 @@ "version": "7.7.1", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", + "dev": true, "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -4100,6 +4108,7 @@ "version": "0.23.0", "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", + "dev": true, "license": "MIT" }, "node_modules/@types/aria-query": { @@ -4193,7 +4202,7 @@ "version": "20.17.57", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.57.tgz", "integrity": "sha512-f3T4y6VU4fVQDKVqJV4Uppy8c1p/sVvS3peyqxyWnzkqXFJLRU7Y1Bl7rMS1Qe9z0v4M6McY0Fp9yBsgHJUsWQ==", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "undici-types": "~6.19.2" @@ -4230,7 +4239,8 @@ "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==" + "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==", + "dev": true }, "node_modules/@types/unist": { "version": "3.0.3", @@ -4243,6 +4253,7 @@ "version": "2.10.3", "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz", "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==", + "dev": true, "license": "MIT", "optional": true, "dependencies": { @@ -4914,6 +4925,7 @@ "version": "7.1.3", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", + "dev": true, "license": "MIT", "engines": { "node": ">= 14" @@ -5015,6 +5027,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -5024,6 +5037,7 @@ "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" @@ -5060,6 +5074,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, "license": "Python-2.0" }, "node_modules/argv-formatter": { @@ -5100,6 +5115,7 @@ "version": "0.13.4", "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", + "dev": true, "license": "MIT", "dependencies": { "tslib": "^2.0.1" @@ -5111,7 +5127,8 @@ "node_modules/async": { "version": "3.2.6", "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", - "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==" + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", + "dev": true }, "node_modules/asynckit": { "version": "0.4.0", @@ -5157,6 +5174,7 @@ "version": "1.6.7", "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz", "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==", + "dev": true, "license": "Apache-2.0" }, "node_modules/babel-loader": { @@ -5290,6 +5308,7 @@ "version": "2.5.4", "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.5.4.tgz", "integrity": "sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA==", + "dev": true, "license": "Apache-2.0", "optional": true }, @@ -5297,6 +5316,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.0.1.tgz", "integrity": "sha512-ilQs4fm/l9eMfWY2dY0WCIUplSUp7U0CT1vrqMg1MUdeZl4fypu5UP0XcDBK5WBQPJAKP1b7XEodISmekH/CEg==", + "dev": true, "license": "Apache-2.0", "optional": true, "dependencies": { @@ -5312,6 +5332,7 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.6.0.tgz", "integrity": "sha512-BUrFS5TqSBdA0LwHop4OjPJwisqxGy6JsWVqV6qaFoe965qqtaKfDzHY5T2YA1gUL0ZeeQeA+4BBc1FJTcHiPw==", + "dev": true, "license": "Apache-2.0", "optional": true, "engines": { @@ -5322,6 +5343,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.0.0.tgz", "integrity": "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==", + "dev": true, "license": "Apache-2.0", "optional": true, "dependencies": { @@ -5332,6 +5354,7 @@ "version": "2.6.5", "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.6.5.tgz", "integrity": "sha512-jSmxKJNJmHySi6hC42zlZnq00rga4jjxcgNZjY9N5WlOe/iOoGRtdwGsHzQv2RlH2KOYMwGUXhf2zXd32BA9RA==", + "dev": true, "license": "Apache-2.0", "optional": true, "dependencies": { @@ -5375,6 +5398,7 @@ "version": "5.0.5", "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", + "dev": true, "license": "MIT", "engines": { "node": ">=10.0.0" @@ -5459,6 +5483,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, "dependencies": { "fill-range": "^7.1.1" }, @@ -5528,6 +5553,7 @@ "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", + "dev": true, "license": "MIT", "engines": { "node": "*" @@ -5610,6 +5636,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -5751,6 +5778,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-2.1.2.tgz", "integrity": "sha512-vtRWBK2uImo5/W2oG6/cDkkHSm+2t6VHgnj+Rcwhb0pP74OoUb4GipyRX/T/y39gYQPhioP0DPShn+A7P6CHNw==", + "dev": true, "license": "Apache-2.0", "dependencies": { "mitt": "^3.0.1", @@ -5897,6 +5925,7 @@ "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, "license": "ISC", "dependencies": { "string-width": "^4.2.0", @@ -5921,6 +5950,7 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "dev": true, "dependencies": { "color-convert": "^1.9.3", "color-string": "^1.6.0" @@ -5930,6 +5960,7 @@ "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" @@ -5941,12 +5972,14 @@ "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==" + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true }, "node_modules/color-string": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", + "dev": true, "dependencies": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" @@ -5956,6 +5989,7 @@ "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, "dependencies": { "color-name": "1.1.3" } @@ -5963,7 +5997,8 @@ "node_modules/color/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==" + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true }, "node_modules/colorette": { "version": "2.0.20", @@ -5976,6 +6011,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "dev": true, "dependencies": { "color": "^3.1.3", "text-hex": "1.0.x" @@ -5997,6 +6033,7 @@ "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, "engines": { "node": ">=18" } @@ -6326,6 +6363,7 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", + "dev": true, "license": "MIT", "dependencies": { "env-paths": "^2.2.1", @@ -6514,6 +6552,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", + "dev": true, "license": "MIT", "engines": { "node": ">= 14" @@ -6523,6 +6562,7 @@ "version": "4.4.0", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", + "dev": true, "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -6615,6 +6655,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", + "dev": true, "license": "MIT", "dependencies": { "ast-types": "^0.13.4", @@ -6675,6 +6716,7 @@ "version": "0.0.1413902", "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1413902.tgz", "integrity": "sha512-yRtvFD8Oyk7C9Os3GmnFZLu53yAfsnyw1s+mLmHHUK0GQEc9zthHWvS1r67Zqzm5t7v56PILHIVZ7kmFMaL2yQ==", + "dev": true, "license": "BSD-3-Clause" }, "node_modules/dir-glob": { @@ -6778,6 +6820,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, "license": "MIT" }, "node_modules/emojilib": { @@ -6801,12 +6844,14 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==", + "dev": true, "license": "MIT" }, "node_modules/end-of-stream": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, "license": "MIT", "dependencies": { "once": "^1.4.0" @@ -6858,6 +6903,7 @@ "version": "2.2.1", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -6880,6 +6926,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, "license": "MIT", "dependencies": { "is-arrayish": "^0.2.1" @@ -6889,6 +6936,7 @@ "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": { "acorn": "8.11.3", @@ -6908,6 +6956,7 @@ "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" @@ -6920,6 +6969,7 @@ "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" @@ -7011,6 +7061,7 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -7033,6 +7084,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "dev": true, "license": "BSD-2-Clause", "dependencies": { "esprima": "^4.0.1", @@ -7054,6 +7106,7 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, "license": "BSD-3-Clause", "optional": true, "engines": { @@ -7209,6 +7262,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, "license": "BSD-2-Clause", "bin": { "esparse": "bin/esparse.js", @@ -7248,6 +7302,7 @@ "version": "5.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, "license": "BSD-2-Clause", "engines": { "node": ">=4.0" @@ -7263,6 +7318,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, "license": "BSD-2-Clause", "engines": { "node": ">=0.10.0" @@ -7351,6 +7407,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", + "dev": true, "license": "BSD-2-Clause", "dependencies": { "debug": "^4.1.1", @@ -7371,6 +7428,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, "license": "MIT", "dependencies": { "pump": "^3.0.0" @@ -7399,12 +7457,14 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", + "dev": true, "license": "MIT" }, "node_modules/fast-glob": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dev": true, "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -7440,6 +7500,7 @@ "version": "1.17.1", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "dev": true, "dependencies": { "reusify": "^1.0.4" } @@ -7448,6 +7509,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", + "dev": true, "license": "MIT", "dependencies": { "pend": "~1.2.0" @@ -7456,7 +7518,8 @@ "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==" + "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==", + "dev": true }, "node_modules/figures": { "version": "3.2.0", @@ -7501,6 +7564,7 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, "dependencies": { "to-regex-range": "^5.0.1" }, @@ -7630,7 +7694,8 @@ "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==" + "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==", + "dev": true }, "node_modules/follow-redirects": { "version": "1.15.9", @@ -7770,6 +7835,7 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" @@ -7842,6 +7908,7 @@ "version": "6.0.4", "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.4.tgz", "integrity": "sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ==", + "dev": true, "license": "MIT", "dependencies": { "basic-ftp": "^5.0.2", @@ -7902,6 +7969,7 @@ "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" @@ -8142,6 +8210,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, "engines": { "node": ">=8" } @@ -8234,6 +8303,7 @@ "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.0", @@ -8247,6 +8317,7 @@ "version": "7.0.6", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.2", @@ -8337,6 +8408,7 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, "license": "MIT", "dependencies": { "parent-module": "^1.0.0", @@ -8353,6 +8425,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -8444,7 +8517,8 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true }, "node_modules/ini": { "version": "4.1.1", @@ -8505,6 +8579,7 @@ "version": "9.0.5", "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", + "dev": true, "license": "MIT", "dependencies": { "jsbn": "1.1.0", @@ -8518,6 +8593,7 @@ "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": { @@ -8568,6 +8644,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -8589,6 +8666,7 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, "dependencies": { "is-extglob": "^2.1.1" }, @@ -8623,6 +8701,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, "engines": { "node": ">=0.12.0" } @@ -8902,12 +8981,14 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, "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==", + "dev": true, "license": "MIT", "dependencies": { "argparse": "^2.0.1" @@ -8920,6 +9001,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==", + "dev": true, "license": "MIT" }, "node_modules/jsesc": { @@ -8953,6 +9035,7 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, "license": "MIT" }, "node_modules/json-patch": { @@ -9106,7 +9189,8 @@ "node_modules/kuler": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" + "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==", + "dev": true }, "node_modules/levn": { "version": "0.4.1", @@ -9139,6 +9223,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, "license": "MIT" }, "node_modules/linkify-it": { @@ -9731,6 +9816,7 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/logform/-/logform-2.7.0.tgz", "integrity": "sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ==", + "dev": true, "dependencies": { "@colors/colors": "1.6.0", "@types/triple-beam": "^1.3.2", @@ -9747,6 +9833,7 @@ "version": "1.6.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", + "dev": true, "engines": { "node": ">=0.1.90" } @@ -9958,6 +10045,7 @@ "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, "engines": { "node": ">= 8" } @@ -9966,6 +10054,7 @@ "version": "4.0.8", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" @@ -10074,6 +10163,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", + "dev": true, "license": "MIT" }, "node_modules/mrmime": { @@ -10090,6 +10180,7 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, "license": "MIT" }, "node_modules/msw": { @@ -10198,6 +10289,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4.0" @@ -13140,6 +13232,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, "license": "ISC", "dependencies": { "wrappy": "1" @@ -13149,6 +13242,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "dev": true, "dependencies": { "fn.name": "1.x.x" } @@ -13369,6 +13463,7 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz", "integrity": "sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA==", + "dev": true, "license": "MIT", "dependencies": { "@tootallnate/quickjs-emscripten": "^0.23.0", @@ -13388,6 +13483,7 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz", "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==", + "dev": true, "license": "MIT", "dependencies": { "degenerator": "^5.0.0", @@ -13408,6 +13504,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, "license": "MIT", "dependencies": { "callsites": "^3.0.0" @@ -13420,6 +13517,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.0.0", @@ -13543,18 +13641,21 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", + "dev": true, "license": "MIT" }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, "license": "ISC" }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, "engines": { "node": ">=8.6" }, @@ -13891,6 +13992,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "dev": true, "license": "MIT", "engines": { "node": ">=0.4.0" @@ -13907,6 +14009,7 @@ "version": "6.5.0", "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz", "integrity": "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==", + "dev": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.2", @@ -13926,6 +14029,7 @@ "version": "7.18.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, "license": "ISC", "engines": { "node": ">=12" @@ -13961,6 +14065,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", + "dev": true, "license": "MIT", "dependencies": { "end-of-stream": "^1.1.0", @@ -13991,6 +14096,7 @@ "version": "24.4.0", "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.4.0.tgz", "integrity": "sha512-E4JhJzjS8AAI+6N/b+Utwarhz6zWl3+MR725fal+s3UlOlX2eWdsvYYU+Q5bXMjs9eZEGkNQroLkn7j11s2k1Q==", + "dev": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { @@ -14012,6 +14118,7 @@ "version": "24.4.0", "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.4.0.tgz", "integrity": "sha512-eFw66gCnWo0X8Hyf9KxxJtms7a61NJVMiSaWfItsFPzFBsjsWdmcNlBdsA1WVwln6neoHhsG+uTVesKmTREn/g==", + "dev": true, "license": "Apache-2.0", "dependencies": { "@puppeteer/browsers": "2.8.0", @@ -14051,6 +14158,7 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, "funding": [ { "type": "github", @@ -14178,6 +14286,7 @@ "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, "license": "MIT", "dependencies": { "inherits": "^2.0.3", @@ -14306,6 +14415,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -14430,6 +14540,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, "engines": { "iojs": ">=1.0.0", "node": ">=0.10.0" @@ -14592,6 +14703,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, "funding": [ { "type": "github", @@ -14631,6 +14743,7 @@ "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", "engines": { "node": ">=10" @@ -15178,6 +15291,7 @@ "version": "0.2.2", "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", + "dev": true, "dependencies": { "is-arrayish": "^0.3.1" } @@ -15185,7 +15299,8 @@ "node_modules/simple-swizzle/node_modules/is-arrayish": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", + "dev": true }, "node_modules/simple-update-notifier": { "version": "2.0.0", @@ -15327,6 +15442,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "dev": true, "license": "MIT", "engines": { "node": ">= 6.0.0", @@ -15343,6 +15459,7 @@ "version": "2.8.4", "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.4.tgz", "integrity": "sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==", + "dev": true, "license": "MIT", "dependencies": { "ip-address": "^9.0.5", @@ -15357,6 +15474,7 @@ "version": "8.0.5", "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz", "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==", + "dev": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.2", @@ -15476,12 +15594,14 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==", + "dev": true, "license": "BSD-3-Clause" }, "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, "engines": { "node": "*" } @@ -15541,6 +15661,7 @@ "version": "2.22.0", "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.22.0.tgz", "integrity": "sha512-sLh1evHOzBy/iWRiR6d1zRcLao4gGZr3C1kzNz4fopCOKJb6xD9ub8Mpi9Mr1R6id5o43S+d93fI48UC5uM9aw==", + "dev": true, "license": "MIT", "dependencies": { "fast-fifo": "^1.3.2", @@ -15561,6 +15682,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, "dependencies": { "safe-buffer": "~5.2.0" } @@ -15569,6 +15691,7 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, "funding": [ { "type": "github", @@ -15599,6 +15722,7 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -15639,6 +15763,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -15648,6 +15773,7 @@ "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" @@ -15764,6 +15890,7 @@ "version": "3.0.8", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.8.tgz", "integrity": "sha512-ZoROL70jptorGAlgAYiLoBLItEKw/fUxg9BSYK/dF/GAGYFJOJJJMvjPAKDJraCXFwadD456FCuvLWgfhMsPwg==", + "dev": true, "license": "MIT", "dependencies": { "pump": "^3.0.0", @@ -15778,6 +15905,7 @@ "version": "3.1.7", "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", + "dev": true, "license": "MIT", "dependencies": { "b4a": "^1.6.4", @@ -15955,6 +16083,7 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.3.tgz", "integrity": "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==", + "dev": true, "license": "Apache-2.0", "dependencies": { "b4a": "^1.6.4" @@ -15977,6 +16106,7 @@ "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/through": { @@ -16119,6 +16249,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, "dependencies": { "is-number": "^7.0.0" }, @@ -16189,6 +16320,7 @@ "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, "engines": { "node": ">= 14.0.0" } @@ -16210,6 +16342,7 @@ "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, "license": "0BSD" }, "node_modules/type-check": { @@ -16241,6 +16374,7 @@ "version": "2.12.0", "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.0.tgz", "integrity": "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==", + "dev": true, "license": "MIT" }, "node_modules/typedoc": { @@ -16296,7 +16430,7 @@ "version": "5.7.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", - "devOptional": true, + "dev": true, "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", @@ -16361,7 +16495,7 @@ "version": "6.19.8", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/unicode-canonical-property-names-ecmascript": { @@ -16529,7 +16663,8 @@ "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true }, "node_modules/validate-npm-package-license": { "version": "3.0.4", @@ -16903,6 +17038,7 @@ "version": "3.13.0", "resolved": "https://registry.npmjs.org/winston/-/winston-3.13.0.tgz", "integrity": "sha512-rwidmA1w3SE4j0E5MuIufFhyJPBDG7Nu71RkZor1p2+qHvJSZ9GYDA81AyleQcZbh/+V6HjeBdfnTZJm9rSeQQ==", + "dev": true, "dependencies": { "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", @@ -16924,6 +17060,7 @@ "version": "4.9.0", "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.9.0.tgz", "integrity": "sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A==", + "dev": true, "dependencies": { "logform": "^2.7.0", "readable-stream": "^3.6.2", @@ -16937,6 +17074,7 @@ "version": "1.6.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", + "dev": true, "engines": { "node": ">=0.1.90" } @@ -16945,6 +17083,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, "engines": { "node": ">=8" }, @@ -16973,6 +17112,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", @@ -17009,12 +17149,14 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true, "license": "ISC" }, "node_modules/ws": { "version": "8.18.1", "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.1.tgz", "integrity": "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==", + "dev": true, "license": "MIT", "engines": { "node": ">=10.0.0" @@ -17046,6 +17188,7 @@ "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, "license": "ISC", "engines": { "node": ">=10" @@ -17075,6 +17218,7 @@ "version": "17.7.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, "license": "MIT", "dependencies": { "cliui": "^8.0.1", @@ -17093,6 +17237,7 @@ "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, "license": "ISC", "engines": { "node": ">=12" @@ -17102,6 +17247,7 @@ "version": "2.10.0", "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", + "dev": true, "license": "MIT", "dependencies": { "buffer-crc32": "~0.2.3", @@ -17138,6 +17284,7 @@ "version": "3.24.2", "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.2.tgz", "integrity": "sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==", + "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" diff --git a/package.json b/package.json index 62749f3b26..2a64fd6bda 100644 --- a/package.json +++ b/package.json @@ -81,11 +81,9 @@ "@contentful/rich-text-types": "^16.6.1", "axios": "^1.8.4", "contentful-sdk-core": "10.0.0-beta.1", - "es-check": "^7.2.1", "fast-copy": "^3.0.0", "globals": "^15.15.0", "json-patch": "^0.7.0", - "puppeteer": "^24.4.0", "type-fest": "^4.18.3" }, "devDependencies": { @@ -114,6 +112,7 @@ "babel-plugin-lodash": "^3.3.4", "contentful-sdk-jsdoc": "3.1.0", "cz-conventional-changelog": "^3.3.0", + "es-check": "^7.2.1", "eslint": "^9.15.0", "husky": "^9.1.7", "in-publish": "^2.0.1", @@ -124,6 +123,7 @@ "playwright": "^1.49.1", "prettier": "^3.6.2", "process": "^0.11.10", + "puppeteer": "^24.4.0", "rimraf": "^5.0.0", "rollup": "^4.28.1", "rollup-plugin-sourcemaps": "^0.6.3", From 98db87f5cbf82e02fa5c43b9c2face7032e348da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Fri, 12 Sep 2025 13:52:04 +0200 Subject: [PATCH 22/48] build: move to rollup-plugin-sourcemaps2 to support rollup 4+ and avoid dependency duplication --- package-lock.json | 128 +++++----------------------------------------- package.json | 2 +- rollup.config.js | 2 +- 3 files changed, 15 insertions(+), 117 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6c100d4e42..5b29860b98 100644 --- a/package-lock.json +++ b/package-lock.json @@ -57,7 +57,7 @@ "puppeteer": "^24.4.0", "rimraf": "^5.0.0", "rollup": "^4.28.1", - "rollup-plugin-sourcemaps": "^0.6.3", + "rollup-plugin-sourcemaps2": "^0.5.4", "rollup-plugin-visualizer": "^5.12.0", "semantic-release": "^22.0.12", "size-limit": "^11.1.6", @@ -3273,41 +3273,6 @@ } } }, - "node_modules/@rollup/plugin-json/node_modules/@rollup/pluginutils": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.4.tgz", - "integrity": "sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==", - "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-json/node_modules/picomatch": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, "node_modules/@rollup/plugin-node-resolve": { "version": "16.0.0", "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-16.0.0.tgz", @@ -3405,10 +3370,11 @@ } }, "node_modules/@rollup/pluginutils": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.3.tgz", - "integrity": "sha512-Pnsb6f32CD2W3uCaLZIzDmeFyQ2b8UWMFI7xtwUezpcGBDVDW6y9XgAWIlARiGAo6eNF5FK5aQTr0LFyNyqq5A==", + "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", @@ -5146,19 +5112,6 @@ "node": ">= 4.0.0" } }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "dev": true, - "license": "(MIT OR Apache-2.0)", - "bin": { - "atob": "bin/atob.js" - }, - "engines": { - "node": ">= 4.5.0" - } - }, "node_modules/axios": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/axios/-/axios-1.9.0.tgz", @@ -6576,16 +6529,6 @@ } } }, - "node_modules/decode-uri-component": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", - "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10" - } - }, "node_modules/dedent": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", @@ -14608,22 +14551,21 @@ "fsevents": "~2.3.2" } }, - "node_modules/rollup-plugin-sourcemaps": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.6.3.tgz", - "integrity": "sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==", + "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": "^3.0.9", - "source-map-resolve": "^0.6.0" + "@rollup/pluginutils": "5.2.0" }, "engines": { - "node": ">=10.0.0" + "node": ">=18.0.0" }, "peerDependencies": { - "@types/node": ">=10.0.0", - "rollup": ">=0.31.2" + "@types/node": ">=18.0.0", + "rollup": ">=4" }, "peerDependenciesMeta": { "@types/node": { @@ -14631,38 +14573,6 @@ } } }, - "node_modules/rollup-plugin-sourcemaps/node_modules/@rollup/pluginutils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", - "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "0.0.39", - "estree-walker": "^1.0.1", - "picomatch": "^2.2.2" - }, - "engines": { - "node": ">= 8.0.0" - }, - "peerDependencies": { - "rollup": "^1.20.0||^2.0.0" - } - }, - "node_modules/rollup-plugin-sourcemaps/node_modules/@types/estree": { - "version": "0.0.39", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", - "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", - "dev": true, - "license": "MIT" - }, - "node_modules/rollup-plugin-sourcemaps/node_modules/estree-walker": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", - "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", - "dev": true, - "license": "MIT" - }, "node_modules/rollup-plugin-visualizer": { "version": "5.12.0", "resolved": "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.12.0.tgz", @@ -15505,18 +15415,6 @@ "node": ">=0.10.0" } }, - "node_modules/source-map-resolve": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.6.0.tgz", - "integrity": "sha512-KXBr9d/fO/bWo97NXsPIAW1bFSBOuCnjbNTBMO7N59hsv5i9yzRDfcYwwt0l04+VqnKC+EwzvJZIP/qkuMgR/w==", - "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated", - "dev": true, - "license": "MIT", - "dependencies": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0" - } - }, "node_modules/source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", diff --git a/package.json b/package.json index 2a64fd6bda..4d3e5ef030 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,7 @@ "puppeteer": "^24.4.0", "rimraf": "^5.0.0", "rollup": "^4.28.1", - "rollup-plugin-sourcemaps": "^0.6.3", + "rollup-plugin-sourcemaps2": "^0.5.4", "rollup-plugin-visualizer": "^5.12.0", "semantic-release": "^22.0.12", "size-limit": "^11.1.6", diff --git a/rollup.config.js b/rollup.config.js index d7f97cfe1f..67d35f90a0 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -13,7 +13,7 @@ import { optimizeLodashImports } from '@optimize-lodash/rollup-plugin' import { visualizer } from 'rollup-plugin-visualizer' import { babel } from '@rollup/plugin-babel' import typescript from '@rollup/plugin-typescript' -import sourcemaps from 'rollup-plugin-sourcemaps' +import sourcemaps from 'rollup-plugin-sourcemaps2' const __dirname = dirname(fileURLToPath(import.meta.url)) From 519c876a03b60ac525cac0ab65f59cf3852934ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 17 Sep 2025 11:26:33 +0200 Subject: [PATCH 23/48] build: add missing test dependency --- package-lock.json | 31 ++++++++++++++++++++++++------- package.json | 1 + 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5b29860b98..94fb2932bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,6 +23,7 @@ "@contentful/integration-test-utils": "^2.0.1", "@eslint/js": "^9.15.0", "@optimize-lodash/rollup-plugin": "^5.0.0", + "@playwright/test": "^1.55.0", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^28.0.2", @@ -3077,6 +3078,22 @@ "node": ">=14" } }, + "node_modules/@playwright/test": { + "version": "1.55.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.55.0.tgz", + "integrity": "sha512-04IXzPwHrW69XusN/SIdDdKZBzMfOT9UNT/YiJit/xpy2VuAoB8NHc8Aplb96zsWDddLnbkPL3TsmrS04ZU2xQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright": "1.55.0" + }, + "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", @@ -13786,13 +13803,13 @@ } }, "node_modules/playwright": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.52.0.tgz", - "integrity": "sha512-JAwMNMBlxJ2oD1kce4KPtMkDeKGHQstdpFPcPH3maElAXon/QZeTvtsfXmTMRyO9TslfoYOXkSsvao2nE1ilTw==", + "version": "1.55.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.55.0.tgz", + "integrity": "sha512-sdCWStblvV1YU909Xqx0DhOjPZE4/5lJsIS84IfN9dAZfcl/CIZ5O8l3o0j7hPMjDvqoTF8ZUcc+i/GL5erstA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.52.0" + "playwright-core": "1.55.0" }, "bin": { "playwright": "cli.js" @@ -13805,9 +13822,9 @@ } }, "node_modules/playwright-core": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.52.0.tgz", - "integrity": "sha512-l2osTgLXSMeuLZOML9qYODUQoPPnUsKsb5/P6LJ2e6uPKXUdPK5WYhN4z03G+YNbWmGDY4YENauNu4ZKczreHg==", + "version": "1.55.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.55.0.tgz", + "integrity": "sha512-GvZs4vU3U5ro2nZpeiwyb0zuFaqb9sUiAJuyrWpcGouD8y9/HLgGbNRjIph7zU9D3hnPaisMl9zG9CgFi/biIg==", "dev": true, "license": "Apache-2.0", "bin": { diff --git a/package.json b/package.json index 4d3e5ef030..7906352013 100644 --- a/package.json +++ b/package.json @@ -92,6 +92,7 @@ "@contentful/integration-test-utils": "^2.0.1", "@eslint/js": "^9.15.0", "@optimize-lodash/rollup-plugin": "^5.0.0", + "@playwright/test": "^1.55.0", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^28.0.2", From 3e38e85d603442bc43c1c7d8304bcd3079d8326a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Mon, 29 Sep 2025 13:40:59 +0200 Subject: [PATCH 24/48] fix: remove issues from merging master (especially removing updatePut) --- lib/adapters/REST/endpoints/concept-scheme.ts | 19 --- lib/adapters/REST/endpoints/concept.ts | 19 --- lib/adapters/REST/endpoints/release-asset.ts | 14 +-- lib/adapters/REST/endpoints/release-entry.ts | 10 +- lib/common-types.ts | 12 -- lib/plain/entities/concept-scheme.ts | 20 --- lib/plain/entities/concept.ts | 20 --- test/integration/taxonomy-integration.test.ts | 114 ------------------ .../REST/endpoints/concept-scheme.test.ts | 23 +--- .../adapters/REST/endpoints/concept.test.ts | 23 +--- 10 files changed, 14 insertions(+), 260 deletions(-) diff --git a/lib/adapters/REST/endpoints/concept-scheme.ts b/lib/adapters/REST/endpoints/concept-scheme.ts index fcc1128980..a0ad5ba8a6 100644 --- a/lib/adapters/REST/endpoints/concept-scheme.ts +++ b/lib/adapters/REST/endpoints/concept-scheme.ts @@ -112,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 56947cedf3..cdb7e92fe8 100644 --- a/lib/adapters/REST/endpoints/concept.ts +++ b/lib/adapters/REST/endpoints/concept.ts @@ -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/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/common-types.ts b/lib/common-types.ts index 50d61e89a9..07c48a1534 100644 --- a/lib/common-types.ts +++ b/lib/common-types.ts @@ -554,7 +554,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'> @@ -564,7 +563,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'> @@ -1384,11 +1382,6 @@ export type MRActions = { payload: CreateConceptProps return: ConceptProps } - updatePut: { - params: UpdateConceptParams - payload: CreateConceptProps - return: ConceptProps - } delete: { params: DeleteConceptParams return: void @@ -1435,11 +1428,6 @@ export type MRActions = { payload: ConceptSchemeProps return: ConceptSchemeProps } - updatePut: { - params: UpdateConceptSchemeParams - payload: CreateConceptSchemeProps - return: ConceptSchemeProps - } get: { params: GetConceptSchemeParams return: ConceptSchemeProps diff --git a/lib/plain/entities/concept-scheme.ts b/lib/plain/entities/concept-scheme.ts index b470cf6f05..b7c070a5ef 100644 --- a/lib/plain/entities/concept-scheme.ts +++ b/lib/plain/entities/concept-scheme.ts @@ -46,26 +46,6 @@ 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 diff --git a/lib/plain/entities/concept.ts b/lib/plain/entities/concept.ts index 875ca77e09..33cb0ab5cd 100644 --- a/lib/plain/entities/concept.ts +++ b/lib/plain/entities/concept.ts @@ -47,26 +47,6 @@ export type ConceptPlainClientAPI = { payload: CreateConceptProps, ): Promise - /** - * Update Concept - * @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); - * ``` - */ - update( - params: SetOptional, - payload: OpPatch[], - ): Promise - /** * Update Concept with PUT * @returns the updated Concept diff --git a/test/integration/taxonomy-integration.test.ts b/test/integration/taxonomy-integration.test.ts index 187347a721..7694293cf2 100644 --- a/test/integration/taxonomy-integration.test.ts +++ b/test/integration/taxonomy-integration.test.ts @@ -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.update( - { - 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.update( - { - 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/unit/adapters/REST/endpoints/concept-scheme.test.ts b/test/unit/adapters/REST/endpoints/concept-scheme.test.ts index e04342ac6f..a8c5342431 100644 --- a/test/unit/adapters/REST/endpoints/concept-scheme.test.ts +++ b/test/unit/adapters/REST/endpoints/concept-scheme.test.ts @@ -122,27 +122,6 @@ describe('ConceptScheme', () => { const { httpMock, adapterMock, entityMock } = setup(Promise.resolve({})) httpMock.patch.mockReturnValue(Promise.resolve({ data: entityMock })) - return adapterMock - .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', @@ -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 72fc009d37..bfef6c9f39 100644 --- a/test/unit/adapters/REST/endpoints/concept.test.ts +++ b/test/unit/adapters/REST/endpoints/concept.test.ts @@ -175,27 +175,6 @@ describe('Concept', () => { httpMock.patch.mockReturnValue(Promise.resolve({ data: entityMock })) - return adapterMock - .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', @@ -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', ) }) From 610cc45353d6e3addf7def9b673078198ed469bb Mon Sep 17 00:00:00 2001 From: Lisa White Date: Tue, 30 Sep 2025 15:42:30 -0600 Subject: [PATCH 25/48] fix: bump sdk-core to new beta version [] (#2768) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: bump sdk-core to new beta version [] * fix: remove lodash named imports * build: small dependency cleanup * build: fix lock file urls which used local verdaccio * chore: bump sdk-core to 10.0.0-beta.3 --------- Co-authored-by: Benedikt Rötsch --- package-lock.json | 163 +++++++----------- package.json | 8 +- rollup.config.js | 2 - .../bulk-action-integration.test.ts | 2 +- .../test-creators/static-entity-methods.ts | 3 +- 5 files changed, 73 insertions(+), 105 deletions(-) diff --git a/package-lock.json b/package-lock.json index 017ae64359..17690c353e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,9 +11,8 @@ "dependencies": { "@contentful/rich-text-types": "^16.6.1", "axios": "^1.11.0", - "contentful-sdk-core": "10.0.0-beta.1", + "contentful-sdk-core": "10.0.0-beta.3", "fast-copy": "^3.0.0", - "globals": "^15.15.0", "json-patch": "^0.7.0", "type-fest": "^4.18.3" }, @@ -22,7 +21,6 @@ "@babel/preset-env": "^7.24.3", "@contentful/integration-test-utils": "^2.0.1", "@eslint/js": "^9.15.0", - "@optimize-lodash/rollup-plugin": "^5.0.0", "@playwright/test": "^1.55.0", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-babel": "^6.0.4", @@ -41,16 +39,16 @@ "@vitest/coverage-v8": "^2.1.8", "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", "cz-conventional-changelog": "^3.3.0", "es-check": "^7.2.1", "eslint": "^9.15.0", + "globals": "^16.4.0", "husky": "^9.1.7", "in-publish": "^2.0.1", "jsonwebtoken": "^9.0.2", "lint-staged": "^15.2.5", - "lodash": "^4.17.20", + "lodash": "^4.17.21", "nodemon": "^3.1.2", "playwright": "^1.49.1", "prettier": "^3.6.2", @@ -3035,44 +3033,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@optimize-lodash/rollup-plugin": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@optimize-lodash/rollup-plugin/-/rollup-plugin-5.0.2.tgz", - "integrity": "sha512-UWBD9/C5jO0rDAbiqrZqiTLPD0LOHG3DzBo8ubLTpNWY9xOz5f5+S2yuxG/7ICk8sx8K6pZ8O/jsAbFgjtfh6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@optimize-lodash/transform": "3.0.6", - "@rollup/pluginutils": "^5.1.0" - }, - "engines": { - "node": ">= 18" - }, - "peerDependencies": { - "rollup": ">= 4.x" - } - }, - "node_modules/@optimize-lodash/transform": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/@optimize-lodash/transform/-/transform-3.0.6.tgz", - "integrity": "sha512-9+qMSaDpahC0+vX2ChM46/ls6a5Ankqs6RTLrHSaFpm7o1mFanP82e+jm9/0o5D660ueK8dWJGPCXQrBxBNNWA==", - "dev": true, - "license": "MIT", - "dependencies": { - "estree-walker": "^2.0.2", - "magic-string": "~0.30.11" - }, - "engines": { - "node": ">= 12" - } - }, - "node_modules/@optimize-lodash/transform/node_modules/estree-walker": { - "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" - }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -5159,6 +5119,24 @@ "dev": true, "license": "MIT" }, + "node_modules/async-function": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz", + "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/async-generator-function": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/async-generator-function/-/async-generator-function-1.0.0.tgz", + "integrity": "sha512-+NAXNqgCrB95ya4Sr66i1CL2hqLVckAk7xwRYWdcm39/ELQ6YNn1aw5r0bdQtqNZgQpEWzc5yc/igXc7aL5SLA==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -5337,20 +5315,6 @@ "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", @@ -5712,9 +5676,9 @@ } }, "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", @@ -5725,13 +5689,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" @@ -6296,19 +6260,19 @@ } }, "node_modules/contentful-sdk-core": { - "version": "10.0.0-beta.1", - "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-10.0.0-beta.1.tgz", - "integrity": "sha512-VrnutN1j1ZCYa2rAJldQyySz20ou4HjuaMk8XAR8+6jKmYwo084GTH9Hs2qfraWjDEyJXCE3uGnlKDCXdXCq0A==", + "version": "10.0.0-beta.3", + "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-10.0.0-beta.3.tgz", + "integrity": "sha512-ZT3IN0KM2/JC9R62C7+SUxQninkmepL89myUnrYSFxBJIXhJxunzRWBAavRoqp0b7zoEKqkcOhArr/L8+LovFg==", "license": "MIT", "dependencies": { + "axios": "^1.12.2", "fast-copy": "^3.0.2", - "lodash": "^4.17.21", - "p-throttle": "^6.1.0", - "process": "^0.11.10", + "lodash-es": "^4.17.21", + "p-throttle": "^8.0.0", "qs": "^6.12.3" }, "engines": { - "node": ">=18" + "node": ">=20" }, "optionalDependencies": { "@rollup/rollup-linux-x64-gnu": "^4.18.0" @@ -7960,6 +7924,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/generator-function": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/generator-function/-/generator-function-2.0.0.tgz", + "integrity": "sha512-xPypGGincdfyl/AiSGa7GjXLkvld9V7GjZlowup9SHIJnQnHLFiLODCd/DqKOp0PBagbHJ68r1KJI9Mut7m4sA==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", @@ -7995,17 +7968,20 @@ } }, "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.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.1.tgz", + "integrity": "sha512-fk1ZVEeOX9hVZ6QzoBNEC55+Ucqg4sTVwrVuigZhuRPESVFpMyXnd3sbXvPOwp7Y9riVyANiqhEuRF0G1aVSeQ==", "license": "MIT", "dependencies": { - "call-bind-apply-helpers": "^1.0.1", + "async-function": "^1.0.0", + "async-generator-function": "^1.0.0", + "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", + "generator-function": "^2.0.0", + "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", @@ -8197,9 +8173,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.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-16.4.0.tgz", + "integrity": "sha512-ob/2LcVVaVGCYN+r14cnwnoDPUufjiYgSqRhiFD0Q1iI4Odora5RE8Iv1D24hAz5oMophRGkGz+yuvQmmUMnMw==", + "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -9600,13 +9577,13 @@ "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.capitalize": { @@ -13343,9 +13320,9 @@ "license": "ISC" }, "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==", + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -13565,12 +13542,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.0.0", + "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-8.0.0.tgz", + "integrity": "sha512-kvpi14SZClZqNTLevyhCNQano1LH4clozDZoOdxnxyvEl17kjEKxkgD6to7mQMcWE4fMKAwbH0rLqm6Gjj7b2Q==", "license": "MIT", "engines": { - "node": ">=18" + "node": ">=20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -14018,6 +13995,7 @@ "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.6.0" @@ -14474,13 +14452,6 @@ "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", diff --git a/package.json b/package.json index a13cdc4ba3..f5eb80bef5 100644 --- a/package.json +++ b/package.json @@ -80,9 +80,8 @@ "dependencies": { "@contentful/rich-text-types": "^16.6.1", "axios": "^1.11.0", - "contentful-sdk-core": "10.0.0-beta.1", + "contentful-sdk-core": "10.0.0-beta.3", "fast-copy": "^3.0.0", - "globals": "^15.15.0", "json-patch": "^0.7.0", "type-fest": "^4.18.3" }, @@ -91,7 +90,6 @@ "@babel/preset-env": "^7.24.3", "@contentful/integration-test-utils": "^2.0.1", "@eslint/js": "^9.15.0", - "@optimize-lodash/rollup-plugin": "^5.0.0", "@playwright/test": "^1.55.0", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-babel": "^6.0.4", @@ -110,16 +108,16 @@ "@vitest/coverage-v8": "^2.1.8", "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", "cz-conventional-changelog": "^3.3.0", "es-check": "^7.2.1", "eslint": "^9.15.0", + "globals": "^16.4.0", "husky": "^9.1.7", "in-publish": "^2.0.1", "jsonwebtoken": "^9.0.2", "lint-staged": "^15.2.5", - "lodash": "^4.17.20", + "lodash": "^4.17.21", "nodemon": "^3.1.2", "playwright": "^1.49.1", "prettier": "^3.6.2", diff --git a/rollup.config.js b/rollup.config.js index 67d35f90a0..de9b6331e1 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -9,7 +9,6 @@ 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 { optimizeLodashImports } from '@optimize-lodash/rollup-plugin' import { visualizer } from 'rollup-plugin-visualizer' import { babel } from '@rollup/plugin-babel' import typescript from '@rollup/plugin-typescript' @@ -28,7 +27,6 @@ const baseConfig = { plugins: [ tsPlugin, sourcemaps(), - optimizeLodashImports(), replace({ preventAssignment: true, 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), diff --git a/test/integration/bulk-action-integration.test.ts b/test/integration/bulk-action-integration.test.ts index 7366ca99d2..58f0ad1031 100644 --- a/test/integration/bulk-action-integration.test.ts +++ b/test/integration/bulk-action-integration.test.ts @@ -1,6 +1,6 @@ /* 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, diff --git a/test/unit/test-creators/static-entity-methods.ts b/test/unit/test-creators/static-entity-methods.ts index 2e73a8991c..5dff0bd43d 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.js' -import { cloneDeep, upperFirst } from 'lodash' +import cloneDeep from 'lodash/cloneDeep' +import upperFirst from 'lodash/upperFirst' import { expect } from 'vitest' export async function makeGetEntityTest( From 2741a955a185b887ebec453470fe58d5384cf0d0 Mon Sep 17 00:00:00 2001 From: Lisa White Date: Wed, 1 Oct 2025 11:37:09 -0600 Subject: [PATCH 26/48] fix: trigger new beta release From 25f2faf6010006934e5e333b736611c58826dadf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 15 Oct 2025 12:48:34 +0200 Subject: [PATCH 27/48] build: update rollup dependencies --- package-lock.json | 249 +++++++++++++++++++++++++++------------------- package.json | 12 +-- 2 files changed, 153 insertions(+), 108 deletions(-) diff --git a/package-lock.json b/package-lock.json index 42f05713ce..2acff64a8d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,11 +22,11 @@ "@contentful/integration-test-utils": "^2.0.1", "@eslint/js": "^9.15.0", "@playwright/test": "^1.55.0", - "@rollup/plugin-alias": "^5.1.0", - "@rollup/plugin-babel": "^6.0.4", - "@rollup/plugin-commonjs": "^28.0.2", + "@rollup/plugin-alias": "^5.1.1", + "@rollup/plugin-babel": "^6.1.0", + "@rollup/plugin-commonjs": "^28.0.7", "@rollup/plugin-json": "^6.1.0", - "@rollup/plugin-node-resolve": "^16.0.0", + "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.4", @@ -55,9 +55,9 @@ "process": "^0.11.10", "puppeteer": "^24.4.0", "rimraf": "^5.0.0", - "rollup": "^4.28.1", + "rollup": "^4.52.4", "rollup-plugin-sourcemaps2": "^0.5.4", - "rollup-plugin-visualizer": "^5.12.0", + "rollup-plugin-visualizer": "^5.14.0", "semantic-release": "^22.0.12", "size-limit": "^11.1.6", "typedoc": "^0.27.5", @@ -3149,7 +3149,7 @@ }, "node_modules/@rollup/plugin-alias": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@rollup/plugin-alias/-/plugin-alias-5.1.1.tgz", + "resolved": "http://localhost:4873/@rollup/plugin-alias/-/plugin-alias-5.1.1.tgz", "integrity": "sha512-PR9zDb+rOzkRb2VD+EuKB7UC41vU5DIwZ5qqCpk0KJudcWAyi8rvYOhS7+L5aZCspw1stTViLgN5v6FF1p5cgQ==", "dev": true, "license": "MIT", @@ -3166,9 +3166,9 @@ } }, "node_modules/@rollup/plugin-babel": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-6.0.4.tgz", - "integrity": "sha512-YF7Y52kFdFT/xVSuVdjkV5ZdX/3YtmX0QulG+x0taQOtJdHYzVU61aSSkAgVJ7NOv6qPkIYiJSgSWWN/DM5sGw==", + "version": "6.1.0", + "resolved": "http://localhost:4873/@rollup/plugin-babel/-/plugin-babel-6.1.0.tgz", + "integrity": "sha512-dFZNuFD2YRcoomP4oYf+DvQNSUA9ih+A3vUqopQx5EdtPGo3WBnQcI/S8pwpz91UsGfL0HsMSOlaMld8HrbubA==", "dev": true, "license": "MIT", "dependencies": { @@ -3193,9 +3193,9 @@ } }, "node_modules/@rollup/plugin-commonjs": { - "version": "28.0.6", - "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.6.tgz", - "integrity": "sha512-XSQB1K7FUU5QP+3lOQmVCE3I0FcbbNvmNT4VJSj93iUjayaARrTQeoRdiYQoftAJBLrR9t2agwAd3ekaTgHNlw==", + "version": "28.0.7", + "resolved": "http://localhost:4873/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.7.tgz", + "integrity": "sha512-6cE2Wr/MkpdtTS8gXlCn9Zdmf7e9Xm96yFqOwFEXuvYLAHtjRf57/n6GEVF4K8NSesT1eKdBtcDA/SQdpW/8nA==", "dev": true, "license": "MIT", "dependencies": { @@ -3279,9 +3279,9 @@ } }, "node_modules/@rollup/plugin-node-resolve": { - "version": "16.0.1", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-16.0.1.tgz", - "integrity": "sha512-tk5YCxJWIG81umIvNkSod2qK5KyQW19qcBF/B78n1bjtOON6gzKoVeSzAE8yHCZEDmqkHKkxplExA8KzdJLJpA==", + "version": "16.0.3", + "resolved": "http://localhost:4873/@rollup/plugin-node-resolve/-/plugin-node-resolve-16.0.3.tgz", + "integrity": "sha512-lUYM3UBGuM93CnMPG1YocWu7X802BrNF3jW2zny5gQyLQgRFJhV1Sq0Zi74+dh/6NBx1DxFC4b4GXg9wUCG5Qg==", "dev": true, "license": "MIT", "dependencies": { @@ -3419,9 +3419,9 @@ } }, "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==", + "version": "4.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.52.4.tgz", + "integrity": "sha512-BTm2qKNnWIQ5auf4deoetINJm2JzvihvGb9R6K/ETwKLql/Bb3Eg2H1FBp1gUb4YGbydMA3jcmQTR73q7J+GAA==", "cpu": [ "arm" ], @@ -3433,9 +3433,9 @@ ] }, "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==", + "version": "4.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.52.4.tgz", + "integrity": "sha512-P9LDQiC5vpgGFgz7GSM6dKPCiqR3XYN1WwJKA4/BUVDjHpYsf3iBEmVz62uyq20NGYbiGPR5cNHI7T1HqxNs2w==", "cpu": [ "arm64" ], @@ -3447,9 +3447,9 @@ ] }, "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==", + "version": "4.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.52.4.tgz", + "integrity": "sha512-QRWSW+bVccAvZF6cbNZBJwAehmvG9NwfWHwMy4GbWi/BQIA/laTIktebT2ipVjNncqE6GLPxOok5hsECgAxGZg==", "cpu": [ "arm64" ], @@ -3461,9 +3461,9 @@ ] }, "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==", + "version": "4.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.52.4.tgz", + "integrity": "sha512-hZgP05pResAkRJxL1b+7yxCnXPGsXU0fG9Yfd6dUaoGk+FhdPKCJ5L1Sumyxn8kvw8Qi5PvQ8ulenUbRjzeCTw==", "cpu": [ "x64" ], @@ -3475,9 +3475,9 @@ ] }, "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==", + "version": "4.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.52.4.tgz", + "integrity": "sha512-xmc30VshuBNUd58Xk4TKAEcRZHaXlV+tCxIXELiE9sQuK3kG8ZFgSPi57UBJt8/ogfhAF5Oz4ZSUBN77weM+mQ==", "cpu": [ "arm64" ], @@ -3489,9 +3489,9 @@ ] }, "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==", + "version": "4.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.52.4.tgz", + "integrity": "sha512-WdSLpZFjOEqNZGmHflxyifolwAiZmDQzuOzIq9L27ButpCVpD7KzTRtEG1I0wMPFyiyUdOO+4t8GvrnBLQSwpw==", "cpu": [ "x64" ], @@ -3503,9 +3503,9 @@ ] }, "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==", + "version": "4.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.52.4.tgz", + "integrity": "sha512-xRiOu9Of1FZ4SxVbB0iEDXc4ddIcjCv2aj03dmW8UrZIW7aIQ9jVJdLBIhxBI+MaTnGAKyvMwPwQnoOEvP7FgQ==", "cpu": [ "arm" ], @@ -3517,9 +3517,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.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.52.4.tgz", + "integrity": "sha512-FbhM2p9TJAmEIEhIgzR4soUcsW49e9veAQCziwbR+XWB2zqJ12b4i/+hel9yLiD8pLncDH4fKIPIbt5238341Q==", "cpu": [ "arm" ], @@ -3531,9 +3531,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.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.52.4.tgz", + "integrity": "sha512-4n4gVwhPHR9q/g8lKCyz0yuaD0MvDf7dV4f9tHt0C73Mp8h38UCtSCSE6R9iBlTbXlmA8CjpsZoujhszefqueg==", "cpu": [ "arm64" ], @@ -3545,9 +3545,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.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.52.4.tgz", + "integrity": "sha512-u0n17nGA0nvi/11gcZKsjkLj1QIpAuPFQbR48Subo7SmZJnGxDpspyw2kbpuoQnyK+9pwf3pAoEXerJs/8Mi9g==", "cpu": [ "arm64" ], @@ -3558,10 +3558,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.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.52.4.tgz", + "integrity": "sha512-0G2c2lpYtbTuXo8KEJkDkClE/+/2AFPdPAbmaHoE870foRFs4pBrDehilMcrSScrN/fB/1HTaWO4bqw+ewBzMQ==", "cpu": [ "loong64" ], @@ -3572,10 +3572,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.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.52.4.tgz", + "integrity": "sha512-teSACug1GyZHmPDv14VNbvZFX779UqWTsd7KtTM9JIZRDI5NUwYSIS30kzI8m06gOPB//jtpqlhmraQ68b5X2g==", "cpu": [ "ppc64" ], @@ -3587,9 +3587,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.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.52.4.tgz", + "integrity": "sha512-/MOEW3aHjjs1p4Pw1Xk4+3egRevx8Ji9N6HUIA1Ifh8Q+cg9dremvFCUbOX2Zebz80BwJIgCBUemjqhU5XI5Eg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.52.4.tgz", + "integrity": "sha512-1HHmsRyh845QDpEWzOFtMCph5Ts+9+yllCrREuBR/vg2RogAQGGBRC8lDPrPOMnrdOJ+mt1WLMOC2Kao/UwcvA==", "cpu": [ "riscv64" ], @@ -3601,9 +3615,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.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.52.4.tgz", + "integrity": "sha512-seoeZp4L/6D1MUyjWkOMRU6/iLmCU2EjbMTyAG4oIOs1/I82Y5lTeaxW0KBfkUdHAWN7j25bpkt0rjnOgAcQcA==", "cpu": [ "s390x" ], @@ -3615,9 +3629,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.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.4.tgz", + "integrity": "sha512-Wi6AXf0k0L7E2gteNsNHUs7UMwCIhsCTs6+tqQ5GPwVRWMaflqGec4Sd8n6+FNFDw9vGcReqk2KzBDhCa1DLYg==", "cpu": [ "x64" ], @@ -3628,9 +3642,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.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.52.4.tgz", + "integrity": "sha512-dtBZYjDmCQ9hW+WgEkaffvRRCKm767wWhxsFW3Lw86VXz/uJRuD438/XvbZT//B96Vs8oTA8Q4A0AfHbrxP9zw==", "cpu": [ "x64" ], @@ -3641,10 +3655,24 @@ "linux" ] }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.52.4.tgz", + "integrity": "sha512-1ox+GqgRWqaB1RnyZXL8PD6E5f7YyRUJYnCqKpNzxzP0TkaUh112NDrR9Tt+C8rJ4x5G9Mk8PQR3o7Ku2RKqKA==", + "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.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.52.4.tgz", + "integrity": "sha512-8GKr640PdFNXwzIE0IrkMWUNUomILLkfeHjXBi/nUvFlpZP+FA8BKGKpacjW6OUUHaNI6sUURxR2U2g78FOHWQ==", "cpu": [ "arm64" ], @@ -3656,9 +3684,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.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.52.4.tgz", + "integrity": "sha512-AIy/jdJ7WtJ/F6EcfOb2GjR9UweO0n43jNObQMb6oGxkYTfLcnN7vYYpG+CN3lLxrQkzWnMOoNSHTW54pgbVxw==", "cpu": [ "ia32" ], @@ -3669,10 +3697,24 @@ "win32" ] }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.52.4.tgz", + "integrity": "sha512-UF9KfsH9yEam0UjTwAgdK0anlQ7c8/pWPU2yVjyWcF1I1thABt6WXE47cI71pGiZ8wGvxohBoLnxM04L/wj8mQ==", + "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.52.4", + "resolved": "http://localhost:4873/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.52.4.tgz", + "integrity": "sha512-bf9PtUa0u8IXDVxzRToFQKsNCRz9qLYfR/MpECxl4mRoWYjAeFjgxj1XdZr2M/GNVpT05p+LgQOHopYDlUu6/w==", "cpu": [ "x64" ], @@ -4141,9 +4183,9 @@ } }, "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": "http://localhost:4873/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", "dev": true, "license": "MIT" }, @@ -14633,13 +14675,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.52.4", + "resolved": "http://localhost:4873/rollup/-/rollup-4.52.4.tgz", + "integrity": "sha512-CLEVl+MnPAiKh5pl4dEWSyMTpuflgNQiLGhMv8ezD5W/qP8AKvmYpCOKRRNOh7oRKnauBZ4SyeYkMS+1VSyKwQ==", "dev": true, "license": "MIT", "dependencies": { - "@types/estree": "1.0.6" + "@types/estree": "1.0.8" }, "bin": { "rollup": "dist/bin/rollup" @@ -14649,25 +14691,28 @@ "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.52.4", + "@rollup/rollup-android-arm64": "4.52.4", + "@rollup/rollup-darwin-arm64": "4.52.4", + "@rollup/rollup-darwin-x64": "4.52.4", + "@rollup/rollup-freebsd-arm64": "4.52.4", + "@rollup/rollup-freebsd-x64": "4.52.4", + "@rollup/rollup-linux-arm-gnueabihf": "4.52.4", + "@rollup/rollup-linux-arm-musleabihf": "4.52.4", + "@rollup/rollup-linux-arm64-gnu": "4.52.4", + "@rollup/rollup-linux-arm64-musl": "4.52.4", + "@rollup/rollup-linux-loong64-gnu": "4.52.4", + "@rollup/rollup-linux-ppc64-gnu": "4.52.4", + "@rollup/rollup-linux-riscv64-gnu": "4.52.4", + "@rollup/rollup-linux-riscv64-musl": "4.52.4", + "@rollup/rollup-linux-s390x-gnu": "4.52.4", + "@rollup/rollup-linux-x64-gnu": "4.52.4", + "@rollup/rollup-linux-x64-musl": "4.52.4", + "@rollup/rollup-openharmony-arm64": "4.52.4", + "@rollup/rollup-win32-arm64-msvc": "4.52.4", + "@rollup/rollup-win32-ia32-msvc": "4.52.4", + "@rollup/rollup-win32-x64-gnu": "4.52.4", + "@rollup/rollup-win32-x64-msvc": "4.52.4", "fsevents": "~2.3.2" } }, @@ -14738,7 +14783,7 @@ }, "node_modules/rollup-plugin-visualizer": { "version": "5.14.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.14.0.tgz", + "resolved": "http://localhost:4873/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.14.0.tgz", "integrity": "sha512-VlDXneTDaKsHIw8yzJAFWtrzguoJ/LnQ+lMpoVfYJ3jJF4Ihe5oYLAqLklIK/35lgUY+1yEzCkHyZ1j4A5w5fA==", "dev": true, "license": "MIT", diff --git a/package.json b/package.json index 1c4c64b1e6..e9c380aa5b 100644 --- a/package.json +++ b/package.json @@ -91,11 +91,11 @@ "@contentful/integration-test-utils": "^2.0.1", "@eslint/js": "^9.15.0", "@playwright/test": "^1.55.0", - "@rollup/plugin-alias": "^5.1.0", - "@rollup/plugin-babel": "^6.0.4", - "@rollup/plugin-commonjs": "^28.0.2", + "@rollup/plugin-alias": "^5.1.1", + "@rollup/plugin-babel": "^6.1.0", + "@rollup/plugin-commonjs": "^28.0.7", "@rollup/plugin-json": "^6.1.0", - "@rollup/plugin-node-resolve": "^16.0.0", + "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.4", @@ -124,9 +124,9 @@ "process": "^0.11.10", "puppeteer": "^24.4.0", "rimraf": "^5.0.0", - "rollup": "^4.28.1", + "rollup": "^4.52.4", "rollup-plugin-sourcemaps2": "^0.5.4", - "rollup-plugin-visualizer": "^5.12.0", + "rollup-plugin-visualizer": "^5.14.0", "semantic-release": "^22.0.12", "size-limit": "^11.1.6", "typedoc": "^0.27.5", From 18d24b45429b524f8504ceb961fe1472ff974bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 15 Oct 2025 16:47:19 +0200 Subject: [PATCH 28/48] refactor: avoid mix of default and named exports which rollup complained about --- lib/constants/editor-interface-defaults/controls-defaults.ts | 2 +- lib/constants/editor-interface-defaults/index.ts | 2 +- lib/entities/app-action-call.ts | 2 +- lib/entities/comment.ts | 2 +- lib/entities/scheduled-action.ts | 2 +- lib/entities/tag.ts | 2 +- lib/entities/task.ts | 2 +- test/unit/constants/controls-defaults.test.ts | 3 ++- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/lib/constants/editor-interface-defaults/controls-defaults.ts b/lib/constants/editor-interface-defaults/controls-defaults.ts index 33c0d20c7b..d67666d55d 100644 --- a/lib/constants/editor-interface-defaults/controls-defaults.ts +++ b/lib/constants/editor-interface-defaults/controls-defaults.ts @@ -175,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/index.ts b/lib/constants/editor-interface-defaults/index.ts index 31ff29bf1c..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.js' import { EntryConfiguration } from './editors-defaults.js' -import getDefaultControlOfField from './controls-defaults.js' +import { getDefaultControlOfField } from './controls-defaults.js' export default { SidebarEntryConfiguration, diff --git a/lib/entities/app-action-call.ts b/lib/entities/app-action-call.ts index 6430af1dff..219f83558d 100644 --- a/lib/entities/app-action-call.ts +++ b/lib/entities/app-action-call.ts @@ -102,7 +102,7 @@ export type AppActionCall = AppActionCallProps & DefaultElements ({ spaceId: comment.sys.space.sys.id, environmentId: comment.sys.environment.sys.id, diff --git a/lib/entities/scheduled-action.ts b/lib/entities/scheduled-action.ts index 835e39aae2..3bd64295a3 100644 --- a/lib/entities/scheduled-action.ts +++ b/lib/entities/scheduled-action.ts @@ -126,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/tag.ts b/lib/entities/tag.ts index 3ce1e10a01..94e7f4881d 100644 --- a/lib/entities/tag.ts +++ b/lib/entities/tag.ts @@ -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 8a85473bc8..fd31719922 100644 --- a/lib/entities/task.ts +++ b/lib/entities/task.ts @@ -48,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/test/unit/constants/controls-defaults.test.ts b/test/unit/constants/controls-defaults.test.ts index 5bd36bf577..e182740817 100644 --- a/test/unit/constants/controls-defaults.test.ts +++ b/test/unit/constants/controls-defaults.test.ts @@ -1,8 +1,9 @@ import { it, describe, test, expect } from 'vitest' -import getDefaultControlOfField, { +import { DEFAULTS_WIDGET, FIELD_TYPES, toApiFieldType, + getDefaultControlOfField, } from '../../../lib/constants/editor-interface-defaults/controls-defaults.js' const baseField = { id: 'mockedId', name: 'mockedName', required: false, localized: false } From eb63161ef31790a1025914e6f11323c904f878bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 15 Oct 2025 16:47:56 +0200 Subject: [PATCH 29/48] fix: browser bundle is no more suggested for browser builds, because that would defeat tree shaking --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index e9c380aa5b..68aca7493a 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,6 @@ ".": { "types": "./dist/types/index.d.ts", "node": "./dist/contentful-management.node.cjs", - "browser": "./dist/contentful-management.browser.cjs", "react-native": "./dist/contentful-management.react-native.cjs", "require": "./dist/cjs/index.cjs", "default": "./dist/esm/index.js" From bea7a2b6326acc8f1c973f42548d7db9833f8590 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 15 Oct 2025 16:48:54 +0200 Subject: [PATCH 30/48] build: move to esm only version of type-fest --- package-lock.json | 79 +++++++++++++++++++++++++++++++++++++++++++---- package.json | 2 +- 2 files changed, 74 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2acff64a8d..647bd52a40 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "contentful-sdk-core": "10.0.0-beta.3", "fast-copy": "^3.0.0", "json-patch": "^0.7.0", - "type-fest": "^4.18.3" + "type-fest": "^5.1.0" }, "devDependencies": { "@babel/plugin-transform-runtime": "^7.24.7", @@ -6301,9 +6301,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/contentful-management/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "http://localhost:4873/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": "10.0.0-beta.3", - "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-10.0.0-beta.3.tgz", + "resolved": "http://localhost:4873/contentful-sdk-core/-/contentful-sdk-core-10.0.0-beta.3.tgz", "integrity": "sha512-ZT3IN0KM2/JC9R62C7+SUxQninkmepL89myUnrYSFxBJIXhJxunzRWBAavRoqp0b7zoEKqkcOhArr/L8+LovFg==", "license": "MIT", "dependencies": { @@ -10365,6 +10378,19 @@ "dev": true, "license": "MIT" }, + "node_modules/msw/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "http://localhost:4873/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/mute-stream": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", @@ -14327,6 +14353,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/read-pkg-up/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "http://localhost:4873/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-pkg/node_modules/parse-json": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.1.0.tgz", @@ -14345,6 +14384,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/read-pkg/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "http://localhost:4873/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", @@ -16014,6 +16066,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/tagged-tag": { + "version": "1.0.0", + "resolved": "http://localhost:4873/tagged-tag/-/tagged-tag-1.0.0.tgz", + "integrity": "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==", + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/tapable": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", @@ -16545,12 +16609,15 @@ } }, "node_modules/type-fest": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", - "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "version": "5.1.0", + "resolved": "http://localhost:4873/type-fest/-/type-fest-5.1.0.tgz", + "integrity": "sha512-wQ531tuWvB6oK+pchHIu5lHe5f5wpSCqB8Kf4dWQRbOYc9HTge7JL0G4Qd44bh6QuJCccIzL3bugb8GI0MwHrg==", "license": "(MIT OR CC0-1.0)", + "dependencies": { + "tagged-tag": "^1.0.0" + }, "engines": { - "node": ">=16" + "node": ">=20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" diff --git a/package.json b/package.json index 68aca7493a..851eae8f14 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "contentful-sdk-core": "10.0.0-beta.3", "fast-copy": "^3.0.0", "json-patch": "^0.7.0", - "type-fest": "^4.18.3" + "type-fest": "^5.1.0" }, "devDependencies": { "@babel/plugin-transform-runtime": "^7.24.7", From 81dd0a305804e1ed444600aaddd155ba86a0a202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 15 Oct 2025 16:50:04 +0200 Subject: [PATCH 31/48] build: fix lock file urls which used local verdaccio --- package-lock.json | 72 +++++++++++++++++++++++------------------------ 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/package-lock.json b/package-lock.json index 647bd52a40..74abbd2464 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3149,7 +3149,7 @@ }, "node_modules/@rollup/plugin-alias": { "version": "5.1.1", - "resolved": "http://localhost:4873/@rollup/plugin-alias/-/plugin-alias-5.1.1.tgz", + "resolved": "https://registry.npmjs.org/@rollup/plugin-alias/-/plugin-alias-5.1.1.tgz", "integrity": "sha512-PR9zDb+rOzkRb2VD+EuKB7UC41vU5DIwZ5qqCpk0KJudcWAyi8rvYOhS7+L5aZCspw1stTViLgN5v6FF1p5cgQ==", "dev": true, "license": "MIT", @@ -3167,7 +3167,7 @@ }, "node_modules/@rollup/plugin-babel": { "version": "6.1.0", - "resolved": "http://localhost:4873/@rollup/plugin-babel/-/plugin-babel-6.1.0.tgz", + "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-6.1.0.tgz", "integrity": "sha512-dFZNuFD2YRcoomP4oYf+DvQNSUA9ih+A3vUqopQx5EdtPGo3WBnQcI/S8pwpz91UsGfL0HsMSOlaMld8HrbubA==", "dev": true, "license": "MIT", @@ -3194,7 +3194,7 @@ }, "node_modules/@rollup/plugin-commonjs": { "version": "28.0.7", - "resolved": "http://localhost:4873/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.7.tgz", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.7.tgz", "integrity": "sha512-6cE2Wr/MkpdtTS8gXlCn9Zdmf7e9Xm96yFqOwFEXuvYLAHtjRf57/n6GEVF4K8NSesT1eKdBtcDA/SQdpW/8nA==", "dev": true, "license": "MIT", @@ -3280,7 +3280,7 @@ }, "node_modules/@rollup/plugin-node-resolve": { "version": "16.0.3", - "resolved": "http://localhost:4873/@rollup/plugin-node-resolve/-/plugin-node-resolve-16.0.3.tgz", + "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", @@ -3420,7 +3420,7 @@ }, "node_modules/@rollup/rollup-android-arm-eabi": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.52.4.tgz", "integrity": "sha512-BTm2qKNnWIQ5auf4deoetINJm2JzvihvGb9R6K/ETwKLql/Bb3Eg2H1FBp1gUb4YGbydMA3jcmQTR73q7J+GAA==", "cpu": [ "arm" @@ -3434,7 +3434,7 @@ }, "node_modules/@rollup/rollup-android-arm64": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.52.4.tgz", "integrity": "sha512-P9LDQiC5vpgGFgz7GSM6dKPCiqR3XYN1WwJKA4/BUVDjHpYsf3iBEmVz62uyq20NGYbiGPR5cNHI7T1HqxNs2w==", "cpu": [ "arm64" @@ -3448,7 +3448,7 @@ }, "node_modules/@rollup/rollup-darwin-arm64": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.52.4.tgz", "integrity": "sha512-QRWSW+bVccAvZF6cbNZBJwAehmvG9NwfWHwMy4GbWi/BQIA/laTIktebT2ipVjNncqE6GLPxOok5hsECgAxGZg==", "cpu": [ "arm64" @@ -3462,7 +3462,7 @@ }, "node_modules/@rollup/rollup-darwin-x64": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.52.4.tgz", "integrity": "sha512-hZgP05pResAkRJxL1b+7yxCnXPGsXU0fG9Yfd6dUaoGk+FhdPKCJ5L1Sumyxn8kvw8Qi5PvQ8ulenUbRjzeCTw==", "cpu": [ "x64" @@ -3476,7 +3476,7 @@ }, "node_modules/@rollup/rollup-freebsd-arm64": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.52.4.tgz", "integrity": "sha512-xmc30VshuBNUd58Xk4TKAEcRZHaXlV+tCxIXELiE9sQuK3kG8ZFgSPi57UBJt8/ogfhAF5Oz4ZSUBN77weM+mQ==", "cpu": [ "arm64" @@ -3490,7 +3490,7 @@ }, "node_modules/@rollup/rollup-freebsd-x64": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.52.4.tgz", "integrity": "sha512-WdSLpZFjOEqNZGmHflxyifolwAiZmDQzuOzIq9L27ButpCVpD7KzTRtEG1I0wMPFyiyUdOO+4t8GvrnBLQSwpw==", "cpu": [ "x64" @@ -3504,7 +3504,7 @@ }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.52.4.tgz", "integrity": "sha512-xRiOu9Of1FZ4SxVbB0iEDXc4ddIcjCv2aj03dmW8UrZIW7aIQ9jVJdLBIhxBI+MaTnGAKyvMwPwQnoOEvP7FgQ==", "cpu": [ "arm" @@ -3518,7 +3518,7 @@ }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.52.4.tgz", "integrity": "sha512-FbhM2p9TJAmEIEhIgzR4soUcsW49e9veAQCziwbR+XWB2zqJ12b4i/+hel9yLiD8pLncDH4fKIPIbt5238341Q==", "cpu": [ "arm" @@ -3532,7 +3532,7 @@ }, "node_modules/@rollup/rollup-linux-arm64-gnu": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.52.4.tgz", "integrity": "sha512-4n4gVwhPHR9q/g8lKCyz0yuaD0MvDf7dV4f9tHt0C73Mp8h38UCtSCSE6R9iBlTbXlmA8CjpsZoujhszefqueg==", "cpu": [ "arm64" @@ -3546,7 +3546,7 @@ }, "node_modules/@rollup/rollup-linux-arm64-musl": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.52.4.tgz", "integrity": "sha512-u0n17nGA0nvi/11gcZKsjkLj1QIpAuPFQbR48Subo7SmZJnGxDpspyw2kbpuoQnyK+9pwf3pAoEXerJs/8Mi9g==", "cpu": [ "arm64" @@ -3560,7 +3560,7 @@ }, "node_modules/@rollup/rollup-linux-loong64-gnu": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.52.4.tgz", "integrity": "sha512-0G2c2lpYtbTuXo8KEJkDkClE/+/2AFPdPAbmaHoE870foRFs4pBrDehilMcrSScrN/fB/1HTaWO4bqw+ewBzMQ==", "cpu": [ "loong64" @@ -3574,7 +3574,7 @@ }, "node_modules/@rollup/rollup-linux-ppc64-gnu": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.52.4.tgz", "integrity": "sha512-teSACug1GyZHmPDv14VNbvZFX779UqWTsd7KtTM9JIZRDI5NUwYSIS30kzI8m06gOPB//jtpqlhmraQ68b5X2g==", "cpu": [ "ppc64" @@ -3588,7 +3588,7 @@ }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.52.4.tgz", "integrity": "sha512-/MOEW3aHjjs1p4Pw1Xk4+3egRevx8Ji9N6HUIA1Ifh8Q+cg9dremvFCUbOX2Zebz80BwJIgCBUemjqhU5XI5Eg==", "cpu": [ "riscv64" @@ -3602,7 +3602,7 @@ }, "node_modules/@rollup/rollup-linux-riscv64-musl": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.52.4.tgz", "integrity": "sha512-1HHmsRyh845QDpEWzOFtMCph5Ts+9+yllCrREuBR/vg2RogAQGGBRC8lDPrPOMnrdOJ+mt1WLMOC2Kao/UwcvA==", "cpu": [ "riscv64" @@ -3616,7 +3616,7 @@ }, "node_modules/@rollup/rollup-linux-s390x-gnu": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.52.4.tgz", "integrity": "sha512-seoeZp4L/6D1MUyjWkOMRU6/iLmCU2EjbMTyAG4oIOs1/I82Y5lTeaxW0KBfkUdHAWN7j25bpkt0rjnOgAcQcA==", "cpu": [ "s390x" @@ -3630,7 +3630,7 @@ }, "node_modules/@rollup/rollup-linux-x64-gnu": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.4.tgz", "integrity": "sha512-Wi6AXf0k0L7E2gteNsNHUs7UMwCIhsCTs6+tqQ5GPwVRWMaflqGec4Sd8n6+FNFDw9vGcReqk2KzBDhCa1DLYg==", "cpu": [ "x64" @@ -3643,7 +3643,7 @@ }, "node_modules/@rollup/rollup-linux-x64-musl": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.52.4.tgz", "integrity": "sha512-dtBZYjDmCQ9hW+WgEkaffvRRCKm767wWhxsFW3Lw86VXz/uJRuD438/XvbZT//B96Vs8oTA8Q4A0AfHbrxP9zw==", "cpu": [ "x64" @@ -3657,7 +3657,7 @@ }, "node_modules/@rollup/rollup-openharmony-arm64": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.52.4.tgz", "integrity": "sha512-1ox+GqgRWqaB1RnyZXL8PD6E5f7YyRUJYnCqKpNzxzP0TkaUh112NDrR9Tt+C8rJ4x5G9Mk8PQR3o7Ku2RKqKA==", "cpu": [ "arm64" @@ -3671,7 +3671,7 @@ }, "node_modules/@rollup/rollup-win32-arm64-msvc": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.52.4.tgz", "integrity": "sha512-8GKr640PdFNXwzIE0IrkMWUNUomILLkfeHjXBi/nUvFlpZP+FA8BKGKpacjW6OUUHaNI6sUURxR2U2g78FOHWQ==", "cpu": [ "arm64" @@ -3685,7 +3685,7 @@ }, "node_modules/@rollup/rollup-win32-ia32-msvc": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.52.4.tgz", "integrity": "sha512-AIy/jdJ7WtJ/F6EcfOb2GjR9UweO0n43jNObQMb6oGxkYTfLcnN7vYYpG+CN3lLxrQkzWnMOoNSHTW54pgbVxw==", "cpu": [ "ia32" @@ -3699,7 +3699,7 @@ }, "node_modules/@rollup/rollup-win32-x64-gnu": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.52.4.tgz", "integrity": "sha512-UF9KfsH9yEam0UjTwAgdK0anlQ7c8/pWPU2yVjyWcF1I1thABt6WXE47cI71pGiZ8wGvxohBoLnxM04L/wj8mQ==", "cpu": [ "x64" @@ -3713,7 +3713,7 @@ }, "node_modules/@rollup/rollup-win32-x64-msvc": { "version": "4.52.4", - "resolved": "http://localhost:4873/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.52.4.tgz", "integrity": "sha512-bf9PtUa0u8IXDVxzRToFQKsNCRz9qLYfR/MpECxl4mRoWYjAeFjgxj1XdZr2M/GNVpT05p+LgQOHopYDlUu6/w==", "cpu": [ "x64" @@ -4184,7 +4184,7 @@ }, "node_modules/@types/estree": { "version": "1.0.8", - "resolved": "http://localhost:4873/@types/estree/-/estree-1.0.8.tgz", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", "dev": true, "license": "MIT" @@ -6303,7 +6303,7 @@ }, "node_modules/contentful-management/node_modules/type-fest": { "version": "4.41.0", - "resolved": "http://localhost:4873/type-fest/-/type-fest-4.41.0.tgz", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", "dev": true, "license": "(MIT OR CC0-1.0)", @@ -6316,7 +6316,7 @@ }, "node_modules/contentful-sdk-core": { "version": "10.0.0-beta.3", - "resolved": "http://localhost:4873/contentful-sdk-core/-/contentful-sdk-core-10.0.0-beta.3.tgz", + "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-10.0.0-beta.3.tgz", "integrity": "sha512-ZT3IN0KM2/JC9R62C7+SUxQninkmepL89myUnrYSFxBJIXhJxunzRWBAavRoqp0b7zoEKqkcOhArr/L8+LovFg==", "license": "MIT", "dependencies": { @@ -10380,7 +10380,7 @@ }, "node_modules/msw/node_modules/type-fest": { "version": "4.41.0", - "resolved": "http://localhost:4873/type-fest/-/type-fest-4.41.0.tgz", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", "dev": true, "license": "(MIT OR CC0-1.0)", @@ -14355,7 +14355,7 @@ }, "node_modules/read-pkg-up/node_modules/type-fest": { "version": "4.41.0", - "resolved": "http://localhost:4873/type-fest/-/type-fest-4.41.0.tgz", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", "dev": true, "license": "(MIT OR CC0-1.0)", @@ -14386,7 +14386,7 @@ }, "node_modules/read-pkg/node_modules/type-fest": { "version": "4.41.0", - "resolved": "http://localhost:4873/type-fest/-/type-fest-4.41.0.tgz", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", "dev": true, "license": "(MIT OR CC0-1.0)", @@ -14728,7 +14728,7 @@ }, "node_modules/rollup": { "version": "4.52.4", - "resolved": "http://localhost:4873/rollup/-/rollup-4.52.4.tgz", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.52.4.tgz", "integrity": "sha512-CLEVl+MnPAiKh5pl4dEWSyMTpuflgNQiLGhMv8ezD5W/qP8AKvmYpCOKRRNOh7oRKnauBZ4SyeYkMS+1VSyKwQ==", "dev": true, "license": "MIT", @@ -14835,7 +14835,7 @@ }, "node_modules/rollup-plugin-visualizer": { "version": "5.14.0", - "resolved": "http://localhost:4873/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.14.0.tgz", + "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", @@ -16068,7 +16068,7 @@ }, "node_modules/tagged-tag": { "version": "1.0.0", - "resolved": "http://localhost:4873/tagged-tag/-/tagged-tag-1.0.0.tgz", + "resolved": "https://registry.npmjs.org/tagged-tag/-/tagged-tag-1.0.0.tgz", "integrity": "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==", "license": "MIT", "engines": { @@ -16610,7 +16610,7 @@ }, "node_modules/type-fest": { "version": "5.1.0", - "resolved": "http://localhost:4873/type-fest/-/type-fest-5.1.0.tgz", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.1.0.tgz", "integrity": "sha512-wQ531tuWvB6oK+pchHIu5lHe5f5wpSCqB8Kf4dWQRbOYc9HTge7JL0G4Qd44bh6QuJCccIzL3bugb8GI0MwHrg==", "license": "(MIT OR CC0-1.0)", "dependencies": { From 13de7b2203d82c45f1bea1f065a384e99e424967 Mon Sep 17 00:00:00 2001 From: Lisa White Date: Fri, 17 Oct 2025 11:37:16 -0600 Subject: [PATCH 32/48] fix: bump sdk-core to 10.0.0-beta.5 --- package-lock.json | 59 ++++++++++++++++++++++++++++++++++++++++++----- package.json | 2 +- 2 files changed, 54 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index e1adf7de0c..5af50e4e92 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@contentful/rich-text-types": "^16.6.1", "axios": "^1.12.2", - "contentful-sdk-core": "10.0.0-beta.3", + "contentful-sdk-core": "10.0.0-beta.5", "fast-copy": "^3.0.0", "json-patch": "^0.7.0", "type-fest": "^5.1.0" @@ -3063,6 +3063,53 @@ "node": ">=18" } }, + "node_modules/@playwright/test/node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/@playwright/test/node_modules/playwright": { + "version": "1.55.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.55.1.tgz", + "integrity": "sha512-cJW4Xd/G3v5ovXtJJ52MAOclqeac9S/aGGgRzLabuF8TnIb6xHvMzKIa6JmrRzUkeXJgfL1MhukP0NK6l39h3A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright-core": "1.55.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "fsevents": "2.3.2" + } + }, + "node_modules/@playwright/test/node_modules/playwright-core": { + "version": "1.55.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.55.1.tgz", + "integrity": "sha512-Z6Mh9mkwX+zxSlHqdr5AOcJnfp+xUWLCt9uKV18fhzA8eyxUd8NUWzAjxUh55RZKSYwDGX0cfaySdhZJGMoJ+w==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "playwright-core": "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", @@ -6318,22 +6365,23 @@ } }, "node_modules/contentful-sdk-core": { - "version": "10.0.0-beta.3", - "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-10.0.0-beta.3.tgz", - "integrity": "sha512-ZT3IN0KM2/JC9R62C7+SUxQninkmepL89myUnrYSFxBJIXhJxunzRWBAavRoqp0b7zoEKqkcOhArr/L8+LovFg==", + "version": "10.0.0-beta.5", + "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-10.0.0-beta.5.tgz", + "integrity": "sha512-ixj7XgDdP5Al535U4zojcVkjkdV4gyDAsKkt8oOJKqAc5Osi4qPkeb4eVcp9LSru9GSx19EsbYlNQYSNzR/VJw==", "license": "MIT", "dependencies": { "axios": "^1.12.2", "fast-copy": "^3.0.2", "lodash-es": "^4.17.21", "p-throttle": "^8.0.0", + "process": "^0.11.10", "qs": "^6.12.3" }, "engines": { "node": ">=20" }, "optionalDependencies": { - "@rollup/rollup-linux-x64-gnu": "^4.18.0" + "@rollup/rollup-linux-x64-gnu": "^4.52.4" } }, "node_modules/contentful-sdk-jsdoc": { @@ -14066,7 +14114,6 @@ "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", - "dev": true, "license": "MIT", "engines": { "node": ">= 0.6.0" diff --git a/package.json b/package.json index 851eae8f14..2f7decd4f6 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "dependencies": { "@contentful/rich-text-types": "^16.6.1", "axios": "^1.12.2", - "contentful-sdk-core": "10.0.0-beta.3", + "contentful-sdk-core": "10.0.0-beta.5", "fast-copy": "^3.0.0", "json-patch": "^0.7.0", "type-fest": "^5.1.0" From 3133c21f589e73847adcb614063e3f3b38eb8b73 Mon Sep 17 00:00:00 2001 From: Lisa White Date: Fri, 17 Oct 2025 12:54:49 -0600 Subject: [PATCH 33/48] fix: trigger new beta release From 2424a15a2f3663c92ef753aae1b3a695ff2f9deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Mon, 20 Oct 2025 15:51:19 +0200 Subject: [PATCH 34/48] fix: restore react-native compatability --- package.json | 7 ++----- rollup.config.js | 19 +------------------ 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 2f7decd4f6..42b86c61ae 100644 --- a/package.json +++ b/package.json @@ -7,16 +7,13 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", - "node": "./dist/contentful-management.node.cjs", - "react-native": "./dist/contentful-management.react-native.cjs", "require": "./dist/cjs/index.cjs", "default": "./dist/esm/index.js" }, "./dist/contentful-management.node.cjs": "./dist/contentful-management.node.cjs", - "./dist/contentful-management.browser.js": "./dist/contentful-management.browser.js", - "./dist/contentful-management.react-native.js": "./dist/contentful-management.react-native.js" + "./dist/contentful-management.browser.js": "./dist/contentful-management.browser.js" }, - "main": "./dist/cjs/index.cjs", + "main": "./dist/esm/index.js", "types": "dist/types/index.d.ts", "engines": { "node": ">=20" diff --git a/rollup.config.js b/rollup.config.js index de9b6331e1..d10454e30d 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -216,15 +216,6 @@ const browserMinConfig = { ], } -const reactNativeConfig = { - ...browserConfig, - output: { - ...browserConfig.output, - file: 'dist/contentful-management.react-native.js', - format: 'cjs', - }, -} - // Types build in Rollup const typesConfig = { input: 'lib/index.ts', @@ -245,12 +236,4 @@ const typesConfig = { external: baseConfig.external, } -export default [ - esmConfig, - cjsConfig, - cjsBundleConfig, - browserConfig, - browserMinConfig, - reactNativeConfig, - typesConfig, -] +export default [esmConfig, cjsConfig, cjsBundleConfig, browserConfig, browserMinConfig, typesConfig] From 60f43770afb7341b98f5c280df22693b9fc14061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Mon, 20 Oct 2025 16:23:47 +0200 Subject: [PATCH 35/48] chore: rename eslint config as it is now esm code within a esm package --- eslint.config.mjs => eslint.config.js | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename eslint.config.mjs => eslint.config.js (100%) diff --git a/eslint.config.mjs b/eslint.config.js similarity index 100% rename from eslint.config.mjs rename to eslint.config.js From 6d02665beeafcdcb1f5c82d68a4b18d116018b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Mon, 20 Oct 2025 16:36:04 +0200 Subject: [PATCH 36/48] refactor: replace cjs version with bundle and rename bundles --- package.json | 6 +++--- rollup.config.js | 32 ++++++-------------------------- 2 files changed, 9 insertions(+), 29 deletions(-) diff --git a/package.json b/package.json index 42b86c61ae..8d913ed53a 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,11 @@ "exports": { ".": { "types": "./dist/types/index.d.ts", - "require": "./dist/cjs/index.cjs", + "require": "./dist/contentful-management.bundle.node.cjs", "default": "./dist/esm/index.js" }, - "./dist/contentful-management.node.cjs": "./dist/contentful-management.node.cjs", - "./dist/contentful-management.browser.js": "./dist/contentful-management.browser.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", diff --git a/rollup.config.js b/rollup.config.js index d10454e30d..80d59ed663 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -33,7 +33,7 @@ const baseConfig = { __VERSION__: JSON.stringify(pkg.version), }), commonjs({ - sourceMap: false, + sourceMap: true, transformMixedEsModules: true, ignoreGlobal: true, ignoreDynamicRequires: true, @@ -64,32 +64,11 @@ const esmConfig = { external: baseConfig.external, } -const cjsConfig = { - input: 'lib/index.ts', - output: { - dir: 'dist/cjs', - format: 'cjs', - preserveModules: true, - entryFileNames: '[name].cjs', - 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.node.cjs', + file: 'dist/contentful-management.bundle.node.cjs', format: 'cjs', sourcemap: true, }, @@ -125,7 +104,7 @@ const browserConfig = { ...baseConfig, external: [], output: { - file: 'dist/contentful-management.browser.js', + file: 'dist/contentful-management.bundle.browser.js', format: 'iife', name: 'contentfulManagement', sourcemap: true, @@ -178,7 +157,7 @@ const browserMinConfig = { ...browserConfig, output: { ...browserConfig.output, - file: 'dist/contentful-management.browser.min.js', + file: 'dist/contentful-management.bundle.browser.min.js', }, plugins: [ ...browserConfig.plugins, @@ -223,6 +202,7 @@ const typesConfig = { dir: 'dist/types', format: 'esm', preserveModules: true, + sourcemap: true, }, plugins: [ typescript({ @@ -236,4 +216,4 @@ const typesConfig = { external: baseConfig.external, } -export default [esmConfig, cjsConfig, cjsBundleConfig, browserConfig, browserMinConfig, typesConfig] +export default [esmConfig, cjsBundleConfig, browserConfig, browserMinConfig, typesConfig] From af792922e33c76821a620a3f4e25f672c02dd2e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 22 Oct 2025 14:45:23 +0200 Subject: [PATCH 37/48] ci: fix paths in es-check scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8d913ed53a..9989be270f 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,8 @@ "build:docs": "typedoc", "postbuild": "npm run check && npm run test:demo-projects", "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.browser.js", - "check:browser-min": "es-check es2021 ./dist/contentful-management.browser.min.js", + "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 && npm run build:docs", From 291909ec310b231c0432f7fcee714341d892448f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 22 Oct 2025 14:47:48 +0200 Subject: [PATCH 38/48] fix: ensure browser bundle renaming is reflected everywhere --- README.md | 8 +++++--- package.json | 6 +++--- test/output-integration/browser/package.json | 2 +- test/output-integration/browser/public/index.html | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e40173e9b1..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?** @@ -74,6 +74,8 @@ - [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) @@ -175,7 +177,7 @@ 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.** @@ -184,7 +186,7 @@ Using `contentful-management@latest` will always get you the latest version, but ```html - + ``` The Contentful Management library will be accessible via the `contentfulManagement` global variable. diff --git a/package.json b/package.json index 9989be270f..ac1be5402a 100644 --- a/package.json +++ b/package.json @@ -178,12 +178,12 @@ }, "size-limit": [ { - "path": "./dist/contentful-management.browser.js", + "path": "./dist/contentful-management.bundle.browser.js", "limit": "110 kB" }, { - "path": "./dist/contentful-management.browser.min.js", + "path": "./dist/contentful-management.bundle.browser.min.js", "limit": "55 kB" } ] -} +} \ No newline at end of file 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
From 873f325de9ab31d78cc4852b983b1e41d659fd02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Mon, 27 Oct 2025 11:44:02 +0100 Subject: [PATCH 39/48] build: replace lodash with lodash-es --- package-lock.json | 14 ++++++++++++-- package.json | 4 ++-- test/unit/test-creators/static-entity-methods.ts | 4 ++-- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 08450fff56..9387350862 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ "@semantic-release/changelog": "^6.0.0", "@size-limit/file": "^11.1.6", "@types/json-patch": "^0.0.33", - "@types/lodash": "^4.14.168", + "@types/lodash-es": "^4.17.12", "@types/node": "^20.12.13", "@vitest/browser": "^2.1.8", "@vitest/coverage-v8": "^2.1.8", @@ -48,7 +48,7 @@ "in-publish": "^2.0.1", "jsonwebtoken": "^9.0.2", "lint-staged": "^15.2.5", - "lodash": "^4.17.21", + "lodash-es": "^4.17.21", "nodemon": "^3.1.2", "playwright": "^1.49.1", "prettier": "^3.6.2", @@ -4271,6 +4271,16 @@ "integrity": "sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==", "dev": true }, + "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/lodash": "*" + } + }, "node_modules/@types/node": { "version": "20.19.19", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.19.tgz", diff --git a/package.json b/package.json index ac1be5402a..a642621da5 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "@semantic-release/changelog": "^6.0.0", "@size-limit/file": "^11.1.6", "@types/json-patch": "^0.0.33", - "@types/lodash": "^4.14.168", + "@types/lodash-es": "^4.17.12", "@types/node": "^20.12.13", "@vitest/browser": "^2.1.8", "@vitest/coverage-v8": "^2.1.8", @@ -113,7 +113,7 @@ "in-publish": "^2.0.1", "jsonwebtoken": "^9.0.2", "lint-staged": "^15.2.5", - "lodash": "^4.17.21", + "lodash-es": "^4.17.21", "nodemon": "^3.1.2", "playwright": "^1.49.1", "prettier": "^3.6.2", diff --git a/test/unit/test-creators/static-entity-methods.ts b/test/unit/test-creators/static-entity-methods.ts index 5dff0bd43d..5237ff0cee 100644 --- a/test/unit/test-creators/static-entity-methods.ts +++ b/test/unit/test-creators/static-entity-methods.ts @@ -1,6 +1,6 @@ import { cloneMock } from '../mocks/entities.js' -import cloneDeep from 'lodash/cloneDeep' -import upperFirst from 'lodash/upperFirst' +import { cloneDeep } from 'lodash-es' +import { upperFirst } from 'lodash-es' import { expect } from 'vitest' export async function makeGetEntityTest( From 503fbac004662417ecc00098f02d82899c10ddfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Mon, 27 Oct 2025 11:46:22 +0100 Subject: [PATCH 40/48] build: remove unused dependencies --- SETUP.md | 8 - package-lock.json | 1475 +-------------------------------------------- package.json | 6 +- 3 files changed, 14 insertions(+), 1475 deletions(-) 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/package-lock.json b/package-lock.json index 9387350862..f4555edacf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,15 +37,12 @@ "@types/node": "^20.12.13", "@vitest/browser": "^2.1.8", "@vitest/coverage-v8": "^2.1.8", - "babel-loader": "^8.2.1", - "babel-plugin-inline-replace-variables": "^1.3.1", "contentful-sdk-jsdoc": "3.1.0", "cz-conventional-changelog": "^3.3.0", "es-check": "^7.2.1", "eslint": "^9.15.0", "globals": "^16.4.0", "husky": "^9.1.7", - "in-publish": "^2.0.1", "jsonwebtoken": "^9.0.2", "lint-staged": "^15.2.5", "lodash-es": "^4.17.21", @@ -53,7 +50,6 @@ "playwright": "^1.49.1", "prettier": "^3.6.2", "process": "^0.11.10", - "puppeteer": "^24.4.0", "rimraf": "^5.0.0", "rollup": "^4.52.4", "rollup-plugin-sourcemaps2": "^0.5.4", @@ -3164,41 +3160,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@puppeteer/browsers": { - "version": "2.10.10", - "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.10.tgz", - "integrity": "sha512-3ZG500+ZeLql8rE0hjfhkycJjDj0pI/btEh3L9IkWUYcOrgP0xCNRq3HbtbqOPbvDhFaAWD88pDFtlLv8ns8gA==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "debug": "^4.4.3", - "extract-zip": "^2.0.1", - "progress": "^2.0.3", - "proxy-agent": "^6.5.0", - "semver": "^7.7.2", - "tar-fs": "^3.1.0", - "yargs": "^17.7.2" - }, - "bin": { - "browsers": "lib/cjs/main-cli.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@puppeteer/browsers/node_modules/semver": { - "version": "7.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", - "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@rollup/plugin-alias": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/@rollup/plugin-alias/-/plugin-alias-5.1.1.tgz", @@ -4178,13 +4139,6 @@ "@testing-library/dom": ">=7.21.4" } }, - "node_modules/@tootallnate/quickjs-emscripten": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", - "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/aria-query": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", @@ -4210,30 +4164,6 @@ "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", - "peer": true, - "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", - "peer": true, - "dependencies": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, "node_modules/@types/estree": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", @@ -4333,17 +4263,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/yauzl": { - "version": "2.10.3", - "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz", - "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "8.46.1", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.1.tgz", @@ -4798,198 +4717,6 @@ "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", - "peer": true, - "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", - "peer": true - }, - "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", - "peer": true - }, - "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", - "peer": true - }, - "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", - "peer": true, - "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", - "peer": true - }, - "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", - "peer": true, - "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", - "peer": true, - "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", - "peer": true, - "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", - "peer": true - }, - "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", - "peer": true, - "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", - "peer": true, - "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", - "peer": true, - "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", - "peer": true, - "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", - "peer": true, - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@xtuc/long": "4.2.2" - } - }, - "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", - "peer": true - }, - "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", - "peer": true - }, "node_modules/acorn": { "version": "8.15.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", @@ -5042,6 +4769,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", @@ -5053,39 +4781,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", - "peer": true, - "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", - "peer": true, - "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", @@ -5203,19 +4898,6 @@ "node": ">=12" } }, - "node_modules/ast-types": { - "version": "0.13.4", - "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", - "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", - "dev": true, - "license": "MIT", - "dependencies": { - "tslib": "^2.0.1" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/async": { "version": "3.2.6", "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", @@ -5268,157 +4950,6 @@ "proxy-from-env": "^1.1.0" } }, - "node_modules/b4a": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.7.3.tgz", - "integrity": "sha512-5Q2mfq2WfGuFp3uS//0s6baOJLMoVduPYVeNmDYxu5OUA1/cBfvr2RIS7vi62LdNj/urk1hfmj867I3qt6uZ7Q==", - "dev": true, - "license": "Apache-2.0", - "peerDependencies": { - "react-native-b4a": "*" - }, - "peerDependenciesMeta": { - "react-native-b4a": { - "optional": true - } - } - }, - "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-polyfill-corejs2": { "version": "0.4.14", "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.14.tgz", @@ -5458,16 +4989,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", @@ -5475,95 +4996,6 @@ "dev": true, "license": "MIT" }, - "node_modules/bare-events": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.7.0.tgz", - "integrity": "sha512-b3N5eTW1g7vXkw+0CXh/HazGTcO5KYuu/RCNaJbDMPI6LHDi+7qe8EmxKUVe1sUbY2KZOVZFyj62x0OEz9qyAA==", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/bare-fs": { - "version": "4.4.5", - "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.4.5.tgz", - "integrity": "sha512-TCtu93KGLu6/aiGWzMr12TmSRS6nKdfhAnzTQRbXoSWxkbb9eRd53jQ51jG7g1gYjjtto3hbBrrhzg6djcgiKg==", - "dev": true, - "license": "Apache-2.0", - "optional": true, - "dependencies": { - "bare-events": "^2.5.4", - "bare-path": "^3.0.0", - "bare-stream": "^2.6.4", - "bare-url": "^2.2.2", - "fast-fifo": "^1.3.2" - }, - "engines": { - "bare": ">=1.16.0" - }, - "peerDependencies": { - "bare-buffer": "*" - }, - "peerDependenciesMeta": { - "bare-buffer": { - "optional": true - } - } - }, - "node_modules/bare-os": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.6.2.tgz", - "integrity": "sha512-T+V1+1srU2qYNBmJCXZkUY5vQ0B4FSlL3QDROnKQYOqeiQR8UbjNHlPa+TIbM4cuidiN9GaTaOZgSEgsvPbh5A==", - "dev": true, - "license": "Apache-2.0", - "optional": true, - "engines": { - "bare": ">=1.14.0" - } - }, - "node_modules/bare-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.0.0.tgz", - "integrity": "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==", - "dev": true, - "license": "Apache-2.0", - "optional": true, - "dependencies": { - "bare-os": "^3.0.1" - } - }, - "node_modules/bare-stream": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.7.0.tgz", - "integrity": "sha512-oyXQNicV1y8nc2aKffH+BUHFRXmx6VrPzlnaEvMhram0nPBrKcEdcyBg5r08D0i8VxngHFAiVyn1QKXpSG0B8A==", - "dev": true, - "license": "Apache-2.0", - "optional": true, - "dependencies": { - "streamx": "^2.21.0" - }, - "peerDependencies": { - "bare-buffer": "*", - "bare-events": "*" - }, - "peerDependenciesMeta": { - "bare-buffer": { - "optional": true - }, - "bare-events": { - "optional": true - } - } - }, - "node_modules/bare-url": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.2.2.tgz", - "integrity": "sha512-g+ueNGKkrjMazDG3elZO1pNs3HY5+mMmOet1jtKyhOaCnkLzitxf26z7hoAEkDNgdNmnc1KIlt/dw6Po6xZMpA==", - "dev": true, - "license": "Apache-2.0", - "optional": true, - "dependencies": { - "bare-path": "^3.0.0" - } - }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -5585,16 +5017,6 @@ ], "license": "MIT" }, - "node_modules/basic-ftp": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", - "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.0.0" - } - }, "node_modules/before-after-hook": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", @@ -5602,16 +5024,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", @@ -5725,16 +5137,6 @@ "ieee754": "^1.1.13" } }, - "node_modules/buffer-crc32": { - "version": "0.2.13", - "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": "*" - } - }, "node_modules/buffer-equal-constant-time": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", @@ -5938,31 +5340,6 @@ "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==", - "dev": true, - "license": "MIT", - "peer": true, - "engines": { - "node": ">=6.0" - } - }, - "node_modules/chromium-bidi": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-9.1.0.tgz", - "integrity": "sha512-rlUzQ4WzIAWdIbY/viPShhZU2n21CxDUgazXVbw4Hu1MwaeUSEksSeM6DqPgpRjCLXRk702AVRxJxoOz0dw4OA==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "mitt": "^3.0.1", - "zod": "^3.24.1" - }, - "peerDependencies": { - "devtools-protocol": "*" - } - }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -6520,6 +5897,7 @@ "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", "dev": true, "license": "MIT", + "optional": true, "dependencies": { "env-paths": "^2.2.1", "import-fresh": "^3.3.0", @@ -6703,16 +6081,6 @@ "node": ">=4" } }, - "node_modules/data-uri-to-buffer": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", - "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 14" - } - }, "node_modules/debug": { "version": "4.4.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", @@ -6795,22 +6163,7 @@ "dev": true, "license": "MIT", "engines": { - "node": ">=8" - } - }, - "node_modules/degenerator": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", - "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ast-types": "^0.13.4", - "escodegen": "^2.1.0", - "esprima": "^4.0.1" - }, - "engines": { - "node": ">= 14" + "node": ">=8" } }, "node_modules/delayed-stream": { @@ -6859,13 +6212,6 @@ "node": ">=8" } }, - "node_modules/devtools-protocol": { - "version": "0.0.1495869", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1495869.tgz", - "integrity": "sha512-i+bkd9UYFis40RcnkW7XrOprCujXRAHg62IVh/Ah3G8MmNXpCGt1m0dTFhSdx/AVs8XEMbdOGRwdkR1Bcta8AA==", - "dev": true, - "license": "BSD-3-Clause" - }, "node_modules/dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", @@ -7000,16 +6346,6 @@ "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/enabled": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", @@ -7017,31 +6353,6 @@ "dev": true, "license": "MIT" }, - "node_modules/end-of-stream": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", - "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==", - "dev": true, - "license": "MIT", - "dependencies": { - "once": "^1.4.0" - } - }, - "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==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, - "engines": { - "node": ">=10.13.0" - } - }, "node_modules/entities": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", @@ -7075,6 +6386,7 @@ "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", "dev": true, "license": "MIT", + "optional": true, "engines": { "node": ">=6" } @@ -7275,28 +6587,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/escodegen": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", - "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" - }, - "engines": { - "node": ">=6.0" - }, - "optionalDependencies": { - "source-map": "~0.6.1" - } - }, "node_modules/eslint": { "version": "9.38.0", "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.38.0.tgz", @@ -7516,27 +6806,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", - "peer": true, - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/events-universal": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/events-universal/-/events-universal-1.0.1.tgz", - "integrity": "sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "bare-events": "^2.7.0" - } - }, "node_modules/execa": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", @@ -7599,43 +6868,6 @@ "node": ">=4" } }, - "node_modules/extract-zip": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", - "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "debug": "^4.1.1", - "get-stream": "^5.1.0", - "yauzl": "^2.10.0" - }, - "bin": { - "extract-zip": "cli.js" - }, - "engines": { - "node": ">= 10.17.0" - }, - "optionalDependencies": { - "@types/yauzl": "^2.9.1" - } - }, - "node_modules/extract-zip/node_modules/get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, - "license": "MIT", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/fast-copy": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/fast-copy/-/fast-copy-3.0.2.tgz", @@ -7649,13 +6881,6 @@ "dev": true, "license": "MIT" }, - "node_modules/fast-fifo": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", - "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", - "dev": true, - "license": "MIT" - }, "node_modules/fast-glob": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", @@ -7702,7 +6927,8 @@ "url": "https://opencollective.com/fastify" } ], - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "optional": true }, "node_modules/fastq": { "version": "1.18.0", @@ -7714,16 +6940,6 @@ "reusify": "^1.0.4" } }, - "node_modules/fd-slicer": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", - "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", - "dev": true, - "license": "MIT", - "dependencies": { - "pend": "~1.2.0" - } - }, "node_modules/fecha": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", @@ -8137,21 +7353,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/get-uri": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.5.tgz", - "integrity": "sha512-b1O07XYq8eRuVzBNgJLstU6FYc1tS6wnMtF1I1D9lE8LxZSOGZ7LhxN54yPP6mGw5f2CkXY2BQUL9Fx41qvcIg==", - "dev": true, - "license": "MIT", - "dependencies": { - "basic-ftp": "^5.0.2", - "data-uri-to-buffer": "^6.0.2", - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, "node_modules/git-log-parser": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/git-log-parser/-/git-log-parser-1.2.1.tgz", @@ -8212,14 +7413,6 @@ "node": ">= 6" } }, - "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", - "peer": true - }, "node_modules/global-directory": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/global-directory/-/global-directory-4.0.1.tgz", @@ -8683,19 +7876,6 @@ "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", @@ -8793,16 +7973,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/ip-address": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.0.1.tgz", - "integrity": "sha512-NWv9YLW4PoW2B7xtzaS3NCot75m6nK7Icdv0o3lfMceJVRfSoQwqD4wEH5rLwoKJwUiZ/rfpiVBhnaF0FK4HoA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 12" - } - }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -9147,39 +8317,6 @@ "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", - "peer": true, - "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", - "peer": true, - "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", @@ -9255,7 +8392,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", @@ -9277,6 +8415,7 @@ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, "license": "MIT", + "peer": true, "bin": { "json5": "lib/cli.js" }, @@ -9648,32 +8787,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", - "peer": true, - "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", @@ -10364,13 +9477,6 @@ "node": ">=16 || 14 >=14.17" } }, - "node_modules/mitt": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", - "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", - "dev": true, - "license": "MIT" - }, "node_modules/mrmime": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.0.tgz", @@ -10510,16 +9616,6 @@ "dev": true, "license": "MIT" }, - "node_modules/netmask": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", - "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/node-emoji": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.2.0.tgz", @@ -13683,50 +12779,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "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==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/pac-proxy-agent": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz", - "integrity": "sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@tootallnate/quickjs-emscripten": "^0.23.0", - "agent-base": "^7.1.2", - "debug": "^4.3.4", - "get-uri": "^6.0.1", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.6", - "pac-resolver": "^7.0.1", - "socks-proxy-agent": "^8.0.5" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/pac-resolver": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz", - "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==", - "dev": true, - "license": "MIT", - "dependencies": { - "degenerator": "^5.0.0", - "netmask": "^2.0.2" - }, - "engines": { - "node": ">= 14" - } - }, "node_modules/package-json-from-dist": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", @@ -13864,13 +12916,6 @@ "node": ">= 14.16" } }, - "node_modules/pend": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", - "dev": true, - "license": "MIT" - }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", @@ -14137,16 +13182,6 @@ "dev": true, "license": "MIT" }, - "node_modules/progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/proto-list": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", @@ -14154,36 +13189,6 @@ "dev": true, "license": "ISC" }, - "node_modules/proxy-agent": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz", - "integrity": "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==", - "dev": true, - "license": "MIT", - "dependencies": { - "agent-base": "^7.1.2", - "debug": "^4.3.4", - "http-proxy-agent": "^7.0.1", - "https-proxy-agent": "^7.0.6", - "lru-cache": "^7.14.1", - "pac-proxy-agent": "^7.1.0", - "proxy-from-env": "^1.1.0", - "socks-proxy-agent": "^8.0.5" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/proxy-agent/node_modules/lru-cache": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=12" - } - }, "node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", @@ -14210,17 +13215,6 @@ "dev": true, "license": "MIT" }, - "node_modules/pump": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.3.tgz", - "integrity": "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==", - "dev": true, - "license": "MIT", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", @@ -14234,52 +13228,11 @@ "node_modules/punycode.js": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", - "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/puppeteer": { - "version": "24.22.3", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.22.3.tgz", - "integrity": "sha512-mnhXzIqSYSJ1SMv1RYH07YMzWP81xCmmQj91Q8iQMZqnf97eVzeHgsGL6kpywiGCi+nQafta/+NkwM4URMy/XQ==", - "dev": true, - "hasInstallScript": true, - "license": "Apache-2.0", - "dependencies": { - "@puppeteer/browsers": "2.10.10", - "chromium-bidi": "9.1.0", - "cosmiconfig": "^9.0.0", - "devtools-protocol": "0.0.1495869", - "puppeteer-core": "24.22.3", - "typed-query-selector": "^2.12.0" - }, - "bin": { - "puppeteer": "lib/cjs/puppeteer/node/cli.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/puppeteer-core": { - "version": "24.22.3", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.22.3.tgz", - "integrity": "sha512-M/Jhg4PWRANSbL/C9im//Yb55wsWBS5wdp+h59iwM+EPicVQQCNs56iC5aEAO7avfDPRfxs4MM16wHjOYHNJEw==", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@puppeteer/browsers": "2.10.10", - "chromium-bidi": "9.1.0", - "debug": "^4.4.3", - "devtools-protocol": "0.0.1495869", - "typed-query-selector": "^2.12.0", - "webdriver-bidi-protocol": "0.2.11", - "ws": "^8.18.3" - }, + "license": "MIT", "engines": { - "node": ">=18" + "node": ">=6" } }, "node_modules/qs": { @@ -14603,6 +13556,7 @@ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", "dev": true, "license": "MIT", + "optional": true, "engines": { "node": ">=0.10.0" } @@ -15030,59 +13984,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": "22.0.12", "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-22.0.12.tgz", @@ -15714,17 +14615,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/smart-buffer": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6.0.0", - "npm": ">= 3.0.0" - } - }, "node_modules/smob": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/smob/-/smob-1.5.0.tgz", @@ -15732,36 +14622,6 @@ "dev": true, "license": "MIT" }, - "node_modules/socks": { - "version": "2.8.7", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.7.tgz", - "integrity": "sha512-HLpt+uLy/pxB+bum/9DzAgiKS8CX1EvbWxI4zlmgGCExImLdiad2iCwXT5Z4c9c3Eq8rP2318mPW2c+QbtjK8A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ip-address": "^10.0.1", - "smart-buffer": "^4.2.0" - }, - "engines": { - "node": ">= 10.0.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks-proxy-agent": { - "version": "8.0.5", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz", - "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==", - "dev": true, - "license": "MIT", - "dependencies": { - "agent-base": "^7.1.2", - "debug": "^4.3.4", - "socks": "^2.8.3" - }, - "engines": { - "node": ">= 14" - } - }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -15931,18 +14791,6 @@ "safe-buffer": "~5.1.0" } }, - "node_modules/streamx": { - "version": "2.23.0", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.23.0.tgz", - "integrity": "sha512-kn+e44esVfn2Fa/O0CPFcex27fjIL6MkVae0Mm6q+E6f0hWv578YCERbv+4m02cjxvDsPKLnmxral/rR6lBMAg==", - "dev": true, - "license": "MIT", - "dependencies": { - "events-universal": "^1.0.0", - "fast-fifo": "^1.3.2", - "text-decoder": "^1.1.0" - } - }, "node_modules/strict-event-emitter": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/strict-event-emitter/-/strict-event-emitter-0.5.1.tgz", @@ -16139,44 +14987,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", - "peer": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/tar-fs": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.1.tgz", - "integrity": "sha512-LZA0oaPOc2fVo82Txf3gw+AkEd38szODlptMYejQUhndHMLQ9M059uXR+AfS7DNo0NpINvSqDsvyaCrBVkptWg==", - "dev": true, - "license": "MIT", - "dependencies": { - "pump": "^3.0.0", - "tar-stream": "^3.1.5" - }, - "optionalDependencies": { - "bare-fs": "^4.0.1", - "bare-path": "^3.0.0" - } - }, - "node_modules/tar-stream": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", - "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "b4a": "^1.6.4", - "fast-fifo": "^1.2.0", - "streamx": "^2.15.0" - } - }, "node_modules/temp-dir": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-3.0.0.tgz", @@ -16238,63 +15048,6 @@ "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", - "peer": true, - "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==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, "node_modules/terser/node_modules/commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", @@ -16364,16 +15117,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/text-decoder": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.3.tgz", - "integrity": "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "b4a": "^1.6.4" - } - }, "node_modules/text-extensions": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-2.4.0.tgz", @@ -16684,13 +15427,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/typed-query-selector": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.0.tgz", - "integrity": "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==", - "dev": true, - "license": "MIT" - }, "node_modules/typedoc": { "version": "0.27.9", "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.27.9.tgz", @@ -17140,21 +15876,6 @@ } } }, - "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", - "peer": true, - "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", @@ -17165,155 +15886,6 @@ "defaults": "^1.0.3" } }, - "node_modules/webdriver-bidi-protocol": { - "version": "0.2.11", - "resolved": "https://registry.npmjs.org/webdriver-bidi-protocol/-/webdriver-bidi-protocol-0.2.11.tgz", - "integrity": "sha512-Y9E1/oi4XMxcR8AT0ZC4OvYntl34SPgwjmELH+owjBr0korAX4jKgZULBWILGCVGdVCQ0dodTToIETozhG8zvA==", - "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", - "peer": true, - "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-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", - "peer": true, - "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", - "peer": true, - "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==", - "dev": true, - "license": "MIT", - "peer": true, - "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", - "peer": true, - "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", - "peer": true, - "engines": { - "node": ">=4.0" - } - }, - "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", - "peer": true - }, - "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==", - "dev": true, - "license": "MIT", - "peer": true, - "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" - } - }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -17560,17 +16132,6 @@ "node": ">=12" } }, - "node_modules/yauzl": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", - "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", - "dev": true, - "license": "MIT", - "dependencies": { - "buffer-crc32": "~0.2.3", - "fd-slicer": "~1.1.0" - } - }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", @@ -17596,16 +16157,6 @@ "funding": { "url": "https://github.com/sponsors/sindresorhus" } - }, - "node_modules/zod": { - "version": "3.25.76", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", - "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } } } } diff --git a/package.json b/package.json index a642621da5..0d3d826df5 100644 --- a/package.json +++ b/package.json @@ -102,15 +102,12 @@ "@types/node": "^20.12.13", "@vitest/browser": "^2.1.8", "@vitest/coverage-v8": "^2.1.8", - "babel-loader": "^8.2.1", - "babel-plugin-inline-replace-variables": "^1.3.1", "contentful-sdk-jsdoc": "3.1.0", "cz-conventional-changelog": "^3.3.0", "es-check": "^7.2.1", "eslint": "^9.15.0", "globals": "^16.4.0", "husky": "^9.1.7", - "in-publish": "^2.0.1", "jsonwebtoken": "^9.0.2", "lint-staged": "^15.2.5", "lodash-es": "^4.17.21", @@ -118,7 +115,6 @@ "playwright": "^1.49.1", "prettier": "^3.6.2", "process": "^0.11.10", - "puppeteer": "^24.4.0", "rimraf": "^5.0.0", "rollup": "^4.52.4", "rollup-plugin-sourcemaps2": "^0.5.4", @@ -186,4 +182,4 @@ "limit": "55 kB" } ] -} \ No newline at end of file +} From 10de1d7613ac59e53120372f3e23d62facf2c5bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Mon, 27 Oct 2025 12:16:02 +0100 Subject: [PATCH 41/48] build: update dependencies --- package-lock.json | 3825 +++++++++++++++++++++++---------------------- package.json | 36 +- 2 files changed, 1982 insertions(+), 1879 deletions(-) diff --git a/package-lock.json b/package-lock.json index f4555edacf..0cb2380665 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,53 +12,53 @@ "@contentful/rich-text-types": "^16.6.1", "axios": "^1.12.2", "contentful-sdk-core": "10.0.0-beta.5", - "fast-copy": "^3.0.0", + "fast-copy": "^3.0.2", "json-patch": "^0.7.0", "type-fest": "^5.1.0" }, "devDependencies": { - "@babel/plugin-transform-runtime": "^7.24.7", - "@babel/preset-env": "^7.24.3", + "@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", - "@playwright/test": "^1.55.0", + "@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.7", + "@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.1.4", - "@semantic-release/changelog": "^6.0.0", - "@size-limit/file": "^11.1.6", + "@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.8", "@vitest/coverage-v8": "^2.1.8", - "contentful-sdk-jsdoc": "3.1.0", + "contentful-sdk-jsdoc": "3.1.5", "cz-conventional-changelog": "^3.3.0", "es-check": "^7.2.1", - "eslint": "^9.15.0", + "eslint": "^9.38.0", "globals": "^16.4.0", "husky": "^9.1.7", "jsonwebtoken": "^9.0.2", "lint-staged": "^15.2.5", "lodash-es": "^4.17.21", - "nodemon": "^3.1.2", - "playwright": "^1.49.1", + "nodemon": "^3.1.10", + "playwright": "^1.56.1", "prettier": "^3.6.2", "process": "^0.11.10", "rimraf": "^5.0.0", - "rollup": "^4.52.4", + "rollup": "^4.52.5", "rollup-plugin-sourcemaps2": "^0.5.4", "rollup-plugin-visualizer": "^5.14.0", "semantic-release": "^22.0.12", - "size-limit": "^11.1.6", - "typedoc": "^0.27.5", - "typescript": "^5.7.2", - "typescript-eslint": "^8.16.0", + "size-limit": "^11.2.0", + "typedoc": "^0.28.14", + "typescript": "^5.9.3", + "typescript-eslint": "^8.46.2", "vitest": "^2.1.8" }, "engines": { @@ -95,31 +95,32 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.0.tgz", - "integrity": "sha512-60X7qkglvrap8mn1lh2ebxXdZYtUcpd7gsmy9kLaBJ4i/WdY8PqTSdxyA8qraikqKQK5C1KRBKXqznrVapyNaw==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.5.tgz", + "integrity": "sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.4.tgz", - "integrity": "sha512-2BCOP7TN8M+gVDj7/ht3hsaO/B/n5oDbiAyyvnRlNOs+u1o+JWNYTQrmpuNp1/Wq2gcFrI01JAW+paEKDMx/CA==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.5.tgz", + "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.3", + "@babel/generator": "^7.28.5", "@babel/helper-compilation-targets": "^7.27.2", "@babel/helper-module-transforms": "^7.28.3", "@babel/helpers": "^7.28.4", - "@babel/parser": "^7.28.4", + "@babel/parser": "^7.28.5", "@babel/template": "^7.27.2", - "@babel/traverse": "^7.28.4", - "@babel/types": "^7.28.4", + "@babel/traverse": "^7.28.5", + "@babel/types": "^7.28.5", "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", @@ -136,14 +137,14 @@ } }, "node_modules/@babel/generator": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.3.tgz", - "integrity": "sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.5.tgz", + "integrity": "sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/parser": "^7.28.3", - "@babel/types": "^7.28.2", + "@babel/parser": "^7.28.5", + "@babel/types": "^7.28.5", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" @@ -157,6 +158,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" }, @@ -182,18 +184,18 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.3.tgz", - "integrity": "sha512-V9f6ZFIYSLNEbuGA/92uOvYsGCJNsuA8ESZ4ldc09bWk/j8H8TKiPw8Mk1eG6olpnO0ALHJmYfZvF4MEE4gajg==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.5.tgz", + "integrity": "sha512-q3WC4JfdODypvxArsJQROfupPBq9+lMwjKq7C33GhbFYJsufD0yd/ziwD+hJucLeWsnFPWZjsU2DNFqBPE7jwQ==", "dev": true, "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.3", - "@babel/helper-member-expression-to-functions": "^7.27.1", + "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", "@babel/helper-replace-supers": "^7.27.1", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", - "@babel/traverse": "^7.28.3", + "@babel/traverse": "^7.28.5", "semver": "^6.3.1" }, "engines": { @@ -204,14 +206,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": { @@ -226,6 +228,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", @@ -242,19 +245,20 @@ "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" } }, "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.27.1.tgz", - "integrity": "sha512-E5chM8eWjTp/aNoVpcbfM7mLxu9XGLWYise2eBKGQomAk/Mb4XoxyqXTZbuTohbsl8EKqdlMhnDI2CCLfcs9wA==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.28.5.tgz", + "integrity": "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" + "@babel/traverse": "^7.28.5", + "@babel/types": "^7.28.5" }, "engines": { "node": ">=6.9.0" @@ -376,9 +380,9 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", - "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", "dev": true, "license": "MIT", "engines": { @@ -396,15 +400,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" @@ -426,13 +430,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.4.tgz", - "integrity": "sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz", + "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.28.4" + "@babel/types": "^7.28.5" }, "bin": { "parser": "bin/babel-parser.js" @@ -442,14 +446,14 @@ } }, "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.27.1.tgz", - "integrity": "sha512-QPG3C9cCVRQLxAVwmefEmwdTanECuUBMQZ/ym5kiw3XKCGA7qkuQLcjWWHcrD/GKbn/WmJwaezfuuAOcyKlRPA==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.28.5.tgz", + "integrity": "sha512-87GDMS3tsmMSi/3bWOte1UblL+YUTFMV8SZPZ2eSEL17s74Cw/l63rR6NmGVKMYW2GYi85nE+/d6Hw5N0bEk2Q==", "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", - "@babel/traverse": "^7.27.1" + "@babel/traverse": "^7.28.5" }, "engines": { "node": ">=6.9.0" @@ -608,6 +612,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", @@ -655,10 +660,11 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.28.0.tgz", - "integrity": "sha512-gKKnwjpdx5sER/wl0WN0efUBFzF/56YZO0RJrSYP4CljXnP31ByY7fol89AzomdlLNzI36AvOTmYHsnZTCkq8Q==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.28.5.tgz", + "integrity": "sha512-45DmULpySVvmq9Pj3X9B+62Xe+DJGov27QravQJU1LLcapR6/10i+gYVAucGGJpHBp5mYxIMK4nDAT/QDLr47g==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" }, @@ -704,9 +710,9 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.28.3.tgz", - "integrity": "sha512-DoEWC5SuxuARF2KdKmGUq3ghfPMO6ZzR12Dnp5gubwbeWJo4dbNWXJPVlwvh4Zlq6Z7YVvL8VFxeSOJgjsx4Sg==", + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.28.4.tgz", + "integrity": "sha512-cFOlhIYPBv/iBoc+KS3M6et2XPtbT2HiCRfBXWtfpc9OAyostldxIf9YAYB6ypURBBbx+Qv6nyrLzASfJe+hBA==", "dev": true, "license": "MIT", "dependencies": { @@ -715,7 +721,7 @@ "@babel/helper-globals": "^7.28.0", "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-replace-supers": "^7.27.1", - "@babel/traverse": "^7.28.3" + "@babel/traverse": "^7.28.4" }, "engines": { "node": ">=6.9.0" @@ -742,13 +748,14 @@ } }, "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.28.0.tgz", - "integrity": "sha512-v1nrSMBiKcodhsyJ4Gf+Z0U/yawmJDBOTpEB3mcQY52r9RIyPneGyAS/yM6seP/8I+mWI3elOMtT5dB8GJVs+A==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.28.5.tgz", + "integrity": "sha512-Kl9Bc6D0zTUcFUvkNuQh4eGXPKKNDOJQXVyyM4ZAQPMveniJdxi8XMJwLo+xSoW3MIq81bD33lcUe9kZpl0MCw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", - "@babel/traverse": "^7.28.0" + "@babel/traverse": "^7.28.5" }, "engines": { "node": ">=6.9.0" @@ -828,6 +835,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" @@ -840,9 +848,9 @@ } }, "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.27.1.tgz", - "integrity": "sha512-uspvXnhHvGKf2r4VVtBpeFnuDWsJLQ6MF6lGJLC89jBR1uoVeqM416AZtTuhTezOfgHicpJQmoD5YUakO/YmXQ==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.28.5.tgz", + "integrity": "sha512-D4WIMaFtwa2NizOp+dnoFjRez/ClKiC2BqqImwKd1X28nqBtZEyCYJ2ozQrrzlxAFrcrjxo39S6khe9RNDlGzw==", "dev": true, "license": "MIT", "dependencies": { @@ -939,9 +947,9 @@ } }, "node_modules/@babel/plugin-transform-logical-assignment-operators": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.27.1.tgz", - "integrity": "sha512-SJvDs5dXxiae4FbSL1aBJlG4wvl594N6YEVVn9e3JGulwioy6z3oPjx/sQBO3Y4NwUu5HNix6KJ3wBZoewcdbw==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.28.5.tgz", + "integrity": "sha512-axUuqnUTBuXyHGcJEVVh9pORaN6wC5bYfE7FGzPiaWa3syib9m7g+/IT/4VgCOe2Upef43PHzeAvcrVek6QuuA==", "dev": true, "license": "MIT", "dependencies": { @@ -1005,16 +1013,16 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.27.1.tgz", - "integrity": "sha512-w5N1XzsRbc0PQStASMksmUeqECuzKuTJer7kFagK8AXgpCMkeDMO5S+aaFb7A51ZYDF7XI34qsTX+fkHiIm5yA==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.28.5.tgz", + "integrity": "sha512-vn5Jma98LCOeBy/KpeQhXcV2WZgaRUtjwQmjoBuLNlOmkg0fB5pdvYVeWRYI69wWKwK2cD1QbMiUQnoujWvrew==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.27.1", + "@babel/helper-module-transforms": "^7.28.3", "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1", - "@babel/traverse": "^7.27.1" + "@babel/helper-validator-identifier": "^7.28.5", + "@babel/traverse": "^7.28.5" }, "engines": { "node": ">=6.9.0" @@ -1106,16 +1114,17 @@ } }, "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.28.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.28.0.tgz", - "integrity": "sha512-9VNGikXxzu5eCiQjdE4IZn8sb9q7Xsk5EXLDBKUYg1e/Tve8/05+KJEtcxGxAgCY5t/BpKQM+JEL/yT4tvgiUA==", + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.28.4.tgz", + "integrity": "sha512-373KA2HQzKhQCYiRVIRr+3MjpCObqzDlyrM6u4I201wL8Mp2wHf7uB8GhDwis03k2ti8Zr65Zyyqs1xOxUF/Ew==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-compilation-targets": "^7.27.2", "@babel/helper-plugin-utils": "^7.27.1", "@babel/plugin-transform-destructuring": "^7.28.0", "@babel/plugin-transform-parameters": "^7.27.7", - "@babel/traverse": "^7.28.0" + "@babel/traverse": "^7.28.4" }, "engines": { "node": ">=6.9.0" @@ -1158,9 +1167,9 @@ } }, "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.27.1.tgz", - "integrity": "sha512-BQmKPPIuc8EkZgNKsv0X4bPmOoayeu4F1YCwx2/CfmDSXDbp7GnzlUH+/ul5VGfRg1AoFPsrIThlEBj2xb4CAg==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.28.5.tgz", + "integrity": "sha512-N6fut9IZlPnjPwgiQkXNhb+cT8wQKFlJNqcZkWlcTqkcqx6/kU4ynGmLFoa4LViBSirn05YAwk+sQBbPfxtYzQ==", "dev": true, "license": "MIT", "dependencies": { @@ -1179,6 +1188,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" }, @@ -1241,9 +1251,9 @@ } }, "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.28.3.tgz", - "integrity": "sha512-K3/M/a4+ESb5LEldjQb+XSrpY0nF+ZBFlTCbSnKaYAMfD8v33O6PMs4uYnOk19HlcsI8WMu3McdFPTiQHF/1/A==", + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.28.4.tgz", + "integrity": "sha512-+ZEdQlBoRg9m2NnzvEeLgtvBMO4tkFBw5SQIUgLICgTrumLoU7lr+Oghi6km2PFj+dbUt2u1oby2w3BDO9YQnA==", "dev": true, "license": "MIT", "dependencies": { @@ -1290,9 +1300,9 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.28.3.tgz", - "integrity": "sha512-Y6ab1kGqZ0u42Zv/4a7l0l72n9DKP/MKoKWaUSBylrhNZO2prYuqFOLbn5aW5SIFXwSH93yfjbgllL8lxuGKLg==", + "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": { @@ -1459,17 +1469,17 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.28.3.tgz", - "integrity": "sha512-ROiDcM+GbYVPYBOeCR6uBXKkQpBExLl8k9HO1ygXEyds39j+vCCsjmj7S8GOniZQlEs81QlkdJZe76IpLSiqpg==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.28.5.tgz", + "integrity": "sha512-S36mOoi1Sb6Fz98fBfE+UZSpYw5mJm0NUHtIKrOuNcqeFauy1J6dIvXm2KRVKobOSaGq4t/hBXdN4HGU3wL9Wg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.28.0", + "@babel/compat-data": "^7.28.5", "@babel/helper-compilation-targets": "^7.27.2", "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-validator-option": "^7.27.1", - "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.27.1", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.28.5", "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.27.1", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.27.1", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.27.1", @@ -1482,42 +1492,42 @@ "@babel/plugin-transform-async-generator-functions": "^7.28.0", "@babel/plugin-transform-async-to-generator": "^7.27.1", "@babel/plugin-transform-block-scoped-functions": "^7.27.1", - "@babel/plugin-transform-block-scoping": "^7.28.0", + "@babel/plugin-transform-block-scoping": "^7.28.5", "@babel/plugin-transform-class-properties": "^7.27.1", "@babel/plugin-transform-class-static-block": "^7.28.3", - "@babel/plugin-transform-classes": "^7.28.3", + "@babel/plugin-transform-classes": "^7.28.4", "@babel/plugin-transform-computed-properties": "^7.27.1", - "@babel/plugin-transform-destructuring": "^7.28.0", + "@babel/plugin-transform-destructuring": "^7.28.5", "@babel/plugin-transform-dotall-regex": "^7.27.1", "@babel/plugin-transform-duplicate-keys": "^7.27.1", "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.27.1", "@babel/plugin-transform-dynamic-import": "^7.27.1", "@babel/plugin-transform-explicit-resource-management": "^7.28.0", - "@babel/plugin-transform-exponentiation-operator": "^7.27.1", + "@babel/plugin-transform-exponentiation-operator": "^7.28.5", "@babel/plugin-transform-export-namespace-from": "^7.27.1", "@babel/plugin-transform-for-of": "^7.27.1", "@babel/plugin-transform-function-name": "^7.27.1", "@babel/plugin-transform-json-strings": "^7.27.1", "@babel/plugin-transform-literals": "^7.27.1", - "@babel/plugin-transform-logical-assignment-operators": "^7.27.1", + "@babel/plugin-transform-logical-assignment-operators": "^7.28.5", "@babel/plugin-transform-member-expression-literals": "^7.27.1", "@babel/plugin-transform-modules-amd": "^7.27.1", "@babel/plugin-transform-modules-commonjs": "^7.27.1", - "@babel/plugin-transform-modules-systemjs": "^7.27.1", + "@babel/plugin-transform-modules-systemjs": "^7.28.5", "@babel/plugin-transform-modules-umd": "^7.27.1", "@babel/plugin-transform-named-capturing-groups-regex": "^7.27.1", "@babel/plugin-transform-new-target": "^7.27.1", "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1", "@babel/plugin-transform-numeric-separator": "^7.27.1", - "@babel/plugin-transform-object-rest-spread": "^7.28.0", + "@babel/plugin-transform-object-rest-spread": "^7.28.4", "@babel/plugin-transform-object-super": "^7.27.1", "@babel/plugin-transform-optional-catch-binding": "^7.27.1", - "@babel/plugin-transform-optional-chaining": "^7.27.1", + "@babel/plugin-transform-optional-chaining": "^7.28.5", "@babel/plugin-transform-parameters": "^7.27.7", "@babel/plugin-transform-private-methods": "^7.27.1", "@babel/plugin-transform-private-property-in-object": "^7.27.1", "@babel/plugin-transform-property-literals": "^7.27.1", - "@babel/plugin-transform-regenerator": "^7.28.3", + "@babel/plugin-transform-regenerator": "^7.28.4", "@babel/plugin-transform-regexp-modifiers": "^7.27.1", "@babel/plugin-transform-reserved-words": "^7.27.1", "@babel/plugin-transform-shorthand-properties": "^7.27.1", @@ -1559,14 +1569,11 @@ } }, "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" } @@ -1587,18 +1594,18 @@ } }, "node_modules/@babel/traverse": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.4.tgz", - "integrity": "sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.5.tgz", + "integrity": "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==", "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.28.3", + "@babel/generator": "^7.28.5", "@babel/helper-globals": "^7.28.0", - "@babel/parser": "^7.28.4", + "@babel/parser": "^7.28.5", "@babel/template": "^7.27.2", - "@babel/types": "^7.28.4", + "@babel/types": "^7.28.5", "debug": "^4.3.1" }, "engines": { @@ -1606,14 +1613,14 @@ } }, "node_modules/@babel/types": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.4.tgz", - "integrity": "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz", + "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==", "dev": true, "license": "MIT", "dependencies": { "@babel/helper-string-parser": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1" + "@babel/helper-validator-identifier": "^7.28.5" }, "engines": { "node": ">=6.9.0" @@ -1626,47 +1633,6 @@ "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==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "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==", - "dev": true, - "license": "ISC", - "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", @@ -1679,14 +1645,14 @@ } }, "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==", + "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": "MIT", "optional": true, "dependencies": { - "@commitlint/types": "^19.5.0", + "@commitlint/types": "^20.0.0", "ajv": "^8.11.0" }, "engines": { @@ -1694,9 +1660,9 @@ } }, "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, @@ -1705,17 +1671,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", @@ -1728,9 +1694,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, @@ -1742,15 +1708,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", @@ -1761,9 +1727,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, @@ -1776,9 +1742,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, @@ -1815,13 +1781,13 @@ } }, "node_modules/@dabh/diagnostics": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", - "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "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", "dependencies": { - "colorspace": "1.1.x", + "@so-ric/colorspace": "^1.1.6", "enabled": "2.0.x", "kuler": "^2.0.0" } @@ -2250,9 +2216,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": { @@ -2399,15 +2365,17 @@ } }, "node_modules/@gerrit0/mini-shiki": { - "version": "1.27.2", - "resolved": "https://registry.npmjs.org/@gerrit0/mini-shiki/-/mini-shiki-1.27.2.tgz", - "integrity": "sha512-GeWyHz8ao2gBiUW4OJnQDxXQnFgZQwwQk05t/CVVgNBN7/rK8XZ7xY6YhLVv9tH3VppWWmr9DCl3MwemB/i+Og==", + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/@gerrit0/mini-shiki/-/mini-shiki-3.14.0.tgz", + "integrity": "sha512-c5X8fwPLOtUS8TVdqhynz9iV0GlOtFUT1ppXYzUUlEXe4kbZ/mvMT8wXoT8kCwUka+zsiloq7sD3pZ3+QVTuNQ==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/engine-oniguruma": "^1.27.2", - "@shikijs/types": "^1.27.2", - "@shikijs/vscode-textmate": "^10.0.1" + "@shikijs/engine-oniguruma": "^3.14.0", + "@shikijs/langs": "^3.14.0", + "@shikijs/themes": "^3.14.0", + "@shikijs/types": "^3.14.0", + "@shikijs/vscode-textmate": "^10.0.2" } }, "node_modules/@humanfs/core": { @@ -2421,33 +2389,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", @@ -2463,9 +2417,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": { @@ -2476,15 +2430,25 @@ "url": "https://github.com/sponsors/nzakas" } }, + "node_modules/@inquirer/ansi": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.1.tgz", + "integrity": "sha512-yqq0aJW/5XPhi5xOAL1xRCpe1eh8UFVgYFpFsjEqmIR8rKLyP+HINvFXwUaxYICflJrVlxnp7lLN6As735kVpw==", + "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.19", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.19.tgz", + "integrity": "sha512-wQNz9cfcxrtEnUyG5PndC8g3gZ7lGDBzmWiXZkX8ot3vfZ+/BLjR8EvyGX4YzQLeVqtAlY/YScZpW7CW8qMoDQ==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.1.6", - "@inquirer/type": "^3.0.4" + "@inquirer/core": "^10.3.0", + "@inquirer/type": "^3.0.9" }, "engines": { "node": ">=18" @@ -2499,15 +2463,15 @@ } }, "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.0", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.0.tgz", + "integrity": "sha512-Uv2aPPPSK5jeCplQmQ9xadnFx2Zhj9b5Dj7bU6ZeCdDNNY11nhYy4btcSdtDguHqCT2h5oNeQTcUNSGGLA7NTA==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/figures": "^1.0.10", - "@inquirer/type": "^3.0.4", - "ansi-escapes": "^4.3.2", + "@inquirer/ansi": "^1.0.1", + "@inquirer/figures": "^1.0.14", + "@inquirer/type": "^3.0.9", "cli-width": "^4.1.0", "mute-stream": "^2.0.0", "signal-exit": "^4.1.0", @@ -2526,6 +2490,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", @@ -2536,6 +2516,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", @@ -2562,9 +2562,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.14", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.14.tgz", + "integrity": "sha512-DbFgdt+9/OZYFM+19dbpXOSeAstPy884FPy1KjDu4anWwymZeOYhMY1mdFri172htv6mvc/uvIAAi7b7tvjJBQ==", "dev": true, "license": "MIT", "engines": { @@ -2572,9 +2572,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.9", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.9.tgz", + "integrity": "sha512-QPaNt/nmE2bLGQa9b7wwyRJoLZ7pN6rcyXvzU0YCmivmJyq1BVo94G98tStRWkoD1RgDX5C+dPlhhHzNdu/W/w==", "dev": true, "license": "MIT", "engines": { @@ -2608,9 +2608,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": { @@ -2621,9 +2621,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": { @@ -2659,9 +2659,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": { @@ -2703,10 +2703,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" @@ -2735,9 +2736,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": { @@ -2746,26 +2747,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": { @@ -2829,16 +2844,16 @@ } }, "node_modules/@octokit/core": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.2.0.tgz", - "integrity": "sha512-1LFfa/qnMQvEOAdzlQymH0ulepxbxnCYAKJZfMci/5XJyIHWgEYnDmgnKakbTh7CH2tFQ5O60oYDvns4i9RAIg==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.2.2.tgz", + "integrity": "sha512-/g2d4sW9nUDJOMz3mabVQvOGhVa4e/BN/Um7yca9Bb2XTzPPnfTWHWQg+IsEYO7M3Vx+EXvaM/I2pJWIMun1bg==", "dev": true, "license": "MIT", "dependencies": { "@octokit/auth-token": "^4.0.0", "@octokit/graphql": "^7.1.0", - "@octokit/request": "^8.3.1", - "@octokit/request-error": "^5.1.0", + "@octokit/request": "^8.4.1", + "@octokit/request-error": "^5.1.1", "@octokit/types": "^13.0.0", "before-after-hook": "^2.2.0", "universal-user-agent": "^6.0.0" @@ -2848,9 +2863,9 @@ } }, "node_modules/@octokit/endpoint": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-9.0.5.tgz", - "integrity": "sha512-ekqR4/+PCLkEBF6qgj8WqJfvDq65RH85OAgrtnVp1mSxaXF03u2xW/hUdweGS5654IlC0wkNYC18Z50tSYTAFw==", + "version": "9.0.6", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-9.0.6.tgz", + "integrity": "sha512-H1fNTMA57HbkFESSt3Y9+FBICv+0jFceJFPWDePYlR/iMGrwM5ph+Dd4XRQs+8X+PUFURLQgX9ChPfhJ/1uNQw==", "dev": true, "license": "MIT", "dependencies": { @@ -2862,13 +2877,13 @@ } }, "node_modules/@octokit/graphql": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-7.1.0.tgz", - "integrity": "sha512-r+oZUH7aMFui1ypZnAvZmn0KSqAUgE1/tUXIWaqUCa1758ts/Jio84GZuzsvUkme98kv0WFY8//n0J1Z+vsIsQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-7.1.1.tgz", + "integrity": "sha512-3mkDltSfcDUoa176nlGoA32RGjeWjl3K7F/BwHwRMJUW/IteSa4bnSV8p2ThNkcIcZU2umkZWxwETSSCJf2Q7g==", "dev": true, "license": "MIT", "dependencies": { - "@octokit/request": "^8.3.0", + "@octokit/request": "^8.4.1", "@octokit/types": "^13.0.0", "universal-user-agent": "^6.0.0" }, @@ -2877,16 +2892,16 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "23.0.1", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-23.0.1.tgz", - "integrity": "sha512-izFjMJ1sir0jn0ldEKhZ7xegCTj/ObmEDlEfpFrx4k/JyZSMRHbO3/rBwgE7f3m2DHt+RrNGIVw4wSmwnm3t/g==", + "version": "24.2.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-24.2.0.tgz", + "integrity": "sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg==", "dev": true, "license": "MIT" }, "node_modules/@octokit/plugin-paginate-rest": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-9.2.1.tgz", - "integrity": "sha512-wfGhE/TAkXZRLjksFXuDZdmGnJQHvtU/joFQdweXUgzo1XwvBCD4o4+75NtFfjfLK5IwLf9vHTfSiU3sLRYpRw==", + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-9.2.2.tgz", + "integrity": "sha512-u3KYkGF7GcZnSD/3UP0S7K5XUFT2FkOQdcfXZGZQPGv3lm4F2Xbf71lvjldr8c1H3nNbF+33cLEkWYbokGWqiQ==", "dev": true, "license": "MIT", "dependencies": { @@ -2969,14 +2984,14 @@ } }, "node_modules/@octokit/request": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.4.0.tgz", - "integrity": "sha512-9Bb014e+m2TgBeEJGEbdplMVWwPmL1FPtggHQRkV+WVsMggPtEkLKPlcVYm/o8xKLkpJ7B+6N8WfQMtDLX2Dpw==", + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.4.1.tgz", + "integrity": "sha512-qnB2+SY3hkCmBxZsR/MPCybNmbJe4KAlfWErXq+rBKkQJlbjdJeS85VI9r8UqeLYLvnAenU8Q1okM/0MBsAGXw==", "dev": true, "license": "MIT", "dependencies": { - "@octokit/endpoint": "^9.0.1", - "@octokit/request-error": "^5.1.0", + "@octokit/endpoint": "^9.0.6", + "@octokit/request-error": "^5.1.1", "@octokit/types": "^13.1.0", "universal-user-agent": "^6.0.0" }, @@ -2985,9 +3000,9 @@ } }, "node_modules/@octokit/request-error": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-5.1.0.tgz", - "integrity": "sha512-GETXfE05J0+7H2STzekpKObFe765O5dlAKUTLNGeH+x47z7JjXHfsHKo5z21D/o/IOZTUEI6nyWyR+bZVP/n5Q==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-5.1.1.tgz", + "integrity": "sha512-v9iyEQJH6ZntoENr9/yXxjuezh4My67CBSu9r6Ve/05Iu5gNgnisNWOsoJHTP6k0Rr0+HQIpnH+kyammu90q/g==", "dev": true, "license": "MIT", "dependencies": { @@ -3000,13 +3015,13 @@ } }, "node_modules/@octokit/types": { - "version": "13.7.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.7.0.tgz", - "integrity": "sha512-BXfRP+3P3IN6fd4uF3SniaHKOO4UXWBfkdR3vA8mIvaoO/wLjGN5qivUtW0QRitBHHMcfC41SLhNVYIZZE+wkA==", + "version": "13.10.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.10.0.tgz", + "integrity": "sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA==", "dev": true, "license": "MIT", "dependencies": { - "@octokit/openapi-types": "^23.0.1" + "@octokit/openapi-types": "^24.2.0" } }, "node_modules/@open-draft/deferred-promise": { @@ -3046,64 +3061,17 @@ } }, "node_modules/@playwright/test": { - "version": "1.55.1", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.55.1.tgz", - "integrity": "sha512-IVAh/nOJaw6W9g+RJVlIQJ6gSiER+ae6mKQ5CX1bERzQgbC1VSeBlwdvczT7pxb0GWiyrxH4TGKbMfDb4Sq/ig==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "playwright": "1.55.1" - }, - "bin": { - "playwright": "cli.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@playwright/test/node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/@playwright/test/node_modules/playwright": { - "version": "1.55.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.55.1.tgz", - "integrity": "sha512-cJW4Xd/G3v5ovXtJJ52MAOclqeac9S/aGGgRzLabuF8TnIb6xHvMzKIa6JmrRzUkeXJgfL1MhukP0NK6l39h3A==", + "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-core": "1.55.1" + "playwright": "1.56.1" }, "bin": { "playwright": "cli.js" }, - "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "fsevents": "2.3.2" - } - }, - "node_modules/@playwright/test/node_modules/playwright-core": { - "version": "1.55.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.55.1.tgz", - "integrity": "sha512-Z6Mh9mkwX+zxSlHqdr5AOcJnfp+xUWLCt9uKV18fhzA8eyxUd8NUWzAjxUh55RZKSYwDGX0cfaySdhZJGMoJ+w==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "playwright-core": "cli.js" - }, "engines": { "node": ">=18" } @@ -3154,9 +3122,9 @@ } }, "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" }, @@ -3206,9 +3174,9 @@ } }, "node_modules/@rollup/plugin-commonjs": { - "version": "28.0.7", - "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.7.tgz", - "integrity": "sha512-6cE2Wr/MkpdtTS8gXlCn9Zdmf7e9Xm96yFqOwFEXuvYLAHtjRf57/n6GEVF4K8NSesT1eKdBtcDA/SQdpW/8nA==", + "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", "dependencies": { @@ -3232,44 +3200,6 @@ } } }, - "node_modules/@rollup/plugin-commonjs/node_modules/estree-walker": { - "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" - }, - "node_modules/@rollup/plugin-commonjs/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/@rollup/plugin-commonjs/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/@rollup/plugin-json": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-6.1.0.tgz", @@ -3362,9 +3292,9 @@ } }, "node_modules/@rollup/plugin-typescript": { - "version": "12.1.4", - "resolved": "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-12.1.4.tgz", - "integrity": "sha512-s5Hx+EtN60LMlDBvl5f04bEiFZmAepk27Q+mr85L/00zPDn1jtzlTV6FWn81MaIwqfWzKxmOJrBWHU6vtQyedQ==", + "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": { @@ -3411,30 +3341,10 @@ } } }, - "node_modules/@rollup/pluginutils/node_modules/estree-walker": { - "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" - }, - "node_modules/@rollup/pluginutils/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/@rollup/rollup-android-arm-eabi": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.52.4.tgz", - "integrity": "sha512-BTm2qKNnWIQ5auf4deoetINJm2JzvihvGb9R6K/ETwKLql/Bb3Eg2H1FBp1gUb4YGbydMA3jcmQTR73q7J+GAA==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.52.5.tgz", + "integrity": "sha512-8c1vW4ocv3UOMp9K+gToY5zL2XiiVw3k7f1ksf4yO1FlDFQ1C2u72iACFnSOceJFsWskc2WZNqeRhFRPzv+wtQ==", "cpu": [ "arm" ], @@ -3446,9 +3356,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.52.4.tgz", - "integrity": "sha512-P9LDQiC5vpgGFgz7GSM6dKPCiqR3XYN1WwJKA4/BUVDjHpYsf3iBEmVz62uyq20NGYbiGPR5cNHI7T1HqxNs2w==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.52.5.tgz", + "integrity": "sha512-mQGfsIEFcu21mvqkEKKu2dYmtuSZOBMmAl5CFlPGLY94Vlcm+zWApK7F/eocsNzp8tKmbeBP8yXyAbx0XHsFNA==", "cpu": [ "arm64" ], @@ -3460,9 +3370,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.52.4.tgz", - "integrity": "sha512-QRWSW+bVccAvZF6cbNZBJwAehmvG9NwfWHwMy4GbWi/BQIA/laTIktebT2ipVjNncqE6GLPxOok5hsECgAxGZg==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.52.5.tgz", + "integrity": "sha512-takF3CR71mCAGA+v794QUZ0b6ZSrgJkArC+gUiG6LB6TQty9T0Mqh3m2ImRBOxS2IeYBo4lKWIieSvnEk2OQWA==", "cpu": [ "arm64" ], @@ -3474,9 +3384,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.52.4.tgz", - "integrity": "sha512-hZgP05pResAkRJxL1b+7yxCnXPGsXU0fG9Yfd6dUaoGk+FhdPKCJ5L1Sumyxn8kvw8Qi5PvQ8ulenUbRjzeCTw==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.52.5.tgz", + "integrity": "sha512-W901Pla8Ya95WpxDn//VF9K9u2JbocwV/v75TE0YIHNTbhqUTv9w4VuQ9MaWlNOkkEfFwkdNhXgcLqPSmHy0fA==", "cpu": [ "x64" ], @@ -3488,9 +3398,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.52.4.tgz", - "integrity": "sha512-xmc30VshuBNUd58Xk4TKAEcRZHaXlV+tCxIXELiE9sQuK3kG8ZFgSPi57UBJt8/ogfhAF5Oz4ZSUBN77weM+mQ==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.52.5.tgz", + "integrity": "sha512-QofO7i7JycsYOWxe0GFqhLmF6l1TqBswJMvICnRUjqCx8b47MTo46W8AoeQwiokAx3zVryVnxtBMcGcnX12LvA==", "cpu": [ "arm64" ], @@ -3502,9 +3412,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.52.4.tgz", - "integrity": "sha512-WdSLpZFjOEqNZGmHflxyifolwAiZmDQzuOzIq9L27ButpCVpD7KzTRtEG1I0wMPFyiyUdOO+4t8GvrnBLQSwpw==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.52.5.tgz", + "integrity": "sha512-jr21b/99ew8ujZubPo9skbrItHEIE50WdV86cdSoRkKtmWa+DDr6fu2c/xyRT0F/WazZpam6kk7IHBerSL7LDQ==", "cpu": [ "x64" ], @@ -3516,9 +3426,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.52.4.tgz", - "integrity": "sha512-xRiOu9Of1FZ4SxVbB0iEDXc4ddIcjCv2aj03dmW8UrZIW7aIQ9jVJdLBIhxBI+MaTnGAKyvMwPwQnoOEvP7FgQ==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.52.5.tgz", + "integrity": "sha512-PsNAbcyv9CcecAUagQefwX8fQn9LQ4nZkpDboBOttmyffnInRy8R8dSg6hxxl2Re5QhHBf6FYIDhIj5v982ATQ==", "cpu": [ "arm" ], @@ -3530,9 +3440,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.52.4.tgz", - "integrity": "sha512-FbhM2p9TJAmEIEhIgzR4soUcsW49e9veAQCziwbR+XWB2zqJ12b4i/+hel9yLiD8pLncDH4fKIPIbt5238341Q==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.52.5.tgz", + "integrity": "sha512-Fw4tysRutyQc/wwkmcyoqFtJhh0u31K+Q6jYjeicsGJJ7bbEq8LwPWV/w0cnzOqR2m694/Af6hpFayLJZkG2VQ==", "cpu": [ "arm" ], @@ -3544,9 +3454,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.52.4.tgz", - "integrity": "sha512-4n4gVwhPHR9q/g8lKCyz0yuaD0MvDf7dV4f9tHt0C73Mp8h38UCtSCSE6R9iBlTbXlmA8CjpsZoujhszefqueg==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.52.5.tgz", + "integrity": "sha512-a+3wVnAYdQClOTlyapKmyI6BLPAFYs0JM8HRpgYZQO02rMR09ZcV9LbQB+NL6sljzG38869YqThrRnfPMCDtZg==", "cpu": [ "arm64" ], @@ -3558,9 +3468,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.52.4.tgz", - "integrity": "sha512-u0n17nGA0nvi/11gcZKsjkLj1QIpAuPFQbR48Subo7SmZJnGxDpspyw2kbpuoQnyK+9pwf3pAoEXerJs/8Mi9g==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.52.5.tgz", + "integrity": "sha512-AvttBOMwO9Pcuuf7m9PkC1PUIKsfaAJ4AYhy944qeTJgQOqJYJ9oVl2nYgY7Rk0mkbsuOpCAYSs6wLYB2Xiw0Q==", "cpu": [ "arm64" ], @@ -3572,9 +3482,9 @@ ] }, "node_modules/@rollup/rollup-linux-loong64-gnu": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.52.4.tgz", - "integrity": "sha512-0G2c2lpYtbTuXo8KEJkDkClE/+/2AFPdPAbmaHoE870foRFs4pBrDehilMcrSScrN/fB/1HTaWO4bqw+ewBzMQ==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.52.5.tgz", + "integrity": "sha512-DkDk8pmXQV2wVrF6oq5tONK6UHLz/XcEVow4JTTerdeV1uqPeHxwcg7aFsfnSm9L+OO8WJsWotKM2JJPMWrQtA==", "cpu": [ "loong64" ], @@ -3586,9 +3496,9 @@ ] }, "node_modules/@rollup/rollup-linux-ppc64-gnu": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.52.4.tgz", - "integrity": "sha512-teSACug1GyZHmPDv14VNbvZFX779UqWTsd7KtTM9JIZRDI5NUwYSIS30kzI8m06gOPB//jtpqlhmraQ68b5X2g==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.52.5.tgz", + "integrity": "sha512-W/b9ZN/U9+hPQVvlGwjzi+Wy4xdoH2I8EjaCkMvzpI7wJUs8sWJ03Rq96jRnHkSrcHTpQe8h5Tg3ZzUPGauvAw==", "cpu": [ "ppc64" ], @@ -3600,9 +3510,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.52.4.tgz", - "integrity": "sha512-/MOEW3aHjjs1p4Pw1Xk4+3egRevx8Ji9N6HUIA1Ifh8Q+cg9dremvFCUbOX2Zebz80BwJIgCBUemjqhU5XI5Eg==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.52.5.tgz", + "integrity": "sha512-sjQLr9BW7R/ZiXnQiWPkErNfLMkkWIoCz7YMn27HldKsADEKa5WYdobaa1hmN6slu9oWQbB6/jFpJ+P2IkVrmw==", "cpu": [ "riscv64" ], @@ -3614,9 +3524,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-musl": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.52.4.tgz", - "integrity": "sha512-1HHmsRyh845QDpEWzOFtMCph5Ts+9+yllCrREuBR/vg2RogAQGGBRC8lDPrPOMnrdOJ+mt1WLMOC2Kao/UwcvA==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.52.5.tgz", + "integrity": "sha512-hq3jU/kGyjXWTvAh2awn8oHroCbrPm8JqM7RUpKjalIRWWXE01CQOf/tUNWNHjmbMHg/hmNCwc/Pz3k1T/j/Lg==", "cpu": [ "riscv64" ], @@ -3628,9 +3538,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.52.4.tgz", - "integrity": "sha512-seoeZp4L/6D1MUyjWkOMRU6/iLmCU2EjbMTyAG4oIOs1/I82Y5lTeaxW0KBfkUdHAWN7j25bpkt0rjnOgAcQcA==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.52.5.tgz", + "integrity": "sha512-gn8kHOrku8D4NGHMK1Y7NA7INQTRdVOntt1OCYypZPRt6skGbddska44K8iocdpxHTMMNui5oH4elPH4QOLrFQ==", "cpu": [ "s390x" ], @@ -3642,9 +3552,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.4.tgz", - "integrity": "sha512-Wi6AXf0k0L7E2gteNsNHUs7UMwCIhsCTs6+tqQ5GPwVRWMaflqGec4Sd8n6+FNFDw9vGcReqk2KzBDhCa1DLYg==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.5.tgz", + "integrity": "sha512-hXGLYpdhiNElzN770+H2nlx+jRog8TyynpTVzdlc6bndktjKWyZyiCsuDAlpd+j+W+WNqfcyAWz9HxxIGfZm1Q==", "cpu": [ "x64" ], @@ -3655,9 +3565,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.52.4.tgz", - "integrity": "sha512-dtBZYjDmCQ9hW+WgEkaffvRRCKm767wWhxsFW3Lw86VXz/uJRuD438/XvbZT//B96Vs8oTA8Q4A0AfHbrxP9zw==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.52.5.tgz", + "integrity": "sha512-arCGIcuNKjBoKAXD+y7XomR9gY6Mw7HnFBv5Rw7wQRvwYLR7gBAgV7Mb2QTyjXfTveBNFAtPt46/36vV9STLNg==", "cpu": [ "x64" ], @@ -3669,9 +3579,9 @@ ] }, "node_modules/@rollup/rollup-openharmony-arm64": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.52.4.tgz", - "integrity": "sha512-1ox+GqgRWqaB1RnyZXL8PD6E5f7YyRUJYnCqKpNzxzP0TkaUh112NDrR9Tt+C8rJ4x5G9Mk8PQR3o7Ku2RKqKA==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.52.5.tgz", + "integrity": "sha512-QoFqB6+/9Rly/RiPjaomPLmR/13cgkIGfA40LHly9zcH1S0bN2HVFYk3a1eAyHQyjs3ZJYlXvIGtcCs5tko9Cw==", "cpu": [ "arm64" ], @@ -3683,9 +3593,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.52.4.tgz", - "integrity": "sha512-8GKr640PdFNXwzIE0IrkMWUNUomILLkfeHjXBi/nUvFlpZP+FA8BKGKpacjW6OUUHaNI6sUURxR2U2g78FOHWQ==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.52.5.tgz", + "integrity": "sha512-w0cDWVR6MlTstla1cIfOGyl8+qb93FlAVutcor14Gf5Md5ap5ySfQ7R9S/NjNaMLSFdUnKGEasmVnu3lCMqB7w==", "cpu": [ "arm64" ], @@ -3697,9 +3607,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.52.4.tgz", - "integrity": "sha512-AIy/jdJ7WtJ/F6EcfOb2GjR9UweO0n43jNObQMb6oGxkYTfLcnN7vYYpG+CN3lLxrQkzWnMOoNSHTW54pgbVxw==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.52.5.tgz", + "integrity": "sha512-Aufdpzp7DpOTULJCuvzqcItSGDH73pF3ko/f+ckJhxQyHtp67rHw3HMNxoIdDMUITJESNE6a8uh4Lo4SLouOUg==", "cpu": [ "ia32" ], @@ -3711,9 +3621,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-gnu": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.52.4.tgz", - "integrity": "sha512-UF9KfsH9yEam0UjTwAgdK0anlQ7c8/pWPU2yVjyWcF1I1thABt6WXE47cI71pGiZ8wGvxohBoLnxM04L/wj8mQ==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.52.5.tgz", + "integrity": "sha512-UGBUGPFp1vkj6p8wCRraqNhqwX/4kNQPS57BCFc8wYh0g94iVIW33wJtQAx3G7vrjjNtRaxiMUylM0ktp/TRSQ==", "cpu": [ "x64" ], @@ -3725,9 +3635,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.52.4.tgz", - "integrity": "sha512-bf9PtUa0u8IXDVxzRToFQKsNCRz9qLYfR/MpECxl4mRoWYjAeFjgxj1XdZr2M/GNVpT05p+LgQOHopYDlUu6/w==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.52.5.tgz", + "integrity": "sha512-TAcgQh2sSkykPRWLrdyy2AiceMckNf5loITqXxFI5VuQjS5tSuw3WlwdN8qv8vzjLAUTvYaH/mVjSFpbkFbpTg==", "cpu": [ "x64" ], @@ -3848,9 +3758,9 @@ } }, "node_modules/@semantic-release/github/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": { @@ -3945,9 +3855,9 @@ } }, "node_modules/@semantic-release/npm/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": { @@ -3987,9 +3897,9 @@ } }, "node_modules/@semantic-release/npm/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": { @@ -4038,24 +3948,44 @@ } }, "node_modules/@shikijs/engine-oniguruma": { - "version": "1.29.2", - "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-1.29.2.tgz", - "integrity": "sha512-7iiOx3SG8+g1MnlzZVDYiaeHe7Ez2Kf2HrJzdmGwkRisT7r4rak0e655AcM/tF9JG/kg5fMNYlLLKglbN7gBqA==", + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.14.0.tgz", + "integrity": "sha512-TNcYTYMbJyy+ZjzWtt0bG5y4YyMIWC2nyePz+CFMWqm+HnZZyy9SWMgo8Z6KBJVIZnx8XUXS8U2afO6Y0g1Oug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/types": "3.14.0", + "@shikijs/vscode-textmate": "^10.0.2" + } + }, + "node_modules/@shikijs/langs": { + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-3.14.0.tgz", + "integrity": "sha512-DIB2EQY7yPX1/ZH7lMcwrK5pl+ZkP/xoSpUzg9YC8R+evRCCiSQ7yyrvEyBsMnfZq4eBzLzBlugMyTAf13+pzg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/types": "3.14.0" + } + }, + "node_modules/@shikijs/themes": { + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-3.14.0.tgz", + "integrity": "sha512-fAo/OnfWckNmv4uBoUu6dSlkcBc+SA1xzj5oUSaz5z3KqHtEbUypg/9xxgJARtM6+7RVm0Q6Xnty41xA1ma1IA==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/types": "1.29.2", - "@shikijs/vscode-textmate": "^10.0.1" + "@shikijs/types": "3.14.0" } }, "node_modules/@shikijs/types": { - "version": "1.29.2", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-1.29.2.tgz", - "integrity": "sha512-VJjK0eIijTZf0QSTODEXCqinjBn0joAHQ+aPSBzrv4O2d/QSbsMw+ZeSRx03kV34Hy7NzUvV/7NqfYGRLrASmw==", + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.14.0.tgz", + "integrity": "sha512-bQGgC6vrY8U/9ObG1Z/vTro+uclbjjD/uG58RvfxKZVD5p9Yc1ka3tVyEFy7BNJLzxuWyHH5NWynP9zZZS59eQ==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/vscode-textmate": "^10.0.1", + "@shikijs/vscode-textmate": "^10.0.2", "@types/hast": "^3.0.4" } }, @@ -4105,10 +4035,21 @@ "size-limit": "11.2.0" } }, + "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.0", - "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.0.tgz", - "integrity": "sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==", + "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": { @@ -4116,9 +4057,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": { @@ -4147,9 +4088,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, @@ -4157,13 +4098,6 @@ "@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/estree": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", @@ -4199,7 +4133,8 @@ "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/lodash-es": { "version": "4.17.12", @@ -4212,9 +4147,9 @@ } }, "node_modules/@types/node": { - "version": "20.19.19", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.19.tgz", - "integrity": "sha512-pb1Uqj5WJP7wrcbLU7Ru4QtA0+3kAXrkutGiD26wUKzSMgNNaPARTUDQmElUXp64kh3cWdou3Q0C7qwwxqSFmg==", + "version": "20.19.23", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.23.tgz", + "integrity": "sha512-yIdlVVVHXpmqRhtyovZAcSy0MiPcYWGkoO4CGe/+jpP0hmNuihm4XhHbADpK++MsiLHP5MVlv+bcgdF99kSiFQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4236,16 +4171,9 @@ "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==", - "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==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/statuses/-/statuses-2.0.6.tgz", + "integrity": "sha512-xMAgYwceFhRA2zY+XbEA7mxYbA093wdiW8Vu6gZPGWy9cmOyU9XesH1tNcEWsKFd5Vzrqx5T3D38PWx1FIIXkA==", "dev": true, "license": "MIT" }, @@ -4264,17 +4192,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.46.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.1.tgz", - "integrity": "sha512-rUsLh8PXmBjdiPY+Emjz9NX2yHvhS11v0SR6xNJkm5GM1MO9ea/1GoDKlHHZGrOJclL/cZ2i/vRUYVtjRhrHVQ==", + "version": "8.46.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.2.tgz", + "integrity": "sha512-ZGBMToy857/NIPaaCucIUQgqueOiq7HeAKkhlvqVV4lm089zUFW6ikRySx2v+cAhKeUCPuWVHeimyk6Dw1iY3w==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.46.1", - "@typescript-eslint/type-utils": "8.46.1", - "@typescript-eslint/utils": "8.46.1", - "@typescript-eslint/visitor-keys": "8.46.1", + "@typescript-eslint/scope-manager": "8.46.2", + "@typescript-eslint/type-utils": "8.46.2", + "@typescript-eslint/utils": "8.46.2", + "@typescript-eslint/visitor-keys": "8.46.2", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", @@ -4288,7 +4216,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.46.1", + "@typescript-eslint/parser": "^8.46.2", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } @@ -4304,16 +4232,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.46.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.46.1.tgz", - "integrity": "sha512-6JSSaBZmsKvEkbRUkf7Zj7dru/8ZCrJxAqArcLaVMee5907JdtEbKGsZ7zNiIm/UAkpGUkaSMZEXShnN2D1HZA==", + "version": "8.46.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.46.2.tgz", + "integrity": "sha512-BnOroVl1SgrPLywqxyqdJ4l3S2MsKVLDVxZvjI1Eoe8ev2r3kGDo+PcMihNmDE+6/KjkTubSJnmqGZZjQSBq/g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.46.1", - "@typescript-eslint/types": "8.46.1", - "@typescript-eslint/typescript-estree": "8.46.1", - "@typescript-eslint/visitor-keys": "8.46.1", + "@typescript-eslint/scope-manager": "8.46.2", + "@typescript-eslint/types": "8.46.2", + "@typescript-eslint/typescript-estree": "8.46.2", + "@typescript-eslint/visitor-keys": "8.46.2", "debug": "^4.3.4" }, "engines": { @@ -4329,14 +4257,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.46.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.46.1.tgz", - "integrity": "sha512-FOIaFVMHzRskXr5J4Jp8lFVV0gz5ngv3RHmn+E4HYxSJ3DgDzU7fVI1/M7Ijh1zf6S7HIoaIOtln1H5y8V+9Zg==", + "version": "8.46.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.46.2.tgz", + "integrity": "sha512-PULOLZ9iqwI7hXcmL4fVfIsBi6AN9YxRc0frbvmg8f+4hQAjQ5GYNKK0DIArNo+rOKmR/iBYwkpBmnIwin4wBg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.46.1", - "@typescript-eslint/types": "^8.46.1", + "@typescript-eslint/tsconfig-utils": "^8.46.2", + "@typescript-eslint/types": "^8.46.2", "debug": "^4.3.4" }, "engines": { @@ -4351,14 +4279,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.46.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.1.tgz", - "integrity": "sha512-weL9Gg3/5F0pVQKiF8eOXFZp8emqWzZsOJuWRUNtHT+UNV2xSJegmpCNQHy37aEQIbToTq7RHKhWvOsmbM680A==", + "version": "8.46.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.2.tgz", + "integrity": "sha512-LF4b/NmGvdWEHD2H4MsHD8ny6JpiVNDzrSZr3CsckEgCbAGZbYM4Cqxvi9L+WqDMT+51Ozy7lt2M+d0JLEuBqA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.1", - "@typescript-eslint/visitor-keys": "8.46.1" + "@typescript-eslint/types": "8.46.2", + "@typescript-eslint/visitor-keys": "8.46.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4369,9 +4297,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.46.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.46.1.tgz", - "integrity": "sha512-X88+J/CwFvlJB+mK09VFqx5FE4H5cXD+H/Bdza2aEWkSb8hnWIQorNcscRl4IEo1Cz9VI/+/r/jnGWkbWPx54g==", + "version": "8.46.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.46.2.tgz", + "integrity": "sha512-a7QH6fw4S57+F5y2FIxxSDyi5M4UfGF+Jl1bCGd7+L4KsaUY80GsiF/t0UoRFDHAguKlBaACWJRmdrc6Xfkkag==", "dev": true, "license": "MIT", "engines": { @@ -4386,15 +4314,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.46.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.46.1.tgz", - "integrity": "sha512-+BlmiHIiqufBxkVnOtFwjah/vrkF4MtKKvpXrKSPLCkCtAp8H01/VV43sfqA98Od7nJpDcFnkwgyfQbOG0AMvw==", + "version": "8.46.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.46.2.tgz", + "integrity": "sha512-HbPM4LbaAAt/DjxXaG9yiS9brOOz6fabal4uvUmaUYe6l3K1phQDMQKBRUrr06BQkxkvIZVVHttqiybM9nJsLA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.1", - "@typescript-eslint/typescript-estree": "8.46.1", - "@typescript-eslint/utils": "8.46.1", + "@typescript-eslint/types": "8.46.2", + "@typescript-eslint/typescript-estree": "8.46.2", + "@typescript-eslint/utils": "8.46.2", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, @@ -4411,9 +4339,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.46.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.1.tgz", - "integrity": "sha512-C+soprGBHwWBdkDpbaRC4paGBrkIXxVlNohadL5o0kfhsXqOC6GYH2S/Obmig+I0HTDl8wMaRySwrfrXVP8/pQ==", + "version": "8.46.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.2.tgz", + "integrity": "sha512-lNCWCbq7rpg7qDsQrd3D6NyWYu+gkTENkG5IKYhUIcxSb59SQC/hEQ+MrG4sTgBVghTonNWq42bA/d4yYumldQ==", "dev": true, "license": "MIT", "engines": { @@ -4425,16 +4353,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.46.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.1.tgz", - "integrity": "sha512-uIifjT4s8cQKFQ8ZBXXyoUODtRoAd7F7+G8MKmtzj17+1UbdzFl52AzRyZRyKqPHhgzvXunnSckVu36flGy8cg==", + "version": "8.46.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.2.tgz", + "integrity": "sha512-f7rW7LJ2b7Uh2EiQ+7sza6RDZnajbNbemn54Ob6fRwQbgcIn+GWfyuHDHRYgRoZu1P4AayVScrRW+YfbTvPQoQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.46.1", - "@typescript-eslint/tsconfig-utils": "8.46.1", - "@typescript-eslint/types": "8.46.1", - "@typescript-eslint/visitor-keys": "8.46.1", + "@typescript-eslint/project-service": "8.46.2", + "@typescript-eslint/tsconfig-utils": "8.46.2", + "@typescript-eslint/types": "8.46.2", + "@typescript-eslint/visitor-keys": "8.46.2", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -4493,16 +4421,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.46.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.1.tgz", - "integrity": "sha512-vkYUy6LdZS7q1v/Gxb2Zs7zziuXN0wxqsetJdeZdRe/f5dwJFglmuvZBfTUivCtjH725C1jWCDfpadadD95EDQ==", + "version": "8.46.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.2.tgz", + "integrity": "sha512-sExxzucx0Tud5tE0XqR0lT0psBQvEpnpiul9XbGUB1QwpWJJAps1O/Z7hJxLGiZLBKMCutjTzDgmd1muEhBnVg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.46.1", - "@typescript-eslint/types": "8.46.1", - "@typescript-eslint/typescript-estree": "8.46.1" + "@typescript-eslint/scope-manager": "8.46.2", + "@typescript-eslint/types": "8.46.2", + "@typescript-eslint/typescript-estree": "8.46.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4517,13 +4445,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.46.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.1.tgz", - "integrity": "sha512-ptkmIf2iDkNUjdeu2bQqhFPV1m6qTnFFjg7PPDjxKWaMaP0Z6I9l30Jr3g5QqbZGdw8YdYvLp+XnqnWWZOg/NA==", + "version": "8.46.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.2.tgz", + "integrity": "sha512-tUFMXI4gxzzMXt4xpGJEsBsTox0XbNQ1y94EwlD/CuZwFcQP79xfQqMhau9HsRc/J0cAPA/HZt1dZPtGn9V/7w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.1", + "@typescript-eslint/types": "8.46.2", "eslint-visitor-keys": "^4.2.1" }, "engines": { @@ -4647,6 +4575,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", @@ -4718,10 +4656,11 @@ } }, "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" }, @@ -4740,9 +4679,9 @@ } }, "node_modules/agent-base": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", - "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", "dev": true, "license": "MIT", "engines": { @@ -4821,19 +4760,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/ansicolors": { @@ -4857,6 +4793,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", @@ -4905,24 +4854,6 @@ "dev": true, "license": "MIT" }, - "node_modules/async-function": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz", - "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/async-generator-function": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/async-generator-function/-/async-generator-function-1.0.0.tgz", - "integrity": "sha512-+NAXNqgCrB95ya4Sr66i1CL2hqLVckAk7xwRYWdcm39/ELQ6YNn1aw5r0bdQtqNZgQpEWzc5yc/igXc7aL5SLA==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -4955,6 +4886,7 @@ "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", @@ -4969,6 +4901,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" @@ -4982,6 +4915,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" }, @@ -5017,6 +4951,16 @@ ], "license": "MIT" }, + "node_modules/baseline-browser-mapping": { + "version": "2.8.20", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.20.tgz", + "integrity": "sha512-JMWsdF+O8Orq3EMukbUN1QfbLK9mX2CkUmQBcW2T0s8OmdAUL5LLM/6wFwSrqXzlXB13yhyK9gTKS1rIizOduQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.js" + } + }, "node_modules/before-after-hook": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", @@ -5057,9 +5001,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": { @@ -5081,9 +5025,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.27.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.27.0.tgz", + "integrity": "sha512-AXVQwdhot1eqLihwasPElhX2tAZiBjWdJ9i/Zcj2S6QYIjkx62OKSfnobkriB81C3l4w0rVy3Nt4jaTBltYEpw==", "dev": true, "funding": [ { @@ -5099,11 +5043,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.19", + "caniuse-lite": "^1.0.30001751", + "electron-to-chromium": "^1.5.238", + "node-releases": "^2.0.26", + "update-browserslist-db": "^1.1.4" }, "bin": { "browserslist": "cli.js" @@ -5221,9 +5167,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.30001751", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001751.tgz", + "integrity": "sha512-A0QJhug0Ly64Ii3eIqHu5X51ebln3k4yTUkY1j8drqpWHVreg/VLijN48cZ1bYPiqOQuqpkIKnzr/Ul8V+p6Cw==", "dev": true, "funding": [ { @@ -5238,7 +5184,8 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ] + ], + "license": "CC-BY-4.0" }, "node_modules/cardinal": { "version": "2.1.1", @@ -5255,9 +5202,9 @@ } }, "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": { @@ -5268,24 +5215,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": { @@ -5340,6 +5285,19 @@ "fsevents": "~2.3.2" } }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -5410,9 +5368,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": { @@ -5423,9 +5381,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" }, @@ -5448,9 +5406,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": { @@ -5499,63 +5457,81 @@ } }, "node_modules/color": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", - "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/color/-/color-5.0.2.tgz", + "integrity": "sha512-e2hz5BzbUPcYlIRHo8ieAhYgoajrJr+hWoceg6E345TPsATMUKqDgzt8fSXZJJbxfpiPzkWyphz8yn8At7q3fA==", "dev": true, "license": "MIT", "dependencies": { - "color-convert": "^1.9.3", - "color-string": "^1.6.0" + "color-convert": "^3.0.1", + "color-string": "^2.0.0" + }, + "engines": { + "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": "1.9.1", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", - "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-2.1.2.tgz", + "integrity": "sha512-RxmjYxbWemV9gKu4zPgiZagUxbH3RQpEIO77XoSSX0ivgABDZ+h8Zuash/EMFLTI4N9QgFPOJ6JQpPZKFxa+dA==", "dev": true, "license": "MIT", "dependencies": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" + "color-name": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/color-string/node_modules/color-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-2.0.2.tgz", + "integrity": "sha512-9vEt7gE16EW7Eu7pvZnR0abW9z6ufzhXxGXZEVU9IqPdlsUiMwJeJfRtq0zePUmnbHGT9zajca7mX8zgoayo4A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.20" } }, "node_modules/color/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==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-3.1.2.tgz", + "integrity": "sha512-UNqkvCDXstVck3kdowtOTWROIJQwafjOfXSmddoDrXo4cewMKmusCeF22Q24zvjR8nwWib/3S/dfyzPItPEiJg==", "dev": true, "license": "MIT", "dependencies": { - "color-name": "1.1.3" + "color-name": "^2.0.0" + }, + "engines": { + "node": ">=14.6" } }, "node_modules/color/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==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-2.0.2.tgz", + "integrity": "sha512-9vEt7gE16EW7Eu7pvZnR0abW9z6ufzhXxGXZEVU9IqPdlsUiMwJeJfRtq0zePUmnbHGT9zajca7mX8zgoayo4A==", "dev": true, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=12.20" + } }, "node_modules/colorette": { "version": "2.0.20", @@ -5564,17 +5540,6 @@ "dev": true, "license": "MIT" }, - "node_modules/colorspace": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", - "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", - "dev": true, - "license": "MIT", - "dependencies": { - "color": "^3.1.3", - "text-hex": "1.0.x" - } - }, "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", @@ -5587,6 +5552,16 @@ "node": ">= 0.8" } }, + "node_modules/commander": { + "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": ">=18" + } + }, "node_modules/commitizen": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/commitizen/-/commitizen-4.3.1.tgz", @@ -5774,11 +5749,14 @@ } }, "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": "7.0.0", @@ -5815,9 +5793,9 @@ } }, "node_modules/conventional-changelog-writer/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": { @@ -5871,13 +5849,24 @@ "license": "MIT", "peer": true }, + "node_modules/cookie": { + "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": ">=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", @@ -5920,14 +5909,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" @@ -6003,113 +5992,35 @@ "@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==", - "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/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==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "1.1.3" - } - }, - "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/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": { - "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==", - "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==", + "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", "engines": { @@ -6269,13 +6180,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", @@ -6327,10 +6231,11 @@ } }, "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.240", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.240.tgz", + "integrity": "sha512-OBwbZjWgrCOH+g6uJsA2/7Twpas2OlepS9uvByJjR2datRDuKGYeD+nP8lBBks2qnB7bGJNHDUx7c/YLaT3QMQ==", + "dev": true, + "license": "ISC" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -6405,9 +6310,9 @@ } }, "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": { @@ -6434,27 +6339,14 @@ "node": ">= 4" } }, - "node_modules/es-check/node_modules/acorn": { - "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" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/es-check/node_modules/commander": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-12.0.0.tgz", - "integrity": "sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==", + "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", "engines": { - "node": ">=18" + "node": ">=8" } }, "node_modules/es-check/node_modules/supports-color": { @@ -6492,9 +6384,9 @@ } }, "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" }, @@ -6575,16 +6467,13 @@ } }, "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": { @@ -6652,6 +6541,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" @@ -6668,6 +6558,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" }, @@ -6692,17 +6583,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": { @@ -6712,11 +6666,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", @@ -6729,6 +6697,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/esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", @@ -6780,14 +6761,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", @@ -6844,9 +6822,9 @@ } }, "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": { @@ -6898,6 +6876,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", @@ -6913,9 +6904,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": [ { @@ -6931,15 +6922,33 @@ "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", @@ -6963,16 +6972,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", @@ -7035,9 +7034,9 @@ } }, "node_modules/find-up-simple": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.0.tgz", - "integrity": "sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.1.tgz", + "integrity": "sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==", "dev": true, "license": "MIT", "engines": { @@ -7094,9 +7093,9 @@ } }, "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" }, @@ -7108,9 +7107,9 @@ "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", @@ -7128,13 +7127,13 @@ } }, "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": { @@ -7171,13 +7170,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", @@ -7212,9 +7204,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": { @@ -7257,15 +7249,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/generator-function": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/generator-function/-/generator-function-2.0.0.tgz", - "integrity": "sha512-xPypGGincdfyl/AiSGa7GjXLkvld9V7GjZlowup9SHIJnQnHLFiLODCd/DqKOp0PBagbHJ68r1KJI9Mut7m4sA==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, "node_modules/gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", @@ -7288,9 +7271,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": { @@ -7301,19 +7284,16 @@ } }, "node_modules/get-intrinsic": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.1.tgz", - "integrity": "sha512-fk1ZVEeOX9hVZ6QzoBNEC55+Ucqg4sTVwrVuigZhuRPESVFpMyXnd3sbXvPOwp7Y9riVyANiqhEuRF0G1aVSeQ==", + "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": { - "async-function": "^1.0.0", - "async-generator-function": "^1.0.0", "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", - "generator-function": "^2.0.0", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", @@ -7401,16 +7381,16 @@ } }, "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/global-directory": { @@ -7496,18 +7476,18 @@ } }, "node_modules/globby": { - "version": "14.0.2", - "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz", - "integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.1.0.tgz", + "integrity": "sha512-0Ia46fDOaT7k4og1PDW4YbodWWr3scS2vAr2lTbsplOt2WkKp0vQbkI9wKis/T5LV/dqPjO3bpS/z6GTJB82LA==", "dev": true, "license": "MIT", "dependencies": { "@sindresorhus/merge-streams": "^2.1.0", - "fast-glob": "^3.3.2", - "ignore": "^5.2.4", - "path-type": "^5.0.0", + "fast-glob": "^3.3.3", + "ignore": "^7.0.3", + "path-type": "^6.0.0", "slash": "^5.1.0", - "unicorn-magic": "^0.1.0" + "unicorn-magic": "^0.3.0" }, "engines": { "node": ">=18" @@ -7516,27 +7496,24 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/globby/node_modules/path-type": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", - "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", + "node_modules/globby/node_modules/ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", "dev": true, "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">= 4" } }, - "node_modules/globby/node_modules/slash": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", - "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "node_modules/globby/node_modules/path-type": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-6.0.0.tgz", + "integrity": "sha512-Vj7sf++t5pBD637NSfkxpHSMfWaeig5+DKWLhcqIYx6mWQz5hdJTGDVMQiJcw1ZYkhs7AazKDGpRVji1LJCZUQ==", "dev": true, "license": "MIT", "engines": { - "node": ">=14.16" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -7569,9 +7546,9 @@ "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.11.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.11.0.tgz", + "integrity": "sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw==", "dev": true, "license": "MIT", "engines": { @@ -7600,14 +7577,24 @@ "uglify-js": "^3.1.4" } }, + "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": "BSD-3-Clause", + "engines": { + "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==", + "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": ">=8" + "node": ">=4" } }, "node_modules/has-symbols": { @@ -7815,9 +7802,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": { @@ -7856,9 +7843,9 @@ } }, "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==", + "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", "funding": { @@ -7887,9 +7874,9 @@ } }, "node_modules/index-to-position": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-0.1.2.tgz", - "integrity": "sha512-MWDKS3AS1bGCHLBA2VLImJz42f7bJh8wQsTGCzI3j519/CASStoDONUBVz2I/VID0MpiX3SGSnbOD2xUalbE5g==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-1.2.0.tgz", + "integrity": "sha512-Yg7+ztRkqslMAS2iFaU+Oa4KTSidr63OsFGlOrJoW981kIYO3CGCS3wA95P1mUi/IVSJkn0D479KTJpVpvFNuw==", "dev": true, "license": "MIT", "engines": { @@ -7924,7 +7911,6 @@ "integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==", "dev": true, "license": "ISC", - "optional": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } @@ -7956,6 +7942,82 @@ "node": ">=12.0.0" } }, + "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": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "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": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "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": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "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/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": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/into-stream": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-7.0.0.tgz", @@ -8184,6 +8246,13 @@ "node": ">=8" } }, + "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/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -8233,33 +8302,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": { @@ -8278,9 +8341,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": { @@ -8318,9 +8381,9 @@ } }, "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": { @@ -8424,9 +8487,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": { @@ -8487,9 +8550,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": { @@ -8500,13 +8563,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" } @@ -8612,9 +8675,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": { @@ -8635,9 +8698,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": { @@ -8653,9 +8716,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": { @@ -8666,9 +8729,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": { @@ -8679,9 +8742,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" }, @@ -8704,9 +8767,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": { @@ -8720,9 +8783,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": { @@ -8767,16 +8830,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", @@ -8827,7 +8880,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", @@ -8892,51 +8946,127 @@ "dev": true, "license": "MIT" }, - "node_modules/lodash.mergewith": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", - "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==", + "node_modules/lodash.mergewith": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", + "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/lodash.uniqby": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz", + "integrity": "sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww==", + "dev": true, + "license": "MIT" + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "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", - "optional": true + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } }, - "node_modules/lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", + "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/lodash.uniq": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", - "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", + "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", - "optional": true - }, - "node_modules/lodash.uniqby": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz", - "integrity": "sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww==", - "dev": true, - "license": "MIT" + "engines": { + "node": ">=8" + } }, - "node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "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": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" + "has-flag": "^4.0.0" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, "node_modules/log-update": { @@ -8960,9 +9090,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.1.1", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.1.1.tgz", + "integrity": "sha512-Zhl0ErHcSRUaVfGUeUdDuLgpkEo8KIFjB4Y9uAc46ScOpdDiU1Dbyplh7qWJeJ/ZHpbyMSM26+X3BySgnIz40Q==", "dev": true, "license": "MIT", "dependencies": { @@ -8976,9 +9106,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": { @@ -8989,9 +9119,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": { @@ -9018,20 +9148,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" @@ -9074,9 +9204,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": { @@ -9109,9 +9239,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": { @@ -9125,9 +9255,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": { @@ -9181,9 +9311,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" }, @@ -9215,13 +9345,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": { @@ -9236,6 +9366,35 @@ "source-map-js": "^1.2.0" } }, + "node_modules/make-dir": { + "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": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir/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/markdown-it": { "version": "14.1.0", "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz", @@ -9302,9 +9461,9 @@ } }, "node_modules/marked-terminal/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": { @@ -9381,10 +9540,23 @@ "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.0.6", - "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.6.tgz", - "integrity": "sha512-4rGt7rvQHBbaSOF9POGkk1ocRP16Md1x36Xma8sz8h8/vfCUI2OtEIeCqe4Ofes853x4xDoPiFLIT47J5fI/7A==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.1.0.tgz", + "integrity": "sha512-X5ju04+cAzsojXKes0B/S4tcYtFAJ6tTMuSPBEn9CPGlrWr8Fiw7qYeLT0XyH80HSoAoqWCaz+MWKh22P7G1cw==", "dev": true, "funding": [ "https://github.com/sponsors/broofa" @@ -9478,9 +9650,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": { @@ -9495,30 +9667,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.11.6", + "resolved": "https://registry.npmjs.org/msw/-/msw-2.11.6.tgz", + "integrity": "sha512-MCYMykvmiYScyUm7I6y0VCxpNq1rgd5v7kG8ks5dKtvmxRUUPjribX6mUoUNBbM5/3PhUyoelEWiKXGOz84c+w==", "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": { @@ -9539,13 +9711,6 @@ } } }, - "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==", - "dev": true, - "license": "MIT" - }, "node_modules/msw/node_modules/type-fest": { "version": "4.41.0", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", @@ -9567,9 +9732,9 @@ "license": "ISC" }, "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": [ { @@ -9633,9 +9798,9 @@ } }, "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.26", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.26.tgz", + "integrity": "sha512-S2M9YimhSjBSvYnlr5/+umAnPHE++ODwt5e2Ij6FoX45HA/s4vHdkDx1eax2pAPeAOqu4s9b7ppahsyEFdVqQA==", "dev": true, "license": "MIT" }, @@ -9668,20 +9833,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": { @@ -9691,19 +9846,6 @@ "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", @@ -9720,9 +9862,9 @@ } }, "node_modules/normalize-package-data/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": { @@ -9743,9 +9885,9 @@ } }, "node_modules/normalize-url": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.1.tgz", - "integrity": "sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.1.0.tgz", + "integrity": "sha512-X06Mfd/5aKsRHc0O0J5CUedwnPmnDtLF2+nq+KN9KSDlJHkPuh0JUviWjEWMe0SW/9TDdSLVPuk7L5gGTIA1/w==", "dev": true, "license": "MIT", "engines": { @@ -9756,9 +9898,9 @@ } }, "node_modules/npm": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/npm/-/npm-10.9.2.tgz", - "integrity": "sha512-iriPEPIkoMYUy3F6f3wwSZAU93E0Eg6cHwIR6jzzOXWSy+SD/rOODEs74cVONHKSx2obXtuUoyidVEhISrisgQ==", + "version": "10.9.4", + "resolved": "https://registry.npmjs.org/npm/-/npm-10.9.4.tgz", + "integrity": "sha512-OnUG836FwboQIbqtefDNlyR0gTHzIfwRfE3DuiNewBvnMnWEpB0VEXwBlFVgqpNzIgYo/MHh3d2Hel/pszapAA==", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", @@ -9840,37 +9982,37 @@ ], "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^8.0.0", + "@npmcli/arborist": "^8.0.1", "@npmcli/config": "^9.0.0", "@npmcli/fs": "^4.0.0", "@npmcli/map-workspaces": "^4.0.2", - "@npmcli/package-json": "^6.1.0", + "@npmcli/package-json": "^6.2.0", "@npmcli/promise-spawn": "^8.0.2", - "@npmcli/redact": "^3.0.0", - "@npmcli/run-script": "^9.0.1", - "@sigstore/tuf": "^3.0.0", - "abbrev": "^3.0.0", + "@npmcli/redact": "^3.2.2", + "@npmcli/run-script": "^9.1.0", + "@sigstore/tuf": "^3.1.1", + "abbrev": "^3.0.1", "archy": "~1.0.0", "cacache": "^19.0.1", - "chalk": "^5.3.0", - "ci-info": "^4.1.0", + "chalk": "^5.4.1", + "ci-info": "^4.2.0", "cli-columns": "^4.0.0", "fastest-levenshtein": "^1.0.16", "fs-minipass": "^3.0.3", "glob": "^10.4.5", "graceful-fs": "^4.2.11", - "hosted-git-info": "^8.0.2", + "hosted-git-info": "^8.1.0", "ini": "^5.0.0", "init-package-json": "^7.0.2", - "is-cidr": "^5.1.0", + "is-cidr": "^5.1.1", "json-parse-even-better-errors": "^4.0.0", "libnpmaccess": "^9.0.0", - "libnpmdiff": "^7.0.0", - "libnpmexec": "^9.0.0", - "libnpmfund": "^6.0.0", + "libnpmdiff": "^7.0.1", + "libnpmexec": "^9.0.1", + "libnpmfund": "^6.0.1", "libnpmhook": "^11.0.0", "libnpmorg": "^7.0.0", - "libnpmpack": "^8.0.0", + "libnpmpack": "^8.0.1", "libnpmpublish": "^10.0.1", "libnpmsearch": "^8.0.0", "libnpmteam": "^7.0.0", @@ -9880,23 +10022,23 @@ "minipass": "^7.1.1", "minipass-pipeline": "^1.2.4", "ms": "^2.1.2", - "node-gyp": "^11.0.0", - "nopt": "^8.0.0", + "node-gyp": "^11.2.0", + "nopt": "^8.1.0", "normalize-package-data": "^7.0.0", "npm-audit-report": "^6.0.0", "npm-install-checks": "^7.1.1", - "npm-package-arg": "^12.0.0", + "npm-package-arg": "^12.0.2", "npm-pick-manifest": "^10.0.0", "npm-profile": "^11.0.1", "npm-registry-fetch": "^18.0.2", "npm-user-validate": "^3.0.0", - "p-map": "^4.0.0", + "p-map": "^7.0.3", "pacote": "^19.0.1", "parse-conflict-json": "^4.0.0", "proc-log": "^5.0.0", "qrcode-terminal": "^0.12.0", - "read": "^4.0.0", - "semver": "^7.6.3", + "read": "^4.1.0", + "semver": "^7.7.2", "spdx-expression-parse": "^4.0.0", "ssri": "^12.0.0", "supports-color": "^9.4.0", @@ -9904,7 +10046,7 @@ "text-table": "~0.2.0", "tiny-relative-date": "^1.3.0", "treeverse": "^3.0.0", - "validate-npm-package-name": "^6.0.0", + "validate-npm-package-name": "^6.0.1", "which": "^5.0.0", "write-file-atomic": "^6.0.0" }, @@ -10047,7 +10189,7 @@ } }, "node_modules/npm/node_modules/@npmcli/arborist": { - "version": "8.0.0", + "version": "8.0.1", "dev": true, "inBundle": true, "license": "ISC", @@ -10127,7 +10269,7 @@ } }, "node_modules/npm/node_modules/@npmcli/git": { - "version": "6.0.1", + "version": "6.0.3", "dev": true, "inBundle": true, "license": "ISC", @@ -10137,7 +10279,6 @@ "lru-cache": "^10.0.1", "npm-pick-manifest": "^10.0.0", "proc-log": "^5.0.0", - "promise-inflight": "^1.0.1", "promise-retry": "^2.0.1", "semver": "^7.3.5", "which": "^5.0.0" @@ -10243,7 +10384,7 @@ } }, "node_modules/npm/node_modules/@npmcli/package-json": { - "version": "6.1.0", + "version": "6.2.0", "dev": true, "inBundle": true, "license": "ISC", @@ -10252,9 +10393,9 @@ "glob": "^10.2.2", "hosted-git-info": "^8.0.0", "json-parse-even-better-errors": "^4.0.0", - "normalize-package-data": "^7.0.0", "proc-log": "^5.0.0", - "semver": "^7.5.3" + "semver": "^7.5.3", + "validate-npm-package-license": "^3.0.4" }, "engines": { "node": "^18.17.0 || >=20.5.0" @@ -10273,19 +10414,19 @@ } }, "node_modules/npm/node_modules/@npmcli/query": { - "version": "4.0.0", + "version": "4.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "postcss-selector-parser": "^6.1.2" + "postcss-selector-parser": "^7.0.0" }, "engines": { "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/@npmcli/redact": { - "version": "3.0.0", + "version": "3.2.2", "dev": true, "inBundle": true, "license": "ISC", @@ -10294,7 +10435,7 @@ } }, "node_modules/npm/node_modules/@npmcli/run-script": { - "version": "9.0.2", + "version": "9.1.0", "dev": true, "inBundle": true, "license": "ISC", @@ -10321,21 +10462,21 @@ } }, "node_modules/npm/node_modules/@sigstore/protobuf-specs": { - "version": "0.3.2", + "version": "0.4.3", "dev": true, "inBundle": true, "license": "Apache-2.0", "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/@sigstore/tuf": { - "version": "3.0.0", + "version": "3.1.1", "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/protobuf-specs": "^0.3.2", + "@sigstore/protobuf-specs": "^0.4.1", "tuf-js": "^3.0.1" }, "engines": { @@ -10352,7 +10493,7 @@ } }, "node_modules/npm/node_modules/abbrev": { - "version": "3.0.0", + "version": "3.0.1", "dev": true, "inBundle": true, "license": "ISC", @@ -10361,30 +10502,14 @@ } }, "node_modules/npm/node_modules/agent-base": { - "version": "7.1.1", + "version": "7.1.3", "dev": true, "inBundle": true, "license": "MIT", - "dependencies": { - "debug": "^4.3.4" - }, "engines": { "node": ">= 14" } }, - "node_modules/npm/node_modules/aggregate-error": { - "version": "3.1.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/npm/node_modules/ansi-regex": { "version": "5.0.1", "dev": true, @@ -10453,7 +10578,7 @@ } }, "node_modules/npm/node_modules/brace-expansion": { - "version": "2.0.1", + "version": "2.0.2", "dev": true, "inBundle": true, "license": "MIT", @@ -10493,19 +10618,6 @@ "node": ">=18" } }, - "node_modules/npm/node_modules/cacache/node_modules/minizlib": { - "version": "3.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "minipass": "^7.0.4", - "rimraf": "^5.0.5" - }, - "engines": { - "node": ">= 18" - } - }, "node_modules/npm/node_modules/cacache/node_modules/mkdirp": { "version": "3.0.1", "dev": true, @@ -10521,18 +10633,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/npm/node_modules/cacache/node_modules/p-map": { - "version": "7.0.2", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/npm/node_modules/cacache/node_modules/tar": { "version": "7.4.3", "dev": true, @@ -10560,7 +10660,7 @@ } }, "node_modules/npm/node_modules/chalk": { - "version": "5.3.0", + "version": "5.4.1", "dev": true, "inBundle": true, "license": "MIT", @@ -10581,7 +10681,7 @@ } }, "node_modules/npm/node_modules/ci-info": { - "version": "4.1.0", + "version": "4.2.0", "dev": true, "funding": [ { @@ -10596,7 +10696,7 @@ } }, "node_modules/npm/node_modules/cidr-regex": { - "version": "4.1.1", + "version": "4.1.3", "dev": true, "inBundle": true, "license": "BSD-2-Clause", @@ -10607,15 +10707,6 @@ "node": ">=14" } }, - "node_modules/npm/node_modules/clean-stack": { - "version": "2.2.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/npm/node_modules/cli-columns": { "version": "4.0.0", "dev": true, @@ -10704,7 +10795,7 @@ } }, "node_modules/npm/node_modules/debug": { - "version": "4.3.7", + "version": "4.4.1", "dev": true, "inBundle": true, "license": "MIT", @@ -10767,7 +10858,7 @@ "license": "MIT" }, "node_modules/npm/node_modules/exponential-backoff": { - "version": "3.1.1", + "version": "3.1.2", "dev": true, "inBundle": true, "license": "Apache-2.0" @@ -10782,12 +10873,12 @@ } }, "node_modules/npm/node_modules/foreground-child": { - "version": "3.3.0", + "version": "3.3.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "cross-spawn": "^7.0.0", + "cross-spawn": "^7.0.6", "signal-exit": "^4.0.1" }, "engines": { @@ -10836,7 +10927,7 @@ "license": "ISC" }, "node_modules/npm/node_modules/hosted-git-info": { - "version": "8.0.2", + "version": "8.1.0", "dev": true, "inBundle": true, "license": "ISC", @@ -10848,7 +10939,7 @@ } }, "node_modules/npm/node_modules/http-cache-semantics": { - "version": "4.1.1", + "version": "4.2.0", "dev": true, "inBundle": true, "license": "BSD-2-Clause" @@ -10867,12 +10958,12 @@ } }, "node_modules/npm/node_modules/https-proxy-agent": { - "version": "7.0.5", + "version": "7.0.6", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "agent-base": "^7.0.2", + "agent-base": "^7.1.2", "debug": "4" }, "engines": { @@ -10901,25 +10992,16 @@ "minimatch": "^9.0.0" }, "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm/node_modules/imurmurhash": { - "version": "0.1.4", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.8.19" + "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/indent-string": { - "version": "4.0.0", + "node_modules/npm/node_modules/imurmurhash": { + "version": "0.1.4", "dev": true, "inBundle": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=0.8.19" } }, "node_modules/npm/node_modules/ini": { @@ -10975,7 +11057,7 @@ } }, "node_modules/npm/node_modules/is-cidr": { - "version": "5.1.0", + "version": "5.1.1", "dev": true, "inBundle": true, "license": "BSD-2-Clause", @@ -11075,12 +11157,12 @@ } }, "node_modules/npm/node_modules/libnpmdiff": { - "version": "7.0.0", + "version": "7.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^8.0.0", + "@npmcli/arborist": "^8.0.1", "@npmcli/installed-package-contents": "^3.0.0", "binary-extensions": "^2.3.0", "diff": "^5.1.0", @@ -11094,12 +11176,12 @@ } }, "node_modules/npm/node_modules/libnpmexec": { - "version": "9.0.0", + "version": "9.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^8.0.0", + "@npmcli/arborist": "^8.0.1", "@npmcli/run-script": "^9.0.1", "ci-info": "^4.0.0", "npm-package-arg": "^12.0.0", @@ -11115,12 +11197,12 @@ } }, "node_modules/npm/node_modules/libnpmfund": { - "version": "6.0.0", + "version": "6.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^8.0.0" + "@npmcli/arborist": "^8.0.1" }, "engines": { "node": "^18.17.0 || >=20.5.0" @@ -11153,12 +11235,12 @@ } }, "node_modules/npm/node_modules/libnpmpack": { - "version": "8.0.0", + "version": "8.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^8.0.0", + "@npmcli/arborist": "^8.0.1", "@npmcli/run-script": "^9.0.1", "npm-package-arg": "^12.0.0", "pacote": "^19.0.0" @@ -11301,7 +11383,7 @@ } }, "node_modules/npm/node_modules/minipass-fetch": { - "version": "4.0.0", + "version": "4.0.1", "dev": true, "inBundle": true, "license": "MIT", @@ -11317,19 +11399,6 @@ "encoding": "^0.1.13" } }, - "node_modules/npm/node_modules/minipass-fetch/node_modules/minizlib": { - "version": "3.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "minipass": "^7.0.4", - "rimraf": "^5.0.5" - }, - "engines": { - "node": ">= 18" - } - }, "node_modules/npm/node_modules/minipass-flush": { "version": "1.0.5", "dev": true, @@ -11403,28 +11472,15 @@ } }, "node_modules/npm/node_modules/minizlib": { - "version": "2.1.2", + "version": "3.0.2", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/npm/node_modules/minizlib/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" + "minipass": "^7.1.2" }, "engines": { - "node": ">=8" + "node": ">= 18" } }, "node_modules/npm/node_modules/mkdirp": { @@ -11455,20 +11511,20 @@ } }, "node_modules/npm/node_modules/node-gyp": { - "version": "11.0.0", + "version": "11.2.0", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "env-paths": "^2.2.0", "exponential-backoff": "^3.1.1", - "glob": "^10.3.10", "graceful-fs": "^4.2.6", "make-fetch-happen": "^14.0.3", "nopt": "^8.0.0", "proc-log": "^5.0.0", "semver": "^7.3.5", "tar": "^7.4.3", + "tinyglobby": "^0.2.12", "which": "^5.0.0" }, "bin": { @@ -11487,19 +11543,6 @@ "node": ">=18" } }, - "node_modules/npm/node_modules/node-gyp/node_modules/minizlib": { - "version": "3.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "minipass": "^7.0.4", - "rimraf": "^5.0.5" - }, - "engines": { - "node": ">= 18" - } - }, "node_modules/npm/node_modules/node-gyp/node_modules/mkdirp": { "version": "3.0.1", "dev": true, @@ -11542,12 +11585,12 @@ } }, "node_modules/npm/node_modules/nopt": { - "version": "8.0.0", + "version": "8.1.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "abbrev": "^2.0.0" + "abbrev": "^3.0.0" }, "bin": { "nopt": "bin/nopt.js" @@ -11556,15 +11599,6 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/nopt/node_modules/abbrev": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, "node_modules/npm/node_modules/normalize-package-data": { "version": "7.0.0", "dev": true, @@ -11622,7 +11656,7 @@ } }, "node_modules/npm/node_modules/npm-package-arg": { - "version": "12.0.0", + "version": "12.0.2", "dev": true, "inBundle": true, "license": "ISC", @@ -11695,19 +11729,6 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/npm-registry-fetch/node_modules/minizlib": { - "version": "3.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "minipass": "^7.0.4", - "rimraf": "^5.0.5" - }, - "engines": { - "node": ">= 18" - } - }, "node_modules/npm/node_modules/npm-user-validate": { "version": "3.0.0", "dev": true, @@ -11718,15 +11739,12 @@ } }, "node_modules/npm/node_modules/p-map": { - "version": "4.0.0", + "version": "7.0.3", "dev": true, "inBundle": true, "license": "MIT", - "dependencies": { - "aggregate-error": "^3.0.0" - }, "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -11809,7 +11827,7 @@ } }, "node_modules/npm/node_modules/postcss-selector-parser": { - "version": "6.1.2", + "version": "7.1.0", "dev": true, "inBundle": true, "license": "MIT", @@ -11857,12 +11875,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/npm/node_modules/promise-inflight": { - "version": "1.0.1", - "dev": true, - "inBundle": true, - "license": "ISC" - }, "node_modules/npm/node_modules/promise-retry": { "version": "2.0.1", "dev": true, @@ -11897,7 +11909,7 @@ } }, "node_modules/npm/node_modules/read": { - "version": "4.0.0", + "version": "4.1.0", "dev": true, "inBundle": true, "license": "ISC", @@ -11939,21 +11951,6 @@ "node": ">= 4" } }, - "node_modules/npm/node_modules/rimraf": { - "version": "5.0.10", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "glob": "^10.3.7" - }, - "bin": { - "rimraf": "dist/esm/bin.mjs" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/npm/node_modules/safer-buffer": { "version": "2.1.2", "dev": true, @@ -11962,7 +11959,7 @@ "optional": true }, "node_modules/npm/node_modules/semver": { - "version": "7.6.3", + "version": "7.7.2", "dev": true, "inBundle": true, "license": "ISC", @@ -12007,29 +12004,29 @@ } }, "node_modules/npm/node_modules/sigstore": { - "version": "3.0.0", + "version": "3.1.0", "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/bundle": "^3.0.0", + "@sigstore/bundle": "^3.1.0", "@sigstore/core": "^2.0.0", - "@sigstore/protobuf-specs": "^0.3.2", - "@sigstore/sign": "^3.0.0", - "@sigstore/tuf": "^3.0.0", - "@sigstore/verify": "^2.0.0" + "@sigstore/protobuf-specs": "^0.4.0", + "@sigstore/sign": "^3.1.0", + "@sigstore/tuf": "^3.1.0", + "@sigstore/verify": "^2.1.0" }, "engines": { "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle": { - "version": "3.0.0", + "version": "3.1.0", "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/protobuf-specs": "^0.3.2" + "@sigstore/protobuf-specs": "^0.4.0" }, "engines": { "node": "^18.17.0 || >=20.5.0" @@ -12045,15 +12042,15 @@ } }, "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign": { - "version": "3.0.0", + "version": "3.1.0", "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/bundle": "^3.0.0", + "@sigstore/bundle": "^3.1.0", "@sigstore/core": "^2.0.0", - "@sigstore/protobuf-specs": "^0.3.2", - "make-fetch-happen": "^14.0.1", + "@sigstore/protobuf-specs": "^0.4.0", + "make-fetch-happen": "^14.0.2", "proc-log": "^5.0.0", "promise-retry": "^2.0.1" }, @@ -12062,14 +12059,14 @@ } }, "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify": { - "version": "2.0.0", + "version": "2.1.1", "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/bundle": "^3.0.0", + "@sigstore/bundle": "^3.1.0", "@sigstore/core": "^2.0.0", - "@sigstore/protobuf-specs": "^0.3.2" + "@sigstore/protobuf-specs": "^0.4.1" }, "engines": { "node": "^18.17.0 || >=20.5.0" @@ -12086,7 +12083,7 @@ } }, "node_modules/npm/node_modules/socks": { - "version": "2.8.3", + "version": "2.8.5", "dev": true, "inBundle": true, "license": "MIT", @@ -12100,12 +12097,12 @@ } }, "node_modules/npm/node_modules/socks-proxy-agent": { - "version": "8.0.4", + "version": "8.0.5", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "agent-base": "^7.1.1", + "agent-base": "^7.1.2", "debug": "^4.3.4", "socks": "^2.8.3" }, @@ -12150,7 +12147,7 @@ } }, "node_modules/npm/node_modules/spdx-license-ids": { - "version": "3.0.20", + "version": "3.0.21", "dev": true, "inBundle": true, "license": "CC0-1.0" @@ -12289,6 +12286,31 @@ "node": ">=8" } }, + "node_modules/npm/node_modules/tar/node_modules/minizlib": { + "version": "2.1.2", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/tar/node_modules/minizlib/node_modules/minipass": { + "version": "3.3.6", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/npm/node_modules/text-table": { "version": "0.2.0", "dev": true, @@ -12301,6 +12323,48 @@ "inBundle": true, "license": "MIT" }, + "node_modules/npm/node_modules/tinyglobby": { + "version": "0.2.14", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.4.4", + "picomatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/npm/node_modules/tinyglobby/node_modules/fdir": { + "version": "6.4.6", + "dev": true, + "inBundle": true, + "license": "MIT", + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/npm/node_modules/tinyglobby/node_modules/picomatch": { + "version": "4.0.2", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/npm/node_modules/treeverse": { "version": "3.0.0", "dev": true, @@ -12388,7 +12452,7 @@ } }, "node_modules/npm/node_modules/validate-npm-package-name": { - "version": "6.0.0", + "version": "6.0.1", "dev": true, "inBundle": true, "license": "ISC", @@ -12636,21 +12700,97 @@ "dev": true, "license": "MIT", "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "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": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=8" } }, "node_modules/os-tmpdir": { @@ -12779,6 +12919,16 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "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/package-json-from-dist": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", @@ -12889,6 +13039,13 @@ "dev": true, "license": "ISC" }, + "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==", + "dev": true, + "license": "MIT" + }, "node_modules/path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", @@ -12907,9 +13064,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": { @@ -12924,13 +13081,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" @@ -12949,6 +13106,16 @@ "node": ">=0.10" } }, + "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/pkg-conf": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz", @@ -13016,16 +13183,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", @@ -13084,9 +13241,9 @@ } }, "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": [ { @@ -13104,7 +13261,7 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.8", + "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, @@ -13195,19 +13352,6 @@ "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", @@ -13250,13 +13394,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", @@ -13381,15 +13518,15 @@ } }, "node_modules/read-pkg/node_modules/parse-json": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.1.0.tgz", - "integrity": "sha512-rum1bPifK5SSar35Z6EKZuYPJx85pkNaFrxBK3mwdfSJ1/WKbYrjoW/zTPSjRRamfmVX1ACBIdFAO0VRErW/EA==", + "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.22.13", - "index-to-position": "^0.1.2", - "type-fest": "^4.7.1" + "@babel/code-frame": "^7.26.2", + "index-to-position": "^1.1.0", + "type-fest": "^4.39.1" }, "engines": { "node": ">=18" @@ -13411,6 +13548,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/read-pkg/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", + "engines": { + "node": ">=18" + }, + "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", @@ -13439,6 +13589,19 @@ "node": ">=8.10.0" } }, + "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", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/redeyed": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz", @@ -13457,9 +13620,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": { @@ -13469,35 +13632,28 @@ "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/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" } }, "node_modules/registry-auth-token": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-5.0.3.tgz", - "integrity": "sha512-1bpc9IyC+e+CNFRaWyn77tk4xGG4PPUyfakSmA6F6cvUDjrm58dfyJ3II+9yb10EDkHoy1LaPSmHaWLOH3m6HA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-5.1.0.tgz", + "integrity": "sha512-GdekYuwLXLxMuFTwAPg5UKGLW/UXzQrZvH/Zj791BQif5T05T0RsaLfHc9q3ZOKi7n+BoprPD9mJ0O0k4xzUlw==", "dev": true, "license": "MIT", "dependencies": { @@ -13515,31 +13671,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", @@ -13561,21 +13704,14 @@ "node": ">=0.10.0" } }, - "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" }, @@ -13660,10 +13796,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": { @@ -13695,9 +13838,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": { @@ -13742,9 +13885,9 @@ } }, "node_modules/rollup": { - "version": "4.52.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.52.4.tgz", - "integrity": "sha512-CLEVl+MnPAiKh5pl4dEWSyMTpuflgNQiLGhMv8ezD5W/qP8AKvmYpCOKRRNOh7oRKnauBZ4SyeYkMS+1VSyKwQ==", + "version": "4.52.5", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.52.5.tgz", + "integrity": "sha512-3GuObel8h7Kqdjt0gxkEzaifHTqLVW56Y/bjN7PSQtkKr0w3V/QYSdt6QWYtd7A1xUtYQigtdUfgj1RvWVtorw==", "dev": true, "license": "MIT", "dependencies": { @@ -13758,28 +13901,28 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.52.4", - "@rollup/rollup-android-arm64": "4.52.4", - "@rollup/rollup-darwin-arm64": "4.52.4", - "@rollup/rollup-darwin-x64": "4.52.4", - "@rollup/rollup-freebsd-arm64": "4.52.4", - "@rollup/rollup-freebsd-x64": "4.52.4", - "@rollup/rollup-linux-arm-gnueabihf": "4.52.4", - "@rollup/rollup-linux-arm-musleabihf": "4.52.4", - "@rollup/rollup-linux-arm64-gnu": "4.52.4", - "@rollup/rollup-linux-arm64-musl": "4.52.4", - "@rollup/rollup-linux-loong64-gnu": "4.52.4", - "@rollup/rollup-linux-ppc64-gnu": "4.52.4", - "@rollup/rollup-linux-riscv64-gnu": "4.52.4", - "@rollup/rollup-linux-riscv64-musl": "4.52.4", - "@rollup/rollup-linux-s390x-gnu": "4.52.4", - "@rollup/rollup-linux-x64-gnu": "4.52.4", - "@rollup/rollup-linux-x64-musl": "4.52.4", - "@rollup/rollup-openharmony-arm64": "4.52.4", - "@rollup/rollup-win32-arm64-msvc": "4.52.4", - "@rollup/rollup-win32-ia32-msvc": "4.52.4", - "@rollup/rollup-win32-x64-gnu": "4.52.4", - "@rollup/rollup-win32-x64-msvc": "4.52.4", + "@rollup/rollup-android-arm-eabi": "4.52.5", + "@rollup/rollup-android-arm64": "4.52.5", + "@rollup/rollup-darwin-arm64": "4.52.5", + "@rollup/rollup-darwin-x64": "4.52.5", + "@rollup/rollup-freebsd-arm64": "4.52.5", + "@rollup/rollup-freebsd-x64": "4.52.5", + "@rollup/rollup-linux-arm-gnueabihf": "4.52.5", + "@rollup/rollup-linux-arm-musleabihf": "4.52.5", + "@rollup/rollup-linux-arm64-gnu": "4.52.5", + "@rollup/rollup-linux-arm64-musl": "4.52.5", + "@rollup/rollup-linux-loong64-gnu": "4.52.5", + "@rollup/rollup-linux-ppc64-gnu": "4.52.5", + "@rollup/rollup-linux-riscv64-gnu": "4.52.5", + "@rollup/rollup-linux-riscv64-musl": "4.52.5", + "@rollup/rollup-linux-s390x-gnu": "4.52.5", + "@rollup/rollup-linux-x64-gnu": "4.52.5", + "@rollup/rollup-linux-x64-musl": "4.52.5", + "@rollup/rollup-openharmony-arm64": "4.52.5", + "@rollup/rollup-win32-arm64-msvc": "4.52.5", + "@rollup/rollup-win32-ia32-msvc": "4.52.5", + "@rollup/rollup-win32-x64-gnu": "4.52.5", + "@rollup/rollup-win32-x64-msvc": "4.52.5", "fsevents": "~2.3.2" } }, @@ -13828,26 +13971,6 @@ } } }, - "node_modules/rollup-plugin-sourcemaps2/node_modules/estree-walker": { - "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" - }, - "node_modules/rollup-plugin-sourcemaps2/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/rollup-plugin-visualizer": { "version": "5.14.0", "resolved": "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.14.0.tgz", @@ -13879,29 +14002,6 @@ } } }, - "node_modules/rollup-plugin-visualizer/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/rollup-plugin-visualizer/node_modules/source-map": { - "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": ">= 12" - } - }, "node_modules/run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", @@ -13937,9 +14037,9 @@ } }, "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": { @@ -14056,9 +14156,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": { @@ -14167,9 +14267,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": { @@ -14206,9 +14306,9 @@ } }, "node_modules/semver-diff/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": { @@ -14371,114 +14471,19 @@ "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", - "integrity": "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==", - "dev": true, - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "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-swizzle": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.4.tgz", - "integrity": "sha512-nAu1WFPQSMNr2Zn9PGSZK9AGn4t/y97lEm+MXTtUDwfP0ksAIX4nO+6ruD9Jwut4C49SB1Ws+fbXsm/yScWOHw==", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==", "dev": true, "license": "MIT", "dependencies": { - "is-arrayish": "^0.3.1" + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=4" } }, - "node_modules/simple-swizzle/node_modules/is-arrayish": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.4.tgz", - "integrity": "sha512-m6UrgzFVUYawGBh1dUsWR5M2Clqic9RVXC/9f8ceNlv2IcO9j9J/z8UoCLPqtsPBFNzEpfR3xftohbfqDx8EQA==", - "dev": true, - "license": "MIT" - }, "node_modules/simple-update-notifier": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", @@ -14493,9 +14498,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": { @@ -14506,9 +14511,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": { @@ -14559,9 +14564,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": { @@ -14585,6 +14590,19 @@ "node": ">=8" } }, + "node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/slice-ansi": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", @@ -14603,9 +14621,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": { @@ -14623,13 +14641,13 @@ "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": { @@ -14653,6 +14671,16 @@ "source-map": "^0.6.0" } }, + "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": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/spawn-error-forwarder": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/spawn-error-forwarder/-/spawn-error-forwarder-1.0.0.tgz", @@ -14690,9 +14718,9 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.21", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.21.tgz", - "integrity": "sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg==", + "version": "3.0.22", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.22.tgz", + "integrity": "sha512-4PRT4nh1EImPbt2jASOKHX7PB7I+e4IWNLvkKFDxNhJlfjbYlleYQh285Z/3mPTHSAK/AvdMmw5BNNuYH8ShgQ==", "dev": true, "license": "CC0-1.0" }, @@ -14724,9 +14752,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": { @@ -14734,9 +14762,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" }, @@ -14751,13 +14779,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", @@ -14933,22 +14954,22 @@ } }, "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": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.1.0.tgz", - "integrity": "sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.2.0.tgz", + "integrity": "sha512-zFObLMyZeEwzAoKCyu1B91U79K2t7ApXuQfo8OuxwXLDgcKxuwM+YvcbIhm6QWqz7mHUH1TVytR1PwVVjEuMig==", "dev": true, "license": "MIT", "dependencies": { @@ -14959,7 +14980,30 @@ "node": ">=14.18" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "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": { @@ -15030,14 +15074,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.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.44.0.tgz", + "integrity": "sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w==", "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" }, @@ -15048,6 +15092,19 @@ "node": ">=10" } }, + "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", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/terser/node_modules/commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", @@ -15071,9 +15128,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": { @@ -15155,13 +15212,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", @@ -15210,14 +15260,14 @@ "license": "MIT" }, "node_modules/tinyglobby": { - "version": "0.2.12", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.12.tgz", - "integrity": "sha512-qkf4trmKSIiMTs/E63cxH+ojC2unam7rJ0WrauAzpT3ECNTxGRMlaXxVbfxMUC/w0LaYk6jQ4y/nGR9uBO3tww==", + "version": "0.2.15", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz", + "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==", "dev": true, "license": "MIT", "dependencies": { - "fdir": "^6.4.3", - "picomatch": "^4.0.2" + "fdir": "^6.5.0", + "picomatch": "^4.0.3" }, "engines": { "node": ">=12.0.0" @@ -15226,38 +15276,10 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, - "node_modules/tinyglobby/node_modules/fdir": { - "version": "6.4.3", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.3.tgz", - "integrity": "sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, - "node_modules/tinyglobby/node_modules/picomatch": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", - "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": { @@ -15284,6 +15306,26 @@ "node": ">=14.0.0" } }, + "node_modules/tldts": { + "version": "7.0.17", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.0.17.tgz", + "integrity": "sha512-Y1KQBgDd/NUc+LfOtKS6mNsC9CCaH+m2P1RoIZy7RAPo3C3/t8X45+zgut31cRZtZ3xKPjfn3TkGTrctC2TQIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "tldts-core": "^7.0.17" + }, + "bin": { + "tldts": "bin/cli.js" + } + }, + "node_modules/tldts-core": { + "version": "7.0.17", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.0.17.tgz", + "integrity": "sha512-DieYoGrP78PWKsrXr8MZwtQ7GLCUeLxihtjC1jZsW1DnvSMdKPitJSe8OSYDM2u5H6g3kWJZpePqkp43TfLh0g==", + "dev": true, + "license": "MIT" + }, "node_modules/tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", @@ -15331,29 +15373,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": { @@ -15428,32 +15457,33 @@ } }, "node_modules/typedoc": { - "version": "0.27.9", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.27.9.tgz", - "integrity": "sha512-/z585740YHURLl9DN2jCWe6OW7zKYm6VoQ93H0sxZ1cwHQEQrUn5BJrEnkWhfzUdyO+BLGjnKUZ9iz9hKloFDw==", + "version": "0.28.14", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.28.14.tgz", + "integrity": "sha512-ftJYPvpVfQvFzpkoSfHLkJybdA/geDJ8BGQt/ZnkkhnBYoYW6lBgPQXu6vqLxO4X75dA55hX8Af847H5KXlEFA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@gerrit0/mini-shiki": "^1.24.0", + "@gerrit0/mini-shiki": "^3.12.0", "lunr": "^2.3.9", "markdown-it": "^14.1.0", "minimatch": "^9.0.5", - "yaml": "^2.6.1" + "yaml": "^2.8.1" }, "bin": { "typedoc": "bin/typedoc" }, "engines": { - "node": ">= 18" + "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" + "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/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==", + "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": { @@ -15477,9 +15507,9 @@ } }, "node_modules/typescript": { - "version": "5.8.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", - "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -15491,16 +15521,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.46.1", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.46.1.tgz", - "integrity": "sha512-VHgijW803JafdSsDO8I761r3SHrgk4T00IdyQ+/UsthtgPRsBWQLqoSxOolxTpxRKi1kGXK0bSz4CoAc9ObqJA==", + "version": "8.46.2", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.46.2.tgz", + "integrity": "sha512-vbw8bOmiuYNdzzV3lsiWv6sRwjyuKJMQqWulBOU7M0RrxedXledX8G8kBbQeiOYDnTfiXz0Y4081E1QMNB6iQg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.46.1", - "@typescript-eslint/parser": "8.46.1", - "@typescript-eslint/typescript-estree": "8.46.1", - "@typescript-eslint/utils": "8.46.1" + "@typescript-eslint/eslint-plugin": "8.46.2", + "@typescript-eslint/parser": "8.46.2", + "@typescript-eslint/typescript-estree": "8.46.2", + "@typescript-eslint/utils": "8.46.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -15546,7 +15576,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", @@ -15583,9 +15614,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": { @@ -15593,9 +15624,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": { @@ -15603,9 +15634,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": { @@ -15648,10 +15679,20 @@ "node": ">= 10.0.0" } }, + "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", + "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": [ { @@ -15667,6 +15708,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" @@ -15698,17 +15740,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", @@ -15728,9 +15759,9 @@ } }, "node_modules/vite": { - "version": "5.4.20", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.20.tgz", - "integrity": "sha512-j3lYzGC3P+B5Yfy/pfKNgVEg4+UtcIJcVRt2cDjIOmhLourAqPqf8P7acgxeiSgUB7E3p2P8/3gNIgDLpwzs4g==", + "version": "5.4.21", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz", + "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==", "dev": true, "license": "MIT", "dependencies": { @@ -16034,6 +16065,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", @@ -16091,16 +16194,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": { @@ -16146,9 +16249,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": { diff --git a/package.json b/package.json index 0d3d826df5..3f18eea274 100644 --- a/package.json +++ b/package.json @@ -77,53 +77,53 @@ "@contentful/rich-text-types": "^16.6.1", "axios": "^1.12.2", "contentful-sdk-core": "10.0.0-beta.5", - "fast-copy": "^3.0.0", + "fast-copy": "^3.0.2", "json-patch": "^0.7.0", "type-fest": "^5.1.0" }, "devDependencies": { - "@babel/plugin-transform-runtime": "^7.24.7", - "@babel/preset-env": "^7.24.3", + "@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", - "@playwright/test": "^1.55.0", + "@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.7", + "@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.1.4", - "@semantic-release/changelog": "^6.0.0", - "@size-limit/file": "^11.1.6", + "@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.8", "@vitest/coverage-v8": "^2.1.8", - "contentful-sdk-jsdoc": "3.1.0", + "contentful-sdk-jsdoc": "3.1.5", "cz-conventional-changelog": "^3.3.0", "es-check": "^7.2.1", - "eslint": "^9.15.0", + "eslint": "^9.38.0", "globals": "^16.4.0", "husky": "^9.1.7", "jsonwebtoken": "^9.0.2", "lint-staged": "^15.2.5", "lodash-es": "^4.17.21", - "nodemon": "^3.1.2", - "playwright": "^1.49.1", + "nodemon": "^3.1.10", + "playwright": "^1.56.1", "prettier": "^3.6.2", "process": "^0.11.10", "rimraf": "^5.0.0", - "rollup": "^4.52.4", + "rollup": "^4.52.5", "rollup-plugin-sourcemaps2": "^0.5.4", "rollup-plugin-visualizer": "^5.14.0", "semantic-release": "^22.0.12", - "size-limit": "^11.1.6", - "typedoc": "^0.27.5", - "typescript": "^5.7.2", - "typescript-eslint": "^8.16.0", + "size-limit": "^11.2.0", + "typedoc": "^0.28.14", + "typescript": "^5.9.3", + "typescript-eslint": "^8.46.2", "vitest": "^2.1.8" }, "config": { From 08d0420380f3e68ec93b3d063031117f76eada0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Mon, 27 Oct 2025 12:16:45 +0100 Subject: [PATCH 42/48] chore: fix leftover from lodash-es conversion --- test/unit/plain/as-iterator.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/plain/as-iterator.test.ts b/test/unit/plain/as-iterator.test.ts index 4694b9ac3b..6e2fca8992 100644 --- a/test/unit/plain/as-iterator.test.ts +++ b/test/unit/plain/as-iterator.test.ts @@ -1,5 +1,5 @@ import { vi, test, expect } from 'vitest' -import defaultsDeep from 'lodash/defaultsDeep' +import { defaultsDeep } from 'lodash-es' import { asIterator } from '../../../lib/plain/as-iterator.js' import type { CollectionProp } from '../../../lib/common-types.js' From 8c48a736ba818df657b06ff2548baa5f3c3b8e61 Mon Sep 17 00:00:00 2001 From: Lisa White Date: Fri, 31 Oct 2025 16:27:47 -0600 Subject: [PATCH 43/48] fix: bump sdk-core to 10.0.0-beta.6 --- package-lock.json | 69 ++++------------------------------------------- package.json | 2 +- 2 files changed, 6 insertions(+), 65 deletions(-) diff --git a/package-lock.json b/package-lock.json index 43e1f11965..309a59bfb1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@contentful/rich-text-types": "^16.6.1", "axios": "^1.12.2", - "contentful-sdk-core": "10.0.0-beta.5", + "contentful-sdk-core": "10.0.0-beta.6", "fast-copy": "^3.0.2", "json-patch": "^0.7.0", "type-fest": "^5.1.0" @@ -1401,26 +1401,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", @@ -1588,46 +1568,6 @@ "@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.28.4", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.4.tgz", @@ -5789,9 +5729,9 @@ } }, "node_modules/contentful-sdk-core": { - "version": "10.0.0-beta.5", - "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-10.0.0-beta.5.tgz", - "integrity": "sha512-ixj7XgDdP5Al535U4zojcVkjkdV4gyDAsKkt8oOJKqAc5Osi4qPkeb4eVcp9LSru9GSx19EsbYlNQYSNzR/VJw==", + "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", @@ -7971,6 +7911,7 @@ "integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==", "dev": true, "license": "ISC", + "optional": true, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } diff --git a/package.json b/package.json index 3f18eea274..6b58dd93dc 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "dependencies": { "@contentful/rich-text-types": "^16.6.1", "axios": "^1.12.2", - "contentful-sdk-core": "10.0.0-beta.5", + "contentful-sdk-core": "10.0.0-beta.6", "fast-copy": "^3.0.2", "json-patch": "^0.7.0", "type-fest": "^5.1.0" From e6ea8580135c15769b9a0934c5d7ed5449791f72 Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Mon, 17 Nov 2025 21:46:16 -0700 Subject: [PATCH 44/48] chore: update build scripts to include es checks --- .github/workflows/check.yaml | 3 +++ package.json | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) 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/package.json b/package.json index a99fc67441..d5fa996007 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,6 @@ "build": "npm run clean && npm run build:rollup", "build:rollup": "NODE_ENV=production rollup -c", "build:docs": "typedoc", - "postbuild": "npm run check && npm run test:demo-projects", "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", From a33a073e6a0722f54e592586553339ba41055c5f Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Tue, 18 Nov 2025 13:57:40 -0700 Subject: [PATCH 45/48] chore: update project back to commonjs and remove js import extensions --- .github/workflows/main.yaml | 2 + lib/adapters/REST/endpoints/access-token.ts | 8 +- .../REST/endpoints/ai-action-invocation.ts | 6 +- lib/adapters/REST/endpoints/ai-action.ts | 10 +- lib/adapters/REST/endpoints/api-key.ts | 8 +- .../REST/endpoints/app-access-token.ts | 8 +- .../REST/endpoints/app-action-call.ts | 10 +- lib/adapters/REST/endpoints/app-action.ts | 10 +- lib/adapters/REST/endpoints/app-bundle.ts | 10 +- lib/adapters/REST/endpoints/app-definition.ts | 10 +- lib/adapters/REST/endpoints/app-details.ts | 8 +- .../REST/endpoints/app-event-subscription.ts | 8 +- .../REST/endpoints/app-installation.ts | 14 +- lib/adapters/REST/endpoints/app-key.ts | 8 +- .../REST/endpoints/app-signed-request.ts | 8 +- .../REST/endpoints/app-signing-secret.ts | 8 +- lib/adapters/REST/endpoints/app-upload.ts | 10 +- lib/adapters/REST/endpoints/asset-key.ts | 8 +- lib/adapters/REST/endpoints/asset.ts | 16 +- lib/adapters/REST/endpoints/bulk-action.ts | 8 +- lib/adapters/REST/endpoints/comment.ts | 10 +- lib/adapters/REST/endpoints/concept-scheme.ts | 8 +- lib/adapters/REST/endpoints/concept.ts | 8 +- lib/adapters/REST/endpoints/content-type.ts | 10 +- .../REST/endpoints/editor-interface.ts | 8 +- lib/adapters/REST/endpoints/entry.ts | 12 +- .../REST/endpoints/environment-alias.ts | 8 +- .../environment-template-installation.ts | 4 +- .../REST/endpoints/environment-template.ts | 6 +- lib/adapters/REST/endpoints/environment.ts | 8 +- lib/adapters/REST/endpoints/extension.ts | 10 +- lib/adapters/REST/endpoints/function-log.ts | 8 +- lib/adapters/REST/endpoints/function.ts | 8 +- lib/adapters/REST/endpoints/http.ts | 4 +- lib/adapters/REST/endpoints/index.ts | 136 ++++++++--------- lib/adapters/REST/endpoints/locale.ts | 10 +- .../REST/endpoints/oauth-application.ts | 8 +- .../REST/endpoints/organization-invitation.ts | 6 +- .../REST/endpoints/organization-membership.ts | 8 +- lib/adapters/REST/endpoints/organization.ts | 8 +- .../REST/endpoints/personal-access-token.ts | 8 +- .../REST/endpoints/preview-api-key.ts | 8 +- lib/adapters/REST/endpoints/release-action.ts | 8 +- lib/adapters/REST/endpoints/release-asset.ts | 14 +- lib/adapters/REST/endpoints/release-entry.ts | 10 +- lib/adapters/REST/endpoints/release.ts | 8 +- .../REST/endpoints/resource-provider.ts | 8 +- lib/adapters/REST/endpoints/resource-type.ts | 8 +- lib/adapters/REST/endpoints/resource.ts | 8 +- lib/adapters/REST/endpoints/role.ts | 10 +- .../REST/endpoints/scheduled-action.ts | 10 +- lib/adapters/REST/endpoints/snapshot.ts | 14 +- lib/adapters/REST/endpoints/space-member.ts | 8 +- .../REST/endpoints/space-membership.ts | 8 +- lib/adapters/REST/endpoints/space.ts | 8 +- lib/adapters/REST/endpoints/tag.ts | 8 +- lib/adapters/REST/endpoints/task.ts | 10 +- .../REST/endpoints/team-membership.ts | 10 +- .../REST/endpoints/team-space-membership.ts | 8 +- lib/adapters/REST/endpoints/team.ts | 10 +- lib/adapters/REST/endpoints/ui-config.ts | 8 +- .../REST/endpoints/upload-credentials.ts | 8 +- lib/adapters/REST/endpoints/upload.ts | 8 +- lib/adapters/REST/endpoints/usage.ts | 8 +- lib/adapters/REST/endpoints/user-ui-config.ts | 8 +- lib/adapters/REST/endpoints/user.ts | 8 +- lib/adapters/REST/endpoints/utils.ts | 2 +- lib/adapters/REST/endpoints/webhook.ts | 10 +- .../REST/endpoints/workflow-definition.ts | 8 +- lib/adapters/REST/endpoints/workflow.ts | 8 +- .../REST/endpoints/workflows-changelog.ts | 8 +- lib/adapters/REST/make-request.ts | 4 +- lib/adapters/REST/rest-adapter.ts | 4 +- lib/adapters/REST/types.ts | 2 +- lib/common-types.ts | 126 ++++++++-------- lib/common-utils.ts | 2 +- .../controls-defaults.ts | 4 +- .../editors-defaults.ts | 2 +- .../editor-interface-defaults/index.ts | 6 +- .../sidebar-defaults.ts | 2 +- lib/create-adapter.ts | 6 +- lib/create-app-definition-api.ts | 14 +- lib/create-contentful-api.ts | 22 +-- lib/create-entry-api.ts | 12 +- lib/create-environment-api.ts | 64 ++++---- lib/create-environment-template-api.ts | 6 +- lib/create-organization-api.ts | 38 ++--- lib/create-space-api.ts | 30 ++-- lib/create-ui-config-api.ts | 4 +- lib/create-user-ui-config-api.ts | 4 +- lib/entities/access-token.ts | 6 +- lib/entities/ai-action-invocation.ts | 4 +- lib/entities/ai-action.ts | 8 +- lib/entities/api-key.ts | 6 +- lib/entities/app-access-token.ts | 2 +- lib/entities/app-action-call.ts | 6 +- lib/entities/app-action.ts | 8 +- lib/entities/app-bundle.ts | 6 +- lib/entities/app-definition.ts | 18 +-- lib/entities/app-details.ts | 4 +- lib/entities/app-event-subscription.ts | 4 +- lib/entities/app-installation.ts | 8 +- lib/entities/app-key.ts | 6 +- lib/entities/app-signed-request.ts | 2 +- lib/entities/app-signing-secret.ts | 4 +- lib/entities/app-upload.ts | 6 +- lib/entities/asset-key.ts | 2 +- lib/entities/asset.ts | 8 +- lib/entities/bulk-action.ts | 8 +- lib/entities/comment.ts | 6 +- lib/entities/concept-scheme.ts | 6 +- lib/entities/concept.ts | 4 +- lib/entities/content-type-fields.ts | 2 +- lib/entities/content-type.ts | 20 +-- lib/entities/editor-interface.ts | 8 +- lib/entities/entry.ts | 12 +- lib/entities/environment-alias.ts | 6 +- .../environment-template-installation.ts | 4 +- lib/entities/environment-template.ts | 14 +- lib/entities/environment.ts | 10 +- lib/entities/extension.ts | 10 +- lib/entities/function-log.ts | 8 +- lib/entities/function.ts | 8 +- lib/entities/locale.ts | 6 +- lib/entities/oauth-application.ts | 6 +- lib/entities/organization-invitation.ts | 2 +- lib/entities/organization-membership.ts | 6 +- lib/entities/organization.ts | 10 +- lib/entities/personal-access-token.ts | 6 +- lib/entities/preview-api-key.ts | 6 +- lib/entities/release-action.ts | 10 +- lib/entities/release.ts | 14 +- lib/entities/resource-provider.ts | 6 +- lib/entities/resource-type.ts | 6 +- lib/entities/resource.ts | 4 +- lib/entities/role.ts | 6 +- lib/entities/scheduled-action.ts | 6 +- lib/entities/snapshot.ts | 6 +- lib/entities/space-member.ts | 4 +- lib/entities/space-membership.ts | 6 +- lib/entities/space.ts | 10 +- lib/entities/tag.ts | 6 +- lib/entities/task.ts | 6 +- lib/entities/team-membership.ts | 6 +- lib/entities/team-space-membership.ts | 6 +- lib/entities/team.ts | 6 +- lib/entities/ui-config.ts | 6 +- lib/entities/upload-credential.ts | 4 +- lib/entities/upload.ts | 4 +- lib/entities/usage.ts | 6 +- lib/entities/user-ui-config.ts | 6 +- lib/entities/user.ts | 6 +- lib/entities/webhook.ts | 6 +- lib/entities/workflow-definition.ts | 6 +- lib/entities/workflow.ts | 6 +- lib/entities/workflows-changelog-entry.ts | 6 +- lib/export-types.ts | 140 +++++++++--------- lib/index.ts | 40 ++--- lib/methods/action.ts | 2 +- lib/methods/content-type.ts | 4 +- lib/methods/release-action.ts | 8 +- lib/plain/as-iterator.ts | 2 +- lib/plain/checks.ts | 2 +- lib/plain/common-types.ts | 134 ++++++++--------- lib/plain/entities/ai-action-invocation.ts | 6 +- lib/plain/entities/ai-action.ts | 8 +- lib/plain/entities/app-access-token.ts | 6 +- lib/plain/entities/app-action-call.ts | 6 +- lib/plain/entities/app-action.ts | 6 +- lib/plain/entities/app-bundle.ts | 6 +- lib/plain/entities/app-definition.ts | 6 +- lib/plain/entities/app-details.ts | 6 +- lib/plain/entities/app-event-subscription.ts | 6 +- lib/plain/entities/app-installation.ts | 8 +- lib/plain/entities/app-key.ts | 6 +- lib/plain/entities/app-signed-request.ts | 6 +- lib/plain/entities/app-signing-secret.ts | 6 +- lib/plain/entities/app-upload.ts | 6 +- lib/plain/entities/comment.ts | 6 +- lib/plain/entities/concept-scheme.ts | 4 +- lib/plain/entities/concept.ts | 4 +- lib/plain/entities/editor-interface.ts | 6 +- lib/plain/entities/environment-alias.ts | 6 +- lib/plain/entities/environment.ts | 6 +- lib/plain/entities/extension.ts | 6 +- lib/plain/entities/function-log.ts | 6 +- lib/plain/entities/function.ts | 6 +- lib/plain/entities/locale.ts | 6 +- lib/plain/entities/oauth-application.ts | 6 +- lib/plain/entities/organization.ts | 6 +- lib/plain/entities/resource-provider.ts | 6 +- lib/plain/entities/resource-type.ts | 8 +- lib/plain/entities/resource.ts | 6 +- lib/plain/entities/role.ts | 6 +- lib/plain/entities/space-member.ts | 6 +- lib/plain/entities/space-membership.ts | 6 +- lib/plain/entities/space.ts | 6 +- lib/plain/entities/tag.ts | 8 +- lib/plain/entities/task.ts | 6 +- lib/plain/entities/team-membership.ts | 6 +- lib/plain/entities/team-space-membership.ts | 6 +- lib/plain/entities/team.ts | 6 +- lib/plain/entities/ui-config.ts | 6 +- lib/plain/entities/upload-credential.ts | 4 +- lib/plain/entities/upload.ts | 4 +- lib/plain/entities/usage.ts | 6 +- lib/plain/entities/user-ui-config.ts | 6 +- lib/plain/entities/user.ts | 6 +- lib/plain/entities/webhook.ts | 6 +- lib/plain/entities/workflow-definition.ts | 6 +- lib/plain/entities/workflow.ts | 6 +- lib/plain/entities/workflows-changelog.ts | 6 +- lib/plain/pagination-helper.ts | 2 +- lib/plain/plain-client.ts | 12 +- lib/plain/wrappers/wrap.test-d.ts | 2 +- lib/plain/wrappers/wrap.ts | 2 +- package.json | 1 - rollup.config.js | 1 + tsconfig.json | 4 +- 219 files changed, 1086 insertions(+), 1084 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index d4540195c8..18455b8994 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -15,11 +15,13 @@ jobs: uses: ./.github/workflows/check.yaml test-demo-projects: + if: !always() needs: [build, check] uses: ./.github/workflows/test-demo-projects.yaml secrets: inherit test-integration: + if: !always() needs: [build, check, test-demo-projects] uses: ./.github/workflows/test-integration.yaml secrets: inherit diff --git a/lib/adapters/REST/endpoints/access-token.ts b/lib/adapters/REST/endpoints/access-token.ts index 7509430f9a..57b1abc66f 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.js' +import type { CollectionProp, GetOrganizationParams, QueryParams } from '../../../common-types' import type { CreatePersonalAccessTokenProps, AccessTokenProps, -} from '../../../entities/access-token.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../entities/access-token' +import type { RestEndpoint } from '../types' +import * as raw from './raw' /** * 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 17e6bf9230..ba24a62d4c 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.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +import type { GetSpaceEnvironmentParams } from '../../../common-types' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 b0d73d8b09..d1ef85ef26 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.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' +} 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' 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 734d7732b5..01d4ca7ef3 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.js' -import type { ApiKeyProps, CreateApiKeyProps } from '../../../entities/api-key.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +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' 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 9cc3c0f387..aeceb4a9a2 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.js' -import * as raw from './raw.js' -import type { RestEndpoint } from '../types.js' -import type { GetAppInstallationParams } from '../../../common-types.js' +} from '../../../entities/app-access-token' +import * as raw from './raw' +import type { RestEndpoint } from '../types' +import type { GetAppInstallationParams } from '../../../common-types' 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 988703de9d..f44354bdf5 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.js' -import * as raw from './raw.js' -import type { RestEndpoint } from '../types.js' +} from '../../../entities/app-action-call' +import * as raw from './raw' +import type { RestEndpoint } from '../types' import type { CreateWithResponseParams, CreateWithResultParams, GetAppActionCallDetailsParams, GetAppActionCallParams, GetAppActionCallParamsWithId, -} from '../../../common-types.js' -import { isSuccessful, shouldRePoll, waitFor } from '../../../common-utils.js' +} from '../../../common-types' +import { isSuccessful, shouldRePoll, waitFor } from '../../../common-utils' 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 b73ddd056b..b29fa5783d 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.js' -import { normalizeSelect } from './utils.js' +import * as raw from './raw' +import { normalizeSelect } from './utils' import type { CollectionProp, GetAppActionParams, GetAppActionsForEnvParams, GetAppDefinitionParams, QueryParams, -} from '../../../common-types.js' -import type { RestEndpoint } from '../types.js' -import type { AppActionProps, CreateAppActionProps } from '../../../entities/app-action.js' +} from '../../../common-types' +import type { RestEndpoint } from '../types' +import type { AppActionProps, CreateAppActionProps } from '../../../entities/app-action' 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 2709353141..a7b91dc003 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.js' -import { normalizeSelect } from './utils.js' +import * as raw from './raw' +import { normalizeSelect } from './utils' import type { CollectionProp, GetAppBundleParams, GetAppDefinitionParams, QueryParams, -} from '../../../common-types.js' -import type { RestEndpoint } from '../types.js' -import type { AppBundleProps, CreateAppBundleProps } from '../../../entities/app-bundle.js' +} from '../../../common-types' +import type { RestEndpoint } from '../types' +import type { AppBundleProps, CreateAppBundleProps } from '../../../entities/app-bundle' 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 b7de87a082..6ce60b5392 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.js' +import * as raw from './raw' import copy from 'fast-copy' -import { normalizeSelect, normalizeSpaceId } from './utils.js' +import { normalizeSelect, normalizeSpaceId } from './utils' import type { GetAppDefinitionParams, GetOrganizationParams, QueryParams, GetAppInstallationsForOrgParams, PaginationQueryParams, -} from '../../../common-types.js' +} from '../../../common-types' import type { AppDefinitionProps, CreateAppDefinitionProps, AppInstallationsForOrganizationProps, -} from '../../../entities/app-definition.js' -import type { RestEndpoint } from '../types.js' +} from '../../../entities/app-definition' +import type { RestEndpoint } from '../types' 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 7bfd85f323..6eb5fc58c7 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.js' -import * as raw from './raw.js' -import type { RestEndpoint } from '../types.js' -import type { GetAppDefinitionParams } from '../../../common-types.js' +import type { AppDetailsProps, CreateAppDetailsProps } from '../../../entities/app-details' +import * as raw from './raw' +import type { RestEndpoint } from '../types' +import type { GetAppDefinitionParams } from '../../../common-types' 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 0f1acf7739..01b129455d 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.js' -import * as raw from './raw.js' -import type { RestEndpoint } from '../types.js' -import type { GetAppDefinitionParams } from '../../../common-types.js' +} from '../../../entities/app-event-subscription' +import * as raw from './raw' +import type { RestEndpoint } from '../types' +import type { GetAppDefinitionParams } from '../../../common-types' 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 b1ce81335e..4919d4265f 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.js' -import { normalizeSelect, normalizeSpaceId } from './utils.js' +import * as raw from './raw' +import { normalizeSelect, normalizeSpaceId } from './utils' import copy from 'fast-copy' import type { GetAppInstallationParams, @@ -9,14 +9,14 @@ import type { PaginationQueryParams, GetAppInstallationsForOrgParams, SpaceQueryParams, -} from '../../../common-types.js' +} from '../../../common-types' import type { AppInstallationProps, CreateAppInstallationProps, -} 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' +} from '../../../entities/app-installation' +import type { AppInstallationsForOrganizationProps } from '../../../entities/app-definition' +import type { CollectionProp } from '../../../common-types' +import type { RestEndpoint } from '../types' 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 42addab630..d0fb33acc7 100644 --- a/lib/adapters/REST/endpoints/app-key.ts +++ b/lib/adapters/REST/endpoints/app-key.ts @@ -1,12 +1,12 @@ import type { AxiosInstance } from 'contentful-sdk-core' -import type { CreateAppKeyProps, AppKeyProps } from '../../../entities/app-key.js' -import * as raw from './raw.js' -import type { RestEndpoint } from '../types.js' +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.js' +} from '../../../common-types' 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 c2d52df74f..6a3068f5ba 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.js' -import * as raw from './raw.js' -import type { RestEndpoint } from '../types.js' -import type { GetAppInstallationParams } from '../../../common-types.js' +} from '../../../entities/app-signed-request' +import * as raw from './raw' +import type { RestEndpoint } from '../types' +import type { GetAppInstallationParams } from '../../../common-types' 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 34a3a355c4..442587c150 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.js' -import * as raw from './raw.js' -import type { RestEndpoint } from '../types.js' -import type { GetAppDefinitionParams } from '../../../common-types.js' +} from '../../../entities/app-signing-secret' +import * as raw from './raw' +import type { RestEndpoint } from '../types' +import type { GetAppDefinitionParams } from '../../../common-types' 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 bb046c6bb5..c7bcd0d4e7 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.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' +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' 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 d9b4c79183..f3302996f6 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.js' -import * as raw from './raw.js' -import type { RestEndpoint } from '../types.js' -import type { GetSpaceEnvironmentParams } from '../../../common-types.js' +import type { CreateAssetKeyProps, AssetKeyProps } from '../../../entities/asset-key' +import * as raw from './raw' +import type { RestEndpoint } from '../types' +import type { GetSpaceEnvironmentParams } from '../../../common-types' 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 29758adea6..9188410af1 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.js' +} from '../../../common-types' import type { AssetFileProp, AssetProcessingForLocale, AssetProps, CreateAssetProps, -} 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' +} 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' 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 5b183ec130..6709d733ad 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.js' +import type { GetBulkActionParams, GetSpaceEnvironmentParams } from '../../../common-types' import type { BulkActionProps, BulkActionPublishPayload, @@ -8,9 +8,9 @@ import type { PublishBulkActionV2Payload, UnpublishBulkActionV2Payload, ValidateBulkActionV2Payload, -} from '../../../entities/bulk-action.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../entities/bulk-action' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 62c3ca7dcc..fb118ff369 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.js' +} from '../../../common-types' import type { CreateCommentParams, CreateCommentProps, @@ -18,10 +18,10 @@ import type { PlainTextBodyFormat, RichTextBodyFormat, RichTextCommentBodyPayload, -} from '../../../entities/comment.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' -import { normalizeSelect } from './utils.js' +} from '../../../entities/comment' +import type { RestEndpoint } from '../types' +import * as raw from './raw' +import { normalizeSelect } from './utils' 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 a0ad5ba8a6..488f14fdd7 100644 --- a/lib/adapters/REST/endpoints/concept-scheme.ts +++ b/lib/adapters/REST/endpoints/concept-scheme.ts @@ -8,13 +8,13 @@ import type { GetManyConceptSchemeParams, GetOrganizationParams, UpdateConceptSchemeParams, -} from '../../../common-types.js' +} from '../../../common-types' import type { ConceptSchemeProps, CreateConceptSchemeProps, -} from '../../../entities/concept-scheme.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../entities/concept-scheme' +import type { RestEndpoint } from '../types' +import * as raw from './raw' function basePath(orgId: string) { return `/organizations/${orgId}/taxonomy/concept-schemes` diff --git a/lib/adapters/REST/endpoints/concept.ts b/lib/adapters/REST/endpoints/concept.ts index cdb7e92fe8..ceaedd23a7 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.js' -import type { ConceptProps, CreateConceptProps } from '../../../entities/concept.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../common-types' +import type { ConceptProps, CreateConceptProps } from '../../../entities/concept' +import type { RestEndpoint } from '../types' +import * as raw from './raw' function basePath(organizationId: string) { return `/organizations/${organizationId}/taxonomy/concepts` diff --git a/lib/adapters/REST/endpoints/content-type.ts b/lib/adapters/REST/endpoints/content-type.ts index 4bcd79e399..782901f167 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.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' +} 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' 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 0f4d03d9c3..d08c53b579 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.js' -import type { EditorInterfaceProps } from '../../../entities/editor-interface.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../common-types' +import type { EditorInterfaceProps } from '../../../entities/editor-interface' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 ae188ececb..5a1e41bf68 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.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' +} 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' 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 44fec09296..12fe3e610e 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.js' +} from '../../../common-types' import type { CreateEnvironmentAliasProps, EnvironmentAliasProps, -} from '../../../entities/environment-alias.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../entities/environment-alias' +import type { RestEndpoint } from '../types' +import * as raw from './raw' /** * Urls diff --git a/lib/adapters/REST/endpoints/environment-template-installation.ts b/lib/adapters/REST/endpoints/environment-template-installation.ts index 612e780d13..c98beb0fbd 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.js' -import * as raw from './raw.js' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 b72634cd12..a48fc3c03d 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.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +import type { EnvironmentTemplateProps } from '../../../entities/environment-template' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 d93c4b94c1..8b35c27915 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.js' -import type { CreateEnvironmentProps, EnvironmentProps } from '../../../entities/environment.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../common-types' +import type { CreateEnvironmentProps, EnvironmentProps } from '../../../entities/environment' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 20652894a5..915c21dad2 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.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' +} from '../../../common-types' +import type { CreateExtensionProps, ExtensionProps } from '../../../entities/extension' +import type { RestEndpoint } from '../types' +import * as raw from './raw' +import { normalizeSelect } from './utils' 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 1b027d12a0..d0ac89df8d 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.js' +import * as raw from './raw' import type { CollectionProp, GetFunctionLogParams, GetManyFunctionLogParams, -} from '../../../common-types.js' -import type { RestEndpoint } from '../types.js' -import type { FunctionLogProps } from '../../../entities/function-log.js' +} from '../../../common-types' +import type { RestEndpoint } from '../types' +import type { FunctionLogProps } from '../../../entities/function-log' 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 314a229c8c..dac8c033a6 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.js' +import * as raw from './raw' import type { CollectionProp, GetFunctionForEnvParams, GetFunctionParams, GetManyFunctionParams, -} from '../../../common-types.js' -import type { RestEndpoint } from '../types.js' -import type { FunctionProps } from '../../../entities/function.js' +} from '../../../common-types' +import type { RestEndpoint } from '../types' +import type { FunctionProps } from '../../../entities/function' // Base URL const getManyUrl = (params: GetManyFunctionParams) => diff --git a/lib/adapters/REST/endpoints/http.ts b/lib/adapters/REST/endpoints/http.ts index 2c5186a6d6..f6917d4d5f 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.js' -import * as raw from './raw.js' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 f57860a463..26bf82de73 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.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' +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 ReleaseAction from './release-action' +import * as ReleaseAsset from './release-asset' +import * as ReleaseEntry from './release-entry' +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' export default { AiAction, diff --git a/lib/adapters/REST/endpoints/locale.ts b/lib/adapters/REST/endpoints/locale.ts index ada9283fdc..bb3c96866c 100644 --- a/lib/adapters/REST/endpoints/locale.ts +++ b/lib/adapters/REST/endpoints/locale.ts @@ -6,11 +6,11 @@ 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' +} from '../../../common-types' +import type { CreateLocaleProps, LocaleProps } from '../../../entities/locale' +import type { RestEndpoint } from '../types' +import * as raw from './raw' +import { normalizeSelect } from './utils' 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 87bb478d46..7b65b1c177 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.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../common-types' +import type { RestEndpoint } from '../types' +import * as raw from './raw' import type { OAuthApplicationProps, CreateOAuthApplicationProps, UpdateOAuthApplicationProps, -} from '../../../entities/oauth-application.js' +} from '../../../entities/oauth-application' /** * 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 e3ca17188c..62a8ca4af6 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.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../entities/organization-invitation' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 3ac4778431..e5218da15c 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.js' -import type { OrganizationMembershipProps } from '../../../entities/organization-membership.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../common-types' +import type { OrganizationMembershipProps } from '../../../entities/organization-membership' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 e86f4c7c79..b47726e0de 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.js' -import type { OrganizationProps } from '../../../entities/organization.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../common-types' +import type { OrganizationProps } from '../../../entities/organization' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 c67ac2960e..29e99f5ef9 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.js' +import type { CollectionProp, QueryParams } from '../../../common-types' import type { CreatePersonalAccessTokenProps, PersonalAccessTokenProps, -} from '../../../entities/personal-access-token.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../entities/personal-access-token' +import type { RestEndpoint } from '../types' +import * as raw from './raw' /** * @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 d7c7adfa16..578582a4e8 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.js' -import type { PreviewApiKeyProps } from '../../../entities/preview-api-key.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +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' 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 97c814ac62..ac110607b2 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.js' -import type { ReleaseActionQueryOptions } from '../../../entities/release-action.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +import type { GetReleaseParams, GetSpaceEnvironmentParams } from '../../../common-types' +import type { ReleaseActionQueryOptions } from '../../../entities/release-action' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 17a175ed89..a9dc001153 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.js' +} from '../../../common-types' import type { AssetFileProp, AssetProcessingForLocale, AssetProps, CreateAssetProps, -} 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' +} 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' 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 7fa2885e9c..6ea784a9fb 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.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' +} from '../../../common-types' +import type { CreateEntryProps, EntryProps } from '../../../entities/entry' +import type { RestEndpoint } from '../types' +import * as raw from './raw' +import { normalizeSelect } from './utils' type ReleaseEntryProps = EntryProps }> diff --git a/lib/adapters/REST/endpoints/release.ts b/lib/adapters/REST/endpoints/release.ts index 7406b6ae46..921c94dad7 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.js' +import type { GetReleaseParams, ReleaseEnvironmentParams } from '../../../common-types' import type { ReleasePayload, ReleasePayloadV2, ReleaseQueryOptions, ReleaseValidatePayload, -} from '../../../entities/release.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../entities/release' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 eefe1955d7..df00f8bac6 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.js' -import type { GetResourceProviderParams } from '../../../common-types.js' -import type { RestEndpoint } from '../types.js' +import * as raw from './raw' +import type { GetResourceProviderParams } from '../../../common-types' +import type { RestEndpoint } from '../types' import type { ResourceProviderProps, UpsertResourceProviderProps, -} from '../../../entities/resource-provider.js' +} from '../../../entities/resource-provider' 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 cce2cab52b..310034fb16 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.js' +import * as raw from './raw' import copy from 'fast-copy' import type { BasicCursorPaginationOptions, @@ -8,13 +8,13 @@ import type { GetResourceTypeParams, CollectionProp, GetSpaceEnvironmentParams, -} from '../../../common-types.js' -import type { RestEndpoint } from '../types.js' +} from '../../../common-types' +import type { RestEndpoint } from '../types' import type { ResourceTypeProps, SpaceEnvResourceTypeProps, UpsertResourceTypeProps, -} from '../../../entities/resource-type.js' +} from '../../../entities/resource-type' const getBaseUrl = ( params: GetResourceTypeParams | Omit, diff --git a/lib/adapters/REST/endpoints/resource.ts b/lib/adapters/REST/endpoints/resource.ts index fea0fc2f87..7252f3881f 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.js' -import type { RestEndpoint } from '../types.js' +import type { CursorPaginatedCollectionProp, GetResourceParams } from '../../../common-types' +import type { RestEndpoint } from '../types' import type { AxiosInstance } from 'contentful-sdk-core' -import * as raw from './raw.js' -import type { ResourceProps, ResourceQueryOptions } from '../../../entities/resource.js' +import * as raw from './raw' +import type { ResourceProps, ResourceQueryOptions } from '../../../entities/resource' 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 fec851313c..b5f1b0ac0b 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.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' +} from '../../../common-types' +import type { CreateRoleProps, RoleProps } from '../../../entities/role' +import type { RestEndpoint } from '../types' +import * as raw from './raw' +import { normalizeSelect } from './utils' 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 95e49dd8ac..ee284f9463 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.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' +} from '../../../common-types' +import type { ScheduledActionProps } from '../../../entities/scheduled-action' +import type { RestEndpoint } from '../types' +import * as raw from './raw' +import { normalizeSelect } from './utils' 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 f421d10e50..3f6cc98e16 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.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' +} 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' 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 b1185982ba..2b2b1ecfde 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.js' -import type { SpaceMemberProps } from '../../../entities/space-member.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +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' 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 13ca31e9da..b6f486ba2a 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.js' +} from '../../../common-types' import type { CreateSpaceMembershipProps, SpaceMembershipProps, -} from '../../../entities/space-membership.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../entities/space-membership' +import type { RestEndpoint } from '../types' +import * as raw from './raw' function spaceMembershipDeprecationWarning() { console.warn( diff --git a/lib/adapters/REST/endpoints/space.ts b/lib/adapters/REST/endpoints/space.ts index 435607a447..924fdc5c63 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.js' -import type { SpaceProps } from '../../../entities/space.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../common-types' +import type { SpaceProps } from '../../../entities/space' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 da301c8792..1b71512142 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.js' +} from '../../../common-types' import type { CreateTagProps, DeleteTagParams, TagProps, UpdateTagProps, -} from '../../../entities/tag.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../entities/tag' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 f24d0b1be5..08f18dbf80 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.js' +} from '../../../common-types' import type { CreateTaskParams, CreateTaskProps, DeleteTaskParams, TaskProps, UpdateTaskProps, -} from '../../../entities/task.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' -import { normalizeSelect } from './utils.js' +} from '../../../entities/task' +import type { RestEndpoint } from '../types' +import * as raw from './raw' +import { normalizeSelect } from './utils' 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 7a2370cbe8..240609e483 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.js' +} from '../../../common-types' import type { CreateTeamMembershipProps, TeamMembershipProps, -} from '../../../entities/team-membership.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' -import { normalizeSelect } from './utils.js' +} from '../../../entities/team-membership' +import type { RestEndpoint } from '../types' +import * as raw from './raw' +import { normalizeSelect } from './utils' 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 f69a4b5d9a..8bf0e10755 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.js' +} from '../../../common-types' import type { CreateTeamSpaceMembershipProps, TeamSpaceMembershipProps, -} from '../../../entities/team-space-membership.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../entities/team-space-membership' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 22442549b2..53c8f4155d 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.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' +} from '../../../common-types' +import type { CreateTeamProps, TeamProps } from '../../../entities/team' +import type { RestEndpoint } from '../types' +import * as raw from './raw' +import { normalizeSelect } from './utils' 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 2a1a65a2eb..c1f6b0c43a 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.js' -import type { UIConfigProps } from '../../../entities/ui-config.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +import type { GetUIConfigParams } from '../../../common-types' +import type { UIConfigProps } from '../../../entities/ui-config' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 d22b3ace0f..0e4d64d9a8 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.js' -import { getUploadHttpClient } from '../../../upload-http-client.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +import type { GetSpaceEnvironmentParams } from '../../../common-types' +import { getUploadHttpClient } from '../../../upload-http-client' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 f6e72f8d12..dfe63b8906 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.js' -import { getUploadHttpClient } from '../../../upload-http-client.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../common-types' +import { getUploadHttpClient } from '../../../upload-http-client' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 dde8b98184..9cde76fefa 100644 --- a/lib/adapters/REST/endpoints/usage.ts +++ b/lib/adapters/REST/endpoints/usage.ts @@ -1,8 +1,8 @@ import type { AxiosInstance } from 'contentful-sdk-core' -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' +import type { CollectionProp, QueryParams } from '../../../common-types' +import type { UsageProps } from '../../../entities/usage' +import type { RestEndpoint } from '../types' +import * as raw from './raw' export const getManyForSpace: RestEndpoint<'Usage', 'getManyForSpace'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/user-ui-config.ts b/lib/adapters/REST/endpoints/user-ui-config.ts index 0e6bf965a5..79af566686 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.js' -import type { UserUIConfigProps } from '../../../entities/user-ui-config.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +import type { GetUserUIConfigParams } from '../../../common-types' +import type { UserUIConfigProps } from '../../../entities/user-ui-config' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 e1b1d24088..5a1c2c2fdb 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.js' -import type { UserProps } from '../../../entities/user.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../common-types' +import type { UserProps } from '../../../entities/user' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 81e6e8759b..6c4e3679b1 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.js' +import type { QueryOptions } from '../../../common-types' 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 39d8910762..34e916d223 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.js' +} from '../../../common-types' import type { CreateWebhooksProps, UpsertWebhookSigningSecretPayload, @@ -15,10 +15,10 @@ import type { WebhookRetryPolicyPayload, WebhookRetryPolicyProps, WebhookSigningSecretProps, -} from '../../../entities/webhook.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' -import { normalizeSelect } from './utils.js' +} from '../../../entities/webhook' +import type { RestEndpoint } from '../types' +import * as raw from './raw' +import { normalizeSelect } from './utils' 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 543951bf62..0ccbd424c0 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.js' +} from '../../../common-types' import type { CreateWorkflowDefinitionParams, CreateWorkflowDefinitionProps, @@ -13,9 +13,9 @@ import type { UpdateWorkflowDefinitionProps, WorkflowDefinitionProps, WorkflowDefinitionQueryOptions, -} from '../../../entities/workflow-definition.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../entities/workflow-definition' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 b9a79db0b6..c4152b51b8 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.js' +} from '../../../common-types' import type { CompleteWorkflowParams, CreateWorkflowParams, @@ -15,9 +15,9 @@ import type { UpdateWorkflowProps, WorkflowProps, WorkflowQueryOptions, -} from '../../../entities/workflow.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../entities/workflow' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 6dcdcc18ac..239d799311 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.js' +import type { CollectionProp, GetSpaceEnvironmentParams } from '../../../common-types' import type { WorkflowsChangelogQueryOptions, WorkflowsChangelogEntryProps, -} from '../../../entities/workflows-changelog-entry.js' -import type { RestEndpoint } from '../types.js' -import * as raw from './raw.js' +} from '../../../entities/workflows-changelog-entry' +import type { RestEndpoint } from '../types' +import * as raw from './raw' 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 2bfb75e599..9229f32c70 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.js' +import type { MakeRequestOptions, MakeRequestPayload } from '../../common-types' import type { OpPatch } from 'json-patch' import type { RawAxiosRequestHeaders } from 'axios' -import endpoints from './endpoints/index.js' +import endpoints from './endpoints/index' type makeAxiosRequest = MakeRequestOptions & { axiosInstance: AxiosInstance diff --git a/lib/adapters/REST/rest-adapter.ts b/lib/adapters/REST/rest-adapter.ts index 76056fc253..93f01788f5 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.js' -import { makeRequest } from './make-request.js' +import type { Adapter, MakeRequestOptions } from '../../common-types' +import { makeRequest } from './make-request' export type RestAdapterParams = CreateHttpClientParams & { /** diff --git a/lib/adapters/REST/types.ts b/lib/adapters/REST/types.ts index 9644375a5c..aee82370b5 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.js' +import type { MRActions, MROpts, MRReturn } from '../../common-types' /** * @private diff --git a/lib/common-types.ts b/lib/common-types.ts index 8f62b8f3fe..b71e8a8937 100644 --- a/lib/common-types.ts +++ b/lib/common-types.ts @@ -4,42 +4,42 @@ import type { Stream } from 'stream' import type { AccessTokenProps, CreatePersonalAccessTokenProps as CreatePATProps, -} from './entities/access-token.js' -import type { ApiKeyProps, CreateApiKeyProps } from './entities/api-key.js' -import type { AppActionProps, CreateAppActionProps } from './entities/app-action.js' +} from './entities/access-token' +import type { ApiKeyProps, CreateApiKeyProps } from './entities/api-key' +import type { AppActionProps, CreateAppActionProps } from './entities/app-action' import type { AppActionCallProps, AppActionCallResponse, AppActionCallRawResponseProps, CreateAppActionCallProps, -} from './entities/app-action-call.js' -import type { AppBundleProps, CreateAppBundleProps } from './entities/app-bundle.js' +} from './entities/app-action-call' +import type { AppBundleProps, CreateAppBundleProps } from './entities/app-bundle' import type { AppDefinitionProps, AppInstallationsForOrganizationProps, CreateAppDefinitionProps, -} from './entities/app-definition.js' -import type { AppDetailsProps, CreateAppDetailsProps } from './entities/app-details.js' +} from './entities/app-definition' +import type { AppDetailsProps, CreateAppDetailsProps } from './entities/app-details' import type { AppInstallationProps, CreateAppInstallationProps, -} from './entities/app-installation.js' +} from './entities/app-installation' import type { AppSignedRequestProps, CreateAppSignedRequestProps, -} from './entities/app-signed-request.js' +} from './entities/app-signed-request' import type { AppSigningSecretProps, CreateAppSigningSecretProps, -} from './entities/app-signing-secret.js' -import type { AppUploadProps } from './entities/app-upload.js' +} from './entities/app-signing-secret' +import type { AppUploadProps } from './entities/app-upload' import type { AssetFileProp, AssetProcessingForLocale, AssetProps, CreateAssetProps, -} from './entities/asset.js' -import type { AssetKeyProps, CreateAssetKeyProps } from './entities/asset-key.js' +} from './entities/asset' +import type { AssetKeyProps, CreateAssetKeyProps } from './entities/asset-key' import type { BulkActionProps, BulkActionPublishPayload, @@ -49,7 +49,7 @@ import type { PublishBulkActionV2Payload, UnpublishBulkActionV2Payload, ValidateBulkActionV2Payload, -} from './entities/bulk-action.js' +} from './entities/bulk-action' import type { CommentProps, CreateCommentParams, @@ -63,58 +63,58 @@ import type { RichTextCommentProps, UpdateCommentParams, UpdateCommentProps, -} 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' +} 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' import type { CreateEnvironmentAliasProps, EnvironmentAliasProps, -} 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' +} from './entities/environment-alias' +import type { CreateExtensionProps, ExtensionProps } from './entities/extension' +import type { CreateLocaleProps, LocaleProps } from './entities/locale' +import type { OrganizationProps } from './entities/organization' import type { CreateOrganizationInvitationProps, OrganizationInvitationProps, -} from './entities/organization-invitation.js' -import type { OrganizationMembershipProps } from './entities/organization-membership.js' +} from './entities/organization-invitation' +import type { OrganizationMembershipProps } from './entities/organization-membership' import type { CreatePersonalAccessTokenProps, PersonalAccessTokenProps, -} from './entities/personal-access-token.js' -import type { PreviewApiKeyProps } from './entities/preview-api-key.js' +} from './entities/personal-access-token' +import type { PreviewApiKeyProps } from './entities/preview-api-key' import type { ReleasePayload, ReleasePayloadV2, ReleaseProps, ReleaseQueryOptions, ReleaseValidatePayload, -} from './entities/release.js' +} from './entities/release' import type { ReleaseAction, ReleaseActionProps, ReleaseActionQueryOptions, -} 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' +} 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.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' +} 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' import type { CreateTeamSpaceMembershipProps, TeamSpaceMembershipProps, -} from './entities/team-space-membership.js' -import type { UsageProps } from './entities/usage.js' -import type { UserProps } from './entities/user.js' +} from './entities/team-space-membership' +import type { UsageProps } from './entities/usage' +import type { UserProps } from './entities/user' import type { CreateWebhooksProps, UpsertWebhookSigningSecretPayload, @@ -125,7 +125,7 @@ import type { WebhookRetryPolicyPayload, WebhookRetryPolicyProps, WebhookSigningSecretProps, -} from './entities/webhook.js' +} from './entities/webhook' import type { CreateTaskParams, @@ -134,39 +134,39 @@ import type { TaskProps, UpdateTaskParams, UpdateTaskProps, -} from './entities/task.js' +} from './entities/task' -import type { AppAccessTokenProps, CreateAppAccessTokenProps } from './entities/app-access-token.js' +import type { AppAccessTokenProps, CreateAppAccessTokenProps } from './entities/app-access-token' import type { AppEventSubscriptionProps, CreateAppEventSubscriptionProps, -} 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' +} 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' import type { CreateEnvironmentTemplateProps, EnvironmentTemplateProps, -} from './entities/environment-template.js' +} from './entities/environment-template' import type { CreateEnvironmentTemplateInstallationProps, EnvironmentTemplateInstallationProps, EnvironmentTemplateValidationProps, ValidateEnvironmentTemplateInstallationProps, -} from './entities/environment-template-installation.js' -import type { FunctionProps } from './entities/function.js' -import type { ResourceProps, ResourceQueryOptions } from './entities/resource.js' +} from './entities/environment-template-installation' +import type { FunctionProps } from './entities/function' +import type { ResourceProps, ResourceQueryOptions } from './entities/resource' import type { ResourceProviderProps, UpsertResourceProviderProps, -} from './entities/resource-provider.js' +} from './entities/resource-provider' import type { ResourceTypeProps, SpaceEnvResourceTypeProps, UpsertResourceTypeProps, -} from './entities/resource-type.js' -import type { UIConfigProps } from './entities/ui-config.js' -import type { UserUIConfigProps } from './entities/user-ui-config.js' +} from './entities/resource-type' +import type { UIConfigProps } from './entities/ui-config' +import type { UserUIConfigProps } from './entities/user-ui-config' import type { CompleteWorkflowParams, CreateWorkflowParams, @@ -174,33 +174,33 @@ import type { DeleteWorkflowParams, WorkflowProps, WorkflowQueryOptions, -} from './entities/workflow.js' +} from './entities/workflow' import type { CreateWorkflowDefinitionParams, CreateWorkflowDefinitionProps, DeleteWorkflowDefinitionParams, WorkflowDefinitionProps, WorkflowDefinitionQueryOptions, -} from './entities/workflow-definition.js' +} from './entities/workflow-definition' import type { WorkflowsChangelogEntryProps, WorkflowsChangelogQueryOptions, -} from './entities/workflows-changelog-entry.js' +} from './entities/workflows-changelog-entry' import type { CreateOAuthApplicationProps, OAuthApplicationProps, UpdateOAuthApplicationProps, -} from './entities/oauth-application.js' -import type { FunctionLogProps } from './entities/function-log.js' +} from './entities/oauth-application' +import type { FunctionLogProps } from './entities/function-log' import type { AiActionProps, AiActionQueryOptions, CreateAiActionProps, -} from './entities/ai-action.js' +} from './entities/ai-action' import type { AiActionInvocationProps, AiActionInvocationType, -} from './entities/ai-action-invocation.js' +} from './entities/ai-action-invocation' export interface DefaultElements { toPlainObject(): TPlainObject diff --git a/lib/common-utils.ts b/lib/common-utils.ts index 58478b9da1..0da3ea5f8b 100644 --- a/lib/common-utils.ts +++ b/lib/common-utils.ts @@ -8,7 +8,7 @@ import type { CursorPaginatedCollection, CursorPaginatedCollectionProp, MakeRequest, -} from './common-types.js' +} from './common-types' /** * @private diff --git a/lib/constants/editor-interface-defaults/controls-defaults.ts b/lib/constants/editor-interface-defaults/controls-defaults.ts index d67666d55d..0490623266 100644 --- a/lib/constants/editor-interface-defaults/controls-defaults.ts +++ b/lib/constants/editor-interface-defaults/controls-defaults.ts @@ -1,8 +1,8 @@ import type { ContentFields, ContentTypeFieldValidation, -} from '../../entities/content-type-fields.js' -import { in_ } from './types.js' +} from '../../entities/content-type-fields' +import { in_ } from './types' const DROPDOWN_TYPES = ['Text', 'Symbol', 'Integer', 'Number', 'Boolean'] diff --git a/lib/constants/editor-interface-defaults/editors-defaults.ts b/lib/constants/editor-interface-defaults/editors-defaults.ts index f5a28da65d..f4f9f4f9a7 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.js' +import { DEFAULT_EDITOR_ID, WidgetNamespace } from './types' export const EntryEditorWidgetTypes = { DEFAULT_EDITOR: { diff --git a/lib/constants/editor-interface-defaults/index.ts b/lib/constants/editor-interface-defaults/index.ts index 5201e56caa..9962064a0c 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.js' -import { EntryConfiguration } from './editors-defaults.js' -import { getDefaultControlOfField } from './controls-defaults.js' +import { SidebarAssetConfiguration, SidebarEntryConfiguration } from './sidebar-defaults' +import { EntryConfiguration } from './editors-defaults' +import { getDefaultControlOfField } from './controls-defaults' export default { SidebarEntryConfiguration, diff --git a/lib/constants/editor-interface-defaults/sidebar-defaults.ts b/lib/constants/editor-interface-defaults/sidebar-defaults.ts index eaf3dd1c90..fcb963753a 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.js' +import { WidgetNamespace } from './types' const SidebarWidgetTypes = { USERS: 'users-widget', diff --git a/lib/create-adapter.ts b/lib/create-adapter.ts index f4944ede8b..b3906288ee 100644 --- a/lib/create-adapter.ts +++ b/lib/create-adapter.ts @@ -3,9 +3,9 @@ * @hidden */ -import type { Adapter } from './common-types.js' -import type { RestAdapterParams } from './adapters/REST/rest-adapter.js' -import { RestAdapter } from './adapters/REST/rest-adapter.js' +import type { Adapter } from './common-types' +import type { RestAdapterParams } from './adapters/REST/rest-adapter' +import { RestAdapter } from './adapters/REST/rest-adapter' export type AdapterParams = { apiAdapter: Adapter diff --git a/lib/create-app-definition-api.ts b/lib/create-app-definition-api.ts index 905c186bed..892041ef8a 100644 --- a/lib/create-app-definition-api.ts +++ b/lib/create-app-definition-api.ts @@ -1,10 +1,10 @@ -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' +import type { MakeRequest, QueryOptions, SpaceQueryOptions } from './common-types' +import { wrapAppBundle, wrapAppBundleCollection } from './entities/app-bundle' +import { wrapResourceProvider } from './entities/resource-provider' +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' /** * @private diff --git a/lib/create-contentful-api.ts b/lib/create-contentful-api.ts index 4f72acf944..a3eb8e1979 100644 --- a/lib/create-contentful-api.ts +++ b/lib/create-contentful-api.ts @@ -11,40 +11,40 @@ import type { BasicCursorPaginationOptions, GetOAuthApplicationParams, GetUserParams, -} from './common-types.js' +} from './common-types' import { wrapOrganization, wrapOrganizationCollection, type Organization, type OrganizationProps, -} from './entities/organization.js' +} from './entities/organization' 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' +} from './entities/personal-access-token' +import { wrapSpace, wrapSpaceCollection, type Space, type SpaceProps } from './entities/space' +import { wrapAppDefinition, type AppDefinition } from './entities/app-definition' +import { wrapUsageCollection, type UsageQuery } from './entities/usage' +import { wrapUser, type UserProps } from './entities/user' import { wrapEnvironmentTemplate, wrapEnvironmentTemplateCollection, type CreateEnvironmentTemplateProps, type EnvironmentTemplate, type EnvironmentTemplateProps, -} from './entities/environment-template.js' +} from './entities/environment-template' import type { RawAxiosRequestConfig } from 'axios' import type { CreateOAuthApplicationProps, OAuthApplication, OAuthApplicationProps, -} from './export-types.js' -import { wrapAccessToken, wrapAccessTokenCollection } from './entities/access-token.js' +} from './export-types' +import { wrapAccessToken, wrapAccessTokenCollection } from './entities/access-token' import { wrapOAuthApplication, wrapOAuthApplicationCollection, -} from './entities/oauth-application.js' +} from './entities/oauth-application' export type ClientAPI = ReturnType type CreateSpaceProps = Omit & { defaultLocale?: string } diff --git a/lib/create-entry-api.ts b/lib/create-entry-api.ts index 568374981c..5e2867d5e8 100644 --- a/lib/create-entry-api.ts +++ b/lib/create-entry-api.ts @@ -1,21 +1,21 @@ import type { OpPatch } from 'json-patch' -import type { MakeRequest } from './common-types.js' +import type { MakeRequest } from './common-types' import { wrapComment, wrapCommentCollection, type CreateCommentParams, type CreateCommentProps, -} from './entities/comment.js' +} from './entities/comment' 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' +} from './entities/entry' +import { wrapTask, wrapTaskCollection, type CreateTaskProps } from './entities/task' +import * as checks from './plain/checks' +import { wrapSnapshotCollection, wrapSnapshot } from './entities/snapshot' /** * @private diff --git a/lib/create-environment-api.ts b/lib/create-environment-api.ts index 328a6f5f76..d8907d5f41 100644 --- a/lib/create-environment-api.ts +++ b/lib/create-environment-api.ts @@ -6,22 +6,22 @@ import type { CreatedAtIntervalParams, CursorBasedParams, QueryOptions, -} from './common-types.js' -import type { BasicQueryOptions, MakeRequest } from './common-types.js' +} from './common-types' +import type { BasicQueryOptions, MakeRequest } from './common-types' import { wrapAppInstallation, wrapAppInstallationCollection, type CreateAppInstallationProps, -} from './entities/app-installation.js' +} from './entities/app-installation' import { wrapAppSignedRequest, type CreateAppSignedRequestProps, -} from './entities/app-signed-request.js' +} from './entities/app-signed-request' import { wrapAppActionCall, type CreateAppActionCallProps, type AppActionCallRawResponseProps, -} from './entities/app-action-call.js' +} from './entities/app-action-call' import { wrapAsset, wrapAssetCollection, @@ -29,8 +29,8 @@ import { type AssetProps, type CreateAssetFromFilesOptions, type CreateAssetProps, -} from './entities/asset.js' -import { wrapAssetKey, type CreateAssetKeyProps } from './entities/asset-key.js' +} from './entities/asset' +import { wrapAssetKey, type CreateAssetKeyProps } from './entities/asset-key' import { wrapBulkAction, type BulkAction, @@ -38,24 +38,24 @@ import { type BulkActionPublishPayload, type BulkActionUnpublishPayload, type BulkActionValidatePayload, -} from './entities/bulk-action.js' +} from './entities/bulk-action' -import type { ReleaseActionQueryOptions } from './entities/release-action.js' -import { wrapReleaseAction, wrapReleaseActionCollection } from './entities/release-action.js' +import type { ReleaseActionQueryOptions } from './entities/release-action' +import { wrapReleaseAction, wrapReleaseActionCollection } from './entities/release-action' import type { ReleasePayload, ReleaseQueryOptions, ReleaseValidatePayload, -} from './entities/release.js' -import { wrapRelease, wrapReleaseCollection } from './entities/release.js' +} from './entities/release' +import { wrapRelease, wrapReleaseCollection } from './entities/release' import { wrapContentType, wrapContentTypeCollection, type ContentTypeProps, type CreateContentTypeProps, -} from './entities/content-type.js' +} from './entities/content-type' import { wrapEntry, wrapEntryCollection, @@ -63,29 +63,29 @@ import { type EntryProps, type EntryReferenceOptionsProps, type EntryReferenceProps, -} from './entities/entry.js' -import { wrapEnvironment, type EnvironmentProps } from './entities/environment.js' +} from './entities/entry' +import { wrapEnvironment, type EnvironmentProps } from './entities/environment' 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' +} from './entities/extension' +import { wrapLocale, wrapLocaleCollection, 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 { wrapAppAccessToken, type CreateAppAccessTokenProps } from './entities/app-access-token' +import { wrapResourceCollection, type ResourceQueryOptions } from './entities/resource' +import type { AiActionInvocationType } from './entities/ai-action-invocation' +import { wrapAiActionInvocation } from './entities/ai-action-invocation' +import { wrapEditorInterface, wrapEditorInterfaceCollection } from './entities/editor-interface' +import { wrapResourceTypesForEnvironmentCollection } from './entities/resource-type' +import { wrapSnapshotCollection } from './entities/snapshot' +import { wrapUpload } from './entities/upload' /** * @private diff --git a/lib/create-environment-template-api.ts b/lib/create-environment-template-api.ts index 054259811d..744988180d 100644 --- a/lib/create-environment-template-api.ts +++ b/lib/create-environment-template-api.ts @@ -1,15 +1,15 @@ import { createRequestConfig } from 'contentful-sdk-core' -import type { BasicCursorPaginationOptions, MakeRequest } from './common-types.js' +import type { BasicCursorPaginationOptions, MakeRequest } from './common-types' import { wrapEnvironmentTemplate, wrapEnvironmentTemplateCollection, type EnvironmentTemplateProps, -} from './entities/environment-template.js' +} from './entities/environment-template' import { wrapEnvironmentTemplateInstallationCollection, type CreateEnvironmentTemplateInstallationProps, type ValidateEnvironmentTemplateInstallationProps, -} from './entities/environment-template-installation.js' +} from './entities/environment-template-installation' export type ContentfulEnvironmentTemplateApi = ReturnType diff --git a/lib/create-organization-api.ts b/lib/create-organization-api.ts index 3b05e49fe4..fa91f21096 100644 --- a/lib/create-organization-api.ts +++ b/lib/create-organization-api.ts @@ -4,54 +4,54 @@ import { wrapTeamMembership, wrapTeamMembershipCollection, type CreateTeamMembershipProps, -} from './entities/team-membership.js' -import { wrapTeam, wrapTeamCollection, type CreateTeamProps } from './entities/team.js' +} from './entities/team-membership' +import { wrapTeam, wrapTeamCollection, type CreateTeamProps } from './entities/team' import { wrapOrganizationInvitation, type CreateOrganizationInvitationProps, -} from './entities/organization-invitation.js' +} from './entities/organization-invitation' import type { AcceptsQueryOptions, BasicQueryOptions, MakeRequest, QueryOptions, QueryParams, -} from './common-types.js' +} from './common-types' import { wrapAppDefinition, wrapAppDefinitionCollection, type CreateAppDefinitionProps, -} from './entities/app-definition.js' +} from './entities/app-definition' import { wrapAppAction, wrapAppActionCollection, type CreateAppActionProps, -} from './entities/app-action.js' +} from './entities/app-action' import { wrapAppSigningSecret, type CreateAppSigningSecretProps, -} from './entities/app-signing-secret.js' +} from './entities/app-signing-secret' 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' +} from './entities/app-event-subscription' +import { wrapAppKey, wrapAppKeyCollection, type CreateAppKeyProps } from './entities/app-key' +import { wrapAppDetails, type CreateAppDetailsProps } from './entities/app-details' +import type { OrganizationProps } from './entities/organization' +import { wrapAppUpload } from './entities/app-upload' +import { wrapFunction, wrapFunctionCollection } from './entities/function' 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' +} from './entities/organization-membership' +import { wrapRoleCollection } from './entities/role' +import { wrapSpaceMembership, wrapSpaceMembershipCollection } from './entities/space-membership' +import { wrapSpaceCollection } from './entities/space' import { wrapTeamSpaceMembershipCollection, wrapTeamSpaceMembership, -} from './entities/team-space-membership.js' -import { wrapUser, wrapUserCollection } from './entities/user.js' +} from './entities/team-space-membership' +import { wrapUser, wrapUserCollection } from './entities/user' /** * @private diff --git a/lib/create-space-api.ts b/lib/create-space-api.ts index fd62e139ed..22f1a22d3e 100644 --- a/lib/create-space-api.ts +++ b/lib/create-space-api.ts @@ -4,59 +4,59 @@ */ import { createRequestConfig } from 'contentful-sdk-core' -import type { MakeRequest, PaginationQueryOptions, QueryOptions } from './common-types.js' -import { wrapApiKey, wrapApiKeyCollection, type CreateApiKeyProps } from './entities/api-key.js' +import type { MakeRequest, PaginationQueryOptions, QueryOptions } from './common-types' +import { wrapApiKey, wrapApiKeyCollection, type CreateApiKeyProps } from './entities/api-key' import { wrapEnvironment, wrapEnvironmentCollection, type CreateEnvironmentProps, -} from './entities/environment.js' +} from './entities/environment' import { wrapEnvironmentAlias, wrapEnvironmentAliasCollection, type CreateEnvironmentAliasProps, -} from './entities/environment-alias.js' +} from './entities/environment-alias' import { wrapRole, wrapRoleCollection, type CreateRoleProps, type RoleProps, -} from './entities/role.js' +} from './entities/role' import { wrapScheduledAction, wrapScheduledActionCollection, type ScheduledActionProps, type ScheduledActionQueryOptions, -} from './entities/scheduled-action.js' -import { wrapSpace, type SpaceProps } from './entities/space.js' +} from './entities/scheduled-action' +import { wrapSpace, type SpaceProps } from './entities/space' import { wrapSpaceMembership, wrapSpaceMembershipCollection, type CreateSpaceMembershipProps, -} from './entities/space-membership.js' +} from './entities/space-membership' import { wrapTeamSpaceMembership, wrapTeamSpaceMembershipCollection, type CreateTeamSpaceMembershipProps, -} from './entities/team-space-membership.js' +} from './entities/team-space-membership' import { wrapWebhook, wrapWebhookCollection, type CreateWebhooksProps, type UpsertWebhookSigningSecretPayload, type WebhookRetryPolicyPayload, -} from './entities/webhook.js' +} from './entities/webhook' 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' +} from './entities/ai-action' +import { wrapPreviewApiKeyCollection, wrapPreviewApiKey } from './entities/preview-api-key' +import { wrapSpaceMember, wrapSpaceMemberCollection } from './entities/space-member' +import { wrapTeamCollection } from './entities/team' +import { wrapUser, wrapUserCollection } from './entities/user' /** * @private diff --git a/lib/create-ui-config-api.ts b/lib/create-ui-config-api.ts index 71fdbd0417..50b136af7e 100644 --- a/lib/create-ui-config-api.ts +++ b/lib/create-ui-config-api.ts @@ -1,5 +1,5 @@ -import type { MakeRequest } from './common-types.js' -import { wrapUIConfig, type UIConfig } from './entities/ui-config.js' +import type { MakeRequest } from './common-types' +import { wrapUIConfig, type UIConfig } from './entities/ui-config' /** * @private diff --git a/lib/create-user-ui-config-api.ts b/lib/create-user-ui-config-api.ts index 45dda0168f..d37dd5537c 100644 --- a/lib/create-user-ui-config-api.ts +++ b/lib/create-user-ui-config-api.ts @@ -1,5 +1,5 @@ -import type { MakeRequest } from './common-types.js' -import { wrapUserUIConfig, type UserUIConfig } from './entities/user-ui-config.js' +import type { MakeRequest } from './common-types' +import { wrapUserUIConfig, type UserUIConfig } from './entities/user-ui-config' /** * @private diff --git a/lib/entities/access-token.ts b/lib/entities/access-token.ts index a2d2f9ab0e..17d009f359 100644 --- a/lib/entities/access-token.ts +++ b/lib/entities/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.js' -import { wrapCollection } from '../common-utils.js' -import type { DefaultElements, MakeRequest, BasicMetaSysProps, Link } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' +import type { DefaultElements, MakeRequest, BasicMetaSysProps, Link } from '../common-types' type Application = { id?: string diff --git a/lib/entities/ai-action-invocation.ts b/lib/entities/ai-action-invocation.ts index 28ceffaeca..913ae08a8c 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, Link, MakeRequest } from '../common-types.js' -import { wrapCollection } from '../common-utils.js' +import type { DefaultElements, Link, MakeRequest } from '../common-types' +import { wrapCollection } from '../common-utils' import type { Document as RichTextDocument } from '@contentful/rich-text-types' export type InvocationStatus = 'SCHEDULED' | 'IN_PROGRESS' | 'FAILED' | 'COMPLETED' | 'CANCELLED' diff --git a/lib/entities/ai-action.ts b/lib/entities/ai-action.ts index e3280b7bbe..c2cd85c173 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.js' -import { wrapCollection } from '../common-utils.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types' +import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods' import { wrapAiActionInvocation, type AiActionInvocationType, type AiActionInvocation, -} from './ai-action-invocation.js' +} from './ai-action-invocation' export type VariableType = | 'ResourceLink' diff --git a/lib/entities/api-key.ts b/lib/entities/api-key.ts index 9adb460ab4..7544e9d602 100644 --- a/lib/entities/api-key.ts +++ b/lib/entities/api-key.ts @@ -1,8 +1,8 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types.js' -import { wrapCollection } from '../common-utils.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types' +import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods' export type ApiKeyProps = { sys: MetaSysProps diff --git a/lib/entities/app-access-token.ts b/lib/entities/app-access-token.ts index 2b9b4a8c72..03cb768662 100644 --- a/lib/entities/app-access-token.ts +++ b/lib/entities/app-access-token.ts @@ -1,7 +1,7 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' type AppAccessTokenSys = Except & { space: Link<'Space'> diff --git a/lib/entities/app-action-call.ts b/lib/entities/app-action-call.ts index 219f83558d..f81b41e123 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.js' -import type { WebhookCallDetailsProps } from './webhook.js' -import enhanceWithMethods from '../enhance-with-methods.js' +} from '../common-types' +import type { WebhookCallDetailsProps } from './webhook' +import enhanceWithMethods from '../enhance-with-methods' type AppActionCallSys = Except & { appDefinition: SysLink diff --git a/lib/entities/app-action.ts b/lib/entities/app-action.ts index 186fe1d139..b4faa67777 100644 --- a/lib/entities/app-action.ts +++ b/lib/entities/app-action.ts @@ -1,10 +1,10 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' import type { Except } from 'type-fest' -import { wrapCollection } from '../common-utils.js' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' -import type { ParameterDefinition } from './widget-parameters.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' +import type { ParameterDefinition } from './widget-parameters' +import enhanceWithMethods from '../enhance-with-methods' type AppActionSys = Except & { appDefinition: Link<'AppDefinition'> diff --git a/lib/entities/app-bundle.ts b/lib/entities/app-bundle.ts index e0688e8f3e..e65fe91e74 100644 --- a/lib/entities/app-bundle.ts +++ b/lib/entities/app-bundle.ts @@ -1,9 +1,9 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' import type { Except } from 'type-fest' -import { wrapCollection } from '../common-utils.js' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods' type AppBundleSys = Except & { appDefinition: Link<'AppDefinition'> diff --git a/lib/entities/app-definition.ts b/lib/entities/app-definition.ts index 666e5401a6..0e7e682b05 100644 --- a/lib/entities/app-definition.ts +++ b/lib/entities/app-definition.ts @@ -1,15 +1,15 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -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 { DefaultElements, BasicMetaSysProps, 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 { SetOptional, Except } from 'type-fest' -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' +import type { FieldType } from './field-type' +import type { InstallationParameterType, ParameterDefinition } from './widget-parameters' +import type { AppInstallationProps } from './app-installation' +import type { EnvironmentProps } from './environment' export interface NavigationItem { name: string diff --git a/lib/entities/app-details.ts b/lib/entities/app-details.ts index f2e74a46ce..d580e6cee1 100644 --- a/lib/entities/app-details.ts +++ b/lib/entities/app-details.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods' type AppDetailsSys = Except & { appDefinition: Link<'AppDefinition'> diff --git a/lib/entities/app-event-subscription.ts b/lib/entities/app-event-subscription.ts index b991992f4f..47efb7a3e7 100644 --- a/lib/entities/app-event-subscription.ts +++ b/lib/entities/app-event-subscription.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods' type AppEventSubscriptionSys = Except & { appDefinition: Link<'AppDefinition'> diff --git a/lib/entities/app-installation.ts b/lib/entities/app-installation.ts index f1dab51d5d..a561dc2c4c 100644 --- a/lib/entities/app-installation.ts +++ b/lib/entities/app-installation.ts @@ -1,10 +1,10 @@ import { toPlainObject, freezeSys } from 'contentful-sdk-core' import copy from 'fast-copy' -import enhanceWithMethods from '../enhance-with-methods.js' -import { wrapCollection } from '../common-utils.js' -import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' +import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types' import type { Except } from 'type-fest' -import type { FreeFormParameters } from './widget-parameters.js' +import type { FreeFormParameters } from './widget-parameters' export type AppInstallationProps = { sys: Omit & { diff --git a/lib/entities/app-key.ts b/lib/entities/app-key.ts index 27746eef91..cd89e83558 100644 --- a/lib/entities/app-key.ts +++ b/lib/entities/app-key.ts @@ -1,9 +1,9 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' -import enhanceWithMethods from '../enhance-with-methods.js' -import { wrapCollection } from '../common-utils.js' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' type AppKeySys = Except & { appDefinition: Link<'AppDefinition'> diff --git a/lib/entities/app-signed-request.ts b/lib/entities/app-signed-request.ts index 509788cf10..f3358a1d96 100644 --- a/lib/entities/app-signed-request.ts +++ b/lib/entities/app-signed-request.ts @@ -1,7 +1,7 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' type AppSignedRequestSys = Except & { appDefinition: Link<'AppDefinition'> diff --git a/lib/entities/app-signing-secret.ts b/lib/entities/app-signing-secret.ts index 77901c79cd..1a9fa431f3 100644 --- a/lib/entities/app-signing-secret.ts +++ b/lib/entities/app-signing-secret.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { toPlainObject } from 'contentful-sdk-core' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods' type AppSigningSecretSys = Except & { appDefinition: Link<'AppDefinition'> diff --git a/lib/entities/app-upload.ts b/lib/entities/app-upload.ts index ed6d175b63..3c242202bd 100644 --- a/lib/entities/app-upload.ts +++ b/lib/entities/app-upload.ts @@ -1,9 +1,9 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' import type { Except } from 'type-fest' -import type { BasicMetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types.js' -import { wrapCollection } from '../common-utils.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import type { BasicMetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types' +import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods' type AppUploadSys = Except diff --git a/lib/entities/asset-key.ts b/lib/entities/asset-key.ts index 4a39bd6a3c..b3e1df6e55 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.js' +import type { DefaultElements, MakeRequest } from '../common-types' 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 3add15c855..2c71cd83d9 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.js' +import enhanceWithMethods from '../enhance-with-methods' import type { MetaSysProps, DefaultElements, EntityMetaSysProps, MetadataProps, MakeRequest, -} from '../common-types.js' -import { wrapCollection } from '../common-utils.js' -import * as checks from '../plain/checks.js' +} from '../common-types' +import { wrapCollection } from '../common-utils' +import * as checks from '../plain/checks' export type AssetProps = { sys: EntityMetaSysProps & S diff --git a/lib/entities/bulk-action.ts b/lib/entities/bulk-action.ts index e71ca58544..1fe8f0b69e 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.js' -import enhanceWithMethods from '../enhance-with-methods.js' -import type { AsyncActionProcessingOptions } from '../methods/action.js' -import { pollAsyncActionStatus } from '../methods/action.js' +} from '../common-types' +import enhanceWithMethods from '../enhance-with-methods' +import type { AsyncActionProcessingOptions } from '../methods/action' +import { pollAsyncActionStatus } from '../methods/action' /** Entity types supported by the BulkAction API */ type Entity = 'Entry' | 'Asset' diff --git a/lib/entities/comment.ts b/lib/entities/comment.ts index f4e351868f..ff774e8d0c 100644 --- a/lib/entities/comment.ts +++ b/lib/entities/comment.ts @@ -10,9 +10,9 @@ import type { Link, MakeRequest, VersionedLink, -} from '../common-types.js' -import { wrapCollection } from '../common-utils.js' -import enhanceWithMethods from '../enhance-with-methods.js' +} from '../common-types' +import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods' // PROPS // diff --git a/lib/entities/concept-scheme.ts b/lib/entities/concept-scheme.ts index a747e6a202..c2a8cdea5d 100644 --- a/lib/entities/concept-scheme.ts +++ b/lib/entities/concept-scheme.ts @@ -1,6 +1,6 @@ -import type { Link } from '../common-types.js' -import type { TaxonomyConceptLink } from './concept.js' -import type { LocalizedEntity } from './utils.js' +import type { Link } from '../common-types' +import type { TaxonomyConceptLink } from './concept' +import type { LocalizedEntity } from './utils' export type ConceptScheme = { uri: string | null diff --git a/lib/entities/concept.ts b/lib/entities/concept.ts index d412b76fb7..093e41da1b 100644 --- a/lib/entities/concept.ts +++ b/lib/entities/concept.ts @@ -1,5 +1,5 @@ -import type { Link } from '../common-types.js' -import type { LocalizedEntity } from './utils.js' +import type { Link } from '../common-types' +import type { LocalizedEntity } from './utils' export type TaxonomyConceptLink = Link<'TaxonomyConcept'> diff --git a/lib/entities/content-type-fields.ts b/lib/entities/content-type-fields.ts index 1084b313c3..c4c05fae79 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.js' +import type { KeyValueMap } from '../common-types' 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 54725e80c9..e1b2745fc9 100644 --- a/lib/entities/content-type.ts +++ b/lib/entities/content-type.ts @@ -8,16 +8,16 @@ import type { Link, MakeRequest, QueryOptions, -} 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' +} 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' type TaxonomyConceptValidationLink = Link<'TaxonomyConcept'> & { required?: boolean } type TaxonomyConceptSchemeValidationLink = Link<'TaxonomyConceptScheme'> & { required?: boolean } diff --git a/lib/entities/editor-interface.ts b/lib/entities/editor-interface.ts index 0644160658..a7da304705 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.js' -import type { MetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types.js' -import { wrapCollection } from '../common-utils.js' -import type { DefinedParameters } from './widget-parameters.js' +import enhanceWithMethods from '../enhance-with-methods' +import type { MetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types' +import { wrapCollection } from '../common-utils' +import type { DefinedParameters } from './widget-parameters' interface WidgetConfig { /** diff --git a/lib/entities/entry.ts b/lib/entities/entry.ts index 4425799d63..75bbc03bbb 100644 --- a/lib/entities/entry.ts +++ b/lib/entities/entry.ts @@ -8,12 +8,12 @@ import type { Link, MakeRequest, MetadataProps, -} 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' +} 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' export interface EntryMetaSysProps extends EntityMetaSysProps { contentType: Link<'ContentType'> diff --git a/lib/entities/environment-alias.ts b/lib/entities/environment-alias.ts index 2bd8c83923..49fa120c30 100644 --- a/lib/entities/environment-alias.ts +++ b/lib/entities/environment-alias.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods.js' -import { wrapCollection } from '../common-utils.js' -import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' +import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types' export type EnvironmentAliasProps = { /** diff --git a/lib/entities/environment-template-installation.ts b/lib/entities/environment-template-installation.ts index 1ff51d6c26..b7ad4e0acc 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.js' -import { wrapCursorPaginatedCollection } from '../common-utils.js' +} from '../common-types' +import { wrapCursorPaginatedCollection } from '../common-utils' type JsonObject = { [Key in string]?: JsonValue } type JsonArray = Array diff --git a/lib/entities/environment-template.ts b/lib/entities/environment-template.ts index 128a208b85..e22c283cb4 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.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' +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' export type Hint = { operation: 'renameFieldId' diff --git a/lib/entities/environment.ts b/lib/entities/environment.ts index 461ae84306..c27cf1ce2d 100644 --- a/lib/entities/environment.ts +++ b/lib/entities/environment.ts @@ -1,10 +1,10 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -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' +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, BasicMetaSysProps, MakeRequest, Link } from '../common-types' type EnvironmentMetaSys = BasicMetaSysProps & { status: Link<'Status'> diff --git a/lib/entities/extension.ts b/lib/entities/extension.ts index 89233c80e3..a303686d50 100644 --- a/lib/entities/extension.ts +++ b/lib/entities/extension.ts @@ -1,14 +1,14 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods.js' -import type { FieldType } from './field-type.js' +import enhanceWithMethods from '../enhance-with-methods' +import type { FieldType } from './field-type' import type { DefinedParameters, InstallationParameterType, ParameterDefinition, -} from './widget-parameters.js' -import { wrapCollection } from '../common-utils.js' -import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types.js' +} from './widget-parameters' +import { wrapCollection } from '../common-utils' +import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types' import type { SetRequired, RequireExactlyOne } from 'type-fest' type ExtensionSysProps = BasicMetaSysProps & { diff --git a/lib/entities/function-log.ts b/lib/entities/function-log.ts index bfa87d11ad..f1fd32dd75 100644 --- a/lib/entities/function-log.ts +++ b/lib/entities/function-log.ts @@ -1,9 +1,9 @@ -import type { Link, DefaultElements } from '../common-types.js' +import type { Link, DefaultElements } from '../common-types' import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import { wrapCollection } from '../common-utils.js' -import type { MakeRequest } from '../common-types.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils' +import type { MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods' export type FunctionLogProps = { sys: { diff --git a/lib/entities/function.ts b/lib/entities/function.ts index 3d7f48c040..1d33112e7c 100644 --- a/lib/entities/function.ts +++ b/lib/entities/function.ts @@ -1,9 +1,9 @@ -import type { Link, DefaultElements } from '../common-types.js' +import type { Link, DefaultElements } from '../common-types' import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import { wrapCollection } from '../common-utils.js' -import type { MakeRequest } from '../common-types.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import { wrapCollection } from '../common-utils' +import type { MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods' export type FunctionProps = { sys: { diff --git a/lib/entities/locale.ts b/lib/entities/locale.ts index d3ce1e07db..a72dda4b7b 100644 --- a/lib/entities/locale.ts +++ b/lib/entities/locale.ts @@ -1,9 +1,9 @@ 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.js' -import { wrapCollection } from '../common-utils.js' -import type { BasicMetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' +import type { BasicMetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types' export type LocaleProps = { sys: BasicMetaSysProps & { diff --git a/lib/entities/oauth-application.ts b/lib/entities/oauth-application.ts index 203ce7e08e..9f75d5fcb9 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.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import type { BasicMetaSysProps, DefaultElements, MakeRequest } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods' import copy from 'fast-copy' -import { wrapCursorPaginatedCollection } from '../common-utils.js' +import { wrapCursorPaginatedCollection } from '../common-utils' type OAuthApplicationSysProps = BasicMetaSysProps & { lastUsedAt: string | null diff --git a/lib/entities/organization-invitation.ts b/lib/entities/organization-invitation.ts index 3fad347d59..32d3c1e2ca 100644 --- a/lib/entities/organization-invitation.ts +++ b/lib/entities/organization-invitation.ts @@ -1,6 +1,6 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types.js' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types' export type OrganizationInvitationProps = { sys: MetaSysProps & { diff --git a/lib/entities/organization-membership.ts b/lib/entities/organization-membership.ts index b72e4b22bf..e04548c30d 100644 --- a/lib/entities/organization-membership.ts +++ b/lib/entities/organization-membership.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods.js' -import { wrapCollection } from '../common-utils.js' -import type { MetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' +import type { MetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types' export type OrganizationMembershipProps = { /** diff --git a/lib/entities/organization.ts b/lib/entities/organization.ts index 917167c2f4..4610d7d715 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.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' +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' export type Organization = DefaultElements & OrganizationProps & diff --git a/lib/entities/personal-access-token.ts b/lib/entities/personal-access-token.ts index 0c674e28d5..77aba58444 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.js' -import { wrapCollection } from '../common-utils.js' -import type { MetaSysProps, DefaultElements, MakeRequest } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' +import type { MetaSysProps, DefaultElements, MakeRequest } from '../common-types' export type PersonalAccessTokenProps = { sys: MetaSysProps & { expiresAt?: string } diff --git a/lib/entities/preview-api-key.ts b/lib/entities/preview-api-key.ts index 3e2b6fb198..a419d82624 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.js' -import { wrapCollection } from '../common-utils.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import type { DefaultElements, MakeRequest, MetaSysProps } from '../common-types' +import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods' export type PreviewApiKeyProps = { sys: MetaSysProps diff --git a/lib/entities/release-action.ts b/lib/entities/release-action.ts index 3c5522692c..45f8936f04 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.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' +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' 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 18670b168c..161812dbd3 100644 --- a/lib/entities/release.ts +++ b/lib/entities/release.ts @@ -10,13 +10,13 @@ import type { Link, MakeRequest, MakeRequestPayload, -} 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' +} 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' /** 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 80a891131a..fd1b99b6fa 100644 --- a/lib/entities/resource-provider.ts +++ b/lib/entities/resource-provider.ts @@ -4,15 +4,15 @@ import type { DefaultElements, Link, MakeRequest, -} from '../common-types.js' +} from '../common-types' import { toPlainObject, freezeSys } from 'contentful-sdk-core' import copy from 'fast-copy' -import enhanceWithMethods from '../enhance-with-methods.js' +import enhanceWithMethods from '../enhance-with-methods' import { wrapResourceType, type ResourceType, type UpsertResourceTypeProps, -} from './resource-type.js' +} from './resource-type' export type ResourceProviderProps = { /** diff --git a/lib/entities/resource-type.ts b/lib/entities/resource-type.ts index 55f653ae00..f51ca66aea 100644 --- a/lib/entities/resource-type.ts +++ b/lib/entities/resource-type.ts @@ -5,11 +5,11 @@ import type { GetResourceTypeParams, Link, MakeRequest, -} from '../common-types.js' +} from '../common-types' import { toPlainObject, freezeSys } from 'contentful-sdk-core' import copy from 'fast-copy' -import enhanceWithMethods from '../enhance-with-methods.js' -import { wrapCursorPaginatedCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCursorPaginatedCollection } from '../common-utils' export type ResourceTypeProps = { /** diff --git a/lib/entities/resource.ts b/lib/entities/resource.ts index 20a9206261..8597af70d7 100644 --- a/lib/entities/resource.ts +++ b/lib/entities/resource.ts @@ -3,8 +3,8 @@ import type { CursorPaginatedCollectionProp, Link, MakeRequest, -} from '../common-types.js' -import { wrapCursorPaginatedCollection } from '../common-utils.js' +} from '../common-types' +import { wrapCursorPaginatedCollection } from '../common-utils' import { freezeSys, toPlainObject } from 'contentful-sdk-core' export type ResourceQueryOptions = LookupQueryOptions | SearchQueryOptions diff --git a/lib/entities/role.ts b/lib/entities/role.ts index d0e0496ed9..1fb471866c 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.js' -import { wrapCollection } from '../common-utils.js' -import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' +import type { DefaultElements, BasicMetaSysProps, MakeRequest, Link } from '../common-types' export type ActionType = | 'read' diff --git a/lib/entities/scheduled-action.ts b/lib/entities/scheduled-action.ts index 3bd64295a3..c38f9c3cfc 100644 --- a/lib/entities/scheduled-action.ts +++ b/lib/entities/scheduled-action.ts @@ -8,9 +8,9 @@ import type { ScheduledActionReferenceFilters, BasicCursorPaginationOptions, CollectionProp, -} from '../common-types.js' -import { wrapCollection } from '../common-utils.js' -import enhanceWithMethods from '../enhance-with-methods.js' +} from '../common-types' +import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods' /** * Represents that state of the scheduled action diff --git a/lib/entities/snapshot.ts b/lib/entities/snapshot.ts index 4c7c488a8a..8dc13b1f91 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.js' -import { wrapCollection } from '../common-utils.js' -import type { MetaSysProps, DefaultElements, MakeRequest } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' +import type { MetaSysProps, DefaultElements, MakeRequest } from '../common-types' export type SnapshotProps = { sys: MetaSysProps & { diff --git a/lib/entities/space-member.ts b/lib/entities/space-member.ts index 862af5e662..a8545efad8 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, Link, MakeRequest, MetaSysProps } from '../common-types.js' -import { wrapCollection } from '../common-utils.js' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types' +import { wrapCollection } from '../common-utils' export type SpaceMemberProps = { sys: MetaSysProps diff --git a/lib/entities/space-membership.ts b/lib/entities/space-membership.ts index 011b1775f5..b677f9484a 100644 --- a/lib/entities/space-membership.ts +++ b/lib/entities/space-membership.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods.js' -import { wrapCollection } from '../common-utils.js' -import type { MetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' +import type { MetaSysProps, DefaultElements, MakeRequest, Link } from '../common-types' export type SpaceMembershipProps = { sys: MetaSysProps & { space: Link<'Space'>; user: Link<'User'> } diff --git a/lib/entities/space.ts b/lib/entities/space.ts index 55c11be64d..2114178453 100644 --- a/lib/entities/space.ts +++ b/lib/entities/space.ts @@ -1,10 +1,10 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -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' +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' export type SpaceProps = { sys: BasicMetaSysProps & { diff --git a/lib/entities/tag.ts b/lib/entities/tag.ts index 94e7f4881d..4b6afe9d0d 100644 --- a/lib/entities/tag.ts +++ b/lib/entities/tag.ts @@ -6,9 +6,9 @@ import type { Link, MakeRequest, MetaSysProps, -} from '../common-types.js' -import { wrapCollection } from '../common-utils.js' -import enhanceWithMethods from '../enhance-with-methods.js' +} from '../common-types' +import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods' export type TagVisibility = 'private' | 'public' diff --git a/lib/entities/task.ts b/lib/entities/task.ts index fd31719922..3f25b966ec 100644 --- a/lib/entities/task.ts +++ b/lib/entities/task.ts @@ -7,9 +7,9 @@ import type { GetTaskParams, Link, MakeRequest, -} from '../common-types.js' -import { wrapCollection } from '../common-utils.js' -import enhanceWithMethods from '../enhance-with-methods.js' +} from '../common-types' +import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods' export type TaskStatus = 'active' | 'resolved' diff --git a/lib/entities/team-membership.ts b/lib/entities/team-membership.ts index 5ddd762787..aef9c4e018 100644 --- a/lib/entities/team-membership.ts +++ b/lib/entities/team-membership.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods.js' -import { wrapCollection } from '../common-utils.js' -import type { DefaultElements, MetaSysProps, MakeRequest, Link } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' +import type { DefaultElements, MetaSysProps, MakeRequest, Link } from '../common-types' export type TeamMembershipProps = { /** diff --git a/lib/entities/team-space-membership.ts b/lib/entities/team-space-membership.ts index 3831bb848c..79714f6708 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.js' -import { wrapCollection } from '../common-utils.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' import type { DefaultElements, Link, MakeRequest, MetaSysProps, QueryOptions, -} from '../common-types.js' +} from '../common-types' export interface Options { teamId?: string diff --git a/lib/entities/team.ts b/lib/entities/team.ts index bff3b92b1d..03d49b9967 100644 --- a/lib/entities/team.ts +++ b/lib/entities/team.ts @@ -1,8 +1,8 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods.js' -import { wrapCollection } from '../common-utils.js' -import type { DefaultElements, MetaSysProps, MakeRequest, Link } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' +import type { DefaultElements, MetaSysProps, MakeRequest, Link } from '../common-types' export type TeamProps = { /** diff --git a/lib/entities/ui-config.ts b/lib/entities/ui-config.ts index 0302f93d81..dda47cf70e 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, Link, MakeRequest } from '../common-types.js' -import createUIConfigApi from '../create-ui-config-api.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' +import createUIConfigApi from '../create-ui-config-api' +import enhanceWithMethods from '../enhance-with-methods' export type UIConfigProps = { /** diff --git a/lib/entities/upload-credential.ts b/lib/entities/upload-credential.ts index 7e91d06d16..adfb4ff41c 100644 --- a/lib/entities/upload-credential.ts +++ b/lib/entities/upload-credential.ts @@ -1,7 +1,7 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types' +import enhanceWithMethods from '../enhance-with-methods' export type UploadCredentialProps = { /** diff --git a/lib/entities/upload.ts b/lib/entities/upload.ts index 5959a8bf67..ef544b5f5b 100644 --- a/lib/entities/upload.ts +++ b/lib/entities/upload.ts @@ -1,7 +1,7 @@ import copy from 'fast-copy' import { freezeSys, toPlainObject } from 'contentful-sdk-core' -import enhanceWithMethods from '../enhance-with-methods.js' -import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods' +import type { DefaultElements, Link, MakeRequest, MetaSysProps } from '../common-types' export type UploadProps = { /** diff --git a/lib/entities/usage.ts b/lib/entities/usage.ts index 2923c0e7c8..4519423f74 100644 --- a/lib/entities/usage.ts +++ b/lib/entities/usage.ts @@ -1,8 +1,8 @@ import { freezeSys, toPlainObject } from 'contentful-sdk-core' import copy from 'fast-copy' -import type { DefaultElements, Link, MakeRequest, QueryOptions } from '../common-types.js' -import { wrapCollection } from '../common-utils.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import type { DefaultElements, Link, MakeRequest, QueryOptions } from '../common-types' +import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods' export type UsageMetricEnum = 'cda' | 'cma' | 'cpa' | 'gql' diff --git a/lib/entities/user-ui-config.ts b/lib/entities/user-ui-config.ts index 20c6a23ea7..e441cc8b43 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, Link, MakeRequest } from '../common-types.js' -import createUserUIConfigApi from '../create-user-ui-config-api.js' -import enhanceWithMethods from '../enhance-with-methods.js' +import type { BasicMetaSysProps, DefaultElements, Link, MakeRequest } from '../common-types' +import createUserUIConfigApi from '../create-user-ui-config-api' +import enhanceWithMethods from '../enhance-with-methods' export type UserUIConfigProps = { /** diff --git a/lib/entities/user.ts b/lib/entities/user.ts index b6dd230b2d..43d9f6d962 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.js' -import { wrapCollection } from '../common-utils.js' -import type { DefaultElements, BasicMetaSysProps, MakeRequest } from '../common-types.js' +import enhanceWithMethods from '../enhance-with-methods' +import { wrapCollection } from '../common-utils' +import type { DefaultElements, BasicMetaSysProps, MakeRequest } from '../common-types' export type UserProps = { /** diff --git a/lib/entities/webhook.ts b/lib/entities/webhook.ts index a5ae067ebd..73f15f5a1a 100644 --- a/lib/entities/webhook.ts +++ b/lib/entities/webhook.ts @@ -7,9 +7,9 @@ import type { DefaultElements, Link, MakeRequest, -} from '../common-types.js' -import { wrapCollection } from '../common-utils.js' -import enhanceWithMethods from '../enhance-with-methods.js' +} from '../common-types' +import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods' interface EqualityConstraint { equals: [Doc, string] diff --git a/lib/entities/workflow-definition.ts b/lib/entities/workflow-definition.ts index d797d4ff03..2a348dd3df 100644 --- a/lib/entities/workflow-definition.ts +++ b/lib/entities/workflow-definition.ts @@ -8,9 +8,9 @@ import type { Link, MakeRequest, PaginationQueryOptions, -} from '../common-types.js' -import { wrapCollection } from '../common-utils.js' -import enhanceWithMethods from '../enhance-with-methods.js' +} from '../common-types' +import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods' /* Workflow Step Permission */ type NonEmptyArray = [T, ...T[]] diff --git a/lib/entities/workflow.ts b/lib/entities/workflow.ts index 91ea0abfa6..18bd0747fb 100644 --- a/lib/entities/workflow.ts +++ b/lib/entities/workflow.ts @@ -8,9 +8,9 @@ import type { Link, MakeRequest, PaginationQueryOptions, -} from '../common-types.js' -import { wrapCollection } from '../common-utils.js' -import enhanceWithMethods from '../enhance-with-methods.js' +} from '../common-types' +import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods' export type WorkflowSysProps = Pick< BasicMetaSysProps, diff --git a/lib/entities/workflows-changelog-entry.ts b/lib/entities/workflows-changelog-entry.ts index 169ec31a93..b7083c42ee 100644 --- a/lib/entities/workflows-changelog-entry.ts +++ b/lib/entities/workflows-changelog-entry.ts @@ -6,9 +6,9 @@ import type { MakeRequest, PaginationQueryOptions, VersionedLink, -} from '../common-types.js' -import { wrapCollection } from '../common-utils.js' -import enhanceWithMethods from '../enhance-with-methods.js' +} from '../common-types' +import { wrapCollection } from '../common-utils' +import enhanceWithMethods from '../enhance-with-methods' export type WorkflowsChangelogQueryOptions = Omit & { /** Find workflows changelog entries filtered by the Entity type (Entry) */ diff --git a/lib/export-types.ts b/lib/export-types.ts index 8f7f7e9fba..36eec0e853 100644 --- a/lib/export-types.ts +++ b/lib/export-types.ts @@ -1,20 +1,20 @@ -export * from './common-types.js' +export * from './common-types' export type { AccessToken, AccessTokenProps as AccessTokenProp, CreatePersonalAccessTokenProps as CreatePATProps, -} from './entities/access-token.js' -export type { ApiKey, ApiKeyProps, CreateApiKeyProps } from './entities/api-key.js' +} from './entities/access-token' +export type { ApiKey, ApiKeyProps, CreateApiKeyProps } from './entities/api-key' export type { AppAccessToken, AppAccessTokenProps, CreateAppAccessTokenProps, -} from './entities/app-access-token.js' -export type { AiAction, AiActionProps, CreateAiActionProps } from './entities/ai-action.js' +} from './entities/app-access-token' +export type { AiAction, AiActionProps, CreateAiActionProps } from './entities/ai-action' export type { AiActionInvocation, AiActionInvocationProps, -} from './entities/ai-action-invocation.js' +} from './entities/ai-action-invocation' export type { AppAction, AppActionCategoryProps, @@ -23,7 +23,7 @@ export type { AppActionProps, AppActionType, CreateAppActionProps, -} from './entities/app-action.js' +} from './entities/app-action' export type { AppActionCall, AppActionCallProps, @@ -31,13 +31,13 @@ export type { AppActionCallRawResponseProps, AppActionCallStatus, CreateAppActionCallProps, -} from './entities/app-action-call.js' +} from './entities/app-action-call' export type { AppBundle, AppBundleFile, AppBundleProps, CreateAppBundleProps, -} from './entities/app-bundle.js' +} from './entities/app-bundle' export type { AppDefinition, AppDefinitionProps, @@ -47,38 +47,38 @@ export type { NavigationItem, PageLocation, SimpleLocation, -} from './entities/app-definition.js' +} from './entities/app-definition' export type { AppDetails, AppDetailsProps, AppIcon, CreateAppDetailsProps, IconType, -} from './entities/app-details.js' +} from './entities/app-details' export type { AppEventSubscription, AppEventSubscriptionProps, CreateAppEventSubscriptionProps, -} from './entities/app-event-subscription.js' +} from './entities/app-event-subscription' export type { AppInstallation, AppInstallationProps, CreateAppInstallationProps, -} from './entities/app-installation.js' -export type { AppKey, AppKeyProps, CreateAppKeyProps } from './entities/app-key.js' +} from './entities/app-installation' +export type { AppKey, AppKeyProps, CreateAppKeyProps } from './entities/app-key' export type { AppSignedRequest, AppSignedRequestProps, CreateAppSignedRequestProps, -} from './entities/app-signed-request.js' +} from './entities/app-signed-request' export type { AppSigningSecret, AppSigningSecretProps, CreateAppSigningSecretProps, -} 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' +} 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' export type { BulkAction, BulkActionPayload, @@ -92,7 +92,7 @@ export type { PublishBulkActionV2Payload, UnpublishBulkActionV2Payload, ValidateBulkActionV2Payload, -} from './entities/bulk-action.js' +} from './entities/bulk-action' export type { Comment, CommentProps, @@ -104,20 +104,20 @@ export type { RichTextCommentDocument, RichTextCommentProps, UpdateCommentProps, -} from './entities/comment.js' +} from './entities/comment' export type { AnnotationAssignment, ContentType, ContentTypeMetadata, ContentTypeProps, CreateContentTypeProps, -} from './entities/content-type.js' +} from './entities/content-type' export type { ContentFields, ContentTypeFieldValidation, ContentfulEntryResource, ExternalResource, -} from './entities/content-type-fields.js' +} from './entities/content-type-fields' export type { Control, Editor, @@ -128,7 +128,7 @@ export type { FieldItem, GroupControl, SidebarItem, -} from './entities/editor-interface.js' +} from './entities/editor-interface' export type { CreateEntryProps, Entry, @@ -136,17 +136,17 @@ export type { WithResourceName, EntryMetaSysProps, EntryReferenceProps, -} from './entities/entry.js' +} from './entities/entry' export type { CreateEnvironmentProps, Environment, EnvironmentProps, -} from './entities/environment.js' +} from './entities/environment' export type { CreateEnvironmentAliasProps, EnvironmentAlias, EnvironmentAliasProps, -} from './entities/environment-alias.js' +} from './entities/environment-alias' export type { ContentTypeTemplateProps, CreateEnvironmentTemplateProps, @@ -154,7 +154,7 @@ export type { EnvironmentTemplate, EnvironmentTemplateProps, Hint, -} from './entities/environment-template.js' +} from './entities/environment-template' export type { CreateEnvironmentTemplateInstallationProps, EnvironmentTemplateInstallation, @@ -163,37 +163,37 @@ export type { EnvironmentTemplateValidationProps, ValidateEnvironmentTemplateInstallationProps, ValidationFinding, -} from './entities/environment-template-installation.js' +} from './entities/environment-template-installation' export type { CreateExtensionProps as CreateUIExtensionProps, Extension as UIExtension, ExtensionProps as UIExtensionProps, -} 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' +} 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' export type { OAuthApplication, OAuthApplicationProps, CreateOAuthApplicationProps, -} from './entities/oauth-application.js' +} from './entities/oauth-application' export type { CreateOrganizationInvitationProps, OrganizationInvitation, OrganizationInvitationProps, -} from './entities/organization-invitation.js' +} from './entities/organization-invitation' export type { OrganizationMembership, OrganizationMembershipProps, -} from './entities/organization-membership.js' +} from './entities/organization-membership' export type { CreatePersonalAccessTokenProps, PersonalAccessToken, PersonalAccessTokenProp, PersonalAccessTokenProps, -} from './entities/personal-access-token.js' -export type { PreviewApiKey, PreviewApiKeyProps } from './entities/preview-api-key.js' +} from './entities/personal-access-token' +export type { PreviewApiKey, PreviewApiKeyProps } from './entities/preview-api-key' export type { Release, ReleaseMetadata, @@ -204,53 +204,53 @@ export type { ReleaseReferenceFilters, ReleaseSysProps, ReleaseValidateOptions, -} from './entities/release.js' +} from './entities/release' export type { ReleaseAction, ReleaseActionProps, ReleaseActionQueryOptions, ReleaseActionSysProps, ReleaseActionTypes, -} from './entities/release-action.js' +} from './entities/release-action' export type { CreateRoleProps, Role, RoleProps, ActionType, ConstraintType, -} from './entities/role.js' +} from './entities/role' export type { ScheduledAction, ScheduledActionProps, ScheduledActionSysProps, -} 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' +} 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' export type { CreateSpaceMembershipProps, SpaceMembership, SpaceMembershipProps, -} 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' +} from './entities/space-membership' +export type { CreateTagProps, Tag, TagProps, TagVisibility, TagSysProps } from './entities/tag' +export type { CreateTaskProps, Task, TaskProps, UpdateTaskProps } from './entities/task' +export type { CreateTeamProps, Team, TeamProps } from './entities/team' export type { CreateTeamMembershipProps, TeamMembership, TeamMembershipProps, -} from './entities/team-membership.js' +} from './entities/team-membership' export type { CreateTeamSpaceMembershipProps, TeamSpaceMembership, TeamSpaceMembershipProps, -} 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' +} 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' export type { CreateWebhooksProps, UpdateWebhookProps, @@ -264,7 +264,7 @@ export type { WebhookCallDetailsProps, WebhookCallOverviewProps, WebhookHealthProps, -} from './entities/webhook.js' +} from './entities/webhook' export type { CreateWorkflowDefinitionParams, CreateWorkflowDefinitionProps, @@ -291,29 +291,29 @@ export type { WorkflowStepPermissionActors, WorkflowStepProps, WorkflowStepTaskAction, -} from './entities/workflow-definition.js' -export * from './plain/common-types.js' +} from './entities/workflow-definition' +export * from './plain/common-types' export { WorkflowStepPermissionAction, WorkflowStepPermissionEffect, WorkflowStepPermissionType, -} from './entities/workflow-definition.js' +} from './entities/workflow-definition' -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 { ConceptProps, CreateConceptProps } from './entities/concept' +export type { ConceptSchemeProps, CreateConceptSchemeProps } from './entities/concept-scheme' +export type { ResourceProps, ResourceQueryOptions } from './entities/resource' export type { ResourceProvider, ResourceProviderProps, UpsertResourceProviderProps, -} from './entities/resource-provider.js' +} from './entities/resource-provider' export type { ResourceType, ResourceTypeProps, SpaceEnvResourceTypeProps, UpsertResourceTypeProps, -} from './entities/resource-type.js' +} from './entities/resource-type' export type { DefinedParameters, FreeFormParameters, @@ -321,7 +321,7 @@ export type { ParameterDefinition, ParameterOption, ParameterType, -} from './entities/widget-parameters.js' +} from './entities/widget-parameters' export type { CreateWorkflowProps, DeleteWorkflowParams, @@ -329,9 +329,9 @@ export type { Workflow, WorkflowProps, WorkflowQueryOptions, -} from './entities/workflow.js' +} from './entities/workflow' export type { WorkflowsChangelogEntry, WorkflowsChangelogEntryProps, WorkflowsChangelogQueryOptions, -} from './entities/workflows-changelog-entry.js' +} from './entities/workflows-changelog-entry' diff --git a/lib/index.ts b/lib/index.ts index 6dcaeb2337..ee06a999da 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -5,30 +5,30 @@ */ import { getUserAgentHeader } from 'contentful-sdk-core' -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' +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/index' +import { ScheduledActionStatus } from './entities/scheduled-action' -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 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 { createClient } -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 { RestAdapter } from './adapters/REST/rest-adapter' +export type { RestAdapterParams } from './adapters/REST/rest-adapter' +export { makeRequest } from './adapters/REST/make-request' export { editorInterfaceDefaults } export type PlainClientDefaultParams = DefaultParams -export * from './export-types.js' +export * from './export-types' export { ScheduledActionStatus } interface UserAgentParams { /** diff --git a/lib/methods/action.ts b/lib/methods/action.ts index b32320d7fe..5fd31bf478 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.js' +import { sleep } from './utils' 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 94028a8455..678c4c9d6c 100644 --- a/lib/methods/content-type.ts +++ b/lib/methods/content-type.ts @@ -1,5 +1,5 @@ -import type { GetContentTypeParams, MakeRequest } from '../common-types.js' -import type { ContentTypeProps } from '../entities/content-type.js' +import type { GetContentTypeParams, MakeRequest } from '../common-types' +import type { ContentTypeProps } from '../entities/content-type' type OmitOrDelete = 'omitted' | 'deleted' diff --git a/lib/methods/release-action.ts b/lib/methods/release-action.ts index 7c3b6c6119..738d12a406 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.js' -import type { PlainClientAPI } from '../plain/common-types.js' -import type { AsyncActionProcessingOptions } from './action.js' -import { pollAsyncActionStatus } from './action.js' +import type { ReleaseActionProps, ReleaseActionTypes } from '../entities/release-action' +import type { PlainClientAPI } from '../plain/common-types' +import type { AsyncActionProcessingOptions } from './action' +import { pollAsyncActionStatus } from './action' 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 35c21b40f2..7d37b86781 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.js' +import type { CollectionProp, QueryParams } from '../common-types' 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 1bee748413..1611578618 100644 --- a/lib/plain/checks.ts +++ b/lib/plain/checks.ts @@ -1,4 +1,4 @@ -import type { MetaSysProps } from '../common-types.js' +import type { MetaSysProps } from '../common-types' export const isPublished = (data: { sys: MetaSysProps }) => !!data.sys.publishedVersion diff --git a/lib/plain/common-types.ts b/lib/plain/common-types.ts index 9c22448768..fd6177800b 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.js' +} from '../common-types' import type { AccessTokenProps, CreatePersonalAccessTokenProps as CreatePATProps, -} from '../entities/access-token.js' -import type { ApiKeyProps, CreateApiKeyProps } from '../entities/api-key.js' +} from '../entities/access-token' +import type { ApiKeyProps, CreateApiKeyProps } from '../entities/api-key' import type { AssetFileProp, AssetProcessingForLocale, AssetProps, CreateAssetProps, -} from '../entities/asset.js' -import type { AssetKeyProps, CreateAssetKeyProps } from '../entities/asset-key.js' +} from '../entities/asset' +import type { AssetKeyProps, CreateAssetKeyProps } from '../entities/asset-key' import type { BulkActionPayload, BulkActionProps, @@ -54,91 +54,91 @@ import type { PublishBulkActionV2Payload, UnpublishBulkActionV2Payload, ValidateBulkActionV2Payload, -} from '../entities/bulk-action.js' -import type { ContentTypeProps, CreateContentTypeProps } from '../entities/content-type.js' -import type { CreateEntryProps, EntryProps, EntryReferenceProps } from '../entities/entry.js' +} from '../entities/bulk-action' +import type { ContentTypeProps, CreateContentTypeProps } from '../entities/content-type' +import type { CreateEntryProps, EntryProps, EntryReferenceProps } from '../entities/entry' import type { CreateEnvironmentTemplateProps, EnvironmentTemplateProps, -} from '../entities/environment-template.js' +} from '../entities/environment-template' import type { CreateEnvironmentTemplateInstallationProps, EnvironmentTemplateInstallationProps, EnvironmentTemplateValidationProps, ValidateEnvironmentTemplateInstallationProps, -} from '../entities/environment-template-installation.js' +} from '../entities/environment-template-installation' import type { CreateOrganizationInvitationProps, OrganizationInvitationProps, -} from '../entities/organization-invitation.js' -import type { OrganizationMembershipProps } from '../entities/organization-membership.js' +} from '../entities/organization-invitation' +import type { OrganizationMembershipProps } from '../entities/organization-membership' import type { CreatePersonalAccessTokenProps, PersonalAccessTokenProps, -} from '../entities/personal-access-token.js' -import type { PreviewApiKeyProps } from '../entities/preview-api-key.js' +} from '../entities/personal-access-token' +import type { PreviewApiKeyProps } from '../entities/preview-api-key' import type { ReleasePayload, ReleasePayloadV2, ReleaseProps, ReleaseQueryOptions, ReleaseValidatePayload, -} from '../entities/release.js' -import type { ReleaseActionProps, ReleaseActionQueryOptions } from '../entities/release-action.js' +} from '../entities/release' +import type { ReleaseActionProps, ReleaseActionQueryOptions } from '../entities/release-action' import type { CreateUpdateScheduledActionProps, ScheduledActionProps, -} 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' +} 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' export type PlainClientAPI = { version: string diff --git a/lib/plain/entities/ai-action-invocation.ts b/lib/plain/entities/ai-action-invocation.ts index e8b841ae5b..afb3ffff8a 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.js' -import type { AiActionInvocationProps } from '../../entities/ai-action-invocation.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { GetSpaceEnvironmentParams } from '../../common-types' +import type { AiActionInvocationProps } from '../../entities/ai-action-invocation' +import type { OptionalDefaults } from '../wrappers/wrap' 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 4c3b804c35..74aface701 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.js' -import type { AiActionProps, CreateAiActionProps } from '../../entities/ai-action.js' +} from '../../common-types' +import type { AiActionProps, CreateAiActionProps } from '../../entities/ai-action' import type { AiActionInvocationProps, AiActionInvocationType, -} from '../../entities/ai-action-invocation.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/ai-action-invocation' +import type { OptionalDefaults } from '../wrappers/wrap' 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 ceb0bb4b0d..c2c4227632 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.js' +import type { GetAppInstallationParams } from '../../common-types' import type { AppAccessTokenProps, CreateAppAccessTokenProps, -} from '../../entities/app-access-token.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/app-access-token' +import type { OptionalDefaults } from '../wrappers/wrap' export type AppAccessTokenPlainClientAPI = { /** diff --git a/lib/plain/entities/app-action-call.ts b/lib/plain/entities/app-action-call.ts index 5358584dd8..b14dc2ad72 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.js' +} from '../../common-types' import type { AppActionCallProps, AppActionCallResponse, AppActionCallRawResponseProps, CreateAppActionCallProps, -} from '../../entities/app-action-call.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/app-action-call' +import type { OptionalDefaults } from '../wrappers/wrap' export type AppActionCallPlainClientAPI = { /** diff --git a/lib/plain/entities/app-action.ts b/lib/plain/entities/app-action.ts index 1ba29f3ece..1cc4a19fed 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.js' -import type { AppActionProps, CreateAppActionProps } from '../../entities/app-action.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { AppActionProps, CreateAppActionProps } from '../../entities/app-action' +import type { OptionalDefaults } from '../wrappers/wrap' export type AppActionPlainClientAPI = { /** diff --git a/lib/plain/entities/app-bundle.ts b/lib/plain/entities/app-bundle.ts index 119785cdaf..d39f4ac77b 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.js' -import type { AppBundleProps, CreateAppBundleProps } from '../../entities/app-bundle.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { AppBundleProps, CreateAppBundleProps } from '../../entities/app-bundle' +import type { OptionalDefaults } from '../wrappers/wrap' export type AppBundlePlainClientAPI = { /** diff --git a/lib/plain/entities/app-definition.ts b/lib/plain/entities/app-definition.ts index 8da8646325..60fa74aaab 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.js' +} from '../../common-types' import type { AppDefinitionProps, AppInstallationsForOrganizationProps, CreateAppDefinitionProps, -} from '../../entities/app-definition.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/app-definition' +import type { OptionalDefaults } from '../wrappers/wrap' export type AppDefinitionPlainClientAPI = { /** diff --git a/lib/plain/entities/app-details.ts b/lib/plain/entities/app-details.ts index f1f778b411..f78ab420ab 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.js' -import type { AppDetailsProps, CreateAppDetailsProps } from '../../entities/app-details.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { GetAppDefinitionParams } from '../../common-types' +import type { AppDetailsProps, CreateAppDetailsProps } from '../../entities/app-details' +import type { OptionalDefaults } from '../wrappers/wrap' export type AppDetailsPlainClientAPI = { /** diff --git a/lib/plain/entities/app-event-subscription.ts b/lib/plain/entities/app-event-subscription.ts index 5d513e895b..3cda0b9de9 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.js' +import type { GetAppDefinitionParams } from '../../common-types' import type { AppEventSubscriptionProps, CreateAppEventSubscriptionProps, -} from '../../entities/app-event-subscription.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/app-event-subscription' +import type { OptionalDefaults } from '../wrappers/wrap' export type AppEventSubscriptionPlainClientAPI = { /** diff --git a/lib/plain/entities/app-installation.ts b/lib/plain/entities/app-installation.ts index daa5c2811d..5d0c6041d3 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.js' -import type { AppInstallationsForOrganizationProps } from '../../entities/app-definition.js' +} from '../../common-types' +import type { AppInstallationsForOrganizationProps } from '../../entities/app-definition' import type { AppInstallationProps, CreateAppInstallationProps, -} from '../../entities/app-installation.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/app-installation' +import type { OptionalDefaults } from '../wrappers/wrap' export type AppInstallationPlainClientAPI = { /** diff --git a/lib/plain/entities/app-key.ts b/lib/plain/entities/app-key.ts index 1125234975..030f907382 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.js' -import type { AppKeyProps, CreateAppKeyProps } from '../../entities/app-key.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { CollectionProp, GetAppDefinitionParams, QueryParams } from '../../common-types' +import type { AppKeyProps, CreateAppKeyProps } from '../../entities/app-key' +import type { OptionalDefaults } from '../wrappers/wrap' export type AppKeyPlainClientAPI = { /** diff --git a/lib/plain/entities/app-signed-request.ts b/lib/plain/entities/app-signed-request.ts index 19ad7f7e64..953b50d1e7 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.js' +import type { GetAppInstallationParams } from '../../common-types' import type { AppSignedRequestProps, CreateAppSignedRequestProps, -} from '../../entities/app-signed-request.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/app-signed-request' +import type { OptionalDefaults } from '../wrappers/wrap' export type AppSignedRequestPlainClientAPI = { /** diff --git a/lib/plain/entities/app-signing-secret.ts b/lib/plain/entities/app-signing-secret.ts index 33be3318b7..dc65a0c70b 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.js' +import type { GetAppDefinitionParams } from '../../common-types' import type { AppSigningSecretProps, CreateAppSigningSecretProps, -} from '../../entities/app-signing-secret.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/app-signing-secret' +import type { OptionalDefaults } from '../wrappers/wrap' export type AppSigningSecretPlainClientAPI = { /** diff --git a/lib/plain/entities/app-upload.ts b/lib/plain/entities/app-upload.ts index 38c36e2760..5a529c7fa8 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.js' -import type { AppUploadProps } from '../../entities/app-upload.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { GetAppUploadParams, GetOrganizationParams } from '../../common-types' +import type { AppUploadProps } from '../../entities/app-upload' +import type { OptionalDefaults } from '../wrappers/wrap' export type AppUploadPlainClientAPI = { /** diff --git a/lib/plain/entities/comment.ts b/lib/plain/entities/comment.ts index 97db427c81..493bcc144b 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.js' +import type { CollectionProp, GetCommentParams, QueryParams } from '../../common-types' import type { CommentProps, CreateCommentParams, @@ -12,8 +12,8 @@ import type { RichTextCommentProps, UpdateCommentParams, UpdateCommentProps, -} from '../../entities/comment.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/comment' +import type { OptionalDefaults } from '../wrappers/wrap' 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 b7c070a5ef..f3a2da7e66 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.js' -import type { ConceptSchemeProps, CreateConceptSchemeProps } from '../../entities/concept-scheme.js' +} from '../../common-types' +import type { ConceptSchemeProps, CreateConceptSchemeProps } from '../../entities/concept-scheme' import type { OpPatch } from 'json-patch' import type { SetOptional } from 'type-fest' diff --git a/lib/plain/entities/concept.ts b/lib/plain/entities/concept.ts index 33cb0ab5cd..a6130aedda 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.js' -import type { ConceptProps, CreateConceptProps } from '../../entities/concept.js' +} from '../../common-types' +import type { ConceptProps, CreateConceptProps } from '../../entities/concept' import type { OpPatch } from 'json-patch' import type { SetOptional } from 'type-fest' diff --git a/lib/plain/entities/editor-interface.ts b/lib/plain/entities/editor-interface.ts index 08add12065..a3d8df04df 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.js' -import type { EditorInterfaceProps } from '../../entities/editor-interface.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { EditorInterfaceProps } from '../../entities/editor-interface' +import type { OptionalDefaults } from '../wrappers/wrap' export type EditorInterfacePlainClientAPI = { /** diff --git a/lib/plain/entities/environment-alias.ts b/lib/plain/entities/environment-alias.ts index 0e174a9a18..4fd3e5edbd 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.js' +} from '../../common-types' import type { CreateEnvironmentAliasProps, EnvironmentAliasProps, -} from '../../entities/environment-alias.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/environment-alias' +import type { OptionalDefaults } from '../wrappers/wrap' export type EnvironmentAliasPlainClientAPI = { /** diff --git a/lib/plain/entities/environment.ts b/lib/plain/entities/environment.ts index 6f9a09b9b9..46faad877a 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.js' -import type { CreateEnvironmentProps, EnvironmentProps } from '../../entities/environment.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { CreateEnvironmentProps, EnvironmentProps } from '../../entities/environment' +import type { OptionalDefaults } from '../wrappers/wrap' export type EnvironmentPlainClientAPI = { /** diff --git a/lib/plain/entities/extension.ts b/lib/plain/entities/extension.ts index 38aa080c23..4ca0f47033 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.js' -import type { CreateExtensionProps, ExtensionProps } from '../../entities/extension.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { CreateExtensionProps, ExtensionProps } from '../../entities/extension' +import type { OptionalDefaults } from '../wrappers/wrap' export type ExtensionPlainClientAPI = { /** diff --git a/lib/plain/entities/function-log.ts b/lib/plain/entities/function-log.ts index 52d9909a40..7cc571617b 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.js' -import type { FunctionLogProps } from '../../entities/function-log.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { FunctionLogProps } from '../../entities/function-log' +import type { OptionalDefaults } from '../wrappers/wrap' export type FunctionLogPlainClientAPI = { /** diff --git a/lib/plain/entities/function.ts b/lib/plain/entities/function.ts index b93fdde970..f428e4d824 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.js' -import type { FunctionProps } from '../../entities/function.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { FunctionProps } from '../../entities/function' +import type { OptionalDefaults } from '../wrappers/wrap' export type FunctionPlainClientAPI = { /** diff --git a/lib/plain/entities/locale.ts b/lib/plain/entities/locale.ts index 212bfa54c6..25774a4899 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.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' -import type { CreateLocaleProps, LocaleProps } from '../../entities/locale.js' +import type { GetSpaceEnvironmentParams, QueryParams, CollectionProp } from '../../common-types' +import type { OptionalDefaults } from '../wrappers/wrap' +import type { CreateLocaleProps, LocaleProps } from '../../entities/locale' export type LocalePlainClientAPI = { /** diff --git a/lib/plain/entities/oauth-application.ts b/lib/plain/entities/oauth-application.ts index 030cd4c4d9..5f0ba2f6cd 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.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { OptionalDefaults } from '../wrappers/wrap' import type { CreateOAuthApplicationProps, OAuthApplicationProps, UpdateOAuthApplicationProps, -} from '../../entities/oauth-application.js' +} from '../../entities/oauth-application' export type OAuthApplicationPlainClientAPI = { /** diff --git a/lib/plain/entities/organization.ts b/lib/plain/entities/organization.ts index 88a8854c83..c318eb5298 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.js' -import type { OrganizationProps } from '../../entities/organization.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { OrganizationProps } from '../../entities/organization' +import type { OptionalDefaults } from '../wrappers/wrap' export type OrganizationPlainClientAPI = { /** diff --git a/lib/plain/entities/resource-provider.ts b/lib/plain/entities/resource-provider.ts index a3dfd84985..f9e366244c 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.js' +import type { GetResourceProviderParams } from '../../common-types' import type { UpsertResourceProviderProps, ResourceProviderProps, -} from '../../entities/resource-provider.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/resource-provider' +import type { OptionalDefaults } from '../wrappers/wrap' export type ResourceProviderPlainClientAPI = { /** diff --git a/lib/plain/entities/resource-type.ts b/lib/plain/entities/resource-type.ts index 6f88e8bb6b..61be6f610d 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.js' +import type { OptionalDefaults } from '../wrappers/wrap' import type { BasicCursorPaginationOptions, CollectionProp, CursorPaginatedCollectionProp, GetResourceTypeParams, GetSpaceEnvironmentParams, -} from '../../common-types.js' -import type { ResourceTypeProps, UpsertResourceTypeProps } from '../../export-types.js' -import type { SpaceEnvResourceTypeProps } from '../../entities/resource-type.js' +} from '../../common-types' +import type { ResourceTypeProps, UpsertResourceTypeProps } from '../../export-types' +import type { SpaceEnvResourceTypeProps } from '../../entities/resource-type' export type ResourceTypePlainClientAPI = { /* diff --git a/lib/plain/entities/resource.ts b/lib/plain/entities/resource.ts index c6d373b1cf..ed478167b3 100644 --- a/lib/plain/entities/resource.ts +++ b/lib/plain/entities/resource.ts @@ -1,6 +1,6 @@ -import type { OptionalDefaults } from '../wrappers/wrap.js' -import type { CursorPaginatedCollectionProp, GetResourceParams } from '../../common-types.js' -import type { ResourceProps, ResourceQueryOptions } from '../../entities/resource.js' +import type { OptionalDefaults } from '../wrappers/wrap' +import type { CursorPaginatedCollectionProp, GetResourceParams } from '../../common-types' +import type { ResourceProps, ResourceQueryOptions } from '../../entities/resource' export type ResourcePlainAPI = { /** diff --git a/lib/plain/entities/role.ts b/lib/plain/entities/role.ts index 9fc4d09066..dfb8fc2788 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.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' -import type { CreateRoleProps, RoleProps } from '../../entities/role.js' +} from '../../common-types' +import type { OptionalDefaults } from '../wrappers/wrap' +import type { CreateRoleProps, RoleProps } from '../../entities/role' export type RolePlainClientAPI = { /** Fetches a Role diff --git a/lib/plain/entities/space-member.ts b/lib/plain/entities/space-member.ts index d4ccf59ce9..412be3cd7e 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.js' -import type { SpaceMemberProps } from '../../entities/space-member.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { CollectionProp, GetSpaceParams, QueryParams } from '../../common-types' +import type { SpaceMemberProps } from '../../entities/space-member' +import type { OptionalDefaults } from '../wrappers/wrap' export type SpaceMemberPlainClientAPI = { /** diff --git a/lib/plain/entities/space-membership.ts b/lib/plain/entities/space-membership.ts index 8fcc2e451e..7cba685e25 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.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { OptionalDefaults } from '../wrappers/wrap' import type { CreateSpaceMembershipProps, SpaceMembershipProps, -} from '../../entities/space-membership.js' +} from '../../entities/space-membership' export type SpaceMembershipPlainClientAPI = { /** diff --git a/lib/plain/entities/space.ts b/lib/plain/entities/space.ts index 434734727a..7768808807 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.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' -import type { SpaceProps } from '../../entities/space.js' +} from '../../common-types' +import type { OptionalDefaults } from '../wrappers/wrap' +import type { SpaceProps } from '../../entities/space' export type SpacePlainClientAPI = { /** diff --git a/lib/plain/entities/tag.ts b/lib/plain/entities/tag.ts index f7837a930a..d49e5dfd00 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.js' -import type { UpdateTagProps, DeleteTagParams } from '../../entities/tag.js' -import type { TagProps, CreateTagProps } from '../../export-types.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { UpdateTagProps, DeleteTagParams } from '../../entities/tag' +import type { TagProps, CreateTagProps } from '../../export-types' +import type { OptionalDefaults } from '../wrappers/wrap' export type TagPlainClientAPI = { /** diff --git a/lib/plain/entities/task.ts b/lib/plain/entities/task.ts index c240235c70..7d286b3042 100644 --- a/lib/plain/entities/task.ts +++ b/lib/plain/entities/task.ts @@ -4,7 +4,7 @@ import type { GetEntryParams, QueryParams, CollectionProp, -} from '../../common-types.js' +} from '../../common-types' import type { CreateTaskParams, UpdateTaskParams, @@ -12,8 +12,8 @@ import type { TaskProps, CreateTaskProps, UpdateTaskProps, -} from '../../entities/task.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/task' +import type { OptionalDefaults } from '../wrappers/wrap' export type TaskPlainClientAPI = { /** Fetches a task diff --git a/lib/plain/entities/team-membership.ts b/lib/plain/entities/team-membership.ts index 0d11cd428f..2b9125e6fc 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.js' -import type { TeamMembershipProps, CreateTeamMembershipProps } from '../../export-types.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { TeamMembershipProps, CreateTeamMembershipProps } from '../../export-types' +import type { OptionalDefaults } from '../wrappers/wrap' export type TeamMembershipPlainClientAPI = { /** diff --git a/lib/plain/entities/team-space-membership.ts b/lib/plain/entities/team-space-membership.ts index a672cf69c5..5c53e65c80 100644 --- a/lib/plain/entities/team-space-membership.ts +++ b/lib/plain/entities/team-space-membership.ts @@ -5,12 +5,12 @@ import type { QueryParams, CollectionProp, GetOrganizationParams, -} from '../../common-types.js' +} from '../../common-types' import type { TeamSpaceMembershipProps, CreateTeamSpaceMembershipProps, -} from '../../export-types.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../export-types' +import type { OptionalDefaults } from '../wrappers/wrap' export type TeamSpaceMembershipPlainClientAPI = { /** diff --git a/lib/plain/entities/team.ts b/lib/plain/entities/team.ts index be6f167af6..841016c693 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.js' -import type { TeamProps, CreateTeamProps } from '../../export-types.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { TeamProps, CreateTeamProps } from '../../export-types' +import type { OptionalDefaults } from '../wrappers/wrap' export type TeamPlainClientAPI = { /** diff --git a/lib/plain/entities/ui-config.ts b/lib/plain/entities/ui-config.ts index fb97e1e52c..74cc91aa0e 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.js' -import type { UIConfigProps } from '../../entities/ui-config.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { GetUIConfigParams } from '../../common-types' +import type { UIConfigProps } from '../../entities/ui-config' +import type { OptionalDefaults } from '../wrappers/wrap' export type UIConfigPlainClientAPI = { /** diff --git a/lib/plain/entities/upload-credential.ts b/lib/plain/entities/upload-credential.ts index 4dd95d620a..1385fa9038 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.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { GetSpaceEnvironmentParams, MetaSysProps } from '../../common-types' +import type { OptionalDefaults } from '../wrappers/wrap' export type UploadCredential = { /** diff --git a/lib/plain/entities/upload.ts b/lib/plain/entities/upload.ts index 4fb5d589ff..44c4196b81 100644 --- a/lib/plain/entities/upload.ts +++ b/lib/plain/entities/upload.ts @@ -1,9 +1,9 @@ import type { Stream } from 'stream' -import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { OptionalDefaults } from '../wrappers/wrap' import type { GetSpaceEnvironmentParams, GetSpaceEnvironmentUploadParams, -} from '../../common-types.js' +} from '../../common-types' export type UploadPlainClientAPI = { /** Fetches the Space Environment Upload diff --git a/lib/plain/entities/usage.ts b/lib/plain/entities/usage.ts index b30dd15e94..091202f34c 100644 --- a/lib/plain/entities/usage.ts +++ b/lib/plain/entities/usage.ts @@ -1,6 +1,6 @@ -import type { CollectionProp, QueryParams } from '../../common-types.js' -import type { UsageProps } from '../../export-types.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { CollectionProp, QueryParams } from '../../common-types' +import type { UsageProps } from '../../export-types' +import type { OptionalDefaults } from '../wrappers/wrap' 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 5656e004d0..e61b2fea51 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.js' -import type { UserUIConfigProps } from '../../entities/user-ui-config.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { GetUserUIConfigParams } from '../../common-types' +import type { UserUIConfigProps } from '../../entities/user-ui-config' +import type { OptionalDefaults } from '../wrappers/wrap' export type UserUIConfigPlainClientAPI = { /** diff --git a/lib/plain/entities/user.ts b/lib/plain/entities/user.ts index a37fbb444a..0a92bdd216 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.js' -import type { UserProps } from '../../export-types.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { UserProps } from '../../export-types' +import type { OptionalDefaults } from '../wrappers/wrap' export type UserPlainClientAPI = { /** Fetches all users in a space diff --git a/lib/plain/entities/webhook.ts b/lib/plain/entities/webhook.ts index cc991f7320..154c2e8763 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.js' +} from '../../common-types' import type { CreateWebhooksProps, UpsertWebhookSigningSecretPayload, @@ -16,8 +16,8 @@ import type { WebhookRetryPolicyPayload, WebhookRetryPolicyProps, WebhookSigningSecretProps, -} from '../../entities/webhook.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/webhook' +import type { OptionalDefaults } from '../wrappers/wrap' export type WebhookPlainClientAPI = { // Webhooks diff --git a/lib/plain/entities/workflow-definition.ts b/lib/plain/entities/workflow-definition.ts index 8bcdcdf080..a869d36343 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.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../common-types' +import type { OptionalDefaults } from '../wrappers/wrap' import type { CreateWorkflowDefinitionParams, CreateWorkflowDefinitionProps, @@ -13,7 +13,7 @@ import type { UpdateWorkflowDefinitionProps, WorkflowDefinitionProps, WorkflowDefinitionQueryOptions, -} from '../../entities/workflow-definition.js' +} from '../../entities/workflow-definition' export type WorkflowDefinitionPlainClientAPI = { /** diff --git a/lib/plain/entities/workflow.ts b/lib/plain/entities/workflow.ts index ac33aa3b29..ab53652b4a 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.js' +} from '../../common-types' import type { CreateWorkflowParams, UpdateWorkflowParams, @@ -13,8 +13,8 @@ import type { CreateWorkflowProps, UpdateWorkflowProps, DeleteWorkflowParams, -} from '../../entities/workflow.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +} from '../../entities/workflow' +import type { OptionalDefaults } from '../wrappers/wrap' export type WorkflowPlainClientAPI = { /** diff --git a/lib/plain/entities/workflows-changelog.ts b/lib/plain/entities/workflows-changelog.ts index dda1ac49d5..95dbf81522 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.js' -import type { OptionalDefaults } from '../wrappers/wrap.js' +import type { GetSpaceEnvironmentParams, CollectionProp } from '../../common-types' +import type { OptionalDefaults } from '../wrappers/wrap' import type { WorkflowsChangelogEntryProps, WorkflowsChangelogQueryOptions, -} from '../../entities/workflows-changelog-entry.js' +} from '../../entities/workflows-changelog-entry' export type WorkflowsChangelogPlainClientAPI = { /** diff --git a/lib/plain/pagination-helper.ts b/lib/plain/pagination-helper.ts index 2b4d8c52f1..8a838b6f7e 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.js' +} from '../common-types' 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 a7665f90c5..20ba37c376 100644 --- a/lib/plain/plain-client.ts +++ b/lib/plain/plain-client.ts @@ -2,13 +2,13 @@ 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' +} 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' -export type { DefaultParams } from './wrappers/wrap.js' +export type { DefaultParams } from './wrappers/wrap' /** * @private diff --git a/lib/plain/wrappers/wrap.test-d.ts b/lib/plain/wrappers/wrap.test-d.ts index e4b09a1fe8..f2479ac44b 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.js' +import type { OptionalDefaults } from './wrap' describe('OptionalDefaults', () => { it('does not add props', () => { diff --git a/lib/plain/wrappers/wrap.ts b/lib/plain/wrappers/wrap.ts index c9c3f4ab8f..fee50eac29 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.js' +import type { MakeRequest, MRActions, MRReturn } from '../../common-types' export type DefaultParams = { spaceId?: string diff --git a/package.json b/package.json index d5fa996007..4949ab9529 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,6 @@ "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/", - "type": "module", "exports": { ".": { "types": "./dist/types/index.d.ts", diff --git a/rollup.config.js b/rollup.config.js index 80d59ed663..991bf0d517 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -51,6 +51,7 @@ const esmConfig = { format: 'esm', preserveModules: true, sourcemap: true, + entryFileNames: '[name].mjs', }, plugins: [ tsPlugin, diff --git a/tsconfig.json b/tsconfig.json index e2f4fbda47..89159a1235 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,8 +3,8 @@ "rootDir": "./lib", "lib": ["dom", "esnext"], "target": "ES2021", - "module": "nodenext", - "moduleResolution": "nodenext", + "module": "esnext", + "moduleResolution": "bundler", "strict": true, "importHelpers": true, "esModuleInterop": true, From c495fec42b83f1f64cb294d3cabc5a338739783b Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Tue, 18 Nov 2025 14:49:05 -0700 Subject: [PATCH 46/48] chore: format fix --- lib/adapters/REST/endpoints/app-key.ts | 6 +----- lib/adapters/REST/endpoints/concept-scheme.ts | 5 +---- lib/adapters/REST/endpoints/locale.ts | 6 +----- lib/common-types.ts | 16 +++------------- .../controls-defaults.ts | 5 +---- lib/create-contentful-api.ts | 5 +---- lib/create-space-api.ts | 7 +------ lib/entities/resource-provider.ts | 6 +----- lib/export-types.ts | 19 +++---------------- lib/plain/entities/task.ts | 7 +------ lib/plain/entities/team-space-membership.ts | 5 +---- lib/plain/entities/upload.ts | 5 +---- lib/plain/plain-client.ts | 6 +----- 13 files changed, 17 insertions(+), 81 deletions(-) diff --git a/lib/adapters/REST/endpoints/app-key.ts b/lib/adapters/REST/endpoints/app-key.ts index d0fb33acc7..7d36802e82 100644 --- a/lib/adapters/REST/endpoints/app-key.ts +++ b/lib/adapters/REST/endpoints/app-key.ts @@ -2,11 +2,7 @@ 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 { CollectionProp, GetAppDefinitionParams, GetAppKeyParams } from '../../../common-types' export const get: RestEndpoint<'AppKey', 'get'> = ( http: AxiosInstance, diff --git a/lib/adapters/REST/endpoints/concept-scheme.ts b/lib/adapters/REST/endpoints/concept-scheme.ts index 488f14fdd7..639889e2ba 100644 --- a/lib/adapters/REST/endpoints/concept-scheme.ts +++ b/lib/adapters/REST/endpoints/concept-scheme.ts @@ -9,10 +9,7 @@ import type { GetOrganizationParams, UpdateConceptSchemeParams, } from '../../../common-types' -import type { - ConceptSchemeProps, - CreateConceptSchemeProps, -} from '../../../entities/concept-scheme' +import type { ConceptSchemeProps, CreateConceptSchemeProps } from '../../../entities/concept-scheme' import type { RestEndpoint } from '../types' import * as raw from './raw' diff --git a/lib/adapters/REST/endpoints/locale.ts b/lib/adapters/REST/endpoints/locale.ts index bb3c96866c..1c41e0551f 100644 --- a/lib/adapters/REST/endpoints/locale.ts +++ b/lib/adapters/REST/endpoints/locale.ts @@ -2,11 +2,7 @@ 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 { CollectionProp, GetSpaceEnvironmentParams, QueryParams } from '../../../common-types' import type { CreateLocaleProps, LocaleProps } from '../../../entities/locale' import type { RestEndpoint } from '../types' import * as raw from './raw' diff --git a/lib/common-types.ts b/lib/common-types.ts index b71e8a8937..0a4d45323b 100644 --- a/lib/common-types.ts +++ b/lib/common-types.ts @@ -20,10 +20,7 @@ import type { CreateAppDefinitionProps, } from './entities/app-definition' import type { AppDetailsProps, CreateAppDetailsProps } from './entities/app-details' -import type { - AppInstallationProps, - CreateAppInstallationProps, -} from './entities/app-installation' +import type { AppInstallationProps, CreateAppInstallationProps } from './entities/app-installation' import type { AppSignedRequestProps, CreateAppSignedRequestProps, @@ -102,10 +99,7 @@ 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 { 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' @@ -192,11 +186,7 @@ import type { UpdateOAuthApplicationProps, } from './entities/oauth-application' import type { FunctionLogProps } from './entities/function-log' -import type { - AiActionProps, - AiActionQueryOptions, - CreateAiActionProps, -} from './entities/ai-action' +import type { AiActionProps, AiActionQueryOptions, CreateAiActionProps } from './entities/ai-action' import type { AiActionInvocationProps, AiActionInvocationType, diff --git a/lib/constants/editor-interface-defaults/controls-defaults.ts b/lib/constants/editor-interface-defaults/controls-defaults.ts index 0490623266..677fc9b325 100644 --- a/lib/constants/editor-interface-defaults/controls-defaults.ts +++ b/lib/constants/editor-interface-defaults/controls-defaults.ts @@ -1,7 +1,4 @@ -import type { - ContentFields, - ContentTypeFieldValidation, -} from '../../entities/content-type-fields' +import type { ContentFields, ContentTypeFieldValidation } from '../../entities/content-type-fields' import { in_ } from './types' const DROPDOWN_TYPES = ['Text', 'Symbol', 'Integer', 'Number', 'Boolean'] diff --git a/lib/create-contentful-api.ts b/lib/create-contentful-api.ts index a3eb8e1979..bab927daea 100644 --- a/lib/create-contentful-api.ts +++ b/lib/create-contentful-api.ts @@ -41,10 +41,7 @@ import type { OAuthApplicationProps, } from './export-types' import { wrapAccessToken, wrapAccessTokenCollection } from './entities/access-token' -import { - wrapOAuthApplication, - wrapOAuthApplicationCollection, -} from './entities/oauth-application' +import { wrapOAuthApplication, wrapOAuthApplicationCollection } from './entities/oauth-application' export type ClientAPI = ReturnType type CreateSpaceProps = Omit & { defaultLocale?: string } diff --git a/lib/create-space-api.ts b/lib/create-space-api.ts index 22f1a22d3e..29fefda19a 100644 --- a/lib/create-space-api.ts +++ b/lib/create-space-api.ts @@ -16,12 +16,7 @@ import { wrapEnvironmentAliasCollection, type CreateEnvironmentAliasProps, } from './entities/environment-alias' -import { - wrapRole, - wrapRoleCollection, - type CreateRoleProps, - type RoleProps, -} from './entities/role' +import { wrapRole, wrapRoleCollection, type CreateRoleProps, type RoleProps } from './entities/role' import { wrapScheduledAction, wrapScheduledActionCollection, diff --git a/lib/entities/resource-provider.ts b/lib/entities/resource-provider.ts index fd1b99b6fa..ea9fccf0e9 100644 --- a/lib/entities/resource-provider.ts +++ b/lib/entities/resource-provider.ts @@ -8,11 +8,7 @@ import type { import { toPlainObject, freezeSys } from 'contentful-sdk-core' import copy from 'fast-copy' import enhanceWithMethods from '../enhance-with-methods' -import { - wrapResourceType, - type ResourceType, - type UpsertResourceTypeProps, -} from './resource-type' +import { wrapResourceType, type ResourceType, type UpsertResourceTypeProps } from './resource-type' export type ResourceProviderProps = { /** diff --git a/lib/export-types.ts b/lib/export-types.ts index 36eec0e853..eba12c7e32 100644 --- a/lib/export-types.ts +++ b/lib/export-types.ts @@ -11,10 +11,7 @@ export type { CreateAppAccessTokenProps, } from './entities/app-access-token' export type { AiAction, AiActionProps, CreateAiActionProps } from './entities/ai-action' -export type { - AiActionInvocation, - AiActionInvocationProps, -} from './entities/ai-action-invocation' +export type { AiActionInvocation, AiActionInvocationProps } from './entities/ai-action-invocation' export type { AppAction, AppActionCategoryProps, @@ -137,11 +134,7 @@ export type { EntryMetaSysProps, EntryReferenceProps, } from './entities/entry' -export type { - CreateEnvironmentProps, - Environment, - EnvironmentProps, -} from './entities/environment' +export type { CreateEnvironmentProps, Environment, EnvironmentProps } from './entities/environment' export type { CreateEnvironmentAliasProps, EnvironmentAlias, @@ -212,13 +205,7 @@ export type { ReleaseActionSysProps, ReleaseActionTypes, } from './entities/release-action' -export type { - CreateRoleProps, - Role, - RoleProps, - ActionType, - ConstraintType, -} from './entities/role' +export type { CreateRoleProps, Role, RoleProps, ActionType, ConstraintType } from './entities/role' export type { ScheduledAction, ScheduledActionProps, diff --git a/lib/plain/entities/task.ts b/lib/plain/entities/task.ts index 7d286b3042..a84cf4a24e 100644 --- a/lib/plain/entities/task.ts +++ b/lib/plain/entities/task.ts @@ -1,10 +1,5 @@ import type { RawAxiosRequestHeaders } from 'axios' -import type { - GetTaskParams, - GetEntryParams, - QueryParams, - CollectionProp, -} from '../../common-types' +import type { GetTaskParams, GetEntryParams, QueryParams, CollectionProp } from '../../common-types' import type { CreateTaskParams, UpdateTaskParams, diff --git a/lib/plain/entities/team-space-membership.ts b/lib/plain/entities/team-space-membership.ts index 5c53e65c80..34b5951a1a 100644 --- a/lib/plain/entities/team-space-membership.ts +++ b/lib/plain/entities/team-space-membership.ts @@ -6,10 +6,7 @@ import type { CollectionProp, GetOrganizationParams, } from '../../common-types' -import type { - TeamSpaceMembershipProps, - CreateTeamSpaceMembershipProps, -} from '../../export-types' +import type { TeamSpaceMembershipProps, CreateTeamSpaceMembershipProps } from '../../export-types' import type { OptionalDefaults } from '../wrappers/wrap' export type TeamSpaceMembershipPlainClientAPI = { diff --git a/lib/plain/entities/upload.ts b/lib/plain/entities/upload.ts index 44c4196b81..830254e52d 100644 --- a/lib/plain/entities/upload.ts +++ b/lib/plain/entities/upload.ts @@ -1,9 +1,6 @@ import type { Stream } from 'stream' import type { OptionalDefaults } from '../wrappers/wrap' -import type { - GetSpaceEnvironmentParams, - GetSpaceEnvironmentUploadParams, -} from '../../common-types' +import type { GetSpaceEnvironmentParams, GetSpaceEnvironmentUploadParams } from '../../common-types' export type UploadPlainClientAPI = { /** Fetches the Space Environment Upload diff --git a/lib/plain/plain-client.ts b/lib/plain/plain-client.ts index 20ba37c376..f6470fe448 100644 --- a/lib/plain/plain-client.ts +++ b/lib/plain/plain-client.ts @@ -1,8 +1,4 @@ -import type { - GetContentTypeParams, - GetSpaceEnvironmentParams, - MakeRequest, -} from '../common-types' +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' From 7b9a5c662f3b81c7d5ce5edb9179738876c93bb0 Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Tue, 18 Nov 2025 16:07:09 -0700 Subject: [PATCH 47/48] chore: remove importing files with extensions in the tests --- test/helpers.ts | 6 +- .../integration/ai-action-integration.test.ts | 2 +- .../ai-action-invocation-integration.test.ts | 2 +- test/integration/api-key-integration.test.ts | 2 +- .../app-access-token-integration.test.ts | 4 +- .../app-action-integration.test.ts | 4 +- .../app-bundle-integration.test.ts | 4 +- .../app-definition-integration.test.ts | 4 +- .../app-details-integration.test.ts | 4 +- ...app-event-subscription-integration.test.ts | 4 +- test/integration/app-key-integration.test.ts | 4 +- .../app-signed-request-integration.test.ts | 4 +- .../app-signing-secret-integration.test.ts | 4 +- .../app-upload-integration.test.ts | 4 +- test/integration/asset-integration.test.ts | 4 +- .../integration/asset-key-integration.test.ts | 4 +- .../bulk-action-integration.test.ts | 12 +- test/integration/comment-integration.test.ts | 4 +- .../content-type-integration.test.ts | 4 +- test/integration/entry-integration.test.ts | 8 +- .../entry-references-integration.test.ts | 10 +- .../environment-alias-integration.test.ts | 4 +- .../environment-integration.test.ts | 4 +- .../environment-template-integration.test.ts | 6 +- test/integration/locale-integration.test.ts | 4 +- ...-team-space-membership-integration.test.ts | 6 +- .../organization-integration.test.ts | 4 +- .../organization-invitation.test.ts | 4 +- ...rganization-membership-integration.test.ts | 6 +- ...ation-space-membership-integration.test.ts | 6 +- test/integration/plain-client.test.ts | 4 +- .../preview-api-key-integration.test.ts | 4 +- .../release-action-integration.test.ts | 14 +- test/integration/release-integration.test.ts | 10 +- test/integration/resource-integration.test.ts | 14 +- .../resource-provider-integration.test.ts | 12 +- .../resource-type-integration.test.ts | 14 +- test/integration/role-integration.test.ts | 4 +- .../scheduled-action-integration.test.ts | 18 +-- test/integration/space-integration.test.ts | 4 +- .../space-member-integration.test.ts | 6 +- .../space-membership-integration.test.ts | 6 +- .../space-team-integration.test.ts | 4 +- .../space-user-integration.test.ts | 6 +- test/integration/tag-integration.test.ts | 4 +- test/integration/task-integration.test.ts | 4 +- test/integration/taxonomy-integration.test.ts | 6 +- test/integration/team-integration.test.ts | 6 +- .../team-membership-integration.test.ts | 6 +- .../team-space-membership-integration.test.ts | 6 +- .../ui-extension-integration.test.ts | 4 +- test/integration/upload-credential.test.ts | 4 +- test/integration/user-integration.test.ts | 6 +- test/integration/webhook-integration.test.ts | 6 +- test/integration/workflow-integration.test.ts | 6 +- .../REST/endpoints/app-action-call.test.ts | 4 +- .../adapters/REST/endpoints/asset.test.ts | 6 +- .../REST/endpoints/concept-scheme.test.ts | 4 +- .../adapters/REST/endpoints/concept.test.ts | 4 +- .../adapters/REST/endpoints/entry.test.ts | 6 +- .../endpoints/environment-template.test.ts | 4 +- .../adapters/REST/endpoints/extension.test.ts | 2 +- .../REST/endpoints/function-log.test.ts | 4 +- .../adapters/REST/endpoints/function.test.ts | 4 +- .../unit/adapters/REST/endpoints/http.test.ts | 2 +- .../endpoints/organization-membership.test.ts | 6 +- .../REST/endpoints/team-membership.test.ts | 6 +- .../unit/adapters/REST/endpoints/team.test.ts | 6 +- .../adapters/REST/endpoints/ui-config.test.ts | 6 +- .../adapters/REST/endpoints/upload.test.ts | 4 +- .../REST/endpoints/user-ui-config.test.ts | 6 +- .../adapters/REST/endpoints/utils.test.ts | 2 +- .../endpoints/workflow-definition.test.ts | 10 +- test/unit/adapters/REST/rest-adapter.test.ts | 4 +- .../adapters/REST/reusable-tests/update.ts | 4 +- test/unit/constants/controls-defaults.test.ts | 2 +- test/unit/create-adapter.test.ts | 6 +- test/unit/create-app-definition-api.test.ts | 8 +- test/unit/create-contentful-api.test.ts | 12 +- test/unit/create-entry-api.test.ts | 12 +- test/unit/create-environment-api.test.ts | 16 +-- .../create-environment-template-api.test.ts | 8 +- test/unit/create-organization-api.test.ts | 8 +- test/unit/create-space-api.test.ts | 8 +- test/unit/create-ui-config-api.test.ts | 10 +- test/unit/create-user-ui-config-api.test.ts | 10 +- test/unit/entities/access-token.test.ts | 8 +- .../entities/ai-action-invocation.test.ts | 8 +- test/unit/entities/ai-action.test.ts | 8 +- test/unit/entities/api-key.test.ts | 8 +- test/unit/entities/app-access-token.test.ts | 8 +- test/unit/entities/app-bundle.test.ts | 8 +- test/unit/entities/app-definition.test.ts | 8 +- test/unit/entities/app-details.test.ts | 8 +- .../entities/app-event-subscription.test.ts | 8 +- test/unit/entities/app-installation.test.ts | 8 +- test/unit/entities/app-key.test.ts | 8 +- test/unit/entities/app-signed-request.test.ts | 8 +- test/unit/entities/app-signing-secret.test.ts | 8 +- test/unit/entities/app-upload.test.ts | 8 +- test/unit/entities/asset-key.test.ts | 8 +- test/unit/entities/asset.test.ts | 8 +- test/unit/entities/bulk-action.test.ts | 8 +- test/unit/entities/comment.test.ts | 8 +- test/unit/entities/content-type.test.ts | 8 +- test/unit/entities/editor-interface.test.ts | 8 +- test/unit/entities/entry.test.ts | 8 +- test/unit/entities/environment-alias.test.ts | 8 +- test/unit/entities/environment.test.ts | 8 +- test/unit/entities/extension.test.ts | 8 +- test/unit/entities/invitation.test.ts | 8 +- test/unit/entities/locale.test.ts | 8 +- test/unit/entities/oauth-application.ts | 8 +- .../entities/organization-membership.test.ts | 8 +- test/unit/entities/organization.test.ts | 8 +- .../entities/personal-access-token.test.ts | 8 +- test/unit/entities/preview-api-key.test.ts | 8 +- test/unit/entities/release-action.test.ts | 8 +- test/unit/entities/release.test.ts | 8 +- test/unit/entities/resource-provider.test.ts | 14 +- test/unit/entities/resource-type.test.ts | 8 +- test/unit/entities/role.test.ts | 8 +- test/unit/entities/scheduled-action.test.ts | 8 +- test/unit/entities/space-member.test.ts | 8 +- test/unit/entities/space-membership.test.ts | 8 +- test/unit/entities/space.test.ts | 8 +- test/unit/entities/tag.test.ts | 8 +- test/unit/entities/task.test.ts | 8 +- test/unit/entities/team-membership.test.ts | 8 +- .../entities/team-space-membership.test.ts | 8 +- test/unit/entities/team.test.ts | 8 +- test/unit/entities/ui-config.test.ts | 8 +- test/unit/entities/upload-credential.test.ts | 8 +- test/unit/entities/upload.test.ts | 8 +- test/unit/entities/usage.test.ts | 8 +- test/unit/entities/user-ui-config.test.ts | 8 +- test/unit/entities/user.test.ts | 8 +- test/unit/entities/webhook.test.ts | 8 +- .../unit/entities/workflow-definition.test.ts | 8 +- test/unit/entities/workflow.test.ts | 8 +- .../workflows-changelog-entry.test.ts | 8 +- test/unit/mocks/entities.ts | 130 +++++++++--------- test/unit/mocks/makeRequest.ts | 2 +- test/unit/plain/as-iterator.test.ts | 4 +- test/unit/plain/pagination-helper.test.ts | 8 +- test/unit/plain/resource-provider.test.ts | 6 +- test/unit/plain/resource-type.test.ts | 6 +- test/unit/plain/resource.test.ts | 6 +- test/unit/plain/webhook.test.ts | 4 +- .../test-creators/instance-entity-methods.ts | 8 +- .../test-creators/static-entity-methods.ts | 2 +- test/utils.ts | 2 +- 152 files changed, 569 insertions(+), 569 deletions(-) diff --git a/test/helpers.ts b/test/helpers.ts index ef0de0925f..c65bc7b9fe 100644 --- a/test/helpers.ts +++ b/test/helpers.ts @@ -1,5 +1,5 @@ import type { CreateHttpClientParams } from 'contentful-sdk-core' -import { createClient } from '../lib/index.js' +import { createClient } from '../lib/index' import type { BulkActionPayload, BulkActionProps, @@ -8,8 +8,8 @@ import type { Organization, PlainClientAPI, Space, -} from '../lib/index.js' -import { TestDefaults } from './defaults.js' +} from '../lib/index' +import { TestDefaults } from './defaults' import * as testUtils from '@contentful/integration-test-utils' import { AsyncActionProcessingOptions, pollAsyncActionStatus } from '../lib/methods/action' diff --git a/test/integration/ai-action-integration.test.ts b/test/integration/ai-action-integration.test.ts index c02dffc978..2c898b0865 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.js' +} from '../helpers' 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 d2bab2fbd4..b9c82f1dd2 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.js' +} from '../helpers' export async function pollForCompletedAiActionInvocationResult( environment, diff --git a/test/integration/api-key-integration.test.ts b/test/integration/api-key-integration.test.ts index 8fe6498249..62b759aff6 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.js' +} from '../helpers' 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 b8ca9c9238..a6499ba67c 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.js' +} from '../helpers' import { sign } from 'jsonwebtoken' import type { AppDefinition, @@ -14,7 +14,7 @@ import type { Environment, PlainClientAPI, AppKeyProps, -} from '../../lib/index.js' +} from '../../lib/index' 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 7f703bffdb..68734d7e2a 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/index.js' +import type { AppActionProps, PlainClientAPI } from '../../lib/index' import { initPlainClient, getTestOrganization, getDefaultSpace, createAppInstallation, timeoutToCalmRateLimiting, -} from '../helpers.js' +} from '../helpers' 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 3a88595e8e..8418ead7d1 100644 --- a/test/integration/app-bundle-integration.test.ts +++ b/test/integration/app-bundle-integration.test.ts @@ -1,7 +1,7 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' import { readFileSync } from 'fs' -import { getTestOrganization, getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers.js' -import type { Organization, AppDefinition, AppUpload, Space, Environment } from '../../lib/index.js' +import { getTestOrganization, getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers' +import type { Organization, AppDefinition, AppUpload, Space, Environment } from '../../lib/index' 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 4e67355063..c575c7d6ae 100644 --- a/test/integration/app-definition-integration.test.ts +++ b/test/integration/app-definition-integration.test.ts @@ -6,8 +6,8 @@ import { createAppInstallation, getDefaultSpace, timeoutToCalmRateLimiting, -} from '../helpers.js' -import type { Organization, Space, Environment, AppInstallation } from '../../lib/index.js' +} from '../helpers' +import type { Organization, Space, Environment, AppInstallation } from '../../lib/index' 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 2e8ee3a066..968bbe4a57 100644 --- a/test/integration/app-details-integration.test.ts +++ b/test/integration/app-details-integration.test.ts @@ -1,6 +1,6 @@ import { expect, describe, test, beforeAll, afterAll } from 'vitest' -import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' -import type { AppIcon, PlainClientAPI, Organization, AppDefinition } from '../../lib/index.js' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import type { AppIcon, PlainClientAPI, Organization, AppDefinition } from '../../lib/index' 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 60a9dbcf4a..537c04cc0a 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.js' -import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/index.js' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/index' 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 459d87f57e..2539403af6 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.js' -import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/index.js' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/index' 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 459d87f57e..2539403af6 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.js' -import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/index.js' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/index' 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 d33bf5fdfd..8cdfc01d5c 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.js' -import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/index.js' +import { initPlainClient, getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import type { PlainClientAPI, Organization, AppDefinition } from '../../lib/index' 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 940b19807d..7462bfaf86 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.js' -import type { Organization } from '../../lib/index.js' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import type { Organization } from '../../lib/index' 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 46d713273b..02b4ec2847 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.js' -import type { ConceptProps, Environment, PlainClientAPI, Space } from '../../lib/export-types.js' +} from '../helpers' +import type { ConceptProps, Environment, PlainClientAPI, Space } from '../../lib/export-types' 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 a557119fe2..285db34359 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.js' +import { getDefaultSpace, getSpecialSpace, timeoutToCalmRateLimiting } from '../helpers' -import { ValidationError } from '../../lib/adapters/REST/endpoints/asset-key.js' +import { ValidationError } from '../../lib/adapters/REST/endpoints/asset-key' 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 7a0c3e2278..70d0e0ecf7 100644 --- a/test/integration/bulk-action-integration.test.ts +++ b/test/integration/bulk-action-integration.test.ts @@ -5,23 +5,23 @@ import type { BulkActionPublishPayload, BulkActionUnpublishPayload, BulkActionValidatePayload, -} from '../../lib/index.js' -import type { Environment, Space, UnpublishBulkActionV2Payload } from '../../lib/index.js' -import { TestDefaults } from '../defaults.js' +} from '../../lib/index' +import type { Environment, Space, UnpublishBulkActionV2Payload } from '../../lib/index' +import { TestDefaults } from '../defaults' import { getDefaultSpace, initPlainClient, timeoutToCalmRateLimiting, waitForBulkActionProcessing, waitForBulkActionV2Processing, -} from '../helpers.js' -import { makeLink, makeVersionedLink } from '../utils.js' +} from '../helpers' +import { makeLink, makeVersionedLink } from '../utils' import { BulkActionStatus, PublishBulkActionV2Payload, ValidateBulkActionV2Payload, -} from '../../lib/entities/bulk-action.js' +} from '../../lib/entities/bulk-action' describe('BulkActions Api v1', () => { let testSpace: Space diff --git a/test/integration/comment-integration.test.ts b/test/integration/comment-integration.test.ts index adc4b42150..d8fcc6dd42 100644 --- a/test/integration/comment-integration.test.ts +++ b/test/integration/comment-integration.test.ts @@ -5,14 +5,14 @@ import { createTestSpace, initPlainClient, timeoutToCalmRateLimiting, -} from '../helpers.js' +} from '../helpers' import type { ContentType, Entry, Environment, PlainClientAPI, Space, -} from '../../lib/export-types.js' +} from '../../lib/export-types' 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 58a5bbcbd2..5f67d58473 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.js' -import type { Environment, ContentType, Space } from '../../lib/export-types.js' +} from '../helpers' +import type { Environment, ContentType, Space } from '../../lib/export-types' describe('ContentType Api', () => { let readSpace: Space diff --git a/test/integration/entry-integration.test.ts b/test/integration/entry-integration.test.ts index e39f964e52..cfcd9b8f0a 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.js' +} from '../helpers' import type { ConceptProps, ContentType, @@ -18,14 +18,14 @@ import type { PlainClientAPI, ReleaseProps, Space, -} from '../../lib/export-types.js' -import { TestDefaults } from '../defaults.js' +} from '../../lib/export-types' +import { TestDefaults } from '../defaults' import { createEmptyRelease, createTestEntry, updateReleaseWithEntries, updateReleaseEntryTitle, -} from './utils/release-entry.utils.js' +} from './utils/release-entry.utils' 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 f9347da4eb..9f7bb6609c 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/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' +import type { PlainClientAPI } from '../../lib/index' +import type { Environment } from '../../lib/entities/environment' +import type { Space } from '../../lib/entities/space' +import { TestDefaults } from '../defaults' +import { getDefaultSpace, initPlainClient, timeoutToCalmRateLimiting } from '../helpers' const WRONG_ENTRY_ID = '123123XD' diff --git a/test/integration/environment-alias-integration.test.ts b/test/integration/environment-alias-integration.test.ts index ab07745e92..c666320d86 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.js' -import type { Space } from '../../lib/export-types.js' +import { getSpecialSpace, timeoutToCalmRateLimiting } from '../helpers' +import type { Space } from '../../lib/export-types' describe('EnvironmentAlias API', () => { describe('read', () => { diff --git a/test/integration/environment-integration.test.ts b/test/integration/environment-integration.test.ts index a5fc44a4d5..fc83aae388 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.js' +} from '../helpers' import { readFileSync } from 'fs' import type { Space, @@ -19,7 +19,7 @@ import type { AppInstallation, ResourceProvider, ResourceType, -} from '../../lib/export-types.js' +} from '../../lib/export-types' 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 8b5dbf5e34..4849f4ad41 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.js' +import type { ClientAPI } from '../../lib/create-contentful-api' import { defaultClient, getTestOrganizationId, @@ -8,14 +8,14 @@ import { generateRandomId, baseEnvironmentTemplateDescription, timeoutToCalmRateLimiting, -} from '../helpers.js' +} from '../helpers' import type { CreateEnvironmentTemplateProps, Environment, EnvironmentTemplate, EnvironmentTemplateInstallationProps, Space, -} from '../../lib/export-types.js' +} from '../../lib/export-types' type InstallTemplate = (versionsCount?: number) => Promise diff --git a/test/integration/locale-integration.test.ts b/test/integration/locale-integration.test.ts index 95b9b56ffb..5d65c3320f 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.js' -import type { Space, Environment } from '../../lib/export-types.js' +} from '../helpers' +import type { Space, Environment } from '../../lib/export-types' 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 f634d364bd..6792674338 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.js' -import { TestDefaults } from '../defaults.js' -import type { Organization } from '../../lib/export-types.js' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import { TestDefaults } from '../defaults' +import type { Organization } from '../../lib/export-types' const { teamId, teamSpaceMembershipId } = TestDefaults diff --git a/test/integration/organization-integration.test.ts b/test/integration/organization-integration.test.ts index 8006fcde3b..859153ab0d 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.js' +import { TestDefaults } from '../defaults' import { initPlainClient, defaultClient, getTestOrganization, timeoutToCalmRateLimiting, -} from '../helpers.js' +} from '../helpers' describe('Organization API', async function () { afterAll(timeoutToCalmRateLimiting) diff --git a/test/integration/organization-invitation.test.ts b/test/integration/organization-invitation.test.ts index 97d106d9ba..2023fa632b 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.js' -import type { Organization } from '../../lib/export-types.js' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import type { Organization } from '../../lib/export-types' 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 b88343f94d..c4f3ea6ace 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.js' -import type { Organization } from '../../lib/export-types.js' -import { TestDefaults } from '../defaults.js' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import type { Organization } from '../../lib/export-types' +import { TestDefaults } from '../defaults' const { organizationMembershipId } = TestDefaults diff --git a/test/integration/organization-space-membership-integration.test.ts b/test/integration/organization-space-membership-integration.test.ts index 4e93df036b..8fc34b2442 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.js' -import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers.js' -import { TestDefaults } from '../defaults.js' +import type { Organization } from '../../lib/export-types' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import { TestDefaults } from '../defaults' const { organizationSpaceMembershipId } = TestDefaults diff --git a/test/integration/plain-client.test.ts b/test/integration/plain-client.test.ts index e6a12aefa4..66bd406f09 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.js' -import type { Environment, ContentType, Space } from '../../lib/export-types.js' +} from '../helpers' +import type { Environment, ContentType, Space } from '../../lib/export-types' 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 89b0c46372..f39402b11f 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.js' -import type { Space } from '../../lib/export-types.js' +import { getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers' +import type { Space } from '../../lib/export-types' 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 47f37defcd..35e0fd094b 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.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 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 { createTestSpace, defaultClient, initPlainClient, timeoutToCalmRateLimiting, -} from '../helpers.js' -import { makeLink } from '../utils.js' +} from '../helpers' +import { makeLink } from '../utils' describe('ReleaseAction Api', () => { let testSpace: Space diff --git a/test/integration/release-integration.test.ts b/test/integration/release-integration.test.ts index 2d88a7c537..ca05c1814f 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.js' -import { waitForReleaseActionProcessing } from '../../lib/methods/release-action.js' -import { TestDefaults } from '../defaults.js' +import type { Environment, Space } from '../../lib/export-types' +import { waitForReleaseActionProcessing } from '../../lib/methods/release-action' +import { TestDefaults } from '../defaults' import { createTestSpace, initPlainClient, defaultClient, timeoutToCalmRateLimiting, -} from '../helpers.js' -import { makeLink } from '../utils.js' +} from '../helpers' +import { makeLink } from '../utils' describe('Release Api', () => { let testSpace: Space diff --git a/test/integration/resource-integration.test.ts b/test/integration/resource-integration.test.ts index 7dfa540001..4381252a47 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.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' +} 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 { AppInstallation, Environment, ResourceProvider, ResourceType, -} from '../../lib/export-types.js' -import { TestDefaults } from '../defaults.js' +} from '../../lib/export-types' +import { TestDefaults } from '../defaults' 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 a82953bc0e..6148e841ac 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.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' +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' describe('ResourceProvider API', () => { const functionManifest = { diff --git a/test/integration/resource-type-integration.test.ts b/test/integration/resource-type-integration.test.ts index f2f6a967d8..bf6354fbba 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.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 { 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 { AppInstallationProps, PlainClientAPI, ResourceProvider, ResourceType, ResourceTypeProps, -} from '../../lib/export-types.js' -import { TestDefaults } from '../defaults.js' +} from '../../lib/export-types' +import { TestDefaults } from '../defaults' describe('ResourceType API', () => { const functionManifest = { diff --git a/test/integration/role-integration.test.ts b/test/integration/role-integration.test.ts index bc3872eeea..f85eef5e1b 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.js' +import type { Organization, RoleProps, Space } from '../../lib/export-types' import { defaultClient, createTestSpace, generateRandomId, getTestOrganization, timeoutToCalmRateLimiting, -} from '../helpers.js' +} from '../helpers' 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 e44b569889..87a9c824f2 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.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' +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' const ONE_DAY_MS = 3600 * 1000 * 24 diff --git a/test/integration/space-integration.test.ts b/test/integration/space-integration.test.ts index 9f7375b15e..111c129cd1 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.js' -import type { Organization } from '../../lib/export-types.js' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import type { Organization } from '../../lib/export-types' 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 99ac2e891a..e868430b31 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.js' -import { TestDefaults } from '../defaults.js' -import type { Space } from '../../lib/export-types.js' +import { getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers' +import { TestDefaults } from '../defaults' +import type { Space } from '../../lib/export-types' const { spaceId, userId } = TestDefaults diff --git a/test/integration/space-membership-integration.test.ts b/test/integration/space-membership-integration.test.ts index fcbcd353a7..c681847743 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.js' -import { TestDefaults } from '../defaults.js' -import type { Space } from '../../lib/export-types.js' +} from '../helpers' +import { TestDefaults } from '../defaults' +import type { Space } from '../../lib/export-types' const { userEmail } = TestDefaults diff --git a/test/integration/space-team-integration.test.ts b/test/integration/space-team-integration.test.ts index 164e1a3aaf..d445af6306 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.js' -import type { Space } from '../../lib/export-types.js' +import { getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers' +import type { Space } from '../../lib/export-types' 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 0fbb92bf8f..8d55196cad 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.js' -import { TestDefaults } from '../defaults.js' -import type { Space } from '../../lib/export-types.js' +import { getDefaultSpace, timeoutToCalmRateLimiting } from '../helpers' +import { TestDefaults } from '../defaults' +import type { Space } from '../../lib/export-types' const { userId } = TestDefaults diff --git a/test/integration/tag-integration.test.ts b/test/integration/tag-integration.test.ts index 7bf929f0bd..de4aa1f58c 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.js' -import type { Space, Environment, Tag, Link } from '../../lib/export-types.js' +} from '../helpers' +import type { Space, Environment, Tag, Link } from '../../lib/export-types' function randomTagId(): string { return generateRandomId('test-tag') diff --git a/test/integration/task-integration.test.ts b/test/integration/task-integration.test.ts index aee64ea1dd..44c9fa293f 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.js' -import type { Space, Environment, Entry, Task, Link } from '../../lib/export-types.js' +} from '../helpers' +import type { Space, Environment, Entry, Task, Link } from '../../lib/export-types' describe('Task API', () => { let space: Space diff --git a/test/integration/taxonomy-integration.test.ts b/test/integration/taxonomy-integration.test.ts index c5554fc7c4..e270b0cc65 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.js' -import type { ConceptSchemeProps, CreateConceptSchemeProps } from '../../lib/export-types.js' -import { getTestOrganizationId, initPlainClient, timeoutToCalmRateLimiting } from '../helpers.js' +import type { ConceptProps, CreateConceptProps } from '../../lib/entities/concept' +import type { ConceptSchemeProps, CreateConceptSchemeProps } from '../../lib/export-types' +import { getTestOrganizationId, initPlainClient, timeoutToCalmRateLimiting } from '../helpers' let conceptsToDelete: ConceptProps[] = [] let conceptSchemesToDelete: ConceptSchemeProps[] = [] diff --git a/test/integration/team-integration.test.ts b/test/integration/team-integration.test.ts index c872d01862..8f845a5ea3 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.js' -import { TestDefaults } from '../defaults.js' -import type { Organization } from '../../lib/export-types.js' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import { TestDefaults } from '../defaults' +import type { Organization } from '../../lib/export-types' const { teamId, teamName } = TestDefaults diff --git a/test/integration/team-membership-integration.test.ts b/test/integration/team-membership-integration.test.ts index cd89f8b30c..61b9b5510a 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.js' -import { TestDefaults } from '../defaults.js' -import type { Organization } from '../../lib/export-types.js' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import { TestDefaults } from '../defaults' +import type { Organization } from '../../lib/export-types' 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 3df9451379..a89831d27b 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.js' -import { TestDefaults } from '../defaults.js' -import type { Space, Link } from '../../lib/export-types.js' +import { defaultClient, createTestSpace, timeoutToCalmRateLimiting } from '../helpers' +import { TestDefaults } from '../defaults' +import type { Space, Link } from '../../lib/export-types' const { teamId } = TestDefaults diff --git a/test/integration/ui-extension-integration.test.ts b/test/integration/ui-extension-integration.test.ts index 2762ddda26..a2a38553a9 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.js' -import type { Space, Environment } from '../../lib/export-types.js' +} from '../helpers' +import type { Space, Environment } from '../../lib/export-types' describe('Extension API', () => { let space: Space diff --git a/test/integration/upload-credential.test.ts b/test/integration/upload-credential.test.ts index 12c734b578..03e70bc3cb 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.js' +import type { Environment, PlainClientAPI, Space } from '../../lib/export-types' import { createTestEnvironment, createTestSpace, initClient, initPlainClient, waitForEnvironmentToBeReady, -} from '../helpers.js' +} from '../helpers' describe('Upload Credential Integration', () => { let space: Space diff --git a/test/integration/user-integration.test.ts b/test/integration/user-integration.test.ts index 7110c42d1f..f3b7fe648d 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.js' -import { TestDefaults } from '../defaults.js' -import type { Organization } from '../../lib/export-types.js' +import { getTestOrganization, timeoutToCalmRateLimiting } from '../helpers' +import { TestDefaults } from '../defaults' +import type { Organization } from '../../lib/export-types' const { userId } = TestDefaults diff --git a/test/integration/webhook-integration.test.ts b/test/integration/webhook-integration.test.ts index 61c55256ed..8e3574483f 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.js' -import type { Space } from '../../lib/export-types.js' -import type { WebhookRetryPolicyProps } from '../../lib/entities/webhook.js' +import { defaultClient, createTestSpace, timeoutToCalmRateLimiting } from '../helpers' +import type { Space } from '../../lib/export-types' +import type { WebhookRetryPolicyProps } from '../../lib/entities/webhook' describe('Webhook API', () => { let space: Space diff --git a/test/integration/workflow-integration.test.ts b/test/integration/workflow-integration.test.ts index 1475bda740..762556093b 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.js' +} from '../helpers' import type { ContentType, Entry, @@ -13,8 +13,8 @@ import type { PlainClientAPI, Space, WorkflowDefinitionProps, -} from '../../lib/export-types.js' -import { makeLink } from '../utils.js' +} from '../../lib/export-types' +import { makeLink } from '../utils' describe('Workflow Api', () => { let plainClient: PlainClientAPI 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 a7abc477f5..8174a6c9a9 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.js' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import { cloneMock } from '../../../mocks/entities' +import setupRestAdapter from '../helpers/setupRestAdapter' 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 c96593db37..1d565b5d44 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.js' -import { wrapAsset } from '../../../../../lib/entities/asset.js' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import { cloneMock, assetWithFilesMock } from '../../../mocks/entities' +import { wrapAsset } from '../../../../../lib/entities/asset' +import setupRestAdapter from '../helpers/setupRestAdapter' 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 a8c5342431..3cba956b33 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.js' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import { cloneMock } from '../../../mocks/entities' +import setupRestAdapter from '../helpers/setupRestAdapter' function setup(promise: Promise, params = {}, type = 'conceptScheme') { return { diff --git a/test/unit/adapters/REST/endpoints/concept.test.ts b/test/unit/adapters/REST/endpoints/concept.test.ts index bfef6c9f39..334caf3ec4 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.js' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import { cloneMock } from '../../../mocks/entities' +import setupRestAdapter from '../helpers/setupRestAdapter' function setup(promise, params = {}, type = 'concept') { return { diff --git a/test/unit/adapters/REST/endpoints/entry.test.ts b/test/unit/adapters/REST/endpoints/entry.test.ts index 2743d568f5..c0d7d37596 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.js' -import { wrapEntry } from '../../../../../lib/entities/entry.js' +import { cloneMock } from '../../../mocks/entities' +import { wrapEntry } from '../../../../../lib/entities/entry' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import setupRestAdapter from '../helpers/setupRestAdapter' 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 0be1ddb675..403d58d5d2 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.js' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import { cloneMock } from '../../../mocks/entities' +import setupRestAdapter from '../helpers/setupRestAdapter' 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 cdbe3af830..8b029e988f 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.js' +import { reusableEntityUpdateTest } from '../reusable-tests/update' 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 3c6fb3bab0..d99b022eea 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.js' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import { cloneMock } from '../../../mocks/entities' +import setupRestAdapter from '../helpers/setupRestAdapter' 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 695f15d656..d480994af5 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.js' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import { cloneMock } from '../../../mocks/entities' +import setupRestAdapter from '../helpers/setupRestAdapter' 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 b3321b17e5..b77a82053a 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.js' +import setupRestAdapter from '../helpers/setupRestAdapter' 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 c7e2e3055e..e0e7273635 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.js' -import { wrapOrganizationMembership } from '../../../../../lib/entities/organization-membership.js' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import { cloneMock } from '../../../mocks/entities' +import { wrapOrganizationMembership } from '../../../../../lib/entities/organization-membership' +import setupRestAdapter from '../helpers/setupRestAdapter' 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 9dec84465f..ae3f0b74d4 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.js' -import { wrapTeamMembership } from '../../../../../lib/entities/team-membership.js' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import { cloneMock } from '../../../mocks/entities' +import { wrapTeamMembership } from '../../../../../lib/entities/team-membership' +import setupRestAdapter from '../helpers/setupRestAdapter' 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 dd9f93a243..9927b95777 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.js' -import { wrapTeam } from '../../../../../lib/entities/team.js' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import { cloneMock } from '../../../mocks/entities' +import { wrapTeam } from '../../../../../lib/entities/team' +import setupRestAdapter from '../helpers/setupRestAdapter' 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 887a3c7b68..96d48b1f46 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.js' -import { cloneMock } from '../../../mocks/entities.js' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import { wrapUIConfig } from '../../../../../lib/entities/ui-config' +import { cloneMock } from '../../../mocks/entities' +import setupRestAdapter from '../helpers/setupRestAdapter' 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 aafa9d7542..5528974385 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.js' +import { cloneMock } from '../../../mocks/entities' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import setupRestAdapter from '../helpers/setupRestAdapter' 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 7ed9ca7b88..7b06cd073c 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.js' -import { cloneMock } from '../../../mocks/entities.js' -import setupRestAdapter from '../helpers/setupRestAdapter.js' +import { wrapUIConfig } from '../../../../../lib/entities/ui-config' +import { cloneMock } from '../../../mocks/entities' +import setupRestAdapter from '../helpers/setupRestAdapter' 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 6c9c267396..87208b739b 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.js' +import { normalizeSpaceId } from '../../../../../lib/adapters/REST/endpoints/utils' 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 70dd9834b5..3c6c04d638 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.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' +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' 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 5da84dd69e..2d80e913d1 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.js' -import setupRestAdapter from './helpers/setupRestAdapter.js' +import { RestAdapter } from '../../../../lib/adapters/REST/rest-adapter' +import setupRestAdapter from './helpers/setupRestAdapter' 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 f988b84ddc..534cd571db 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.js' -import { cloneMock } from '../../../mocks/entities.js' +import setupRestAdapter from '../helpers/setupRestAdapter' +import { cloneMock } from '../../../mocks/entities' 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 e182740817..8989c816f7 100644 --- a/test/unit/constants/controls-defaults.test.ts +++ b/test/unit/constants/controls-defaults.test.ts @@ -4,7 +4,7 @@ import { FIELD_TYPES, toApiFieldType, getDefaultControlOfField, -} from '../../../lib/constants/editor-interface-defaults/controls-defaults.js' +} from '../../../lib/constants/editor-interface-defaults/controls-defaults' const baseField = { id: 'mockedId', name: 'mockedName', required: false, localized: false } diff --git a/test/unit/create-adapter.test.ts b/test/unit/create-adapter.test.ts index 07940565c2..be4f1eb326 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.js' -import { RestAdapter } from '../../lib/adapters/REST/rest-adapter.js' -import { createAdapter } from '../../lib/create-adapter.js' +import type { RestAdapterParams } from '../../lib/adapters/REST/rest-adapter' +import { RestAdapter } from '../../lib/adapters/REST/rest-adapter' +import { createAdapter } from '../../lib/create-adapter' 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 120b895853..406517769f 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.js' +import createAppDefinitionApi from '../../lib/create-app-definition-api' import { appBundleMock, appDefinitionMock, setupEntitiesMock, appInstallationsForOrgMock, resourceProviderMock, -} from './mocks/entities.js' -import setupMakeRequest from './mocks/makeRequest.js' +} from './mocks/entities' +import setupMakeRequest from './mocks/makeRequest' import { makeGetCollectionTest, makeGetEntityTest, makeEntityMethodFailingTest, -} from './test-creators/static-entity-methods.js' +} from './test-creators/static-entity-methods' 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 23361ee140..23c3c585ae 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.js' -import { wrapEntry, wrapEntryCollection } from '../../lib/entities/entry.js' -import { commentMock, cloneMock, taskMock } from './mocks/entities.js' -import setupMakeRequest from './mocks/makeRequest.js' +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 { entityActionTest, entityCollectionActionTest, @@ -17,8 +17,8 @@ import { isDraftTest, isPublishedTest, isUpdatedTest, -} from './test-creators/instance-entity-methods.js' -import { makeEntityMethodFailingTest } from './test-creators/static-entity-methods.js' +} from './test-creators/instance-entity-methods' +import { makeEntityMethodFailingTest } from './test-creators/static-entity-methods' 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 54c092285f..4877138008 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.js' -import { wrapEntry, wrapEntryCollection } from '../../lib/entities/entry.js' -import { commentMock, cloneMock, taskMock } from './mocks/entities.js' -import setupMakeRequest from './mocks/makeRequest.js' +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 { entityActionTest, entityCollectionActionTest, @@ -17,8 +17,8 @@ import { isDraftTest, isPublishedTest, isUpdatedTest, -} from './test-creators/instance-entity-methods.js' -import { makeEntityMethodFailingTest } from './test-creators/static-entity-methods.js' +} from './test-creators/instance-entity-methods' +import { makeEntityMethodFailingTest } from './test-creators/static-entity-methods' 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 925d4f1762..15545cddbe 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.js' +} from './mocks/entities' import { describe, test, expect } from 'vitest' import { toPlainObject } from 'contentful-sdk-core' import { @@ -28,13 +28,13 @@ import { makeGetCollectionTest, makeGetEntityTest, testGettingEntrySDKObject, -} 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' +} 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' 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 832e99102b..ae3e861ca4 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.js' +} from './mocks/entities' import { describe, test, expect } from 'vitest' -import setupMakeRequest from './mocks/makeRequest.js' -import { createEnvironmentTemplateApi } from '../../lib/create-environment-template-api.js' -import { makeLink } from '../utils.js' +import setupMakeRequest from './mocks/makeRequest' +import { createEnvironmentTemplateApi } from '../../lib/create-environment-template-api' +import { makeLink } from '../utils' 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 508efa7f4e..773c1297f6 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.js' +import createOrganizationApi from '../../lib/create-organization-api' import { appActionMock, appDefinitionMock, @@ -19,14 +19,14 @@ import { userMock, functionCollectionMock, functionMock, -} from './mocks/entities.js' +} from './mocks/entities' import { makeGetEntityTest, makeGetCollectionTest, makeCreateEntityTest, makeEntityMethodFailingTest, -} from './test-creators/static-entity-methods.js' -import setupMakeRequest from './mocks/makeRequest.js' +} from './test-creators/static-entity-methods' +import setupMakeRequest from './mocks/makeRequest' 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 80c726c28a..76585a9c22 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.js' +import createSpaceApi from '../../lib/create-space-api' import { apiKeyMock, cloneMock, @@ -16,15 +16,15 @@ import { teamSpaceMembershipMock, userMock, webhookMock, -} from './mocks/entities.js' +} from './mocks/entities' import { makeCreateEntityTest, makeCreateEntityWithIdTest, makeEntityMethodFailingTest, makeGetCollectionTest, makeGetEntityTest, -} from './test-creators/static-entity-methods.js' -import setupMakeRequest from './mocks/makeRequest.js' +} from './test-creators/static-entity-methods' +import setupMakeRequest from './mocks/makeRequest' 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 d2b39cc614..759261d466 100644 --- a/test/unit/create-ui-config-api.test.ts +++ b/test/unit/create-ui-config-api.test.ts @@ -1,12 +1,12 @@ import { describe, test, afterEach, vi } from 'vitest' -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 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.js' +} from './test-creators/instance-entity-methods' 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 5015c7bc59..354079c415 100644 --- a/test/unit/create-user-ui-config-api.test.ts +++ b/test/unit/create-user-ui-config-api.test.ts @@ -1,12 +1,12 @@ import { describe, test, afterEach, vi } from 'vitest' -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 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.js' +} from './test-creators/instance-entity-methods' 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 f9bb9e2204..eb0739ccd9 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapAccessToken, wrapAccessTokenCollection } from '../../../lib/entities/access-token.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' +import { wrapAccessToken, wrapAccessTokenCollection } from '../../../lib/entities/access-token' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 56cc16d8b4..ee73879e2c 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.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 { 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 { 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 f039ba232c..8fd1d1f9a7 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapAiAction, wrapAiActionCollection } from '../../../lib/entities/ai-action.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' +import { wrapAiAction, wrapAiActionCollection } from '../../../lib/entities/ai-action' import { entityWrappedTest, entityCollectionWrappedTest, @@ -9,7 +9,7 @@ import { entityDeleteTest, failingActionTest, entityActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 5d02c899ca..637fbe11ab 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapApiKey, wrapApiKeyCollection } from '../../../lib/entities/api-key.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' +import { wrapApiKey, wrapApiKeyCollection } from '../../../lib/entities/api-key' import { entityCollectionWrappedTest, entityDeleteTest, @@ -8,7 +8,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 84e16a7de9..8756ecf4a5 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.js' -import { appAccessTokenMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' +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' function setup(promise) { return { diff --git a/test/unit/entities/app-bundle.test.ts b/test/unit/entities/app-bundle.test.ts index 46a33b59b3..e8703e247d 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapAppBundle, wrapAppBundleCollection } from '../../../lib/entities/app-bundle.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' +import { wrapAppBundle, wrapAppBundleCollection } from '../../../lib/entities/app-bundle' import { entityCollectionWrappedTest, entityWrappedTest, entityDeleteTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 dc7b4bb543..2ec70e6171 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { appDefinitionMock } from '../mocks/entities.js' +} from '../../../lib/entities/app-definition' +import setupMakeRequest from '../mocks/makeRequest' +import { appDefinitionMock } from '../mocks/entities' import { entityCollectionWrappedTest, entityDeleteTest, @@ -11,7 +11,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 19cb28edf2..a1c3d23956 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.js' +import { wrapAppDetails } from '../../../lib/entities/app-details' import { entityWrappedTest, entityDeleteTest, failingActionTest, -} from '../test-creators/instance-entity-methods.js' -import { appDetailsMock } from '../mocks/entities.js' +} from '../test-creators/instance-entity-methods' +import { appDetailsMock } from '../mocks/entities' import { describe, test } from 'vitest' -import setupMakeRequest from '../mocks/makeRequest.js' +import setupMakeRequest from '../mocks/makeRequest' 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 a18e13c13c..5966a709bc 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.js' -import { appEventSubscriptionMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapAppEventSubscription } from '../../../lib/entities/app-event-subscription' +import { appEventSubscriptionMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { entityDeleteTest, entityWrappedTest, failingActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/app-installation.test.ts b/test/unit/entities/app-installation.test.ts index 86c0adc448..bec5ab3837 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { wrapAppInstallation, wrapAppInstallationCollection, -} from '../../../lib/entities/app-installation.js' +} from '../../../lib/entities/app-installation' import { entityCollectionWrappedTest, entityDeleteTest, @@ -11,7 +11,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 3d8ad6517f..4c7413b434 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.js' -import { appKeyMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapAppKey, wrapAppKeyCollection } from '../../../lib/entities/app-key' +import { appKeyMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { entityCollectionWrappedTest, entityDeleteTest, entityWrappedTest, failingActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 d54ed8e279..b7a1cc0e53 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.js' -import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' -import { appSignedRequestMock } from '../mocks/entities.js' +import { wrapAppSignedRequest } from '../../../lib/entities/app-signed-request' +import { entityWrappedTest } from '../test-creators/instance-entity-methods' +import { appSignedRequestMock } from '../mocks/entities' import { describe, test } from 'vitest' -import setupMakeRequest from '../mocks/makeRequest.js' +import setupMakeRequest from '../mocks/makeRequest' 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 37af97a9af..e682946b01 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.js' +import { wrapAppSigningSecret } from '../../../lib/entities/app-signing-secret' import { entityWrappedTest, entityDeleteTest, failingActionTest, -} from '../test-creators/instance-entity-methods.js' -import { appSigningSecretMock } from '../mocks/entities.js' +} from '../test-creators/instance-entity-methods' +import { appSigningSecretMock } from '../mocks/entities' import { describe, test } from 'vitest' -import setupMakeRequest from '../mocks/makeRequest.js' +import setupMakeRequest from '../mocks/makeRequest' function setup(promise) { return { diff --git a/test/unit/entities/app-upload.test.ts b/test/unit/entities/app-upload.test.ts index 6d3f4b2c4a..05f1f47654 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapAppUpload, wrapAppUploadCollection } from '../../../lib/entities/app-upload' +import setupMakeRequest from '../mocks/makeRequest' import { describe, test } from 'vitest' import { entityCollectionWrappedTest, entityWrappedTest, failingActionTest, entityDeleteTest, -} from '../test-creators/instance-entity-methods.js' -import { appUploadMock } from '../mocks/entities.js' +} from '../test-creators/instance-entity-methods' +import { appUploadMock } from '../mocks/entities' function setup(promise) { return { diff --git a/test/unit/entities/asset-key.test.ts b/test/unit/entities/asset-key.test.ts index 0bcb56eba9..062efec32a 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.js' -import { wrapAssetKey } from '../../../lib/entities/asset-key.js' -import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' +import { cloneMock } from '../mocks/entities' +import { wrapAssetKey } from '../../../lib/entities/asset-key' +import { entityWrappedTest } from '../test-creators/instance-entity-methods' import { describe, test } from 'vitest' -import setupMakeRequest from '../mocks/makeRequest.js' +import setupMakeRequest from '../mocks/makeRequest' function setup(promise) { return { diff --git a/test/unit/entities/asset.test.ts b/test/unit/entities/asset.test.ts index af82ade066..69eae98e62 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapAsset, wrapAssetCollection } from '../../../lib/entities/asset.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' +import { wrapAsset, wrapAssetCollection } from '../../../lib/entities/asset' import { entityActionTest, entityCollectionWrappedTest, @@ -16,7 +16,7 @@ import { isDraftTest, isPublishedTest, isUpdatedTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/bulk-action.test.ts b/test/unit/entities/bulk-action.test.ts index 48de008849..4b351fc6e9 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' -import { wrapBulkAction } from '../../../lib/entities/bulk-action.js' -import { entityWrappedTest, entityActionTest } from '../test-creators/instance-entity-methods.js' +import { wrapBulkAction } from '../../../lib/entities/bulk-action' +import { entityWrappedTest, entityActionTest } from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/comment.test.ts b/test/unit/entities/comment.test.ts index bcbc7e42f3..799c0b733f 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.js' -import { cloneMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapComment, wrapCommentCollection } from '../../../lib/entities/comment' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { entityCollectionWrappedTest, entityDeleteTest, @@ -9,7 +9,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/content-type.test.ts b/test/unit/entities/content-type.test.ts index 798959a20c..e1ba8331a3 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapContentType, wrapContentTypeCollection } from '../../../lib/entities/content-type.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' +import { wrapContentType, wrapContentTypeCollection } from '../../../lib/entities/content-type' import { entityActionTest, entityCollectionActionTest, @@ -16,7 +16,7 @@ import { isPublishedTest, isUpdatedTest, omitAndDeleteFieldTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 dec8fbd5cc..8e4329b0f3 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.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 { 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 { 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 4eef089ac4..f9a40db73c 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.js' -import { cloneMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapEntry, wrapEntryCollection } from '../../../lib/entities/entry' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/environment-alias.test.ts b/test/unit/entities/environment-alias.test.ts index f9ff6f4629..42e4524920 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { wrapEnvironmentAlias, wrapEnvironmentAliasCollection, -} from '../../../lib/entities/environment-alias.js' +} from '../../../lib/entities/environment-alias' import { entityCollectionWrappedTest, entityUpdateTest, entityWrappedTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 b20d46f3bd..14999a6776 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.js' -import type { EnvironmentProps } from '../../../lib/entities/environment.js' -import { wrapEnvironment, wrapEnvironmentCollection } from '../../../lib/entities/environment.js' +import { cloneMock, environmentMock, mockCollection } from '../mocks/entities' +import type { EnvironmentProps } from '../../../lib/entities/environment' +import { wrapEnvironment, wrapEnvironmentCollection } from '../../../lib/entities/environment' import { describe, test, expect } from 'vitest' -import setupMakeRequest from '../mocks/makeRequest.js' +import setupMakeRequest from '../mocks/makeRequest' function setup(promise) { return { diff --git a/test/unit/entities/extension.test.ts b/test/unit/entities/extension.test.ts index 61e7b5418b..ed0ed8d0e5 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.js' -import { cloneMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapExtension, wrapExtensionCollection } from '../../../lib/entities/extension' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { entityActionTest, entityCollectionWrappedTest, entityDeleteTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/invitation.test.ts b/test/unit/entities/invitation.test.ts index ef3166deb1..74f807b827 100644 --- a/test/unit/entities/invitation.test.ts +++ b/test/unit/entities/invitation.test.ts @@ -1,7 +1,7 @@ -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 { 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 { describe, test } from 'vitest' function setup(promise) { diff --git a/test/unit/entities/locale.test.ts b/test/unit/entities/locale.test.ts index 0979d57abf..cf7c8103c9 100644 --- a/test/unit/entities/locale.test.ts +++ b/test/unit/entities/locale.test.ts @@ -1,6 +1,6 @@ -import { cloneMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapLocale, wrapLocaleCollection } from '../../../lib/entities/locale.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' +import { wrapLocale, wrapLocaleCollection } from '../../../lib/entities/locale' import { entityCollectionWrappedTest, entityDeleteTest, @@ -8,7 +8,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 68d304cd27..44a2c89fb0 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { wrapOAuthApplication, wrapOAuthApplicationCollection, -} from '../../../lib/entities/oauth-application.js' +} from '../../../lib/entities/oauth-application' import { entityWrappedTest, entityUpdateTest, entityDeleteTest, failingActionTest, entityCollectionWrappedTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/organization-membership.test.ts b/test/unit/entities/organization-membership.test.ts index 483bfd767e..b2a697c526 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { wrapOrganizationMembership, wrapOrganizationMembershipCollection, -} from '../../../lib/entities/organization-membership.js' +} from '../../../lib/entities/organization-membership' import { entityCollectionWrappedTest, entityWrappedTest, entityUpdateTest, failingActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 d2e26906e9..0595aed751 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.js' -import type { Organization } from '../../../lib/entities/organization.js' -import { wrapOrganization, wrapOrganizationCollection } from '../../../lib/entities/organization.js' -import setupMakeRequest from '../mocks/makeRequest.js' +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' 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 9d35fd578f..d03f23135d 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { wrapPersonalAccessToken, wrapPersonalAccessTokenCollection, -} from '../../../lib/entities/personal-access-token.js' +} from '../../../lib/entities/personal-access-token' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 43fe03cc8d..6913d12095 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { wrapPreviewApiKey, wrapPreviewApiKeyCollection, -} from '../../../lib/entities/preview-api-key.js' +} from '../../../lib/entities/preview-api-key' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/release-action.test.ts b/test/unit/entities/release-action.test.ts index bbb1f4c9b7..8743d2a6d6 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.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' +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' function setup(promise) { return { diff --git a/test/unit/entities/release.test.ts b/test/unit/entities/release.test.ts index 7def6807ad..ad2b47207e 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' -import { wrapRelease, wrapReleaseCollection } from '../../../lib/entities/release.js' +import { wrapRelease, wrapReleaseCollection } from '../../../lib/entities/release' import { entityWrappedTest, entityCollectionWrappedTest, entityDeleteTest, entityUpdateTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/resource-provider.test.ts b/test/unit/entities/resource-provider.test.ts index 509d3b2b3b..c505c10edf 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.js' -import { cloneMock, resourceTypeMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapResourceProvider } from '../../../lib/entities/resource-provider.js' +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 { entityActionTest, entityWrappedTest, entityDeleteTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' import { describe, it, expect } from 'vitest' -import type { ResourceTypeProps } from '../../../lib/entities/resource-type.js' -import type { CollectionProp } from '../../../lib/common-types.js' +import type { ResourceTypeProps } from '../../../lib/entities/resource-type' +import type { CollectionProp } from '../../../lib/common-types' function setup(promise: Promise) { return { diff --git a/test/unit/entities/resource-type.test.ts b/test/unit/entities/resource-type.test.ts index 35eedf9ade..dbeaddf197 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { entityActionTest, entityWrappedTest, entityDeleteTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' import { describe, it } from 'vitest' -import { wrapResourceType, type ResourceTypeProps } from '../../../lib/entities/resource-type.js' +import { wrapResourceType, type ResourceTypeProps } from '../../../lib/entities/resource-type' function setup(promise: Promise) { return { diff --git a/test/unit/entities/role.test.ts b/test/unit/entities/role.test.ts index 5cd060eab8..181d3b08fe 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapRole, wrapRoleCollection } from '../../../lib/entities/role.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' +import { wrapRole, wrapRoleCollection } from '../../../lib/entities/role' import { entityCollectionWrappedTest, entityDeleteTest, @@ -9,7 +9,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/scheduled-action.test.ts b/test/unit/entities/scheduled-action.test.ts index b369e6ed2b..3669c47f89 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { wrapScheduledAction, wrapScheduledActionCollection, -} from '../../../lib/entities/scheduled-action.js' +} from '../../../lib/entities/scheduled-action' import { entityCollectionWrappedTest, entityDeleteTest, entityUpdateTest, entityWrappedTest, failingActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/space-member.test.ts b/test/unit/entities/space-member.test.ts index c7f8a0b0e2..51e187e51c 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapSpaceMember, wrapSpaceMemberCollection } from '../../../lib/entities/space-member.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' +import { wrapSpaceMember, wrapSpaceMemberCollection } from '../../../lib/entities/space-member' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/space-membership.test.ts b/test/unit/entities/space-membership.test.ts index 30810748cf..672a5a770d 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { wrapSpaceMembership, wrapSpaceMembershipCollection, -} from '../../../lib/entities/space-membership.js' +} from '../../../lib/entities/space-membership' import { entityCollectionWrappedTest, entityDeleteTest, @@ -12,7 +12,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/space.test.ts b/test/unit/entities/space.test.ts index ac9bb37e01..56583f17a6 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.js' -import type { Space } from '../../../lib/entities/space.js' -import { wrapSpace, wrapSpaceCollection } from '../../../lib/entities/space.js' -import setupMakeRequest from '../mocks/makeRequest.js' +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' function setup(promise) { return { diff --git a/test/unit/entities/tag.test.ts b/test/unit/entities/tag.test.ts index 0832c7dd20..b033fa4701 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { cloneMock } from '../mocks/entities.js' +import { wrapTag } from '../../../lib/entities/tag' +import setupMakeRequest from '../mocks/makeRequest' +import { cloneMock } from '../mocks/entities' import { entityDeleteTest, entityUpdateTest, failingActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/task.test.ts b/test/unit/entities/task.test.ts index d9ef3f2fa6..ae3a331524 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.js' -import { cloneMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapTask, wrapTaskCollection } from '../../../lib/entities/task' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { entityCollectionWrappedTest, entityDeleteTest, @@ -9,7 +9,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/team-membership.test.ts b/test/unit/entities/team-membership.test.ts index 7291590380..af96add09e 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { wrapTeamMembership, wrapTeamMembershipCollection, -} from '../../../lib/entities/team-membership.js' +} from '../../../lib/entities/team-membership' import { entityWrappedTest, entityUpdateTest, entityDeleteTest, failingActionTest, entityCollectionWrappedTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 48528f7597..3b32ba6965 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { wrapTeamSpaceMembership, wrapTeamSpaceMembershipCollection, -} from '../../../lib/entities/team-space-membership.js' +} from '../../../lib/entities/team-space-membership' import { entityWrappedTest, entityCollectionWrappedTest, @@ -12,7 +12,7 @@ import { failingActionTest, failingVersionActionTest, entityUpdateTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/team.test.ts b/test/unit/entities/team.test.ts index 314c7984bb..bfd79620ea 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapTeam, wrapTeamCollection } from '../../../lib/entities/team.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' +import { wrapTeam, wrapTeamCollection } from '../../../lib/entities/team' import { entityWrappedTest, entityCollectionWrappedTest, failingActionTest, entityUpdateTest, entityDeleteTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/ui-config.test.ts b/test/unit/entities/ui-config.test.ts index 97908fa51d..bb9fe20ceb 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.js' -import { cloneMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' +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' function setup(promise) { return { diff --git a/test/unit/entities/upload-credential.test.ts b/test/unit/entities/upload-credential.test.ts index 0c47edb99f..83d36198f7 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.js' -import { cloneMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' +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' function setup(promise) { return { diff --git a/test/unit/entities/upload.test.ts b/test/unit/entities/upload.test.ts index d2f96cfc83..5be35e980a 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapUpload } from '../../../lib/entities/upload.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' +import { wrapUpload } from '../../../lib/entities/upload' import { entityDeleteTest, entityWrappedTest, failingActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/usage.test.ts b/test/unit/entities/usage.test.ts index bcd654c196..a30e1a425d 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapUsageCollection } from '../../../lib/entities/usage.js' -import { entityCollectionWrappedTest } from '../test-creators/instance-entity-methods.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' +import { wrapUsageCollection } from '../../../lib/entities/usage' +import { entityCollectionWrappedTest } from '../test-creators/instance-entity-methods' 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 e9d3d23f6d..9801825a85 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.js' -import { cloneMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { entityWrappedTest } from '../test-creators/instance-entity-methods.js' +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' function setup(promise) { return { diff --git a/test/unit/entities/user.test.ts b/test/unit/entities/user.test.ts index b8bf246894..d6e04dc155 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.js' -import setupMakeRequest from '../mocks/makeRequest.js' -import { wrapUser, wrapUserCollection } from '../../../lib/entities/user.js' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' +import { wrapUser, wrapUserCollection } from '../../../lib/entities/user' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/webhook.test.ts b/test/unit/entities/webhook.test.ts index 2575f33eb7..13fb367860 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.js' -import { cloneMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapWebhook, wrapWebhookCollection } from '../../../lib/entities/webhook' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { entityCollectionWrappedTest, entityDeleteTest, @@ -9,7 +9,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/workflow-definition.test.ts b/test/unit/entities/workflow-definition.test.ts index e97d450400..b57ebdeec4 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.js' -import { cloneMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' +} from '../../../lib/entities/workflow-definition' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { entityCollectionWrappedTest, entityDeleteTest, @@ -12,7 +12,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/entities/workflow.test.ts b/test/unit/entities/workflow.test.ts index 35ce1fe3e7..d80ec19d0d 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.js' -import { cloneMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' +import { wrapWorkflow, wrapWorkflowCollection } from '../../../lib/entities/workflow' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { entityActionTest, entityCollectionWrappedTest, @@ -10,7 +10,7 @@ import { entityWrappedTest, failingActionTest, failingVersionActionTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' 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 2f0aaecb15..ae1ac6102c 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.js' -import { cloneMock } from '../mocks/entities.js' -import setupMakeRequest from '../mocks/makeRequest.js' +} from '../../../lib/entities/workflows-changelog-entry' +import { cloneMock } from '../mocks/entities' +import setupMakeRequest from '../mocks/makeRequest' import { entityCollectionWrappedTest, entityWrappedTest, -} from '../test-creators/instance-entity-methods.js' +} from '../test-creators/instance-entity-methods' function setup(promise) { return { diff --git a/test/unit/mocks/entities.ts b/test/unit/mocks/entities.ts index 58ebc0cf79..8f28b13d92 100644 --- a/test/unit/mocks/entities.ts +++ b/test/unit/mocks/entities.ts @@ -1,94 +1,94 @@ import { vi } from 'vitest' import cloneDeep from 'lodash/cloneDeep' -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 { 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.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' +} 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 type { EnvironmentTemplateInstallationProps, EnvironmentTemplateValidationProps, -} 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' +} 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' import type { AppActionCallProps, AppActionCallResponseData, -} from '../../../lib/entities/app-action-call.js' -import type { AppDetailsProps } from '../../../lib/entities/app-details.js' +} from '../../../lib/entities/app-action-call' +import type { AppDetailsProps } from '../../../lib/entities/app-details' import type { AppDefinitionProps, AppInstallationsForOrganizationProps, -} 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' +} 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' import type { ScheduledActionCollection, ScheduledActionProps, -} from '../../../lib/entities/scheduled-action.js' -import { ScheduledActionStatus } from '../../../lib/entities/scheduled-action.js' +} from '../../../lib/entities/scheduled-action' +import { ScheduledActionStatus } from '../../../lib/entities/scheduled-action' import type { WorkflowDefinitionProps, WorkflowStepProps, -} 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' +} 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' import { AiActionInvocationProps, AiActionInvocationType, -} from '../../../lib/entities/ai-action-invocation.js' +} from '../../../lib/entities/ai-action-invocation' const linkMock: MetaLinkProps = { id: 'linkid', diff --git a/test/unit/mocks/makeRequest.ts b/test/unit/mocks/makeRequest.ts index 2e730724fb..f9fc08baeb 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.js' +import type { MakeRequest } from '../../../lib/common-types' 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 6e2fca8992..73a658a764 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-es' -import { asIterator } from '../../../lib/plain/as-iterator.js' -import type { CollectionProp } from '../../../lib/common-types.js' +import { asIterator } from '../../../lib/plain/as-iterator' +import type { CollectionProp } from '../../../lib/common-types' 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 bb5baf7c29..09464b470e 100644 --- a/test/unit/plain/pagination-helper.test.ts +++ b/test/unit/plain/pagination-helper.test.ts @@ -4,13 +4,13 @@ import type { CursorBasedParams, FetchFn, OffsetBasedParams, -} from '../../../lib/plain/pagination-helper.js' -import { fetchAll } from '../../../lib/plain/pagination-helper.js' -import type { BasicCursorPaginationOptions } from '../../../lib/common-types.js' +} 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.js' +} from '../../../lib/common-types' const defaultLimit = 2 diff --git a/test/unit/plain/resource-provider.test.ts b/test/unit/plain/resource-provider.test.ts index 9fc0fa4de7..b3afe3d7df 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/index.js' -import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter.js' -import { resourceProviderMock } from '../mocks/entities.js' +import { createClient } from '../../../lib/index' +import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' +import { resourceProviderMock } from '../mocks/entities' describe('ResourceProvider', () => { const organizationId = 'organizationId' diff --git a/test/unit/plain/resource-type.test.ts b/test/unit/plain/resource-type.test.ts index 22dcaf7541..3ac7a05a52 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/index.js' -import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter.js' -import { resourceTypeMock } from '../mocks/entities.js' +import { createClient } from '../../../lib/index' +import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' +import { resourceTypeMock } from '../mocks/entities' describe('ResourceType', () => { const organizationId = 'organizationId' diff --git a/test/unit/plain/resource.test.ts b/test/unit/plain/resource.test.ts index d3a68275ad..3d257067c4 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/index.js' -import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter.js' -import { resourceMock } from '../mocks/entities.js' +import { createClient } from '../../../lib/index' +import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' +import { resourceMock } from '../mocks/entities' describe('Resource', () => { const spaceId = 'spaceId' diff --git a/test/unit/plain/webhook.test.ts b/test/unit/plain/webhook.test.ts index cea28b3db8..44c668b153 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/index.js' -import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter.js' +import { createClient } from '../../../lib/index' +import setupRestAdapter from '../adapters/REST/helpers/setupRestAdapter' 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 2874ab6cfc..0ae25ef6f7 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.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 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 { 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 5237ff0cee..e741c0b765 100644 --- a/test/unit/test-creators/static-entity-methods.ts +++ b/test/unit/test-creators/static-entity-methods.ts @@ -1,4 +1,4 @@ -import { cloneMock } from '../mocks/entities.js' +import { cloneMock } from '../mocks/entities' import { cloneDeep } from 'lodash-es' import { upperFirst } from 'lodash-es' import { expect } from 'vitest' diff --git a/test/utils.ts b/test/utils.ts index a95246d8df..f071a84467 100644 --- a/test/utils.ts +++ b/test/utils.ts @@ -1,4 +1,4 @@ -import type { Link, VersionedLink } from '../lib/common-types.js' +import type { Link, VersionedLink } from '../lib/common-types' export function makeLink(type: T, id: string): Link { return { From eff555605de8fb8f7ad908b6b43c9566302ad8a5 Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Tue, 18 Nov 2025 16:09:37 -0700 Subject: [PATCH 48/48] chore: format fix --- test/integration/comment-integration.test.ts | 8 +------- test/unit/create-ui-config-api.test.ts | 5 +---- test/unit/create-user-ui-config-api.test.ts | 5 +---- test/unit/mocks/entities.ts | 7 +------ test/unit/plain/pagination-helper.test.ts | 5 +---- 5 files changed, 5 insertions(+), 25 deletions(-) diff --git a/test/integration/comment-integration.test.ts b/test/integration/comment-integration.test.ts index d8fcc6dd42..d3caf36798 100644 --- a/test/integration/comment-integration.test.ts +++ b/test/integration/comment-integration.test.ts @@ -6,13 +6,7 @@ import { initPlainClient, timeoutToCalmRateLimiting, } from '../helpers' -import type { - ContentType, - Entry, - Environment, - PlainClientAPI, - Space, -} from '../../lib/export-types' +import type { ContentType, Entry, Environment, PlainClientAPI, Space } from '../../lib/export-types' describe('Comment Api', () => { let plainClient: PlainClientAPI diff --git a/test/unit/create-ui-config-api.test.ts b/test/unit/create-ui-config-api.test.ts index 759261d466..f5e15f963a 100644 --- a/test/unit/create-ui-config-api.test.ts +++ b/test/unit/create-ui-config-api.test.ts @@ -3,10 +3,7 @@ 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 { entityUpdateTest, failingVersionActionTest } from './test-creators/instance-entity-methods' 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 354079c415..a04df19a78 100644 --- a/test/unit/create-user-ui-config-api.test.ts +++ b/test/unit/create-user-ui-config-api.test.ts @@ -3,10 +3,7 @@ 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 { entityUpdateTest, failingVersionActionTest } from './test-creators/instance-entity-methods' function setup(promise) { const makeRequest = setupMakeRequest(promise) diff --git a/test/unit/mocks/entities.ts b/test/unit/mocks/entities.ts index 8f28b13d92..42478f1fa2 100644 --- a/test/unit/mocks/entities.ts +++ b/test/unit/mocks/entities.ts @@ -4,12 +4,7 @@ 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 { 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' diff --git a/test/unit/plain/pagination-helper.test.ts b/test/unit/plain/pagination-helper.test.ts index 09464b470e..dd696b86ea 100644 --- a/test/unit/plain/pagination-helper.test.ts +++ b/test/unit/plain/pagination-helper.test.ts @@ -7,10 +7,7 @@ import type { } 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' +import { type CollectionProp, type CursorPaginatedCollectionProp } from '../../../lib/common-types' const defaultLimit = 2