diff --git a/.github/config/release.json b/.github/config/release.json index 078a8824bf..a63e81c81e 100755 --- a/.github/config/release.json +++ b/.github/config/release.json @@ -9,7 +9,6 @@ "import": false, "clone": false, "export-to-csv": false, - "migrate-rte": false, "migration": false, "seed": false, "bootstrap": false, diff --git a/.github/workflows/release-beta.yml b/.github/workflows/release-beta.yml index b11f78e37f..736dbe1a3b 100644 --- a/.github/workflows/release-beta.yml +++ b/.github/workflows/release-beta.yml @@ -243,20 +243,6 @@ jobs: package: ./packages/contentstack-export-to-csv/package.json tag: beta - # Migrate RTE - - name: Installing dependencies of migrate rte - id: migrate-rte-installation - if: ${{env.release_releaseAll == 'true' || env.release_plugins_migrate-rte == 'true'}} - working-directory: ./packages/contentstack-migrate-rte - run: npm install - - name: Publishing migrate rte (Beta) - uses: JS-DevTools/npm-publish@v3 - if: ${{ steps.migrate-rte-installation.conclusion == 'success' }} - with: - token: ${{ secrets.NPM_TOKEN }} - package: ./packages/contentstack-migrate-rte/package.json - tag: beta - # Migration - name: Installing dependencies of migration id: migration-installation diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index accc815e98..37bdc7187b 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -230,19 +230,6 @@ jobs: token: ${{ secrets.NPM_TOKEN }} package: ./packages/contentstack-export-to-csv/package.json - # Migrate RTE - - name: Installing dependencies of migrate rte - id: migrate-rte-installation - if: ${{env.release_releaseAll == 'true' || env.release_plugins_migrate-rte == 'true'}} - working-directory: ./packages/contentstack-migrate-rte - run: npm install - - name: Publishing migrate rte - uses: JS-DevTools/npm-publish@v3 - if: ${{ steps.migrate-rte-installation.conclusion == 'success' }} - with: - token: ${{ secrets.NPM_TOKEN }} - package: ./packages/contentstack-migrate-rte/package.json - # Migration - name: Installing dependencies of migration id: migration-installation diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index e094553fa4..05b9244a97 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -40,10 +40,6 @@ jobs: working-directory: ./packages/contentstack-config run: npm run test - - name: Run tests for Contentstack Migrate RTE - working-directory: ./packages/contentstack-migrate-rte - run: npm run test - - name: Run tests for Contentstack Migration working-directory: ./packages/contentstack-migration run: npm run test diff --git a/package-lock.json b/package-lock.json index 2455805114..eb2fbbf89c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -280,47 +280,46 @@ } }, "node_modules/@aws-sdk/client-cloudfront": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-cloudfront/-/client-cloudfront-3.930.0.tgz", - "integrity": "sha512-g0jkrZRb7JKdty4sJfxc2rsoMPMujJ+o9C0KiTutuAhEmjVFEGCKeLwMoQCvANwkt1x4S7CUqAB7UOLQlUSGhQ==", + "version": "3.939.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-cloudfront/-/client-cloudfront-3.939.0.tgz", + "integrity": "sha512-urG8IbG3Y0nbXm349yWWbWUqZAisLTI6SUz9s2pmnqrpOTv0CkybaAugYfvIvBDmI3iFIuQ/6NBbx/aPlkIJlw==", "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.930.0", - "@aws-sdk/credential-provider-node": "3.930.0", - "@aws-sdk/middleware-host-header": "3.930.0", - "@aws-sdk/middleware-logger": "3.930.0", - "@aws-sdk/middleware-recursion-detection": "3.930.0", - "@aws-sdk/middleware-user-agent": "3.930.0", - "@aws-sdk/region-config-resolver": "3.930.0", - "@aws-sdk/types": "3.930.0", - "@aws-sdk/util-endpoints": "3.930.0", - "@aws-sdk/util-user-agent-browser": "3.930.0", - "@aws-sdk/util-user-agent-node": "3.930.0", - "@aws-sdk/xml-builder": "3.930.0", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/credential-provider-node": "3.939.0", + "@aws-sdk/middleware-host-header": "3.936.0", + "@aws-sdk/middleware-logger": "3.936.0", + "@aws-sdk/middleware-recursion-detection": "3.936.0", + "@aws-sdk/middleware-user-agent": "3.936.0", + "@aws-sdk/region-config-resolver": "3.936.0", + "@aws-sdk/types": "3.936.0", + "@aws-sdk/util-endpoints": "3.936.0", + "@aws-sdk/util-user-agent-browser": "3.936.0", + "@aws-sdk/util-user-agent-node": "3.936.0", "@smithy/config-resolver": "^4.4.3", - "@smithy/core": "^3.18.2", + "@smithy/core": "^3.18.5", "@smithy/fetch-http-handler": "^5.3.6", "@smithy/hash-node": "^4.2.5", "@smithy/invalid-dependency": "^4.2.5", "@smithy/middleware-content-length": "^4.2.5", - "@smithy/middleware-endpoint": "^4.3.9", - "@smithy/middleware-retry": "^4.4.9", - "@smithy/middleware-serde": "^4.2.5", + "@smithy/middleware-endpoint": "^4.3.12", + "@smithy/middleware-retry": "^4.4.12", + "@smithy/middleware-serde": "^4.2.6", "@smithy/middleware-stack": "^4.2.5", "@smithy/node-config-provider": "^4.3.5", "@smithy/node-http-handler": "^4.4.5", "@smithy/protocol-http": "^5.3.5", - "@smithy/smithy-client": "^4.9.5", + "@smithy/smithy-client": "^4.9.8", "@smithy/types": "^4.9.0", "@smithy/url-parser": "^4.2.5", "@smithy/util-base64": "^4.3.0", "@smithy/util-body-length-browser": "^4.2.0", "@smithy/util-body-length-node": "^4.2.1", - "@smithy/util-defaults-mode-browser": "^4.3.8", - "@smithy/util-defaults-mode-node": "^4.2.11", + "@smithy/util-defaults-mode-browser": "^4.3.11", + "@smithy/util-defaults-mode-node": "^4.2.14", "@smithy/util-endpoints": "^3.2.5", "@smithy/util-middleware": "^4.2.5", "@smithy/util-retry": "^4.2.5", @@ -334,36 +333,35 @@ } }, "node_modules/@aws-sdk/client-s3": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.930.0.tgz", - "integrity": "sha512-5ddhr3ShseFRIdNXH8bkh1CIC78p0ZXpa7HJZpONDU3JGvd/B+yHHgTr141rtgoFTaW0gjPdbdtqtPLnhlnK+A==", + "version": "3.939.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.939.0.tgz", + "integrity": "sha512-VMiaEDwKUr8w7B8NIFHal8ViPne7Buc+/idDvA3SeY1pDQcK/4saA2CNh1xHzsxQ8YjUbL0DuB3aztr6hU8K5Q==", "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha1-browser": "5.2.0", "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.930.0", - "@aws-sdk/credential-provider-node": "3.930.0", - "@aws-sdk/middleware-bucket-endpoint": "3.930.0", - "@aws-sdk/middleware-expect-continue": "3.930.0", - "@aws-sdk/middleware-flexible-checksums": "3.930.0", - "@aws-sdk/middleware-host-header": "3.930.0", - "@aws-sdk/middleware-location-constraint": "3.930.0", - "@aws-sdk/middleware-logger": "3.930.0", - "@aws-sdk/middleware-recursion-detection": "3.930.0", - "@aws-sdk/middleware-sdk-s3": "3.930.0", - "@aws-sdk/middleware-ssec": "3.930.0", - "@aws-sdk/middleware-user-agent": "3.930.0", - "@aws-sdk/region-config-resolver": "3.930.0", - "@aws-sdk/signature-v4-multi-region": "3.930.0", - "@aws-sdk/types": "3.930.0", - "@aws-sdk/util-endpoints": "3.930.0", - "@aws-sdk/util-user-agent-browser": "3.930.0", - "@aws-sdk/util-user-agent-node": "3.930.0", - "@aws-sdk/xml-builder": "3.930.0", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/credential-provider-node": "3.939.0", + "@aws-sdk/middleware-bucket-endpoint": "3.936.0", + "@aws-sdk/middleware-expect-continue": "3.936.0", + "@aws-sdk/middleware-flexible-checksums": "3.936.0", + "@aws-sdk/middleware-host-header": "3.936.0", + "@aws-sdk/middleware-location-constraint": "3.936.0", + "@aws-sdk/middleware-logger": "3.936.0", + "@aws-sdk/middleware-recursion-detection": "3.936.0", + "@aws-sdk/middleware-sdk-s3": "3.939.0", + "@aws-sdk/middleware-ssec": "3.936.0", + "@aws-sdk/middleware-user-agent": "3.936.0", + "@aws-sdk/region-config-resolver": "3.936.0", + "@aws-sdk/signature-v4-multi-region": "3.939.0", + "@aws-sdk/types": "3.936.0", + "@aws-sdk/util-endpoints": "3.936.0", + "@aws-sdk/util-user-agent-browser": "3.936.0", + "@aws-sdk/util-user-agent-node": "3.936.0", "@smithy/config-resolver": "^4.4.3", - "@smithy/core": "^3.18.2", + "@smithy/core": "^3.18.5", "@smithy/eventstream-serde-browser": "^4.2.5", "@smithy/eventstream-serde-config-resolver": "^4.3.5", "@smithy/eventstream-serde-node": "^4.2.5", @@ -374,28 +372,27 @@ "@smithy/invalid-dependency": "^4.2.5", "@smithy/md5-js": "^4.2.5", "@smithy/middleware-content-length": "^4.2.5", - "@smithy/middleware-endpoint": "^4.3.9", - "@smithy/middleware-retry": "^4.4.9", - "@smithy/middleware-serde": "^4.2.5", + "@smithy/middleware-endpoint": "^4.3.12", + "@smithy/middleware-retry": "^4.4.12", + "@smithy/middleware-serde": "^4.2.6", "@smithy/middleware-stack": "^4.2.5", "@smithy/node-config-provider": "^4.3.5", "@smithy/node-http-handler": "^4.4.5", "@smithy/protocol-http": "^5.3.5", - "@smithy/smithy-client": "^4.9.5", + "@smithy/smithy-client": "^4.9.8", "@smithy/types": "^4.9.0", "@smithy/url-parser": "^4.2.5", "@smithy/util-base64": "^4.3.0", "@smithy/util-body-length-browser": "^4.2.0", "@smithy/util-body-length-node": "^4.2.1", - "@smithy/util-defaults-mode-browser": "^4.3.8", - "@smithy/util-defaults-mode-node": "^4.2.11", + "@smithy/util-defaults-mode-browser": "^4.3.11", + "@smithy/util-defaults-mode-node": "^4.2.14", "@smithy/util-endpoints": "^3.2.5", "@smithy/util-middleware": "^4.2.5", "@smithy/util-retry": "^4.2.5", "@smithy/util-stream": "^4.5.6", "@smithy/util-utf8": "^4.2.0", "@smithy/util-waiter": "^4.2.5", - "@smithy/uuid": "^1.1.0", "tslib": "^2.6.2" }, "engines": { @@ -403,45 +400,45 @@ } }, "node_modules/@aws-sdk/client-sso": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.930.0.tgz", - "integrity": "sha512-sASqgm1iMLcmi+srSH9WJuqaf3GQAKhuB4xIJwkNEPUQ+yGV8HqErOOHJLXXuTUyskcdtK+4uMaBRLT2ESm+QQ==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.936.0.tgz", + "integrity": "sha512-0G73S2cDqYwJVvqL08eakj79MZG2QRaB56Ul8/Ps9oQxllr7DMI1IQ/N3j3xjxgpq/U36pkoFZ8aK1n7Sbr3IQ==", "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.930.0", - "@aws-sdk/middleware-host-header": "3.930.0", - "@aws-sdk/middleware-logger": "3.930.0", - "@aws-sdk/middleware-recursion-detection": "3.930.0", - "@aws-sdk/middleware-user-agent": "3.930.0", - "@aws-sdk/region-config-resolver": "3.930.0", - "@aws-sdk/types": "3.930.0", - "@aws-sdk/util-endpoints": "3.930.0", - "@aws-sdk/util-user-agent-browser": "3.930.0", - "@aws-sdk/util-user-agent-node": "3.930.0", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/middleware-host-header": "3.936.0", + "@aws-sdk/middleware-logger": "3.936.0", + "@aws-sdk/middleware-recursion-detection": "3.936.0", + "@aws-sdk/middleware-user-agent": "3.936.0", + "@aws-sdk/region-config-resolver": "3.936.0", + "@aws-sdk/types": "3.936.0", + "@aws-sdk/util-endpoints": "3.936.0", + "@aws-sdk/util-user-agent-browser": "3.936.0", + "@aws-sdk/util-user-agent-node": "3.936.0", "@smithy/config-resolver": "^4.4.3", - "@smithy/core": "^3.18.2", + "@smithy/core": "^3.18.5", "@smithy/fetch-http-handler": "^5.3.6", "@smithy/hash-node": "^4.2.5", "@smithy/invalid-dependency": "^4.2.5", "@smithy/middleware-content-length": "^4.2.5", - "@smithy/middleware-endpoint": "^4.3.9", - "@smithy/middleware-retry": "^4.4.9", - "@smithy/middleware-serde": "^4.2.5", + "@smithy/middleware-endpoint": "^4.3.12", + "@smithy/middleware-retry": "^4.4.12", + "@smithy/middleware-serde": "^4.2.6", "@smithy/middleware-stack": "^4.2.5", "@smithy/node-config-provider": "^4.3.5", "@smithy/node-http-handler": "^4.4.5", "@smithy/protocol-http": "^5.3.5", - "@smithy/smithy-client": "^4.9.5", + "@smithy/smithy-client": "^4.9.8", "@smithy/types": "^4.9.0", "@smithy/url-parser": "^4.2.5", "@smithy/util-base64": "^4.3.0", "@smithy/util-body-length-browser": "^4.2.0", "@smithy/util-body-length-node": "^4.2.1", - "@smithy/util-defaults-mode-browser": "^4.3.8", - "@smithy/util-defaults-mode-node": "^4.2.11", + "@smithy/util-defaults-mode-browser": "^4.3.11", + "@smithy/util-defaults-mode-node": "^4.2.14", "@smithy/util-endpoints": "^3.2.5", "@smithy/util-middleware": "^4.2.5", "@smithy/util-retry": "^4.2.5", @@ -453,20 +450,20 @@ } }, "node_modules/@aws-sdk/core": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.930.0.tgz", - "integrity": "sha512-E95pWT1ayfRWg0AW2KNOCYM7QQcVeOhMRLX5PXLeDKcdxP7s3x0LHG9t7a3nPbAbvYLRrhC7O2lLWzzMCpqjsw==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.936.0.tgz", + "integrity": "sha512-eGJ2ySUMvgtOziHhDRDLCrj473RJoL4J1vPjVM3NrKC/fF3/LoHjkut8AAnKmrW6a2uTzNKubigw8dEnpmpERw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.930.0", + "@aws-sdk/types": "3.936.0", "@aws-sdk/xml-builder": "3.930.0", - "@smithy/core": "^3.18.2", + "@smithy/core": "^3.18.5", "@smithy/node-config-provider": "^4.3.5", "@smithy/property-provider": "^4.2.5", "@smithy/protocol-http": "^5.3.5", "@smithy/signature-v4": "^5.3.5", - "@smithy/smithy-client": "^4.9.5", + "@smithy/smithy-client": "^4.9.8", "@smithy/types": "^4.9.0", "@smithy/util-base64": "^4.3.0", "@smithy/util-middleware": "^4.2.5", @@ -478,14 +475,14 @@ } }, "node_modules/@aws-sdk/credential-provider-env": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.930.0.tgz", - "integrity": "sha512-5tJyxNQmm9C1XKeiWt/K67mUHtTiU2FxTkVsqVrzAMjNsF3uyA02kyTK70byh5n29oVR9XNValVEl6jk01ipYg==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.936.0.tgz", + "integrity": "sha512-dKajFuaugEA5i9gCKzOaVy9uTeZcApE+7Z5wdcZ6j40523fY1a56khDAUYkCfwqa7sHci4ccmxBkAo+fW1RChA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.930.0", - "@aws-sdk/types": "3.930.0", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/types": "3.936.0", "@smithy/property-provider": "^4.2.5", "@smithy/types": "^4.9.0", "tslib": "^2.6.2" @@ -495,19 +492,19 @@ } }, "node_modules/@aws-sdk/credential-provider-http": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.930.0.tgz", - "integrity": "sha512-vw565GctpOPoRJyRvgqXM8U/4RG8wYEPfhe6GHvt9dchebw0OaFeW1mmSYpwEPkMhZs9Z808dkSPScwm8WZBKA==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.936.0.tgz", + "integrity": "sha512-5FguODLXG1tWx/x8fBxH+GVrk7Hey2LbXV5h9SFzYCx/2h50URBm0+9hndg0Rd23+xzYe14F6SI9HA9c1sPnjg==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.930.0", - "@aws-sdk/types": "3.930.0", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/types": "3.936.0", "@smithy/fetch-http-handler": "^5.3.6", "@smithy/node-http-handler": "^4.4.5", "@smithy/property-provider": "^4.2.5", "@smithy/protocol-http": "^5.3.5", - "@smithy/smithy-client": "^4.9.5", + "@smithy/smithy-client": "^4.9.8", "@smithy/types": "^4.9.0", "@smithy/util-stream": "^4.5.6", "tslib": "^2.6.2" @@ -517,20 +514,21 @@ } }, "node_modules/@aws-sdk/credential-provider-ini": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.930.0.tgz", - "integrity": "sha512-Ua4T5MWjm7QdHi7ZSUvnPBFwBZmLFP/IEGCLacPKbUT1sQO30hlWuB/uQOj0ns4T6p7V4XsM8bz5+xsW2yRYbQ==", + "version": "3.939.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.939.0.tgz", + "integrity": "sha512-RHQ3xKz5pn5PMuoBYNYLMIdN4iU8gklxcsfJzOflSrwkhb8ukVRS9LjHXUtyE4qQ2J+dfj1QSr4PFOSxvzRZkA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.930.0", - "@aws-sdk/credential-provider-env": "3.930.0", - "@aws-sdk/credential-provider-http": "3.930.0", - "@aws-sdk/credential-provider-process": "3.930.0", - "@aws-sdk/credential-provider-sso": "3.930.0", - "@aws-sdk/credential-provider-web-identity": "3.930.0", - "@aws-sdk/nested-clients": "3.930.0", - "@aws-sdk/types": "3.930.0", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/credential-provider-env": "3.936.0", + "@aws-sdk/credential-provider-http": "3.936.0", + "@aws-sdk/credential-provider-login": "3.939.0", + "@aws-sdk/credential-provider-process": "3.936.0", + "@aws-sdk/credential-provider-sso": "3.939.0", + "@aws-sdk/credential-provider-web-identity": "3.939.0", + "@aws-sdk/nested-clients": "3.939.0", + "@aws-sdk/types": "3.936.0", "@smithy/credential-provider-imds": "^4.2.5", "@smithy/property-provider": "^4.2.5", "@smithy/shared-ini-file-loader": "^4.4.0", @@ -541,20 +539,40 @@ "node": ">=18.0.0" } }, + "node_modules/@aws-sdk/credential-provider-login": { + "version": "3.939.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.939.0.tgz", + "integrity": "sha512-SbbzlsH2ZSsu2szyl494QOUS69LZgU8bYlFoDnUxy2L89YzLyR4D9wWlJzKCm4cS1eyNxPsOMkbVVL42JRvdZw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "3.936.0", + "@aws-sdk/nested-clients": "3.939.0", + "@aws-sdk/types": "3.936.0", + "@smithy/property-provider": "^4.2.5", + "@smithy/protocol-http": "^5.3.5", + "@smithy/shared-ini-file-loader": "^4.4.0", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@aws-sdk/credential-provider-node": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.930.0.tgz", - "integrity": "sha512-LTx5G0PsL51hNCCzOIdacGPwqnTp3X2Ck8CjLL4Kz9FTR0mfY02qEJB5y5segU1hlge/WdQYxzBBMhtMUR2h8A==", + "version": "3.939.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.939.0.tgz", + "integrity": "sha512-OAwCqDNlKC3JmWb+N0zFfsPJJ8J5b8ZD63vWHdSf9c7ZlRKpFRD/uePqVMQKOq4h3DO0P0smAPk/m5p66oYLrw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/credential-provider-env": "3.930.0", - "@aws-sdk/credential-provider-http": "3.930.0", - "@aws-sdk/credential-provider-ini": "3.930.0", - "@aws-sdk/credential-provider-process": "3.930.0", - "@aws-sdk/credential-provider-sso": "3.930.0", - "@aws-sdk/credential-provider-web-identity": "3.930.0", - "@aws-sdk/types": "3.930.0", + "@aws-sdk/credential-provider-env": "3.936.0", + "@aws-sdk/credential-provider-http": "3.936.0", + "@aws-sdk/credential-provider-ini": "3.939.0", + "@aws-sdk/credential-provider-process": "3.936.0", + "@aws-sdk/credential-provider-sso": "3.939.0", + "@aws-sdk/credential-provider-web-identity": "3.939.0", + "@aws-sdk/types": "3.936.0", "@smithy/credential-provider-imds": "^4.2.5", "@smithy/property-provider": "^4.2.5", "@smithy/shared-ini-file-loader": "^4.4.0", @@ -566,14 +584,14 @@ } }, "node_modules/@aws-sdk/credential-provider-process": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.930.0.tgz", - "integrity": "sha512-lqC4lepxgwR2uZp/JROTRjkHld4/FEpSgofmiIOAfUfDx0OWSg7nkWMMS/DzlMpODqATl9tO0DcvmIJ8tMbh6g==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.936.0.tgz", + "integrity": "sha512-GpA4AcHb96KQK2PSPUyvChvrsEKiLhQ5NWjeef2IZ3Jc8JoosiedYqp6yhZR+S8cTysuvx56WyJIJc8y8OTrLA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.930.0", - "@aws-sdk/types": "3.930.0", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/types": "3.936.0", "@smithy/property-provider": "^4.2.5", "@smithy/shared-ini-file-loader": "^4.4.0", "@smithy/types": "^4.9.0", @@ -584,16 +602,16 @@ } }, "node_modules/@aws-sdk/credential-provider-sso": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.930.0.tgz", - "integrity": "sha512-LIs2aaVoFfioRokR1R9SpLS9u8CmbHhrV/gpHO1ED41qNCujn23vAxRNQmWzJ2XoCxSTwvToiHD2i6CjPA6rHQ==", + "version": "3.939.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.939.0.tgz", + "integrity": "sha512-gXWI+5xf+2n7kJSqYgDw1VkNLGRe2IYNCjOW/F04/7l8scxOP84SZ634OI9IR/8JWvFwMUjxH4JigPU0j6ZWzQ==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/client-sso": "3.930.0", - "@aws-sdk/core": "3.930.0", - "@aws-sdk/token-providers": "3.930.0", - "@aws-sdk/types": "3.930.0", + "@aws-sdk/client-sso": "3.936.0", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/token-providers": "3.939.0", + "@aws-sdk/types": "3.936.0", "@smithy/property-provider": "^4.2.5", "@smithy/shared-ini-file-loader": "^4.4.0", "@smithy/types": "^4.9.0", @@ -604,15 +622,15 @@ } }, "node_modules/@aws-sdk/credential-provider-web-identity": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.930.0.tgz", - "integrity": "sha512-iIYF8GReLOp16yn2bnRWrc4UOW/vVLifqyRWZ3iAGe8NFzUiHBq+Nok7Edh+2D8zt30QOCOsWCZ31uRrPuXH8w==", + "version": "3.939.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.939.0.tgz", + "integrity": "sha512-b/ySLC6DfWwZIAP2Glq9mkJJ/9LIDiKfYN2f9ZenQF+k2lO1i6/QtBuslvLmBJ+mNz0lPRSHW29alyqOpBgeCQ==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.930.0", - "@aws-sdk/nested-clients": "3.930.0", - "@aws-sdk/types": "3.930.0", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/nested-clients": "3.939.0", + "@aws-sdk/types": "3.936.0", "@smithy/property-provider": "^4.2.5", "@smithy/shared-ini-file-loader": "^4.4.0", "@smithy/types": "^4.9.0", @@ -623,13 +641,13 @@ } }, "node_modules/@aws-sdk/middleware-bucket-endpoint": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.930.0.tgz", - "integrity": "sha512-cnCLWeKPYgvV4yRYPFH6pWMdUByvu2cy2BAlfsPpvnm4RaVioztyvxmQj5PmVN5fvWs5w/2d6U7le8X9iye2sA==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.936.0.tgz", + "integrity": "sha512-XLSVVfAorUxZh6dzF+HTOp4R1B5EQcdpGcPliWr0KUj2jukgjZEcqbBmjyMF/p9bmyQsONX80iURF1HLAlW0qg==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.930.0", + "@aws-sdk/types": "3.936.0", "@aws-sdk/util-arn-parser": "3.893.0", "@smithy/node-config-provider": "^4.3.5", "@smithy/protocol-http": "^5.3.5", @@ -642,13 +660,13 @@ } }, "node_modules/@aws-sdk/middleware-expect-continue": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.930.0.tgz", - "integrity": "sha512-5HEQ+JU4DrLNWeY27wKg/jeVa8Suy62ivJHOSUf6e6hZdVIMx0h/kXS1fHEQNNiLu2IzSEP/bFXsKBaW7x7s0g==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.936.0.tgz", + "integrity": "sha512-Eb4ELAC23bEQLJmUMYnPWcjD3FZIsmz2svDiXEcxRkQU9r7NRID7pM7C5NPH94wOfiCk0b2Y8rVyFXW0lGQwbA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.930.0", + "@aws-sdk/types": "3.936.0", "@smithy/protocol-http": "^5.3.5", "@smithy/types": "^4.9.0", "tslib": "^2.6.2" @@ -658,17 +676,17 @@ } }, "node_modules/@aws-sdk/middleware-flexible-checksums": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.930.0.tgz", - "integrity": "sha512-ZbAwwe7sqIO7tmNH3Q8rH91tZCQwBGliyXUbANoVMp1CWLPDAeaECurkmuBe/UJmoszi2U3gyhIQlbfzD2SBLw==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.936.0.tgz", + "integrity": "sha512-l3GG6CrSQtMCM6fWY7foV3JQv0WJWT+3G6PSP3Ceb/KEE/5Lz5PrYFXTBf+bVoYL1b0bGjGajcgAXpstBmtHtQ==", "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-crypto/crc32": "5.2.0", "@aws-crypto/crc32c": "5.2.0", "@aws-crypto/util": "5.2.0", - "@aws-sdk/core": "3.930.0", - "@aws-sdk/types": "3.930.0", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/types": "3.936.0", "@smithy/is-array-buffer": "^4.2.0", "@smithy/node-config-provider": "^4.3.5", "@smithy/protocol-http": "^5.3.5", @@ -683,13 +701,13 @@ } }, "node_modules/@aws-sdk/middleware-host-header": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.930.0.tgz", - "integrity": "sha512-x30jmm3TLu7b/b+67nMyoV0NlbnCVT5DI57yDrhXAPCtdgM1KtdLWt45UcHpKOm1JsaIkmYRh2WYu7Anx4MG0g==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.936.0.tgz", + "integrity": "sha512-tAaObaAnsP1XnLGndfkGWFuzrJYuk9W0b/nLvol66t8FZExIAf/WdkT2NNAWOYxljVs++oHnyHBCxIlaHrzSiw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.930.0", + "@aws-sdk/types": "3.936.0", "@smithy/protocol-http": "^5.3.5", "@smithy/types": "^4.9.0", "tslib": "^2.6.2" @@ -699,13 +717,13 @@ } }, "node_modules/@aws-sdk/middleware-location-constraint": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.930.0.tgz", - "integrity": "sha512-QIGNsNUdRICog+LYqmtJ03PLze6h2KCORXUs5td/hAEjVP5DMmubhtrGg1KhWyctACluUH/E/yrD14p4pRXxwA==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.936.0.tgz", + "integrity": "sha512-SCMPenDtQMd9o5da9JzkHz838w3327iqXk3cbNnXWqnNRx6unyW8FL0DZ84gIY12kAyVHz5WEqlWuekc15ehfw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.930.0", + "@aws-sdk/types": "3.936.0", "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, @@ -714,13 +732,13 @@ } }, "node_modules/@aws-sdk/middleware-logger": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.930.0.tgz", - "integrity": "sha512-vh4JBWzMCBW8wREvAwoSqB2geKsZwSHTa0nSt0OMOLp2PdTYIZDi0ZiVMmpfnjcx9XbS6aSluLv9sKx4RrG46A==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.936.0.tgz", + "integrity": "sha512-aPSJ12d3a3Ea5nyEnLbijCaaYJT2QjQ9iW+zGh5QcZYXmOGWbKVyPSxmVOboZQG+c1M8t6d2O7tqrwzIq8L8qw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.930.0", + "@aws-sdk/types": "3.936.0", "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, @@ -729,14 +747,14 @@ } }, "node_modules/@aws-sdk/middleware-recursion-detection": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.930.0.tgz", - "integrity": "sha512-gv0sekNpa2MBsIhm2cjP3nmYSfI4nscx/+K9u9ybrWZBWUIC4kL2sV++bFjjUz4QxUIlvKByow3/a9ARQyCu7Q==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.936.0.tgz", + "integrity": "sha512-l4aGbHpXM45YNgXggIux1HgsCVAvvBoqHPkqLnqMl9QVapfuSTjJHfDYDsx1Xxct6/m7qSMUzanBALhiaGO2fA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.930.0", - "@aws/lambda-invoke-store": "^0.1.1", + "@aws-sdk/types": "3.936.0", + "@aws/lambda-invoke-store": "^0.2.0", "@smithy/protocol-http": "^5.3.5", "@smithy/types": "^4.9.0", "tslib": "^2.6.2" @@ -746,20 +764,20 @@ } }, "node_modules/@aws-sdk/middleware-sdk-s3": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.930.0.tgz", - "integrity": "sha512-bnVK0xVVmrPyKTbV5MgG6KP7MPe87GngBPD5MrYj9kWmGrJIvnt0qer0UIgWAnsyCi7XrTfw7SMgYRpSxOYEMw==", + "version": "3.939.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.939.0.tgz", + "integrity": "sha512-9WMPAAyuSPvEawZJ5ndZKD+UZuISGS885kFyNyfHCNNWMws8Rohji6nysda2gL8SSpGdbvTBZRjSIzim13bYRg==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.930.0", - "@aws-sdk/types": "3.930.0", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/types": "3.936.0", "@aws-sdk/util-arn-parser": "3.893.0", - "@smithy/core": "^3.18.2", + "@smithy/core": "^3.18.5", "@smithy/node-config-provider": "^4.3.5", "@smithy/protocol-http": "^5.3.5", "@smithy/signature-v4": "^5.3.5", - "@smithy/smithy-client": "^4.9.5", + "@smithy/smithy-client": "^4.9.8", "@smithy/types": "^4.9.0", "@smithy/util-config-provider": "^4.2.0", "@smithy/util-middleware": "^4.2.5", @@ -772,13 +790,13 @@ } }, "node_modules/@aws-sdk/middleware-ssec": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.930.0.tgz", - "integrity": "sha512-N2/SvodmaDS6h7CWfuapt3oJyn1T2CBz0CsDIiTDv9cSagXAVFjPdm2g4PFJqrNBeqdDIoYBnnta336HmamWHg==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.936.0.tgz", + "integrity": "sha512-/GLC9lZdVp05ozRik5KsuODR/N7j+W+2TbfdFL3iS+7un+gnP6hC8RDOZd6WhpZp7drXQ9guKiTAxkZQwzS8DA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.930.0", + "@aws-sdk/types": "3.936.0", "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, @@ -787,16 +805,16 @@ } }, "node_modules/@aws-sdk/middleware-user-agent": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.930.0.tgz", - "integrity": "sha512-UUItqy02biaHoZDd1Z2CskFon3Lej15ZCIZzW4n2lsJmgLWNvz21jtFA8DQny7ZgCLAOOXI8YK3VLZptZWtIcg==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.936.0.tgz", + "integrity": "sha512-YB40IPa7K3iaYX0lSnV9easDOLPLh+fJyUDF3BH8doX4i1AOSsYn86L4lVldmOaSX+DwiaqKHpvk4wPBdcIPWw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.930.0", - "@aws-sdk/types": "3.930.0", - "@aws-sdk/util-endpoints": "3.930.0", - "@smithy/core": "^3.18.2", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/types": "3.936.0", + "@aws-sdk/util-endpoints": "3.936.0", + "@smithy/core": "^3.18.5", "@smithy/protocol-http": "^5.3.5", "@smithy/types": "^4.9.0", "tslib": "^2.6.2" @@ -806,45 +824,45 @@ } }, "node_modules/@aws-sdk/nested-clients": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.930.0.tgz", - "integrity": "sha512-eEDjTVXNiDkoV0ZV+X+WV40GTpF70xZmDW13CQzQF7rzOC2iFjtTRU+F7MUhy/Vs+e9KvDgiuCDecITtaOXUNw==", + "version": "3.939.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.939.0.tgz", + "integrity": "sha512-QeNsjHBCbsVRbgEt9FZNnrrbMTUuIYML3FX5xFgEJz4aI5uXwMBjYOi5TvAY+Y4CBHY4cp3dd/zSpHu0gX68GQ==", "dev": true, "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.930.0", - "@aws-sdk/middleware-host-header": "3.930.0", - "@aws-sdk/middleware-logger": "3.930.0", - "@aws-sdk/middleware-recursion-detection": "3.930.0", - "@aws-sdk/middleware-user-agent": "3.930.0", - "@aws-sdk/region-config-resolver": "3.930.0", - "@aws-sdk/types": "3.930.0", - "@aws-sdk/util-endpoints": "3.930.0", - "@aws-sdk/util-user-agent-browser": "3.930.0", - "@aws-sdk/util-user-agent-node": "3.930.0", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/middleware-host-header": "3.936.0", + "@aws-sdk/middleware-logger": "3.936.0", + "@aws-sdk/middleware-recursion-detection": "3.936.0", + "@aws-sdk/middleware-user-agent": "3.936.0", + "@aws-sdk/region-config-resolver": "3.936.0", + "@aws-sdk/types": "3.936.0", + "@aws-sdk/util-endpoints": "3.936.0", + "@aws-sdk/util-user-agent-browser": "3.936.0", + "@aws-sdk/util-user-agent-node": "3.936.0", "@smithy/config-resolver": "^4.4.3", - "@smithy/core": "^3.18.2", + "@smithy/core": "^3.18.5", "@smithy/fetch-http-handler": "^5.3.6", "@smithy/hash-node": "^4.2.5", "@smithy/invalid-dependency": "^4.2.5", "@smithy/middleware-content-length": "^4.2.5", - "@smithy/middleware-endpoint": "^4.3.9", - "@smithy/middleware-retry": "^4.4.9", - "@smithy/middleware-serde": "^4.2.5", + "@smithy/middleware-endpoint": "^4.3.12", + "@smithy/middleware-retry": "^4.4.12", + "@smithy/middleware-serde": "^4.2.6", "@smithy/middleware-stack": "^4.2.5", "@smithy/node-config-provider": "^4.3.5", "@smithy/node-http-handler": "^4.4.5", "@smithy/protocol-http": "^5.3.5", - "@smithy/smithy-client": "^4.9.5", + "@smithy/smithy-client": "^4.9.8", "@smithy/types": "^4.9.0", "@smithy/url-parser": "^4.2.5", "@smithy/util-base64": "^4.3.0", "@smithy/util-body-length-browser": "^4.2.0", "@smithy/util-body-length-node": "^4.2.1", - "@smithy/util-defaults-mode-browser": "^4.3.8", - "@smithy/util-defaults-mode-node": "^4.2.11", + "@smithy/util-defaults-mode-browser": "^4.3.11", + "@smithy/util-defaults-mode-node": "^4.2.14", "@smithy/util-endpoints": "^3.2.5", "@smithy/util-middleware": "^4.2.5", "@smithy/util-retry": "^4.2.5", @@ -856,13 +874,13 @@ } }, "node_modules/@aws-sdk/region-config-resolver": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.930.0.tgz", - "integrity": "sha512-KL2JZqH6aYeQssu1g1KuWsReupdfOoxD6f1as2VC+rdwYFUu4LfzMsFfXnBvvQWWqQ7rZHWOw1T+o5gJmg7Dzw==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.936.0.tgz", + "integrity": "sha512-wOKhzzWsshXGduxO4pqSiNyL9oUtk4BEvjWm9aaq6Hmfdoydq6v6t0rAGHWPjFwy9z2haovGRi3C8IxdMB4muw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.930.0", + "@aws-sdk/types": "3.936.0", "@smithy/config-resolver": "^4.4.3", "@smithy/node-config-provider": "^4.3.5", "@smithy/types": "^4.9.0", @@ -873,14 +891,14 @@ } }, "node_modules/@aws-sdk/signature-v4-multi-region": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.930.0.tgz", - "integrity": "sha512-UOAq1ftbrZc9HRP/nG970OONNykIDWunjth9GvGDODkW0FR7DHJWBmTwj61ZnrSiuSParp1eQfa+JsZ8eXNPcw==", + "version": "3.939.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.939.0.tgz", + "integrity": "sha512-pERVG90nneZWIenPvPoOnEcfqpUHiL9KMHf+TtHIWSBcaRL1kWuNm4CfEs7mo4EM0LHbaMgoZma6woIsJ6MOwA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/middleware-sdk-s3": "3.930.0", - "@aws-sdk/types": "3.930.0", + "@aws-sdk/middleware-sdk-s3": "3.939.0", + "@aws-sdk/types": "3.936.0", "@smithy/protocol-http": "^5.3.5", "@smithy/signature-v4": "^5.3.5", "@smithy/types": "^4.9.0", @@ -891,15 +909,15 @@ } }, "node_modules/@aws-sdk/token-providers": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.930.0.tgz", - "integrity": "sha512-K+fJFJXA2Tdx10WhhTm+xQmf1WDHu14rUutByyqx6W0iW2rhtl3YeRr188LWSU3/hpz7BPyvigaAb0QyRti6FQ==", + "version": "3.939.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.939.0.tgz", + "integrity": "sha512-paNeLZdr2/sk7XYMZz2OIqFFF3AkA5vUpKYahVDYmMeiMecQTqa/EptA3aVvWa4yWobEF0Kk+WSUPrOIGI3eQg==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/core": "3.930.0", - "@aws-sdk/nested-clients": "3.930.0", - "@aws-sdk/types": "3.930.0", + "@aws-sdk/core": "3.936.0", + "@aws-sdk/nested-clients": "3.939.0", + "@aws-sdk/types": "3.936.0", "@smithy/property-provider": "^4.2.5", "@smithy/shared-ini-file-loader": "^4.4.0", "@smithy/types": "^4.9.0", @@ -910,9 +928,9 @@ } }, "node_modules/@aws-sdk/types": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.930.0.tgz", - "integrity": "sha512-we/vaAgwlEFW7IeftmCLlLMw+6hFs3DzZPJw7lVHbj/5HJ0bz9gndxEsS2lQoeJ1zhiiLqAqvXxmM43s0MBg0A==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.936.0.tgz", + "integrity": "sha512-uz0/VlMd2pP5MepdrHizd+T+OKfyK4r3OA9JI+L/lPKg0YFQosdJNCKisr6o70E3dh8iMpFYxF1UN/4uZsyARg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -937,13 +955,13 @@ } }, "node_modules/@aws-sdk/util-endpoints": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.930.0.tgz", - "integrity": "sha512-M2oEKBzzNAYr136RRc6uqw3aWlwCxqTP1Lawps9E1d2abRPvl1p1ztQmmXp1Ak4rv8eByIZ+yQyKQ3zPdRG5dw==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.936.0.tgz", + "integrity": "sha512-0Zx3Ntdpu+z9Wlm7JKUBOzS9EunwKAb4KdGUQQxDqh5Lc3ta5uBoub+FgmVuzwnmBu9U1Os8UuwVTH0Lgu+P5w==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.930.0", + "@aws-sdk/types": "3.936.0", "@smithy/types": "^4.9.0", "@smithy/url-parser": "^4.2.5", "@smithy/util-endpoints": "^3.2.5", @@ -967,27 +985,27 @@ } }, "node_modules/@aws-sdk/util-user-agent-browser": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.930.0.tgz", - "integrity": "sha512-q6lCRm6UAe+e1LguM5E4EqM9brQlDem4XDcQ87NzEvlTW6GzmNCO0w1jS0XgCFXQHjDxjdlNFX+5sRbHijwklg==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.936.0.tgz", + "integrity": "sha512-eZ/XF6NxMtu+iCma58GRNRxSq4lHo6zHQLOZRIeL/ghqYJirqHdenMOwrzPettj60KWlv827RVebP9oNVrwZbw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.930.0", + "@aws-sdk/types": "3.936.0", "@smithy/types": "^4.9.0", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "node_modules/@aws-sdk/util-user-agent-node": { - "version": "3.930.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.930.0.tgz", - "integrity": "sha512-tYc5uFKogn0vLukeZ6Zz2dR1/WiTjxZH7+Jjoce6aEYgRVfyrDje1POFb7YxhNZ7Pp1WzHCuwW2KgkmMoYVbxQ==", + "version": "3.936.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.936.0.tgz", + "integrity": "sha512-XOEc7PF9Op00pWV2AYCGDSu5iHgYjIO53Py2VUQTIvP7SRCaCsXmA33mjBvC2Ms6FhSyWNa4aK4naUGIz0hQcw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@aws-sdk/middleware-user-agent": "3.930.0", - "@aws-sdk/types": "3.930.0", + "@aws-sdk/middleware-user-agent": "3.936.0", + "@aws-sdk/types": "3.936.0", "@smithy/node-config-provider": "^4.3.5", "@smithy/types": "^4.9.0", "tslib": "^2.6.2" @@ -1020,9 +1038,9 @@ } }, "node_modules/@aws/lambda-invoke-store": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@aws/lambda-invoke-store/-/lambda-invoke-store-0.1.1.tgz", - "integrity": "sha512-RcLam17LdlbSOSp9VxmUu1eI6Mwxp+OwhD2QhiSNmNCzoDb0EeUXTD2n/WbcnrAYMGlmf05th6QYq23VqvJqpA==", + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@aws/lambda-invoke-store/-/lambda-invoke-store-0.2.1.tgz", + "integrity": "sha512-sIyFcoPZkTtNu9xFeEoynMef3bPJIAbOfUh+ueYcfhVl6xm2VRtMcMclSxmZCMnHHd4hlYKJeq/aggmBEWynww==", "dev": true, "license": "Apache-2.0", "engines": { @@ -1692,10 +1710,6 @@ "resolved": "packages/contentstack-import-setup", "link": true }, - "node_modules/@contentstack/cli-cm-migrate-rte": { - "resolved": "packages/contentstack-migrate-rte", - "link": true - }, "node_modules/@contentstack/cli-cm-seed": { "resolved": "packages/contentstack-seed", "link": true @@ -1762,35 +1776,6 @@ "resolved": "packages/contentstack-variants", "link": true }, - "node_modules/@contentstack/json-rte-serializer": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@contentstack/json-rte-serializer/-/json-rte-serializer-2.1.0.tgz", - "integrity": "sha512-klw+0kH5UtL4mHGDP7A8olZIaA4CoyAVzveYqso8uxeDXKkTvwF8D5HBhCqQLr0NXwhofl+FF431cbzGZ3TNCg==", - "license": "MIT", - "dependencies": { - "array-flat-polyfill": "^1.0.1", - "lodash": "^4.17.21", - "lodash.clonedeep": "^4.5.0", - "lodash.flatten": "^4.4.0", - "lodash.isempty": "^4.4.0", - "lodash.isequal": "^4.5.0", - "lodash.isobject": "^3.0.2", - "lodash.isplainobject": "^4.0.6", - "lodash.isundefined": "^3.0.1", - "lodash.kebabcase": "^4.1.1", - "slate": "^0.103.0", - "uuid": "^8.3.2" - } - }, - "node_modules/@contentstack/json-rte-serializer/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@contentstack/management": { "version": "1.22.0", "resolved": "https://registry.npmjs.org/@contentstack/management/-/management-1.22.0.tgz", @@ -1862,9 +1847,9 @@ } }, "node_modules/@emnapi/core": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.7.0.tgz", - "integrity": "sha512-pJdKGq/1iquWYtv1RRSljZklxHCOCAJFJrImO5ZLKPJVJlVUcs8yFwNQlqS0Lo8xT1VAXXTCZocF9n26FWEKsw==", + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.7.1.tgz", + "integrity": "sha512-o1uhUASyo921r2XtHYOHy7gdkGLge8ghBEQHMWmyJFoXlpU58kIrhhN3w26lpQb6dspetweapMn2CSNwQ8I4wg==", "dev": true, "license": "MIT", "optional": true, @@ -1874,9 +1859,9 @@ } }, "node_modules/@emnapi/runtime": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.7.0.tgz", - "integrity": "sha512-oAYoQnCYaQZKVS53Fq23ceWMRxq5EhQsE0x0RdQ55jT7wagMu5k+fS39v1fiSLrtrLQlXwVINenqhLMtTrV/1Q==", + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.7.1.tgz", + "integrity": "sha512-PVtJr5CmLwYAU9PZDMITZoR5iAOShYREoR45EyyLrbntV50mdePTgUn4AmOw90Ifcj+x2kRjdzr1HP3RrNiHGA==", "dev": true, "license": "MIT", "optional": true, @@ -1913,9 +1898,9 @@ } }, "node_modules/@es-joy/jsdoccomment/node_modules/@typescript-eslint/types": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz", - "integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.48.0.tgz", + "integrity": "sha512-cQMcGQQH7kwKoVswD1xdOytxQR60MWKM1di26xSUtxehaDs/32Zpqsu5WJlXTtTTqyAVK8R7hvsUnIXRS+bjvA==", "dev": true, "license": "MIT", "engines": { @@ -2499,9 +2484,9 @@ } }, "node_modules/@eslint/css-tree": { - "version": "3.6.6", - "resolved": "https://registry.npmjs.org/@eslint/css-tree/-/css-tree-3.6.6.tgz", - "integrity": "sha512-C3YiJMY9OZyZ/3vEMFWJIesdGaRY6DmIYvmtyxMT934CbrOKqRs+Iw7NWSRlJQEaK4dPYy2lZ2y1zkaj8z0p5A==", + "version": "3.6.8", + "resolved": "https://registry.npmjs.org/@eslint/css-tree/-/css-tree-3.6.8.tgz", + "integrity": "sha512-s0f40zY7dlMp8i0Jf0u6l/aSswS0WRAgkhgETgiCJRcxIWb4S/Sp9uScKHWbkM3BnoFLbJbmOYk5AZUDFVxaLA==", "dev": true, "license": "MIT", "dependencies": { @@ -3178,9 +3163,9 @@ } }, "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz", + "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==", "dev": true, "license": "MIT", "dependencies": { @@ -3749,9 +3734,9 @@ } }, "node_modules/@oclif/plugin-help": { - "version": "6.2.35", - "resolved": "https://registry.npmjs.org/@oclif/plugin-help/-/plugin-help-6.2.35.tgz", - "integrity": "sha512-ZMcQTsHaiCEOZIRZoynUQ+98fyM1Adoqx4LbOgYWRVKXKbavHPCZKm6F+/y0GpWscXVoeGnvJO6GIBsigrqaSA==", + "version": "6.2.36", + "resolved": "https://registry.npmjs.org/@oclif/plugin-help/-/plugin-help-6.2.36.tgz", + "integrity": "sha512-NBQIg5hEMhvdbi4mSrdqRGl5XJ0bqTAHq6vDCCCDXUcfVtdk3ZJbSxtRVWyVvo9E28vwqu6MZyHOJylevqcHbA==", "license": "MIT", "dependencies": { "@oclif/core": "^4" @@ -3761,12 +3746,12 @@ } }, "node_modules/@oclif/plugin-not-found": { - "version": "3.2.72", - "resolved": "https://registry.npmjs.org/@oclif/plugin-not-found/-/plugin-not-found-3.2.72.tgz", - "integrity": "sha512-CRcqHGdcEL4l5cls5F9FvwKt04LkdG7WyFozOu2vP1/3w34S29zbw8Tx1gAzfBZDDme5ChSaqFXU5qbTLx5yYQ==", + "version": "3.2.73", + "resolved": "https://registry.npmjs.org/@oclif/plugin-not-found/-/plugin-not-found-3.2.73.tgz", + "integrity": "sha512-2bQieTGI9XNFe9hKmXQjJmHV5rZw+yn7Rud1+C5uLEo8GaT89KZbiLTJgL35tGILahy/cB6+WAs812wjw7TK6w==", "license": "MIT", "dependencies": { - "@inquirer/prompts": "^7.9.0", + "@inquirer/prompts": "^7.10.1", "@oclif/core": "^4.8.0", "ansis": "^3.17.0", "fast-levenshtein": "^3.0.0" @@ -4177,9 +4162,9 @@ } }, "node_modules/@oclif/plugin-plugins": { - "version": "5.4.53", - "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-5.4.53.tgz", - "integrity": "sha512-jezB3NEz8fQdb/jrZq8YPvEiF+aH0wHiexVCvnj7Rmy+mmTHicEuGJMPiYeJNcRvG687raIhc6TjyMMPKi0W4A==", + "version": "5.4.54", + "resolved": "https://registry.npmjs.org/@oclif/plugin-plugins/-/plugin-plugins-5.4.54.tgz", + "integrity": "sha512-yzdukEfvvyXx31AhN+YhxLhuQdx2SrZDcRtPl5CNkuqh/uNSB2BuA3xpurdv2qotpaw/Z9InRl+Sa9bLp/4aLA==", "license": "MIT", "dependencies": { "@oclif/core": "^4.8.0", @@ -4199,9 +4184,9 @@ } }, "node_modules/@oclif/plugin-warn-if-update-available": { - "version": "3.1.52", - "resolved": "https://registry.npmjs.org/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-3.1.52.tgz", - "integrity": "sha512-CAtBcMBjtuYwv2lf1U3tavAAhFtG3lYvrpestPjfIUyGSoc5kJZME1heS8Ao7IxNgp5sHFm1wNoU2vJbHJKLQg==", + "version": "3.1.53", + "resolved": "https://registry.npmjs.org/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-3.1.53.tgz", + "integrity": "sha512-ALxKMNFFJQJV1Z2OMVTV+q7EbKHhnTAPcTgkgHeXCNdW5nFExoXuwusZLS4Zv2o83j9UoDx1R/CSX7QZVgEHTA==", "dev": true, "license": "MIT", "dependencies": { @@ -4217,9 +4202,9 @@ } }, "node_modules/@oclif/test": { - "version": "4.1.14", - "resolved": "https://registry.npmjs.org/@oclif/test/-/test-4.1.14.tgz", - "integrity": "sha512-FKPUBOnC1KnYZBcYOMNmt0DfdqTdSo2Vx8OnqgnMslHVPRPqrUF1bxfEHaw5W/+vOQLwF7MiEPq8DObpXfJJbg==", + "version": "4.1.15", + "resolved": "https://registry.npmjs.org/@oclif/test/-/test-4.1.15.tgz", + "integrity": "sha512-OVTmz3RxnOWYPoE9sbB9Przfph+QSLMvHUfqEwXZKupuOHCJAJX0QDUfVyh1pK+XYEQ2RUaF+qhxqBfIfaahBw==", "license": "MIT", "dependencies": { "ansis": "^3.17.0", @@ -4453,9 +4438,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.53.2.tgz", - "integrity": "sha512-yDPzwsgiFO26RJA4nZo8I+xqzh7sJTZIWQOxn+/XOdPE31lAvLIYCKqjV+lNH/vxE2L2iH3plKxDCRK6i+CwhA==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.53.3.tgz", + "integrity": "sha512-mRSi+4cBjrRLoaal2PnqH82Wqyb+d3HsPUN/W+WslCXsZsyHa9ZeQQX/pQsZaVIWDkPcpV6jJ+3KLbTbgnwv8w==", "cpu": [ "arm" ], @@ -4466,9 +4451,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.53.2.tgz", - "integrity": "sha512-k8FontTxIE7b0/OGKeSN5B6j25EuppBcWM33Z19JoVT7UTXFSo3D9CdU39wGTeb29NO3XxpMNauh09B+Ibw+9g==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.53.3.tgz", + "integrity": "sha512-CbDGaMpdE9sh7sCmTrTUyllhrg65t6SwhjlMJsLr+J8YjFuPmCEjbBSx4Z/e4SmDyH3aB5hGaJUP2ltV/vcs4w==", "cpu": [ "arm64" ], @@ -4479,9 +4464,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.53.2.tgz", - "integrity": "sha512-A6s4gJpomNBtJ2yioj8bflM2oogDwzUiMl2yNJ2v9E7++sHrSrsQ29fOfn5DM/iCzpWcebNYEdXpaK4tr2RhfQ==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.53.3.tgz", + "integrity": "sha512-Nr7SlQeqIBpOV6BHHGZgYBuSdanCXuw09hon14MGOLGmXAFYjx1wNvquVPmpZnl0tLjg25dEdr4IQ6GgyToCUA==", "cpu": [ "arm64" ], @@ -4492,9 +4477,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.53.2.tgz", - "integrity": "sha512-e6XqVmXlHrBlG56obu9gDRPW3O3hLxpwHpLsBJvuI8qqnsrtSZ9ERoWUXtPOkY8c78WghyPHZdmPhHLWNdAGEw==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.53.3.tgz", + "integrity": "sha512-DZ8N4CSNfl965CmPktJ8oBnfYr3F8dTTNBQkRlffnUarJ2ohudQD17sZBa097J8xhQ26AwhHJ5mvUyQW8ddTsQ==", "cpu": [ "x64" ], @@ -4505,9 +4490,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.53.2.tgz", - "integrity": "sha512-v0E9lJW8VsrwPux5Qe5CwmH/CF/2mQs6xU1MF3nmUxmZUCHazCjLgYvToOk+YuuUqLQBio1qkkREhxhc656ViA==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.53.3.tgz", + "integrity": "sha512-yMTrCrK92aGyi7GuDNtGn2sNW+Gdb4vErx4t3Gv/Tr+1zRb8ax4z8GWVRfr3Jw8zJWvpGHNpss3vVlbF58DZ4w==", "cpu": [ "arm64" ], @@ -4518,9 +4503,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.53.2.tgz", - "integrity": "sha512-ClAmAPx3ZCHtp6ysl4XEhWU69GUB1D+s7G9YjHGhIGCSrsg00nEGRRZHmINYxkdoJehde8VIsDC5t9C0gb6yqA==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.53.3.tgz", + "integrity": "sha512-lMfF8X7QhdQzseM6XaX0vbno2m3hlyZFhwcndRMw8fbAGUGL3WFMBdK0hbUBIUYcEcMhVLr1SIamDeuLBnXS+Q==", "cpu": [ "x64" ], @@ -4531,9 +4516,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.53.2.tgz", - "integrity": "sha512-EPlb95nUsz6Dd9Qy13fI5kUPXNSljaG9FiJ4YUGU1O/Q77i5DYFW5KR8g1OzTcdZUqQQ1KdDqsTohdFVwCwjqg==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.53.3.tgz", + "integrity": "sha512-k9oD15soC/Ln6d2Wv/JOFPzZXIAIFLp6B+i14KhxAfnq76ajt0EhYc5YPeX6W1xJkAdItcVT+JhKl1QZh44/qw==", "cpu": [ "arm" ], @@ -4544,9 +4529,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.53.2.tgz", - "integrity": "sha512-BOmnVW+khAUX+YZvNfa0tGTEMVVEerOxN0pDk2E6N6DsEIa2Ctj48FOMfNDdrwinocKaC7YXUZ1pHlKpnkja/Q==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.53.3.tgz", + "integrity": "sha512-vTNlKq+N6CK/8UktsrFuc+/7NlEYVxgaEgRXVUVK258Z5ymho29skzW1sutgYjqNnquGwVUObAaxae8rZ6YMhg==", "cpu": [ "arm" ], @@ -4557,9 +4542,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.53.2.tgz", - "integrity": "sha512-Xt2byDZ+6OVNuREgBXr4+CZDJtrVso5woFtpKdGPhpTPHcNG7D8YXeQzpNbFRxzTVqJf7kvPMCub/pcGUWgBjA==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.53.3.tgz", + "integrity": "sha512-RGrFLWgMhSxRs/EWJMIFM1O5Mzuz3Xy3/mnxJp/5cVhZ2XoCAxJnmNsEyeMJtpK+wu0FJFWz+QF4mjCA7AUQ3w==", "cpu": [ "arm64" ], @@ -4570,9 +4555,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.53.2.tgz", - "integrity": "sha512-+LdZSldy/I9N8+klim/Y1HsKbJ3BbInHav5qE9Iy77dtHC/pibw1SR/fXlWyAk0ThnpRKoODwnAuSjqxFRDHUQ==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.53.3.tgz", + "integrity": "sha512-kASyvfBEWYPEwe0Qv4nfu6pNkITLTb32p4yTgzFCocHnJLAHs+9LjUu9ONIhvfT/5lv4YS5muBHyuV84epBo/A==", "cpu": [ "arm64" ], @@ -4583,9 +4568,9 @@ ] }, "node_modules/@rollup/rollup-linux-loong64-gnu": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.53.2.tgz", - "integrity": "sha512-8ms8sjmyc1jWJS6WdNSA23rEfdjWB30LH8Wqj0Cqvv7qSHnvw6kgMMXRdop6hkmGPlyYBdRPkjJnj3KCUHV/uQ==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.53.3.tgz", + "integrity": "sha512-JiuKcp2teLJwQ7vkJ95EwESWkNRFJD7TQgYmCnrPtlu50b4XvT5MOmurWNrCj3IFdyjBQ5p9vnrX4JM6I8OE7g==", "cpu": [ "loong64" ], @@ -4596,9 +4581,9 @@ ] }, "node_modules/@rollup/rollup-linux-ppc64-gnu": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.53.2.tgz", - "integrity": "sha512-3HRQLUQbpBDMmzoxPJYd3W6vrVHOo2cVW8RUo87Xz0JPJcBLBr5kZ1pGcQAhdZgX9VV7NbGNipah1omKKe23/g==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.53.3.tgz", + "integrity": "sha512-EoGSa8nd6d3T7zLuqdojxC20oBfNT8nexBbB/rkxgKj5T5vhpAQKKnD+h3UkoMuTyXkP5jTjK/ccNRmQrPNDuw==", "cpu": [ "ppc64" ], @@ -4609,9 +4594,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.53.2.tgz", - "integrity": "sha512-fMjKi+ojnmIvhk34gZP94vjogXNNUKMEYs+EDaB/5TG/wUkoeua7p7VCHnE6T2Tx+iaghAqQX8teQzcvrYpaQA==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.53.3.tgz", + "integrity": "sha512-4s+Wped2IHXHPnAEbIB0YWBv7SDohqxobiiPA1FIWZpX+w9o2i4LezzH/NkFUl8LRci/8udci6cLq+jJQlh+0g==", "cpu": [ "riscv64" ], @@ -4622,9 +4607,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-musl": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.53.2.tgz", - "integrity": "sha512-XuGFGU+VwUUV5kLvoAdi0Wz5Xbh2SrjIxCtZj6Wq8MDp4bflb/+ThZsVxokM7n0pcbkEr2h5/pzqzDYI7cCgLQ==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.53.3.tgz", + "integrity": "sha512-68k2g7+0vs2u9CxDt5ktXTngsxOQkSEV/xBbwlqYcUrAVh6P9EgMZvFsnHy4SEiUl46Xf0IObWVbMvPrr2gw8A==", "cpu": [ "riscv64" ], @@ -4635,9 +4620,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.53.2.tgz", - "integrity": "sha512-w6yjZF0P+NGzWR3AXWX9zc0DNEGdtvykB03uhonSHMRa+oWA6novflo2WaJr6JZakG2ucsyb+rvhrKac6NIy+w==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.53.3.tgz", + "integrity": "sha512-VYsFMpULAz87ZW6BVYw3I6sWesGpsP9OPcyKe8ofdg9LHxSbRMd7zrVrr5xi/3kMZtpWL/wC+UIJWJYVX5uTKg==", "cpu": [ "s390x" ], @@ -4648,9 +4633,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.2.tgz", - "integrity": "sha512-yo8d6tdfdeBArzC7T/PnHd7OypfI9cbuZzPnzLJIyKYFhAQ8SvlkKtKBMbXDxe1h03Rcr7u++nFS7tqXz87Gtw==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.3.tgz", + "integrity": "sha512-3EhFi1FU6YL8HTUJZ51imGJWEX//ajQPfqWLI3BQq4TlvHy4X0MOr5q3D2Zof/ka0d5FNdPwZXm3Yyib/UEd+w==", "cpu": [ "x64" ], @@ -4661,9 +4646,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.53.2.tgz", - "integrity": "sha512-ah59c1YkCxKExPP8O9PwOvs+XRLKwh/mV+3YdKqQ5AMQ0r4M4ZDuOrpWkUaqO7fzAHdINzV9tEVu8vNw48z0lA==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.53.3.tgz", + "integrity": "sha512-eoROhjcc6HbZCJr+tvVT8X4fW3/5g/WkGvvmwz/88sDtSJzO7r/blvoBDgISDiCjDRZmHpwud7h+6Q9JxFwq1Q==", "cpu": [ "x64" ], @@ -4674,9 +4659,9 @@ ] }, "node_modules/@rollup/rollup-openharmony-arm64": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.53.2.tgz", - "integrity": "sha512-4VEd19Wmhr+Zy7hbUsFZ6YXEiP48hE//KPLCSVNY5RMGX2/7HZ+QkN55a3atM1C/BZCGIgqN+xrVgtdak2S9+A==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.53.3.tgz", + "integrity": "sha512-OueLAWgrNSPGAdUdIjSWXw+u/02BRTcnfw9PN41D2vq/JSEPnJnVuBgw18VkN8wcd4fjUs+jFHVM4t9+kBSNLw==", "cpu": [ "arm64" ], @@ -4687,9 +4672,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.53.2.tgz", - "integrity": "sha512-IlbHFYc/pQCgew/d5fslcy1KEaYVCJ44G8pajugd8VoOEI8ODhtb/j8XMhLpwHCMB3yk2J07ctup10gpw2nyMA==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.53.3.tgz", + "integrity": "sha512-GOFuKpsxR/whszbF/bzydebLiXIHSgsEUp6M0JI8dWvi+fFa1TD6YQa4aSZHtpmh2/uAlj/Dy+nmby3TJ3pkTw==", "cpu": [ "arm64" ], @@ -4700,9 +4685,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.53.2.tgz", - "integrity": "sha512-lNlPEGgdUfSzdCWU176ku/dQRnA7W+Gp8d+cWv73jYrb8uT7HTVVxq62DUYxjbaByuf1Yk0RIIAbDzp+CnOTFg==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.53.3.tgz", + "integrity": "sha512-iah+THLcBJdpfZ1TstDFbKNznlzoxa8fmnFYK4V67HvmuNYkVdAywJSoteUszvBQ9/HqN2+9AZghbajMsFT+oA==", "cpu": [ "ia32" ], @@ -4713,9 +4698,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-gnu": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.53.2.tgz", - "integrity": "sha512-S6YojNVrHybQis2lYov1sd+uj7K0Q05NxHcGktuMMdIQ2VixGwAfbJ23NnlvvVV1bdpR2m5MsNBViHJKcA4ADw==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.53.3.tgz", + "integrity": "sha512-J9QDiOIZlZLdcot5NXEepDkstocktoVjkaKUtqzgzpt2yWjGlbYiKyp05rWwk4nypbYUNoFAztEgixoLaSETkg==", "cpu": [ "x64" ], @@ -4726,9 +4711,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.53.2.tgz", - "integrity": "sha512-k+/Rkcyx//P6fetPoLMb8pBeqJBNGx81uuf7iljX9++yNBVRDQgD04L+SVXmXmh5ZP4/WOp4mWF0kmi06PW2tA==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.53.3.tgz", + "integrity": "sha512-UhTd8u31dXadv0MopwGgNOBpUVROFKWVQgAg5N1ESyCz8AuBcMqm4AuTjrwgQKGDfoFuz02EuMRHQIw/frmYKQ==", "cpu": [ "x64" ], @@ -4789,6 +4774,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "type-detect": "4.0.8" @@ -4798,6 +4784,7 @@ "version": "4.0.8", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -4817,6 +4804,7 @@ "version": "8.0.3", "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.3.tgz", "integrity": "sha512-hw6HbX+GyVZzmaYNh82Ecj1vdGZrqVIn/keDTg63IgAwiQPO+xCz99uG6Woqgb4tM0mUiFENKZ4cqd7IX94AXQ==", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.1", @@ -4827,6 +4815,7 @@ "version": "0.7.3", "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.3.tgz", "integrity": "sha512-DE427ROAphMQzU4ENbliGYrBSYPXF+TtLg9S8vzeA+OF4ZKzoDdzfL8sxuMUGS/lgRhM6j1URSk9ghf7Xo1tyA==", + "dev": true, "license": "(Unlicense OR Apache-2.0)" }, "node_modules/@smithy/abort-controller": { @@ -4889,13 +4878,13 @@ } }, "node_modules/@smithy/core": { - "version": "3.18.3", - "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.18.3.tgz", - "integrity": "sha512-qqpNskkbHOSfrbFbjhYj5o8VMXO26fvN1K/+HbCzUNlTuxgNcPRouUDNm+7D6CkN244WG7aK533Ne18UtJEgAA==", + "version": "3.18.5", + "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.18.5.tgz", + "integrity": "sha512-6gnIz3h+PEPQGDj8MnRSjDvKBah042jEoPgjFGJ4iJLBE78L4lY/n98x14XyPF4u3lN179Ub/ZKFY5za9GeLQw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@smithy/middleware-serde": "^4.2.5", + "@smithy/middleware-serde": "^4.2.6", "@smithy/protocol-http": "^5.3.5", "@smithy/types": "^4.9.0", "@smithy/util-base64": "^4.3.0", @@ -5124,14 +5113,14 @@ } }, "node_modules/@smithy/middleware-endpoint": { - "version": "4.3.10", - "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.3.10.tgz", - "integrity": "sha512-SoAag3QnWBFoXjwa1jenEThkzJYClidZUyqsLKwWZ8kOlZBwehrLBp4ygVDjNEM2a2AamCQ2FBA/HuzKJ/LiTA==", + "version": "4.3.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.3.12.tgz", + "integrity": "sha512-9pAX/H+VQPzNbouhDhkW723igBMLgrI8OtX+++M7iKJgg/zY/Ig3i1e6seCcx22FWhE6Q/S61BRdi2wXBORT+A==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@smithy/core": "^3.18.3", - "@smithy/middleware-serde": "^4.2.5", + "@smithy/core": "^3.18.5", + "@smithy/middleware-serde": "^4.2.6", "@smithy/node-config-provider": "^4.3.5", "@smithy/shared-ini-file-loader": "^4.4.0", "@smithy/types": "^4.9.0", @@ -5144,16 +5133,16 @@ } }, "node_modules/@smithy/middleware-retry": { - "version": "4.4.10", - "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.4.10.tgz", - "integrity": "sha512-6fOwX34gXxcqKa3bsG0mR0arc2Cw4ddOS6tp3RgUD2yoTrDTbQ2aVADnDjhUuxaiDZN2iilxndgGDhnpL/XvJA==", + "version": "4.4.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.4.12.tgz", + "integrity": "sha512-S4kWNKFowYd0lID7/DBqWHOQxmxlsf0jBaos9chQZUWTVOjSW1Ogyh8/ib5tM+agFDJ/TCxuCTvrnlc+9cIBcQ==", "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^4.3.5", "@smithy/protocol-http": "^5.3.5", "@smithy/service-error-classification": "^4.2.5", - "@smithy/smithy-client": "^4.9.6", + "@smithy/smithy-client": "^4.9.8", "@smithy/types": "^4.9.0", "@smithy/util-middleware": "^4.2.5", "@smithy/util-retry": "^4.2.5", @@ -5165,9 +5154,9 @@ } }, "node_modules/@smithy/middleware-serde": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.2.5.tgz", - "integrity": "sha512-La1ldWTJTZ5NqQyPqnCNeH9B+zjFhrNoQIL1jTh4zuqXRlmXhxYHhMtI1/92OlnoAtp6JoN7kzuwhWoXrBwPqg==", + "version": "4.2.6", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.2.6.tgz", + "integrity": "sha512-VkLoE/z7e2g8pirwisLz8XJWedUSY8my/qrp81VmAdyrhi94T+riBfwP+AOEEFR9rFTSonC/5D2eWNmFabHyGQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -5331,14 +5320,14 @@ } }, "node_modules/@smithy/smithy-client": { - "version": "4.9.6", - "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.9.6.tgz", - "integrity": "sha512-hGz42hggqReicRRZUvrKDQiAmoJnx1Q+XfAJnYAGu544gOfxQCAC3hGGD7+Px2gEUUxB/kKtQV7LOtBRNyxteQ==", + "version": "4.9.8", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.9.8.tgz", + "integrity": "sha512-8xgq3LgKDEFoIrLWBho/oYKyWByw9/corz7vuh1upv7ZBm0ZMjGYBhbn6v643WoIqA9UTcx5A5htEp/YatUwMA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@smithy/core": "^3.18.3", - "@smithy/middleware-endpoint": "^4.3.10", + "@smithy/core": "^3.18.5", + "@smithy/middleware-endpoint": "^4.3.12", "@smithy/middleware-stack": "^4.2.5", "@smithy/protocol-http": "^5.3.5", "@smithy/types": "^4.9.0", @@ -5446,14 +5435,14 @@ } }, "node_modules/@smithy/util-defaults-mode-browser": { - "version": "4.3.9", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.3.9.tgz", - "integrity": "sha512-Bh5bU40BgdkXE2BcaNazhNtEXi1TC0S+1d84vUwv5srWfvbeRNUKFzwKQgC6p6MXPvEgw+9+HdX3pOwT6ut5aw==", + "version": "4.3.11", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.3.11.tgz", + "integrity": "sha512-yHv+r6wSQXEXTPVCIQTNmXVWs7ekBTpMVErjqZoWkYN75HIFN5y9+/+sYOejfAuvxWGvgzgxbTHa/oz61YTbKw==", "dev": true, "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^4.2.5", - "@smithy/smithy-client": "^4.9.6", + "@smithy/smithy-client": "^4.9.8", "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, @@ -5462,9 +5451,9 @@ } }, "node_modules/@smithy/util-defaults-mode-node": { - "version": "4.2.12", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.2.12.tgz", - "integrity": "sha512-EHZwe1E9Q7umImIyCKQg/Cm+S+7rjXxCRvfGmKifqwYvn7M8M4ZcowwUOQzvuuxUUmdzCkqL0Eq0z1m74Pq6pw==", + "version": "4.2.14", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.2.14.tgz", + "integrity": "sha512-ljZN3iRvaJUgulfvobIuG97q1iUuCMrvXAlkZ4msY+ZuVHQHDIqn7FKZCEj+bx8omz6kF5yQXms/xhzjIO5XiA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -5472,7 +5461,7 @@ "@smithy/credential-provider-imds": "^4.2.5", "@smithy/node-config-provider": "^4.3.5", "@smithy/property-provider": "^4.2.5", - "@smithy/smithy-client": "^4.9.6", + "@smithy/smithy-client": "^4.9.8", "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, @@ -5643,14 +5632,14 @@ } }, "node_modules/@stylistic/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.4.tgz", - "integrity": "sha512-tMDbLGXb1wC+McN1M6QeDx7P7c0UWO5z9CXqp7J8E+xGcJuUuevWKxuG8j41FoweS3+L41SkyKKkia16jpX7CA==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.48.0.tgz", + "integrity": "sha512-uGSSsbrtJrLduti0Q1Q9+BF1/iFKaxGoQwjWOIVNJv0o6omrdyR8ct37m4xIl5Zzpkp69Kkmvom7QFTtue89YQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4" + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/visitor-keys": "8.48.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -5661,9 +5650,9 @@ } }, "node_modules/@stylistic/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz", - "integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.48.0.tgz", + "integrity": "sha512-cQMcGQQH7kwKoVswD1xdOytxQR60MWKM1di26xSUtxehaDs/32Zpqsu5WJlXTtTTqyAVK8R7hvsUnIXRS+bjvA==", "dev": true, "license": "MIT", "engines": { @@ -5675,21 +5664,20 @@ } }, "node_modules/@stylistic/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.4.tgz", - "integrity": "sha512-7oV2qEOr1d4NWNmpXLR35LvCfOkTNymY9oyW+lUHkmCno7aOmIf/hMaydnJBUTBMRCOGZh8YjkFOc8dadEoNGA==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.48.0.tgz", + "integrity": "sha512-ljHab1CSO4rGrQIAyizUS6UGHHCiAYhbfcIZ1zVJr5nMryxlXMVWS3duFPSKvSUbFPwkXMFk1k0EMIjub4sRRQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.46.4", - "@typescript-eslint/tsconfig-utils": "8.46.4", - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4", + "@typescript-eslint/project-service": "8.48.0", + "@typescript-eslint/tsconfig-utils": "8.48.0", + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/visitor-keys": "8.48.0", "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", + "tinyglobby": "^0.2.15", "ts-api-utils": "^2.1.0" }, "engines": { @@ -5704,16 +5692,16 @@ } }, "node_modules/@stylistic/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.4.tgz", - "integrity": "sha512-AbSv11fklGXV6T28dp2Me04Uw90R2iJ30g2bgLz529Koehrmkbs1r7paFqr1vPCZi7hHwYxYtxfyQMRC8QaVSg==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.48.0.tgz", + "integrity": "sha512-yTJO1XuGxCsSfIVt1+1UrLHtue8xz16V8apzPYI06W0HbEbEWHxHXgZaAgavIkoh+GeV6hKKd5jm0sS6OYxWXQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.46.4", - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/typescript-estree": "8.46.4" + "@typescript-eslint/scope-manager": "8.48.0", + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/typescript-estree": "8.48.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -5728,13 +5716,13 @@ } }, "node_modules/@stylistic/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.4.tgz", - "integrity": "sha512-/++5CYLQqsO9HFGLI7APrxBJYo+5OCMpViuhV8q5/Qa3o5mMrF//eQHks+PXcsAVaLdn817fMuS7zqoXNNZGaw==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.48.0.tgz", + "integrity": "sha512-T0XJMaRPOH3+LBbAfzR2jalckP1MSG/L9eUtY0DEzUyVaXJ/t6zN0nR7co5kz0Jko/nkSYCBRkz1djvjajVTTg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/types": "8.48.0", "eslint-visitor-keys": "^4.2.1" }, "engines": { @@ -5789,15 +5777,6 @@ "node": ">=14.16" } }, - "node_modules/@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", - "license": "MIT", - "engines": { - "node": ">= 10" - } - }, "node_modules/@tsconfig/node10": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.12.tgz", @@ -6097,9 +6076,9 @@ "license": "MIT" }, "node_modules/@types/lodash": { - "version": "4.17.20", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.20.tgz", - "integrity": "sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==", + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-FOvQ0YPD5NOfPgMzJihoT+Za5pdkDJWcbpuj1DjaKZIr/gxodQjY/uWEFlTNqW2ugXHUiL8lRQgw63dzKHZdeQ==", "license": "MIT" }, "node_modules/@types/markdown-it": { @@ -6323,9 +6302,9 @@ "license": "MIT" }, "node_modules/@types/yargs": { - "version": "17.0.34", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.34.tgz", - "integrity": "sha512-KExbHVa92aJpw9WDQvzBaGVE2/Pz+pLZQloT2hjL8IqsZnV62rlPOYvNnLmf/L2dyllfVUOVBj64M0z/46eR2A==", + "version": "17.0.35", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.35.tgz", + "integrity": "sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==", "dev": true, "license": "MIT", "dependencies": { @@ -6404,14 +6383,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.46.4.tgz", - "integrity": "sha512-nPiRSKuvtTN+no/2N1kt2tUh/HoFzeEgOm9fQ6XQk4/ApGqjx0zFIIaLJ6wooR1HIoozvj2j6vTi/1fgAz7UYQ==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.48.0.tgz", + "integrity": "sha512-Ne4CTZyRh1BecBf84siv42wv5vQvVmgtk8AuiEffKTUo3DrBaGYZueJSxxBZ8fjk/N3DrgChH4TOdIOwOwiqqw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.46.4", - "@typescript-eslint/types": "^8.46.4", + "@typescript-eslint/tsconfig-utils": "^8.48.0", + "@typescript-eslint/types": "^8.48.0", "debug": "^4.3.4" }, "engines": { @@ -6426,9 +6405,9 @@ } }, "node_modules/@typescript-eslint/project-service/node_modules/@typescript-eslint/types": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz", - "integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.48.0.tgz", + "integrity": "sha512-cQMcGQQH7kwKoVswD1xdOytxQR60MWKM1di26xSUtxehaDs/32Zpqsu5WJlXTtTTqyAVK8R7hvsUnIXRS+bjvA==", "dev": true, "license": "MIT", "engines": { @@ -6458,9 +6437,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.46.4.tgz", - "integrity": "sha512-+/XqaZPIAk6Cjg7NWgSGe27X4zMGqrFqZ8atJsX3CWxH/jACqWnrWI68h7nHQld0y+k9eTTjb9r+KU4twLoo9A==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.48.0.tgz", + "integrity": "sha512-WNebjBdFdyu10sR1M4OXTt2OkMd5KWIL+LLfeH9KhgP+jzfDV/LI3eXzwJ1s9+Yc0Kzo2fQCdY/OpdusCMmh6w==", "dev": true, "license": "MIT", "engines": { @@ -6934,13 +6913,6 @@ "node": ">=8" } }, - "node_modules/abab": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", - "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", - "deprecated": "Use your platform's native atob() and btoa() methods instead", - "license": "BSD-3-Clause" - }, "node_modules/accepts": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", @@ -6958,6 +6930,7 @@ "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" @@ -6966,16 +6939,6 @@ "node": ">=0.4.0" } }, - "node_modules/acorn-globals": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-7.0.1.tgz", - "integrity": "sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==", - "license": "MIT", - "dependencies": { - "acorn": "^8.1.0", - "acorn-walk": "^8.0.2" - } - }, "node_modules/acorn-jsx": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", @@ -6990,6 +6953,7 @@ "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" @@ -7007,18 +6971,6 @@ "node": ">=12.0" } }, - "node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "license": "MIT", - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, "node_modules/aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", @@ -7274,15 +7226,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/array-flat-polyfill": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/array-flat-polyfill/-/array-flat-polyfill-1.0.1.tgz", - "integrity": "sha512-hfJmKupmQN0lwi0xG6FQ5U8Rd97RnIERplymOv/qpq8AoNKPPAnxJadjFA23FNWm88wykh9HmpLJUUwUtNU/iw==", - "license": "CC0-1.0", - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/array-flatten": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", @@ -7663,9 +7606,9 @@ "license": "MIT" }, "node_modules/baseline-browser-mapping": { - "version": "2.8.27", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.27.tgz", - "integrity": "sha512-2CXFpkjVnY2FT+B6GrSYxzYf65BJWEqz5tIRHCvNsZZ2F3CmsCB37h8SpYgKG7y9C4YAeTipIPWG7EmFmhAeXA==", + "version": "2.8.31", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.31.tgz", + "integrity": "sha512-a28v2eWrrRWPpJSzxc+mKwm0ZtVx/G8SepdQZDArnXYU/XS+IF6mp8aB/4E+hH1tyGCoDo3KlUCdlSxGDsRkAw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -7734,12 +7677,6 @@ "ieee754": "^1.1.13" } }, - "node_modules/block-elements": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/block-elements/-/block-elements-1.2.0.tgz", - "integrity": "sha512-4E+pnt4v8HSEEH3Dwe2Bcu8TIbdReez7b5Qjs11dJIdbGFaNSobDgphWxy9NtjYB9ZsZd7DzByDbeXy4DvYz5Q==", - "license": "MIT" - }, "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", @@ -7801,9 +7738,9 @@ } }, "node_modules/bowser": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.12.1.tgz", - "integrity": "sha512-z4rE2Gxh7tvshQ4hluIT7XcFrgLIQaw9X3A+kTTRdovCz5PMukm/0QC/BKSYPj3omF5Qfypn9O/c5kgpmvYUCw==", + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.13.0.tgz", + "integrity": "sha512-yHAbSRuT6LTeKi6k2aS40csueHqgAsFEgmrOsfRyFpJnFv5O2hl9FYmWEUZ97gZ/dG17U4IQQcTx4YAFYPuWRQ==", "dev": true, "license": "MIT" }, @@ -8150,9 +8087,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001754", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001754.tgz", - "integrity": "sha512-x6OeBXueoAceOmotzx3PO4Zpt4rzpeIFsSr6AAePTZxSkXiYDUmpypEl7e2+8NCd9bD7bXjqyef8CJYPC1jfxg==", + "version": "1.0.30001757", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001757.tgz", + "integrity": "sha512-r0nnL/I28Zi/yjk1el6ilj27tKcdjLsNqAOZr0yVjWPrSQyHgKI2INaEWw21bAQSv2LXRt1XuCS/GomNpWOxsQ==", "dev": true, "funding": [ { @@ -8572,16 +8509,6 @@ "node": ">=0.10.0" } }, - "node_modules/collapse-whitespace": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/collapse-whitespace/-/collapse-whitespace-1.1.7.tgz", - "integrity": "sha512-24up1hbQSsnaDSGHPOvGQT84vmxvG0QUrI8tguiQpo9I5irrnypCKwddXindXMyXhoTe+9V6LYj3aFIhTQ4UCg==", - "license": "MIT", - "dependencies": { - "block-elements": "^1.0.0", - "void-elements": "^2.0.1" - } - }, "node_modules/collect-all": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/collect-all/-/collect-all-1.0.4.tgz", @@ -8604,13 +8531,13 @@ "license": "MIT" }, "node_modules/color": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/color/-/color-5.0.2.tgz", - "integrity": "sha512-e2hz5BzbUPcYlIRHo8ieAhYgoajrJr+hWoceg6E345TPsATMUKqDgzt8fSXZJJbxfpiPzkWyphz8yn8At7q3fA==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/color/-/color-5.0.3.tgz", + "integrity": "sha512-ezmVcLR3xAVp8kYOm4GS45ZLLgIE6SPAFoduLr6hTDajwb3KZ2F46gulK3XpcwRFb5KKGCSezCBAY4Dw4HsyXA==", "license": "MIT", "dependencies": { - "color-convert": "^3.0.1", - "color-string": "^2.0.0" + "color-convert": "^3.1.3", + "color-string": "^2.1.3" }, "engines": { "node": ">=18" @@ -8635,9 +8562,9 @@ "license": "MIT" }, "node_modules/color-string": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-2.1.2.tgz", - "integrity": "sha512-RxmjYxbWemV9gKu4zPgiZagUxbH3RQpEIO77XoSSX0ivgABDZ+h8Zuash/EMFLTI4N9QgFPOJ6JQpPZKFxa+dA==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-2.1.4.tgz", + "integrity": "sha512-Bb6Cq8oq0IjDOe8wJmi4JeNn763Xs9cfrBcaylK1tPypWzyoy2G3l90v9k64kjphl/ZJjPIShFztenRomi8WTg==", "license": "MIT", "dependencies": { "color-name": "^2.0.0" @@ -8656,9 +8583,9 @@ } }, "node_modules/color/node_modules/color-convert": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-3.1.2.tgz", - "integrity": "sha512-UNqkvCDXstVck3kdowtOTWROIJQwafjOfXSmddoDrXo4cewMKmusCeF22Q24zvjR8nwWib/3S/dfyzPItPEiJg==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-3.1.3.tgz", + "integrity": "sha512-fasDH2ont2GqF5HpyO4w0+BcewlhHEZOFn9c1ckZdHpJ56Qb7MHhH/IcJZbBGgvdtwdwNbLvxiBEdg336iA9Sg==", "license": "MIT", "dependencies": { "color-name": "^2.0.0" @@ -8980,13 +8907,13 @@ "license": "MIT" }, "node_modules/core-js-compat": { - "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==", + "version": "3.47.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.47.0.tgz", + "integrity": "sha512-IGfuznZ/n7Kp9+nypamBhvwdwLsW6KC8IOaURw2doAK5e98AG3acVLdh0woOnEqCfUtS+Vu882JE4k/DAm3ItQ==", "dev": true, "license": "MIT", "dependencies": { - "browserslist": "^4.26.3" + "browserslist": "^4.28.0" }, "funding": { "type": "opencollective", @@ -9081,30 +9008,6 @@ "node": ">=8" } }, - "node_modules/cssom": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz", - "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==", - "license": "MIT" - }, - "node_modules/cssstyle": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", - "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", - "license": "MIT", - "dependencies": { - "cssom": "~0.3.6" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cssstyle/node_modules/cssom": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", - "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", - "license": "MIT" - }, "node_modules/csv": { "version": "5.5.3", "resolved": "https://registry.npmjs.org/csv/-/csv-5.5.3.tgz", @@ -9146,20 +9049,6 @@ "node": ">=0.4.0" } }, - "node_modules/data-urls": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-3.0.2.tgz", - "integrity": "sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==", - "license": "MIT", - "dependencies": { - "abab": "^2.0.6", - "whatwg-mimetype": "^3.0.0", - "whatwg-url": "^11.0.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/data-view-buffer": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz", @@ -9258,12 +9147,6 @@ "node": ">=0.10.0" } }, - "node_modules/decimal.js": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz", - "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==", - "license": "MIT" - }, "node_modules/decompress-response": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", @@ -9549,19 +9432,6 @@ "node": ">=6.0.0" } }, - "node_modules/domexception": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/domexception/-/domexception-4.0.0.tgz", - "integrity": "sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==", - "deprecated": "Use your platform's native DOMException instead", - "license": "MIT", - "dependencies": { - "webidl-conversions": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/dot-case": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz", @@ -9652,9 +9522,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.250", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.250.tgz", - "integrity": "sha512-/5UMj9IiGDMOFBnN4i7/Ry5onJrAGSbOGo3s9FEKmwobGq6xw832ccET0CE3CkkMBZ8GJSlUIesZofpyurqDXw==", + "version": "1.5.260", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.260.tgz", + "integrity": "sha512-ov8rBoOBhVawpzdre+Cmz4FB+y66Eqrk6Gwqd8NGxuhv99GQ8XqMAr351KEkOt7gukXWDg6gJWEMKgL2RLMPtA==", "dev": true, "license": "ISC" }, @@ -9995,27 +9865,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==", - "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": "8.57.1", "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", @@ -10090,9 +9939,9 @@ } }, "node_modules/eslint-config-oclif": { - "version": "6.0.116", - "resolved": "https://registry.npmjs.org/eslint-config-oclif/-/eslint-config-oclif-6.0.116.tgz", - "integrity": "sha512-h1iKXrrOZFuGy7huGJ6u/rQNg8lVPVk7jNMqWR2ykla4/4IpXgjCtfXCoyv5vX9W3ufr0+acIV+e3D8Lau8eFg==", + "version": "6.0.119", + "resolved": "https://registry.npmjs.org/eslint-config-oclif/-/eslint-config-oclif-6.0.119.tgz", + "integrity": "sha512-mwRw672wDA2VGFbuJp+/E3cI6aVckgknfd5GKGoPSolZRUXVxbRChUXvnRPHEmbWatH0hL9RadqyL1SGy0d/Dg==", "dev": true, "license": "MIT", "dependencies": { @@ -10112,7 +9961,7 @@ "eslint-plugin-n": "^17.22.0", "eslint-plugin-perfectionist": "^4", "eslint-plugin-unicorn": "^56.0.1", - "typescript-eslint": "^8.46.3" + "typescript-eslint": "^8.47.0" }, "engines": { "node": ">=18.18.0" @@ -10543,17 +10392,17 @@ } }, "node_modules/eslint-config-oclif/node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.4.tgz", - "integrity": "sha512-R48VhmTJqplNyDxCyqqVkFSZIx1qX6PzwqgcXn1olLrzxcSBDlOsbtcnQuQhNtnNiJ4Xe5gREI1foajYaYU2Vg==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.48.0.tgz", + "integrity": "sha512-XxXP5tL1txl13YFtrECECQYeZjBZad4fyd3cFV4a19LkAY/bIp9fev3US4S5fDVV2JaYFiKAZ/GRTOLer+mbyQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.46.4", - "@typescript-eslint/type-utils": "8.46.4", - "@typescript-eslint/utils": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4", + "@typescript-eslint/scope-manager": "8.48.0", + "@typescript-eslint/type-utils": "8.48.0", + "@typescript-eslint/utils": "8.48.0", + "@typescript-eslint/visitor-keys": "8.48.0", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", @@ -10567,7 +10416,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.46.4", + "@typescript-eslint/parser": "^8.48.0", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } @@ -10583,16 +10432,16 @@ } }, "node_modules/eslint-config-oclif/node_modules/@typescript-eslint/parser": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.46.4.tgz", - "integrity": "sha512-tK3GPFWbirvNgsNKto+UmB/cRtn6TZfyw0D6IKrW55n6Vbs7KJoZtI//kpTKzE/DUmmnAFD8/Ca46s7Obs92/w==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.48.0.tgz", + "integrity": "sha512-jCzKdm/QK0Kg4V4IK/oMlRZlY+QOcdjv89U2NgKHZk1CYTj82/RVSx1mV/0gqCVMJ/DA+Zf/S4NBWNF8GQ+eqQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.46.4", - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/typescript-estree": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4", + "@typescript-eslint/scope-manager": "8.48.0", + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/typescript-estree": "8.48.0", + "@typescript-eslint/visitor-keys": "8.48.0", "debug": "^4.3.4" }, "engines": { @@ -10608,14 +10457,14 @@ } }, "node_modules/eslint-config-oclif/node_modules/@typescript-eslint/scope-manager": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.4.tgz", - "integrity": "sha512-tMDbLGXb1wC+McN1M6QeDx7P7c0UWO5z9CXqp7J8E+xGcJuUuevWKxuG8j41FoweS3+L41SkyKKkia16jpX7CA==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.48.0.tgz", + "integrity": "sha512-uGSSsbrtJrLduti0Q1Q9+BF1/iFKaxGoQwjWOIVNJv0o6omrdyR8ct37m4xIl5Zzpkp69Kkmvom7QFTtue89YQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4" + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/visitor-keys": "8.48.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -10626,15 +10475,15 @@ } }, "node_modules/eslint-config-oclif/node_modules/@typescript-eslint/type-utils": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.46.4.tgz", - "integrity": "sha512-V4QC8h3fdT5Wro6vANk6eojqfbv5bpwHuMsBcJUJkqs2z5XnYhJzyz9Y02eUmF9u3PgXEUiOt4w4KHR3P+z0PQ==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.48.0.tgz", + "integrity": "sha512-zbeVaVqeXhhab6QNEKfK96Xyc7UQuoFWERhEnj3mLVnUWrQnv15cJNseUni7f3g557gm0e46LZ6IJ4NJVOgOpw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/typescript-estree": "8.46.4", - "@typescript-eslint/utils": "8.46.4", + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/typescript-estree": "8.48.0", + "@typescript-eslint/utils": "8.48.0", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, @@ -10651,9 +10500,9 @@ } }, "node_modules/eslint-config-oclif/node_modules/@typescript-eslint/types": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz", - "integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.48.0.tgz", + "integrity": "sha512-cQMcGQQH7kwKoVswD1xdOytxQR60MWKM1di26xSUtxehaDs/32Zpqsu5WJlXTtTTqyAVK8R7hvsUnIXRS+bjvA==", "dev": true, "license": "MIT", "engines": { @@ -10665,21 +10514,20 @@ } }, "node_modules/eslint-config-oclif/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.4.tgz", - "integrity": "sha512-7oV2qEOr1d4NWNmpXLR35LvCfOkTNymY9oyW+lUHkmCno7aOmIf/hMaydnJBUTBMRCOGZh8YjkFOc8dadEoNGA==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.48.0.tgz", + "integrity": "sha512-ljHab1CSO4rGrQIAyizUS6UGHHCiAYhbfcIZ1zVJr5nMryxlXMVWS3duFPSKvSUbFPwkXMFk1k0EMIjub4sRRQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.46.4", - "@typescript-eslint/tsconfig-utils": "8.46.4", - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4", + "@typescript-eslint/project-service": "8.48.0", + "@typescript-eslint/tsconfig-utils": "8.48.0", + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/visitor-keys": "8.48.0", "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", + "tinyglobby": "^0.2.15", "ts-api-utils": "^2.1.0" }, "engines": { @@ -10710,16 +10558,16 @@ } }, "node_modules/eslint-config-oclif/node_modules/@typescript-eslint/utils": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.4.tgz", - "integrity": "sha512-AbSv11fklGXV6T28dp2Me04Uw90R2iJ30g2bgLz529Koehrmkbs1r7paFqr1vPCZi7hHwYxYtxfyQMRC8QaVSg==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.48.0.tgz", + "integrity": "sha512-yTJO1XuGxCsSfIVt1+1UrLHtue8xz16V8apzPYI06W0HbEbEWHxHXgZaAgavIkoh+GeV6hKKd5jm0sS6OYxWXQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.46.4", - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/typescript-estree": "8.46.4" + "@typescript-eslint/scope-manager": "8.48.0", + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/typescript-estree": "8.48.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -10734,13 +10582,13 @@ } }, "node_modules/eslint-config-oclif/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.4.tgz", - "integrity": "sha512-/++5CYLQqsO9HFGLI7APrxBJYo+5OCMpViuhV8q5/Qa3o5mMrF//eQHks+PXcsAVaLdn817fMuS7zqoXNNZGaw==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.48.0.tgz", + "integrity": "sha512-T0XJMaRPOH3+LBbAfzR2jalckP1MSG/L9eUtY0DEzUyVaXJ/t6zN0nR7co5kz0Jko/nkSYCBRkz1djvjajVTTg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/types": "8.48.0", "eslint-visitor-keys": "^4.2.1" }, "engines": { @@ -10944,14 +10792,14 @@ } }, "node_modules/eslint-config-oclif/node_modules/eslint-config-xo/node_modules/@stylistic/eslint-plugin": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@stylistic/eslint-plugin/-/eslint-plugin-5.5.0.tgz", - "integrity": "sha512-IeZF+8H0ns6prg4VrkhgL+yrvDXWDH2cKchrbh80ejG9dQgZWp10epHMbgRuQvgchLII/lfh6Xn3lu6+6L86Hw==", + "version": "5.6.1", + "resolved": "https://registry.npmjs.org/@stylistic/eslint-plugin/-/eslint-plugin-5.6.1.tgz", + "integrity": "sha512-JCs+MqoXfXrRPGbGmho/zGS/jMcn3ieKl/A8YImqib76C8kjgZwq5uUFzc30lJkMvcchuRn6/v8IApLxli3Jyw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.0", - "@typescript-eslint/types": "^8.46.1", + "@typescript-eslint/types": "^8.47.0", "eslint-visitor-keys": "^4.2.1", "espree": "^10.4.0", "estraverse": "^5.3.0", @@ -11514,14 +11362,14 @@ } }, "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/scope-manager": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.4.tgz", - "integrity": "sha512-tMDbLGXb1wC+McN1M6QeDx7P7c0UWO5z9CXqp7J8E+xGcJuUuevWKxuG8j41FoweS3+L41SkyKKkia16jpX7CA==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.48.0.tgz", + "integrity": "sha512-uGSSsbrtJrLduti0Q1Q9+BF1/iFKaxGoQwjWOIVNJv0o6omrdyR8ct37m4xIl5Zzpkp69Kkmvom7QFTtue89YQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4" + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/visitor-keys": "8.48.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -11532,9 +11380,9 @@ } }, "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/types": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz", - "integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.48.0.tgz", + "integrity": "sha512-cQMcGQQH7kwKoVswD1xdOytxQR60MWKM1di26xSUtxehaDs/32Zpqsu5WJlXTtTTqyAVK8R7hvsUnIXRS+bjvA==", "dev": true, "license": "MIT", "engines": { @@ -11546,21 +11394,20 @@ } }, "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.4.tgz", - "integrity": "sha512-7oV2qEOr1d4NWNmpXLR35LvCfOkTNymY9oyW+lUHkmCno7aOmIf/hMaydnJBUTBMRCOGZh8YjkFOc8dadEoNGA==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.48.0.tgz", + "integrity": "sha512-ljHab1CSO4rGrQIAyizUS6UGHHCiAYhbfcIZ1zVJr5nMryxlXMVWS3duFPSKvSUbFPwkXMFk1k0EMIjub4sRRQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.46.4", - "@typescript-eslint/tsconfig-utils": "8.46.4", - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4", + "@typescript-eslint/project-service": "8.48.0", + "@typescript-eslint/tsconfig-utils": "8.48.0", + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/visitor-keys": "8.48.0", "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", + "tinyglobby": "^0.2.15", "ts-api-utils": "^2.1.0" }, "engines": { @@ -11575,16 +11422,16 @@ } }, "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/utils": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.4.tgz", - "integrity": "sha512-AbSv11fklGXV6T28dp2Me04Uw90R2iJ30g2bgLz529Koehrmkbs1r7paFqr1vPCZi7hHwYxYtxfyQMRC8QaVSg==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.48.0.tgz", + "integrity": "sha512-yTJO1XuGxCsSfIVt1+1UrLHtue8xz16V8apzPYI06W0HbEbEWHxHXgZaAgavIkoh+GeV6hKKd5jm0sS6OYxWXQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.46.4", - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/typescript-estree": "8.46.4" + "@typescript-eslint/scope-manager": "8.48.0", + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/typescript-estree": "8.48.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -11599,13 +11446,13 @@ } }, "node_modules/eslint-plugin-perfectionist/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.4.tgz", - "integrity": "sha512-/++5CYLQqsO9HFGLI7APrxBJYo+5OCMpViuhV8q5/Qa3o5mMrF//eQHks+PXcsAVaLdn817fMuS7zqoXNNZGaw==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.48.0.tgz", + "integrity": "sha512-T0XJMaRPOH3+LBbAfzR2jalckP1MSG/L9eUtY0DEzUyVaXJ/t6zN0nR7co5kz0Jko/nkSYCBRkz1djvjajVTTg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/types": "8.48.0", "eslint-visitor-keys": "^4.2.1" }, "engines": { @@ -11868,6 +11715,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" @@ -11883,6 +11731,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" @@ -12581,9 +12430,9 @@ } }, "node_modules/form-data": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", - "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", + "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", "license": "MIT", "dependencies": { "asynckit": "^0.4.0", @@ -13405,18 +13254,6 @@ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", "license": "ISC" }, - "node_modules/html-encoding-sniffer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", - "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==", - "license": "MIT", - "dependencies": { - "whatwg-encoding": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", @@ -13479,20 +13316,6 @@ "node": ">= 0.8" } }, - "node_modules/http-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", - "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", - "license": "MIT", - "dependencies": { - "@tootallnate/once": "2", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/http2-wrapper": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.1.tgz", @@ -13507,19 +13330,6 @@ "node": ">=10.19.0" } }, - "node_modules/https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "license": "MIT", - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/human-signals": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", @@ -13587,16 +13397,6 @@ "node": ">= 4" } }, - "node_modules/immer": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/immer/-/immer-10.2.0.tgz", - "integrity": "sha512-d/+XTN3zfODyjr89gM3mPq1WNX2B8pYsu7eORitdwyA2sBubnTl3laYlBk4sXY5FUa5qTZGBDPJICVbvqzjlbw==", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/immer" - } - }, "node_modules/import-fresh": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", @@ -14848,21 +14648,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-plain-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-potential-custom-element-name": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", - "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", - "license": "MIT" - }, "node_modules/is-promise": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", @@ -16404,51 +16189,6 @@ "node": ">=8" } }, - "node_modules/jsdom": { - "version": "20.0.3", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.3.tgz", - "integrity": "sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==", - "license": "MIT", - "dependencies": { - "abab": "^2.0.6", - "acorn": "^8.8.1", - "acorn-globals": "^7.0.0", - "cssom": "^0.5.0", - "cssstyle": "^2.3.0", - "data-urls": "^3.0.2", - "decimal.js": "^10.4.2", - "domexception": "^4.0.0", - "escodegen": "^2.0.0", - "form-data": "^4.0.0", - "html-encoding-sniffer": "^3.0.0", - "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.1", - "is-potential-custom-element-name": "^1.0.1", - "nwsapi": "^2.2.2", - "parse5": "^7.1.1", - "saxes": "^6.0.0", - "symbol-tree": "^3.2.4", - "tough-cookie": "^4.1.2", - "w3c-xmlserializer": "^4.0.0", - "webidl-conversions": "^7.0.0", - "whatwg-encoding": "^2.0.0", - "whatwg-mimetype": "^3.0.0", - "whatwg-url": "^11.0.0", - "ws": "^8.11.0", - "xml-name-validator": "^4.0.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "canvas": "^2.5.0" - }, - "peerDependenciesMeta": { - "canvas": { - "optional": true - } - } - }, "node_modules/jsesc": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", @@ -16548,15 +16288,6 @@ ], "license": "MIT" }, - "node_modules/jsonschema": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.5.0.tgz", - "integrity": "sha512-K+A9hhqbn0f3pJX17Q/7H6yQfD/5OXgdrR5UE12gMXCiN9D5Xq2o5mddV2QEcX/bjla99ASsAAQUyMCCRWAEhw==", - "license": "MIT", - "engines": { - "node": "*" - } - }, "node_modules/JSONStream": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", @@ -16583,6 +16314,7 @@ "version": "6.2.0", "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-6.2.0.tgz", "integrity": "sha512-cYofQu2Xpom82S6qD778jBDpwvvy39s1l/hrYij2u9AMdQcGRpaBu6kY4mVhuno5kJVi1DAz4aiphA2WI1/OAw==", + "dev": true, "license": "MIT" }, "node_modules/keyv": { @@ -17011,24 +16743,12 @@ "dev": true, "license": "MIT" }, - "node_modules/lodash.clonedeep": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==", - "license": "MIT" - }, "node_modules/lodash.escaperegexp": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==", "license": "MIT" }, - "node_modules/lodash.flatten": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", - "license": "MIT" - }, "node_modules/lodash.flattendeep": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", @@ -17048,12 +16768,6 @@ "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", "license": "MIT" }, - "node_modules/lodash.isempty": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.isempty/-/lodash.isempty-4.4.0.tgz", - "integrity": "sha512-oKMuF3xEeqDltrGMfDxAPGIVMSSRv8tbRSODbrs4KGsRRLEhrW8N8Rd4DRgB2+621hY8A8XwwrTVhXWpxFvMzg==", - "license": "MIT" - }, "node_modules/lodash.isequal": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", @@ -17073,30 +16787,12 @@ "integrity": "sha512-up2Mzq3545mwVnMhTDMdfoG1OurpA/s5t88JmQX809eH3C8491iu2sfKhTfhQtKY78oPNhiaHJUpT/dUDAAtng==", "license": "MIT" }, - "node_modules/lodash.isobject": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-3.0.2.tgz", - "integrity": "sha512-3/Qptq2vr7WeJbB4KHUSKlq8Pl7ASXi3UG6CMbBm8WRtXi8+GHm7mKaU3urfpSEzWe2wCIChs6/sdocUsTKJiA==", - "license": "MIT" - }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", - "license": "MIT" - }, "node_modules/lodash.isundefined": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/lodash.isundefined/-/lodash.isundefined-3.0.1.tgz", "integrity": "sha512-MXB1is3s899/cD8jheYYE2V9qTHwKvt+npCwpD+1Sxm3Q3cECXCiYHjeHWXNwr6Q0SOBPrYUDxendrO6goVTEA==", "license": "MIT" }, - "node_modules/lodash.kebabcase": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz", - "integrity": "sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==", - "license": "MIT" - }, "node_modules/lodash.memoize": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", @@ -17974,6 +17670,7 @@ "version": "6.1.1", "resolved": "https://registry.npmjs.org/nise/-/nise-6.1.1.tgz", "integrity": "sha512-aMSAzLVY7LyeM60gvBS423nBmIPP+Wy7St7hsb+8/fc1HmeoHJfLO8CKse4u3BtOZvQLJghYPI2i/1WZrEj5/g==", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.1", @@ -17987,6 +17684,7 @@ "version": "13.0.5", "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-13.0.5.tgz", "integrity": "sha512-36/hTbH2uaWuGVERyC6da9YwGWnzUZXuPro/F2LfsdOsLnCojz/iSH8MxUt/FD2S5XBSVPhmArFUXcpCQ2Hkiw==", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.1" @@ -17996,6 +17694,7 @@ "version": "8.3.0", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.3.0.tgz", "integrity": "sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==", + "dev": true, "license": "MIT", "funding": { "type": "opencollective", @@ -18047,28 +17746,6 @@ } } }, - "node_modules/node-fetch/node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "license": "MIT" - }, - "node_modules/node-fetch/node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "license": "BSD-2-Clause" - }, - "node_modules/node-fetch/node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "license": "MIT", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, "node_modules/node-int64": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", @@ -20665,12 +20342,6 @@ "node": ">=0.10.0" } }, - "node_modules/nwsapi": { - "version": "2.2.22", - "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.22.tgz", - "integrity": "sha512-ujSMe1OWVn55euT1ihwCI1ZcAaAU3nxUiDwfDQldc51ZXaB9m2AyOn6/jh1BLe2t/G8xd6uKG1UBF2aZJeg2SQ==", - "license": "MIT" - }, "node_modules/nyc": { "version": "15.1.0", "resolved": "https://registry.npmjs.org/nyc/-/nyc-15.1.0.tgz", @@ -21075,21 +20746,21 @@ } }, "node_modules/oclif": { - "version": "4.22.44", - "resolved": "https://registry.npmjs.org/oclif/-/oclif-4.22.44.tgz", - "integrity": "sha512-/0xXjF/dt8qN8SuibVTVU/81gOy4nNprSXSFHVWvKm1Ms8EKsCA6C+4XRcRCCMaaE4t2GKjjRpEwqCQKFUtI/Q==", + "version": "4.22.50", + "resolved": "https://registry.npmjs.org/oclif/-/oclif-4.22.50.tgz", + "integrity": "sha512-tro7/6Hwg1eF9ww5iCASM0JZTvs/aft6fBX33BxKMpnxzXhKydWDZ00cW4t7htlqm7LDn7DyQZD/nWteWNzX+w==", "dev": true, "license": "MIT", "dependencies": { - "@aws-sdk/client-cloudfront": "^3.927.0", - "@aws-sdk/client-s3": "^3.927.0", + "@aws-sdk/client-cloudfront": "^3.937.0", + "@aws-sdk/client-s3": "^3.937.0", "@inquirer/confirm": "^3.1.22", "@inquirer/input": "^2.2.4", "@inquirer/select": "^2.5.0", "@oclif/core": "^4.8.0", - "@oclif/plugin-help": "^6.2.34", - "@oclif/plugin-not-found": "^3.2.71", - "@oclif/plugin-warn-if-update-available": "^3.1.52", + "@oclif/plugin-help": "^6.2.36", + "@oclif/plugin-not-found": "^3.2.73", + "@oclif/plugin-warn-if-update-available": "^3.1.53", "ansis": "^3.16.0", "async-retry": "^1.3.3", "change-case": "^4", @@ -21148,18 +20819,6 @@ "node": ">= 4.0.0" } }, - "node_modules/omit-deep-lodash": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/omit-deep-lodash/-/omit-deep-lodash-1.1.7.tgz", - "integrity": "sha512-9m9gleSMoxq3YO8aCq5pGUrqG9rKF0w/P70JHQ1ymjUQA/3+fVa2Stju9XORJKLmyLYEO3zzX40MJYaYl5Og4w==", - "license": "MIT", - "dependencies": { - "lodash": "~4.17.21" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/on-finished": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", @@ -21643,30 +21302,6 @@ "dev": true, "license": "MIT" }, - "node_modules/parse5": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", - "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", - "license": "MIT", - "dependencies": { - "entities": "^6.0.0" - }, - "funding": { - "url": "https://github.com/inikulin/parse5?sponsor=1" - } - }, - "node_modules/parse5/node_modules/entities": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", - "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", @@ -22039,9 +21674,9 @@ } }, "node_modules/pretty-format/node_modules/@types/yargs": { - "version": "15.0.19", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.19.tgz", - "integrity": "sha512-2XUaGVmyQjgyAZldf0D0c14vvo/yv0MhQBSTJcejMMaitsn3nxCB6TmH4G0ZQf+uxROOa9mpanoSm8h6SG/1ZA==", + "version": "15.0.20", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.20.tgz", + "integrity": "sha512-KIkX+/GgfFitlASYCGoSF+T4XRXhOubJLhkLVtSfsRTe9jWMmuM2g28zQ41BtPTG7TRBb2xHW+LCNVE9QR/vsg==", "dev": true, "license": "MIT", "dependencies": { @@ -22272,18 +21907,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==", - "license": "MIT", - "dependencies": { - "punycode": "^2.3.1" - }, - "funding": { - "url": "https://github.com/sponsors/lupomontero" - } - }, "node_modules/pump": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.3.tgz", @@ -22299,6 +21922,7 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -22346,12 +21970,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==", - "license": "MIT" - }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -22922,12 +22540,6 @@ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", "license": "ISC" }, - "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==", - "license": "MIT" - }, "node_modules/requizzle": { "version": "0.2.4", "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.4.tgz", @@ -23353,9 +22965,9 @@ } }, "node_modules/rimraf/node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", @@ -23394,9 +23006,9 @@ } }, "node_modules/rollup": { - "version": "4.53.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.53.2.tgz", - "integrity": "sha512-MHngMYwGJVi6Fmnk6ISmnk7JAHRNF0UkuucA0CUW3N3a4KnONPEZz+vUanQP/ZC/iY1Qkf3bwPWzyY84wEks1g==", + "version": "4.53.3", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.53.3.tgz", + "integrity": "sha512-w8GmOxZfBmKknvdXU1sdM9NHcoQejwF/4mNgj2JuEEdRaHwwF12K7e9eXn1nLZ07ad+du76mkVsyeb2rKGllsA==", "license": "MIT", "dependencies": { "@types/estree": "1.0.8" @@ -23409,28 +23021,28 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.53.2", - "@rollup/rollup-android-arm64": "4.53.2", - "@rollup/rollup-darwin-arm64": "4.53.2", - "@rollup/rollup-darwin-x64": "4.53.2", - "@rollup/rollup-freebsd-arm64": "4.53.2", - "@rollup/rollup-freebsd-x64": "4.53.2", - "@rollup/rollup-linux-arm-gnueabihf": "4.53.2", - "@rollup/rollup-linux-arm-musleabihf": "4.53.2", - "@rollup/rollup-linux-arm64-gnu": "4.53.2", - "@rollup/rollup-linux-arm64-musl": "4.53.2", - "@rollup/rollup-linux-loong64-gnu": "4.53.2", - "@rollup/rollup-linux-ppc64-gnu": "4.53.2", - "@rollup/rollup-linux-riscv64-gnu": "4.53.2", - "@rollup/rollup-linux-riscv64-musl": "4.53.2", - "@rollup/rollup-linux-s390x-gnu": "4.53.2", - "@rollup/rollup-linux-x64-gnu": "4.53.2", - "@rollup/rollup-linux-x64-musl": "4.53.2", - "@rollup/rollup-openharmony-arm64": "4.53.2", - "@rollup/rollup-win32-arm64-msvc": "4.53.2", - "@rollup/rollup-win32-ia32-msvc": "4.53.2", - "@rollup/rollup-win32-x64-gnu": "4.53.2", - "@rollup/rollup-win32-x64-msvc": "4.53.2", + "@rollup/rollup-android-arm-eabi": "4.53.3", + "@rollup/rollup-android-arm64": "4.53.3", + "@rollup/rollup-darwin-arm64": "4.53.3", + "@rollup/rollup-darwin-x64": "4.53.3", + "@rollup/rollup-freebsd-arm64": "4.53.3", + "@rollup/rollup-freebsd-x64": "4.53.3", + "@rollup/rollup-linux-arm-gnueabihf": "4.53.3", + "@rollup/rollup-linux-arm-musleabihf": "4.53.3", + "@rollup/rollup-linux-arm64-gnu": "4.53.3", + "@rollup/rollup-linux-arm64-musl": "4.53.3", + "@rollup/rollup-linux-loong64-gnu": "4.53.3", + "@rollup/rollup-linux-ppc64-gnu": "4.53.3", + "@rollup/rollup-linux-riscv64-gnu": "4.53.3", + "@rollup/rollup-linux-riscv64-musl": "4.53.3", + "@rollup/rollup-linux-s390x-gnu": "4.53.3", + "@rollup/rollup-linux-x64-gnu": "4.53.3", + "@rollup/rollup-linux-x64-musl": "4.53.3", + "@rollup/rollup-openharmony-arm64": "4.53.3", + "@rollup/rollup-win32-arm64-msvc": "4.53.3", + "@rollup/rollup-win32-ia32-msvc": "4.53.3", + "@rollup/rollup-win32-x64-gnu": "4.53.3", + "@rollup/rollup-win32-x64-msvc": "4.53.3", "fsevents": "~2.3.2" } }, @@ -23585,18 +23197,6 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "license": "MIT" }, - "node_modules/saxes": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz", - "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==", - "license": "ISC", - "dependencies": { - "xmlchars": "^2.2.0" - }, - "engines": { - "node": ">=v12.22.7" - } - }, "node_modules/semver": { "version": "7.7.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", @@ -24062,6 +23662,7 @@ "version": "19.0.5", "resolved": "https://registry.npmjs.org/sinon/-/sinon-19.0.5.tgz", "integrity": "sha512-r15s9/s+ub/d4bxNXqIUmwp6imVSdTorIRaxoecYjqTVLZ8RuoXr/4EDGwIBo6Waxn7f2gnURX9zuhAfCwaF6Q==", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.1", @@ -24080,6 +23681,7 @@ "version": "13.0.5", "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-13.0.5.tgz", "integrity": "sha512-36/hTbH2uaWuGVERyC6da9YwGWnzUZXuPro/F2LfsdOsLnCojz/iSH8MxUt/FD2S5XBSVPhmArFUXcpCQ2Hkiw==", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.1" @@ -24089,6 +23691,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz", "integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==", + "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.3.1" @@ -24098,6 +23701,7 @@ "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" @@ -24123,17 +23727,6 @@ "node": ">=8" } }, - "node_modules/slate": { - "version": "0.103.0", - "resolved": "https://registry.npmjs.org/slate/-/slate-0.103.0.tgz", - "integrity": "sha512-eCUOVqUpADYMZ59O37QQvUdnFG+8rin0OGQAXNHvHbQeVJ67Bu0spQbcy621vtf8GQUXTEQBlk6OP9atwwob4w==", - "license": "MIT", - "dependencies": { - "immer": "^10.0.3", - "is-plain-object": "^5.0.0", - "tiny-warning": "^1.0.3" - } - }, "node_modules/slice-ansi": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", @@ -24368,7 +23961,7 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "devOptional": true, + "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -24919,12 +24512,6 @@ "node": ">=0.10" } }, - "node_modules/symbol-tree": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", - "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", - "license": "MIT" - }, "node_modules/table": { "version": "6.9.0", "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", @@ -25153,12 +24740,6 @@ "dev": true, "license": "MIT" }, - "node_modules/tiny-warning": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz", - "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==", - "license": "MIT" - }, "node_modules/tinyglobby": { "version": "0.2.15", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz", @@ -25213,41 +24794,11 @@ "node": ">=0.6" } }, - "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==", - "license": "BSD-3-Clause", - "dependencies": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.2.0", - "url-parse": "^1.5.3" - }, - "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==", - "license": "MIT", - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/tr46": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz", - "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", - "license": "MIT", - "dependencies": { - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=12" - } + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" }, "node_modules/traverse": { "version": "0.6.11", @@ -25598,6 +25149,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.1.0.tgz", "integrity": "sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==", + "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -25754,16 +25306,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.46.4.tgz", - "integrity": "sha512-KALyxkpYV5Ix7UhvjTwJXZv76VWsHG+NjNlt/z+a17SOQSiOcBdUXdbJdyXi7RPxrBFECtFOiPwUJQusJuCqrg==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.48.0.tgz", + "integrity": "sha512-fcKOvQD9GUn3Xw63EgiDqhvWJ5jsyZUaekl3KVpGsDJnN46WJTe3jWxtQP9lMZm1LJNkFLlTaWAxK2vUQR+cqw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.46.4", - "@typescript-eslint/parser": "8.46.4", - "@typescript-eslint/typescript-estree": "8.46.4", - "@typescript-eslint/utils": "8.46.4" + "@typescript-eslint/eslint-plugin": "8.48.0", + "@typescript-eslint/parser": "8.48.0", + "@typescript-eslint/typescript-estree": "8.48.0", + "@typescript-eslint/utils": "8.48.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -25778,17 +25330,17 @@ } }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.4.tgz", - "integrity": "sha512-R48VhmTJqplNyDxCyqqVkFSZIx1qX6PzwqgcXn1olLrzxcSBDlOsbtcnQuQhNtnNiJ4Xe5gREI1foajYaYU2Vg==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.48.0.tgz", + "integrity": "sha512-XxXP5tL1txl13YFtrECECQYeZjBZad4fyd3cFV4a19LkAY/bIp9fev3US4S5fDVV2JaYFiKAZ/GRTOLer+mbyQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.46.4", - "@typescript-eslint/type-utils": "8.46.4", - "@typescript-eslint/utils": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4", + "@typescript-eslint/scope-manager": "8.48.0", + "@typescript-eslint/type-utils": "8.48.0", + "@typescript-eslint/utils": "8.48.0", + "@typescript-eslint/visitor-keys": "8.48.0", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", @@ -25802,22 +25354,22 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.46.4", + "@typescript-eslint/parser": "^8.48.0", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/parser": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.46.4.tgz", - "integrity": "sha512-tK3GPFWbirvNgsNKto+UmB/cRtn6TZfyw0D6IKrW55n6Vbs7KJoZtI//kpTKzE/DUmmnAFD8/Ca46s7Obs92/w==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.48.0.tgz", + "integrity": "sha512-jCzKdm/QK0Kg4V4IK/oMlRZlY+QOcdjv89U2NgKHZk1CYTj82/RVSx1mV/0gqCVMJ/DA+Zf/S4NBWNF8GQ+eqQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.46.4", - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/typescript-estree": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4", + "@typescript-eslint/scope-manager": "8.48.0", + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/typescript-estree": "8.48.0", + "@typescript-eslint/visitor-keys": "8.48.0", "debug": "^4.3.4" }, "engines": { @@ -25833,14 +25385,14 @@ } }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/scope-manager": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.4.tgz", - "integrity": "sha512-tMDbLGXb1wC+McN1M6QeDx7P7c0UWO5z9CXqp7J8E+xGcJuUuevWKxuG8j41FoweS3+L41SkyKKkia16jpX7CA==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.48.0.tgz", + "integrity": "sha512-uGSSsbrtJrLduti0Q1Q9+BF1/iFKaxGoQwjWOIVNJv0o6omrdyR8ct37m4xIl5Zzpkp69Kkmvom7QFTtue89YQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4" + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/visitor-keys": "8.48.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -25851,15 +25403,15 @@ } }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/type-utils": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.46.4.tgz", - "integrity": "sha512-V4QC8h3fdT5Wro6vANk6eojqfbv5bpwHuMsBcJUJkqs2z5XnYhJzyz9Y02eUmF9u3PgXEUiOt4w4KHR3P+z0PQ==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.48.0.tgz", + "integrity": "sha512-zbeVaVqeXhhab6QNEKfK96Xyc7UQuoFWERhEnj3mLVnUWrQnv15cJNseUni7f3g557gm0e46LZ6IJ4NJVOgOpw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/typescript-estree": "8.46.4", - "@typescript-eslint/utils": "8.46.4", + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/typescript-estree": "8.48.0", + "@typescript-eslint/utils": "8.48.0", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, @@ -25876,9 +25428,9 @@ } }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/types": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz", - "integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.48.0.tgz", + "integrity": "sha512-cQMcGQQH7kwKoVswD1xdOytxQR60MWKM1di26xSUtxehaDs/32Zpqsu5WJlXTtTTqyAVK8R7hvsUnIXRS+bjvA==", "dev": true, "license": "MIT", "engines": { @@ -25890,21 +25442,20 @@ } }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.4.tgz", - "integrity": "sha512-7oV2qEOr1d4NWNmpXLR35LvCfOkTNymY9oyW+lUHkmCno7aOmIf/hMaydnJBUTBMRCOGZh8YjkFOc8dadEoNGA==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.48.0.tgz", + "integrity": "sha512-ljHab1CSO4rGrQIAyizUS6UGHHCiAYhbfcIZ1zVJr5nMryxlXMVWS3duFPSKvSUbFPwkXMFk1k0EMIjub4sRRQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.46.4", - "@typescript-eslint/tsconfig-utils": "8.46.4", - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/visitor-keys": "8.46.4", + "@typescript-eslint/project-service": "8.48.0", + "@typescript-eslint/tsconfig-utils": "8.48.0", + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/visitor-keys": "8.48.0", "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", + "tinyglobby": "^0.2.15", "ts-api-utils": "^2.1.0" }, "engines": { @@ -25919,16 +25470,16 @@ } }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/utils": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.4.tgz", - "integrity": "sha512-AbSv11fklGXV6T28dp2Me04Uw90R2iJ30g2bgLz529Koehrmkbs1r7paFqr1vPCZi7hHwYxYtxfyQMRC8QaVSg==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.48.0.tgz", + "integrity": "sha512-yTJO1XuGxCsSfIVt1+1UrLHtue8xz16V8apzPYI06W0HbEbEWHxHXgZaAgavIkoh+GeV6hKKd5jm0sS6OYxWXQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.46.4", - "@typescript-eslint/types": "8.46.4", - "@typescript-eslint/typescript-estree": "8.46.4" + "@typescript-eslint/scope-manager": "8.48.0", + "@typescript-eslint/types": "8.48.0", + "@typescript-eslint/typescript-estree": "8.48.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -25943,13 +25494,13 @@ } }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.46.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.4.tgz", - "integrity": "sha512-/++5CYLQqsO9HFGLI7APrxBJYo+5OCMpViuhV8q5/Qa3o5mMrF//eQHks+PXcsAVaLdn817fMuS7zqoXNNZGaw==", + "version": "8.48.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.48.0.tgz", + "integrity": "sha512-T0XJMaRPOH3+LBbAfzR2jalckP1MSG/L9eUtY0DEzUyVaXJ/t6zN0nR7co5kz0Jko/nkSYCBRkz1djvjajVTTg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/types": "8.48.0", "eslint-visitor-keys": "^4.2.1" }, "engines": { @@ -26169,16 +25720,6 @@ "punycode": "^2.1.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==", - "license": "MIT", - "dependencies": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, "node_modules/util": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", @@ -26289,27 +25830,6 @@ "node": ">= 0.8" } }, - "node_modules/void-elements": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", - "integrity": "sha512-qZKX4RnBzH2ugr8Lxa7x+0V6XD9Sb/ouARtiasEQCHB1EVU4NXtmHsDDrx1dO4ne5fc3J6EW05BP1Dl0z0iung==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/w3c-xmlserializer": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz", - "integrity": "sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==", - "license": "MIT", - "dependencies": { - "xml-name-validator": "^4.0.0" - }, - "engines": { - "node": ">=14" - } - }, "node_modules/walk-back": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/walk-back/-/walk-back-5.1.1.tgz", @@ -26340,58 +25860,19 @@ } }, "node_modules/webidl-conversions": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", - "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=12" - } - }, - "node_modules/whatwg-encoding": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz", - "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==", - "license": "MIT", - "dependencies": { - "iconv-lite": "0.6.3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/whatwg-encoding/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/whatwg-mimetype": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", - "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", - "license": "MIT", - "engines": { - "node": ">=12" - } + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" }, "node_modules/whatwg-url": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", - "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", "license": "MIT", "dependencies": { - "tr46": "^3.0.0", - "webidl-conversions": "^7.0.0" - }, - "engines": { - "node": ">=12" + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" } }, "node_modules/which": { @@ -26650,27 +26131,6 @@ "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/ws": { - "version": "8.18.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz", - "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==", - "license": "MIT", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/xdg-basedir": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", @@ -26680,21 +26140,6 @@ "node": ">=8" } }, - "node_modules/xml-name-validator": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz", - "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", - "license": "Apache-2.0", - "engines": { - "node": ">=12" - } - }, - "node_modules/xmlchars": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", - "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", - "license": "MIT" - }, "node_modules/xmlcreate": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.4.tgz", @@ -26895,7 +26340,6 @@ "@contentstack/cli-cm-export-to-csv": "~1.10.0", "@contentstack/cli-cm-import": "~2.0.0-beta.2", "@contentstack/cli-cm-import-setup": "1.7.0", - "@contentstack/cli-cm-migrate-rte": "~1.6.2", "@contentstack/cli-cm-seed": "~2.0.0-beta.2", "@contentstack/cli-command": "~1.6.2", "@contentstack/cli-config": "~1.15.3", @@ -27822,9 +27266,9 @@ } }, "packages/contentstack-dev-dependencies/node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz", + "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==", "dev": true, "license": "MIT", "dependencies": { @@ -28191,9 +27635,9 @@ } }, "packages/contentstack-export-to-csv/node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz", + "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==", "dev": true, "license": "MIT", "dependencies": { @@ -28411,38 +27855,6 @@ "node": ">=14.0.0" } }, - "packages/contentstack-migrate-rte": { - "name": "@contentstack/cli-cm-migrate-rte", - "version": "1.6.2", - "license": "MIT", - "dependencies": { - "@contentstack/cli-command": "~1.6.1", - "@contentstack/cli-utilities": "~1.15.0", - "@contentstack/json-rte-serializer": "~2.1.0", - "@oclif/core": "^4.3.0", - "@oclif/plugin-help": "^6.2.28", - "chalk": "^4.1.2", - "collapse-whitespace": "^1.1.7", - "jsdom": "^20.0.3", - "jsonschema": "^1.5.0", - "lodash": "^4.17.21", - "nock": "^13.5.6", - "omit-deep-lodash": "^1.1.7", - "sinon": "^19.0.5" - }, - "devDependencies": { - "@oclif/test": "^4.1.13", - "chai": "^4.5.0", - "eslint": "^8.57.1", - "eslint-config-oclif": "^6.0.62", - "mocha": "^10.8.2", - "nyc": "^15.1.0", - "oclif": "^4.17.46" - }, - "engines": { - "node": ">=14.0.0" - } - }, "packages/contentstack-migration": { "name": "@contentstack/cli-migration", "version": "1.8.2", diff --git a/packages/contentstack-migrate-rte/.eslintrc b/packages/contentstack-migrate-rte/.eslintrc deleted file mode 100644 index e56091ba65..0000000000 --- a/packages/contentstack-migrate-rte/.eslintrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "oclif" -} diff --git a/packages/contentstack-migrate-rte/.gitignore b/packages/contentstack-migrate-rte/.gitignore deleted file mode 100644 index 80ee047d32..0000000000 --- a/packages/contentstack-migrate-rte/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -*-debug.log -*-error.log -/.nyc_output -/dist -/tmp -/logs -/yarn.lock -node_modules -/coverage diff --git a/packages/contentstack-migrate-rte/LICENSE b/packages/contentstack-migrate-rte/LICENSE deleted file mode 100644 index ffb4ad010b..0000000000 --- a/packages/contentstack-migrate-rte/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2024 Contentstack - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/packages/contentstack-migrate-rte/README.md b/packages/contentstack-migrate-rte/README.md deleted file mode 100644 index c38cde1007..0000000000 --- a/packages/contentstack-migrate-rte/README.md +++ /dev/null @@ -1,156 +0,0 @@ -# @contentstack/cli-cm-migrate-rte - -It is Contentstack’s CLI plugin to migrate rte. Using this command, you can copy existing value of HTML RTE into JSON RTE. - - -* [@contentstack/cli-cm-migrate-rte](#contentstackcli-cm-migrate-rte) -* [Usage](#usage) -* [Commands](#commands) - - -# Usage - - -```sh-session -$ npm install -g @contentstack/cli-cm-migrate-rte -$ csdx COMMAND -running command... -$ csdx (--version) -@contentstack/cli-cm-migrate-rte/1.6.2 darwin-arm64 node-v22.14.0 -$ csdx --help [COMMAND] -USAGE - $ csdx COMMAND -... -``` - - -# Commands - - -* [`csdx cm:entries:migrate-html-rte`](#csdx-cmentriesmigrate-html-rte) -* [`csdx cm:migrate-rte`](#csdx-cmmigrate-rte) - -## `csdx cm:entries:migrate-html-rte` - -Migration script to migrate content from HTML RTE to JSON RTE - -``` -USAGE - $ csdx cm:entries:migrate-html-rte [-c ] [-a ] [--stack-api-key ] [--content-type ] - [--global-field] [-y] [--branch ] [--html-path --json-path ] [--delay ] [--locale - ] [--batch-limit ] - -FLAGS - -a, --alias= Enter the alias name. You must use either the --alias flag or the --stack-api-key flag. - -c, --config-path= Specify the path where your config file is located. - -y, --yes Avoids reconfirmation of your configuration. - --batch-limit= [default: 50] Provide batch limit for updating entries (default: 50). - --branch= The name of the branch to be used. - --content-type= Specify the UID of the content type for which you want to migrate HTML RTE content. - --delay= [default: 1000] To set the interval time between the migration of HTML RTE to JSON RTE in - subsequent entries of a content type. The default value is 1,000 milliseconds. - --global-field Checks whether the specified UID belongs to a content type or a global field. This flag - is set to false by default. - --html-path= Enter the path to the HTML RTE whose content you want to migrate. - --json-path= Enter the path to the JSON RTE to which you want to migrate the HTML RTE content. - --locale= The locale from which entries will be migrated. - --stack-api-key= API key of the source stack. You must use either the --stack-api-key flag or the --alias - flag. - -DESCRIPTION - Migration script to migrate content from HTML RTE to JSON RTE - -ALIASES - $ csdx cm:migrate-rte - -EXAMPLES - General Usage - - $ csdx cm:entries:migrate-html-rte --config-path path/to/config.json - - - - Using Flags - - $ csdx cm:entries:migrate-html-rte --alias alias --content-type content_type_uid --html-path html-path --json-path json-path - - - - Nested RTE - - $ csdx cm:entries:migrate-html-rte --alias alias --content-type content_type_uid --html-path modular_block_uid.block_uid.html_rte_uid --json-path modular_block_uid.block_uid.json_rte_uid - - - - $ csdx cm:entries:migrate-html-rte --alias alias --content-type content_type_uid --html-path group_uid.html_rte_uid --json-path group_uid.json_rte_uid - - - - Global Field - - $ csdx cm:entries:migrate-html-rte --alias alias --content-type global_field_uid --global-field --html-path html-path --json-path json-path -``` - -_See code: [src/commands/cm/entries/migrate-html-rte.js](https://github.com/contentstack/cli/blob/main/packages/contentstack-migrate-rte/src/commands/cm/entries/migrate-html-rte.js)_ - -## `csdx cm:migrate-rte` - -Migration script to migrate content from HTML RTE to JSON RTE - -``` -USAGE - $ csdx cm:migrate-rte [-c ] [-a ] [--stack-api-key ] [--content-type ] - [--global-field] [-y] [--branch ] [--html-path --json-path ] [--delay ] [--locale - ] [--batch-limit ] - -FLAGS - -a, --alias= Enter the alias name. You must use either the --alias flag or the --stack-api-key flag. - -c, --config-path= Specify the path where your config file is located. - -y, --yes Avoids reconfirmation of your configuration. - --batch-limit= [default: 50] Provide batch limit for updating entries (default: 50). - --branch= The name of the branch to be used. - --content-type= Specify the UID of the content type for which you want to migrate HTML RTE content. - --delay= [default: 1000] To set the interval time between the migration of HTML RTE to JSON RTE in - subsequent entries of a content type. The default value is 1,000 milliseconds. - --global-field Checks whether the specified UID belongs to a content type or a global field. This flag - is set to false by default. - --html-path= Enter the path to the HTML RTE whose content you want to migrate. - --json-path= Enter the path to the JSON RTE to which you want to migrate the HTML RTE content. - --locale= The locale from which entries will be migrated. - --stack-api-key= API key of the source stack. You must use either the --stack-api-key flag or the --alias - flag. - -DESCRIPTION - Migration script to migrate content from HTML RTE to JSON RTE - -ALIASES - $ csdx cm:migrate-rte - -EXAMPLES - General Usage - - $ csdx cm:entries:migrate-html-rte --config-path path/to/config.json - - - - Using Flags - - $ csdx cm:entries:migrate-html-rte --alias alias --content-type content_type_uid --html-path html-path --json-path json-path - - - - Nested RTE - - $ csdx cm:entries:migrate-html-rte --alias alias --content-type content_type_uid --html-path modular_block_uid.block_uid.html_rte_uid --json-path modular_block_uid.block_uid.json_rte_uid - - - - $ csdx cm:entries:migrate-html-rte --alias alias --content-type content_type_uid --html-path group_uid.html_rte_uid --json-path group_uid.json_rte_uid - - - - Global Field - - $ csdx cm:entries:migrate-html-rte --alias alias --content-type global_field_uid --global-field --html-path html-path --json-path json-path -``` - diff --git a/packages/contentstack-migrate-rte/bin/run.cmd b/packages/contentstack-migrate-rte/bin/run.cmd deleted file mode 100644 index 968fc30758..0000000000 --- a/packages/contentstack-migrate-rte/bin/run.cmd +++ /dev/null @@ -1,3 +0,0 @@ -@echo off - -node "%~dp0\run" %* diff --git a/packages/contentstack-migrate-rte/bin/run.js b/packages/contentstack-migrate-rte/bin/run.js deleted file mode 100755 index 8baf302391..0000000000 --- a/packages/contentstack-migrate-rte/bin/run.js +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env node - -// eslint-disable-next-line unicorn/prefer-top-level-await -(async () => { - const oclif = await import('@oclif/core'); - await oclif.execute({ development: false, dir: __dirname }); -})(); diff --git a/packages/contentstack-migrate-rte/package.json b/packages/contentstack-migrate-rte/package.json deleted file mode 100644 index 85e867c762..0000000000 --- a/packages/contentstack-migrate-rte/package.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "name": "@contentstack/cli-cm-migrate-rte", - "description": "Contentstack CLI plugin to migrate HTML RTE to JSON RTE", - "version": "1.6.2", - "author": "contentstack", - "bugs": "https://github.com/contentstack/cli/issues", - "dependencies": { - "@contentstack/cli-command": "~1.6.1", - "@contentstack/cli-utilities": "~1.15.0", - "@contentstack/json-rte-serializer": "~2.1.0", - "@oclif/core": "^4.3.0", - "@oclif/plugin-help": "^6.2.28", - "collapse-whitespace": "^1.1.7", - "chalk": "^4.1.2", - "jsdom": "^20.0.3", - "jsonschema": "^1.5.0", - "lodash": "^4.17.21", - "nock": "^13.5.6", - "omit-deep-lodash": "^1.1.7", - "sinon": "^19.0.5" - }, - "devDependencies": { - "@oclif/test": "^4.1.13", - "chai": "^4.5.0", - "eslint": "^8.57.1", - "eslint-config-oclif": "^6.0.62", - "mocha": "^10.8.2", - "nyc": "^15.1.0", - "oclif": "^4.17.46" - }, - "engines": { - "node": ">=14.0.0" - }, - "files": [ - "/npm-shrinkwrap.json", - "/oclif.manifest.json", - "/src" - ], - "homepage": "https://github.com/contentstack/cli", - "keywords": [ - "contentstack", - "cli", - "plugin", - "JSON RTE" - ], - "license": "MIT", - "oclif": { - "commands": "./src/commands", - "bin": "csdx", - "repositoryPrefix": "<%- repo %>/blob/main/packages/contentstack-migrate-rte/<%- commandPath %>" - }, - "repository": "contentstack/cli", - "scripts": { - "postpack": "rm -f oclif.manifest.json", - "prepack": "oclif manifest && oclif readme", - "test": "nyc mocha --forbid-only \"test/**/*.test.js\"", - "version": "oclif readme && git add README.md", - "clean": "rm -rf ./node_modules tsconfig.build.tsbuildinfo" - }, - "csdxConfig": { - "expiredCommands": { - "cm:migrate-rte": "csdx cm:entries:migrate-html-rte" - }, - "shortCommandName": { - "cm:entries:migrate-html-rte": "MGRTRTE", - "cm:migrate-rte": "O-MGRTRTE" - } - } -} diff --git a/packages/contentstack-migrate-rte/src/commands/cm/entries/migrate-html-rte.js b/packages/contentstack-migrate-rte/src/commands/cm/entries/migrate-html-rte.js deleted file mode 100644 index 5a04309a1b..0000000000 --- a/packages/contentstack-migrate-rte/src/commands/cm/entries/migrate-html-rte.js +++ /dev/null @@ -1,174 +0,0 @@ -const { Command } = require('@contentstack/cli-command'); -const { printFlagDeprecation, flags } = require('@contentstack/cli-utilities'); -const { isEmpty } = require('lodash'); -const chalk = require('chalk'); -let { - getStack, - getConfig, - getToken, - updateSingleContentTypeEntries, - updateContentTypeForGlobalField, - normalizeFlags, -} = require('../../../lib/util'); - -class JsonMigrationCommand extends Command { - async run() { - const { flags: migrateRteFlags } = await this.parse(JsonMigrationCommand); - try { - const normalizedFlags = normalizeFlags(migrateRteFlags); - let config = await getConfig(normalizedFlags); - if (isEmpty(config.paths)) { - throw new Error('No value provided for the "paths" property in config.'); - } - const stackOptions = { host: this.cmaHost }; - if (config.alias) { - stackOptions.token = getToken(config.alias) - } - if (config['stack-api-key']) { - stackOptions.stackApiKey = config['stack-api-key'] - } - if (config.branch) stackOptions.branch = config.branch; - let stack = await getStack(stackOptions); - config.entriesCount = 0; - config.contentTypeCount = 0; - config.errorEntriesUid = {}; - if (config['global-field']) { - await updateContentTypeForGlobalField(stack, config['content-type'], config); - } else { - await updateSingleContentTypeEntries(stack, config['content-type'], config); - } - console.log( - chalk.green(`\nUpdated ${config.contentTypeCount} Content Type(s) and ${config.entriesCount} Entrie(s)`), - ); - if (config.errorEntriesUid && Object.keys(config.errorEntriesUid).length > 0) { - const failedCTs = Object.keys(config.errorEntriesUid); - for (const failedCT of failedCTs) { - const locales = Object.keys(config.errorEntriesUid[failedCT]); - for (const locale of locales) { - console.log( - chalk.red( - `Faced issue while migrating some entrie(s) for "${failedCT}" Content-type in "${locale}" locale,"${config.errorEntriesUid[ - failedCT - ][locale].join(', ')}"`, - ), - ); - } - } - } - } catch (error) { - this.error(error.message, { exit: 2 }); - } - } -} - -JsonMigrationCommand.description = 'Migration script to migrate content from HTML RTE to JSON RTE'; - -JsonMigrationCommand.flags = { - 'config-path': flags.string({ - char: 'c', - description: 'Specify the path where your config file is located.', - required: false, - }), - alias: flags.string({ - char: 'a', - description: 'Enter the alias name. You must use either the --alias flag or the --stack-api-key flag.', - required: false, - }), - 'stack-api-key': flags.string({ - description: 'API key of the source stack. You must use either the --stack-api-key flag or the --alias flag.', - required: false, - }), - 'content-type': flags.string({ - description: 'Specify the UID of the content type for which you want to migrate HTML RTE content.', - required: false, - }), - 'global-field': flags.boolean({ - description: 'Checks whether the specified UID belongs to a content type or a global field. This flag is set to false by default.', - default: false, - required: false, - }), - yes: flags.boolean({ - char: 'y', - description: 'Avoids reconfirmation of your configuration.', - default: false, - required: false, - }), - branch: flags.string({ - description: 'The name of the branch to be used.', - required: false, - }), - 'html-path': flags.string({ - description: 'Enter the path to the HTML RTE whose content you want to migrate.', - dependsOn: ['json-path'], - required: false, - }), - 'json-path': flags.string({ - description: 'Enter the path to the JSON RTE to which you want to migrate the HTML RTE content.', - dependsOn: ['html-path'], - required: false, - }), - delay: flags.integer({ - description: 'To set the interval time between the migration of HTML RTE to JSON RTE in subsequent entries of a content type. The default value is 1,000 milliseconds.', - default: 1000, - required: false, - }), - locale: flags.string({ - description: 'The locale from which entries will be migrated.', - required: false, - }), - 'batch-limit': flags.integer({ - description: 'Provide batch limit for updating entries (default: 50).', - default: 50, - }), - - // To be deprecated - configPath: flags.string({ - char: 'p', - description: 'Path to the config file', - hidden: true, - parse: printFlagDeprecation(['-p', '--configPath'], ['-c', '--config-path']), - }), - content_type: flags.string({ - description: 'The content-type from which entries need to be migrated', - hidden: true, - parse: printFlagDeprecation(['-c', '--content_type'], ['--content-type']), - }), - isGlobalField: flags.boolean({ - char: 'g', - description: 'Indicates that the current content type is a global field (default: false)', - hidden: true, - parse: printFlagDeprecation(['-g', '--isGlobalField'], ['--global-field']), - }), - htmlPath: flags.string({ - char: 'h', - description: 'Provide the path of HTML RTE to migrate', - hidden: true, - parse: printFlagDeprecation(['-h', '--htmlPath'], ['--html-path']), - }), - jsonPath: flags.string({ - char: 'j', - description: 'Provide the path of JSON RTE to migrate', - hidden: true, - parse: printFlagDeprecation(['-j', '--jsonPath'], ['--json-path']), - }), -}; - -JsonMigrationCommand.examples = [ - 'General Usage', - 'csdx cm:entries:migrate-html-rte --config-path path/to/config.json', - '', - 'Using Flags', - 'csdx cm:entries:migrate-html-rte --alias alias --content-type content_type_uid --html-path html-path --json-path json-path', - '', - 'Nested RTE', - 'csdx cm:entries:migrate-html-rte --alias alias --content-type content_type_uid --html-path modular_block_uid.block_uid.html_rte_uid --json-path modular_block_uid.block_uid.json_rte_uid', - '', - 'csdx cm:entries:migrate-html-rte --alias alias --content-type content_type_uid --html-path group_uid.html_rte_uid --json-path group_uid.json_rte_uid', - '', - 'Global Field', - 'csdx cm:entries:migrate-html-rte --alias alias --content-type global_field_uid --global-field --html-path html-path --json-path json-path', -]; - -JsonMigrationCommand.aliases = ['cm:migrate-rte']; - -module.exports = JsonMigrationCommand; diff --git a/packages/contentstack-migrate-rte/src/lib/util/config_schema.json b/packages/contentstack-migrate-rte/src/lib/util/config_schema.json deleted file mode 100644 index 81410c98a3..0000000000 --- a/packages/contentstack-migrate-rte/src/lib/util/config_schema.json +++ /dev/null @@ -1,272 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema", - "$id": "http://example.com/example.json", - "type": "object", - "title": "The root schema", - "description": "The root schema comprises the entire JSON document.", - "default": {}, - "examples": [ - { - "alias": "test1", - "content-type": "Migration Test", - "global-field": false, - "paths": [ - { - "from": "rich_text", - "to": "supercharged_rte" - } - ] - } - ], - "required": ["content-type", "paths"], - "properties": { - "alias": { - "$id": "#/properties/alias", - "type": "string", - "title": "The alias schema", - "description": "An explanation about the purpose of this instance.", - "default": "", - "examples": ["test1"] - }, - "branch": { - "$id": "#/properties/branch", - "type": "string", - "title": "The branch schema", - "description": "An explanation about the purpose of this instance.", - "default": "", - "examples": ["test1"] - }, - "stack-api-key": { - "$id": "#/properties/stack-api-key", - "type": "string", - "title": "The Stack api key", - "description": "An explanation about the purpose of this instance.", - "default": "", - "examples": ["Migration Test"] - }, - "content-type": { - "$id": "#/properties/content-type", - "type": "string", - "title": "The content-type schema", - "description": "An explanation about the purpose of this instance.", - "default": "", - "examples": ["Migration Test"] - }, - "global-field": { - "$id": "#/properties/global-field", - "type": "boolean", - "title": "The global-field schema", - "description": "An explanation about the purpose of this instance.", - "default": false, - "examples": [false] - }, - "paths": { - "$id": "#/properties/paths", - "type": "array", - "title": "The paths schema", - "description": "An explanation about the purpose of this instance.", - "default": [], - "examples": [ - [ - { - "from": "rich_text", - "to": "supercharged_rte" - } - ] - ], - "additionalItems": true, - "items": { - "$id": "#/properties/paths/items", - "anyOf": [ - { - "$id": "html-path and json-path are required", - "type": "object", - "title": "The first anyOf schema", - "description": "An explanation about the purpose of this instance.", - "default": {}, - "examples": [ - { - "from": "rich_text", - "to": "supercharged_rte" - } - ], - "required": ["from", "to"], - "properties": { - "from": { - "$id": "#/properties/paths/items/anyOf/0/properties/from", - "type": "string", - "title": "The from schema", - "description": "An explanation about the purpose of this instance.", - "default": "", - "examples": ["rich_text"] - }, - "to": { - "$id": "#/properties/paths/items/anyOf/0/properties/to", - "type": "string", - "title": "The to schema", - "description": "An explanation about the purpose of this instance.", - "default": "", - "examples": ["supercharged_rte"] - } - }, - "additionalProperties": true - } - ] - } - }, - "delay": { - "$id": "#/properties/delay", - "type": "integer", - "title": "The delay schema", - "description": "Provide delay in ms between two entry update", - "default": 1000, - "examples": [100] - }, - "failed-entries": { - "type": "array", - "default": [], - "title": "The failed-entries Schema", - "items": { - "type": "string", - "default": "", - "title": "A Schema", - "examples": [ - "blt1c37c346218e033e, blt6ed6d545cdc2064f, blt0594909c6f0a2e82, blt07fe0dc0d2f89e71, blt6d0d993a944947e8" - ] - }, - "examples": [ - ["blt1c37c346218e033e, blt6ed6d545cdc2064f, blt0594909c6f0a2e82, blt07fe0dc0d2f89e71, blt6d0d993a944947e8"] - ] - }, - "locale": { - "type": "array", - "default": [], - "title": "The locale Schema", - "items": { - "type": "string", - "default": "", - "title": "A Schema", - "examples": ["en-in"] - }, - "paths": { - "$id": "#/properties/paths", - "type": "array", - "title": "The paths schema", - "description": "An explanation about the purpose of this instance.", - "default": [], - "examples": [ - [ - { - "from": "rich_text", - "to": "supercharged_rte" - } - ] - ], - "additionalItems": true, - "items": { - "$id": "#/properties/paths/items", - "anyOf": [ - { - "$id": "#/properties/paths/items/anyOf/0", - "type": "object", - "title": "The first anyOf schema", - "description": "An explanation about the purpose of this instance.", - "default": {}, - "examples": [ - { - "from": "rich_text", - "to": "supercharged_rte" - } - ], - "required": ["from", "to"], - "properties": { - "from": { - "$id": "#/properties/paths/items/anyOf/0/properties/from", - "type": "string", - "title": "The from schema", - "description": "An explanation about the purpose of this instance.", - "default": "", - "examples": ["rich_text"] - }, - "to": { - "$id": "#/properties/paths/items/anyOf/0/properties/to", - "type": "string", - "title": "The to schema", - "description": "An explanation about the purpose of this instance.", - "default": "", - "examples": ["supercharged_rte"] - } - }, - "additionalProperties": true - } - ] - } - }, - "delay": { - "$id": "#/properties/delay", - "type": "integer", - "title": "The delay schema", - "description": "Provide delay in ms between two entry update", - "default": 1000, - "examples": [100] - }, - "failed-entries": { - "type": "array", - "default": [], - "title": "The failed-entries Schema", - "items": { - "type": "string", - "default": "", - "title": "A Schema", - "examples": [ - "blt1c37c346218e033e, blt6ed6d545cdc2064f, blt0594909c6f0a2e82, blt07fe0dc0d2f89e71, blt6d0d993a944947e8" - ] - }, - "examples": [ - ["blt1c37c346218e033e, blt6ed6d545cdc2064f, blt0594909c6f0a2e82, blt07fe0dc0d2f89e71, blt6d0d993a944947e8"] - ] - }, - "locale": { - "type": "array", - "default": [], - "title": "The locale Schema", - "items": { - "type": "string", - "default": "", - "title": "A Schema", - "examples": ["en-in"] - }, - "examples": [["en-in"]] - }, - "batch-limit": { - "type": "integer", - "default": 50, - "title": "The batch-limit Schema", - "examples": [30], - "maximum": 100, - "minimum": 1 - } - }, - "batch-limit": { - "type": "integer", - "default": 50, - "title": "The batch-limit Schema", - "examples": [30], - "maximum": 100, - "minimum": 1 - } - }, - "oneOf": [ - { - "type": "object", - "title": "stack-api-key", - "required": ["stack-api-key"] - }, - { - "type": "object", - "title": "alias", - "required": ["alias"] - } - ], - "additionalProperties": true -} diff --git a/packages/contentstack-migrate-rte/src/lib/util/index.js b/packages/contentstack-migrate-rte/src/lib/util/index.js deleted file mode 100644 index fef9df0159..0000000000 --- a/packages/contentstack-migrate-rte/src/lib/util/index.js +++ /dev/null @@ -1,720 +0,0 @@ -const { Command } = require('@contentstack/cli-command'); -const command = new Command(); -const chalk = require('chalk'); -const { - isEmpty, - find, - get, - isArray, - isUndefined, - set, - flatten, - cloneDeep, - isNil, - isNull, - isPlainObject, -} = require('lodash'); -const Validator = require('jsonschema').Validator; -const configSchema = require('./config_schema.json'); -const { JSDOM } = require('jsdom'); -const collapseWithSpace = require('collapse-whitespace'); -const { htmlToJson } = require('@contentstack/json-rte-serializer'); -const nodePath = require('path'); -const { - cliux, - managementSDKClient, - isAuthenticated, - doesBranchExist, - pathValidator, -} = require('@contentstack/cli-utilities'); -const packageValue = require('../../../package.json'); -const isBlank = (variable) => { - return isNil(variable) || isEmpty(variable); -}; - -async function getStack(data) { - const stackOptions = {}; - const options = { - host: data.host, - application: `json-rte-migration/${packageValue.version}`, - timeout: 120000, - }; - if (data.token) { - const tokenDetails = data.token; - stackOptions['api_key'] = tokenDetails.apiKey; - options['management_token'] = tokenDetails.token; // need to pass management token so that the sdk doesn't get configured with authtoken (throws error in case of oauth, if the provided stack doesn't belong to the org selected while logging in with oauth) - stackOptions['management_token'] = tokenDetails.token; - } - if (data.stackApiKey) { - if (!isAuthenticated()) { - throw new Error( - 'Please login to proceed further. Or use `--alias` instead of `--stack-api-key` to proceed without logging in.', - ); - } - stackOptions['api_key'] = data.stackApiKey; - } - if (data.branch) options.branchName = data.branch; - const client = await managementSDKClient(options); - const stack = client.stack(stackOptions); - - stack.host = data.host; - if (data.branch) { - let branchData = await doesBranchExist(stack, data.branch); - if (branchData && branchData.errorCode) { - throw new Error(branchData.errorMessage); - } - } - return stack; -} - -const deprecatedFields = { - configPath: 'config-path', - content_type: 'content-type', - isGlobalField: 'global-field', - htmlPath: 'html-path', - jsonPath: 'json-path', -}; -function normalizeFlags(config) { - let normalizedConfig = cloneDeep(config); - Object.keys(deprecatedFields).forEach((key) => { - if (normalizedConfig.hasOwnProperty(key)) { - normalizedConfig[deprecatedFields[key]] = normalizedConfig[key]; - delete normalizedConfig[key]; - } - }); - return normalizedConfig; -} - -const customBar = cliux.progress({ - format: '{title} ' + '| {bar} | {value}/{total} Entries', - barCompleteChar: '\u2588', - barIncompleteChar: '\u2591', - stream: process.stdout, -}); -async function getConfig(flags) { - try { - let config; - if (flags['config-path']) { - const configPath = flags['config-path']; - config = require(pathValidator(configPath)); - } else { - config = { - 'content-type': flags['content-type'], - 'global-field': flags['global-field'], - paths: [ - { - from: flags['html-path'] || flags.htmlPath, - to: flags['json-path'] || flags.jsonPath, - }, - ], - delay: flags.delay, - 'batch-limit': flags['batch-limit'], - }; - if (flags.locale) { - config.locale = [flags.locale]; - } - if (flags.branch) { - config.branch = flags['branch']; - } - if (flags.alias) { - config.alias = flags.alias; - } - if (flags['stack-api-key']) { - config['stack-api-key'] = flags['stack-api-key']; - } - } - if (checkConfig(config)) { - let confirmed = await confirmConfig(config, flags.yes); - if (confirmed) { - return config; - } - throw new Error('User aborted the command.'); - } - } catch (error) { - if (error.code === 'ENOENT' || error.code === 'MODULE_NOT_FOUND') { - throw new Error('The specified path to config file does not exist.'); - } - if (error.schema && error.errors && error.errors[0]) { - throwConfigError(error.errors[0]); - } - throw error; - } -} -function getToken(alias) { - try { - return command.getToken(alias); - } catch (error) { - throw new Error('Invalid alias provided for the management token.'); - } -} -function getContentType(stack, contentTypeUid) { - return stack - .contentType(contentTypeUid) - .fetch({ include_global_field_schema: true }) - .then((content) => content) - .catch((error) => { - throw new Error(error.errorMessage || error.message); - }); -} -function getGlobalField(stack, globalFieldUid) { - return stack - .globalField(globalFieldUid) - .fetch({ include_content_types: true }) - .then((content) => content) - .catch((error) => { - throw new Error(error.errorMessage || error.message); - }); -} -function throwConfigError(error) { - const { name, path, argument } = error; - let fieldName = path.join('.'); - if (fieldName === '') { - fieldName = argument || 'Config'; - } - if (name === 'required') { - throw new Error(`${fieldName} is mandatory while defining config.`); - } else if (name === 'type') { - throw new Error(`Invalid key type. ${fieldName} must be of ${argument[0] || 'string'} type(s).`); - } else if (name === 'minimum' || name === 'maximum') { - throw new Error(`${fieldName} must be between 1 and 100.`); - } -} -function checkConfig(config) { - let v = new Validator(); - let res = v.validate(config, configSchema, { throwError: true, nestedErrors: true }); - return res.valid; -} -function prettyPrint(data) { - console.log(chalk.yellow('Configuration to be used for executing this command:')); - console.log(chalk.grey(JSON.stringify(data, null, 2))); - console.log('\n'); -} -async function confirmConfig(config, skipConfirmation) { - if (skipConfirmation) { - return Promise.resolve(true); - } - prettyPrint(config); - return await cliux.confirm('Do you want to continue with this configuration ? [yes or no]'); -} -const delay = (ms) => new Promise((res) => setTimeout(res, ms)); - -async function updateEntriesInBatch(contentType, config, skip = 0, retry = 0, locale = undefined) { - let title = `Migrating entries for ${contentType.uid}`; - let extraParams = {}; - if (locale) { - extraParams.locale = locale; - extraParams.query = { locale: locale }; - } - if (config['failed-entries'] && config['failed-entries'].length > 0) { - title = `Migrating failed entries for ${contentType.uid}`; - if (extraParams.query) { - extraParams.query['uid'] = { $in: config['failed-entries'] }; - } else { - extraParams = { query: { uid: { $in: config['failed-entries'] } } }; - } - } - let entryQuery = { - include_count: true, - ...extraParams, - skip: skip, - limit: config['batch-limit'] || 50, - }; - try { - await contentType - .entry() - .query(entryQuery) - .find() - .then(async (entriesResponse) => { - try { - customBar.start(entriesResponse.count, skip, { - title: title, - }); - } catch (error) {} - skip += entriesResponse.items.length; - let entries = entriesResponse.items; - - for (const entry of entries) { - try { - customBar.increment(); - } catch (error) {} - await updateSingleEntry(entry, contentType, config); - await delay(config.delay || 1000); - } - if (skip === entriesResponse.count) { - return Promise.resolve(); - } - await updateEntriesInBatch(contentType, config, skip, 0, locale); - }); - } catch (error) { - console.error(`Error while fetching batch of entries: ${error.message}`); - if (retry < 3) { - retry += 1; - console.error(`Retrying again in 5 seconds... (${retry}/3)`); - await delay(5000); - await updateEntriesInBatch(contentType, config, skip, retry, locale); - } else { - throw new Error(`Max retry exceeded: Error while fetching batch of entries: ${error.message}`); - } - } -} -async function updateSingleContentTypeEntries(stack, contentTypeUid, config) { - let contentType = await getContentType(stack, contentTypeUid); - let schema = contentType.schema; - for (const path of config.paths) { - if (!isEmpty(schema)) { - isPathValid(contentType.schema, path); - } else { - throw new Error(`The ${contentTypeUid} content type contains an empty schema.`); - } - } - if (config.locale && isArray(config.locale) && config.locale.length > 0) { - const locales = config.locale; - for (const locale of locales) { - console.log(`\nMigrating entries for "${contentTypeUid}" Content-type in "${locale}" locale`); - await updateEntriesInBatch(contentType, config, 0, 0, locale); - await delay(config.delay || 1000); - } - } else { - await updateEntriesInBatch(contentType, config); - } - config.contentTypeCount += 1; - try { - customBar.stop(); - } catch (error) {} -} -async function updateSingleContentTypeEntriesWithGlobalField(contentType, config) { - let schema = contentType.schema; - for (const path of config.paths) { - isPathValid(schema, path); - } - if (config.locale && isArray(config.locale) && config.locale.length > 0) { - const locales = config.locale; - for (const locale of locales) { - console.log(`\nMigrating entries for ${contentType.uid} in locale ${locale}`); - await updateEntriesInBatch(contentType, config, 0, 0, locale); - await delay(config.delay || 1000); - } - } else { - await updateEntriesInBatch(contentType, config); - } - config.contentTypeCount += 1; -} -async function updateSingleEntry(entry, contentType, config) { - let schema = contentType.schema; - let paths = config.paths; - let entryUploadPath = uploadPaths(schema); - entryUploadPath = Object.keys(entryUploadPath); - for (const path of paths) { - let htmlPath = path.from.split('.'); - let jsonPath = path.to.split('.'); - let htmlRteUid = htmlPath[htmlPath.length - 1]; - let jsonRteUid = jsonPath[jsonPath.length - 1]; - let parentPath = htmlPath.slice(0, htmlPath.length - 1).join('.'); - setEntryData(parentPath, entry, schema, { htmlRteUid, jsonRteUid }); - } - try { - for (const filePath of entryUploadPath) { - let fileFieldPath = filePath.split('.'); - let fileUid = fileFieldPath[fileFieldPath.length - 1]; - let parentFileFieldPath = fileFieldPath.slice(0, fileFieldPath.length - 1).join('.'); - unsetResolvedUploadData(parentFileFieldPath, entry, schema, { fileUid }); - } - } catch (error) { - console.error(`Error while unsetting resolved upload data: ${error.message}`); - } - await handleEntryUpdate(entry, config, 0); -} -async function handleEntryUpdate(entry, config, retry = 0) { - try { - await entry.update({ locale: entry.locale }); - config.entriesCount += 1; - } catch (error) { - console.log(chalk.red(`Error while updating '${entry.uid}' entry`)); - if (error.errors && isPlainObject(error.errors)) { - const errVal = Object.entries(error.errors); - errVal.forEach(([key, vals]) => { - console.log(chalk.red(` ${key}:- ${vals.join(',')}`)); - }); - } else { - console.log(chalk.red(`Error stack: ${error}`)); - } - if (retry < 3) { - retry += 1; - console.log(`Retrying again in 5 seconds... (${retry}/3)`); - await delay(5000); - await handleEntryUpdate(entry, config, retry); - } else { - if ( - config && - config.errorEntriesUid && - config.errorEntriesUid[entry.content_type_uid] && - config.errorEntriesUid[entry.content_type_uid][entry.locale] - ) { - config.errorEntriesUid[entry.content_type_uid][entry.locale].push(entry.uid); - } else { - set(config, ['errorEntriesUid', entry.content_type_uid, entry.locale], [entry.uid]); - } - } - } -} -function traverseSchemaForField(schema, path, field_uid) { - let paths = path.split('.'); - if (paths.length === 1) { - let field = find(schema, (o) => { - return o.uid === paths[0]; - }); - if (Boolean(field) && field.uid === field_uid) { - return field; - } - } else { - let fieldUid = paths.shift(); - let fieldSchema = find(schema, { uid: fieldUid }); - if (!isEmpty(fieldSchema)) { - if (fieldSchema.data_type === 'group' || fieldSchema.data_type === 'global_field') { - return traverseSchemaForField(fieldSchema.schema, paths.join('.'), field_uid); - } - if (fieldSchema.data_type === 'blocks') { - let blockUid = paths.shift(); - let block = find(fieldSchema.blocks, { uid: blockUid }); - if (!isEmpty(block) && block.schema) { - return traverseSchemaForField(block.schema, paths.join('.'), field_uid); - } - } - } - } - return {}; -} -function isPathValid(schema, path) { - let pathFrom = path.from.split('.'); - let htmlParentPath = pathFrom.slice(0, pathFrom.length - 1).join('.'); - const rteUid = pathFrom[pathFrom.length - 1]; - let rteSchema = traverseSchemaForField(schema, path.from, rteUid); - if (isEmpty(rteSchema)) { - throw new Error(`The specified path to ${rteUid} HTML RTE does not exist.`); - } - let ishtmlRteMultiple = rteSchema.multiple || false; - if (rteSchema.field_metadata && rteSchema.field_metadata.allow_rich_text) { - let pathTo = path.to.split('.'); - let jsonParentPath = pathTo.slice(0, pathTo.length - 1).join('.'); - - const jsonUid = pathTo[pathTo.length - 1]; - let jsonSchema = traverseSchemaForField(schema, path.to, jsonUid); - if (isEmpty(jsonSchema)) { - throw new Error(`The specified path to ${jsonUid} JSON RTE does not exist.`); - } - let isJSONRteMultiple = jsonSchema.multiple || false; - - if (jsonSchema.field_metadata && jsonSchema.field_metadata.allow_json_rte) { - if (htmlParentPath === jsonParentPath) { - if (ishtmlRteMultiple === isJSONRteMultiple) { - return true; - } - throw new Error( - `Cannot convert "${ishtmlRteMultiple ? 'Multiple' : 'Single'}" type HTML RTE to "${ - isJSONRteMultiple ? 'Multiple' : 'Single' - }" type JSON RTE.`, - ); - } else { - throw new Error( - 'To complete migration, HTML RTE and JSON RTE should be present at the same field depth level.', - ); - } - } else { - throw new Error(`The specified path to ${jsonUid} JSON RTE does not exist.`); - } - } else { - throw new Error(`The specified path to ${rteUid} HTML RTE does not exist.`); - } -} -function setEntryData(path, entry, schema, fieldMetaData) { - let paths = path.split('.'); - if (paths.length === 1 && paths[0] === '') { - paths.shift(); - } - if (paths.length > 0) { - let field = find(schema, { - uid: paths[0], - }); - if (field) { - if (field.data_type === 'group' || field.data_type === 'global_field') { - paths.shift(); - - let sub_entry_data = get(entry, field.uid); - if (isArray(sub_entry_data)) { - for (const sub_data of sub_entry_data) { - setEntryData(paths.join('.'), sub_data, field.schema, fieldMetaData); - } - } else { - setEntryData(paths.join('.'), sub_entry_data, field.schema, fieldMetaData); - } - } else if (field.data_type === 'blocks') { - if (field.blocks) { - let ModularBlockUid = paths.shift(); - let blockUid = paths.shift(); - let blockField = find(field.blocks, { uid: blockUid }); - if (blockField) { - let modularBlockDetails = get(entry, ModularBlockUid) || []; - for (const blocks of modularBlockDetails) { - let blockdata = get(blocks, blockUid); - if (blockdata) { - setEntryData(paths.join('.'), blockdata, blockField.schema, fieldMetaData); - } - } - } - } - } - } - } else if (paths.length === 0) { - if (entry) { - const { htmlRteUid, jsonRteUid } = fieldMetaData; - const htmlValue = get(entry, htmlRteUid); - // check if html field exist in traversed path - if (!isUndefined(htmlValue)) { - // if Rte field is multiple - if (isArray(htmlValue)) { - for (let i = 0; i < htmlValue.length; i++) { - let html = htmlValue[i]; - setJsonValue(html, entry, `${jsonRteUid}.${i}`); - } - } else { - setJsonValue(htmlValue, entry, jsonRteUid); - } - } - } - } -} - -function unsetResolvedUploadData(path, entry, schema, fieldMetaData) { - let paths = path.split('.'); - if (paths.length === 1 && paths[0] === '') { - paths.shift(); - } - if (paths.length > 0) { - let field = find(schema, { - uid: paths[0], - }); - if (field) { - if (field.data_type === 'group' || field.data_type === 'global_field') { - paths.shift(); - - let sub_entry_data = get(entry, field.uid); - if (isArray(sub_entry_data)) { - for (const sub_data of sub_entry_data) { - unsetResolvedUploadData(paths.join('.'), sub_data, field.schema, fieldMetaData); - } - } else { - unsetResolvedUploadData(paths.join('.'), sub_entry_data, field.schema, fieldMetaData); - } - } else if (field.data_type === 'blocks') { - if (field.blocks) { - let ModularBlockUid = paths.shift(); - let blockUid = paths.shift(); - let blockField = find(field.blocks, { uid: blockUid }); - if (blockField) { - let modularBlockDetails = get(entry, ModularBlockUid) || []; - for (const blocks of modularBlockDetails) { - let blockdata = get(blocks, blockUid); - if (blockdata) { - unsetResolvedUploadData(paths.join('.'), blockdata, blockField.schema, fieldMetaData); - } - } - } - } - } - } - } else if (paths.length === 0) { - if (entry) { - const { fileUid } = fieldMetaData; - const fieldValue = get(entry, fileUid); - if (!isUndefined(fieldValue) && !isNull(fieldValue)) { - if (isArray(fieldValue)) { - for (let i = 0; i < fieldValue.length; i++) { - const singleFile = fieldValue[i]; - if (!isUndefined(singleFile.uid)) { - set(entry, `${fileUid}.${i}`, singleFile.uid); - } - } - } else if (!isUndefined(fieldValue.uid)) { - set(entry, fileUid, fieldValue.uid); - } - } - } - } -} -function setJsonValue(html, entry, path) { - let doc = convertHtmlToJson(html); - set(entry, path, doc); -} -function convertHtmlToJson(html) { - const dom = new JSDOM(html); - let htmlDoc = dom.window.document.querySelector('body'); - collapseWithSpace(htmlDoc); - let doc; - try { - doc = htmlToJson(htmlDoc); - applyDirtyAttributesToBlock(doc); - } catch (error) { - throw new Error('Error while converting html '.concat(error.message)); - } - return doc; -} -function applyDirtyAttributesToBlock(block) { - if (block.hasOwnProperty('text')) { - return block; - } - let children = flatten([...(block.children || [])].map(applyDirtyAttributesToBlock)); - if (block.hasOwnProperty('type')) { - set(block, 'attrs.dirty', true); - } - block.children = children; - return block; -} -async function updateContentTypeForGlobalField(stack, global_field, config) { - const globalField = await getGlobalField(stack, global_field); - if (isEmpty(globalField.schema)) { - throw new Error(`The ${global_field} Global field contains an empty schema.`); - } - let allReferredContentTypes = globalField.referred_content_types; - if (!isEmpty(allReferredContentTypes)) { - for (const contentType of allReferredContentTypes) { - let contentTypeInstance = await getContentType(stack, contentType.uid); - const schema = contentTypeInstance.schema; - if (!isEmpty(schema) && !isUndefined(schema)) { - let globalFieldPaths = getGlobalFieldPath(contentTypeInstance.schema, global_field); - let newConfig = cloneDeep(config); - updateMigrationPath(globalFieldPaths, newConfig); - await updateSingleContentTypeEntriesWithGlobalField(contentTypeInstance, newConfig); - config.contentTypeCount = newConfig.contentTypeCount; - config.entriesCount = newConfig.entriesCount; - config.errorEntriesUid = newConfig.errorEntriesUid; - } else { - throw new Error(`The ${contentType.uid} content type referred in ${globalField.uid} contains an empty schema.`); - } - } - try { - customBar.stop(); - } catch (error) {} - } else { - throw new Error(`${globalField.uid} Global field is not referred in any content type.`); - } -} -function updateMigrationPath(globalFieldPaths, config) { - const newPath = []; - for (const path of config.paths) { - for (const globalFieldPath of globalFieldPaths) { - newPath.push({ from: globalFieldPath + '.' + path.from, to: globalFieldPath + '.' + path.to }); - } - } - config.paths = newPath; -} -function getGlobalFieldPath(schema, globalFieldUid) { - let paths = []; - - function genPath(prefix, path) { - return isEmpty(prefix) ? path : [prefix, path].join('.'); - } - - function traverse(fields, path) { - path = path || ''; - for (const field of fields) { - let currPath = genPath(path, field.uid); - if (field.data_type === 'group') { - traverse(field.schema, currPath); - } - - if ( - field.data_type === 'global_field' && - isUndefined(field.schema) === false && - isEmpty(field.schema) === false - ) { - if (field.reference_to === globalFieldUid) { - paths.push(currPath); - } - } - if (field.data_type === 'blocks') { - field.blocks.forEach(function (block) { - if (block.schema) { - if (block.reference_to && block.reference_to === globalFieldUid) { - paths.push(currPath + '.' + block.uid); - } - traverse(block.schema, currPath + '.' + block.uid); - } - }); - } - // experience_container - if (field.data_type === 'experience_container') { - if (field.variations) { - field.variations.forEach(function (variation) { - if (variation.schema) traverse(variation.schema, currPath + '.' + variation.uid); - }); - } - } - } - } - - if (!isEmpty(schema)) { - traverse(schema, ''); - } - - return paths; -} - -/* - Get the upload paths - */ -function uploadPaths(schema) { - return getPaths(schema, 'file'); -} - -/* -Generic function to get schema paths -*/ -function getPaths(schema, type) { - const paths = {}; - - function genPath(prefix, path) { - return isBlank(prefix) ? path : [prefix, path].join('.'); - } - - function traverse(fields, path) { - path = path || ''; - for (const element of fields) { - const field = element; - const currPath = genPath(path, field.uid); - - if (field.data_type === type) paths[currPath] = true; - - if (field.data_type === 'group') traverse(field.schema, currPath); - - if (field.data_type === 'global_field' && isUndefined(field.schema) === false && isEmpty(field.schema) === false) - traverse(field.schema, currPath); - if (field.data_type === 'blocks') { - field.blocks.forEach(function (block) { - if (block.schema) traverse(block.schema, currPath + '.' + block.uid); - }); - } - // experience_container - if (field.data_type === 'experience_container') { - field.variations.forEach(function (variation) { - if (variation.schema) traverse(variation.schema, currPath + '.' + variation.uid); - }); - } - } - } - - traverse(schema); - - return paths; -} - -module.exports = { - getStack, - getConfig, - getToken, - getContentType, - updateEntriesInBatch, - updateSingleContentTypeEntries, - updateContentTypeForGlobalField, - command, - normalizeFlags, -}; diff --git a/packages/contentstack-migrate-rte/test/commands/json-migration.test.js b/packages/contentstack-migrate-rte/test/commands/json-migration.test.js deleted file mode 100644 index ef7c7f4c0d..0000000000 --- a/packages/contentstack-migrate-rte/test/commands/json-migration.test.js +++ /dev/null @@ -1,940 +0,0 @@ -const { runCommand } = require('@oclif/test'); -const sinon = require('sinon'); -const qs = require('querystring'); -const nock = require('nock'); -const { cliux } = require('@contentstack/cli-utilities'); -const { expect } = require('chai'); -const { fancy } = require('fancy-test'); -const { - getToken, - getContentType, - getEntries, - getExpectedOutput, - getGlobalField, - getEntriesOnlyUID, - getEntry, -} = require('../utils'); -const omitDeep = require('omit-deep-lodash'); -const { isEqual, cloneDeep } = require('lodash'); -const { command } = require('../../src/lib/util'); - -describe('Migration Config validation', () => { - const getTokenCallback = sinon.stub(); - getTokenCallback - .withArgs('test1') - .returns({ - token: 'testManagementToken', - apiKey: 'testApiKey', - type: 'management', - }) - .withArgs('invalidAlias') - .throws("Token with alias 'invalidAlias' was not found"); - - fancy - .stub(cliux, 'confirm', () => false) - .it('deny config confirmation', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypewithsinglerte', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain('User aborted the command.'); - }); - - fancy - .stub(cliux, 'confirm', () => true) - .stub(command, 'getToken', getTokenCallback) - .it('throw error on Empty paths', async () => { - const {error} = await runCommand( - ['cm:entries:migrate-html-rte', '--config-path', './test/dummy/config/configWithEmptyPath.json', '--yes'], - { root: process.cwd() }, - ); - expect(error.message).to.contain('No value provided for the "paths" property in config.'); - }); - - fancy - .stub(cliux, 'confirm', () => true) - .stub(command, 'getToken', getTokenCallback) - .it('throw error on invalid config type', async () => { - const {error} = await runCommand( - ['cm:entries:migrate-html-rte', '--config-path', '../test/dummy/config/invalidConfig.json', '--yes'], - { root: process.cwd() }, - ); - expect(error.message).to.contain('The specified path to config file does not exist.'); - }); - - fancy - .stub(cliux, 'confirm', () => true) - .it('throw error on config without alias property', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--content-type', - 'contenttypewithsinglerte', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain('is not exactly one from "stack-api-key","alias"'); - }); - - fancy - .stub(cliux, 'confirm', () => true) - .stub(command, 'getToken', getTokenCallback) - .it('throw error on invalidAlias', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'invalidAlias', - '--content-type', - 'contenttypewithsinglerte', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain('Invalid alias provided for the management token.'); - }); - - fancy - .stub(cliux, 'confirm', () => true) - .stub(command, 'getToken', getTokenCallback) - .it('throw error on invalid config file', async () => { - const { error } = await runCommand( - ['cm:entries:migrate-html-rte', '--config-path', './test/dummy/config/configWithInvalidPath.json', '--yes'], - { root: process.cwd() }, - ); - expect(error.message).to.contain('The specified path to config file does not exist.'); - }); -}); -describe('Content Type with Single RTE Field of Single Type', function () { - this.timeout(1000000); - let token = getToken('test1'); - beforeEach(() => { - nock(`${command.cmaAPIUrl}`, { - reqheaders: { - api_key: token.apiKey, - authorization: token.token, - }, - }) - .persist() - .get(/\/v3\/content_types\/(\w)*/) - .query({ - include_global_field_schema: true, - }) - .reply((uri) => { - var match = uri.match(/\/v3\/content_types\/((\w)*)/); - return getContentType(match[1]); - }); - nock(`${command.cmaAPIUrl}`, { - reqheaders: { - api_key: token.apiKey, - authorization: token.token, - }, - }) - .persist() - .get(/\/v3\/content_types\/((\w)*)\/entries/) - .query({ - include_count: true, - skip: 0, - limit: 100, - 'only[Base][]': 'uid', - }) - .reply(200, (uri) => { - var match = uri.match(/\/v3\/content_types\/((\w)*)\/entries/); - return getEntriesOnlyUID(match[1]); - }); - - nock(`${command.cmaAPIUrl}`, { - reqheaders: { - api_key: token.apiKey, - authorization: token.token, - }, - }) - .persist() - .get(/\/v3\/content_types\/((\w)*)\/entries/) - .query(true) - .reply(200, function (uri) { - let query = this.req.options.search; - query = query.substring(1); - let locale = undefined; - query = qs.parse(query); - if (query.locale) { - locale = query.locale; - } - var match = uri.match(/\/v3\/content_types\/((\w)*)\/entries/); - return getEntries(match[1], locale); - }); - // mock get locale - nock(`${command.cmaAPIUrl}`, { - reqheaders: { - api_key: token.apiKey, - authorization: token.token, - }, - }) - .persist() - .get(/\/v3\/content_types\/((\w)*)\/entries\/((\w)*)\/locale/) - .query({ - deleted: false, - }) - .reply(200, () => { - return { - locales: [ - { - code: 'en-in', - localized: true, - }, - { - code: 'en-us', - }, - ], - }; - }); - - // mock single entry fetch - nock(`${command.cmaAPIUrl}`, { - reqheaders: { - api_key: token.apiKey, - authorization: token.token, - }, - }) - .persist() - .get(/\/v3\/content_types\/((\w)*)\/entries\/((\w)*)/) - .query(true) - .reply(200, (uri) => { - const query = this.queries; - let match = uri.match(/\/v3\/content_types\/((\w)*)\/entries\/((\w)*)/); - if (query.locale) { - return getEntry(match[1], match[3], query.locale); - } else { - return getEntry(match2[1], match2[3]); - } - }); - - nock(`${command.cmaAPIUrl}`, { - reqheaders: { - api_key: token.apiKey, - authorization: token.token, - }, - }) - .persist() - .put(/\/v3\/content_types\/((\w)*)\/entries/) - .reply((uri, body) => { - let match = uri.match(/\/v3\/content_types\/((\w)*)\/entries\/((\w)*)\?locale=((\w|-)*)/); - let responseModified = cloneDeep(omitDeep(body, ['uid'])); - let expectedResponse = omitDeep(getExpectedOutput(match[1], match[3], match[5]), ['uid']); - expectedResponse = cloneDeep(expectedResponse); - if (isEqual(responseModified, expectedResponse)) { - return [ - 200, - { - notice: 'Entry updated successfully.', - entry: {}, - }, - ]; - } - return [ - 400, - { - notice: 'Update Failed.', - error_message: 'Entry update failed.', - entry: {}, - }, - ]; - }); - }); - const getTokenCallback = sinon.stub(); - getTokenCallback.withArgs('test1').returns({ - token: 'testManagementToken', - apiKey: 'testApiKey', - type: 'management', - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('execute using config file w/o locale', async () => { - const { stdout } = await runCommand( - ['cm:entries:migrate-html-rte', '--config-path', './test/dummy/config/config.json', '--yes'], - { root: process.cwd() }, - ); - expect(stdout).to.contain('Updated 1 Content Type(s) and 2 Entrie(s)'); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('execute using config file w/ locale', async () => { - const { stdout } = await runCommand( - ['cm:entries:migrate-html-rte', '--config-path', './test/dummy/config/config_locale.json', '--yes'], - { root: process.cwd() }, - ); - expect(stdout).to.contain('Updated 1 Content Type(s) and 1 Entrie(s)'); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('execute using config file w/ multiple locale', async () => { - const { stdout } = await runCommand( - ['cm:entries:migrate-html-rte', '--config-path', './test/dummy/config/config-locale-2.json', '--yes'], - { root: process.cwd() }, - ); - expect(stdout).to.contain('Updated 1 Content Type(s) and 3 Entrie(s)'); - }); - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('execute using flags (w/o locale)', async () => { - const { stdout } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypewithsinglerte', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(stdout).to.contain('Updated 1 Content Type(s) and 2 Entrie(s)'); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('execute using flags w/ locale', async () => { - const { stdout } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypewithsinglerte', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--locale', - 'en-in', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(stdout).to.contain('Updated 1 Content Type(s) and 1 Entrie(s)'); - }); - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('throw error on invalid html rte path', async () => { - const { error } = await runCommand([ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypewithsinglerte', - '--html-path', - 'rich_text_editor.invalidPath', - '--json-path', - 'supercharged_rte', - '--yes', - '--delay', - '50', - ],{ root: process.cwd() }); - expect(error.message).to.contain('The specified path to invalidPath HTML RTE does not exist.'); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('throw error on invalid html rte field schema', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypewithinvalidhtmlrteschema', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain('The specified path to rich_text_editor HTML RTE does not exist.'); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('throw error on invalid json rte field schema', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypewithinvalidjsonrteschema', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain('The specified path to supercharged_rte JSON RTE does not exist.'); - }); - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('throw error on invalid json rte path', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypewithsinglerte', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte.invalidPath', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain('The specified path to invalidPath JSON RTE does not exist.'); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('throw error on migration of Mutiple Html rte with single Json rte', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--config-path', - './test/dummy/config/configForInvalidContentType.json', - '--yes', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain('Cannot convert "Multiple" type HTML RTE to "Single" type JSON RTE.'); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('throw error on content type with empty schema', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypewithemptyschema', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain('The contenttypewithemptyschema content type contains an empty schema.'); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('throw error on different level rte migration', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypedifferentlevelrte', - '--html-path', - 'group.rich_text_editor', - '--json-path', - 'supercharged_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain( - 'To complete migration, HTML RTE and JSON RTE should be present at the same field depth level.', - ); - }); - - fancy - .stub(cliux, 'confirm', () => true) - .stub(command, 'getToken', getTokenCallback) - .it('throw error on invalid contenttype', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'invalidContentType', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain("The Content Type 'invalidContentType' was not found. Please try again."); - }); - - fancy - .skip() - .stub(cliux, 'confirm', () => true) - .stub(command, 'getToken', getTokenCallback) - .it('notify user on entry update failed', async () => { - const { stdout } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypewithentryupdateerror', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(stdout).to.contain( - `Faced issue while migrating some entrie(s) for "contenttypewithentryupdateerror" Content-type in "en-us" locale,"blta9b16ac2827c54ed, blta9b16ac2827c54e1"`, - ); - }); - - fancy - .skip() - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('should have proper json structure for images migrated from HTML RTE', async () => { - const { stdout } = await runCommand( - ['cm:entries:migrate-html-rte', '--config-path', './test/dummy/config/config-for-images-in-rte.json', '--yes'], - { root: process.cwd() }, - ); - expect(stdout).to.match(/Updated \d+ Content Type\(s\) and \d+ Entrie\(s\)/); - }); -}); -describe('Global Field Migration', () => { - let token = getToken('test1'); - beforeEach(() => { - nock(`${command.cmaAPIUrl}`, { - reqheaders: { - api_key: token.apiKey, - authorization: token.token, - }, - }) - .persist() - .get(/\/v3\/global_fields\/([a-zA-Z_])*/) - .query({ - include_content_types: true, - }) - .reply((uri) => { - var match = uri.match(/\/v3\/global_fields\/(([a-zA-Z_])*)/); - return getGlobalField(match[1]); - }); - }); - - const getTokenCallback = sinon.stub(); - getTokenCallback.withArgs('test1').returns({ - token: 'testManagementToken', - apiKey: 'testApiKey', - type: 'management', - }); - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('execute using config file', async () => { - const { stdout } = await runCommand( - ['cm:entries:migrate-html-rte', '--config-path', './test/dummy/config/configForGlobalField.json', '--yes'], - { root: process.cwd() }, - ); - expect(stdout).to.contain('Updated 2 Content Type(s) and 2 Entrie(s)'); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('throw error on global field with empty referred content_types', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'globalfieldwithemptycontenttype', - '--global-field', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain('globalfieldformigration Global field is not referred in any content type.'); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('throw error on global field with invalid content_type', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'globalfieldwithinvalidcontenttype', - '--global-field', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain( - 'The contenttypewithemptyschema content type referred in globalfieldformigration contains an empty schema.', - ); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('throw error on global field with empty schema', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'globalfieldwithemptyschema', - '--global-field', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain('The globalfieldwithemptyschema Global field contains an empty schema.'); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('throw error on global field with empty schema content_type', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'globalfieldwithemptyschemacontenttype', - '--global-field', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain( - 'The contenttypewithemptyschema content type referred in globalfieldwithemptyschemacontenttype contains an empty schema.', - ); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('throw error on invalid global_field uid', async () => { - const { error } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'invalidUidGlobalfield', - '--global-field', - '--html-path', - 'rich_text_editor', - '--json-path', - 'supercharged_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(error.message).to.contain("The Global Field 'invalidUidGlobalfield' was not found. Please try again."); - }); -}); - -describe('Content Type with single rte of multiple type', () => { - const getTokenCallback = sinon.stub(); - getTokenCallback.withArgs('test1').returns({ - token: 'testManagementToken', - apiKey: 'testApiKey', - type: 'management', - }); - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('execute using config file', async () => { - const {stdout} = await runCommand( - ['cm:entries:migrate-html-rte', '--config-path', './test/dummy/config/configForMultipleRte.json', '--yes'], - { root: process.cwd() }, - ); - expect(stdout).to.contain('Updated 1 Content Type(s) and 1 Entrie(s)'); - }); -}); - -describe('Content Type with Single RTE inside modular block', () => { - const getTokenCallback = sinon.stub(); - getTokenCallback.withArgs('test1').returns({ - token: 'testManagementToken', - apiKey: 'testApiKey', - type: 'management', - }); - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('execute using Flags', async () => { - const { stdout } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypewithmodularblock', - '--html-path', - 'modular_blocks.test1.rich_text_editor', - '--json-path', - 'modular_blocks.test1.supercharged_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(stdout).to.contain('Updated 1 Content Type(s) and 1 Entrie(s)'); - }); -}); - -describe('Content Type with Single RTE of type multiple inside group', () => { - const getTokenCallback = sinon.stub(); - getTokenCallback.withArgs('test1').returns({ - token: 'testManagementToken', - apiKey: 'testApiKey', - type: 'management', - }); - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('execute using Flags', async () => { - const { stdout } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypewithgroup', - '--html-path', - 'group.rich_text_editor', - '--json-path', - 'group.supercharged_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(stdout).to.contain('Updated 1 Content Type(s) and 1 Entrie(s)'); - }); -}); - -describe('Content Type with Single RTE inside group of type multiple', () => { - const getTokenCallback = sinon.stub(); - getTokenCallback.withArgs('test1').returns({ - token: 'testManagementToken', - apiKey: 'testApiKey', - type: 'management', - }); - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('execute using Flags', async () => { - const { stdout } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypewithmultiplegroup', - '--html-path', - 'group.rich_text_editor', - '--json-path', - 'group.supercharged_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(stdout).to.contain('Updated 1 Content Type(s) and 1 Entrie(s)'); - }); -}); - -// Check this one -describe('Content Type with multiple file field', () => { - const getTokenCallback = sinon.stub(); - getTokenCallback.withArgs('test1').returns({ - token: 'testManagementToken', - apiKey: 'testApiKey', - type: 'management', - }); - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('execute using Flags', async () => { - const { stdout } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content-type', - 'contenttypewithfilefield', - '--html-path', - 'rich_text_editor', - '--json-path', - 'json_rte', - '--yes', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - expect(stdout).to.contain('Updated 1 Content Type(s) and 1 Entrie(s)'); - }); -}); - -describe('Migration with old flags and command', () => { - const getTokenCallback = sinon.stub(); - getTokenCallback.withArgs('test1').returns({ - token: 'testManagementToken', - apiKey: 'testApiKey', - type: 'management', - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('execute using config file w/o locale', async (ctx) => { - const { stdout } = await runCommand( - ['cm:migrate-rte', '--configPath', './test/dummy/config/config.json', '--yes'], - { root: process.cwd() }, - ); - expect(stdout).to.contain( - `WARNING!!! You're using the old (soon to be deprecated) Contentstack CLI flags (-p, --configPath). We recommend you to use the updated flags (-c, --config-path).`, - ); - }); - - fancy - .stub(cliux, 'confirm', () => 'yes') - .stub(command, 'getToken', getTokenCallback) - .it('execute using flags (w/o locale)', async () => { - const { stdout } = await runCommand( - [ - 'cm:entries:migrate-html-rte', - '--alias', - 'test1', - '--content_type', - 'contenttypewithsinglerte', - '--htmlPath', - 'rich_text_editor', - '--jsonPath', - 'supercharged_rte', - '--delay', - '50', - ], - { root: process.cwd() }, - ); - - expect(stdout).to.contain( - `WARNING!!! You're using the old (soon to be deprecated) Contentstack CLI flags (-c, --content_type). We recommend you to use the updated flags (--content-type).`, - ); - expect(stdout).to.contain( - `WARNING!!! You're using the old (soon to be deprecated) Contentstack CLI flags (-h, --htmlPath). We recommend you to use the updated flags (--html-path)`, - ); - expect(stdout).to.contain( - `WARNING!!! You're using the old (soon to be deprecated) Contentstack CLI flags (-j, --jsonPath). We recommend you to use the updated flags (--json-path).`, - ); - }); -}); diff --git a/packages/contentstack-migrate-rte/test/dummy/config/config-for-images-in-rte.json b/packages/contentstack-migrate-rte/test/dummy/config/config-for-images-in-rte.json deleted file mode 100644 index 4b12389ccc..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/config/config-for-images-in-rte.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "alias": "test1", - "content-type": "rte_images", - "global-field": false, - "paths": [ - { - "from": "rich_text_editor", - "to": "supercharged_rte" - } - ], - "delay": 50 -} diff --git a/packages/contentstack-migrate-rte/test/dummy/config/config-locale-2.json b/packages/contentstack-migrate-rte/test/dummy/config/config-locale-2.json deleted file mode 100644 index 9405011617..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/config/config-locale-2.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "alias": "test1", - "content-type": "contenttypewithsinglerte", - "global-field": false, - "paths": [ - { - "from": "rich_text_editor", - "to": "supercharged_rte" - } - ], - "delay": 50, - "locale": ["en-in", "en-us"] -} diff --git a/packages/contentstack-migrate-rte/test/dummy/config/config-locale.json b/packages/contentstack-migrate-rte/test/dummy/config/config-locale.json deleted file mode 100644 index a54e527c80..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/config/config-locale.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "alias": "test1", - "content_type": "contenttypewithsinglerte", - "isGlobalField": false, - "paths": [ - { - "from": "rich_text_editor", - "to": "supercharged_rte" - } - ], - "delay": 50, - "locale":["en-in"] -} \ No newline at end of file diff --git a/packages/contentstack-migrate-rte/test/dummy/config/config.json b/packages/contentstack-migrate-rte/test/dummy/config/config.json deleted file mode 100644 index 337aa4d3ae..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/config/config.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "alias": "test1", - "content-type": "contenttypewithsinglerte", - "global-field": false, - "paths": [ - { - "from": "rich_text_editor", - "to": "supercharged_rte" - } - ], - "delay": 50 -} diff --git a/packages/contentstack-migrate-rte/test/dummy/config/configForGlobalField.json b/packages/contentstack-migrate-rte/test/dummy/config/configForGlobalField.json deleted file mode 100644 index 80c572f488..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/config/configForGlobalField.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "alias": "test1", - "content-type": "globalfieldformigration", - "global-field": true, - "paths": [ - { - "from": "rich_text_editor", - "to": "supercharged_rte" - } - ], - "delay": 50 -} diff --git a/packages/contentstack-migrate-rte/test/dummy/config/configForInvalidContentType.json b/packages/contentstack-migrate-rte/test/dummy/config/configForInvalidContentType.json deleted file mode 100644 index 3506c60cc4..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/config/configForInvalidContentType.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "alias": "test1", - "content-type": "contenttypewithinvalidrtetype", - "global-field": false, - "paths": [ - { - "from": "rich_text_editor", - "to": "supercharged_rte" - } - ], - "delay": 50 -} diff --git a/packages/contentstack-migrate-rte/test/dummy/config/configForMultipleRte.json b/packages/contentstack-migrate-rte/test/dummy/config/configForMultipleRte.json deleted file mode 100644 index a17c5bb5ba..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/config/configForMultipleRte.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "alias": "test1", - "content-type": "contenttypewithmultiplerte", - "global-field": false, - "paths": [ - { - "from": "rich_text_editor", - "to": "supercharged_rte" - } - ], - "delay": 50 -} diff --git a/packages/contentstack-migrate-rte/test/dummy/config/configWithEmptyPath.json b/packages/contentstack-migrate-rte/test/dummy/config/configWithEmptyPath.json deleted file mode 100644 index 0361c38197..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/config/configWithEmptyPath.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "alias": "test2", - "content-type": "contenttypewithsinglerte", - "global-field": false, - "paths": [], - "delay": 50 -} diff --git a/packages/contentstack-migrate-rte/test/dummy/config/config_locale.json b/packages/contentstack-migrate-rte/test/dummy/config/config_locale.json deleted file mode 100644 index ffd4453468..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/config/config_locale.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "alias": "test1", - "content-type": "contenttypewithsinglerte", - "global-field": false, - "paths": [ - { - "from": "rich_text_editor", - "to": "supercharged_rte" - } - ], - "locale":["en-in"], - "delay": 50 -} diff --git a/packages/contentstack-migrate-rte/test/dummy/config/invalidConfig.json b/packages/contentstack-migrate-rte/test/dummy/config/invalidConfig.json deleted file mode 100644 index 2f939adc07..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/config/invalidConfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "alias": 123, - "content-type": "contenttypewithsinglerte", - "global-field": false, - "paths": [ - { - "from": "rich_text_editor", - "to": "supercharged_rte" - } - ], - "delay": 50 -} diff --git a/packages/contentstack-migrate-rte/test/dummy/contentTypeResponse.json b/packages/contentstack-migrate-rte/test/dummy/contentTypeResponse.json deleted file mode 100644 index 16f5e630e8..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/contentTypeResponse.json +++ /dev/null @@ -1,3014 +0,0 @@ -{ - "contenttypewithsinglerte": { - "content_type": { - "created_at": "2021-06-18T08:28:40.550Z", - "updated_at": "2021-06-18T08:29:11.162Z", - "title": "ContentTypeWithSingleRTE", - "uid": "contenttypewithsinglerte", - "_version": 2, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - }, - "contenttypewithinvalidjsonrteschema": { - "content_type": { - "created_at": "2021-06-18T08:28:40.550Z", - "updated_at": "2021-06-18T08:29:11.162Z", - "title": "ContentTypeWithSingleRTE", - "uid": "contenttypewithsinglerte", - "_version": 2, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - }, - "contenttypedifferentlevelrte": { - "content_type": { - "created_at": "2021-06-22T11:35:00.339Z", - "updated_at": "2021-06-22T11:35:19.016Z", - "title": "contenttypedifferentlevelrte", - "uid": "contenttypedifferentlevelrte", - "_version": 2, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "group", - "display_name": "Group", - "field_metadata": { - "description": "", - "instruction": "" - }, - "schema": [ - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - } - ], - "uid": "group", - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - }, - "contenttypewithinvalidhtmlrteschema": { - "content_type": { - "created_at": "2021-06-18T08:28:40.550Z", - "updated_at": "2021-06-18T08:29:11.162Z", - "title": "contenttypewithinvalidhtmlrteschema", - "uid": "contenttypewithinvalidhtmlrteschema", - "_version": 2, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - }, - "contenttype1forglobalfield": { - "content_type": { - "created_at": "2021-06-21T09:35:10.023Z", - "updated_at": "2021-06-21T09:35:58.489Z", - "title": "contentType1ForglobalField", - "uid": "contenttype1forglobalfield", - "_version": 2, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "global_field", - "display_name": "Global", - "reference_to": "globalfieldformigration", - "field_metadata": { - "description": "" - }, - "uid": "global_field", - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false, - "schema": [ - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false, - "indexed": false, - "inbuilt_model": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false, - "indexed": false, - "inbuilt_model": false - } - ] - }, - { - "data_type": "group", - "display_name": "Group", - "field_metadata": { - "description": "", - "instruction": "" - }, - "schema": [ - { - "data_type": "global_field", - "display_name": "Global", - "reference_to": "globalfieldformigration", - "field_metadata": { - "description": "" - }, - "uid": "global_field", - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false, - "schema": [ - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false, - "indexed": false, - "inbuilt_model": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false, - "indexed": false, - "inbuilt_model": false - } - ] - } - ], - "uid": "group", - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - }, - "contenttype2forglobalfield": { - "content_type": { - "created_at": "2021-06-21T09:36:41.354Z", - "updated_at": "2021-06-21T09:37:19.970Z", - "title": "contenttype2forglobalfield", - "uid": "contenttype2forglobalfield", - "_version": 2, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "global_field", - "display_name": "Global", - "reference_to": "globalfieldformigration", - "field_metadata": { - "description": "" - }, - "uid": "global_field", - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false, - "schema": [ - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false, - "indexed": false, - "inbuilt_model": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false, - "indexed": false, - "inbuilt_model": false - } - ] - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - }, - "contenttypewithinvalidrtetype": { - "content_type": { - "created_at": "2021-06-22T05:00:12.357Z", - "updated_at": "2021-06-22T05:01:53.175Z", - "title": "contenttypewithinvalidrtetype", - "uid": "contenttypewithinvalidrtetype", - "_version": 3, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "multiple": true, - "non_localizable": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - }, - "contenttypewithmultiplerte": { - "content_type": { - "created_at": "2021-06-22T05:18:50.239Z", - "updated_at": "2021-06-22T05:50:45.916Z", - "title": "contenttypewithmultiplerte", - "uid": "contenttypewithmultiplerte", - "_version": 3, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "multiple": true, - "non_localizable": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "multiple": true, - "non_localizable": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - }, - "contenttypewithemptyschema": { - "content_type": { - "created_at": "2021-06-22T05:18:50.239Z", - "updated_at": "2021-06-22T05:50:45.916Z", - "title": "contenttypewithemptyschema", - "uid": "contenttypewithemptyschema", - "_version": 3, - "inbuilt_class": false, - "schema": [], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - }, - "contenttypewithmodularblock": { - "content_type": { - "created_at": "2021-06-22T08:36:26.050Z", - "updated_at": "2021-06-22T09:55:52.105Z", - "title": "contenttypewithmodularblock", - "uid": "contenttypewithmodularblock", - "_version": 3, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "blocks", - "display_name": "Modular Blocks", - "blocks": [ - { - "title": "test1", - "uid": "test1", - "schema": [ - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ] - } - ], - "multiple": true, - "uid": "modular_blocks", - "field_metadata": { - "instruction": "", - "description": "" - }, - "non_localizable": false, - "mandatory": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - }, - "contenttypewithgroup": { - "content_type": { - "created_at": "2021-06-22T10:18:54.177Z", - "updated_at": "2021-06-22T10:19:31.012Z", - "title": "contenttypewithgroup", - "uid": "contenttypewithgroup", - "_version": 2, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "group", - "display_name": "Group", - "field_metadata": { - "description": "", - "instruction": "" - }, - "schema": [ - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "multiple": true, - "non_localizable": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "multiple": true, - "non_localizable": false, - "unique": false - } - ], - "uid": "group", - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - }, - "contenttypewithmultiplegroup": { - "content_type": { - "created_at": "2021-06-22T10:35:26.275Z", - "updated_at": "2021-06-22T10:36:06.768Z", - "title": "contenttypewithmultiplegroup", - "uid": "contenttypewithmultiplegroup", - "_version": 2, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "group", - "display_name": "Group", - "field_metadata": { - "description": "", - "instruction": "" - }, - "schema": [ - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ], - "uid": "group", - "multiple": true, - "non_localizable": false, - "mandatory": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - }, - "contenttypewithentryupdateerror": { - "content_type": { - "created_at": "2021-06-24T09:59:49.808Z", - "updated_at": "2021-06-24T10:01:00.908Z", - "title": "contenttypewithentryUpdateError", - "uid": "contenttypewithentryupdateerror", - "_version": 2, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - }, - "contenttypewithfilefield": { - "content_type": { - "created_at": "2021-08-11T08:48:38.491Z", - "updated_at": "2021-08-11T08:50:42.734Z", - "title": "contenttypewithfilefield", - "uid": "contenttypewithfilefield", - "_version": 3, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "file", - "display_name": "File", - "uid": "file", - "extensions": [], - "field_metadata": { - "description": "", - "rich_text_type": "standard" - }, - "mandatory": false, - "multiple": false, - "non_localizable": false, - "unique": false - }, - { - "data_type": "file", - "display_name": "File", - "uid": "asset", - "extensions": [], - "field_metadata": { - "description": "", - "rich_text_type": "standard" - }, - "mandatory": false, - "multiple": false, - "non_localizable": false, - "unique": false - }, - { - "data_type": "blocks", - "display_name": "Modular Blocks", - "blocks": [ - { - "title": "test1", - "uid": "test1", - "schema": [ - { - "data_type": "file", - "display_name": "File", - "uid": "file", - "extensions": [], - "field_metadata": { - "description": "", - "rich_text_type": "standard" - }, - "mandatory": false, - "multiple": true, - "non_localizable": false, - "unique": false - } - ] - } - ], - "multiple": true, - "uid": "modular_blocks", - "field_metadata": { - "instruction": "", - "description": "" - }, - "mandatory": false, - "non_localizable": false, - "unique": false - }, - { - "data_type": "group", - "display_name": "Group", - "field_metadata": { - "description": "", - "instruction": "" - }, - "schema": [ - { - "data_type": "file", - "display_name": "File", - "uid": "file", - "field_metadata": { - "description": "", - "rich_text_type": "standard", - "image": true - }, - "mandatory": false, - "multiple": false, - "non_localizable": false, - "unique": false, - "dimension": { - "width": { - "min": null, - "max": null - }, - "height": { - "min": null, - "max": null - } - } - } - ], - "uid": "group", - "mandatory": false, - "multiple": false, - "non_localizable": false, - "unique": false - }, - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "mandatory": false, - "multiple": false, - "non_localizable": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "JSON Rich Text Editor", - "uid": "json_rte", - "field_metadata": { - "allow_json_rte": true, - "embed_entry": false, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "reference_to": [ - "sys_assets" - ], - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": true, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - }, - "extension_uids": [] - } - }, - "rte_images": { - "content_type": { - "created_at": "2021-06-18T08:28:40.550Z", - "updated_at": "2021-06-18T08:29:11.162Z", - "title": "ContentTypeWithSingleRTE", - "uid": "rte_images", - "_version": 2, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Title", - "field_metadata": { - "_default": true, - "version": 3 - }, - "mandatory": true, - "uid": "title", - "unique": true, - "non_localizable": false, - "multiple": false - }, - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "DEFAULT_ACL": { - "others": { - "read": false, - "create": false - }, - "users": [ - { - "uid": "bltd17749910d177e04", - "read": true, - "sub_acl": { - "read": true - } - } - ] - }, - "SYS_ACL": { - "roles": [ - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltbfe2abeba30ff382", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - }, - { - "uid": "bltfa739fdd274aa467", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - } - }, - { - "uid": "blt6cafb115ee0f0a25", - "read": true, - "sub_acl": { - "create": true, - "read": true, - "update": true, - "delete": true, - "publish": true - }, - "update": true, - "delete": true - } - ], - "others": { - "read": false, - "create": false, - "update": false, - "delete": false, - "sub_acl": { - "read": false, - "create": false, - "update": false, - "delete": false, - "publish": false - } - } - }, - "options": { - "is_page": false, - "singleton": false, - "sub_title": [], - "title": "title" - }, - "abilities": { - "get_one_object": true, - "get_all_objects": true, - "create_object": true, - "update_object": true, - "delete_object": true, - "delete_all_objects": true - } - } - } -} \ No newline at end of file diff --git a/packages/contentstack-migrate-rte/test/dummy/defaultConfig.json b/packages/contentstack-migrate-rte/test/dummy/defaultConfig.json deleted file mode 100644 index 0eb5963a93..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/defaultConfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "apiEndpoint": "http://localhost:8000", - "cdnEndpoint": "https://cdn.contentstack.io", - "apiVersion": 3 -} \ No newline at end of file diff --git a/packages/contentstack-migrate-rte/test/dummy/entriesResponse.json b/packages/contentstack-migrate-rte/test/dummy/entriesResponse.json deleted file mode 100644 index b313313f67..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/entriesResponse.json +++ /dev/null @@ -1,444 +0,0 @@ -{ - "contenttypewithsinglerte": { - "entries": [ - { - "title": "Entry 2", - "rich_text_editor": "

value 2

", - "tags": [], - "locale": "en-us", - "uid": "blt6168b6493a122849", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "created_at": "2021-06-18T10:10:35.292Z", - "updated_at": "2021-06-18T10:10:35.292Z", - "ACL": {}, - "_version": 1, - "_in_progress": false - }, - { - "title": "Entry 2", - "rich_text_editor": "

value 2 en-in

", - "tags": [], - "locale": "en-in", - "uid": "blt6168b6493a122849", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "created_at": "2021-06-18T10:10:35.292Z", - "updated_at": "2021-06-18T10:10:35.292Z", - "ACL": {}, - "_version": 1, - "_in_progress": false - }, - { - "title": "entry 1", - "rich_text_editor": "

value 1

", - "tags": [], - "locale": "en-us", - "uid": "blt94ab8cf0a7956243", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "created_at": "2021-06-18T10:01:47.035Z", - "updated_at": "2021-06-18T10:01:47.035Z", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - ], - "count": 2 - }, - "contenttype1forglobalfield": { - "entries": [ - { - "title": "test1", - "global_field": { - "rich_text_editor": "

global => richtext

" - }, - "group": { - "global_field": { - "rich_text_editor": "

group => global => rte

" - } - }, - "tags": [], - "locale": "en-us", - "uid": "blt982804d4a39b0197", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "created_at": "2021-06-21T09:47:49.318Z", - "updated_at": "2021-06-21T09:47:49.318Z", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - ], - "count": 1 - }, - "contenttype2forglobalfield": { - "entries": [ - { - "title": "test1", - "global_field": { - "rich_text_editor": "

global => rte

" - }, - "tags": [], - "locale": "en-us", - "uid": "blta20a822fdd7bcc87", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "created_at": "2021-06-21T09:50:48.065Z", - "updated_at": "2021-06-21T09:50:48.065Z", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - ], - "count": 1 - }, - "contenttypewithmultiplerte": { - "entries": [ - { - "title": "test1", - "rich_text_editor": [ - "

multiple 1

", - "

mutiple 2

" - ], - "tags": [], - "locale": "en-us", - "uid": "blt55ac0aa11a1dafe9", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "created_at": "2021-06-22T05:28:36.417Z", - "updated_at": "2021-06-22T05:28:36.417Z", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - ], - "count": 1 - }, - "contenttypewithmodularblock": { - "entries": [ - { - "title": "", - "modular_blocks": [ - { - "test1": { - "rich_text_editor": "

M1

", - "_metadata": { - "uid": "csa15520723d8f9738" - } - } - }, - { - "test1": { - "rich_text_editor": "

m2

", - "_metadata": { - "uid": "csc3ccd3f10d8ceff6" - } - } - }, - { - "test1": { - "rich_text_editor": "

m3

", - "_metadata": { - "uid": "csf2355ddf2979a0a1" - } - } - } - ], - "tags": [], - "locale": "en-us", - "uid": "blte02628730f4d0c3c", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "created_at": "2021-06-22T08:37:47.911Z", - "updated_at": "2021-06-22T08:37:47.911Z", - "_version": 1, - "_in_progress": true - } - ], - "count": 1 - }, - "contenttypewithgroup": { - "entries": [ - { - "title": "test1", - "group": { - "rich_text_editor": [ - "

rte1

", - "

rte2

" - ] - }, - "tags": [], - "locale": "en-us", - "uid": "blt279161bdc0c77b2d", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "created_at": "2021-06-22T10:24:00.471Z", - "updated_at": "2021-06-22T10:24:00.471Z", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - ], - "count": 1 - }, - "contenttypewithmultiplegroup": { - "entries": [ - { - "title": "test1", - "group": [ - { - "rich_text_editor": "

instance 1

", - "_metadata": { - "uid": "cs46fbdc80bbb32699" - } - }, - { - "rich_text_editor": "

instance 2

", - "_metadata": { - "uid": "cs9fa775294fcb9aba" - } - } - ], - "tags": [], - "locale": "en-us", - "uid": "bltd939c78b885da314", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "created_at": "2021-06-22T10:38:00.168Z", - "updated_at": "2021-06-22T10:38:00.168Z", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - ], - "count": 1 - }, - "contenttypewithentryupdateerror": { - "entries": [ - { - "title": "sdsdsds", - "rich_text_editor": "

will give error

", - "tags": [], - "locale": "en-us", - "uid": "blta9b16ac2827c54ed", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "created_at": "2021-06-24T10:03:39.192Z", - "updated_at": "2021-06-24T10:03:44.173Z", - "_version": 2, - "_in_progress": false - }, - { - "title": "sdsdsdsds", - "rich_text_editor": "

will give error

", - "tags": [], - "locale": "en-us", - "uid": "blta9b16ac2827c54e1", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "created_at": "2021-06-24T10:03:39.192Z", - "updated_at": "2021-06-24T10:03:44.173Z", - "_version": 2, - "_in_progress": false - } - ], - "count": 2 - }, - "contenttypewithfilefield": { - "entries": [ - { - "title": "This is test", - "file": null, - "asset": { - "uid": "bltab83acc0e405b6f8", - "created_at": "2021-07-26T10:47:48.337Z", - "updated_at": "2021-08-05T06:30:56.359Z", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "content_type": "image/png", - "file_size": "344996", - "tags": [], - "filename": "image.png", - "url": "***REMOVED***bltab83acc0e405b6f8/60fe92d4fe65cc54a3e7e5c3/image.png", - "ACL": [], - "is_dir": false, - "parent_uid": null, - "_version": 5, - "title": "image.png", - "description": "5", - "dimension": { - "height": 1080, - "width": 1920 - }, - "publish_details": [] - }, - "modular_blocks": [ - { - "test1": { - "file": [ - { - "uid": "bltb13b08635ebffdc4", - "created_at": "2021-03-10T12:51:20.447Z", - "updated_at": "2021-03-10T12:51:20.447Z", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "content_type": "image/jpeg", - "file_size": "7701", - "tags": [], - "filename": "48558898.jpeg", - "url": "***REMOVED***bltb13b08635ebffdc4/6048c0c887ab224351aab15f/48558898.jpeg", - "ACL": [], - "is_dir": false, - "parent_uid": null, - "_version": 1, - "title": "48558898.jpeg", - "dimension": { - "height": 275, - "width": 183 - }, - "publish_details": [] - }, - { - "uid": "bltb85f710a4a984858", - "created_at": "2021-03-10T13:37:22.523Z", - "updated_at": "2021-07-22T12:20:20.026Z", - "created_by": "blt3943ff6628403515", - "updated_by": "blt6436c4ee410b7913", - "content_type": "image/jpeg", - "file_size": "5403", - "tags": [], - "filename": "download.jpeg", - "url": "***REMOVED***bltb85f710a4a984858/6049fa897477c27b7b34443d/download.jpeg", - "ACL": [], - "is_dir": false, - "parent_uid": null, - "_version": 37, - "title": "This is test1", - "description": "test1", - "dimension": { - "height": 194, - "width": 259 - }, - "publish_details": [] - }, - { - "uid": "blt3d60320b8e0b9b0a", - "created_at": "2021-03-04T10:36:08.977Z", - "updated_at": "2021-03-04T10:36:08.977Z", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "content_type": "image/jpeg", - "file_size": "5906", - "tags": [], - "filename": "download_(2).jpeg", - "url": "***REMOVED***blt3d60320b8e0b9b0a/6040b819116a7015b467265e/download_(2).jpeg", - "ACL": [], - "is_dir": false, - "parent_uid": null, - "_version": 1, - "title": "download_(2).jpeg", - "dimension": { - "height": 183, - "width": 275 - }, - "publish_details": [] - } - ], - "_metadata": { - "uid": "csd629a3435c480311" - } - } - }, - { - "test1": { - "file": [ - { - "uid": "bltab83acc0e405b6f8", - "created_at": "2021-07-26T10:47:48.337Z", - "updated_at": "2021-08-05T06:30:56.359Z", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "content_type": "image/png", - "file_size": "344996", - "tags": [], - "filename": "image.png", - "url": "***REMOVED***bltab83acc0e405b6f8/60fe92d4fe65cc54a3e7e5c3/image.png", - "ACL": [], - "is_dir": false, - "parent_uid": null, - "_version": 5, - "title": "image.png", - "description": "5", - "dimension": { - "height": 1080, - "width": 1920 - }, - "publish_details": [] - } - ], - "_metadata": { - "uid": "cs2fc2c61d898700d9" - } - } - } - ], - "group": { - "file": { - "uid": "bltab83acc0e405b6f8", - "created_at": "2021-07-26T10:47:48.337Z", - "updated_at": "2021-08-05T06:30:56.359Z", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "content_type": "image/png", - "file_size": "344996", - "tags": [], - "filename": "image.png", - "url": "***REMOVED***bltab83acc0e405b6f8/60fe92d4fe65cc54a3e7e5c3/image.png", - "ACL": [], - "is_dir": false, - "parent_uid": null, - "_version": 5, - "title": "image.png", - "description": "5", - "dimension": { - "height": 1080, - "width": 1920 - }, - "publish_details": [] - } - }, - "rich_text_editor": "

This is test

", - "tags": [], - "locale": "en-us", - "uid": "bltcbf22e3759df80ef", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "created_at": "2021-08-11T08:57:28.614Z", - "updated_at": "2021-08-11T08:57:28.614Z", - "_version": 1, - "_in_progress": false - } - ], - "count": 1 - }, - "rte_images": { - "entries": [ - { - "title": "Entry 2", - "rich_text_editor": "

", - "tags": [], - "locale": "en-us", - "uid": "blt6168b6493a122849", - "created_by": "blt3943ff6628403515", - "updated_by": "blt3943ff6628403515", - "created_at": "2021-06-18T10:10:35.292Z", - "updated_at": "2021-06-18T10:10:35.292Z", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - ], - "count": 1 - } -} \ No newline at end of file diff --git a/packages/contentstack-migrate-rte/test/dummy/expectedEntriesResponse.json b/packages/contentstack-migrate-rte/test/dummy/expectedEntriesResponse.json deleted file mode 100644 index bfee8fe075..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/expectedEntriesResponse.json +++ /dev/null @@ -1,663 +0,0 @@ -{ - "contenttypewithsinglerte": { - "blt6168b6493a122849": { - "entry": { - "content_type_uid": "contenttypewithsinglerte", - "title": "Entry 2", - "rich_text_editor": "

value 2

", - "supercharged_rte": { - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "children": [ - { - "text": "value 2" - } - ] - } - ], - "type": "doc" - }, - "tags": [], - "locale": "en-us", - "uid": "blt6168b6493a122849", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - }, - "blt6168b6493a122849_en-in": { - "entry": { - "content_type_uid": "contenttypewithsinglerte", - "title": "Entry 2", - "rich_text_editor": "

value 2 en-in

", - "tags": [ - ], - "locale": "en-in", - "ACL": { - }, - "_version": 1, - "_in_progress": false, - "supercharged_rte": { - "type": "doc", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "children": [ - { - "text": "value 2 en-in" - } - ] - } - ] - } - } - }, - "blt94ab8cf0a7956243": { - "entry": { - "content_type_uid": "contenttypewithsinglerte", - "title": "entry 1", - "rich_text_editor": "

value 1

", - "supercharged_rte": { - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "children": [ - { - "text": "value 1" - } - ] - } - ], - "type": "doc" - }, - "tags": [], - "locale": "en-us", - "uid": "blt94ab8cf0a7956243", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - } - }, - "contenttype1forglobalfield": { - "blt982804d4a39b0197": { - "entry": { - "content_type_uid": "contenttype1forglobalfield", - "title": "test1", - "global_field": { - "rich_text_editor": "

global => richtext

", - "supercharged_rte": { - "uid": "***REMOVED***", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "global => richtext" - } - ] - } - ], - "type": "doc" - } - }, - "group": { - "global_field": { - "rich_text_editor": "

group => global => rte

", - "supercharged_rte": { - "uid": "***REMOVED***", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "group => global => rte" - } - ] - } - ], - "type": "doc" - } - } - }, - "tags": [], - "locale": "en-us", - "uid": "blt982804d4a39b0197", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - } - }, - "contenttype2forglobalfield": { - "blta20a822fdd7bcc87": { - "entry": { - "content_type_uid": "contenttype2forglobalfield", - "title": "test1", - "global_field": { - "rich_text_editor": "

global => rte

", - "supercharged_rte": { - "uid": "***REMOVED***", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "global => rte" - } - ] - } - ], - "type": "doc" - } - }, - "tags": [], - "locale": "en-us", - "uid": "blta20a822fdd7bcc87", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - } - }, - "contenttypewithmultiplerte": { - "blt55ac0aa11a1dafe9": { - "entry": { - "content_type_uid": "contenttypewithmultiplerte", - "title": "test1", - "rich_text_editor": [ - "

multiple 1

", - "

mutiple 2

" - ], - "tags": [], - "locale": "en-us", - "uid": "blt55ac0aa11a1dafe9", - "ACL": {}, - "_version": 1, - "_in_progress": false, - "supercharged_rte": [ - { - "uid": "***REMOVED***", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "multiple 1" - } - ] - } - ], - "type": "doc" - }, - { - "uid": "***REMOVED***", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "mutiple 2" - } - ] - } - ], - "type": "doc" - } - ] - } - } - }, - "contenttypewithmodularblock": { - "blte02628730f4d0c3c": { - "entry": { - "content_type_uid": "contenttypewithmodularblock", - "title": "", - "modular_blocks": [ - { - "test1": { - "rich_text_editor": "

M1

", - "_metadata": { - "uid": "csa15520723d8f9738" - }, - "supercharged_rte": { - "uid": "***REMOVED***", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "M1" - } - ] - } - ], - "type": "doc" - } - } - }, - { - "test1": { - "rich_text_editor": "

m2

", - "_metadata": { - "uid": "csc3ccd3f10d8ceff6" - }, - "supercharged_rte": { - "uid": "***REMOVED***", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "m2" - } - ] - } - ], - "type": "doc" - } - } - }, - { - "test1": { - "rich_text_editor": "

m3

", - "_metadata": { - "uid": "csf2355ddf2979a0a1" - }, - "supercharged_rte": { - "uid": "***REMOVED***", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "m3" - } - ] - } - ], - "type": "doc" - } - } - } - ], - "tags": [], - "locale": "en-us", - "uid": "blte02628730f4d0c3c", - "_version": 1, - "_in_progress": true - } - } - }, - "contenttypewithgroup": { - "blt279161bdc0c77b2d": { - "entry": { - "content_type_uid": "contenttypewithgroup", - "title": "test1", - "group": { - "rich_text_editor": [ - "

rte1

", - "

rte2

" - ], - "supercharged_rte": [ - { - "uid": "***REMOVED***", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "rte1" - } - ] - } - ], - "type": "doc" - }, - { - "uid": "***REMOVED***", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "rte2" - } - ] - } - ], - "type": "doc" - } - ] - }, - "tags": [], - "locale": "en-us", - "uid": "blt279161bdc0c77b2d", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - } - }, - "contenttypewithmultiplegroup": { - "bltd939c78b885da314": { - "entry": { - "content_type_uid": "contenttypewithmultiplegroup", - "title": "test1", - "group": [ - { - "rich_text_editor": "

instance 1

", - "_metadata": { - "uid": "cs46fbdc80bbb32699" - }, - "supercharged_rte": { - "uid": "***REMOVED***", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "instance 1" - } - ] - } - ], - "type": "doc" - } - }, - { - "rich_text_editor": "

instance 2

", - "_metadata": { - "uid": "cs9fa775294fcb9aba" - }, - "supercharged_rte": { - "uid": "***REMOVED***", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "instance 2" - } - ] - } - ], - "type": "doc" - } - } - ], - "tags": [], - "locale": "en-us", - "uid": "bltd939c78b885da314", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - } - }, - "contenttypewithfilefield": { - "bltcbf22e3759df80ef": { - "entry": { - "content_type_uid": "contenttypewithfilefield", - "title": "This is test", - "file": null, - "asset": "bltab83acc0e405b6f8", - "modular_blocks": [ - { - "test1": { - "file": [ - "bltb13b08635ebffdc4", - "bltb85f710a4a984858", - "blt3d60320b8e0b9b0a" - ], - "_metadata": {} - } - }, - { - "test1": { - "file": [ - "bltab83acc0e405b6f8" - ], - "_metadata": {} - } - } - ], - "group": { - "file": "bltab83acc0e405b6f8" - }, - "rich_text_editor": "

This is test

", - "tags": [], - "locale": "en-us", - "_version": 1, - "_in_progress": false, - "json_rte": { - "type": "doc", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "children": [ - { - "text": "This is test" - } - ] - } - ] - } - } - } - }, - "rte_images": { - "blt6168b6493a122849": { - "entry": { - "content_type_uid": "rte_images", - "title": "Entry 2", - "rich_text_editor": "

", - "supercharged_rte": { - "type": "doc", - "uid": "***REMOVED***", - "attrs": { - "dirty": true - }, - "children": [ - { - "type": "p", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "" - } - ] - }, - { - "type": "reference", - "attrs": { - "asset-name": "landscape-3.jpg", - "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***8e12437ac2679e/bltfea8157ddfb8e776/6329f1106a7f7364973c028c/landscape-3.jpg", - "asset-type": "image/jpg", - "display-type": "display", - "type": "asset", - "asset-uid": "bltfea8157ddfb8e776", - "style": { - "width": "194px", - "height": "auto" - }, - "redactor-attributes": { - "asset_uid": "bltfea8157ddfb8e776", - "height": "auto", - "src": "***REMOVED***8e12437ac2679e/bltfea8157ddfb8e776/6329f1106a7f7364973c028c/landscape-3.jpg", - "width": "194", - "max-width": "194", - "style": "width: 194px; height: auto;" - }, - "width": 194, - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "" - } - ] - }, - { - "type": "fragment", - "attrs": { - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": " " - } - ] - }, - { - "type": "img", - "attrs": { - "url": "***REMOVED***8e12437ac2679e/bltfea8157ddfb8e776/6329f1106a7f7364973c028c/landscape-3.jpg", - "style": { - "width": "194px", - "height": "auto" - }, - "redactor-attributes": { - "height": "auto", - "src": "***REMOVED***8e12437ac2679e/bltfea8157ddfb8e776/6329f1106a7f7364973c028c/landscape-3.jpg", - "width": "194", - "max-width": "194", - "style": "width: 194px; height: auto;" - }, - "width": 194, - "dirty": true - }, - "uid": "***REMOVED***", - "children": [ - { - "text": "" - } - ] - } - ] - }, - "tags": [], - "locale": "en-us", - "uid": "blt6168b6493a122849", - "ACL": {}, - "_version": 1, - "_in_progress": false - } - } - } -} \ No newline at end of file diff --git a/packages/contentstack-migrate-rte/test/dummy/globalFieldResponse.json b/packages/contentstack-migrate-rte/test/dummy/globalFieldResponse.json deleted file mode 100644 index c482d60d4e..0000000000 --- a/packages/contentstack-migrate-rte/test/dummy/globalFieldResponse.json +++ /dev/null @@ -1,257 +0,0 @@ -{ - "globalfieldformigration": { - "global_field": { - "created_at": "2021-06-21T09:31:40.548Z", - "updated_at": "2021-06-21T09:31:40.548Z", - "title": "globalFieldForMigration", - "uid": "globalfieldformigration", - "_version": 1, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "referred_content_types": [ - { - "uid": "contenttype1forglobalfield", - "title": "contentType1ForglobalField" - }, - { - "uid": "contenttype2forglobalfield", - "title": "contenttype2forglobalfield" - } - ] - } - }, - "globalfieldwithemptyschema": { - "global_field": { - "created_at": "2021-06-21T09:31:40.548Z", - "updated_at": "2021-06-21T09:31:40.548Z", - "title": "globalfieldwithemptyschema", - "uid": "globalfieldwithemptyschema", - "_version": 1, - "inbuilt_class": false, - "schema": [], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "referred_content_types": [ - { - "uid": "contenttypewithemptyschema", - "title": "contenttypewithemptyschema" - } - ] - } - }, - "globalfieldwithemptyschemacontenttype": { - "global_field": { - "created_at": "2021-06-21T09:31:40.548Z", - "updated_at": "2021-06-21T09:31:40.548Z", - "title": "globalfieldwithemptyschemacontenttype", - "uid": "globalfieldwithemptyschemacontenttype", - "_version": 1, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "referred_content_types": [ - { - "uid": "contenttypewithemptyschema", - "title": "contenttypewithemptyschema" - } - ] - } - }, - "globalfieldwithemptycontenttype": { - "global_field": { - "created_at": "2021-06-21T09:31:40.548Z", - "updated_at": "2021-06-21T09:31:40.548Z", - "title": "globalFieldForMigration", - "uid": "globalfieldformigration", - "_version": 1, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "referred_content_types": [] - } - }, - "globalfieldwithinvalidcontenttype": { - "global_field": { - "created_at": "2021-06-21T09:31:40.548Z", - "updated_at": "2021-06-21T09:31:40.548Z", - "title": "globalFieldForMigration", - "uid": "globalfieldformigration", - "_version": 1, - "inbuilt_class": false, - "schema": [ - { - "data_type": "text", - "display_name": "Rich Text Editor", - "uid": "rich_text_editor", - "field_metadata": { - "allow_rich_text": true, - "description": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [], - "version": 3 - }, - "non_localizable": false, - "multiple": false, - "mandatory": false, - "unique": false - }, - { - "data_type": "json", - "display_name": "Supercharged RTE", - "uid": "supercharged_rte", - "field_metadata": { - "allow_json_rte": true, - "description": "", - "default_value": "", - "multiline": false, - "rich_text_type": "advanced", - "options": [] - }, - "format": "", - "error_messages": { - "format": "" - }, - "mandatory": false, - "non_localizable": false, - "multiple": false, - "unique": false - } - ], - "last_activity": {}, - "maintain_revisions": true, - "description": "", - "referred_content_types": [ - { - "uid": "contenttypewithemptyschema", - "title": "contenttypewithemptyschema" - } - ] - } - } -} \ No newline at end of file diff --git a/packages/contentstack-migrate-rte/test/mocha.opts b/packages/contentstack-migrate-rte/test/mocha.opts deleted file mode 100644 index c6d1cb290c..0000000000 --- a/packages/contentstack-migrate-rte/test/mocha.opts +++ /dev/null @@ -1,3 +0,0 @@ ---recursive ---reporter spec ---timeout 5000 diff --git a/packages/contentstack-migrate-rte/test/utils/index.js b/packages/contentstack-migrate-rte/test/utils/index.js deleted file mode 100644 index 2d10fe667f..0000000000 --- a/packages/contentstack-migrate-rte/test/utils/index.js +++ /dev/null @@ -1,140 +0,0 @@ -const { find } = require('lodash') -const contentTypeResponse = require('../dummy/contentTypeResponse.json') -const entriesResponse = require('../dummy/entriesResponse.json') -const expectedResponse = require('../dummy/expectedEntriesResponse.json') -const globalFieldResponse = require('../dummy/globalFieldResponse.json') -const dummyToken = { - test1: { - token: 'testManagementToken', - apiKey: 'testApiKey', - type: 'management', - }, -} -function getToken(alias) { - if (dummyToken[alias]) { - return dummyToken[alias] - } - throw new Error('Token with alias ' + "'" + alias + "'" + ' was not found') -} -function getGlobalField(uid) { - if (globalFieldResponse[uid]) { - return [200, globalFieldResponse[uid]] - } - return [422, { - error_message: `The Global Field '${uid}' was not found. Please try again.`, - error_code: 118, - errors: { - uid: [ - 'is not valid.', - ], - }, - }] -} -function getContentType(uid) { - if (contentTypeResponse[uid]) { - return [200, contentTypeResponse[uid]] - } - - return [422, { - error_message: `The Content Type '${uid}' was not found. Please try again.`, - error_code: 118, - errors: { - uid: [ - 'is not valid.', - ], - }, - }] -} -function getEntriesOnlyUID(contentstackTypeUid,locale = 'en-us') { - if (entriesResponse[contentstackTypeUid]) { - const entries = entriesResponse[contentstackTypeUid] - const allEntries = entries.entries.filter(entry => entry.locale === locale).map(entry => ({uid:entry.uid})) - return { - entries: allEntries, - count: allEntries.length - } - } - return { - error_message: `The Content Type '${contentstackTypeUid}' was not found. Please try again.`, - error_code: 118, - errors: { - uid: [ - 'is not valid.', - ], - }, - } -} -function getEntries(contentstackTypeUid,locale = "en-us") { - if (entriesResponse[contentstackTypeUid]) { - const entries = entriesResponse[contentstackTypeUid] - return { - entries: entries.entries.filter(entry => entry.locale === locale), - count: entries.entries.filter(entry => entry.locale === locale).length - } - } - return { - error_message: `The Content Type '${contentstackTypeUid}' was not found. Please try again.`, - error_code: 118, - errors: { - uid: [ - 'is not valid.', - ], - }, - } -} -function getEntry(contentstackTypeUid, entryUid, locale = "en-us") { - if (entriesResponse[contentstackTypeUid]) { - const entries = entriesResponse[contentstackTypeUid] - const entry = find(entries.entries, { uid: entryUid, locale }) - const masterEntry = find(entries.entries, { uid: entryUid, locale: 'en-us' }) - if (entry) { - return { - entry - } - } else { - if (masterEntry) { - return { - entry: masterEntry - } - } else { - return { - "error_message": "The requested object doesn't exist.", - "error_code": 141, - "errors": { - "uid": [ - "is not valid." - ] - } - } - } - } - } - return { - "error_message": "The requested object doesn't exist.", - "error_code": 141, - "errors": { - "uid": [ - "is not valid." - ] - } - } -} -function getExpectedOutput(contentTypeUid, entryUid,locale = "en-us") { - let entrySuffix = '' - if (locale !== 'en-us') { - entrySuffix = '_' + locale - } - if (expectedResponse[contentTypeUid] && expectedResponse[contentTypeUid][`${entryUid}${entrySuffix}`]) { - return expectedResponse[contentTypeUid][`${entryUid}${entrySuffix}`] - } - return {} -} -module.exports = { - getToken, - getContentType, - getEntries, - getExpectedOutput, - getGlobalField, - getEntriesOnlyUID, - getEntry -} diff --git a/packages/contentstack/README.md b/packages/contentstack/README.md index 61d3f6846f..8214a98e8c 100644 --- a/packages/contentstack/README.md +++ b/packages/contentstack/README.md @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli $ csdx COMMAND running command... $ csdx (--version|-v) -@contentstack/cli/2.0.0-beta.1 darwin-arm64 node-v22.14.0 +@contentstack/cli/2.0.0-beta.2 darwin-arm64 node-v22.14.0 $ csdx --help [COMMAND] USAGE $ csdx COMMAND @@ -57,7 +57,6 @@ USAGE * [`csdx cm:bulk-publish:revert`](#csdx-cmbulk-publishrevert) * [`csdx csdx cm:stacks:unpublish [-a ] [-e ] [-c ] [-y] [--locale ] [--branch ] [--retry-failed ] [--bulk-unpublish ] [--content-type ] [--delivery-token ] [--only-assets] [--only-entries]`](#csdx-csdx-cmstacksunpublish--a-value--e-value--c-value--y---locale-value---branch-value---retry-failed-value---bulk-unpublish-value---content-type-value---delivery-token-value---only-assets---only-entries) * [`csdx cm:entries:publish-only-unpublished [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-only-unpublished--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value) -* [`csdx cm:entries:migrate-html-rte`](#csdx-cmentriesmigrate-html-rte) * [`csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants]`](#csdx-cmentriespublish--a-value---retry-failed-value---bulk-publish-value---publish-all-content-types---content-types-value---locales-value--e-value--c-value--y---branch-value---delivery-token-value---source-env-value---entry-uid-value---include-variants) * [`csdx cm:entries:publish-modified [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-modified--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value---locales-value--e-value--c-value--y---branch-value) * [`csdx cm:entries:publish-non-localized-fields [-a ] [--retry-failed ] [--bulk-publish ] [--source-env ] [--content-types ] [-e ] [-c ] [-y] [--branch ]`](#csdx-cmentriespublish-non-localized-fields--a-value---retry-failed-value---bulk-publish-value---source-env-value---content-types-value--e-value--c-value--y---branch-value) @@ -68,7 +67,6 @@ USAGE * [`csdx cm:export-to-csv`](#csdx-cmexport-to-csv) * [`csdx cm:stacks:import [-c ] [-k ] [-d ] [-a ] [--module ] [--backup-dir ] [--branch ] [--import-webhook-status disable|current]`](#csdx-cmstacksimport--c-value--k-value--d-value--a-value---module-value---backup-dir-value---branch-value---import-webhook-status-disablecurrent) * [`csdx cm:stacks:import-setup [-k ] [-d ] [-a ] [--modules ]`](#csdx-cmstacksimport-setup--k-value--d-value--a-value---modules-valuevalue) -* [`csdx cm:migrate-rte`](#csdx-cmmigrate-rte) * [`csdx cm:stacks:migration [-k ] [-a ] [--file-path ] [--branch ] [--config-file ] [--config ] [--multiple]`](#csdx-cmstacksmigration--k-value--a-value---file-path-value---branch-value---config-file-value---config-value---multiple) * [`csdx cm:stacks:seed [--repo ] [--org ] [-k ] [-n ] [-y ] [-s ] [--locale ]`](#csdx-cmstacksseed---repo-value---org-value--k-value--n-value--y-value--s-value---locale-value) * [`csdx cm:stacks:clone [--source-branch ] [--target-branch ] [--source-management-token-alias ] [--destination-management-token-alias ] [-n ] [--type a|b] [--source-stack-api-key ] [--destination-stack-api-key ] [--import-webhook-status disable|current]`](#csdx-cmstacksclone---source-branch-value---target-branch-value---source-management-token-alias-value---destination-management-token-alias-value--n-value---type-ab---source-stack-api-key-value---destination-stack-api-key-value---import-webhook-status-disablecurrent) @@ -1596,69 +1594,6 @@ EXAMPLES $ csdx cm:entries:publish-only-unpublished -b --content-types [CONTENT TYPES] -e [ENVIRONMENTS] --locales LOCALE -a [MANAGEMENT TOKEN ALIAS] --stack-api-key [STACK API KEY] -source-env [SOURCE ENV] ``` -## `csdx cm:entries:migrate-html-rte` - -Migration script to migrate content from HTML RTE to JSON RTE - -``` -USAGE - $ csdx cm:entries:migrate-html-rte [-c ] [-a ] [--stack-api-key ] [--content-type ] - [--global-field] [-y] [--branch ] [--html-path --json-path ] [--delay ] [--locale - ] [--batch-limit ] - -FLAGS - -a, --alias= Enter the alias name. You must use either the --alias flag or the --stack-api-key flag. - -c, --config-path= Specify the path where your config file is located. - -y, --yes Avoids reconfirmation of your configuration. - --batch-limit= [default: 50] Provide batch limit for updating entries (default: 50). - --branch= The name of the branch to be used. - --content-type= Specify the UID of the content type for which you want to migrate HTML RTE content. - --delay= [default: 1000] To set the interval time between the migration of HTML RTE to JSON RTE in - subsequent entries of a content type. The default value is 1,000 milliseconds. - --global-field Checks whether the specified UID belongs to a content type or a global field. This flag - is set to false by default. - --html-path= Enter the path to the HTML RTE whose content you want to migrate. - --json-path= Enter the path to the JSON RTE to which you want to migrate the HTML RTE content. - --locale= The locale from which entries will be migrated. - --stack-api-key= API key of the source stack. You must use either the --stack-api-key flag or the --alias - flag. - -DESCRIPTION - Migration script to migrate content from HTML RTE to JSON RTE - -ALIASES - $ csdx cm:migrate-rte - -EXAMPLES - General Usage - - $ csdx cm:entries:migrate-html-rte --config-path path/to/config.json - - - - Using Flags - - $ csdx cm:entries:migrate-html-rte --alias alias --content-type content_type_uid --html-path html-path --json-path json-path - - - - Nested RTE - - $ csdx cm:entries:migrate-html-rte --alias alias --content-type content_type_uid --html-path modular_block_uid.block_uid.html_rte_uid --json-path modular_block_uid.block_uid.json_rte_uid - - - - $ csdx cm:entries:migrate-html-rte --alias alias --content-type content_type_uid --html-path group_uid.html_rte_uid --json-path group_uid.json_rte_uid - - - - Global Field - - $ csdx cm:entries:migrate-html-rte --alias alias --content-type global_field_uid --global-field --html-path html-path --json-path json-path -``` - -_See code: [@contentstack/cli-cm-migrate-rte](https://github.com/contentstack/cli/blob/main/packages/contentstack-migrate-rte/src/commands/cm/entries/migrate-html-rte.js)_ - ## `csdx cm:entries:publish [-a ] [--retry-failed ] [--bulk-publish ] [--publish-all-content-types] [--content-types ] [--locales ] [-e ] [-c ] [-y] [--branch ] [--delivery-token ] [--source-env ] [--entry-uid ] [--include-variants]` Publish entries from multiple contenttypes to multiple environments and locales @@ -2392,8 +2327,6 @@ FLAGS extensions, marketplace-apps, global-fields, labels, locales, webhooks, workflows, custom-roles, personalize projects, and taxonomies. -y, --yes [optional] Force override all Marketplace prompts. - --branch-alias= Specify the branch alias where you want to import your content. If not - specified, the content is imported into the main branch by default. --branch-alias= Specify the branch alias where you want to import your content. If not specified, the content is imported into the main branch by default. --exclude-global-modules Excludes the branch-independent module from the import operation. @@ -2449,8 +2382,6 @@ FLAGS branches involved, then the path should point till the particular branch. For example, “-d "C:\Users\Name\Desktop\cli\content\branch_name" -k, --stack-api-key= API key of the target stack - --branch-alias= Specify the branch alias where you want to import your content. If not specified, the - content is imported into the main branch by default. --branch-alias= Specify the branch alias where you want to import your content. If not specified, the content is imported into the main branch by default. --module=