diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 25c117799..f53ed56f2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,50 +23,49 @@ jobs: node-version: [16] steps: - - - uses: actions/checkout@v3.0.2 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3.5.1 - with: - node-version: ${{ matrix.node-version }} - - - name: Load cached dependencies - uses: actions/cache@v3.0.11 - id: cache - with: - path: | - **/node_modules - /home/runner/.cache/Cypress - key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} - - - name: Install dependencies - id: install-dependencies - if: steps.cache.outputs.cache-hit != 'true' - run: npm install - -# - name: Fix code style linting errors -# id: lint-fix -# run: npm run lint:fix -# continue-on-error: true -# -# - name: Commit fixed linting errors -# id: commit -# uses: stefanzweifel/git-auto-commit-action@v4 -# with: -# commit_message: "ci: fix code style linting errors" - - - name: Lint code - id: lint - run: npm run lint - - - name: Send Slack notifications - uses: act10ns/slack@v1 - if: failure() - with: - status: ${{ job.status }} - steps: ${{ toJson(steps) }} - channel: '#tiptap-notifications' + - uses: actions/checkout@v3.3.0 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3.6.0 + with: + node-version: ${{ matrix.node-version }} + + - name: Load cached dependencies + uses: actions/cache@v3.2.5 + id: cache + with: + path: | + **/node_modules + /home/runner/.cache/Cypress + key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} + + - name: Install dependencies + id: install-dependencies + if: steps.cache.outputs.cache-hit != 'true' + run: npm install + + # - name: Fix code style linting errors + # id: lint-fix + # run: npm run lint:fix + # continue-on-error: true + # + # - name: Commit fixed linting errors + # id: commit + # uses: stefanzweifel/git-auto-commit-action@v4 + # with: + # commit_message: "ci: fix code style linting errors" + + - name: Lint code + id: lint + run: npm run lint + + - name: Send Slack notifications + uses: act10ns/slack@v2 + if: failure() + with: + status: ${{ job.status }} + steps: ${{ toJson(steps) }} + channel: '#tiptap-notifications' test: runs-on: ubuntu-latest @@ -79,48 +78,55 @@ jobs: node-version: [16] steps: - - - uses: actions/checkout@v3.0.2 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3.5.1 - with: - node-version: ${{ matrix.node-version }} - - - name: Run tests with Cypress - id: cypress - uses: cypress-io/github-action@v4.2.0 - with: - cache-key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} - start: npm run start - wait-on: 'http://localhost:3000' - project: ./tests - browser: chrome - quiet: true - - - name: Export screenshots (on failure only) - uses: actions/upload-artifact@v3.1.0 - if: failure() - with: - name: cypress-screenshots - path: tests/cypress/screenshots - retention-days: 7 - - - name: Export screen recordings (on failure only) - uses: actions/upload-artifact@v3.1.0 - if: failure() - with: - name: cypress-videos - path: tests/cypress/videos - retention-days: 7 - - - name: Send Slack notifications - uses: act10ns/slack@v1 - if: failure() - with: - status: ${{ job.status }} - steps: ${{ toJson(steps) }} - channel: '#tiptap-notifications' + - uses: actions/checkout@v3.3.0 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3.6.0 + with: + node-version: ${{ matrix.node-version }} + + - name: Install dependencies + id: install-dependencies + run: npm install + + - name: Try to build the packages + id: build-packages + run: npm run build:pm + + - name: Run tests with Cypress + id: cypress + uses: cypress-io/github-action@v5.0.8 + with: + cache-key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} + start: npm run start + wait-on: 'http://localhost:3000' + project: ./tests + browser: chrome + quiet: true + + - name: Export screenshots (on failure only) + uses: actions/upload-artifact@v3.1.2 + if: failure() + with: + name: cypress-screenshots + path: tests/cypress/screenshots + retention-days: 7 + + - name: Export screen recordings (on failure only) + uses: actions/upload-artifact@v3.1.2 + if: failure() + with: + name: cypress-videos + path: tests/cypress/videos + retention-days: 7 + + - name: Send Slack notifications + uses: act10ns/slack@v2 + if: failure() + with: + status: ${{ job.status }} + steps: ${{ toJson(steps) }} + channel: '#tiptap-notifications' build: runs-on: ubuntu-latest @@ -135,36 +141,35 @@ jobs: node-version: [16] steps: - - - uses: actions/checkout@v3.0.2 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3.5.1 - with: - node-version: ${{ matrix.node-version }} - - - name: Load cached dependencies - uses: actions/cache@v3.0.11 - id: cache - with: - path: | - **/node_modules - /home/runner/.cache/Cypress - key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} - - - name: Install dependencies - id: install-dependencies - if: steps.cache.outputs.cache-hit != 'true' - run: npm install - - - name: Try to build the packages - id: build-packages - run: npm run build:ci - - - name: Send Slack notifications - uses: act10ns/slack@v1 - if: failure() - with: - status: ${{ job.status }} - steps: ${{ toJson(steps) }} - channel: '#tiptap-notifications' + - uses: actions/checkout@v3.3.0 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3.6.0 + with: + node-version: ${{ matrix.node-version }} + + - name: Load cached dependencies + uses: actions/cache@v3.2.5 + id: cache + with: + path: | + **/node_modules + /home/runner/.cache/Cypress + key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} + + - name: Install dependencies + id: install-dependencies + if: steps.cache.outputs.cache-hit != 'true' + run: npm install + + - name: Try to build the packages + id: build-packages + run: npm run build:ci + + - name: Send Slack notifications + uses: act10ns/slack@v2 + if: failure() + with: + status: ${{ job.status }} + steps: ${{ toJson(steps) }} + channel: '#tiptap-notifications' diff --git a/.github/workflows/docsearch.yml b/.github/workflows/docsearch.yml new file mode 100644 index 000000000..e157aa45d --- /dev/null +++ b/.github/workflows/docsearch.yml @@ -0,0 +1,27 @@ +# Automate, customize, and execute your software development workflows right in your repository with GitHub Actions. +# Documentation: https://docs.github.com/en/actions + +name: docsearch + +on: + workflow_dispatch: + schedule: + - cron: '5 0 * * *' + +jobs: + + docsearch: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.3.0 + + - name: Run DocSearch Scraper + shell: bash + run: | + docker run \ + -e TYPESENSE_API_KEY=${{ secrets.TYPESENSE_API_KEY }} \ + -e TYPESENSE_HOST="${{ secrets.TYPESENSE_HOST }}" \ + -e TYPESENSE_PORT="${{ secrets.TYPESENSE_PORT }}" \ + -e TYPESENSE_PROTOCOL="${{ secrets.TYPESENSE_PROTOCOL }}" \ + -e CONFIG="$(cat docsearch.config.json | jq -r tostring)" \ + typesense/docsearch-scraper diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c0d8c4eb6..e95b95ca6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,8 +3,9 @@ name: Publish to NPM -# on github release published +# on github release published or workflow_dispatch on: + workflow_dispatch: release: types: [published] @@ -12,8 +13,8 @@ jobs: publish-npm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3.5.1 + - uses: actions/checkout@v3.3.0 + - uses: actions/setup-node@v3.6.0 with: node-version: 16 registry-url: https://registry.npmjs.org/ diff --git a/.gitignore b/.gitignore index cb7ed7249..2709eae41 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ dist .env .env.* .npmrc +.eslintcache # Log files npm-debug.log* @@ -26,3 +27,7 @@ tests/cypress/videos /tests/cypress/screenshots # Ignore intellij project files .idea + +# packaged files +packages/**/*.tgz +demos/*.tgz diff --git a/.vscode/settings.json b/.vscode/settings.json index ed5c04be6..6416cfd28 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -56,5 +56,6 @@ "suggestion", "vue-2", "vue-3" - ] + ], + "editor.defaultFormatter": "dbaeumer.vscode-eslint" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fb3793f0..7c091dd2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,113 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + + +### Bug Fixes + +* **extension-link:** Click handler opens selected link instead of clicked link ([#3732](https://github.com/ueberdosis/tiptap/issues/3732)) ([6997bca](https://github.com/ueberdosis/tiptap/commit/6997bcad6b60f78122c605656500c63c96ea2faa)) +* Prevent drag event from being ignored ([#3677](https://github.com/ueberdosis/tiptap/issues/3677)) ([2b6e4e3](https://github.com/ueberdosis/tiptap/commit/2b6e4e369130466387ab1136e10ad64f6e37df5b)) +* **typography:** dont create fractions in the middle of a string ([#3762](https://github.com/ueberdosis/tiptap/issues/3762)) ([7ad54ea](https://github.com/ueberdosis/tiptap/commit/7ad54ea86a265c07bc94606cfd4724a00befaf3f)) + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + + +### Bug Fixes + +* **bubble-menu:** exclude lodash/debounce from externals ([516f28f](https://github.com/ueberdosis/tiptap/commit/516f28f788651b88a03136220334b6dd0f8b235f)) + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + + +### Bug Fixes + +* **bubble-menu:** fix lodash import ([06a3d63](https://github.com/ueberdosis/tiptap/commit/06a3d6300d9debcd4cfc70f5717cfaf9ae988a3c)) + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + + +### Bug Fixes + +* **bubble-menu:** move from lodash-es back to lodash, use named import ([e958128](https://github.com/ueberdosis/tiptap/commit/e9581283af8f491926a338fb572c69700861dd84)) + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + + +### Bug Fixes + +* **bubble-menu:** change lodash to lodash-es for esbuild ([2d7661c](https://github.com/ueberdosis/tiptap/commit/2d7661c910a76f1d362728a48a3c3a09236a2b00)) + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + + +### Bug Fixes + +* **collaboration:** fix missing y-prosemirror dependency ([ef108df](https://github.com/ueberdosis/tiptap/commit/ef108df92cfdc93bf2ad9c5b413871d40b7c5a44)) +* **core:** fix broken types in definition file ([f659037](https://github.com/ueberdosis/tiptap/commit/f659037d52b91a6534513faaa5046409dc84c808)) + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + + +### Bug Fixes + +* **bubble-menu:** fix bubble menu imports ([1e6f238](https://github.com/ueberdosis/tiptap/commit/1e6f2382eb6669269eea892c8eed4727102f2653)) + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Bug Fixes + +* **typo:** typescript.md ([#3657](https://github.com/ueberdosis/tiptap/issues/3657)) ([3a04d9e](https://github.com/ueberdosis/tiptap/commit/3a04d9e4b5d7f8f3201ec1aae34ed50187739c09)) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package tiptap diff --git a/demos/CHANGELOG.md b/demos/CHANGELOG.md index 8eaece190..10ec765dc 100644 --- a/demos/CHANGELOG.md +++ b/demos/CHANGELOG.md @@ -3,6 +3,81 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package tiptap-demos + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package tiptap-demos + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package tiptap-demos + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + +**Note:** Version bump only for package tiptap-demos + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package tiptap-demos + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package tiptap-demos + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package tiptap-demos + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package tiptap-demos + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package tiptap-demos diff --git a/demos/includeDependencies.txt b/demos/includeDependencies.txt index 117f4fc59..374fd4c82 100644 --- a/demos/includeDependencies.txt +++ b/demos/includeDependencies.txt @@ -10,7 +10,7 @@ prosemirror-keymap prosemirror-model prosemirror-schema-list prosemirror-state -@tiptap/prosemirror-tables +prosemirror-tables prosemirror-transform prosemirror-view react diff --git a/demos/package-lock.json b/demos/package-lock.json index daf0b603c..a4728f721 100644 --- a/demos/package-lock.json +++ b/demos/package-lock.json @@ -1,12 +1,12 @@ { "name": "tiptap-demos", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "tiptap-demos", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "dependencies": { "@hocuspocus/provider": "^1.0.0-alpha.29", "d3": "^7.3.0", @@ -33,7 +33,7 @@ "sass": "^1.49.7", "svelte": "^3.49.0", "tailwindcss": "^2.2.19", - "typescript": "^4.5.5", + "typescript": "4.7.4", "uuid": "^8.3.2", "vite": "^2.9.13", "vite-plugin-checker": "^0.3.4", @@ -2509,9 +2509,9 @@ "dev": true }, "node_modules/json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, "bin": { "json5": "lib/cli.js" @@ -5822,9 +5822,9 @@ "dev": true }, "json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true }, "jsonc-parser": { diff --git a/demos/package.json b/demos/package.json index 8ff2a76eb..e5f3d251e 100644 --- a/demos/package.json +++ b/demos/package.json @@ -1,10 +1,10 @@ { "name": "tiptap-demos", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "private": true, "scripts": { "start": "vite --host", - "build": "npm run ts && vite build", + "build:demos": "npm run ts && vite build", "preview": "vite preview", "ts": "tsc --project tsconfig.base.json --noEmit && tsc --project tsconfig.react.json --noEmit && tsc --project tsconfig.vue-2.json --noEmit && tsc --project tsconfig.vue-3.json --noEmit" }, @@ -34,7 +34,7 @@ "sass": "^1.49.7", "svelte": "^3.49.0", "tailwindcss": "^2.2.19", - "typescript": "^4.5.5", + "typescript": "4.7.4", "uuid": "^8.3.2", "vite": "^2.9.13", "vite-plugin-checker": "^0.3.4", diff --git a/demos/src/Examples/Savvy/React/ColorHighlighter.ts b/demos/src/Examples/Savvy/React/ColorHighlighter.ts index 6edc5f025..193af7f52 100644 --- a/demos/src/Examples/Savvy/React/ColorHighlighter.ts +++ b/demos/src/Examples/Savvy/React/ColorHighlighter.ts @@ -1,5 +1,5 @@ import { Extension } from '@tiptap/core' -import { Plugin } from 'prosemirror-state' +import { Plugin } from '@tiptap/pm/state' import findColors from './findColors' diff --git a/demos/src/Examples/Savvy/React/findColors.ts b/demos/src/Examples/Savvy/React/findColors.ts index 7e49d9ab1..66ae2846c 100644 --- a/demos/src/Examples/Savvy/React/findColors.ts +++ b/demos/src/Examples/Savvy/React/findColors.ts @@ -1,5 +1,5 @@ -import { Node } from 'prosemirror-model' -import { Decoration, DecorationSet } from 'prosemirror-view' +import { Node } from '@tiptap/pm/model' +import { Decoration, DecorationSet } from '@tiptap/pm/view' export default function (doc: Node): DecorationSet { const hexColor = /(#[0-9a-f]{3,6})\b/gi diff --git a/demos/src/Examples/Savvy/Vue/ColorHighlighter.ts b/demos/src/Examples/Savvy/Vue/ColorHighlighter.ts index 9ce38cfe9..193af7f52 100644 --- a/demos/src/Examples/Savvy/Vue/ColorHighlighter.ts +++ b/demos/src/Examples/Savvy/Vue/ColorHighlighter.ts @@ -1,5 +1,5 @@ import { Extension } from '@tiptap/core' -import { Plugin } from 'prosemirror-state' +import { Plugin } from '@tiptap/pm/state' import findColors from './findColors' @@ -14,9 +14,7 @@ export const ColorHighlighter = Extension.create({ return findColors(doc) }, apply(transaction, oldState) { - return transaction.docChanged - ? findColors(transaction.doc) - : oldState + return transaction.docChanged ? findColors(transaction.doc) : oldState }, }, props: { diff --git a/demos/src/Examples/Savvy/Vue/findColors.ts b/demos/src/Examples/Savvy/Vue/findColors.ts index 211fa587e..66ae2846c 100644 --- a/demos/src/Examples/Savvy/Vue/findColors.ts +++ b/demos/src/Examples/Savvy/Vue/findColors.ts @@ -1,8 +1,8 @@ -import { Node } from 'prosemirror-model' -import { Decoration, DecorationSet } from 'prosemirror-view' +import { Node } from '@tiptap/pm/model' +import { Decoration, DecorationSet } from '@tiptap/pm/view' export default function (doc: Node): DecorationSet { - const hexColor = /(#[0-9a-f]{3,6})\b/ig + const hexColor = /(#[0-9a-f]{3,6})\b/gi const decorations: Decoration[] = [] doc.descendants((node, position) => { @@ -10,20 +10,18 @@ export default function (doc: Node): DecorationSet { return } - Array - .from(node.text.matchAll(hexColor)) - .forEach(match => { - const color = match[0] - const index = match.index || 0 - const from = position + index - const to = from + color.length - const decoration = Decoration.inline(from, to, { - class: 'color', - style: `--color: ${color}`, - }) - - decorations.push(decoration) + Array.from(node.text.matchAll(hexColor)).forEach(match => { + const color = match[0] + const index = match.index || 0 + const from = position + index + const to = from + color.length + const decoration = Decoration.inline(from, to, { + class: 'color', + style: `--color: ${color}`, }) + + decorations.push(decoration) + }) }) return DecorationSet.create(doc, decorations) diff --git a/demos/src/Experiments/CollaborationAnnotation/Vue/extension/AnnotationPlugin.ts b/demos/src/Experiments/CollaborationAnnotation/Vue/extension/AnnotationPlugin.ts index 70efa5f55..89f0849e3 100644 --- a/demos/src/Experiments/CollaborationAnnotation/Vue/extension/AnnotationPlugin.ts +++ b/demos/src/Experiments/CollaborationAnnotation/Vue/extension/AnnotationPlugin.ts @@ -1,4 +1,4 @@ -import { Plugin, PluginKey } from 'prosemirror-state' +import { Plugin, PluginKey } from '@tiptap/pm/state' import * as Y from 'yjs' import { AnnotationState } from './AnnotationState' @@ -8,10 +8,10 @@ export const AnnotationPluginKey = new PluginKey('annotation') export interface AnnotationPluginOptions { HTMLAttributes: { [key: string]: any - }, - onUpdate: (items: [any?]) => {}, - map: Y.Map, - instance: string, + } + onUpdate: (items: [any?]) => {} + map: Y.Map + instance: string } export const AnnotationPlugin = (options: AnnotationPluginOptions) => new Plugin({ @@ -39,9 +39,7 @@ export const AnnotationPlugin = (options: AnnotationPluginOptions) => new Plugin return decorations } - const annotations = this - .getState(state) - .annotationsAt(selection.from) + const annotations = this.getState(state).annotationsAt(selection.from) options.onUpdate(annotations) diff --git a/demos/src/Experiments/CollaborationAnnotation/Vue/extension/AnnotationState.ts b/demos/src/Experiments/CollaborationAnnotation/Vue/extension/AnnotationState.ts index c363e39fe..cef708290 100644 --- a/demos/src/Experiments/CollaborationAnnotation/Vue/extension/AnnotationState.ts +++ b/demos/src/Experiments/CollaborationAnnotation/Vue/extension/AnnotationState.ts @@ -1,18 +1,26 @@ -import { EditorState, Transaction } from 'prosemirror-state' -import { Decoration, DecorationSet } from 'prosemirror-view' -import { absolutePositionToRelativePosition, relativePositionToAbsolutePosition, ySyncPluginKey } from 'y-prosemirror' +import { EditorState, Transaction } from '@tiptap/pm/state' +import { Decoration, DecorationSet } from '@tiptap/pm/view' +import { + absolutePositionToRelativePosition, + relativePositionToAbsolutePosition, + ySyncPluginKey, +} from 'y-prosemirror' import * as Y from 'yjs' import { AnnotationItem } from './AnnotationItem' import { AnnotationPluginKey } from './AnnotationPlugin' -import { AddAnnotationAction, DeleteAnnotationAction, UpdateAnnotationAction } from './collaboration-annotation' +import { + AddAnnotationAction, + DeleteAnnotationAction, + UpdateAnnotationAction, +} from './collaboration-annotation' export interface AnnotationStateOptions { HTMLAttributes: { [key: string]: any - }, - map: Y.Map, - instance: string, + } + map: Y.Map + instance: string } export class AnnotationState { @@ -93,14 +101,27 @@ export class AnnotationState { } // eslint-disable-next-line - console.log(`[${this.options.instance}] Decoration.inline()`, from, to, HTMLAttributes, { id, data: annotation.data }) + console.log(`[${this.options.instance}] Decoration.inline()`, from, to, HTMLAttributes, { + id, + data: annotation.data, + }) if (from === to) { - console.warn(`[${this.options.instance}] corrupt decoration `, annotation.from, from, annotation.to, to) + console.warn( + `[${this.options.instance}] corrupt decoration `, + annotation.from, + from, + annotation.to, + to, + ) } decorations.push( - Decoration.inline(from, to, HTMLAttributes, { id, data: annotation.data, inclusiveEnd: true }), + Decoration.inline(from, to, HTMLAttributes, { + id, + data: annotation.data, + inclusiveEnd: true, + }), ) }) @@ -109,7 +130,10 @@ export class AnnotationState { apply(transaction: Transaction, state: EditorState) { // Add/Remove annotations - const action = transaction.getMeta(AnnotationPluginKey) as AddAnnotationAction | UpdateAnnotationAction | DeleteAnnotationAction + const action = transaction.getMeta(AnnotationPluginKey) as + | AddAnnotationAction + | UpdateAnnotationAction + | DeleteAnnotationAction if (action && action.type) { // eslint-disable-next-line diff --git a/demos/src/Experiments/GenericFigure/Vue/figure.ts b/demos/src/Experiments/GenericFigure/Vue/figure.ts index 83cce5508..5972b8362 100644 --- a/demos/src/Experiments/GenericFigure/Vue/figure.ts +++ b/demos/src/Experiments/GenericFigure/Vue/figure.ts @@ -1,5 +1,5 @@ import { mergeAttributes, Node } from '@tiptap/core' -import { Plugin } from 'prosemirror-state' +import { Plugin } from '@tiptap/pm/state' export const Figure = Node.create({ name: 'figure', diff --git a/demos/src/Experiments/GlobalDragHandle/Vue/DragHandle.js b/demos/src/Experiments/GlobalDragHandle/Vue/DragHandle.js index feb71e001..2499174a9 100644 --- a/demos/src/Experiments/GlobalDragHandle/Vue/DragHandle.js +++ b/demos/src/Experiments/GlobalDragHandle/Vue/DragHandle.js @@ -1,6 +1,6 @@ import { Extension } from '@tiptap/core' -import { NodeSelection, Plugin } from 'prosemirror-state' -import { __serializeForClipboard as serializeForClipboard } from 'prosemirror-view' +import { NodeSelection, Plugin } from '@tiptap/pm/state' +import { __serializeForClipboard as serializeForClipboard } from '@tiptap/pm/view' function removeNode(node) { node.parentNode.removeChild(node) @@ -25,7 +25,8 @@ export default Extension.create({ node = node.node while (node && node.parentNode) { - if (node.parentNode?.classList?.contains('ProseMirror')) { // todo + if (node.parentNode?.classList?.contains('ProseMirror')) { + // todo break } @@ -131,7 +132,8 @@ export default Extension.create({ if (node) { node = node.node while (node && node.parentNode) { - if (node.parentNode?.classList?.contains('ProseMirror')) { // todo + if (node.parentNode?.classList?.contains('ProseMirror')) { + // todo break } node = node.parentNode @@ -145,7 +147,7 @@ export default Extension.create({ const rect = absoluteRect(node) const win = node.ownerDocument.defaultView - rect.top += win.pageYOffset + ((lineHeight - 24) / 2) + top + rect.top += win.pageYOffset + (lineHeight - 24) / 2 + top rect.left += win.pageXOffset rect.width = `${WIDTH}px` diff --git a/demos/src/Experiments/Linter/Vue/extension/Linter.ts b/demos/src/Experiments/Linter/Vue/extension/Linter.ts index 330c89502..83b0e17e1 100644 --- a/demos/src/Experiments/Linter/Vue/extension/Linter.ts +++ b/demos/src/Experiments/Linter/Vue/extension/Linter.ts @@ -1,7 +1,7 @@ import { Extension } from '@tiptap/core' -import { Node as ProsemirrorNode } from 'prosemirror-model' -import { Plugin, PluginKey, TextSelection } from 'prosemirror-state' -import { Decoration, DecorationSet } from 'prosemirror-view' +import { Node as ProsemirrorNode } from '@tiptap/pm/model' +import { Plugin, PluginKey, TextSelection } from '@tiptap/pm/state' +import { Decoration, DecorationSet } from '@tiptap/pm/view' import LinterPlugin, { Result as Issue } from './LinterPlugin' @@ -22,9 +22,11 @@ function renderIcon(issue: Issue) { function runAllLinterPlugins(doc: ProsemirrorNode, plugins: Array) { const decorations: [any?] = [] - const results = plugins.map(RegisteredLinterPlugin => { - return new RegisteredLinterPlugin(doc).scan().getResults() - }).flat() + const results = plugins + .map(RegisteredLinterPlugin => { + return new RegisteredLinterPlugin(doc).scan().getResults() + }) + .flat() results.forEach(issue => { decorations.push( @@ -39,7 +41,7 @@ function runAllLinterPlugins(doc: ProsemirrorNode, plugins: Array, + plugins: Array } export const Linter = Extension.create({ @@ -62,9 +64,7 @@ export const Linter = Extension.create({ return runAllLinterPlugins(doc, plugins) }, apply(transaction, oldState) { - return transaction.docChanged - ? runAllLinterPlugins(transaction.doc, plugins) - : oldState + return transaction.docChanged ? runAllLinterPlugins(transaction.doc, plugins) : oldState }, }, props: { @@ -72,7 +72,7 @@ export const Linter = Extension.create({ return this.getState(state) }, handleClick(view, _, event) { - const target = (event.target as IconDivElement) + const target = event.target as IconDivElement if (/lint-icon/.test(target.className) && target.issue) { const { from, to } = target.issue @@ -89,7 +89,7 @@ export const Linter = Extension.create({ return false }, handleDoubleClick(view, _, event) { - const target = (event.target as IconDivElement) + const target = event.target as IconDivElement if (/lint-icon/.test((event.target as HTMLElement).className) && target.issue) { const prob = target.issue diff --git a/demos/src/Experiments/Linter/Vue/extension/LinterPlugin.ts b/demos/src/Experiments/Linter/Vue/extension/LinterPlugin.ts index 200b146b8..68e4a1a31 100644 --- a/demos/src/Experiments/Linter/Vue/extension/LinterPlugin.ts +++ b/demos/src/Experiments/Linter/Vue/extension/LinterPlugin.ts @@ -1,9 +1,9 @@ -import { Node as ProsemirrorNode } from 'prosemirror-model' +import { Node as ProsemirrorNode } from '@tiptap/pm/model' export interface Result { - message: string, - from: number, - to: number, + message: string + from: number + to: number fix?: Function } diff --git a/demos/src/Experiments/Linter/Vue/extension/plugins/HeadingLevel.ts b/demos/src/Experiments/Linter/Vue/extension/plugins/HeadingLevel.ts index 728097a34..b6273ab4c 100644 --- a/demos/src/Experiments/Linter/Vue/extension/plugins/HeadingLevel.ts +++ b/demos/src/Experiments/Linter/Vue/extension/plugins/HeadingLevel.ts @@ -1,4 +1,4 @@ -import { EditorView } from 'prosemirror-view' +import { EditorView } from '@tiptap/pm/view' import LinterPlugin, { Result as Issue } from '../LinterPlugin' diff --git a/demos/src/Experiments/Linter/Vue/extension/plugins/Punctuation.ts b/demos/src/Experiments/Linter/Vue/extension/plugins/Punctuation.ts index 4ccb24396..7e9d114da 100644 --- a/demos/src/Experiments/Linter/Vue/extension/plugins/Punctuation.ts +++ b/demos/src/Experiments/Linter/Vue/extension/plugins/Punctuation.ts @@ -1,4 +1,4 @@ -import { EditorView } from 'prosemirror-view' +import { EditorView } from '@tiptap/pm/view' import LinterPlugin, { Result as Issue } from '../LinterPlugin' @@ -7,13 +7,7 @@ export class Punctuation extends LinterPlugin { fix(replacement: any) { return function ({ state, dispatch }: EditorView, issue: Issue) { - dispatch( - state.tr.replaceWith( - issue.from, - issue.to, - state.schema.text(replacement), - ), - ) + dispatch(state.tr.replaceWith(issue.from, issue.to, state.schema.text(replacement))) } } diff --git a/demos/src/Experiments/Tailwind/JS/index.html b/demos/src/Experiments/Tailwind/JS/index.html index cfb3280c7..dd68cc442 100644 --- a/demos/src/Experiments/Tailwind/JS/index.html +++ b/demos/src/Experiments/Tailwind/JS/index.html @@ -1,6 +1,5 @@ - - +
@@ -17,7 +16,7 @@ ], editorProps: { attributes: { - class: 'prose prose-sm sm:prose lg:prose-lg xl:prose-2xl m-5 focus:outline-none', + class: 'prose dark:prose-invert prose-sm sm:prose lg:prose-lg xl:prose-2xl m-5 focus:outline-none', }, }, content: ` diff --git a/demos/src/Experiments/TrailingNode/Vue/trailing-node.ts b/demos/src/Experiments/TrailingNode/Vue/trailing-node.ts index f5b2520d5..ce52dedcc 100644 --- a/demos/src/Experiments/TrailingNode/Vue/trailing-node.ts +++ b/demos/src/Experiments/TrailingNode/Vue/trailing-node.ts @@ -1,5 +1,5 @@ import { Extension } from '@tiptap/core' -import { Plugin, PluginKey } from 'prosemirror-state' +import { Plugin, PluginKey } from '@tiptap/pm/state' // @ts-ignore function nodeEqualsType({ types, node }) { @@ -13,8 +13,8 @@ function nodeEqualsType({ types, node }) { */ export interface TrailingNodeOptions { - node: string, - notAfter: string[], + node: string + notAfter: string[] } export const TrailingNode = Extension.create({ @@ -23,9 +23,7 @@ export const TrailingNode = Extension.create({ addOptions() { return { node: 'paragraph', - notAfter: [ - 'paragraph', - ], + notAfter: ['paragraph'], } }, diff --git a/demos/vite.config.ts b/demos/vite.config.ts index 48086a058..f198a550b 100644 --- a/demos/vite.config.ts +++ b/demos/vite.config.ts @@ -11,8 +11,30 @@ import { } from 'path' import { v4 as uuid } from 'uuid' import { defineConfig } from 'vite' + // import checker from 'vite-plugin-checker' +const getPackageDependencies = () => { + const paths: Array<{ find: string, replacement: any }> = [] + + fg.sync('../packages/*', { onlyDirectories: true }) + .map(name => name.replace('../packages/', '')) + .forEach(name => { + if (name === 'pm') { + fg.sync(`../packages/${name}/*`, { onlyDirectories: true }) + .forEach(subName => { + const subPkgName = subName.replace(`../packages/${name}/`, '') + + paths.push({ find: `@tiptap/${name}/${subPkgName}`, replacement: resolve(`../packages/${name}/${subPkgName}/index.ts`) }) + }) + } else { + paths.push({ find: `@tiptap/${name}`, replacement: resolve(`../packages/${name}/src/index.ts`) }) + } + }) + + return paths +} + const includeDependencies = fs.readFileSync('./includeDependencies.txt') .toString() .replace(/\r\n/g, '\n') @@ -271,12 +293,6 @@ export default defineConfig({ ], resolve: { - alias: [ - ...fg.sync('../packages/*', { onlyDirectories: true }) - .map(name => name.replace('../packages/', '')) - .map(name => { - return { find: `@tiptap/${name}`, replacement: resolve(`../packages/${name}/src/index.ts`) } - }), - ], + alias: getPackageDependencies(), }, }) diff --git a/docs/api/commands.md b/docs/api/commands.md index b94103321..47134adae 100644 --- a/docs/api/commands.md +++ b/docs/api/commands.md @@ -120,7 +120,7 @@ addCommands() { If you’re just wrapping a plain ProseMirror command, you’ll need to pass `dispatch` anyway. Then there’s also no need to check it: ```js -import { exitCode } from 'prosemirror-commands' +import { exitCode } from '@tiptap/pm/commands' export default () => ({ state, dispatch }) => { return exitCode(state, dispatch) diff --git a/docs/api/extensions/bubble-menu.md b/docs/api/extensions/bubble-menu.md index 67138f9dd..e1ddf0f40 100644 --- a/docs/api/extensions/bubble-menu.md +++ b/docs/api/extensions/bubble-menu.md @@ -112,7 +112,7 @@ Alternatively you can pass a ProseMirror `PluginKey`. ```js import { Editor } from '@tiptap/core' import BubbleMenu from '@tiptap/extension-bubble-menu' -import { PluginKey } from 'prosemirror-state' +import { PluginKey } from '@tiptap/pm/state' new Editor({ extensions: [ diff --git a/docs/api/extensions/collaboration-cursor.md b/docs/api/extensions/collaboration-cursor.md index 1a6f7175a..7cd83aa6b 100644 --- a/docs/api/extensions/collaboration-cursor.md +++ b/docs/api/extensions/collaboration-cursor.md @@ -20,10 +20,6 @@ We kindly ask you to [sponsor our work](/sponsor) when using this extension in p npm install @tiptap/extension-collaboration-cursor ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please [see here](https://tiptap.dev/installation/peer-dependencies#tiptapextension-collaboration-cursor) which packages are needed and how to install them. -::: - This extension requires the [`Collaboration`](/api/extensions/collaboration) extension. ## Settings diff --git a/docs/api/extensions/collaboration.md b/docs/api/extensions/collaboration.md index e8d247614..0ee97f375 100644 --- a/docs/api/extensions/collaboration.md +++ b/docs/api/extensions/collaboration.md @@ -17,13 +17,9 @@ We kindly ask you to [sponsor our work](/sponsor) when using this extension in p ## Installation ```bash -npm install @tiptap/extension-collaboration yjs y-websocket +npm install @tiptap/extension-collaboration yjs y-websocket y-prosemirror ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please [see here](https://tiptap.dev/installation/peer-dependencies#tiptapextension-collaboration) which packages are needed and how to install them. -::: - ## Settings ### document diff --git a/docs/api/extensions/dropcursor.md b/docs/api/extensions/dropcursor.md index f87e15b01..b23f4bc3d 100644 --- a/docs/api/extensions/dropcursor.md +++ b/docs/api/extensions/dropcursor.md @@ -4,6 +4,7 @@ icon: drag-drop-line --- # Dropcursor + [![Version](https://img.shields.io/npm/v/@tiptap/extension-dropcursor.svg?label=version)](https://www.npmjs.com/package/@tiptap/extension-dropcursor) [![Downloads](https://img.shields.io/npm/dm/@tiptap/extension-dropcursor.svg)](https://npmcharts.com/compare/@tiptap/extension-dropcursor?minimal=true) @@ -12,28 +13,27 @@ This extension loads the [ProseMirror Dropcursor plugin](https://github.com/Pros Note that Tiptap is headless, but the dropcursor needs CSS for its appearance. There are settings for the color and width, and you’re free to add a custom CSS class. ## Installation + ```bash npm install @tiptap/extension-dropcursor ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please [see here](https://tiptap.dev/installation/peer-dependencies#tiptapextension-dropcursor) which packages are needed and how to install them. -::: - ## Settings ### color + Color of the dropcursor. Default: `'currentColor'` ```js Dropcursor.configure({ - color: '#ff0000' + color: '#ff0000', }) ``` ### width + Width of the dropcursor. Default: `1` @@ -45,6 +45,7 @@ Dropcursor.configure({ ``` ### class + One or multiple CSS classes that should be applied to the dropcursor. ```js @@ -54,7 +55,9 @@ Dropcursor.configure({ ``` ## Source code + [packages/extension-dropcursor/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-dropcursor/) ## Usage + https://embed.tiptap.dev/preview/Extensions/Dropcursor diff --git a/docs/api/extensions/floating-menu.md b/docs/api/extensions/floating-menu.md index 6091f1b50..da4d9dd00 100644 --- a/docs/api/extensions/floating-menu.md +++ b/docs/api/extensions/floating-menu.md @@ -100,7 +100,7 @@ Alternatively you can pass a ProseMirror `PluginKey`. ```js import { Editor } from '@tiptap/core' import FloatingMenu from '@tiptap/extension-floating-menu' -import { PluginKey } from 'prosemirror-state' +import { PluginKey } from '@tiptap/pm/state' new Editor({ extensions: [ diff --git a/docs/api/extensions/gapcursor.md b/docs/api/extensions/gapcursor.md index a76aa9432..d18204a1d 100644 --- a/docs/api/extensions/gapcursor.md +++ b/docs/api/extensions/gapcursor.md @@ -4,6 +4,7 @@ icon: space --- # Gapcursor + [![Version](https://img.shields.io/npm/v/@tiptap/extension-gapcursor.svg?label=version)](https://www.npmjs.com/package/@tiptap/extension-gapcursor) [![Downloads](https://img.shields.io/npm/dm/@tiptap/extension-gapcursor.svg)](https://npmcharts.com/compare/@tiptap/extension-gapcursor?minimal=true) @@ -12,16 +13,15 @@ This extension loads the [ProseMirror Gapcursor plugin](https://github.com/Prose Note that Tiptap is headless, but the gapcursor needs CSS for its appearance. The [default CSS](https://github.com/ueberdosis/tiptap/tree/main/packages/core/src/style.ts) is loaded through the Editor class. ## Installation + ```bash npm install @tiptap/extension-gapcursor ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please [see here](https://tiptap.dev/installation/peer-dependencies#tiptapextension-gapcursor) which packages are needed and how to install them. -::: - ## Source code + [packages/extension-gapcursor/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-gapcursor/) ## Usage + https://embed.tiptap.dev/preview/Extensions/Gapcursor diff --git a/docs/api/extensions/history.md b/docs/api/extensions/history.md index c1b1bf4dd..798ca185c 100644 --- a/docs/api/extensions/history.md +++ b/docs/api/extensions/history.md @@ -4,23 +4,22 @@ icon: history-line --- # History + [![Version](https://img.shields.io/npm/v/@tiptap/extension-history.svg?label=version)](https://www.npmjs.com/package/@tiptap/extension-history) [![Downloads](https://img.shields.io/npm/dm/@tiptap/extension-history.svg)](https://npmcharts.com/compare/@tiptap/extension-history?minimal=true) This extension provides history support. All changes to the document will be tracked and can be removed with `undo`. Undone changes can be applied with `redo` again. ## Installation + ```bash npm install @tiptap/extension-history ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please [see here](https://tiptap.dev/installation/peer-dependencies#tiptapextension-history) which packages are needed and how to install them. -::: - ## Settings ### depth + The amount of history events that are collected before the oldest events are discarded. Defaults to 100. Default: `100` @@ -32,6 +31,7 @@ History.configure({ ``` ### newGroupDelay + The delay between changes after which a new group should be started (in milliseconds). When changes aren’t adjacent, a new group is always started. Default: `500` @@ -45,12 +45,15 @@ History.configure({ ## Commands ### undo() + Undo the last change. ```js editor.commands.undo() ``` + ### redo() + Redo the last change. ```js @@ -58,13 +61,16 @@ editor.commands.redo() ``` ## Keyboard shortcuts + | Command | Windows/Linux | macOS | | ------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | | undo() | `Control` `Z`
`Control` `я` | `Cmd` `Z`
`Cmd` `я` | | redo() | `Shift` `Control` `Z`
`Control` `Y`
`Shift` `Control` `я` | `Shift` `Cmd` `Z`
`Cmd` `Y`
`Shift` `Cmd` `я` | ## Source code + [packages/extension-history/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-history/) ## Usage + https://embed.tiptap.dev/preview/Extensions/History diff --git a/docs/api/extensions/placeholder.md b/docs/api/extensions/placeholder.md index 720efc5a5..ba505ee25 100644 --- a/docs/api/extensions/placeholder.md +++ b/docs/api/extensions/placeholder.md @@ -14,6 +14,31 @@ This extension provides placeholder support. Give your users an idea what they s npm install @tiptap/extension-placeholder ``` +### Additional Setup +Placeholders are displayed with the help of CSS. + +**Display a Placeholder only for the first line in an empty editor.** +``` +.ProseMirror p.is-editor-empty:first-child::before { + color: #adb5bd; + content: attr(data-placeholder); + float: left; + height: 0; + pointer-events: none; +} +``` +**Display Placeholders on every new line.** +``` +.ProseMirror p.is-empty::before { + color: #adb5bd; + content: attr(data-placeholder); + float: left; + height: 0; + pointer-events: none; +} +``` + + ## Settings ### emptyEditorClass diff --git a/docs/api/extensions/starter-kit.md b/docs/api/extensions/starter-kit.md index cf1600963..224f457a5 100644 --- a/docs/api/extensions/starter-kit.md +++ b/docs/api/extensions/starter-kit.md @@ -14,10 +14,6 @@ The `StarterKit` is a collection of the most popular Tiptap extensions. If you npm install @tiptap/starter-kit ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please [see here](https://tiptap.dev/installation/peer-dependencies#tiptapstarter-kit) which packages are needed and how to install them. -::: - ## Included extensions ### Nodes diff --git a/docs/api/introduction.md b/docs/api/introduction.md index 0a90cd7ed..43dc5122c 100644 --- a/docs/api/introduction.md +++ b/docs/api/introduction.md @@ -1,5 +1,5 @@ # Introduction -tiptap is a friendly wrapper around [ProseMirror](https://ProseMirror.net). Although Tiptap tries to hide most of the complexity of ProseMirror, it’s built on top of its APIs and we recommend you to read through the [ProseMirror Guide](https://ProseMirror.net/docs/guide/) for advanced usage. +Tiptap is a friendly wrapper around [ProseMirror](https://ProseMirror.net). Although Tiptap tries to hide most of the complexity of ProseMirror, it’s built on top of its APIs and we recommend you to read through the [ProseMirror Guide](https://ProseMirror.net/docs/guide/) for advanced usage. ### Structure ProseMirror works with a strict [Schema](/api/schema), which defines the allowed structure of a document. A document is a tree of headings, paragraphs and others elements, so called nodes. Marks can be attached to a node, e. g. to emphasize part of it. [Commands](/api/commands) change that document programmatically. diff --git a/docs/api/schema.md b/docs/api/schema.md index 55fcc52ce..db672ff2b 100644 --- a/docs/api/schema.md +++ b/docs/api/schema.md @@ -18,7 +18,7 @@ When you’ll work with the provided extensions only, you don’t have to care t // the underlying ProseMirror schema { nodes: { - document: { + doc: { content: 'block+', }, paragraph: { diff --git a/docs/guide/collaborative-editing.md b/docs/guide/collaborative-editing.md index c8a4fd216..cc947a89d 100644 --- a/docs/guide/collaborative-editing.md +++ b/docs/guide/collaborative-editing.md @@ -25,13 +25,9 @@ WebRTC uses a server only to connect clients with each other. The actual data is First, install the dependencies: ```bash -npm install @tiptap/extension-collaboration yjs y-webrtc +npm install @tiptap/extension-collaboration yjs y-webrtc y-prosemirror ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please [see here](https://tiptap.dev/installation/peer-dependencies#tiptapextension-collaboration) which packages are needed and how to install them. -::: - Now, create a new Y document, and register it with Tiptap: ```js @@ -75,13 +71,9 @@ For most uses cases, a WebSocket provider is the recommended choice. It’s very For the client, the example is nearly the same, only the provider is different. First, let’s install the dependencies: ```bash -npm install @tiptap/extension-collaboration @hocuspocus/provider +npm install @tiptap/extension-collaboration @hocuspocus/provider y-prosemirror ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please [see here](https://tiptap.dev/installation/peer-dependencies#tiptapextension-collaboration) which packages are needed and how to install them. -::: - And then register the WebSocket provider with Tiptap: ```js @@ -293,7 +285,7 @@ server.listen() ## Pitfalls ### Schema updates -tiptap is very strict with the [schema](/api/schema), that means, if you add something that’s not allowed according to the configured schema it’ll be thrown away. That can lead to a strange behaviour when multiple clients with different schemas share changes to a document. +Tiptap is very strict with the [schema](/api/schema), that means, if you add something that’s not allowed according to the configured schema it’ll be thrown away. That can lead to a strange behaviour when multiple clients with different schemas share changes to a document. Let’s say you added an editor to your app and the first people use it already. They have all a loaded instance of Tiptap with all default extensions, and therefor a schema that only allows those. But you want to add task lists in the next update, so you add the extension and deploy again. diff --git a/docs/guide/custom-extensions.md b/docs/guide/custom-extensions.md index 9179bf013..d8428bdd0 100644 --- a/docs/guide/custom-extensions.md +++ b/docs/guide/custom-extensions.md @@ -114,7 +114,7 @@ const awesomeness = editor.storage.customExtension.awesomeness ``` ### Schema -tiptap works with a strict schema, which configures how the content can be structured, nested, how it behaves and many more things. You [can change all aspects of the schema](/api/schema) for existing extensions. Let’s walk through a few common use cases. +Tiptap works with a strict schema, which configures how the content can be structured, nested, how it behaves and many more things. You [can change all aspects of the schema](/api/schema) for existing extensions. Let’s walk through a few common use cases. The default `Blockquote` extension can wrap other nodes, like headings. If you want to allow nothing but paragraphs in your blockquotes, set the `content` attribute accordingly: @@ -531,7 +531,7 @@ After all, Tiptap is built on ProseMirror and ProseMirror has a pretty powerful You can wrap existing ProseMirror plugins in Tiptap extensions like shown in the example below. ```js -import { history } from 'prosemirror-history' +import { history } from '@tiptap/pm/history' const History = Extension.create({ addProseMirrorPlugins() { @@ -550,7 +550,7 @@ Or you can add them to a Tiptap extension like shown in the below example. ```js import { Extension } from '@tiptap/core' -import { Plugin, PluginKey } from 'prosemirror-state' +import { Plugin, PluginKey } from '@tiptap/pm/state' export const EventHandler = Extension.create({ name: 'eventHandler', diff --git a/docs/guide/output.md b/docs/guide/output.md index 3faf42818..36b06bbc8 100644 --- a/docs/guide/output.md +++ b/docs/guide/output.md @@ -115,7 +115,7 @@ To render the saved content, set the editor to read-only. That’s how you can a https://embed.tiptap.dev/preview/GuideContent/ReadOnly ### Option 2: Generate HTML from ProseMirror JSON -If you need to render the content on the server side, for example to generate the HTML for a blog post which has been written in Tiptap, you’ll probably want to do just that without an actual editor instance. +If you need to render the content on the server side, for example to generate the HTML for a blog post, which has been written in Tiptap, you’ll probably want to do just that without an actual editor instance. That’s what the `generateHTML()` is for. It’s a helper function which renders HTML without an actual editor instance. diff --git a/docs/guide/prosemirror.md b/docs/guide/prosemirror.md new file mode 100644 index 000000000..a034ae8b6 --- /dev/null +++ b/docs/guide/prosemirror.md @@ -0,0 +1,43 @@ +--- +tableOfContents: true +--- + +# Accessing ProseMirror internals + +Tiptap is built on top of ProseMirror, which has a pretty powerful API. To access it, we provide the package `@tiptap/pm`. This package provides all important ProseMirror packages like `prosemirror-state`, `prosemirror-view` or `prosemirror-model`. Using the package for custom development makes sure that you always have the same version of ProseMirror which is used by Tiptap as well. This way, we can make sure that Tiptap and all extensions are compatible with each other and prevent version clashes. Another plus is that you don't need to install all ProseMirror packages manually, especially if you are not using npm or any other package manager that supports automatic peer dependency resolution. + +Installation: + +```bash +npm i @tiptap/pm +``` + +After that you can access all internal ProseMirror packages like this: + +```js +// this example loads the EditorState class from the ProseMirror state package +import { EditorState } from '@tiptap/pm/state' +``` + +The following packages are available: + +- `@tiptap/pm/changeset` +- `@tiptap/pm/collab` +- `@tiptap/pm/commands` +- `@tiptap/pm/dropcursor` +- `@tiptap/pm/gapcursor` +- `@tiptap/pm/history` +- `@tiptap/pm/inputrules` +- `@tiptap/pm/keymap` +- `@tiptap/pm/markdown` +- `@tiptap/pm/menu` +- `@tiptap/pm/model` +- `@tiptap/pm/schema-basic` +- `@tiptap/pm/schema-list` +- `@tiptap/pm/state` +- `@tiptap/pm/tables` +- `@tiptap/pm/trailing-node` +- `@tiptap/pm/transform` +- `@tiptap/pm/view` + +You can find out more about those libraries in the [ProseMirror documentation](https://prosemirror.net/docs/ref). diff --git a/docs/guide/typescript.md b/docs/guide/typescript.md index 12ad76bc8..32428b702 100644 --- a/docs/guide/typescript.md +++ b/docs/guide/typescript.md @@ -57,8 +57,8 @@ const CustomExtension = Extension.create<{}, CustomExtensionStorage>({ When using storage outside of the extension you have to manually set the type. -``` -import { CustomExtensionStorage } from './custom-extension +```ts +import { CustomExtensionStorage } from './custom-extension' const customStorage = editor.storage.customExtension as CustomExtensionStorage ``` diff --git a/docs/installation.md b/docs/installation.md index 988d6f241..d3b29119c 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -5,24 +5,23 @@ tableOfContents: true # Installation ## Introduction + Tiptap is framework-agnostic and even works with Vanilla JavaScript (if that’s your thing). The following integration guides help you integrating Tiptap in your JavaScript project. ## Integration guides - -* [Vanilla JavaScript](/installation/vanilla-javascript) -* [React](/installation/react) -* [Next.js](/installation/nextjs) -* [Vue 3](/installation/vue3) -* [Vue 2](/installation/vue2) -* [Nuxt.js](/installation/nuxt) -* [Svelte](/installation/svelte) -* [Alpine.js](/installation/alpine) -* [PHP](/installation/php) -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please [read this](https://tiptap.dev/installation/peer-dependencies) to understand what is needed in that case. -::: +- [Vanilla JavaScript](/installation/vanilla-javascript) +- [React](/installation/react) +- [Next.js](/installation/nextjs) +- [Vue 3](/installation/vue3) +- [Vue 2](/installation/vue2) +- [Nuxt.js](/installation/nuxt) +- [Svelte](/installation/svelte) +- [Alpine.js](/installation/alpine) +- [PHP](/installation/php) + ### Community efforts -* [Angular](https://github.com/sibiraj-s/ngx-tiptap) -* [SolidJS](https://github.com/LXSMNSYC/solid-tiptap) + +- [Angular](https://github.com/sibiraj-s/ngx-tiptap) +- [SolidJS](https://github.com/LXSMNSYC/solid-tiptap) diff --git a/docs/installation/alpine.md b/docs/installation/alpine.md index fd085c4c0..9f2f11ab4 100644 --- a/docs/installation/alpine.md +++ b/docs/installation/alpine.md @@ -28,16 +28,12 @@ npm run dev ## 2. Install the dependencies -Okay, enough of the boring boilerplate work. Let’s finally install Tiptap! For the following example you’ll need `alpinejs`, the `@tiptap/core` package and the `@tiptap/starter-kit` which has the most common extensions to get started quickly. +Okay, enough of the boring boilerplate work. Let’s finally install Tiptap! For the following example you’ll need `alpinejs`, the `@tiptap/core` package, the `@tiptap/pm` package and the `@tiptap/starter-kit`, which includes the most common extensions to get started quickly. ```bash -npm install alpinejs @tiptap/core @tiptap/starter-kit +npm install alpinejs @tiptap/core @tiptap/pm @tiptap/starter-kit ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please check the following links to find out what dependencies are needed and how to install them: [@tiptap/core](https://tiptap.dev/installation/peer-dependencies#tiptapcore), [@tiptap/starter-kit](https://tiptap.dev/installation/peer-dependencies#tiptapstarter-kit) -::: - If you followed step 1, you can now start your project with `npm run dev`, and open [http://localhost:5173](http://localhost:5173) in your favorite browser. This might be different, if you’re working with an existing project. ## 3. Initialize the editor @@ -74,7 +70,7 @@ document.addEventListener('alpine:init', () => { onSelectionUpdate({ editor }) { _this.updatedAt = Date.now() } - }); + }) }, isLoaded() { return editor @@ -91,9 +87,9 @@ document.addEventListener('alpine:init', () => { toggleItalic() { editor.chain().toggleItalic().focus().run() }, - }; - }); -}); + } + }) +}) window.Alpine = Alpine Alpine.start() diff --git a/docs/installation/nextjs.md b/docs/installation/nextjs.md index 28e026af0..156315f26 100644 --- a/docs/installation/nextjs.md +++ b/docs/installation/nextjs.md @@ -25,16 +25,12 @@ cd my-tiptap-project ``` ## 2. Install the dependencies -Now that we have a standard boilerplate set up we can get started on getting Tiptap up and running! For this we will need to install two packages: `@tiptap/react` and `@tiptap/starter-kit` which includes all the extensions you need to get started quickly. +Now that we have a standard boilerplate set up we can get started on getting Tiptap up and running! For this we will need to install three packages: `@tiptap/react`, `@tiptap/pm` and `@tiptap/starter-kit` which includes all the extensions you need to get started quickly. ```bash -npm install @tiptap/react @tiptap/starter-kit +npm install @tiptap/react @tiptap/pm @tiptap/starter-kit ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please check the following links to find out what dependencies are needed and how to install them: [@tiptap/core](https://tiptap.dev/installation/peer-dependencies#tiptapcore), [@tiptap/starter-kit](https://tiptap.dev/installation/peer-dependencies#tiptapstarter-kit) -::: - If you followed step 1 and 2, you can now start your project with `npm run dev`, and open [http://localhost:3000/](http://localhost:3000/) in your favorite browser. This might be different, if you’re working with an existing project. ## 3. Create a new component @@ -57,7 +53,7 @@ const Tiptap = () => { ) } -export default Tiptap; +export default Tiptap ``` ## 4. Add it to your app diff --git a/docs/installation/nuxt.md b/docs/installation/nuxt.md index 832568f74..ebc210551 100644 --- a/docs/installation/nuxt.md +++ b/docs/installation/nuxt.md @@ -26,16 +26,12 @@ cd my-tiptap-project ``` ## 2. Install the dependencies -Okay, enough of the boring boilerplate work. Let’s finally install Tiptap! For the following example you’ll need the `@tiptap/vue-2` package, with a few components, and `@tiptap/starter-kit` which has the most common extensions to get started quickly. +Okay, enough of the boring boilerplate work. Let’s finally install Tiptap! For the following example you’ll need the `@tiptap/vue-2` package with a few components, the `@tiptap/pm` package, and `@tiptap/starter-kit` which has the most common extensions to get started quickly. ```bash -npm install @tiptap/vue-2 @tiptap/starter-kit +npm install @tiptap/vue-2 @tiptap/pm @tiptap/starter-kit ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please check the following links to find out what dependencies are needed and how to install them: [@tiptap/core](https://tiptap.dev/installation/peer-dependencies#tiptapcore), [@tiptap/starter-kit](https://tiptap.dev/installation/peer-dependencies#tiptapstarter-kit) -::: - If you followed step 1 and 2, you can now start your project with `npm run serve`, and open [http://localhost:8080/](http://localhost:8080/) in your favorite browser. This might be different, if you’re working with an existing project. ## 3. Create a new component diff --git a/docs/installation/peer-dependencies.md b/docs/installation/peer-dependencies.md deleted file mode 100644 index bc03f635f..000000000 --- a/docs/installation/peer-dependencies.md +++ /dev/null @@ -1,80 +0,0 @@ ---- -tableOfContents: true ---- - -# Peer dependencies - -## Introduction -With the release of version 2.0.0-beta.205 we introduced peer dependencies. Most packages require the installation of peer dependencies. - -## Why peer dependencies -In the past it has happened that users installed ProseMirror or Yjs packages to develope their own extensions, which had a different version than the ones included in Tiptap. This has caused version clashes. - -## How to install - -### NPM 7 or higher -If you are using NPM 7 or higher, you can ignore the following notes. NPM installs peer dependencies automatically and no further action is required. - -### Yarn, pNPM, npm 6 or less - -#### @tiptap/core - -| Package manager | Command | -| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Yarn | `yarn add prosemirror-commands prosemirror-keymap prosemirror-model prosemirror-schema-list prosemirror-state prosemirror-transform prosemirror-view` | -| pNPM | `pnpm install prosemirror-commands prosemirror-keymap prosemirror-model prosemirror-schema-list prosemirror-state prosemirror-transform prosemirror-view` | -| npm 6 or less | `npm install prosemirror-commands prosemirror-keymap prosemirror-model prosemirror-schema-list prosemirror-state prosemirror-transform prosemirror-view` | - - -#### @tiptap/starter-kit - -| Package manager | Command | -| ------------------ | ---------------------------------------------------------------------------------------------------------- | -| Yarn | `yarn add prosemirror-history prosemirror-dropcursor prosemirror-gapcursor` | -| pNPM | `pnpm install prosemirror-history prosemirror-dropcursor prosemirror-gapcursor` | -| npm 6 or less | `npm install prosemirror-history prosemirror-dropcursor prosemirror-gapcursor` | - - -#### @tiptap/extension-history - -| Package manager | Command | -| ------------------ | ---------------------------------------------------------------------------------------------------------- | -| Yarn | `yarn add prosemirror-history` | -| pNPM | `pnpm install prosemirror-history` | -| npm 6 or less | `npm install prosemirror-history` | - - -#### @tiptap/extension-gapcursor - -| Package manager | Command | -| ------------------ | ---------------------------------------------------------------------------------------------------------- | -| Yarn | `yarn add prosemirror-gapcursor` | -| pNPM | `pnpm install prosemirror-gapcursor` | -| npm 6 or less | `npm install prosemirror-gapcursor` | - - -#### @tiptap/extension-dropcursor - -| Package manager | Command | -| ------------------ | ---------------------------------------------------------------------------------------------------------- | -| Yarn | `yarn add prosemirror-dropcursor` | -| pNPM | `pnpm install prosemirror-dropcursor` | -| npm 6 or less | `npm install prosemirror-dropcursor` | - - -#### @tiptap/extension-collaboration - -| Package manager | Command | -| ------------------ | ---------------------------------------------------------------------------------------------------------- | -| Yarn | `yarn add y-prosemirror` | -| pNPM | `pnpm install y-prosemirror` | -| npm 6 or less | `npm install y-prosemirror` | - - -#### @tiptap/extension-collaboration-cursor - -| Package manager | Command | -| ------------------ | ---------------------------------------------------------------------------------------------------------- | -| Yarn | `yarn add y-prosemirror` | -| pNPM | `pnpm install y-prosemirror` | -| npm 6 or less | `npm install y-prosemirror` | diff --git a/docs/installation/react.md b/docs/installation/react.md index 8b5ab22fb..e20f4824e 100644 --- a/docs/installation/react.md +++ b/docs/installation/react.md @@ -34,16 +34,12 @@ cd my-tiptap-project ``` #### 2. Install the dependencies -Time to install the `@tiptap/react` package and our [`StarterKit`](/api/extensions/starter-kit), which has the most popular extensions to get started quickly. +Time to install the `@tiptap/react` package, `@tiptap/pm` (the ProseMirror library) and `@tiptap/starter-kit`, which includes the most popular extensions to get started quickly. ```bash -npm install @tiptap/react @tiptap/starter-kit +npm install @tiptap/react @tiptap/pm @tiptap/starter-kit ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please check the following links to find out what dependencies are needed and how to install them: [@tiptap/core](https://tiptap.dev/installation/peer-dependencies#tiptapcore), [@tiptap/starter-kit](https://tiptap.dev/installation/peer-dependencies#tiptapstarter-kit) -::: - If you followed step 1 and 2, you can now start your project with `npm run start`, and open [http://localhost:3000](http://localhost:3000) in your browser. #### 3. Create a new component diff --git a/docs/installation/svelte.md b/docs/installation/svelte.md index 8a80a30d3..e1ce79d8c 100644 --- a/docs/installation/svelte.md +++ b/docs/installation/svelte.md @@ -28,16 +28,12 @@ npm run dev ``` ## 2. Install the dependencies -Okay, enough of the boring boilerplate work. Let’s finally install Tiptap! For the following example you’ll need the `@tiptap/core` package, with a few components, and `@tiptap/starter-kit` which has the most common extensions to get started quickly. +Okay, enough of the boring boilerplate work. Let’s finally install Tiptap! For the following example you’ll need the `@tiptap/core` package, with a few components, `@tiptap/pm` and `@tiptap/starter-kit`, which includes the most common extensions to get started quickly. ```bash -npm install @tiptap/core @tiptap/starter-kit +npm install @tiptap/core @tiptap/pm @tiptap/starter-kit ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please check the following links to find out what dependencies are needed and how to install them: [@tiptap/core](https://tiptap.dev/installation/peer-dependencies#tiptapcore), [@tiptap/starter-kit](https://tiptap.dev/installation/peer-dependencies#tiptapstarter-kit) -::: - If you followed step 1 and 2, you can now start your project with `npm run dev`, and open [http://localhost:3000/](http://localhost:3000/) in your favorite browser. This might be different, if you’re working with an existing project. ## 3. Create a new component diff --git a/docs/installation/vanilla-javascript.md b/docs/installation/vanilla-javascript.md index a3bda04ed..2933113ab 100644 --- a/docs/installation/vanilla-javascript.md +++ b/docs/installation/vanilla-javascript.md @@ -9,18 +9,12 @@ tableOfContents: true You are using plain JavaScript or a framework that is not listed here? No worries, we provide everything you need. ## 1. Install the dependencies -For the following example you will need `@tiptap/core` (the actual editor) and `@tiptap/starter-kit`. - -The StarterKit doesn’t include all, but the most common extensions. +For the following example you will need `@tiptap/core` (the actual editor), `@tiptap/pm` (the ProseMirror library) and `@tiptap/starter-kit`. The StarterKit doesn’t include all, but the most common extensions. ```bash -npm install @tiptap/core @tiptap/starter-kit +npm install @tiptap/core @tiptap/pm @tiptap/starter-kit ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please check the following links to find out what dependencies are needed and how to install them: [@tiptap/core](https://tiptap.dev/installation/peer-dependencies#tiptapcore), [@tiptap/starter-kit](https://tiptap.dev/installation/peer-dependencies#tiptapstarter-kit) -::: - ## 2. Add some markup Add the following HTML where you want the editor to be mounted: diff --git a/docs/installation/vue2.md b/docs/installation/vue2.md index 9fdf5ebea..334d3aeed 100644 --- a/docs/installation/vue2.md +++ b/docs/installation/vue2.md @@ -27,16 +27,12 @@ cd my-tiptap-project ``` ## 2. Install the dependencies -Okay, enough of the boring boilerplate work. Let’s finally install Tiptap! For the following example you’ll need the `@tiptap/vue-2` package, with a few components, and `@tiptap/starter-kit` which has the most common extensions to get started quickly. +Okay, enough of the boring boilerplate work. Let’s finally install Tiptap! For the following example you’ll need the `@tiptap/vue-2` package, `@tiptap/pm` (the ProseMirror library) and `@tiptap/starter-kit`, which includes the most common extensions to get started quickly. ```bash -npm install @tiptap/vue-2 @tiptap/starter-kit +npm install @tiptap/vue-2 @tiptap/pm @tiptap/starter-kit ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please check the following links to find out what dependencies are needed and how to install them: [@tiptap/core](https://tiptap.dev/installation/peer-dependencies#tiptapcore), [@tiptap/starter-kit](https://tiptap.dev/installation/peer-dependencies#tiptapstarter-kit) -::: - If you followed step 1 and 2, you can now start your project with `npm run dev`, and open [http://localhost:8080](http://localhost:8080) in your favorite browser. This might be different, if you’re working with an existing project. ## 3. Create a new component diff --git a/docs/installation/vue3.md b/docs/installation/vue3.md index 5de7c0f20..726af0031 100644 --- a/docs/installation/vue3.md +++ b/docs/installation/vue3.md @@ -27,16 +27,12 @@ cd my-tiptap-project ``` ## 2. Install the dependencies -Okay, enough of the boring boilerplate work. Let’s finally install Tiptap! For the following example you’ll need the `@tiptap/vue-3` package, with a few components, and `@tiptap/starter-kit` which has the most common extensions to get started quickly. +Okay, enough of the boring boilerplate work. Let’s finally install Tiptap! For the following example you’ll need the `@tiptap/vue-3` package, `@tiptap/pm` (the ProseMirror library) and `@tiptap/starter-kit`, which includes the most common extensions to get started quickly. ```bash -npm install @tiptap/vue-3 @tiptap/starter-kit +npm install @tiptap/vue-3 @tiptap/pm @tiptap/starter-kit ``` -:::warning Are you using Yarn, pNPM, npm 6 or less? -Unfortunately your package manager does not install peer dependencies automatically and you have to install them by your own. Please check the following links to find out what dependencies are needed and how to install them: [@tiptap/core](https://tiptap.dev/installation/peer-dependencies#tiptapcore), [@tiptap/starter-kit](https://tiptap.dev/installation/peer-dependencies#tiptapstarter-kit) -::: - If you followed step 1 and 2, you can now start your project with `npm run serve`, and open [http://localhost:8080](http://localhost:8080) in your favorite browser. This might be different, if you’re working with an existing project. ## 3. Create a new component diff --git a/docs/introduction.md b/docs/introduction.md index 126472edd..9ecce8339 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -10,7 +10,7 @@ tableOfContents: true [![License](https://img.shields.io/npm/l/@tiptap/core.svg)](https://www.npmjs.com/package/@tiptap/core) [![Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub)](https://github.com/sponsors/ueberdosis) -tiptap is a headless wrapper around [ProseMirror](https://ProseMirror.net) – a toolkit for building rich text WYSIWYG editors, which is already in use at many well-known companies such as *New York Times*, *The Guardian* or *Atlassian*. +Tiptap is a headless wrapper around [ProseMirror](https://ProseMirror.net) – a toolkit for building rich text WYSIWYG editors, which is already in use at many well-known companies such as *New York Times*, *The Guardian* or *Atlassian*. Create exactly the rich text editor you want out of customizable building blocks. Tiptap comes with sensible defaults, a lot of extensions and a friendly API to customize every aspect. It’s backed by a welcoming community, open source, and free. diff --git a/docs/links.yaml b/docs/links.yaml index d26677492..7c036952a 100644 --- a/docs/links.yaml +++ b/docs/links.yaml @@ -48,9 +48,6 @@ - title: PHP link: /installation/php skip: true - - title: Peer dependencies - link: /installation/peer-dependencies - skip: true - title: Upgrade guide link: /overview/upgrade-guide - title: Changelog @@ -120,6 +117,8 @@ items: - title: Configuration link: /guide/configuration + - title: ProseMirror API + link: /guide/prosemirror - title: Menus link: /guide/menus - title: Styling diff --git a/docs/overview/upgrade-guide.md b/docs/overview/upgrade-guide.md index 8b91d439f..b33aa3bc0 100644 --- a/docs/overview/upgrade-guide.md +++ b/docs/overview/upgrade-guide.md @@ -28,10 +28,10 @@ npm uninstall tiptap tiptap-commands tiptap-extensions tiptap-utils ## Install Tiptap v2 -Once you have uninstalled the old version of Tiptap, install the new Vue 2 package and the starter kit: +Once you have uninstalled the old version of Tiptap, install the new Vue 2 package, the ProseMirror library and the starter kit: ```bash -npm install @tiptap/vue-2 @tiptap/starter-kit +npm install @tiptap/vue-2 @tiptap/pm @tiptap/starter-kit ``` ## Keep Tiptap v2 up to date diff --git a/docsearch.config.json b/docsearch.config.json new file mode 100644 index 000000000..ab355697e --- /dev/null +++ b/docsearch.config.json @@ -0,0 +1,40 @@ +{ + "index_name": "tiptap", + "start_urls": [ + "https://tiptap.dev" + ], + "sitemap_alternate_links": true, + "stop_urls": [ + "https://tiptap.dev/hocuspocus" + ], + "selectors": { + "default": { + "lvl0": { + "selector": "", + "global": true, + "default_value": "Documentation" + }, + "lvl1": "main h1", + "lvl2": "main h2", + "lvl3": "main h3", + "lvl4": "main h4", + "lvl5": "main h5", + "lvl6": "main h6", + "text": "main p, main li, main pre, main td" + } + }, + "strip_chars": " .,;:#", + "custom_settings": { + "separatorsToIndex": "_", + "attributesForFaceting": [ + "type", + "lang" + ], + "attributesToRetrieve": [ + "hierarchy", + "text", + "anchor", + "url" + ] + } +} diff --git a/lerna.json b/lerna.json index 6562d6621..df7551d1f 100644 --- a/lerna.json +++ b/lerna.json @@ -10,5 +10,5 @@ }, "$schema": "node_modules/lerna/schemas/lerna-schema.json", "useNx": true, - "version": "2.0.0-beta.209" + "version": "2.0.0-beta.218" } diff --git a/package-lock.json b/package-lock.json index 95effd5d8..cee1f086e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,8 +18,8 @@ "@babel/preset-react": "^7.16.7", "@cypress/webpack-preprocessor": "^5.11.0", "@lerna/batch-packages": "^3.16.0", - "@lerna/filter-packages": "^5.0.0", - "@lerna/project": "^5.0.0", + "@lerna/filter-packages": "^5.6.2", + "@lerna/project": "^5.6.2", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^21.0.1", "@rollup/plugin-node-resolve": "^13.1.3", @@ -37,19 +37,20 @@ "husky": "^8.0.1", "lerna": "^5.5.1", "lint-staged": "^13.0.3", - "minimist": "^1.2.5", + "minimist": "^1.2.7", "rollup": "^2.67.0", "rollup-plugin-auto-external": "^2.0.0", "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-typescript2": "^0.31.2", - "ts-loader": "^9.2.6", + "ts-loader": "9.3.1", + "tsup": "^6.5.0", "typescript": "^4.5.5", "webpack": "^5.68.0" } }, "demos": { "name": "tiptap-demos", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "dependencies": { "@hocuspocus/provider": "^1.0.0-alpha.29", "d3": "^7.3.0", @@ -76,7 +77,7 @@ "sass": "^1.49.7", "svelte": "^3.49.0", "tailwindcss": "^2.2.19", - "typescript": "^4.5.5", + "typescript": "4.7.4", "uuid": "^8.3.2", "vite": "^2.9.13", "vite-plugin-checker": "^0.3.4", @@ -98,8 +99,9 @@ }, "node_modules/@atomico/rollup-plugin-sizes": { "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@atomico/rollup-plugin-sizes/-/rollup-plugin-sizes-1.1.4.tgz", + "integrity": "sha512-ilxLw9hT+kWXIx8mYoAFLA2eIVfLrsnabPCaGo5Mkrj8qxhEkZvFddcnH2HTp/hDKFEIJRpZVpXecsPp3FOdRw==", "dev": true, - "license": "ISC", "dependencies": { "brotli-size": "^4.0.0", "gzip-size": "^5.1.1", @@ -330,11 +332,12 @@ } }, "node_modules/@babel/helper-module-imports": { - "version": "7.16.7", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", + "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", "dev": true, - "license": "MIT", "dependencies": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" }, "engines": { "node": ">=6.9.0" @@ -438,10 +441,20 @@ "node": ">=6.9.0" } }, + "node_modules/@babel/helper-string-parser": { + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", + "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.16.7", + "version": "7.19.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", + "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", "dev": true, - "license": "MIT", "engines": { "node": ">=6.9.0" } @@ -1648,7 +1661,6 @@ }, "node_modules/@babel/runtime": { "version": "7.18.3", - "dev": true, "license": "MIT", "dependencies": { "regenerator-runtime": "^0.13.4" @@ -1691,11 +1703,13 @@ } }, "node_modules/@babel/types": { - "version": "7.18.4", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.20.7.tgz", + "integrity": "sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg==", "dev": true, - "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.16.7", + "@babel/helper-string-parser": "^7.19.4", + "@babel/helper-validator-identifier": "^7.19.1", "to-fast-properties": "^2.0.0" }, "engines": { @@ -1818,9 +1832,8 @@ }, "node_modules/@gar/promisify": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", - "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@hocuspocus/common": { "version": "1.0.0-alpha.11", @@ -1860,18 +1873,16 @@ }, "node_modules/@hutson/parse-repository-url": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", - "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=6.9.0" } }, "node_modules/@isaacs/string-locale-compare": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz", - "integrity": "sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/@jridgewell/gen-mapping": { "version": "0.1.1", @@ -1939,9 +1950,8 @@ }, "node_modules/@lerna/add": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/add/-/add-5.6.2.tgz", - "integrity": "sha512-NHrm7kYiqP+EviguY7/NltJ3G9vGmJW6v2BASUOhP9FZDhYbq3O+rCDlFdoVRNtcyrSg90rZFMOWHph4KOoCQQ==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/bootstrap": "5.6.2", "@lerna/command": "5.6.2", @@ -1960,9 +1970,8 @@ }, "node_modules/@lerna/add/node_modules/hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -1972,9 +1981,8 @@ }, "node_modules/@lerna/add/node_modules/npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^3.0.6", "semver": "^7.0.0", @@ -1986,9 +1994,8 @@ }, "node_modules/@lerna/add/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -2001,8 +2008,9 @@ }, "node_modules/@lerna/batch-packages": { "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@lerna/batch-packages/-/batch-packages-3.16.0.tgz", + "integrity": "sha512-7AdMkANpubY/FKFI01im01tlx6ygOBJ/0JcixMUWoWP/7Ds3SWQF22ID6fbBr38jUWptYLDs2fagtTDL7YUPuA==", "dev": true, - "license": "MIT", "dependencies": { "@lerna/package-graph": "3.16.0", "npmlog": "^4.1.2" @@ -2013,9 +2021,8 @@ }, "node_modules/@lerna/bootstrap": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-5.6.2.tgz", - "integrity": "sha512-S2fMOEXbef7nrybQhzBywIGSLhuiQ5huPp1sU+v9Y6XEBsy/2IA+lb0gsZosvPqlRfMtiaFstL+QunaBhlWECA==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/command": "5.6.2", "@lerna/filter-options": "5.6.2", @@ -2046,9 +2053,8 @@ }, "node_modules/@lerna/bootstrap/node_modules/@lerna/package-graph": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-5.6.2.tgz", - "integrity": "sha512-TmL61qBBvA3Tc4qICDirZzdFFwWOA6qicIXUruLiE2PblRowRmCO1bKrrP6XbDOspzwrkPef6N2F2/5gHQAnkQ==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/prerelease-id-from-version": "5.6.2", "@lerna/validation-error": "5.6.2", @@ -2062,9 +2068,8 @@ }, "node_modules/@lerna/bootstrap/node_modules/@lerna/prerelease-id-from-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.6.2.tgz", - "integrity": "sha512-7gIm9fecWFVNy2kpj/KbH11bRcpyANAwpsft3X5m6J7y7A6FTUscCbEvl3ZNdpQKHNuvnHgCtkm3A5PMSCEgkA==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.3.4" }, @@ -2074,9 +2079,8 @@ }, "node_modules/@lerna/bootstrap/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -2087,9 +2091,8 @@ }, "node_modules/@lerna/bootstrap/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -2106,9 +2109,8 @@ }, "node_modules/@lerna/bootstrap/node_modules/hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -2118,9 +2120,8 @@ }, "node_modules/@lerna/bootstrap/node_modules/npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^3.0.6", "semver": "^7.0.0", @@ -2132,9 +2133,8 @@ }, "node_modules/@lerna/bootstrap/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -2147,9 +2147,8 @@ }, "node_modules/@lerna/bootstrap/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -2162,9 +2161,8 @@ }, "node_modules/@lerna/changed": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/changed/-/changed-5.6.2.tgz", - "integrity": "sha512-uUgrkdj1eYJHQGsXXlpH5oEAfu3x0qzeTjgvpdNrxHEdQWi7zWiW59hRadmiImc14uJJYIwVK5q/QLugrsdGFQ==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/collect-updates": "5.6.2", "@lerna/command": "5.6.2", @@ -2177,9 +2175,8 @@ }, "node_modules/@lerna/check-working-tree": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-5.6.2.tgz", - "integrity": "sha512-6Vf3IB6p+iNIubwVgr8A/KOmGh5xb4SyRmhFtAVqe33yWl2p3yc+mU5nGoz4ET3JLF1T9MhsePj0hNt6qyOTLQ==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/collect-uncommitted": "5.6.2", "@lerna/describe-ref": "5.6.2", @@ -2191,9 +2188,8 @@ }, "node_modules/@lerna/child-process": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/child-process/-/child-process-5.6.2.tgz", - "integrity": "sha512-QIOQ3jIbWdduHd5892fbo3u7/dQgbhzEBB7cvf+Ys/iCPP8UQrBECi1lfRgA4kcTKC2MyMz0SoyXZz/lFcXc3A==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.1.0", "execa": "^5.0.0", @@ -2205,9 +2201,8 @@ }, "node_modules/@lerna/child-process/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -2220,9 +2215,8 @@ }, "node_modules/@lerna/child-process/node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -2236,9 +2230,8 @@ }, "node_modules/@lerna/child-process/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -2248,15 +2241,13 @@ }, "node_modules/@lerna/child-process/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@lerna/child-process/node_modules/execa": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, + "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", @@ -2277,9 +2268,8 @@ }, "node_modules/@lerna/child-process/node_modules/get-stream": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -2289,27 +2279,24 @@ }, "node_modules/@lerna/child-process/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/@lerna/child-process/node_modules/human-signals": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=10.17.0" } }, "node_modules/@lerna/child-process/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -2319,9 +2306,8 @@ }, "node_modules/@lerna/clean": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/clean/-/clean-5.6.2.tgz", - "integrity": "sha512-A7j8r0Hk2pGyLUyaCmx4keNHen1L/KdcOjb4nR6X8GtTJR5AeA47a8rRKOCz9wwdyMPlo2Dau7d3RV9viv7a5g==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/command": "5.6.2", "@lerna/filter-options": "5.6.2", @@ -2338,9 +2324,8 @@ }, "node_modules/@lerna/cli": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/cli/-/cli-5.6.2.tgz", - "integrity": "sha512-w0NRIEqDOmYKlA5t0iyqx0hbY7zcozvApmfvwF0lhkuhf3k6LRAFSamtimGQWicC779a7J2NXw4ASuBV47Fs1Q==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/global-options": "5.6.2", "dedent": "^0.7.0", @@ -2353,9 +2338,8 @@ }, "node_modules/@lerna/cli/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -2366,9 +2350,8 @@ }, "node_modules/@lerna/cli/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -2385,9 +2368,8 @@ }, "node_modules/@lerna/cli/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -2400,9 +2382,8 @@ }, "node_modules/@lerna/collect-uncommitted": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/collect-uncommitted/-/collect-uncommitted-5.6.2.tgz", - "integrity": "sha512-i0jhxpypyOsW2PpPwIw4xg6EPh7/N3YuiI6P2yL7PynZ8nOv8DkIdoyMkhUP4gALjBfckH8Bj94eIaKMviqW4w==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "chalk": "^4.1.0", @@ -2414,9 +2395,8 @@ }, "node_modules/@lerna/collect-uncommitted/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -2429,9 +2409,8 @@ }, "node_modules/@lerna/collect-uncommitted/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -2442,9 +2421,8 @@ }, "node_modules/@lerna/collect-uncommitted/node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -2458,9 +2436,8 @@ }, "node_modules/@lerna/collect-uncommitted/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -2470,15 +2447,13 @@ }, "node_modules/@lerna/collect-uncommitted/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@lerna/collect-uncommitted/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -2495,18 +2470,16 @@ }, "node_modules/@lerna/collect-uncommitted/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/@lerna/collect-uncommitted/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -2519,9 +2492,8 @@ }, "node_modules/@lerna/collect-uncommitted/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -2531,9 +2503,8 @@ }, "node_modules/@lerna/collect-updates": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-5.6.2.tgz", - "integrity": "sha512-DdTK13X6PIsh9HINiMniFeiivAizR/1FBB+hDVe6tOhsXFBfjHMw1xZhXlE+mYIoFmDm1UFK7zvQSexoaxRqFA==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "@lerna/describe-ref": "5.6.2", @@ -2547,9 +2518,8 @@ }, "node_modules/@lerna/collect-updates/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -2560,9 +2530,8 @@ }, "node_modules/@lerna/collect-updates/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -2579,9 +2548,8 @@ }, "node_modules/@lerna/collect-updates/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -2594,9 +2562,8 @@ }, "node_modules/@lerna/command": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/command/-/command-5.6.2.tgz", - "integrity": "sha512-eLVGI9TmxcaGt1M7TXGhhBZoeWOtOedMiH7NuCGHtL6TMJ9k+SCExyx+KpNmE6ImyNOzws6EvYLPLjftiqmoaA==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "@lerna/package-graph": "5.6.2", @@ -2615,9 +2582,8 @@ }, "node_modules/@lerna/command/node_modules/@lerna/package-graph": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-5.6.2.tgz", - "integrity": "sha512-TmL61qBBvA3Tc4qICDirZzdFFwWOA6qicIXUruLiE2PblRowRmCO1bKrrP6XbDOspzwrkPef6N2F2/5gHQAnkQ==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/prerelease-id-from-version": "5.6.2", "@lerna/validation-error": "5.6.2", @@ -2631,9 +2597,8 @@ }, "node_modules/@lerna/command/node_modules/@lerna/prerelease-id-from-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.6.2.tgz", - "integrity": "sha512-7gIm9fecWFVNy2kpj/KbH11bRcpyANAwpsft3X5m6J7y7A6FTUscCbEvl3ZNdpQKHNuvnHgCtkm3A5PMSCEgkA==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.3.4" }, @@ -2643,9 +2608,8 @@ }, "node_modules/@lerna/command/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -2656,15 +2620,13 @@ }, "node_modules/@lerna/command/node_modules/ci-info": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@lerna/command/node_modules/execa": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, + "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", @@ -2685,9 +2647,8 @@ }, "node_modules/@lerna/command/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -2704,9 +2665,8 @@ }, "node_modules/@lerna/command/node_modules/get-stream": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -2716,9 +2676,8 @@ }, "node_modules/@lerna/command/node_modules/hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -2728,18 +2687,16 @@ }, "node_modules/@lerna/command/node_modules/human-signals": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=10.17.0" } }, "node_modules/@lerna/command/node_modules/is-ci": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", "dev": true, + "license": "MIT", "dependencies": { "ci-info": "^2.0.0" }, @@ -2749,9 +2706,8 @@ }, "node_modules/@lerna/command/node_modules/npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^3.0.6", "semver": "^7.0.0", @@ -2763,9 +2719,8 @@ }, "node_modules/@lerna/command/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -2778,9 +2733,8 @@ }, "node_modules/@lerna/command/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -2793,9 +2747,8 @@ }, "node_modules/@lerna/conventional-commits": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-5.6.2.tgz", - "integrity": "sha512-fPrJpYJhxCgY2uyOCTcAAC6+T6lUAtpEGxLbjWHWTb13oKKEygp9THoFpe6SbAD0fYMb3jeZCZCqNofM62rmuA==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/validation-error": "5.6.2", "conventional-changelog-angular": "^5.0.12", @@ -2814,9 +2767,8 @@ }, "node_modules/@lerna/conventional-commits/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -2827,9 +2779,8 @@ }, "node_modules/@lerna/conventional-commits/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -2846,9 +2797,8 @@ }, "node_modules/@lerna/conventional-commits/node_modules/get-stream": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -2858,9 +2808,8 @@ }, "node_modules/@lerna/conventional-commits/node_modules/hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -2870,9 +2819,8 @@ }, "node_modules/@lerna/conventional-commits/node_modules/npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^3.0.6", "semver": "^7.0.0", @@ -2884,9 +2832,8 @@ }, "node_modules/@lerna/conventional-commits/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -2899,9 +2846,8 @@ }, "node_modules/@lerna/conventional-commits/node_modules/pify": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", - "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -2911,9 +2857,8 @@ }, "node_modules/@lerna/conventional-commits/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -2926,9 +2871,8 @@ }, "node_modules/@lerna/create": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/create/-/create-5.6.2.tgz", - "integrity": "sha512-+Y5cMUxMNXjTTU9IHpgRYIwKo39w+blui1P+s+qYlZUSCUAew0xNpOBG8iN0Nc5X9op4U094oIdHxv7Dyz6tWQ==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "@lerna/command": "5.6.2", @@ -2953,9 +2897,8 @@ }, "node_modules/@lerna/create-symlink": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-5.6.2.tgz", - "integrity": "sha512-0WIs3P6ohPVh2+t5axrLZDE5Dt7fe3Kv0Auj0sBiBd6MmKZ2oS76apIl0Bspdbv8jX8+TRKGv6ib0280D0dtEw==", "dev": true, + "license": "MIT", "dependencies": { "cmd-shim": "^5.0.0", "fs-extra": "^9.1.0", @@ -2967,9 +2910,8 @@ }, "node_modules/@lerna/create-symlink/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -2980,9 +2922,8 @@ }, "node_modules/@lerna/create-symlink/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -2999,9 +2940,8 @@ }, "node_modules/@lerna/create-symlink/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -3014,18 +2954,16 @@ }, "node_modules/@lerna/create/node_modules/builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.0.0" } }, "node_modules/@lerna/create/node_modules/hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -3035,9 +2973,8 @@ }, "node_modules/@lerna/create/node_modules/npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^3.0.6", "semver": "^7.0.0", @@ -3049,24 +2986,21 @@ }, "node_modules/@lerna/create/node_modules/npm-package-arg/node_modules/builtins": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", - "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@lerna/create/node_modules/npm-package-arg/node_modules/validate-npm-package-name": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", - "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", "dev": true, + "license": "ISC", "dependencies": { "builtins": "^1.0.3" } }, "node_modules/@lerna/create/node_modules/pify": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", - "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -3076,9 +3010,8 @@ }, "node_modules/@lerna/create/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -3091,9 +3024,8 @@ }, "node_modules/@lerna/create/node_modules/validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, + "license": "ISC", "dependencies": { "builtins": "^5.0.0" }, @@ -3103,9 +3035,8 @@ }, "node_modules/@lerna/describe-ref": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-5.6.2.tgz", - "integrity": "sha512-UqU0N77aT1W8duYGir7R+Sk3jsY/c4lhcCEcnayMpFScMbAp0ETGsW04cYsHK29sgg+ZCc5zEwebBqabWhMhnA==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "npmlog": "^6.0.2" @@ -3116,9 +3047,8 @@ }, "node_modules/@lerna/describe-ref/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -3129,9 +3059,8 @@ }, "node_modules/@lerna/describe-ref/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -3148,9 +3077,8 @@ }, "node_modules/@lerna/describe-ref/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -3163,9 +3091,8 @@ }, "node_modules/@lerna/diff": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/diff/-/diff-5.6.2.tgz", - "integrity": "sha512-aHKzKvUvUI8vOcshC2Za/bdz+plM3r/ycqUrPqaERzp+kc1pYHyPeXezydVdEmgmmwmyKI5hx4+2QNnzOnun2A==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "@lerna/command": "5.6.2", @@ -3178,9 +3105,8 @@ }, "node_modules/@lerna/diff/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -3191,9 +3117,8 @@ }, "node_modules/@lerna/diff/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -3210,9 +3135,8 @@ }, "node_modules/@lerna/diff/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -3225,9 +3149,8 @@ }, "node_modules/@lerna/exec": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/exec/-/exec-5.6.2.tgz", - "integrity": "sha512-meZozok5stK7S0oAVn+kdbTmU+kHj9GTXjW7V8kgwG9ld+JJMTH3nKK1L3mEKyk9TFu9vFWyEOF7HNK6yEOoVg==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "@lerna/command": "5.6.2", @@ -3243,9 +3166,8 @@ }, "node_modules/@lerna/filter-options": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-5.6.2.tgz", - "integrity": "sha512-4Z0HIhPak2TabTsUqEBQaQeOqgqEt0qyskvsY0oviYvqP/nrJfJBZh4H93jIiNQF59LJCn5Ce3KJJrLExxjlzw==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/collect-updates": "5.6.2", "@lerna/filter-packages": "5.6.2", @@ -3258,9 +3180,8 @@ }, "node_modules/@lerna/filter-options/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -3271,9 +3192,8 @@ }, "node_modules/@lerna/filter-options/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -3290,9 +3210,8 @@ }, "node_modules/@lerna/filter-options/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -3363,9 +3282,8 @@ }, "node_modules/@lerna/get-npm-exec-opts": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-5.6.2.tgz", - "integrity": "sha512-0RbSDJ+QC9D5UWZJh3DN7mBIU1NhBmdHOE289oHSkjDY+uEjdzMPkEUy+wZ8fCzMLFnnNQkAEqNaOAzZ7dmFLA==", "dev": true, + "license": "MIT", "dependencies": { "npmlog": "^6.0.2" }, @@ -3375,9 +3293,8 @@ }, "node_modules/@lerna/get-npm-exec-opts/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -3388,9 +3305,8 @@ }, "node_modules/@lerna/get-npm-exec-opts/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -3407,9 +3323,8 @@ }, "node_modules/@lerna/get-npm-exec-opts/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -3422,9 +3337,8 @@ }, "node_modules/@lerna/get-packed": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/get-packed/-/get-packed-5.6.2.tgz", - "integrity": "sha512-pp5nNDmtrtd21aKHjwwOY5CS7XNIHxINzGa+Jholn1jMDYUtdskpN++ZqYbATGpW831++NJuiuBVyqAWi9xbXg==", "dev": true, + "license": "MIT", "dependencies": { "fs-extra": "^9.1.0", "ssri": "^9.0.1", @@ -3436,9 +3350,8 @@ }, "node_modules/@lerna/github-client": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/github-client/-/github-client-5.6.2.tgz", - "integrity": "sha512-pjALazZoRZtKqfwLBwmW3HPptVhQm54PvA8s3qhCQ+3JkqrZiIFwkkxNZxs3jwzr+aaSOzfhSzCndg0urb0GXA==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "@octokit/plugin-enterprise-rest": "^6.0.1", @@ -3452,9 +3365,8 @@ }, "node_modules/@lerna/github-client/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -3465,9 +3377,8 @@ }, "node_modules/@lerna/github-client/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -3484,9 +3395,8 @@ }, "node_modules/@lerna/github-client/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -3499,9 +3409,8 @@ }, "node_modules/@lerna/gitlab-client": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/gitlab-client/-/gitlab-client-5.6.2.tgz", - "integrity": "sha512-TInJmbrsmYIwUyrRxytjO82KjJbRwm67F7LoZs1shAq6rMvNqi4NxSY9j+hT/939alFmEq1zssoy/caeLXHRfQ==", "dev": true, + "license": "MIT", "dependencies": { "node-fetch": "^2.6.1", "npmlog": "^6.0.2" @@ -3512,9 +3421,8 @@ }, "node_modules/@lerna/gitlab-client/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -3525,9 +3433,8 @@ }, "node_modules/@lerna/gitlab-client/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -3544,9 +3451,8 @@ }, "node_modules/@lerna/gitlab-client/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -3559,18 +3465,16 @@ }, "node_modules/@lerna/global-options": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/global-options/-/global-options-5.6.2.tgz", - "integrity": "sha512-kaKELURXTlczthNJskdOvh6GGMyt24qat0xMoJZ8plYMdofJfhz24h1OFcvB/EwCUwP/XV1+ohE5P+vdktbrEg==", "dev": true, + "license": "MIT", "engines": { "node": "^14.15.0 || >=16.0.0" } }, "node_modules/@lerna/has-npm-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/has-npm-version/-/has-npm-version-5.6.2.tgz", - "integrity": "sha512-kXCnSzffmTWsaK0ol30coyCfO8WH26HFbmJjRBzKv7VGkuAIcB6gX2gqRRgNLLlvI+Yrp+JSlpVNVnu15SEH2g==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "semver": "^7.3.4" @@ -3581,9 +3485,8 @@ }, "node_modules/@lerna/has-npm-version/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -3596,9 +3499,8 @@ }, "node_modules/@lerna/import": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/import/-/import-5.6.2.tgz", - "integrity": "sha512-xQUE49mtcP0z3KUdXBsyvp8rGDz6phuYUoQbhcFRJ7WPcQKzMvtm0XYrER6c2YWEX7QOuDac6tU82P8zTrTBaA==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "@lerna/command": "5.6.2", @@ -3615,9 +3517,8 @@ }, "node_modules/@lerna/info": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/info/-/info-5.6.2.tgz", - "integrity": "sha512-MPjY5Olj+fiZHgfEdwXUFRKamdEuLr9Ob/qut8JsB/oQSQ4ALdQfnrOcMT8lJIcC2R67EA5yav2lHPBIkezm8A==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/command": "5.6.2", "@lerna/output": "5.6.2", @@ -3629,9 +3530,8 @@ }, "node_modules/@lerna/init": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/init/-/init-5.6.2.tgz", - "integrity": "sha512-ahU3/lgF+J8kdJAQysihFJROHthkIDXfHmvhw7AYnzf94HjxGNXj7nz6i3At1/dM/1nQhR+4/uNR1/OU4tTYYQ==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "@lerna/command": "5.6.2", @@ -3646,9 +3546,8 @@ }, "node_modules/@lerna/link": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/link/-/link-5.6.2.tgz", - "integrity": "sha512-hXxQ4R3z6rUF1v2x62oIzLyeHL96u7ZBhxqYMJrm763D1VMSDcHKF9CjJfc6J9vH5Z2ZbL6CQg50Hw5mUpJbjg==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/command": "5.6.2", "@lerna/package-graph": "5.6.2", @@ -3663,9 +3562,8 @@ }, "node_modules/@lerna/link/node_modules/@lerna/package-graph": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-5.6.2.tgz", - "integrity": "sha512-TmL61qBBvA3Tc4qICDirZzdFFwWOA6qicIXUruLiE2PblRowRmCO1bKrrP6XbDOspzwrkPef6N2F2/5gHQAnkQ==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/prerelease-id-from-version": "5.6.2", "@lerna/validation-error": "5.6.2", @@ -3679,9 +3577,8 @@ }, "node_modules/@lerna/link/node_modules/@lerna/prerelease-id-from-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.6.2.tgz", - "integrity": "sha512-7gIm9fecWFVNy2kpj/KbH11bRcpyANAwpsft3X5m6J7y7A6FTUscCbEvl3ZNdpQKHNuvnHgCtkm3A5PMSCEgkA==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.3.4" }, @@ -3691,9 +3588,8 @@ }, "node_modules/@lerna/link/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -3704,9 +3600,8 @@ }, "node_modules/@lerna/link/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -3723,9 +3618,8 @@ }, "node_modules/@lerna/link/node_modules/hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -3735,9 +3629,8 @@ }, "node_modules/@lerna/link/node_modules/npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^3.0.6", "semver": "^7.0.0", @@ -3749,9 +3642,8 @@ }, "node_modules/@lerna/link/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -3764,9 +3656,8 @@ }, "node_modules/@lerna/link/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -3779,9 +3670,8 @@ }, "node_modules/@lerna/list": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/list/-/list-5.6.2.tgz", - "integrity": "sha512-WjE5O2tQ3TcS+8LqXUaxi0YdldhxUhNihT5+Gg4vzGdIlrPDioO50Zjo9d8jOU7i3LMIk6EzCma0sZr2CVfEGg==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/command": "5.6.2", "@lerna/filter-options": "5.6.2", @@ -3794,9 +3684,8 @@ }, "node_modules/@lerna/listable": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/listable/-/listable-5.6.2.tgz", - "integrity": "sha512-8Yp49BwkY/5XqVru38Zko+6Wj/sgbwzJfIGEPy3Qu575r1NA/b9eI1gX22aMsEeXUeGOybR7nWT5ewnPQHjqvA==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/query-graph": "5.6.2", "chalk": "^4.1.0", @@ -3808,9 +3697,8 @@ }, "node_modules/@lerna/listable/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -3823,9 +3711,8 @@ }, "node_modules/@lerna/listable/node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -3839,9 +3726,8 @@ }, "node_modules/@lerna/listable/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -3851,24 +3737,21 @@ }, "node_modules/@lerna/listable/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@lerna/listable/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/@lerna/listable/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -3878,9 +3761,8 @@ }, "node_modules/@lerna/log-packed": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/log-packed/-/log-packed-5.6.2.tgz", - "integrity": "sha512-O9GODG7tMtWk+2fufn2MOkIDBYMRoKBhYMHshO5Aw/VIsH76DIxpX1koMzWfUngM/C70R4uNAKcVWineX4qzIw==", "dev": true, + "license": "MIT", "dependencies": { "byte-size": "^7.0.0", "columnify": "^1.6.0", @@ -3893,9 +3775,8 @@ }, "node_modules/@lerna/log-packed/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -3906,9 +3787,8 @@ }, "node_modules/@lerna/log-packed/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -3925,9 +3805,8 @@ }, "node_modules/@lerna/log-packed/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -3940,9 +3819,8 @@ }, "node_modules/@lerna/npm-conf": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/npm-conf/-/npm-conf-5.6.2.tgz", - "integrity": "sha512-gWDPhw1wjXYXphk/PAghTLexO5T6abVFhXb+KOMCeem366mY0F5bM88PiorL73aErTNUoR8n+V4X29NTZzDZpQ==", "dev": true, + "license": "MIT", "dependencies": { "config-chain": "^1.1.12", "pify": "^5.0.0" @@ -3953,9 +3831,8 @@ }, "node_modules/@lerna/npm-conf/node_modules/pify": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", - "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -3965,9 +3842,8 @@ }, "node_modules/@lerna/npm-dist-tag": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-5.6.2.tgz", - "integrity": "sha512-t2RmxV6Eog4acXkUI+EzWuYVbeVVY139pANIWS9qtdajfgp4GVXZi1S8mAIb70yeHdNpCp1mhK0xpCrFH9LvGQ==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/otplease": "5.6.2", "npm-package-arg": "8.1.1", @@ -3980,9 +3856,8 @@ }, "node_modules/@lerna/npm-dist-tag/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -3993,9 +3868,8 @@ }, "node_modules/@lerna/npm-dist-tag/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -4012,9 +3886,8 @@ }, "node_modules/@lerna/npm-dist-tag/node_modules/hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -4024,9 +3897,8 @@ }, "node_modules/@lerna/npm-dist-tag/node_modules/npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^3.0.6", "semver": "^7.0.0", @@ -4038,9 +3910,8 @@ }, "node_modules/@lerna/npm-dist-tag/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -4053,9 +3924,8 @@ }, "node_modules/@lerna/npm-dist-tag/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -4068,9 +3938,8 @@ }, "node_modules/@lerna/npm-install": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/npm-install/-/npm-install-5.6.2.tgz", - "integrity": "sha512-AT226zdEo+uGENd37jwYgdALKJAIJK4pNOfmXWZWzVb9oMOr8I2YSjPYvSYUNG7gOo2YJQU8x5Zd7OShv2924Q==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "@lerna/get-npm-exec-opts": "5.6.2", @@ -4086,9 +3955,8 @@ }, "node_modules/@lerna/npm-install/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -4099,9 +3967,8 @@ }, "node_modules/@lerna/npm-install/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -4118,9 +3985,8 @@ }, "node_modules/@lerna/npm-install/node_modules/hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -4130,9 +3996,8 @@ }, "node_modules/@lerna/npm-install/node_modules/npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^3.0.6", "semver": "^7.0.0", @@ -4144,9 +4009,8 @@ }, "node_modules/@lerna/npm-install/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -4159,9 +4023,8 @@ }, "node_modules/@lerna/npm-install/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -4174,9 +4037,8 @@ }, "node_modules/@lerna/npm-publish": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-5.6.2.tgz", - "integrity": "sha512-ldSyewCfv9fAeC5xNjL0HKGSUxcC048EJoe/B+KRUmd+IPidvZxMEzRu08lSC/q3V9YeUv9ZvRnxATXOM8CffA==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/otplease": "5.6.2", "@lerna/run-lifecycle": "5.6.2", @@ -4193,9 +4055,8 @@ }, "node_modules/@lerna/npm-publish/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -4206,9 +4067,8 @@ }, "node_modules/@lerna/npm-publish/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -4225,9 +4085,8 @@ }, "node_modules/@lerna/npm-publish/node_modules/hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -4237,9 +4096,8 @@ }, "node_modules/@lerna/npm-publish/node_modules/npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^3.0.6", "semver": "^7.0.0", @@ -4251,9 +4109,8 @@ }, "node_modules/@lerna/npm-publish/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -4266,9 +4123,8 @@ }, "node_modules/@lerna/npm-publish/node_modules/pify": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", - "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -4278,9 +4134,8 @@ }, "node_modules/@lerna/npm-publish/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -4293,9 +4148,8 @@ }, "node_modules/@lerna/npm-run-script": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/npm-run-script/-/npm-run-script-5.6.2.tgz", - "integrity": "sha512-MOQoWNcAyJivM8SYp0zELM7vg/Dj07j4YMdxZkey+S1UO0T4/vKBxb575o16hH4WeNzC3Pd7WBlb7C8dLOfNwQ==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "@lerna/get-npm-exec-opts": "5.6.2", @@ -4307,9 +4161,8 @@ }, "node_modules/@lerna/npm-run-script/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -4320,9 +4173,8 @@ }, "node_modules/@lerna/npm-run-script/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -4339,9 +4191,8 @@ }, "node_modules/@lerna/npm-run-script/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -4354,9 +4205,8 @@ }, "node_modules/@lerna/otplease": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/otplease/-/otplease-5.6.2.tgz", - "integrity": "sha512-dGS4lzkEQVTMAgji82jp8RK6UK32wlzrBAO4P4iiVHCUTuwNLsY9oeBXvVXSMrosJnl6Hbe0NOvi43mqSucGoA==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/prompt": "5.6.2" }, @@ -4366,9 +4216,8 @@ }, "node_modules/@lerna/output": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/output/-/output-5.6.2.tgz", - "integrity": "sha512-++d+bfOQwY66yo7q1XuAvRcqtRHCG45e/awP5xQomTZ6R1rhWiZ3whWdc9Z6lF7+UtBB9toSYYffKU/xc3L0yQ==", "dev": true, + "license": "MIT", "dependencies": { "npmlog": "^6.0.2" }, @@ -4378,9 +4227,8 @@ }, "node_modules/@lerna/output/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -4391,9 +4239,8 @@ }, "node_modules/@lerna/output/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -4410,9 +4257,8 @@ }, "node_modules/@lerna/output/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -4425,9 +4271,8 @@ }, "node_modules/@lerna/pack-directory": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-5.6.2.tgz", - "integrity": "sha512-w5Jk5fo+HkN4Le7WMOudTcmAymcf0xPd302TqAQncjXpk0cb8tZbj+5bbNHsGb58GRjOIm5icQbHXooQUxbHhA==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/get-packed": "5.6.2", "@lerna/package": "5.6.2", @@ -4443,9 +4288,8 @@ }, "node_modules/@lerna/pack-directory/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -4456,9 +4300,8 @@ }, "node_modules/@lerna/pack-directory/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -4475,9 +4318,8 @@ }, "node_modules/@lerna/pack-directory/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -4490,9 +4332,8 @@ }, "node_modules/@lerna/package": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/package/-/package-5.6.2.tgz", - "integrity": "sha512-LaOC8moyM5J9WnRiWZkedjOninSclBOJyPqhif6mHb2kCFX6jAroNYzE8KM4cphu8CunHuhI6Ixzswtv+Dultw==", "dev": true, + "license": "MIT", "dependencies": { "load-json-file": "^6.2.0", "npm-package-arg": "8.1.1", @@ -4530,9 +4371,8 @@ }, "node_modules/@lerna/package/node_modules/hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -4542,9 +4382,8 @@ }, "node_modules/@lerna/package/node_modules/npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^3.0.6", "semver": "^7.0.0", @@ -4556,9 +4395,8 @@ }, "node_modules/@lerna/package/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -4582,9 +4420,8 @@ }, "node_modules/@lerna/profiler": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/profiler/-/profiler-5.6.2.tgz", - "integrity": "sha512-okwkagP5zyRIOYTceu/9/esW7UZFt7lyL6q6ZgpSG3TYC5Ay+FXLtS6Xiha/FQdVdumFqKULDWTGovzUlxcwaw==", "dev": true, + "license": "MIT", "dependencies": { "fs-extra": "^9.1.0", "npmlog": "^6.0.2", @@ -4596,9 +4433,8 @@ }, "node_modules/@lerna/profiler/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -4609,9 +4445,8 @@ }, "node_modules/@lerna/profiler/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -4628,9 +4463,8 @@ }, "node_modules/@lerna/profiler/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -4711,9 +4545,8 @@ }, "node_modules/@lerna/prompt": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prompt/-/prompt-5.6.2.tgz", - "integrity": "sha512-4hTNmVYADEr0GJTMegWV+GW6n+dzKx1vN9v2ISqyle283Myv930WxuyO0PeYGqTrkneJsyPreCMovuEGCvZ0iQ==", "dev": true, + "license": "MIT", "dependencies": { "inquirer": "^8.2.4", "npmlog": "^6.0.2" @@ -4724,9 +4557,8 @@ }, "node_modules/@lerna/prompt/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -4737,9 +4569,8 @@ }, "node_modules/@lerna/prompt/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -4756,9 +4587,8 @@ }, "node_modules/@lerna/prompt/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -4771,9 +4601,8 @@ }, "node_modules/@lerna/publish": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/publish/-/publish-5.6.2.tgz", - "integrity": "sha512-QaW0GjMJMuWlRNjeDCjmY/vjriGSWgkLS23yu8VKNtV5U3dt5yIKA3DNGV3HgZACuu45kQxzMDsfLzgzbGNtYA==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/check-working-tree": "5.6.2", "@lerna/child-process": "5.6.2", @@ -4810,9 +4639,8 @@ }, "node_modules/@lerna/publish/node_modules/@lerna/prerelease-id-from-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.6.2.tgz", - "integrity": "sha512-7gIm9fecWFVNy2kpj/KbH11bRcpyANAwpsft3X5m6J7y7A6FTUscCbEvl3ZNdpQKHNuvnHgCtkm3A5PMSCEgkA==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.3.4" }, @@ -4822,9 +4650,8 @@ }, "node_modules/@lerna/publish/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -4835,9 +4662,8 @@ }, "node_modules/@lerna/publish/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -4854,9 +4680,8 @@ }, "node_modules/@lerna/publish/node_modules/hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -4866,9 +4691,8 @@ }, "node_modules/@lerna/publish/node_modules/npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^3.0.6", "semver": "^7.0.0", @@ -4880,9 +4704,8 @@ }, "node_modules/@lerna/publish/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -4895,9 +4718,8 @@ }, "node_modules/@lerna/publish/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -4910,9 +4732,8 @@ }, "node_modules/@lerna/pulse-till-done": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-5.6.2.tgz", - "integrity": "sha512-eA/X1RCxU5YGMNZmbgPi+Kyfx1Q3bn4P9jo/LZy+/NRRr1po3ASXP2GJZ1auBh/9A2ELDvvKTOXCVHqczKC6rA==", "dev": true, + "license": "MIT", "dependencies": { "npmlog": "^6.0.2" }, @@ -4922,9 +4743,8 @@ }, "node_modules/@lerna/pulse-till-done/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -4935,9 +4755,8 @@ }, "node_modules/@lerna/pulse-till-done/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -4954,9 +4773,8 @@ }, "node_modules/@lerna/pulse-till-done/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -4969,9 +4787,8 @@ }, "node_modules/@lerna/query-graph": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/query-graph/-/query-graph-5.6.2.tgz", - "integrity": "sha512-KRngr96yBP8XYDi9/U62fnGO+ZXqm04Qk6a2HtoTr/ha8QvO1s7Tgm0xs/G7qWXDQHZgunWIbmK/LhxM7eFQrw==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/package-graph": "5.6.2" }, @@ -4981,9 +4798,8 @@ }, "node_modules/@lerna/query-graph/node_modules/@lerna/package-graph": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-5.6.2.tgz", - "integrity": "sha512-TmL61qBBvA3Tc4qICDirZzdFFwWOA6qicIXUruLiE2PblRowRmCO1bKrrP6XbDOspzwrkPef6N2F2/5gHQAnkQ==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/prerelease-id-from-version": "5.6.2", "@lerna/validation-error": "5.6.2", @@ -4997,9 +4813,8 @@ }, "node_modules/@lerna/query-graph/node_modules/@lerna/prerelease-id-from-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.6.2.tgz", - "integrity": "sha512-7gIm9fecWFVNy2kpj/KbH11bRcpyANAwpsft3X5m6J7y7A6FTUscCbEvl3ZNdpQKHNuvnHgCtkm3A5PMSCEgkA==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.3.4" }, @@ -5009,9 +4824,8 @@ }, "node_modules/@lerna/query-graph/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -5022,9 +4836,8 @@ }, "node_modules/@lerna/query-graph/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -5041,9 +4854,8 @@ }, "node_modules/@lerna/query-graph/node_modules/hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -5053,9 +4865,8 @@ }, "node_modules/@lerna/query-graph/node_modules/npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^3.0.6", "semver": "^7.0.0", @@ -5067,9 +4878,8 @@ }, "node_modules/@lerna/query-graph/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -5082,9 +4892,8 @@ }, "node_modules/@lerna/query-graph/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -5097,9 +4906,8 @@ }, "node_modules/@lerna/resolve-symlink": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/resolve-symlink/-/resolve-symlink-5.6.2.tgz", - "integrity": "sha512-PDQy+7M8JEFtwIVHJgWvSxHkxJf9zXCENkvIWDB+SsoDPhw9+caewt46bTeP5iGm9pOMu3oZukaWo/TvF7sNjg==", "dev": true, + "license": "MIT", "dependencies": { "fs-extra": "^9.1.0", "npmlog": "^6.0.2", @@ -5111,9 +4919,8 @@ }, "node_modules/@lerna/resolve-symlink/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -5124,9 +4931,8 @@ }, "node_modules/@lerna/resolve-symlink/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -5143,9 +4949,8 @@ }, "node_modules/@lerna/resolve-symlink/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -5158,9 +4963,8 @@ }, "node_modules/@lerna/rimraf-dir": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/rimraf-dir/-/rimraf-dir-5.6.2.tgz", - "integrity": "sha512-jgEfzz7uBUiQKteq3G8MtJiA2D2VoKmZSSY3VSiW/tPOSXYxxSHxEsClQdCeNa6+sYrDNDT8fP6MJ3lPLjDeLA==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/child-process": "5.6.2", "npmlog": "^6.0.2", @@ -5173,9 +4977,8 @@ }, "node_modules/@lerna/rimraf-dir/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -5186,9 +4989,8 @@ }, "node_modules/@lerna/rimraf-dir/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -5205,9 +5007,8 @@ }, "node_modules/@lerna/rimraf-dir/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -5220,9 +5021,8 @@ }, "node_modules/@lerna/run": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/run/-/run-5.6.2.tgz", - "integrity": "sha512-c2kJxdFrNg5KOkrhmgwKKUOsfSrGNlFCe26EttufOJ3xfY0VnXlEw9rHOkTgwtu7969rfCdyaVP1qckMrF1Dgw==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/command": "5.6.2", "@lerna/filter-options": "5.6.2", @@ -5241,9 +5041,8 @@ }, "node_modules/@lerna/run-lifecycle": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/run-lifecycle/-/run-lifecycle-5.6.2.tgz", - "integrity": "sha512-u9gGgq/50Fm8dvfcc/TSHOCAQvzLD7poVanDMhHYWOAqRDnellJEEmA1K/Yka4vZmySrzluahkry9G6jcREt+g==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/npm-conf": "5.6.2", "@npmcli/run-script": "^4.1.7", @@ -5256,9 +5055,8 @@ }, "node_modules/@lerna/run-lifecycle/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -5269,9 +5067,8 @@ }, "node_modules/@lerna/run-lifecycle/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -5288,9 +5085,8 @@ }, "node_modules/@lerna/run-lifecycle/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -5303,9 +5099,8 @@ }, "node_modules/@lerna/run-topologically": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/run-topologically/-/run-topologically-5.6.2.tgz", - "integrity": "sha512-QQ/jGOIsVvUg3izShWsd67RlWYh9UOH2yw97Ol1zySX9+JspCMVQrn9eKq1Pk8twQOFhT87LpT/aaxbTBgREPw==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/query-graph": "5.6.2", "p-queue": "^6.6.2" @@ -5316,9 +5111,8 @@ }, "node_modules/@lerna/symlink-binary": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-5.6.2.tgz", - "integrity": "sha512-Cth+miwYyO81WAmrQbPBrLHuF+F0UUc0el5kRXLH6j5zzaRS3kMM68r40M7MmfH8m3GPi7691UARoWFEotW5jw==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/create-symlink": "5.6.2", "@lerna/package": "5.6.2", @@ -5331,9 +5125,8 @@ }, "node_modules/@lerna/symlink-dependencies": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/symlink-dependencies/-/symlink-dependencies-5.6.2.tgz", - "integrity": "sha512-dUVNQLEcjVOIQiT9OlSAKt0ykjyJPy8l9i4NJDe2/0XYaUjo8PWsxJ0vrutz27jzi2aZUy07ASmowQZEmnLHAw==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/create-symlink": "5.6.2", "@lerna/resolve-symlink": "5.6.2", @@ -5348,9 +5141,8 @@ }, "node_modules/@lerna/temp-write": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/temp-write/-/temp-write-5.6.2.tgz", - "integrity": "sha512-S5ZNVTurSwWBmc9kh5alfSjmO3+BnRT6shYtOlmVIUYqWeYVYA5C1Htj322bbU4CSNCMFK6NQl4qGKL17HMuig==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.15", "is-stream": "^2.0.0", @@ -5361,18 +5153,16 @@ }, "node_modules/@lerna/timer": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/timer/-/timer-5.6.2.tgz", - "integrity": "sha512-AjMOiLc2B+5Nzdd9hNORetAdZ/WK8YNGX/+2ypzM68TMAPfIT5C40hMlSva9Yg4RsBz22REopXgM5s2zQd5ZQA==", "dev": true, + "license": "MIT", "engines": { "node": "^14.15.0 || >=16.0.0" } }, "node_modules/@lerna/validation-error": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/validation-error/-/validation-error-5.6.2.tgz", - "integrity": "sha512-4WlDUHaa+RSJNyJRtX3gVIAPVzjZD2tle8AJ0ZYBfdZnZmG0VlB2pD1FIbOQPK8sY2h5m0cHLRvfLoLncqHvdQ==", "dev": true, + "license": "MIT", "dependencies": { "npmlog": "^6.0.2" }, @@ -5382,9 +5172,8 @@ }, "node_modules/@lerna/validation-error/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -5395,9 +5184,8 @@ }, "node_modules/@lerna/validation-error/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -5414,9 +5202,8 @@ }, "node_modules/@lerna/validation-error/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -5429,9 +5216,8 @@ }, "node_modules/@lerna/version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/version/-/version-5.6.2.tgz", - "integrity": "sha512-odNSR2rTbHW++xMZSQKu/F6Syrd/sUvwDLPaMKktoOSPKmycHt/eWcuQQyACdtc43Iqeu4uQd7PCLsniqOVFrw==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/check-working-tree": "5.6.2", "@lerna/child-process": "5.6.2", @@ -5467,9 +5253,8 @@ }, "node_modules/@lerna/version/node_modules/@lerna/prerelease-id-from-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.6.2.tgz", - "integrity": "sha512-7gIm9fecWFVNy2kpj/KbH11bRcpyANAwpsft3X5m6J7y7A6FTUscCbEvl3ZNdpQKHNuvnHgCtkm3A5PMSCEgkA==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.3.4" }, @@ -5479,9 +5264,8 @@ }, "node_modules/@lerna/version/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -5494,9 +5278,8 @@ }, "node_modules/@lerna/version/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -5507,9 +5290,8 @@ }, "node_modules/@lerna/version/node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -5523,9 +5305,8 @@ }, "node_modules/@lerna/version/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -5535,15 +5316,13 @@ }, "node_modules/@lerna/version/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@lerna/version/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -5560,18 +5339,16 @@ }, "node_modules/@lerna/version/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/@lerna/version/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -5584,9 +5361,8 @@ }, "node_modules/@lerna/version/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -5599,9 +5375,8 @@ }, "node_modules/@lerna/version/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -5611,9 +5386,8 @@ }, "node_modules/@lerna/write-log-file": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-5.6.2.tgz", - "integrity": "sha512-J09l18QnWQ3sXIRwuJkjXY3+KwPR2uO5NgbZGE3GXJK1V/LzOBRMvjGAIbuQHXw25uqe7vpLUpB8drtnFrubCQ==", "dev": true, + "license": "MIT", "dependencies": { "npmlog": "^6.0.2", "write-file-atomic": "^4.0.1" @@ -5624,9 +5398,8 @@ }, "node_modules/@lerna/write-log-file/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -5637,9 +5410,8 @@ }, "node_modules/@lerna/write-log-file/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -5656,9 +5428,8 @@ }, "node_modules/@lerna/write-log-file/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -5671,9 +5442,8 @@ }, "node_modules/@lerna/write-log-file/node_modules/write-file-atomic": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", "dev": true, + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", "signal-exit": "^3.0.7" @@ -5686,6 +5456,10 @@ "version": "3.0.3", "license": "MIT" }, + "node_modules/@linaria/core": { + "version": "3.0.0-beta.13", + "license": "MIT" + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "license": "MIT", @@ -5717,9 +5491,8 @@ }, "node_modules/@npmcli/arborist": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-5.3.0.tgz", - "integrity": "sha512-+rZ9zgL1lnbl8Xbb1NQdMjveOMwj4lIYfcDtyJHHi5x4X8jtR6m8SXooJMZy5vmFVZ8w7A2Bnd/oX9eTuU8w5A==", "dev": true, + "license": "ISC", "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/installed-package-contents": "^1.0.7", @@ -5765,9 +5538,8 @@ }, "node_modules/@npmcli/arborist/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -5778,18 +5550,16 @@ }, "node_modules/@npmcli/arborist/node_modules/builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.0.0" } }, "node_modules/@npmcli/arborist/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -5806,9 +5576,8 @@ }, "node_modules/@npmcli/arborist/node_modules/hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^7.5.1" }, @@ -5818,18 +5587,16 @@ }, "node_modules/@npmcli/arborist/node_modules/hosted-git-info/node_modules/lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/@npmcli/arborist/node_modules/npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^5.0.0", "proc-log": "^2.0.1", @@ -5842,9 +5609,8 @@ }, "node_modules/@npmcli/arborist/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -5857,9 +5623,8 @@ }, "node_modules/@npmcli/arborist/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -5872,9 +5637,8 @@ }, "node_modules/@npmcli/arborist/node_modules/validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, + "license": "ISC", "dependencies": { "builtins": "^5.0.0" }, @@ -5884,9 +5648,8 @@ }, "node_modules/@npmcli/fs": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz", - "integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==", "dev": true, + "license": "ISC", "dependencies": { "@gar/promisify": "^1.1.3", "semver": "^7.3.5" @@ -5897,9 +5660,8 @@ }, "node_modules/@npmcli/fs/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -5912,9 +5674,8 @@ }, "node_modules/@npmcli/git": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-3.0.2.tgz", - "integrity": "sha512-CAcd08y3DWBJqJDpfuVL0uijlq5oaXaOJEKHKc4wqrjd00gkvTZB+nFuLn+doOOKddaQS9JfqtNoFCO2LCvA3w==", "dev": true, + "license": "ISC", "dependencies": { "@npmcli/promise-spawn": "^3.0.0", "lru-cache": "^7.4.4", @@ -5932,18 +5693,16 @@ }, "node_modules/@npmcli/git/node_modules/lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/@npmcli/git/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -5956,9 +5715,8 @@ }, "node_modules/@npmcli/git/node_modules/semver/node_modules/lru-cache": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -5968,9 +5726,8 @@ }, "node_modules/@npmcli/installed-package-contents": { "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz", - "integrity": "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==", "dev": true, + "license": "ISC", "dependencies": { "npm-bundled": "^1.1.1", "npm-normalize-package-bin": "^1.0.1" @@ -5984,9 +5741,8 @@ }, "node_modules/@npmcli/map-workspaces": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@npmcli/map-workspaces/-/map-workspaces-2.0.4.tgz", - "integrity": "sha512-bMo0aAfwhVwqoVM5UzX1DJnlvVvzDCHae821jv48L1EsrYwfOZChlqWYXEtto/+BkBXetPbEWgau++/brh4oVg==", "dev": true, + "license": "ISC", "dependencies": { "@npmcli/name-from-folder": "^1.0.1", "glob": "^8.0.1", @@ -5999,18 +5755,16 @@ }, "node_modules/@npmcli/map-workspaces/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/@npmcli/map-workspaces/node_modules/glob": { "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -6027,9 +5781,8 @@ }, "node_modules/@npmcli/map-workspaces/node_modules/minimatch": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -6039,9 +5792,8 @@ }, "node_modules/@npmcli/metavuln-calculator": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/metavuln-calculator/-/metavuln-calculator-3.1.1.tgz", - "integrity": "sha512-n69ygIaqAedecLeVH3KnO39M6ZHiJ2dEv5A7DGvcqCB8q17BGUgW8QaanIkbWUo2aYGZqJaOORTLAlIvKjNDKA==", "dev": true, + "license": "ISC", "dependencies": { "cacache": "^16.0.0", "json-parse-even-better-errors": "^2.3.1", @@ -6054,9 +5806,8 @@ }, "node_modules/@npmcli/metavuln-calculator/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -6069,10 +5820,8 @@ }, "node_modules/@npmcli/move-file": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-2.0.1.tgz", - "integrity": "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==", - "deprecated": "This functionality has been moved to @npmcli/fs", "dev": true, + "license": "MIT", "dependencies": { "mkdirp": "^1.0.4", "rimraf": "^3.0.2" @@ -6083,24 +5832,21 @@ }, "node_modules/@npmcli/name-from-folder": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/name-from-folder/-/name-from-folder-1.0.1.tgz", - "integrity": "sha512-qq3oEfcLFwNfEYOQ8HLimRGKlD8WSeGEdtUa7hmzpR8Sa7haL1KVQrvgO6wqMjhWFFVjgtrh1gIxDz+P8sjUaA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/@npmcli/node-gyp": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz", - "integrity": "sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A==", "dev": true, + "license": "ISC", "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/@npmcli/package-json": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-2.0.0.tgz", - "integrity": "sha512-42jnZ6yl16GzjWSH7vtrmWyJDGVa/LXPdpN2rcUWolFjc9ON2N3uz0qdBbQACfmhuJZ2lbKYtmK5qx68ZPLHMA==", "dev": true, + "license": "ISC", "dependencies": { "json-parse-even-better-errors": "^2.3.1" }, @@ -6110,9 +5856,8 @@ }, "node_modules/@npmcli/promise-spawn": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-3.0.0.tgz", - "integrity": "sha512-s9SgS+p3a9Eohe68cSI3fi+hpcZUmXq5P7w0kMlAsWVtR7XbK3ptkZqKT2cK1zLDObJ3sR+8P59sJE0w/KTL1g==", "dev": true, + "license": "ISC", "dependencies": { "infer-owner": "^1.0.4" }, @@ -6122,9 +5867,8 @@ }, "node_modules/@npmcli/run-script": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-4.2.1.tgz", - "integrity": "sha512-7dqywvVudPSrRCW5nTHpHgeWnbBtz8cFkOuKrecm6ih+oO9ciydhWt6OF7HlqupRRmB8Q/gECVdB9LMfToJbRg==", "dev": true, + "license": "ISC", "dependencies": { "@npmcli/node-gyp": "^2.0.0", "@npmcli/promise-spawn": "^3.0.0", @@ -6138,18 +5882,16 @@ }, "node_modules/@nrwl/cli": { "version": "15.0.8", - "resolved": "https://registry.npmjs.org/@nrwl/cli/-/cli-15.0.8.tgz", - "integrity": "sha512-3dy3VGcStWuZXUK91FNIoxIHO44DSuE3bPVLLPfYoOgn8pYjhykpdp6RZHoDkN2NhRypzM73q2GCrmBMfizRyA==", "dev": true, + "license": "MIT", "dependencies": { "nx": "15.0.8" } }, "node_modules/@nrwl/devkit": { "version": "15.0.8", - "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-15.0.8.tgz", - "integrity": "sha512-ZZ8lPcjH/hFdGUXJuV8E7sByxOSEBxtm84+bgiwdvViVcr55LHBfDBtcyT/e7U1omLNrvFk1rrbyhX0YSKQigQ==", "dev": true, + "license": "MIT", "dependencies": { "@phenomnomnominal/tsquery": "4.1.1", "ejs": "^3.1.7", @@ -6163,9 +5905,8 @@ }, "node_modules/@nrwl/devkit/node_modules/semver": { "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -6178,9 +5919,8 @@ }, "node_modules/@nrwl/tao": { "version": "15.0.8", - "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-15.0.8.tgz", - "integrity": "sha512-Xr1hq3ZCfdKS5XSf8non5eLVdGLEleKdqBhGzdOFssYaPsCDkbavX5mzySzxeLk+DM9rcOFhwwf0x7JCOiq0bQ==", "dev": true, + "license": "MIT", "dependencies": { "nx": "15.0.8" }, @@ -6190,9 +5930,8 @@ }, "node_modules/@octokit/auth-token": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-3.0.2.tgz", - "integrity": "sha512-pq7CwIMV1kmzkFTimdwjAINCXKTajZErLB4wMLYapR2nuB/Jpr66+05wOTZMSCBXP6n4DdDWT2W19Bm17vU69Q==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/types": "^8.0.0" }, @@ -6202,9 +5941,8 @@ }, "node_modules/@octokit/core": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-4.1.0.tgz", - "integrity": "sha512-Czz/59VefU+kKDy+ZfDwtOIYIkFjExOKf+HA92aiTZJ6EfWpFzYQWw0l54ji8bVmyhc+mGaLUbSUmXazG7z5OQ==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/auth-token": "^3.0.0", "@octokit/graphql": "^5.0.0", @@ -6220,9 +5958,8 @@ }, "node_modules/@octokit/endpoint": { "version": "7.0.3", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-7.0.3.tgz", - "integrity": "sha512-57gRlb28bwTsdNXq+O3JTQ7ERmBTuik9+LelgcLIVfYwf235VHbN9QNo4kXExtp/h8T423cR5iJThKtFYxC7Lw==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/types": "^8.0.0", "is-plain-object": "^5.0.0", @@ -6234,9 +5971,8 @@ }, "node_modules/@octokit/graphql": { "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-5.0.4.tgz", - "integrity": "sha512-amO1M5QUQgYQo09aStR/XO7KAl13xpigcy/kI8/N1PnZYSS69fgte+xA4+c2DISKqUZfsh0wwjc2FaCt99L41A==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/request": "^6.0.0", "@octokit/types": "^8.0.0", @@ -6248,21 +5984,18 @@ }, "node_modules/@octokit/openapi-types": { "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-14.0.0.tgz", - "integrity": "sha512-HNWisMYlR8VCnNurDU6os2ikx0s0VyEjDYHNS/h4cgb8DeOxQ0n72HyinUtdDVxJhFy3FWLGl0DJhfEWk3P5Iw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@octokit/plugin-enterprise-rest": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz", - "integrity": "sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@octokit/plugin-paginate-rest": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-5.0.1.tgz", - "integrity": "sha512-7A+rEkS70pH36Z6JivSlR7Zqepz3KVucEFVDnSrgHXzG7WLAzYwcHZbKdfTXHwuTHbkT1vKvz7dHl1+HNf6Qyw==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/types": "^8.0.0" }, @@ -6275,18 +6008,16 @@ }, "node_modules/@octokit/plugin-request-log": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz", - "integrity": "sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==", "dev": true, + "license": "MIT", "peerDependencies": { "@octokit/core": ">=3" } }, "node_modules/@octokit/plugin-rest-endpoint-methods": { "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-6.7.0.tgz", - "integrity": "sha512-orxQ0fAHA7IpYhG2flD2AygztPlGYNAdlzYz8yrD8NDgelPfOYoRPROfEyIe035PlxvbYrgkfUZIhSBKju/Cvw==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/types": "^8.0.0", "deprecation": "^2.3.1" @@ -6300,9 +6031,8 @@ }, "node_modules/@octokit/request": { "version": "6.2.2", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-6.2.2.tgz", - "integrity": "sha512-6VDqgj0HMc2FUX2awIs+sM6OwLgwHvAi4KCK3mT2H2IKRt6oH9d0fej5LluF5mck1lRR/rFWN0YIDSYXYSylbw==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/endpoint": "^7.0.0", "@octokit/request-error": "^3.0.0", @@ -6317,9 +6047,8 @@ }, "node_modules/@octokit/request-error": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-3.0.2.tgz", - "integrity": "sha512-WMNOFYrSaX8zXWoJg9u/pKgWPo94JXilMLb2VManNOby9EZxrQaBe/QSC4a1TzpAlpxofg2X/jMnCyZgL6y7eg==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/types": "^8.0.0", "deprecation": "^2.0.0", @@ -6331,9 +6060,8 @@ }, "node_modules/@octokit/rest": { "version": "19.0.5", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-19.0.5.tgz", - "integrity": "sha512-+4qdrUFq2lk7Va+Qff3ofREQWGBeoTKNqlJO+FGjFP35ZahP+nBenhZiGdu8USSgmq4Ky3IJ/i4u0xbLqHaeow==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/core": "^4.1.0", "@octokit/plugin-paginate-rest": "^5.0.0", @@ -6346,19 +6074,17 @@ }, "node_modules/@octokit/types": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-8.0.0.tgz", - "integrity": "sha512-65/TPpOJP1i3K4lBJMnWqPUJ6zuOtzhtagDvydAWbEXpbFYA0oMKKyLb95NFZZP0lSh/4b6K+DQlzvYQJQQePg==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/openapi-types": "^14.0.0" } }, "node_modules/@parcel/watcher": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.4.tgz", - "integrity": "sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg==", "dev": true, "hasInstallScript": true, + "license": "MIT", "dependencies": { "node-addon-api": "^3.2.1", "node-gyp-build": "^4.3.0" @@ -6373,9 +6099,8 @@ }, "node_modules/@phenomnomnominal/tsquery": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/@phenomnomnominal/tsquery/-/tsquery-4.1.1.tgz", - "integrity": "sha512-jjMmK1tnZbm1Jq5a7fBliM4gQwjxMU7TFoRNwIyzwlO+eHPRCFv/Nv+H/Gi1jc3WR7QURG8D5d0Tn12YGrUqBQ==", "dev": true, + "license": "MIT", "dependencies": { "esquery": "^1.0.1" }, @@ -6391,10 +6116,56 @@ "url": "https://opencollective.com/popperjs" } }, + "node_modules/@remirror/core-constants": { + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10" + } + }, + "node_modules/@remirror/core-helpers": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@linaria/core": "3.0.0-beta.13", + "@remirror/core-constants": "^2.0.0", + "@remirror/types": "^1.0.0", + "@types/object.omit": "^3.0.0", + "@types/object.pick": "^1.3.1", + "@types/throttle-debounce": "^2.1.0", + "case-anything": "^2.1.10", + "dash-get": "^1.0.2", + "deepmerge": "^4.2.2", + "fast-deep-equal": "^3.1.3", + "make-error": "^1.3.6", + "object.omit": "^3.0.0", + "object.pick": "^1.3.0", + "throttle-debounce": "^3.0.1" + } + }, + "node_modules/@remirror/types": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "type-fest": "^2.0.0" + } + }, + "node_modules/@remirror/types/node_modules/type-fest": { + "version": "2.19.0", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@rollup/plugin-babel": { "version": "5.3.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz", + "integrity": "sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==", "dev": true, - "license": "MIT", "dependencies": { "@babel/helper-module-imports": "^7.10.4", "@rollup/pluginutils": "^3.1.0" @@ -6415,8 +6186,9 @@ }, "node_modules/@rollup/plugin-commonjs": { "version": "21.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-21.1.0.tgz", + "integrity": "sha512-6ZtHx3VHIp2ReNNDxHjuUml6ur+WcQ28N1yHgCQwsbNkQg2suhxGMDQGJOn/KuDxKtd1xuZP5xSTwBA4GQ8hbA==", "dev": true, - "license": "MIT", "dependencies": { "@rollup/pluginutils": "^3.1.0", "commondir": "^1.0.1", @@ -6435,8 +6207,9 @@ }, "node_modules/@rollup/plugin-node-resolve": { "version": "13.3.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.3.0.tgz", + "integrity": "sha512-Lus8rbUo1eEcnS4yTFKLZrVumLPY+YayBdWXgFSHYhTT2iJbMhoaaBL3xl5NCdeRytErGr8tZ0L71BMRmnlwSw==", "dev": true, - "license": "MIT", "dependencies": { "@rollup/pluginutils": "^3.1.0", "@types/resolve": "1.17.1", @@ -6454,8 +6227,9 @@ }, "node_modules/@rollup/pluginutils": { "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", "dev": true, - "license": "MIT", "dependencies": { "@types/estree": "0.0.39", "estree-walker": "^1.0.1", @@ -6468,10 +6242,17 @@ "rollup": "^1.20.0||^2.0.0" } }, + "node_modules/@rollup/pluginutils/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, "node_modules/@rollup/pluginutils/node_modules/estree-walker": { "version": "1.0.1", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true }, "node_modules/@sveltejs/vite-plugin-svelte": { "version": "1.0.0-next.49", @@ -6710,18 +6491,9 @@ "resolved": "packages/html", "link": true }, - "node_modules/@tiptap/prosemirror-tables": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@tiptap/prosemirror-tables/-/prosemirror-tables-1.1.3.tgz", - "integrity": "sha512-Pp7Iyup+kxniDGEvFHX+BRw3et9vys83NVqk6B+PbVAztq64QyX/mY+vzcpFmOsF9/th+Po981igbGUG7C/8hw==", - "dev": true, - "dependencies": { - "prosemirror-keymap": "^1.1.2", - "prosemirror-model": "^1.8.1", - "prosemirror-state": "^1.3.1", - "prosemirror-transform": "^1.2.1", - "prosemirror-view": "^1.13.3" - } + "node_modules/@tiptap/pm": { + "resolved": "packages/pm", + "link": true }, "node_modules/@tiptap/react": { "resolved": "packages/react", @@ -6745,9 +6517,8 @@ }, "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==", "dev": true, + "license": "MIT", "engines": { "node": ">= 10" } @@ -6771,9 +6542,10 @@ } }, "node_modules/@types/estree": { - "version": "0.0.39", - "dev": true, - "license": "MIT" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", + "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==", + "dev": true }, "node_modules/@types/hast": { "version": "2.3.4", @@ -6793,9 +6565,9 @@ "license": "MIT" }, "node_modules/@types/lodash": { - "version": "4.14.187", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.187.tgz", - "integrity": "sha512-MrO/xLXCaUgZy3y96C/iOsaIqZSeupyTImKClHunL5GrmaiII2VwvWmLBu2hwa0Kp0sV19CsyjtrTc/Fx8rg/A==", + "version": "4.14.191", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.191.tgz", + "integrity": "sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==", "dev": true }, "node_modules/@types/minimatch": { @@ -6805,9 +6577,8 @@ }, "node_modules/@types/minimist": { "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/node": { "version": "18.0.0", @@ -6816,9 +6587,16 @@ }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", - "dev": true + "dev": true, + "license": "MIT" + }, + "node_modules/@types/object.omit": { + "version": "3.0.0", + "license": "MIT" + }, + "node_modules/@types/object.pick": { + "version": "1.3.2", + "license": "MIT" }, "node_modules/@types/parse-json": { "version": "4.0.0", @@ -6850,8 +6628,9 @@ }, "node_modules/@types/resolve": { "version": "1.17.1", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", + "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", "dev": true, - "license": "MIT", "dependencies": { "@types/node": "*" } @@ -6871,6 +6650,10 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/throttle-debounce": { + "version": "2.1.0", + "license": "MIT" + }, "node_modules/@types/unist": { "version": "2.0.6", "license": "MIT" @@ -7389,8 +7172,9 @@ }, "node_modules/@yarn-tool/resolve-package": { "version": "1.0.47", + "resolved": "https://registry.npmjs.org/@yarn-tool/resolve-package/-/resolve-package-1.0.47.tgz", + "integrity": "sha512-Zaw58gQxjQceJqhqybJi1oUDaORT8i2GTgwICPs8v/X/Pkx35FXQba69ldHVg5pQZ6YLKpROXgyHvBaCJOFXiA==", "dev": true, - "license": "ISC", "dependencies": { "pkg-dir": "< 6 >= 5", "tslib": "^2", @@ -7399,8 +7183,9 @@ }, "node_modules/@yarn-tool/resolve-package/node_modules/find-up": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, - "license": "MIT", "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" @@ -7414,8 +7199,9 @@ }, "node_modules/@yarn-tool/resolve-package/node_modules/locate-path": { "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, - "license": "MIT", "dependencies": { "p-locate": "^5.0.0" }, @@ -7428,8 +7214,9 @@ }, "node_modules/@yarn-tool/resolve-package/node_modules/p-limit": { "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, - "license": "MIT", "dependencies": { "yocto-queue": "^0.1.0" }, @@ -7442,8 +7229,9 @@ }, "node_modules/@yarn-tool/resolve-package/node_modules/p-locate": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, - "license": "MIT", "dependencies": { "p-limit": "^3.0.2" }, @@ -7456,8 +7244,9 @@ }, "node_modules/@yarn-tool/resolve-package/node_modules/pkg-dir": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-5.0.0.tgz", + "integrity": "sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==", "dev": true, - "license": "MIT", "dependencies": { "find-up": "^5.0.0" }, @@ -7467,15 +7256,13 @@ }, "node_modules/@yarnpkg/lockfile": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", - "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", - "dev": true + "dev": true, + "license": "BSD-2-Clause" }, "node_modules/@yarnpkg/parsers": { "version": "3.0.0-rc.27", - "resolved": "https://registry.npmjs.org/@yarnpkg/parsers/-/parsers-3.0.0-rc.27.tgz", - "integrity": "sha512-qs2wZulOYVjaOS6tYOs3SsR7m/qeHwjPrB5i4JtBJELsgWrEkyL+rJH21RA+fVwttJobAYQqw5Xj5SYLaDK/bQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "js-yaml": "^3.10.0", "tslib": "^2.4.0" @@ -7486,18 +7273,16 @@ }, "node_modules/@yarnpkg/parsers/node_modules/argparse": { "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, + "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" } }, "node_modules/@yarnpkg/parsers/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==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -7508,9 +7293,8 @@ }, "node_modules/@zkochan/js-yaml": { "version": "0.0.6", - "resolved": "https://registry.npmjs.org/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz", - "integrity": "sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -7520,9 +7304,8 @@ }, "node_modules/abbrev": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/acorn": { "version": "8.7.1", @@ -7582,15 +7365,13 @@ }, "node_modules/add-stream": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", - "integrity": "sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==", - "dev": true + "dev": true, + "license": "MIT" }, "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==", "dev": true, + "license": "MIT", "dependencies": { "debug": "4" }, @@ -7600,9 +7381,8 @@ }, "node_modules/agentkeepalive": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.1.tgz", - "integrity": "sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^4.1.0", "depd": "^1.1.2", @@ -7688,6 +7468,11 @@ "node": ">=4" } }, + "node_modules/any-promise": { + "version": "1.3.0", + "dev": true, + "license": "MIT" + }, "node_modules/anymatch": { "version": "3.1.2", "dev": true, @@ -7762,7 +7547,6 @@ }, "node_modules/argparse": { "version": "2.0.1", - "dev": true, "license": "Python-2.0" }, "node_modules/array-differ": { @@ -7775,9 +7559,8 @@ }, "node_modules/array-ify": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", - "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/array-includes": { "version": "3.1.5", @@ -7824,18 +7607,16 @@ }, "node_modules/arrify": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/asap": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/asn1": { "version": "0.2.6", @@ -7881,8 +7662,9 @@ }, "node_modules/atob": { "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", "dev": true, - "license": "(MIT OR Apache-2.0)", "bin": { "atob": "bin/atob.js" }, @@ -7937,9 +7719,8 @@ }, "node_modules/axios": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.1.3.tgz", - "integrity": "sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==", "dev": true, + "license": "MIT", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -7948,9 +7729,8 @@ }, "node_modules/axios/node_modules/form-data": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", "dev": true, + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -7962,9 +7742,8 @@ }, "node_modules/axios/node_modules/proxy-from-env": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/babel-loader": { "version": "8.2.5", @@ -8061,9 +7840,8 @@ }, "node_modules/before-after-hook": { "version": "2.2.3", - "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", - "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/big.js": { "version": "5.2.2", @@ -8075,9 +7853,8 @@ }, "node_modules/bin-links": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-3.0.3.tgz", - "integrity": "sha512-zKdnMPWEdh4F5INR07/eBrodC7QrF5JKvqskjz/ZZRXg5YSAZIbn8zGhbhUrElzHBZ2fvEQdOU59RHcTG3GiwA==", "dev": true, + "license": "ISC", "dependencies": { "cmd-shim": "^5.0.0", "mkdirp-infer-owner": "^2.0.0", @@ -8092,18 +7869,16 @@ }, "node_modules/bin-links/node_modules/npm-normalize-package-bin": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", "dev": true, + "license": "ISC", "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/bin-links/node_modules/write-file-atomic": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", "dev": true, + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", "signal-exit": "^3.0.7" @@ -8122,9 +7897,8 @@ }, "node_modules/bl": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", "dev": true, + "license": "MIT", "dependencies": { "buffer": "^5.5.0", "inherits": "^2.0.4", @@ -8167,8 +7941,9 @@ }, "node_modules/brotli-size": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/brotli-size/-/brotli-size-4.0.0.tgz", + "integrity": "sha512-uA9fOtlTRC0iqKfzff1W34DXUA3GyVqbUaeo3Rw3d4gd1eavKVCETXrn3NzO74W+UVkG3UHu8WxUi+XvKI/huA==", "dev": true, - "license": "MIT", "dependencies": { "duplexer": "0.1.1" }, @@ -8241,8 +8016,9 @@ }, "node_modules/builtin-modules": { "version": "3.3.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", + "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", "dev": true, - "license": "MIT", "engines": { "node": ">=6" }, @@ -8252,17 +8028,31 @@ }, "node_modules/builtins": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-2.0.1.tgz", + "integrity": "sha512-XkkVe5QAb6guWPXTzpSrYpSlN3nqEmrrE2TkAr/tp7idSF6+MONh9WvKrAuR3HiKLvoSgmbs8l1U9IPmMrIoLw==", "dev": true, - "license": "MIT", "dependencies": { "semver": "^6.0.0" } }, + "node_modules/bundle-require": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "load-tsconfig": "^0.2.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "peerDependencies": { + "esbuild": ">=0.13" + } + }, "node_modules/byte-size": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/byte-size/-/byte-size-7.0.1.tgz", - "integrity": "sha512-crQdqyCwhokxwV1UyDzLZanhkugAgft7vt0qbbdt60C6Zf3CAiGmtUCylbtYwrU6loOUw3euGrNtW1J651ot1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } @@ -8275,11 +8065,18 @@ "node": ">= 0.8" } }, + "node_modules/cac": { + "version": "6.7.14", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/cacache": { "version": "16.1.3", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-16.1.3.tgz", - "integrity": "sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ==", "dev": true, + "license": "ISC", "dependencies": { "@npmcli/fs": "^2.1.0", "@npmcli/move-file": "^2.0.0", @@ -8306,18 +8103,16 @@ }, "node_modules/cacache/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/cacache/node_modules/glob": { "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -8334,18 +8129,16 @@ }, "node_modules/cacache/node_modules/lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/cacache/node_modules/minimatch": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -8383,9 +8176,8 @@ }, "node_modules/camelcase": { "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -8400,9 +8192,8 @@ }, "node_modules/camelcase-keys": { "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", "dev": true, + "license": "MIT", "dependencies": { "camelcase": "^5.3.1", "map-obj": "^4.0.0", @@ -8430,6 +8221,16 @@ ], "license": "CC-BY-4.0" }, + "node_modules/case-anything": { + "version": "2.1.10", + "license": "MIT", + "engines": { + "node": ">=12.13" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" + } + }, "node_modules/caseless": { "version": "0.12.0", "dev": true, @@ -8450,9 +8251,8 @@ }, "node_modules/chardet": { "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/check-more-types": { "version": "2.24.0", @@ -8490,9 +8290,8 @@ }, "node_modules/chownr": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } @@ -8531,9 +8330,8 @@ }, "node_modules/cli-spinners": { "version": "2.6.1", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", - "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -8572,18 +8370,16 @@ }, "node_modules/cli-width": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", "dev": true, + "license": "ISC", "engines": { "node": ">= 10" } }, "node_modules/cliui": { "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -8592,18 +8388,16 @@ }, "node_modules/clone": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.8" } }, "node_modules/clone-deep": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", "dev": true, + "license": "MIT", "dependencies": { "is-plain-object": "^2.0.4", "kind-of": "^6.0.2", @@ -8615,9 +8409,8 @@ }, "node_modules/clone-deep/node_modules/is-plain-object": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, + "license": "MIT", "dependencies": { "isobject": "^3.0.1" }, @@ -8627,9 +8420,8 @@ }, "node_modules/cmd-shim": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-5.0.0.tgz", - "integrity": "sha512-qkCtZ59BidfEwHltnJwkyVZn+XQojdAySM1D1gSeh11Z4pW1Kpolkyo53L5noc0nrxmIvyFwTmJRo4xs7FFLPw==", "dev": true, + "license": "ISC", "dependencies": { "mkdirp-infer-owner": "^2.0.0" }, @@ -8710,9 +8502,8 @@ }, "node_modules/columnify": { "version": "1.6.0", - "resolved": "https://registry.npmjs.org/columnify/-/columnify-1.6.0.tgz", - "integrity": "sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q==", "dev": true, + "license": "MIT", "dependencies": { "strip-ansi": "^6.0.1", "wcwidth": "^1.0.0" @@ -8742,9 +8533,8 @@ }, "node_modules/common-ancestor-path": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz", - "integrity": "sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/common-tags": { "version": "1.8.2", @@ -8761,9 +8551,8 @@ }, "node_modules/compare-func": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", - "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", "dev": true, + "license": "MIT", "dependencies": { "array-ify": "^1.0.0", "dot-prop": "^5.1.0" @@ -8771,9 +8560,8 @@ }, "node_modules/compare-func/node_modules/dot-prop": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", "dev": true, + "license": "MIT", "dependencies": { "is-obj": "^2.0.0" }, @@ -8788,12 +8576,11 @@ }, "node_modules/concat-stream": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", - "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", "dev": true, "engines": [ "node >= 6.0" ], + "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", "inherits": "^2.0.3", @@ -8803,9 +8590,8 @@ }, "node_modules/config-chain": { "version": "1.1.13", - "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", - "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", "dev": true, + "license": "MIT", "dependencies": { "ini": "^1.3.4", "proto-list": "~1.2.1" @@ -8813,9 +8599,8 @@ }, "node_modules/config-chain/node_modules/ini": { "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/confusing-browser-globals": { "version": "1.0.11", @@ -8829,9 +8614,8 @@ }, "node_modules/conventional-changelog-angular": { "version": "5.0.13", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", - "integrity": "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==", "dev": true, + "license": "ISC", "dependencies": { "compare-func": "^2.0.0", "q": "^1.5.1" @@ -8842,9 +8626,8 @@ }, "node_modules/conventional-changelog-core": { "version": "4.2.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz", - "integrity": "sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==", "dev": true, + "license": "MIT", "dependencies": { "add-stream": "^1.0.0", "conventional-changelog-writer": "^5.0.0", @@ -8867,18 +8650,16 @@ }, "node_modules/conventional-changelog-preset-loader": { "version": "2.3.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz", - "integrity": "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-writer": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz", - "integrity": "sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==", "dev": true, + "license": "MIT", "dependencies": { "conventional-commits-filter": "^2.0.7", "dateformat": "^3.0.0", @@ -8899,9 +8680,8 @@ }, "node_modules/conventional-commits-filter": { "version": "2.0.7", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", - "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", "dev": true, + "license": "MIT", "dependencies": { "lodash.ismatch": "^4.4.0", "modify-values": "^1.0.0" @@ -8912,9 +8692,8 @@ }, "node_modules/conventional-commits-parser": { "version": "3.2.4", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz", - "integrity": "sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==", "dev": true, + "license": "MIT", "dependencies": { "is-text-path": "^1.0.1", "JSONStream": "^1.0.4", @@ -8932,9 +8711,8 @@ }, "node_modules/conventional-recommended-bump": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz", - "integrity": "sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw==", "dev": true, + "license": "MIT", "dependencies": { "concat-stream": "^2.0.0", "conventional-changelog-preset-loader": "^2.3.4", @@ -9001,8 +8779,12 @@ "node": ">=10" } }, - "node_modules/cross-spawn": { - "version": "7.0.3", + "node_modules/crelt": { + "version": "1.0.5", + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.3", "dev": true, "license": "MIT", "dependencies": { @@ -9055,10 +8837,9 @@ }, "node_modules/cypress": { "version": "10.8.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-10.8.0.tgz", - "integrity": "sha512-QVse0dnLm018hgti2enKMVZR9qbIO488YGX06nH5j3Dg1isL38DwrBtyrax02CANU6y8F4EJUuyW6HJKw1jsFA==", "dev": true, "hasInstallScript": true, + "license": "MIT", "dependencies": { "@cypress/request": "^2.88.10", "@cypress/xvfb": "^1.2.4", @@ -9570,13 +9351,16 @@ }, "node_modules/dargs": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", - "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, + "node_modules/dash-get": { + "version": "1.0.2", + "license": "MIT" + }, "node_modules/dashdash": { "version": "1.14.1", "dev": true, @@ -9590,9 +9374,8 @@ }, "node_modules/dateformat": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", - "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", "dev": true, + "license": "MIT", "engines": { "node": "*" } @@ -9619,27 +9402,24 @@ }, "node_modules/debuglog": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", - "integrity": "sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==", "dev": true, + "license": "MIT", "engines": { "node": "*" } }, "node_modules/decamelize": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/decamelize-keys": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", - "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", "dev": true, + "license": "MIT", "dependencies": { "decamelize": "^1.1.0", "map-obj": "^1.0.0" @@ -9653,17 +9433,17 @@ }, "node_modules/decamelize-keys/node_modules/map-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/decode-uri-component": { - "version": "0.2.0", + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", + "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", "dev": true, - "license": "MIT", "engines": { "node": ">=0.10" } @@ -9680,7 +9460,6 @@ }, "node_modules/deepmerge": { "version": "4.2.2", - "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -9688,9 +9467,8 @@ }, "node_modules/defaults": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", "dev": true, + "license": "MIT", "dependencies": { "clone": "^1.0.2" }, @@ -9700,9 +9478,8 @@ }, "node_modules/define-lazy-prop": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -9749,18 +9526,16 @@ }, "node_modules/depd": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/deprecation": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", - "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/detect-indent": { "version": "6.1.0", @@ -9788,9 +9563,8 @@ }, "node_modules/dezalgo": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", - "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", "dev": true, + "license": "ISC", "dependencies": { "asap": "^2.0.0", "wrappy": "1" @@ -9903,9 +9677,8 @@ }, "node_modules/dotenv": { "version": "10.0.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", - "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=10" } @@ -9930,9 +9703,8 @@ }, "node_modules/ejs": { "version": "3.1.8", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.8.tgz", - "integrity": "sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { "jake": "^10.8.5" }, @@ -9963,9 +9735,8 @@ }, "node_modules/encoding": { "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", "dev": true, + "license": "MIT", "optional": true, "dependencies": { "iconv-lite": "^0.6.2" @@ -9973,9 +9744,8 @@ }, "node_modules/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==", "dev": true, + "license": "MIT", "optional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" @@ -10017,7 +9787,6 @@ }, "node_modules/entities": { "version": "3.0.1", - "dev": true, "license": "BSD-2-Clause", "engines": { "node": ">=0.12" @@ -10028,18 +9797,16 @@ }, "node_modules/env-paths": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/envinfo": { "version": "7.8.1", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", - "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", "dev": true, + "license": "MIT", "bin": { "envinfo": "dist/cli.js" }, @@ -10049,9 +9816,8 @@ }, "node_modules/err-code": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/error-ex": { "version": "1.3.2", @@ -10160,21 +9926,6 @@ "esbuild-windows-arm64": "0.14.47" } }, - "node_modules/esbuild-darwin-arm64": { - "version": "0.14.47", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/escalade": { "version": "3.1.1", "dev": true, @@ -10599,9 +10350,8 @@ }, "node_modules/esprima": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true, + "license": "BSD-2-Clause", "bin": { "esparse": "bin/esparse.js", "esvalidate": "bin/esvalidate.js" @@ -10671,15 +10421,13 @@ }, "node_modules/eventemitter2": { "version": "6.4.7", - "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-6.4.7.tgz", - "integrity": "sha512-tYUSVOGeQPKt/eC1ABfhHy5Xd96N3oIijJvN3O9+TsC28T5V9yX9oEfEK5faP0EFSNVOG97qtAS68GBrQB2hDg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/eventemitter3": { "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/events": { "version": "3.3.0", @@ -10729,9 +10477,8 @@ }, "node_modules/external-editor": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", "dev": true, + "license": "MIT", "dependencies": { "chardet": "^0.7.0", "iconv-lite": "^0.4.24", @@ -10743,9 +10490,8 @@ }, "node_modules/external-editor/node_modules/tmp": { "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "dev": true, + "license": "MIT", "dependencies": { "os-tmpdir": "~1.0.2" }, @@ -10782,7 +10528,6 @@ }, "node_modules/fast-deep-equal": { "version": "3.1.3", - "dev": true, "license": "MIT" }, "node_modules/fast-glob": { @@ -10862,27 +10607,24 @@ }, "node_modules/filelist": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", - "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", "dev": true, + "license": "Apache-2.0", "dependencies": { "minimatch": "^5.0.1" } }, "node_modules/filelist/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/filelist/node_modules/minimatch": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -10929,9 +10671,8 @@ }, "node_modules/flat": { "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", "dev": true, + "license": "BSD-3-Clause", "bin": { "flat": "cli.js" } @@ -10955,8 +10696,6 @@ }, "node_modules/follow-redirects": { "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", "dev": true, "funding": [ { @@ -10964,6 +10703,7 @@ "url": "https://github.com/sponsors/RubenVerborgh" } ], + "license": "MIT", "engines": { "node": ">=4.0" }, @@ -11014,9 +10754,8 @@ }, "node_modules/fs-constants": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fs-extra": { "version": "9.1.0", @@ -11034,9 +10773,8 @@ }, "node_modules/fs-minipass": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", "dev": true, + "license": "ISC", "dependencies": { "minipass": "^3.0.0" }, @@ -11051,8 +10789,10 @@ }, "node_modules/fsevents": { "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", "dev": true, - "license": "MIT", + "hasInstallScript": true, "optional": true, "os": [ "darwin" @@ -11173,9 +10913,8 @@ }, "node_modules/get-caller-file": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true, + "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" } @@ -11195,9 +10934,8 @@ }, "node_modules/get-pkg-repo": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz", - "integrity": "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==", "dev": true, + "license": "MIT", "dependencies": { "@hutson/parse-repository-url": "^3.0.0", "hosted-git-info": "^4.0.0", @@ -11213,9 +10951,8 @@ }, "node_modules/get-pkg-repo/node_modules/readable-stream": { "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "dev": true, + "license": "MIT", "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -11228,18 +10965,16 @@ }, "node_modules/get-pkg-repo/node_modules/string_decoder": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, + "license": "MIT", "dependencies": { "safe-buffer": "~5.1.0" } }, "node_modules/get-pkg-repo/node_modules/through2": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "dev": true, + "license": "MIT", "dependencies": { "readable-stream": "~2.3.6", "xtend": "~4.0.1" @@ -11247,9 +10982,8 @@ }, "node_modules/get-port": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz", - "integrity": "sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -11304,9 +11038,8 @@ }, "node_modules/git-raw-commits": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz", - "integrity": "sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==", "dev": true, + "license": "MIT", "dependencies": { "dargs": "^7.0.0", "lodash": "^4.17.15", @@ -11323,9 +11056,8 @@ }, "node_modules/git-remote-origin-url": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", - "integrity": "sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw==", "dev": true, + "license": "MIT", "dependencies": { "gitconfiglocal": "^1.0.0", "pify": "^2.3.0" @@ -11336,9 +11068,8 @@ }, "node_modules/git-semver-tags": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz", - "integrity": "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==", "dev": true, + "license": "MIT", "dependencies": { "meow": "^8.0.0", "semver": "^6.0.0" @@ -11352,9 +11083,8 @@ }, "node_modules/git-up": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/git-up/-/git-up-7.0.0.tgz", - "integrity": "sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ==", "dev": true, + "license": "MIT", "dependencies": { "is-ssh": "^1.4.0", "parse-url": "^8.1.0" @@ -11362,27 +11092,24 @@ }, "node_modules/git-url-parse": { "version": "13.1.0", - "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-13.1.0.tgz", - "integrity": "sha512-5FvPJP/70WkIprlUZ33bm4UAaFdjcLkJLpWft1BeZKqwR0uhhNGoKwlUaPtVb4LxCSQ++erHapRak9kWGj+FCA==", "dev": true, + "license": "MIT", "dependencies": { "git-up": "^7.0.0" } }, "node_modules/gitconfiglocal": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", - "integrity": "sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==", "dev": true, + "license": "BSD", "dependencies": { "ini": "^1.3.2" } }, "node_modules/gitconfiglocal/node_modules/ini": { "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/glob": { "version": "7.2.3", @@ -11466,8 +11193,9 @@ }, "node_modules/gzip-size": { "version": "5.1.1", + "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-5.1.1.tgz", + "integrity": "sha512-FNHi6mmoHvs1mxZAds4PpdCS6QG8B4C1krxJsMutgxl5t3+GlRTzzI3NEkifXx2pVsOvJdOGSmIgDhQ55FwdPA==", "dev": true, - "license": "MIT", "dependencies": { "duplexer": "^0.1.1", "pify": "^4.0.1" @@ -11478,17 +11206,17 @@ }, "node_modules/gzip-size/node_modules/pify": { "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", "dev": true, - "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/handlebars": { "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", "dev": true, + "license": "MIT", "dependencies": { "minimist": "^1.2.5", "neo-async": "^2.6.0", @@ -11507,9 +11235,8 @@ }, "node_modules/hard-rejection": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -11596,9 +11323,8 @@ }, "node_modules/hosted-git-info": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", - "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -11646,16 +11372,15 @@ } }, "node_modules/http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", "dev": true }, "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==", "dev": true, + "license": "MIT", "dependencies": { "@tootallnate/once": "2", "agent-base": "6", @@ -11680,9 +11405,8 @@ }, "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==", "dev": true, + "license": "MIT", "dependencies": { "agent-base": "6", "debug": "4" @@ -11701,9 +11425,8 @@ }, "node_modules/humanize-ms": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", - "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.0.0" } @@ -11724,9 +11447,8 @@ }, "node_modules/iconv-lite": { "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dev": true, + "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, @@ -11774,9 +11496,8 @@ }, "node_modules/ignore-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-5.0.1.tgz", - "integrity": "sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==", "dev": true, + "license": "ISC", "dependencies": { "minimatch": "^5.0.1" }, @@ -11786,18 +11507,16 @@ }, "node_modules/ignore-walk/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/ignore-walk/node_modules/minimatch": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -11869,9 +11588,8 @@ }, "node_modules/infer-owner": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", - "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/inflight": { "version": "1.0.6", @@ -11896,9 +11614,8 @@ }, "node_modules/init-package-json": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-3.0.2.tgz", - "integrity": "sha512-YhlQPEjNFqlGdzrBfDNRLhvoSgX7iQRgSxgsNknRQ9ITXFT7UMfVMWhBTOh2Y+25lRnGrv5Xz8yZwQ3ACR6T3A==", "dev": true, + "license": "ISC", "dependencies": { "npm-package-arg": "^9.0.1", "promzard": "^0.3.0", @@ -11914,18 +11631,16 @@ }, "node_modules/init-package-json/node_modules/builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.0.0" } }, "node_modules/init-package-json/node_modules/hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^7.5.1" }, @@ -11935,18 +11650,16 @@ }, "node_modules/init-package-json/node_modules/hosted-git-info/node_modules/lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/init-package-json/node_modules/npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^5.0.0", "proc-log": "^2.0.1", @@ -11959,9 +11672,8 @@ }, "node_modules/init-package-json/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -11974,9 +11686,8 @@ }, "node_modules/init-package-json/node_modules/validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, + "license": "ISC", "dependencies": { "builtins": "^5.0.0" }, @@ -11986,9 +11697,8 @@ }, "node_modules/inquirer": { "version": "8.2.5", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", - "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", @@ -12012,9 +11722,8 @@ }, "node_modules/inquirer/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -12027,9 +11736,8 @@ }, "node_modules/inquirer/node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -12043,9 +11751,8 @@ }, "node_modules/inquirer/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -12055,24 +11762,21 @@ }, "node_modules/inquirer/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/inquirer/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/inquirer/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -12102,9 +11806,8 @@ }, "node_modules/ip": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-arrayish": { "version": "0.2.1", @@ -12149,14 +11852,18 @@ } }, "node_modules/is-builtin-module": { - "version": "3.1.0", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", + "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", "dev": true, - "license": "MIT", "dependencies": { - "builtin-modules": "^3.0.0" + "builtin-modules": "^3.3.0" }, "engines": { "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-callable": { @@ -12221,9 +11928,8 @@ }, "node_modules/is-docker": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", "dev": true, + "license": "MIT", "bin": { "is-docker": "cli.js" }, @@ -12234,6 +11940,26 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-extendable": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-extendable/node_modules/is-plain-object": { + "version": "2.0.4", + "license": "MIT", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-extglob": { "version": "2.1.1", "license": "MIT", @@ -12276,23 +12002,22 @@ }, "node_modules/is-interactive": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/is-lambda": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-module": { "version": "1.0.0", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==", + "dev": true }, "node_modules/is-negative-zero": { "version": "2.0.2", @@ -12352,17 +12077,17 @@ }, "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==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-reference": { "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz", + "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", "dev": true, - "license": "MIT", "dependencies": { "@types/estree": "*" } @@ -12395,9 +12120,8 @@ }, "node_modules/is-ssh": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz", - "integrity": "sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==", "dev": true, + "license": "MIT", "dependencies": { "protocols": "^2.0.1" } @@ -12443,9 +12167,8 @@ }, "node_modules/is-text-path": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", - "integrity": "sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==", "dev": true, + "license": "MIT", "dependencies": { "text-extensions": "^1.0.0" }, @@ -12482,9 +12205,8 @@ }, "node_modules/is-wsl": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", "dev": true, + "license": "MIT", "dependencies": { "is-docker": "^2.0.0" }, @@ -12504,9 +12226,7 @@ }, "node_modules/isobject": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -12526,9 +12246,8 @@ }, "node_modules/jake": { "version": "10.8.5", - "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", - "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==", "dev": true, + "license": "Apache-2.0", "dependencies": { "async": "^3.2.3", "chalk": "^4.0.2", @@ -12544,9 +12263,8 @@ }, "node_modules/jake/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -12559,9 +12277,8 @@ }, "node_modules/jake/node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -12575,9 +12292,8 @@ }, "node_modules/jake/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -12587,24 +12303,21 @@ }, "node_modules/jake/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jake/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/jake/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -12647,6 +12360,14 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/joycon": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, "node_modules/js-tokens": { "version": "4.0.0", "dev": true, @@ -12706,9 +12427,8 @@ }, "node_modules/json-stringify-nice": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz", - "integrity": "sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw==", "dev": true, + "license": "ISC", "funding": { "url": "https://github.com/sponsors/isaacs" } @@ -12719,9 +12439,10 @@ "license": "ISC" }, "node_modules/json5": { - "version": "2.2.1", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, - "license": "MIT", "bin": { "json5": "lib/cli.js" }, @@ -12731,8 +12452,7 @@ }, "node_modules/jsonc-parser": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==" + "license": "MIT" }, "node_modules/jsonfile": { "version": "6.1.0", @@ -12747,18 +12467,16 @@ }, "node_modules/jsonparse": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", "dev": true, "engines": [ "node >= 0.2.0" - ] + ], + "license": "MIT" }, "node_modules/JSONStream": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", "dev": true, + "license": "(MIT OR Apache-2.0)", "dependencies": { "jsonparse": "^1.2.0", "through": ">=2.2.7 <3" @@ -12786,21 +12504,18 @@ }, "node_modules/just-diff": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/just-diff/-/just-diff-5.1.1.tgz", - "integrity": "sha512-u8HXJ3HlNrTzY7zrYYKjNEfBlyjqhdBkoyTVdjtn7p02RJD5NvR8rIClzeGA7t+UYP1/7eAkWNLU0+P3QrEqKQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/just-diff-apply": { "version": "5.4.1", - "resolved": "https://registry.npmjs.org/just-diff-apply/-/just-diff-apply-5.4.1.tgz", - "integrity": "sha512-AAV5Jw7tsniWwih8Ly3fXxEZ06y+6p5TwQMsw0dzZ/wPKilzyDgdAnL0Ug4NNIquPUOh1vfFWEHbmXUqM5+o8g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/kind-of": { "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -12823,9 +12538,8 @@ }, "node_modules/lerna": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/lerna/-/lerna-5.6.2.tgz", - "integrity": "sha512-Y0yMPslvnBnTZi7Nrs/gDyYZYauNf61xWNCehISHIORxZmmpoluNkcWTfcyb47is5uJQCv5QJX5xKKubbs+a6w==", "dev": true, + "license": "MIT", "dependencies": { "@lerna/add": "5.6.2", "@lerna/bootstrap": "5.6.2", @@ -12930,9 +12644,8 @@ }, "node_modules/libnpmaccess": { "version": "6.0.4", - "resolved": "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-6.0.4.tgz", - "integrity": "sha512-qZ3wcfIyUoW0+qSFkMBovcTrSGJ3ZeyvpR7d5N9pEYv/kXs8sHP2wiqEIXBKLFrZlmM0kR0RJD7mtfLngtlLag==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^2.0.0", "minipass": "^3.1.1", @@ -12945,18 +12658,16 @@ }, "node_modules/libnpmaccess/node_modules/builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.0.0" } }, "node_modules/libnpmaccess/node_modules/hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^7.5.1" }, @@ -12966,18 +12677,16 @@ }, "node_modules/libnpmaccess/node_modules/hosted-git-info/node_modules/lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/libnpmaccess/node_modules/npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^5.0.0", "proc-log": "^2.0.1", @@ -12990,9 +12699,8 @@ }, "node_modules/libnpmaccess/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -13005,9 +12713,8 @@ }, "node_modules/libnpmaccess/node_modules/validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, + "license": "ISC", "dependencies": { "builtins": "^5.0.0" }, @@ -13017,9 +12724,8 @@ }, "node_modules/libnpmpublish": { "version": "6.0.5", - "resolved": "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-6.0.5.tgz", - "integrity": "sha512-LUR08JKSviZiqrYTDfywvtnsnxr+tOvBU0BF8H+9frt7HMvc6Qn6F8Ubm72g5hDTHbq8qupKfDvDAln2TVPvFg==", "dev": true, + "license": "ISC", "dependencies": { "normalize-package-data": "^4.0.0", "npm-package-arg": "^9.0.1", @@ -13033,18 +12739,16 @@ }, "node_modules/libnpmpublish/node_modules/builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.0.0" } }, "node_modules/libnpmpublish/node_modules/hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^7.5.1" }, @@ -13054,18 +12758,16 @@ }, "node_modules/libnpmpublish/node_modules/hosted-git-info/node_modules/lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/libnpmpublish/node_modules/normalize-package-data": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-4.0.1.tgz", - "integrity": "sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^5.0.0", "is-core-module": "^2.8.1", @@ -13078,9 +12780,8 @@ }, "node_modules/libnpmpublish/node_modules/npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^5.0.0", "proc-log": "^2.0.1", @@ -13093,9 +12794,8 @@ }, "node_modules/libnpmpublish/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -13108,9 +12808,8 @@ }, "node_modules/libnpmpublish/node_modules/validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, + "license": "ISC", "dependencies": { "builtins": "^5.0.0" }, @@ -13131,6 +12830,13 @@ "dev": true, "license": "MIT" }, + "node_modules/linkify-it": { + "version": "4.0.1", + "license": "MIT", + "dependencies": { + "uc.micro": "^1.0.1" + } + }, "node_modules/linkifyjs": { "version": "3.0.5", "license": "MIT" @@ -13568,6 +13274,14 @@ "node": ">=8" } }, + "node_modules/load-tsconfig": { + "version": "0.2.3", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, "node_modules/loader-runner": { "version": "4.3.0", "dev": true, @@ -13578,9 +13292,8 @@ }, "node_modules/loader-utils": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", - "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", "dev": true, + "license": "MIT", "dependencies": { "big.js": "^5.2.2", "emojis-list": "^3.0.0", @@ -13622,9 +13335,8 @@ }, "node_modules/lodash.ismatch": { "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", - "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.merge": { "version": "4.6.2", @@ -13641,6 +13353,11 @@ "dev": true, "license": "MIT" }, + "node_modules/lodash.sortby": { + "version": "4.7.0", + "dev": true, + "license": "MIT" + }, "node_modules/lodash.topath": { "version": "4.5.2", "dev": true, @@ -13858,11 +13575,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/make-error": { + "version": "1.3.6", + "license": "ISC" + }, "node_modules/make-fetch-happen": { "version": "10.2.1", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", - "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==", "dev": true, + "license": "ISC", "dependencies": { "agentkeepalive": "^4.2.1", "cacache": "^16.1.0", @@ -13887,18 +13607,16 @@ }, "node_modules/make-fetch-happen/node_modules/lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/map-obj": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -13906,11 +13624,28 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/markdown-it": { + "version": "13.0.1", + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1", + "entities": "~3.0.1", + "linkify-it": "^4.0.1", + "mdurl": "^1.0.1", + "uc.micro": "^1.0.5" + }, + "bin": { + "markdown-it": "bin/markdown-it.js" + } + }, + "node_modules/mdurl": { + "version": "1.0.1", + "license": "MIT" + }, "node_modules/meow": { "version": "8.1.2", - "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", - "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", "dev": true, + "license": "MIT", "dependencies": { "@types/minimist": "^1.2.0", "camelcase-keys": "^6.2.2", @@ -13933,9 +13668,8 @@ }, "node_modules/meow/node_modules/find-up": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -13946,15 +13680,13 @@ }, "node_modules/meow/node_modules/hosted-git-info": { "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/meow/node_modules/locate-path": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^4.1.0" }, @@ -13964,9 +13696,8 @@ }, "node_modules/meow/node_modules/p-limit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -13979,9 +13710,8 @@ }, "node_modules/meow/node_modules/p-locate": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^2.2.0" }, @@ -13991,18 +13721,16 @@ }, "node_modules/meow/node_modules/p-try": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/meow/node_modules/read-pkg": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", "dev": true, + "license": "MIT", "dependencies": { "@types/normalize-package-data": "^2.4.0", "normalize-package-data": "^2.5.0", @@ -14015,9 +13743,8 @@ }, "node_modules/meow/node_modules/read-pkg-up": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^4.1.0", "read-pkg": "^5.2.0", @@ -14032,18 +13759,16 @@ }, "node_modules/meow/node_modules/read-pkg-up/node_modules/type-fest": { "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=8" } }, "node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data": { "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", @@ -14053,27 +13778,24 @@ }, "node_modules/meow/node_modules/read-pkg/node_modules/type-fest": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=8" } }, "node_modules/meow/node_modules/semver": { "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver" } }, "node_modules/meow/node_modules/type-fest": { "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -14133,9 +13855,8 @@ }, "node_modules/min-indent": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -14152,15 +13873,18 @@ } }, "node_modules/minimist": { - "version": "1.2.6", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", "dev": true, - "license": "MIT" + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/minimist-options": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", "dev": true, + "license": "MIT", "dependencies": { "arrify": "^1.0.1", "is-plain-obj": "^1.1.0", @@ -14172,9 +13896,8 @@ }, "node_modules/minipass": { "version": "3.3.4", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.4.tgz", - "integrity": "sha512-I9WPbWHCGu8W+6k1ZiGpPu0GkoKBeorkfKNuAFBNS1HNFJvke82sxvI5bzcCNpWPorkOO5QQ+zomzzwRxejXiw==", "dev": true, + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -14184,9 +13907,8 @@ }, "node_modules/minipass-collect": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", - "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", "dev": true, + "license": "ISC", "dependencies": { "minipass": "^3.0.0" }, @@ -14196,9 +13918,8 @@ }, "node_modules/minipass-fetch": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz", - "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==", "dev": true, + "license": "MIT", "dependencies": { "minipass": "^3.1.6", "minipass-sized": "^1.0.3", @@ -14213,9 +13934,8 @@ }, "node_modules/minipass-flush": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", - "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", "dev": true, + "license": "ISC", "dependencies": { "minipass": "^3.0.0" }, @@ -14225,9 +13945,8 @@ }, "node_modules/minipass-json-stream": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz", - "integrity": "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==", "dev": true, + "license": "MIT", "dependencies": { "jsonparse": "^1.3.1", "minipass": "^3.0.0" @@ -14235,9 +13954,8 @@ }, "node_modules/minipass-pipeline": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", - "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", "dev": true, + "license": "ISC", "dependencies": { "minipass": "^3.0.0" }, @@ -14247,9 +13965,8 @@ }, "node_modules/minipass-sized": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", - "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", "dev": true, + "license": "ISC", "dependencies": { "minipass": "^3.0.0" }, @@ -14259,9 +13976,8 @@ }, "node_modules/minizlib": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", "dev": true, + "license": "MIT", "dependencies": { "minipass": "^3.0.0", "yallist": "^4.0.0" @@ -14272,9 +13988,8 @@ }, "node_modules/mkdirp": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "dev": true, + "license": "MIT", "bin": { "mkdirp": "bin/cmd.js" }, @@ -14284,9 +13999,8 @@ }, "node_modules/mkdirp-infer-owner": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz", - "integrity": "sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw==", "dev": true, + "license": "ISC", "dependencies": { "chownr": "^2.0.0", "infer-owner": "^1.0.4", @@ -14309,9 +14023,8 @@ }, "node_modules/modify-values": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", - "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -14348,9 +14061,18 @@ }, "node_modules/mute-stream": { "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", - "dev": true + "dev": true, + "license": "ISC" + }, + "node_modules/mz": { + "version": "2.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } }, "node_modules/nanoid": { "version": "3.3.4", @@ -14370,9 +14092,8 @@ }, "node_modules/negotiator": { "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -14384,9 +14105,8 @@ }, "node_modules/node-addon-api": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", - "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/node-emoji": { "version": "1.11.0", @@ -14398,9 +14118,8 @@ }, "node_modules/node-fetch": { "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", "dev": true, + "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -14418,9 +14137,8 @@ }, "node_modules/node-gyp": { "version": "9.3.0", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.3.0.tgz", - "integrity": "sha512-A6rJWfXFz7TQNjpldJ915WFb1LnhO4lIve3ANPbWreuEoLoKlFT3sxIepPBkLhM27crW8YmN+pjlgbasH6cH/Q==", "dev": true, + "license": "MIT", "dependencies": { "env-paths": "^2.2.0", "glob": "^7.1.4", @@ -14442,9 +14160,8 @@ }, "node_modules/node-gyp-build": { "version": "4.5.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.5.0.tgz", - "integrity": "sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg==", "dev": true, + "license": "MIT", "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", @@ -14453,9 +14170,8 @@ }, "node_modules/node-gyp/node_modules/are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -14466,9 +14182,8 @@ }, "node_modules/node-gyp/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -14485,9 +14200,8 @@ }, "node_modules/node-gyp/node_modules/nopt": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", - "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", "dev": true, + "license": "ISC", "dependencies": { "abbrev": "^1.0.0" }, @@ -14500,9 +14214,8 @@ }, "node_modules/node-gyp/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -14515,9 +14228,8 @@ }, "node_modules/node-gyp/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -14535,9 +14247,8 @@ }, "node_modules/nopt": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", "dev": true, + "license": "ISC", "dependencies": { "abbrev": "1" }, @@ -14550,9 +14261,8 @@ }, "node_modules/normalize-package-data": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^4.0.1", "is-core-module": "^2.5.0", @@ -14565,9 +14275,8 @@ }, "node_modules/normalize-package-data/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -14596,18 +14305,16 @@ }, "node_modules/npm-bundled": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz", - "integrity": "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==", "dev": true, + "license": "ISC", "dependencies": { "npm-normalize-package-bin": "^1.0.1" } }, "node_modules/npm-install-checks": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-5.0.0.tgz", - "integrity": "sha512-65lUsMI8ztHCxFz5ckCEC44DRvEGdZX5usQFriauxHEwt7upv1FKaQEmAtU0YnOAdwuNWCmk64xYiQABNrEyLA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "semver": "^7.1.1" }, @@ -14617,9 +14324,8 @@ }, "node_modules/npm-install-checks/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -14632,9 +14338,8 @@ }, "node_modules/npm-normalize-package-bin": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", - "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/npm-package-arg": { "version": "6.1.1", @@ -14662,9 +14367,8 @@ }, "node_modules/npm-packlist": { "version": "5.1.3", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-5.1.3.tgz", - "integrity": "sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==", "dev": true, + "license": "ISC", "dependencies": { "glob": "^8.0.1", "ignore-walk": "^5.0.1", @@ -14680,18 +14384,16 @@ }, "node_modules/npm-packlist/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/npm-packlist/node_modules/glob": { "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -14708,9 +14410,8 @@ }, "node_modules/npm-packlist/node_modules/minimatch": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -14720,9 +14421,8 @@ }, "node_modules/npm-packlist/node_modules/npm-bundled": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-2.0.1.tgz", - "integrity": "sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==", "dev": true, + "license": "ISC", "dependencies": { "npm-normalize-package-bin": "^2.0.0" }, @@ -14732,18 +14432,16 @@ }, "node_modules/npm-packlist/node_modules/npm-normalize-package-bin": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", "dev": true, + "license": "ISC", "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/npm-pick-manifest": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-7.0.2.tgz", - "integrity": "sha512-gk37SyRmlIjvTfcYl6RzDbSmS9Y4TOBXfsPnoYqTHARNgWbyDiCSMLUpmALDj4jjcTZpURiEfsSHJj9k7EV4Rw==", "dev": true, + "license": "ISC", "dependencies": { "npm-install-checks": "^5.0.0", "npm-normalize-package-bin": "^2.0.0", @@ -14756,18 +14454,16 @@ }, "node_modules/npm-pick-manifest/node_modules/builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.0.0" } }, "node_modules/npm-pick-manifest/node_modules/hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^7.5.1" }, @@ -14777,27 +14473,24 @@ }, "node_modules/npm-pick-manifest/node_modules/hosted-git-info/node_modules/lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/npm-pick-manifest/node_modules/npm-normalize-package-bin": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", "dev": true, + "license": "ISC", "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/npm-pick-manifest/node_modules/npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^5.0.0", "proc-log": "^2.0.1", @@ -14810,9 +14503,8 @@ }, "node_modules/npm-pick-manifest/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -14825,9 +14517,8 @@ }, "node_modules/npm-pick-manifest/node_modules/validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, + "license": "ISC", "dependencies": { "builtins": "^5.0.0" }, @@ -14837,9 +14528,8 @@ }, "node_modules/npm-registry-fetch": { "version": "13.3.1", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-13.3.1.tgz", - "integrity": "sha512-eukJPi++DKRTjSBRcDZSDDsGqRK3ehbxfFUcgaRd0Yp6kRwOwh2WVn0r+8rMB4nnuzvAk6rQVzl6K5CkYOmnvw==", "dev": true, + "license": "ISC", "dependencies": { "make-fetch-happen": "^10.0.6", "minipass": "^3.1.6", @@ -14855,18 +14545,16 @@ }, "node_modules/npm-registry-fetch/node_modules/builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.0.0" } }, "node_modules/npm-registry-fetch/node_modules/hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^7.5.1" }, @@ -14876,18 +14564,16 @@ }, "node_modules/npm-registry-fetch/node_modules/hosted-git-info/node_modules/lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/npm-registry-fetch/node_modules/npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^5.0.0", "proc-log": "^2.0.1", @@ -14900,9 +14586,8 @@ }, "node_modules/npm-registry-fetch/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -14915,9 +14600,8 @@ }, "node_modules/npm-registry-fetch/node_modules/validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, + "license": "ISC", "dependencies": { "builtins": "^5.0.0" }, @@ -14968,10 +14652,9 @@ }, "node_modules/nx": { "version": "15.0.8", - "resolved": "https://registry.npmjs.org/nx/-/nx-15.0.8.tgz", - "integrity": "sha512-LywcMYwZ3acEoRccUq3WBYbfeX+uGm8dyQjVLFPC1caziYZTpvQCb/BtZgLVXpZKexa2wYDXDkHuhb2pcaYcYw==", "dev": true, "hasInstallScript": true, + "license": "MIT", "dependencies": { "@nrwl/cli": "15.0.8", "@nrwl/tao": "15.0.8", @@ -15027,9 +14710,8 @@ }, "node_modules/nx/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -15042,9 +14724,8 @@ }, "node_modules/nx/node_modules/chalk": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", - "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -15058,9 +14739,8 @@ }, "node_modules/nx/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -15070,15 +14750,13 @@ }, "node_modules/nx/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/nx/node_modules/fast-glob": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", - "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -15092,9 +14770,8 @@ }, "node_modules/nx/node_modules/fs-extra": { "version": "10.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -15106,9 +14783,8 @@ }, "node_modules/nx/node_modules/glob": { "version": "7.1.4", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", - "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -15123,18 +14799,16 @@ }, "node_modules/nx/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/nx/node_modules/minimatch": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -15144,9 +14818,8 @@ }, "node_modules/nx/node_modules/semver": { "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -15159,9 +14832,8 @@ }, "node_modules/nx/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -15171,9 +14843,8 @@ }, "node_modules/nx/node_modules/yargs": { "version": "17.6.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.2.tgz", - "integrity": "sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", @@ -15189,18 +14860,16 @@ }, "node_modules/nx/node_modules/yargs-parser": { "version": "21.0.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.1.tgz", - "integrity": "sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/nx/node_modules/yargs/node_modules/cliui": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", @@ -15212,9 +14881,8 @@ }, "node_modules/nx/node_modules/yargs/node_modules/yargs-parser": { "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } @@ -15281,6 +14949,26 @@ "node": ">= 0.4" } }, + "node_modules/object.omit": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "is-extendable": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object.pick": { + "version": "1.3.0", + "license": "MIT", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/object.values": { "version": "1.1.5", "dev": true, @@ -15321,9 +15009,8 @@ }, "node_modules/open": { "version": "8.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", - "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", "dev": true, + "license": "MIT", "dependencies": { "define-lazy-prop": "^2.0.0", "is-docker": "^2.1.1", @@ -15354,9 +15041,8 @@ }, "node_modules/ora": { "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", "dev": true, + "license": "MIT", "dependencies": { "bl": "^4.1.0", "chalk": "^4.1.0", @@ -15377,9 +15063,8 @@ }, "node_modules/ora/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -15392,9 +15077,8 @@ }, "node_modules/ora/node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -15408,9 +15092,8 @@ }, "node_modules/ora/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -15420,24 +15103,21 @@ }, "node_modules/ora/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/ora/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/ora/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -15481,9 +15161,8 @@ }, "node_modules/p-finally": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -15526,18 +15205,16 @@ }, "node_modules/p-map-series": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map-series/-/p-map-series-2.1.0.tgz", - "integrity": "sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/p-pipe": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz", - "integrity": "sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -15547,9 +15224,8 @@ }, "node_modules/p-queue": { "version": "6.6.2", - "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", - "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", "dev": true, + "license": "MIT", "dependencies": { "eventemitter3": "^4.0.4", "p-timeout": "^3.2.0" @@ -15563,18 +15239,16 @@ }, "node_modules/p-reduce": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz", - "integrity": "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/p-timeout": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", - "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", "dev": true, + "license": "MIT", "dependencies": { "p-finally": "^1.0.0" }, @@ -15592,9 +15266,8 @@ }, "node_modules/p-waterfall": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/p-waterfall/-/p-waterfall-2.1.1.tgz", - "integrity": "sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw==", "dev": true, + "license": "MIT", "dependencies": { "p-reduce": "^2.0.0" }, @@ -15607,9 +15280,8 @@ }, "node_modules/pacote": { "version": "13.6.2", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-13.6.2.tgz", - "integrity": "sha512-Gu8fU3GsvOPkak2CkbojR7vjs3k3P9cA6uazKTHdsdV0gpCEQq2opelnEv30KRQWgVzP5Vd/5umjcedma3MKtg==", "dev": true, + "license": "ISC", "dependencies": { "@npmcli/git": "^3.0.0", "@npmcli/installed-package-contents": "^1.0.7", @@ -15642,18 +15314,16 @@ }, "node_modules/pacote/node_modules/builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.0.0" } }, "node_modules/pacote/node_modules/hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^7.5.1" }, @@ -15663,18 +15333,16 @@ }, "node_modules/pacote/node_modules/hosted-git-info/node_modules/lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/pacote/node_modules/npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, + "license": "ISC", "dependencies": { "hosted-git-info": "^5.0.0", "proc-log": "^2.0.1", @@ -15687,9 +15355,8 @@ }, "node_modules/pacote/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -15702,9 +15369,8 @@ }, "node_modules/pacote/node_modules/validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, + "license": "ISC", "dependencies": { "builtins": "^5.0.0" }, @@ -15725,9 +15391,8 @@ }, "node_modules/parse-conflict-json": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/parse-conflict-json/-/parse-conflict-json-2.0.2.tgz", - "integrity": "sha512-jDbRGb00TAPFsKWCpZZOT93SxVP9nONOSgES3AevqRq/CHvavEBvKAjxX9p5Y5F0RZLxH9Ufd9+RwtCsa+lFDA==", "dev": true, + "license": "ISC", "dependencies": { "json-parse-even-better-errors": "^2.3.1", "just-diff": "^5.0.1", @@ -15756,18 +15421,16 @@ }, "node_modules/parse-path": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-7.0.0.tgz", - "integrity": "sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog==", "dev": true, + "license": "MIT", "dependencies": { "protocols": "^2.0.0" } }, "node_modules/parse-url": { "version": "8.1.0", - "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-8.1.0.tgz", - "integrity": "sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w==", "dev": true, + "license": "MIT", "dependencies": { "parse-path": "^7.0.0" } @@ -15789,9 +15452,10 @@ } }, "node_modules/path-is-network-drive": { - "version": "1.0.15", + "version": "1.0.20", + "resolved": "https://registry.npmjs.org/path-is-network-drive/-/path-is-network-drive-1.0.20.tgz", + "integrity": "sha512-p5wCWlRB4+ggzxWshqHH9aF3kAuVu295NaENXmVhThbZPJQBeJdxZTP6CIoUR+kWHDUW56S9YcaO1gXnc/BOxw==", "dev": true, - "license": "ISC", "dependencies": { "tslib": "^2" } @@ -15810,9 +15474,10 @@ "license": "MIT" }, "node_modules/path-strip-sep": { - "version": "1.0.12", + "version": "1.0.17", + "resolved": "https://registry.npmjs.org/path-strip-sep/-/path-strip-sep-1.0.17.tgz", + "integrity": "sha512-+2zIC2fNgdilgV7pTrktY6oOxxZUo9x5zJYfTzxsGze5kSGDDwhA5/0WlBn+sUyv/WuuyYn3OfM+Ue5nhdQUgA==", "dev": true, - "license": "ISC", "dependencies": { "tslib": "^2" } @@ -15869,6 +15534,14 @@ "node": ">=0.10.0" } }, + "node_modules/pirates": { + "version": "4.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, "node_modules/pkg-dir": { "version": "4.2.0", "dev": true, @@ -16067,9 +15740,8 @@ }, "node_modules/proc-log": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-2.0.1.tgz", - "integrity": "sha512-Kcmo2FhfDTXdcbfDH76N7uBYHINxc/8GW7UAVuVP9I+Va3uHSerrnKV6dLooga/gh7GlgzuCCr/eoldnL1muGw==", "dev": true, + "license": "ISC", "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } @@ -16081,33 +15753,29 @@ }, "node_modules/promise-all-reject-late": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz", - "integrity": "sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw==", "dev": true, + "license": "ISC", "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/promise-call-limit": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-call-limit/-/promise-call-limit-1.0.1.tgz", - "integrity": "sha512-3+hgaa19jzCGLuSCbieeRsu5C2joKfYn8pY6JAuXFRVfF4IO+L7UPpFWNTeWT9pM7uhskvbPPd/oEOktCn317Q==", "dev": true, + "license": "ISC", "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/promise-inflight": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/promise-retry": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", - "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", "dev": true, + "license": "MIT", "dependencies": { "err-code": "^2.0.2", "retry": "^0.12.0" @@ -16118,18 +15786,29 @@ }, "node_modules/promzard": { "version": "0.3.0", - "resolved": "https://registry.npmjs.org/promzard/-/promzard-0.3.0.tgz", - "integrity": "sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw==", "dev": true, + "license": "ISC", "dependencies": { "read": "1" } }, + "node_modules/prosemirror-changeset": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "prosemirror-transform": "^1.0.0" + } + }, + "node_modules/prosemirror-collab": { + "version": "1.3.0", + "license": "MIT", + "dependencies": { + "prosemirror-state": "^1.0.0" + } + }, "node_modules/prosemirror-commands": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/prosemirror-commands/-/prosemirror-commands-1.3.1.tgz", - "integrity": "sha512-XTporPgoECkOQACVw0JTe3RZGi+fls3/byqt+tXwGTkD7qLuB4KdVrJamDMJf4kfKga3uB8hZ+kUUyZ5oWpnfg==", - "dev": true, + "license": "MIT", "dependencies": { "prosemirror-model": "^1.0.0", "prosemirror-state": "^1.0.0", @@ -16138,7 +15817,6 @@ }, "node_modules/prosemirror-dropcursor": { "version": "1.5.0", - "dev": true, "license": "MIT", "dependencies": { "prosemirror-state": "^1.0.0", @@ -16148,9 +15826,7 @@ }, "node_modules/prosemirror-gapcursor": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/prosemirror-gapcursor/-/prosemirror-gapcursor-1.3.1.tgz", - "integrity": "sha512-GKTeE7ZoMsx5uVfc51/ouwMFPq0o8YrZ7Hx4jTF4EeGbXxBveUV8CGv46mSHuBBeXGmvu50guoV2kSnOeZZnUA==", - "dev": true, + "license": "MIT", "dependencies": { "prosemirror-keymap": "^1.0.0", "prosemirror-model": "^1.0.0", @@ -16160,7 +15836,6 @@ }, "node_modules/prosemirror-history": { "version": "1.3.0", - "dev": true, "license": "MIT", "dependencies": { "prosemirror-state": "^1.2.2", @@ -16168,27 +15843,57 @@ "rope-sequence": "^1.3.0" } }, + "node_modules/prosemirror-inputrules": { + "version": "1.2.0", + "license": "MIT", + "dependencies": { + "prosemirror-state": "^1.0.0", + "prosemirror-transform": "^1.0.0" + } + }, "node_modules/prosemirror-keymap": { "version": "1.2.0", - "dev": true, "license": "MIT", "dependencies": { "prosemirror-state": "^1.0.0", "w3c-keyname": "^2.2.0" } }, + "node_modules/prosemirror-markdown": { + "version": "1.10.1", + "license": "MIT", + "dependencies": { + "markdown-it": "^13.0.1", + "prosemirror-model": "^1.0.0" + } + }, + "node_modules/prosemirror-menu": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "crelt": "^1.0.0", + "prosemirror-commands": "^1.0.0", + "prosemirror-history": "^1.0.0", + "prosemirror-state": "^1.0.0" + } + }, "node_modules/prosemirror-model": { - "version": "1.18.1", + "version": "1.19.0", "license": "MIT", "dependencies": { "orderedmap": "^2.0.0" } }, + "node_modules/prosemirror-schema-basic": { + "version": "1.2.1", + "license": "MIT", + "dependencies": { + "prosemirror-model": "^1.19.0" + } + }, "node_modules/prosemirror-schema-list": { "version": "1.2.2", - "resolved": "https://registry.npmjs.org/prosemirror-schema-list/-/prosemirror-schema-list-1.2.2.tgz", - "integrity": "sha512-rd0pqSDp86p0MUMKG903g3I9VmElFkQpkZ2iOd3EOVg1vo5Cst51rAsoE+5IPy0LPXq64eGcCYlW1+JPNxOj2w==", - "dev": true, + "license": "MIT", "dependencies": { "prosemirror-model": "^1.0.0", "prosemirror-state": "^1.0.0", @@ -16203,18 +15908,52 @@ "prosemirror-transform": "^1.0.0" } }, + "node_modules/prosemirror-tables": { + "version": "1.3.2", + "license": "MIT", + "dependencies": { + "prosemirror-keymap": "^1.1.2", + "prosemirror-model": "^1.8.1", + "prosemirror-state": "^1.3.1", + "prosemirror-transform": "^1.2.1", + "prosemirror-view": "^1.13.3" + } + }, + "node_modules/prosemirror-trailing-node": { + "version": "2.0.3", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@remirror/core-constants": "^2.0.0", + "@remirror/core-helpers": "^2.0.1", + "escape-string-regexp": "^4.0.0" + }, + "peerDependencies": { + "prosemirror-model": "^1", + "prosemirror-state": "^1", + "prosemirror-view": "^1" + } + }, + "node_modules/prosemirror-trailing-node/node_modules/escape-string-regexp": { + "version": "4.0.0", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/prosemirror-transform": { "version": "1.7.0", - "resolved": "https://registry.npmjs.org/prosemirror-transform/-/prosemirror-transform-1.7.0.tgz", - "integrity": "sha512-O4T697Cqilw06Zvc3Wm+e237R6eZtJL/xGMliCi+Uo8VL6qHk6afz1qq0zNjT3eZMuYwnP8ZS0+YxX/tfcE9TQ==", + "license": "MIT", "dependencies": { "prosemirror-model": "^1.0.0" } }, "node_modules/prosemirror-view": { "version": "1.28.2", - "resolved": "https://registry.npmjs.org/prosemirror-view/-/prosemirror-view-1.28.2.tgz", - "integrity": "sha512-uK28mJbu0GI8Oz7Aclt6BKL4g+C59EBShBXDB0Y9Y71H25p4bQgmLQLfDWjsT1J9XOw0bR8QQajZmdK8RvXI9g==", + "license": "MIT", "dependencies": { "prosemirror-model": "^1.16.0", "prosemirror-state": "^1.0.0", @@ -16223,15 +15962,13 @@ }, "node_modules/proto-list": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/protocols": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz", - "integrity": "sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/proxy-from-env": { "version": "1.0.0", @@ -16284,9 +16021,8 @@ }, "node_modules/q": { "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.6.0", "teleport": ">=0.2.0" @@ -16320,9 +16056,8 @@ }, "node_modules/quick-lru": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -16367,9 +16102,8 @@ }, "node_modules/read": { "version": "1.0.7", - "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", - "integrity": "sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ==", "dev": true, + "license": "ISC", "dependencies": { "mute-stream": "~0.0.4" }, @@ -16379,18 +16113,16 @@ }, "node_modules/read-cmd-shim": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-3.0.1.tgz", - "integrity": "sha512-kEmDUoYf/CDy8yZbLTmhB1X9kkjf9Q80PCNsDMb7ufrGd6zZSQA1+UyjrO+pZm5K/S4OXCWJeiIt1JA8kAsa6g==", "dev": true, + "license": "ISC", "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/read-package-json": { "version": "5.0.2", - "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-5.0.2.tgz", - "integrity": "sha512-BSzugrt4kQ/Z0krro8zhTwV1Kd79ue25IhNN/VtHFy1mG/6Tluyi+msc0UpwaoQzxSHa28mntAjIZY6kEgfR9Q==", "dev": true, + "license": "ISC", "dependencies": { "glob": "^8.0.1", "json-parse-even-better-errors": "^2.3.1", @@ -16403,9 +16135,8 @@ }, "node_modules/read-package-json-fast": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz", - "integrity": "sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==", "dev": true, + "license": "ISC", "dependencies": { "json-parse-even-better-errors": "^2.3.0", "npm-normalize-package-bin": "^1.0.1" @@ -16416,18 +16147,16 @@ }, "node_modules/read-package-json/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/read-package-json/node_modules/glob": { "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -16444,9 +16173,8 @@ }, "node_modules/read-package-json/node_modules/hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^7.5.1" }, @@ -16456,18 +16184,16 @@ }, "node_modules/read-package-json/node_modules/hosted-git-info/node_modules/lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/read-package-json/node_modules/minimatch": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -16477,9 +16203,8 @@ }, "node_modules/read-package-json/node_modules/normalize-package-data": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-4.0.1.tgz", - "integrity": "sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^5.0.0", "is-core-module": "^2.8.1", @@ -16492,18 +16217,16 @@ }, "node_modules/read-package-json/node_modules/npm-normalize-package-bin": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", "dev": true, + "license": "ISC", "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/read-package-json/node_modules/semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -16529,9 +16252,8 @@ }, "node_modules/read-pkg-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^2.0.0", "read-pkg": "^3.0.0" @@ -16631,10 +16353,8 @@ }, "node_modules/readdir-scoped-modules": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", - "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", - "deprecated": "This functionality has been moved to @npmcli/fs", "dev": true, + "license": "ISC", "dependencies": { "debuglog": "^1.0.1", "dezalgo": "^1.0.0", @@ -16655,9 +16375,8 @@ }, "node_modules/redent": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", "dev": true, + "license": "MIT", "dependencies": { "indent-string": "^4.0.0", "strip-indent": "^3.0.0" @@ -16698,7 +16417,6 @@ }, "node_modules/regenerator-runtime": { "version": "0.13.9", - "dev": true, "license": "MIT" }, "node_modules/regenerator-transform": { @@ -16789,9 +16507,8 @@ }, "node_modules/require-directory": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -16845,9 +16562,8 @@ }, "node_modules/retry": { "version": "0.12.0", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", - "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } @@ -16894,9 +16610,10 @@ "license": "Unlicense" }, "node_modules/rollup": { - "version": "2.75.7", + "version": "2.79.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", + "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", "dev": true, - "license": "MIT", "bin": { "rollup": "dist/bin/rollup" }, @@ -16909,8 +16626,9 @@ }, "node_modules/rollup-plugin-auto-external": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-auto-external/-/rollup-plugin-auto-external-2.0.0.tgz", + "integrity": "sha512-HQM3ZkZYfSam1uoZtAB9sK26EiAsfs1phrkf91c/YX+S07wugyRXSigBxrIwiLr5EPPilKYmoMxsrnlGBsXnuQ==", "dev": true, - "license": "MIT", "dependencies": { "builtins": "^2.0.0", "read-pkg": "^3.0.0", @@ -16926,16 +16644,18 @@ }, "node_modules/rollup-plugin-auto-external/node_modules/semver": { "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true, - "license": "ISC", "bin": { "semver": "bin/semver" } }, "node_modules/rollup-plugin-sourcemaps": { "version": "0.6.3", + "resolved": "https://registry.npmjs.org/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.6.3.tgz", + "integrity": "sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==", "dev": true, - "license": "MIT", "dependencies": { "@rollup/pluginutils": "^3.0.9", "source-map-resolve": "^0.6.0" @@ -16955,8 +16675,9 @@ }, "node_modules/rollup-plugin-typescript2": { "version": "0.31.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.31.2.tgz", + "integrity": "sha512-hRwEYR1C8xDGVVMFJQdEVnNAeWRvpaY97g5mp3IeLnzhNXzSVq78Ye/BJ9PAaUfN4DXa/uDnqerifMOaMFY54Q==", "dev": true, - "license": "MIT", "dependencies": { "@rollup/pluginutils": "^4.1.2", "@yarn-tool/resolve-package": "^1.0.40", @@ -16972,8 +16693,9 @@ }, "node_modules/rollup-plugin-typescript2/node_modules/@rollup/pluginutils": { "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", + "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", "dev": true, - "license": "MIT", "dependencies": { "estree-walker": "^2.0.1", "picomatch": "^2.2.2" @@ -16984,8 +16706,9 @@ }, "node_modules/rollup-plugin-typescript2/node_modules/fs-extra": { "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, - "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -16997,14 +16720,12 @@ }, "node_modules/rope-sequence": { "version": "1.3.3", - "dev": true, "license": "MIT" }, "node_modules/run-async": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.12.0" } @@ -17036,9 +16757,8 @@ }, "node_modules/rxjs": { "version": "7.5.6", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.6.tgz", - "integrity": "sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw==", "dev": true, + "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" } @@ -17049,8 +16769,9 @@ }, "node_modules/safe-resolve": { "version": "1.0.0", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/safe-resolve/-/safe-resolve-1.0.0.tgz", + "integrity": "sha512-aQpRvfxoi1y0UxKEU0tNO327kb0/LMo8Xrk64M2u172UqOOLCCM0khxN2OTClDiTqTJz5864GMD1X92j4YiHTg==", + "dev": true }, "node_modules/safer-buffer": { "version": "2.1.2", @@ -17120,9 +16841,8 @@ }, "node_modules/shallow-clone": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", "dev": true, + "license": "MIT", "dependencies": { "kind-of": "^6.0.2" }, @@ -17231,8 +16951,9 @@ }, "node_modules/simple-string-table": { "version": "1.0.0", - "dev": true, - "license": "ISC" + "resolved": "https://registry.npmjs.org/simple-string-table/-/simple-string-table-1.0.0.tgz", + "integrity": "sha512-iflPccjsYtTN+Rqj35v/G+i9A04g2HgOPkPp/B5evznUD4VZ4egi/qcFwrUHgGZwJMZz+Aq5elow4Qqsodfflw==", + "dev": true }, "node_modules/simple-swizzle": { "version": "0.2.2", @@ -17304,9 +17025,8 @@ }, "node_modules/smart-buffer": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 6.0.0", "npm": ">= 3.0.0" @@ -17314,9 +17034,8 @@ }, "node_modules/socks": { "version": "2.7.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", - "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", "dev": true, + "license": "MIT", "dependencies": { "ip": "^2.0.0", "smart-buffer": "^4.2.0" @@ -17328,9 +17047,8 @@ }, "node_modules/socks-proxy-agent": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz", - "integrity": "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==", "dev": true, + "license": "MIT", "dependencies": { "agent-base": "^6.0.2", "debug": "^4.3.3", @@ -17380,8 +17098,10 @@ }, "node_modules/source-map-resolve": { "version": "0.6.0", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.6.0.tgz", + "integrity": "sha512-KXBr9d/fO/bWo97NXsPIAW1bFSBOuCnjbNTBMO7N59hsv5i9yzRDfcYwwt0l04+VqnKC+EwzvJZIP/qkuMgR/w==", + "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated", "dev": true, - "license": "MIT", "dependencies": { "atob": "^2.1.2", "decode-uri-component": "^0.2.0" @@ -17431,9 +17151,8 @@ }, "node_modules/split": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", - "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", "dev": true, + "license": "MIT", "dependencies": { "through": "2" }, @@ -17443,18 +17162,16 @@ }, "node_modules/split2": { "version": "3.2.2", - "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", - "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", "dev": true, + "license": "ISC", "dependencies": { "readable-stream": "^3.0.0" } }, "node_modules/sprintf-js": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/sshpk": { "version": "1.17.0", @@ -17482,9 +17199,8 @@ }, "node_modules/ssri": { "version": "9.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz", - "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", "dev": true, + "license": "ISC", "dependencies": { "minipass": "^3.1.1" }, @@ -17593,9 +17309,8 @@ }, "node_modules/strip-indent": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", "dev": true, + "license": "MIT", "dependencies": { "min-indent": "^1.0.0" }, @@ -17616,9 +17331,8 @@ }, "node_modules/strong-log-transformer": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz", - "integrity": "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==", "dev": true, + "license": "Apache-2.0", "dependencies": { "duplexer": "^0.1.1", "minimist": "^1.2.0", @@ -17631,6 +17345,53 @@ "node": ">=4" } }, + "node_modules/sucrase": { + "version": "3.29.0", + "dev": true, + "license": "MIT", + "dependencies": { + "commander": "^4.0.0", + "glob": "7.1.6", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/sucrase/node_modules/commander": { + "version": "4.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/sucrase/node_modules/glob": { + "version": "7.1.6", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/supports-color": { "version": "5.5.0", "dev": true, @@ -17831,9 +17592,8 @@ }, "node_modules/tar": { "version": "6.1.12", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.12.tgz", - "integrity": "sha512-jU4TdemS31uABHd+Lt5WEYJuzn+TJTCBLljvIAHZOz6M9Os5pJ4dD+vRFLxPa/n3T0iEFzpi+0x1UfuDZYbRMw==", "dev": true, + "license": "ISC", "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -17848,9 +17608,8 @@ }, "node_modules/tar-stream": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", "dev": true, + "license": "MIT", "dependencies": { "bl": "^4.0.3", "end-of-stream": "^1.4.1", @@ -17864,9 +17623,8 @@ }, "node_modules/temp-dir": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", - "integrity": "sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -17945,9 +17703,8 @@ }, "node_modules/text-extensions": { "version": "1.9.0", - "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", - "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10" } @@ -17957,6 +17714,32 @@ "dev": true, "license": "MIT" }, + "node_modules/thenify": { + "version": "3.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/throttle-debounce": { + "version": "3.0.1", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, "node_modules/throttleit": { "version": "1.0.0", "dev": true, @@ -17969,9 +17752,8 @@ }, "node_modules/through2": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", "dev": true, + "license": "MIT", "dependencies": { "readable-stream": "3" } @@ -18035,28 +17817,38 @@ }, "node_modules/tr46": { "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true + "dev": true, + "license": "MIT" + }, + "node_modules/tree-kill": { + "version": "1.2.2", + "dev": true, + "license": "MIT", + "bin": { + "tree-kill": "cli.js" + } }, "node_modules/treeverse": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/treeverse/-/treeverse-2.0.0.tgz", - "integrity": "sha512-N5gJCkLu1aXccpOTtqV6ddSEi6ZmGkh3hjmbu1IjcavJK4qyOVQmi0myQKM7z5jVGmD68SJoliaVrMmVObhj6A==", "dev": true, + "license": "ISC", "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/trim-newlines": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "dev": true, + "license": "Apache-2.0" + }, "node_modules/ts-loader": { "version": "9.3.1", "dev": true, @@ -18120,74 +17912,246 @@ "dev": true, "license": "MIT" }, - "node_modules/ts-loader/node_modules/has-flag": { - "version": "4.0.0", + "node_modules/ts-loader/node_modules/has-flag": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ts-loader/node_modules/semver": { + "version": "7.3.7", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ts-loader/node_modules/supports-color": { + "version": "7.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tsconfig-paths": { + "version": "3.14.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.1", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tsconfig-paths/node_modules/json5": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/tsconfig-paths/node_modules/strip-bom": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/tslib": { + "version": "2.4.0", + "dev": true, + "license": "0BSD" + }, + "node_modules/tsup": { + "version": "6.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "bundle-require": "^3.1.2", + "cac": "^6.7.12", + "chokidar": "^3.5.1", + "debug": "^4.3.1", + "esbuild": "^0.15.1", + "execa": "^5.0.0", + "globby": "^11.0.3", + "joycon": "^3.0.1", + "postcss-load-config": "^3.0.1", + "resolve-from": "^5.0.0", + "rollup": "^3.2.5", + "source-map": "0.8.0-beta.0", + "sucrase": "^3.20.3", + "tree-kill": "^1.2.2" + }, + "bin": { + "tsup": "dist/cli-default.js", + "tsup-node": "dist/cli-node.js" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@swc/core": "^1", + "postcss": "^8.4.12", + "typescript": "^4.1.0" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "postcss": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/tsup/node_modules/esbuild": { + "version": "0.15.18", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.15.18", + "@esbuild/linux-loong64": "0.15.18", + "esbuild-android-64": "0.15.18", + "esbuild-android-arm64": "0.15.18", + "esbuild-darwin-64": "0.15.18", + "esbuild-darwin-arm64": "0.15.18", + "esbuild-freebsd-64": "0.15.18", + "esbuild-freebsd-arm64": "0.15.18", + "esbuild-linux-32": "0.15.18", + "esbuild-linux-64": "0.15.18", + "esbuild-linux-arm": "0.15.18", + "esbuild-linux-arm64": "0.15.18", + "esbuild-linux-mips64le": "0.15.18", + "esbuild-linux-ppc64le": "0.15.18", + "esbuild-linux-riscv64": "0.15.18", + "esbuild-linux-s390x": "0.15.18", + "esbuild-netbsd-64": "0.15.18", + "esbuild-openbsd-64": "0.15.18", + "esbuild-sunos-64": "0.15.18", + "esbuild-windows-32": "0.15.18", + "esbuild-windows-64": "0.15.18", + "esbuild-windows-arm64": "0.15.18" + } + }, + "node_modules/tsup/node_modules/execa": { + "version": "5.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/tsup/node_modules/get-stream": { + "version": "6.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/tsup/node_modules/human-signals": { + "version": "2.1.0", "dev": true, - "license": "MIT", + "license": "Apache-2.0", "engines": { - "node": ">=8" + "node": ">=10.17.0" } }, - "node_modules/ts-loader/node_modules/semver": { - "version": "7.3.7", + "node_modules/tsup/node_modules/rollup": { + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.14.0.tgz", + "integrity": "sha512-o23sdgCLcLSe3zIplT9nQ1+r97okuaiR+vmAPZPTDYB7/f3tgWIYNyiQveMsZwshBT0is4eGax/HH83Q7CG+/Q==", "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { - "semver": "bin/semver.js" + "rollup": "dist/bin/rollup" }, "engines": { - "node": ">=10" + "node": ">=14.18.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" } }, - "node_modules/ts-loader/node_modules/supports-color": { - "version": "7.2.0", + "node_modules/tsup/node_modules/source-map": { + "version": "0.8.0-beta.0", "dev": true, - "license": "MIT", + "license": "BSD-3-Clause", "dependencies": { - "has-flag": "^4.0.0" + "whatwg-url": "^7.0.0" }, "engines": { - "node": ">=8" + "node": ">= 8" } }, - "node_modules/tsconfig-paths": { - "version": "3.14.1", + "node_modules/tsup/node_modules/tr46": { + "version": "1.0.1", "dev": true, "license": "MIT", "dependencies": { - "@types/json5": "^0.0.29", - "json5": "^1.0.1", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" + "punycode": "^2.1.0" } }, - "node_modules/tsconfig-paths/node_modules/json5": { - "version": "1.0.1", + "node_modules/tsup/node_modules/webidl-conversions": { + "version": "4.0.2", "dev": true, - "license": "MIT", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } + "license": "BSD-2-Clause" }, - "node_modules/tsconfig-paths/node_modules/strip-bom": { - "version": "3.0.0", + "node_modules/tsup/node_modules/whatwg-url": { + "version": "7.1.0", "dev": true, "license": "MIT", - "engines": { - "node": ">=4" + "dependencies": { + "lodash.sortby": "^4.7.0", + "tr46": "^1.0.1", + "webidl-conversions": "^4.0.2" } }, - "node_modules/tslib": { - "version": "2.4.0", - "dev": true, - "license": "0BSD" - }, "node_modules/tsutils": { "version": "3.21.0", "dev": true, @@ -18247,9 +18211,8 @@ }, "node_modules/typedarray": { "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/typedarray-to-buffer": { "version": "3.1.5", @@ -18271,11 +18234,14 @@ "node": ">=4.2.0" } }, + "node_modules/uc.micro": { + "version": "1.0.6", + "license": "MIT" + }, "node_modules/uglify-js": { "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", "dev": true, + "license": "BSD-2-Clause", "optional": true, "bin": { "uglifyjs": "bin/uglifyjs" @@ -18336,9 +18302,8 @@ }, "node_modules/unique-filename": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz", - "integrity": "sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A==", "dev": true, + "license": "ISC", "dependencies": { "unique-slug": "^3.0.0" }, @@ -18348,9 +18313,8 @@ }, "node_modules/unique-slug": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-3.0.0.tgz", - "integrity": "sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w==", "dev": true, + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4" }, @@ -18360,9 +18324,8 @@ }, "node_modules/universal-user-agent": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/universalify": { "version": "2.0.0", @@ -18382,22 +18345,22 @@ }, "node_modules/upath": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", - "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", "dev": true, + "license": "MIT", "engines": { "node": ">=4", "yarn": "*" } }, "node_modules/upath2": { - "version": "3.1.13", + "version": "3.1.19", + "resolved": "https://registry.npmjs.org/upath2/-/upath2-3.1.19.tgz", + "integrity": "sha512-d23dQLi8nDWSRTIQwXtaYqMrHuca0As53fNiTLLFDmsGBbepsZepISaB2H1x45bDFN/n3Qw9bydvyZEacTrEWQ==", "dev": true, - "license": "ISC", "dependencies": { "@types/node": "*", - "path-is-network-drive": "^1.0.15", - "path-strip-sep": "^1.0.12", + "path-is-network-drive": "^1.0.20", + "path-strip-sep": "^1.0.17", "tslib": "^2" } }, @@ -18622,6 +18585,21 @@ "node": ">=8" } }, + "node_modules/vite/node_modules/rollup": { + "version": "2.77.3", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.77.3.tgz", + "integrity": "sha512-/qxNTG7FbmefJWoeeYJFbHehJ2HNWnjkAFRKzWN/45eNBBF/r8lo992CwcJXEzyVxs5FmfId+vTSTQDb+bxA+g==", + "dev": true, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=10.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, "node_modules/vscode-jsonrpc": { "version": "6.0.0", "dev": true, @@ -18785,14 +18763,12 @@ }, "node_modules/w3c-keyname": { "version": "2.2.4", - "dev": true, "license": "MIT" }, "node_modules/walk-up-path": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-1.0.0.tgz", - "integrity": "sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/watchpack": { "version": "2.4.0", @@ -18808,18 +18784,16 @@ }, "node_modules/wcwidth": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", "dev": true, + "license": "MIT", "dependencies": { "defaults": "^1.0.3" } }, "node_modules/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==", - "dev": true + "dev": true, + "license": "BSD-2-Clause" }, "node_modules/webpack": { "version": "5.73.0", @@ -18899,9 +18873,8 @@ }, "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==", "dev": true, + "license": "MIT", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -18954,9 +18927,8 @@ }, "node_modules/wordwrap": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/wrap-ansi": { "version": "7.0.0", @@ -19230,9 +19202,8 @@ }, "node_modules/y18n": { "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } @@ -19252,9 +19223,8 @@ }, "node_modules/yargs": { "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", @@ -19270,9 +19240,8 @@ }, "node_modules/yargs-parser": { "version": "20.2.4", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", - "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } @@ -19299,8 +19268,9 @@ }, "node_modules/yocto-queue": { "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true, - "license": "MIT", "engines": { "node": ">=10" }, @@ -19324,37 +19294,25 @@ }, "packages/core": { "name": "@tiptap/core", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "prosemirror-commands": "^1.3.1", - "prosemirror-keymap": "^1.2.0", - "prosemirror-model": "^1.18.1", - "prosemirror-schema-list": "^1.2.2", - "prosemirror-state": "^1.4.1", - "prosemirror-transform": "^1.7.0", - "prosemirror-view": "^1.28.2" + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "prosemirror-commands": "^1.3.1", - "prosemirror-keymap": "^1.2.0", - "prosemirror-model": "^1.18.1", - "prosemirror-schema-list": "^1.2.2", - "prosemirror-state": "^1.4.1", - "prosemirror-transform": "^1.7.0", - "prosemirror-view": "^1.28.2" + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-blockquote": { "name": "@tiptap/extension-blockquote", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", @@ -19366,139 +19324,130 @@ }, "packages/extension-bold": { "name": "@tiptap/extension-bold", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-bubble-menu": { "name": "@tiptap/extension-bubble-menu", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "dependencies": { - "@tiptap/core": "^2.0.0-beta.206", "lodash": "^4.17.21", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2", "tippy.js": "^6.3.7" }, "devDependencies": { - "@types/lodash": "^4.14.187" + "@tiptap/pm": "^2.0.0-beta.218", + "@types/lodash": "^4.14.191" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-bullet-list": { "name": "@tiptap/extension-bullet-list", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-character-count": { "name": "@tiptap/extension-character-count", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-code": { "name": "@tiptap/extension-code", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-code-block": { "name": "@tiptap/extension-code-block", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-code-block-lowlight": { "name": "@tiptap/extension-code-block-lowlight", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/extension-code-block": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-code-block": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "@tiptap/extension-code-block": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/extension-code-block": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-collaboration": { "name": "@tiptap/extension-collaboration", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-state": "^1.4.1", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "y-prosemirror": "1.0.20" }, "funding": { @@ -19506,635 +19455,651 @@ "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1", + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209", "y-prosemirror": "1.0.20" } }, "packages/extension-collaboration-cursor": { "name": "@tiptap/extension-collaboration-cursor", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", - "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", + "dependencies": { "y-prosemirror": "1.0.20" }, + "devDependencies": { + "@tiptap/core": "^2.0.0-beta.218" + }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "y-prosemirror": "1.0.20" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-color": { "name": "@tiptap/extension-color", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/extension-text-style": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-text-style": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "@tiptap/extension-text-style": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/extension-text-style": "^2.0.0-beta.209" } }, "packages/extension-document": { "name": "@tiptap/extension-document", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-dropcursor": { "name": "@tiptap/extension-dropcursor", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-dropcursor": "1.5.0" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-dropcursor": "1.5.0" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-floating-menu": { "name": "@tiptap/extension-floating-menu", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "dependencies": { "tippy.js": "^6.3.7" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-focus": { "name": "@tiptap/extension-focus", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-font-family": { "name": "@tiptap/extension-font-family", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/extension-text-style": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-text-style": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "@tiptap/extension-text-style": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/extension-text-style": "^2.0.0-beta.209" } }, "packages/extension-gapcursor": { "name": "@tiptap/extension-gapcursor", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-gapcursor": "^1.3.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-gapcursor": "^1.3.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-hard-break": { "name": "@tiptap/extension-hard-break", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-heading": { "name": "@tiptap/extension-heading", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-highlight": { "name": "@tiptap/extension-highlight", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-history": { "name": "@tiptap/extension-history", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-history": "^1.3.0" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-history": "^1.3.0" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-horizontal-rule": { "name": "@tiptap/extension-horizontal-rule", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-image": { "name": "@tiptap/extension-image", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-italic": { "name": "@tiptap/extension-italic", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-link": { "name": "@tiptap/extension-link", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "dependencies": { "linkifyjs": "^3.0.5" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-list-item": { "name": "@tiptap/extension-list-item", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-mention": { "name": "@tiptap/extension-mention", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/suggestion": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", + "@tiptap/suggestion": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "@tiptap/suggestion": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209", + "@tiptap/suggestion": "^2.0.0-beta.209" } }, "packages/extension-ordered-list": { "name": "@tiptap/extension-ordered-list", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-paragraph": { "name": "@tiptap/extension-paragraph", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-placeholder": { "name": "@tiptap/extension-placeholder", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-strike": { "name": "@tiptap/extension-strike", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-subscript": { "name": "@tiptap/extension-subscript", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-superscript": { "name": "@tiptap/extension-superscript", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-table": { "name": "@tiptap/extension-table", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/prosemirror-tables": "^1.1.3", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-table-cell": { "name": "@tiptap/extension-table-cell", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-table-header": { "name": "@tiptap/extension-table-header", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-table-row": { "name": "@tiptap/extension-table-row", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-task-item": { "name": "@tiptap/extension-task-item", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/extension-task-list": { "name": "@tiptap/extension-task-list", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-text": { "name": "@tiptap/extension-text", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-text-align": { "name": "@tiptap/extension-text-align", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-text-style": { "name": "@tiptap/extension-text-style", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-typography": { "name": "@tiptap/extension-typography", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-underline": { "name": "@tiptap/extension-underline", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/extension-youtube": { "name": "@tiptap/extension-youtube", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/html": { "name": "@tiptap/html", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "dependencies": { "zeed-dom": "^0.9.19" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "peerDependencies": { + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" + } + }, + "packages/pm": { + "name": "@tiptap/pm", + "version": "2.0.0-beta.218", + "license": "MIT", + "dependencies": { + "prosemirror-changeset": "^2.2.0", + "prosemirror-collab": "^1.3.0", + "prosemirror-commands": "^1.3.1", + "prosemirror-dropcursor": "^1.5.0", + "prosemirror-gapcursor": "^1.3.1", + "prosemirror-history": "^1.3.0", + "prosemirror-inputrules": "^1.2.0", + "prosemirror-keymap": "^1.2.0", + "prosemirror-markdown": "^1.10.1", + "prosemirror-menu": "^1.2.1", + "prosemirror-model": "^1.18.1", + "prosemirror-schema-basic": "^1.2.0", + "prosemirror-schema-list": "^1.2.2", + "prosemirror-state": "^1.4.1", + "prosemirror-tables": "^1.3.0", + "prosemirror-trailing-node": "^2.0.2", + "prosemirror-transform": "^1.7.0", + "prosemirror-view": "^1.28.2" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.204", - "prosemirror-model": "^1.18.1" + "@tiptap/core": "^2.0.0-beta.209" } }, "packages/react": { "name": "@tiptap/react", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "dependencies": { - "@tiptap/extension-bubble-menu": "^2.0.0-beta.206", - "@tiptap/extension-floating-menu": "^2.0.0-beta.206", - "prosemirror-view": "^1.28.2" + "@tiptap/extension-bubble-menu": "^2.0.0-beta.218", + "@tiptap/extension-floating-menu": "^2.0.0-beta.218" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "@types/react": "^18.0.1", "@types/react-dom": "^18.0.0", "react": "^18.0.0", @@ -20145,35 +20110,36 @@ "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209", "react": "^17.0.0 || ^18.0.0", "react-dom": "^17.0.0 || ^18.0.0" } }, "packages/starter-kit": { "name": "@tiptap/starter-kit", - "version": "2.0.0-beta.206", - "license": "MIT", - "dependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/extension-blockquote": "^2.0.0-beta.206", - "@tiptap/extension-bold": "^2.0.0-beta.206", - "@tiptap/extension-bullet-list": "^2.0.0-beta.206", - "@tiptap/extension-code": "^2.0.0-beta.206", - "@tiptap/extension-code-block": "^2.0.0-beta.206", - "@tiptap/extension-document": "^2.0.0-beta.206", - "@tiptap/extension-dropcursor": "^2.0.0-beta.206", - "@tiptap/extension-gapcursor": "^2.0.0-beta.206", - "@tiptap/extension-hard-break": "^2.0.0-beta.206", - "@tiptap/extension-heading": "^2.0.0-beta.206", - "@tiptap/extension-history": "^2.0.0-beta.206", - "@tiptap/extension-horizontal-rule": "^2.0.0-beta.206", - "@tiptap/extension-italic": "^2.0.0-beta.206", - "@tiptap/extension-list-item": "^2.0.0-beta.206", - "@tiptap/extension-ordered-list": "^2.0.0-beta.206", - "@tiptap/extension-paragraph": "^2.0.0-beta.206", - "@tiptap/extension-strike": "^2.0.0-beta.206", - "@tiptap/extension-text": "^2.0.0-beta.206" + "version": "2.0.0-beta.218", + "license": "MIT", + "dependencies": { + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-blockquote": "^2.0.0-beta.218", + "@tiptap/extension-bold": "^2.0.0-beta.218", + "@tiptap/extension-bullet-list": "^2.0.0-beta.218", + "@tiptap/extension-code": "^2.0.0-beta.218", + "@tiptap/extension-code-block": "^2.0.0-beta.218", + "@tiptap/extension-document": "^2.0.0-beta.218", + "@tiptap/extension-dropcursor": "^2.0.0-beta.218", + "@tiptap/extension-gapcursor": "^2.0.0-beta.218", + "@tiptap/extension-hard-break": "^2.0.0-beta.218", + "@tiptap/extension-heading": "^2.0.0-beta.218", + "@tiptap/extension-history": "^2.0.0-beta.218", + "@tiptap/extension-horizontal-rule": "^2.0.0-beta.218", + "@tiptap/extension-italic": "^2.0.0-beta.218", + "@tiptap/extension-list-item": "^2.0.0-beta.218", + "@tiptap/extension-ordered-list": "^2.0.0-beta.218", + "@tiptap/extension-paragraph": "^2.0.0-beta.218", + "@tiptap/extension-strike": "^2.0.0-beta.218", + "@tiptap/extension-text": "^2.0.0-beta.218" }, "funding": { "type": "github", @@ -20182,36 +20148,32 @@ }, "packages/suggestion": { "name": "@tiptap/suggestion", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "funding": { "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" } }, "packages/vue-2": { "name": "@tiptap/vue-2", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "dependencies": { - "@tiptap/extension-bubble-menu": "^2.0.0-beta.206", - "@tiptap/extension-floating-menu": "^2.0.0-beta.206" + "@tiptap/extension-bubble-menu": "^2.0.0-beta.218", + "@tiptap/extension-floating-menu": "^2.0.0-beta.218" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-view": "^1.28.2", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "vue": "^2.6.0" }, "funding": { @@ -20219,8 +20181,8 @@ "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-view": "^1.28.2", + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209", "vue": "^2.6.0" } }, @@ -20231,16 +20193,15 @@ }, "packages/vue-3": { "name": "@tiptap/vue-3", - "version": "2.0.0-beta.206", + "version": "2.0.0-beta.218", "license": "MIT", "dependencies": { - "@tiptap/extension-bubble-menu": "^2.0.0-beta.206", - "@tiptap/extension-floating-menu": "^2.0.0-beta.206" + "@tiptap/extension-bubble-menu": "^2.0.0-beta.218", + "@tiptap/extension-floating-menu": "^2.0.0-beta.218" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "vue": "^3.0.0" }, "funding": { @@ -20248,9 +20209,8 @@ "url": "https://github.com/sponsors/ueberdosis" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2", + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209", "vue": "^3.0.0" } } @@ -20266,6 +20226,8 @@ }, "@atomico/rollup-plugin-sizes": { "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@atomico/rollup-plugin-sizes/-/rollup-plugin-sizes-1.1.4.tgz", + "integrity": "sha512-ilxLw9hT+kWXIx8mYoAFLA2eIVfLrsnabPCaGo5Mkrj8qxhEkZvFddcnH2HTp/hDKFEIJRpZVpXecsPp3FOdRw==", "dev": true, "requires": { "brotli-size": "^4.0.0", @@ -20419,10 +20381,12 @@ } }, "@babel/helper-module-imports": { - "version": "7.16.7", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", + "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", "dev": true, "requires": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" } }, "@babel/helper-module-transforms": { @@ -20491,8 +20455,16 @@ "@babel/types": "^7.16.7" } }, + "@babel/helper-string-parser": { + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", + "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==", + "dev": true + }, "@babel/helper-validator-identifier": { - "version": "7.16.7", + "version": "7.19.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", + "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", "dev": true }, "@babel/helper-validator-option": { @@ -21192,7 +21164,6 @@ }, "@babel/runtime": { "version": "7.18.3", - "dev": true, "requires": { "regenerator-runtime": "^0.13.4" } @@ -21223,10 +21194,13 @@ } }, "@babel/types": { - "version": "7.18.4", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.20.7.tgz", + "integrity": "sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.16.7", + "@babel/helper-string-parser": "^7.19.4", + "@babel/helper-validator-identifier": "^7.19.1", "to-fast-properties": "^2.0.0" } }, @@ -21315,8 +21289,6 @@ }, "@gar/promisify": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", - "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", "dev": true }, "@hocuspocus/common": { @@ -21350,14 +21322,10 @@ }, "@hutson/parse-repository-url": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", - "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", "dev": true }, "@isaacs/string-locale-compare": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz", - "integrity": "sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ==", "dev": true }, "@jridgewell/gen-mapping": { @@ -21409,8 +21377,6 @@ }, "@lerna/add": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/add/-/add-5.6.2.tgz", - "integrity": "sha512-NHrm7kYiqP+EviguY7/NltJ3G9vGmJW6v2BASUOhP9FZDhYbq3O+rCDlFdoVRNtcyrSg90rZFMOWHph4KOoCQQ==", "dev": true, "requires": { "@lerna/bootstrap": "5.6.2", @@ -21427,8 +21393,6 @@ "dependencies": { "hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -21436,8 +21400,6 @@ }, "npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, "requires": { "hosted-git-info": "^3.0.6", @@ -21447,8 +21409,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -21458,6 +21418,8 @@ }, "@lerna/batch-packages": { "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@lerna/batch-packages/-/batch-packages-3.16.0.tgz", + "integrity": "sha512-7AdMkANpubY/FKFI01im01tlx6ygOBJ/0JcixMUWoWP/7Ds3SWQF22ID6fbBr38jUWptYLDs2fagtTDL7YUPuA==", "dev": true, "requires": { "@lerna/package-graph": "3.16.0", @@ -21466,8 +21428,6 @@ }, "@lerna/bootstrap": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-5.6.2.tgz", - "integrity": "sha512-S2fMOEXbef7nrybQhzBywIGSLhuiQ5huPp1sU+v9Y6XEBsy/2IA+lb0gsZosvPqlRfMtiaFstL+QunaBhlWECA==", "dev": true, "requires": { "@lerna/command": "5.6.2", @@ -21496,8 +21456,6 @@ "dependencies": { "@lerna/package-graph": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-5.6.2.tgz", - "integrity": "sha512-TmL61qBBvA3Tc4qICDirZzdFFwWOA6qicIXUruLiE2PblRowRmCO1bKrrP6XbDOspzwrkPef6N2F2/5gHQAnkQ==", "dev": true, "requires": { "@lerna/prerelease-id-from-version": "5.6.2", @@ -21509,8 +21467,6 @@ }, "@lerna/prerelease-id-from-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.6.2.tgz", - "integrity": "sha512-7gIm9fecWFVNy2kpj/KbH11bRcpyANAwpsft3X5m6J7y7A6FTUscCbEvl3ZNdpQKHNuvnHgCtkm3A5PMSCEgkA==", "dev": true, "requires": { "semver": "^7.3.4" @@ -21518,8 +21474,6 @@ }, "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -21528,8 +21482,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -21544,8 +21496,6 @@ }, "hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -21553,8 +21503,6 @@ }, "npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, "requires": { "hosted-git-info": "^3.0.6", @@ -21564,8 +21512,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -21576,8 +21522,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -21587,8 +21531,6 @@ }, "@lerna/changed": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/changed/-/changed-5.6.2.tgz", - "integrity": "sha512-uUgrkdj1eYJHQGsXXlpH5oEAfu3x0qzeTjgvpdNrxHEdQWi7zWiW59hRadmiImc14uJJYIwVK5q/QLugrsdGFQ==", "dev": true, "requires": { "@lerna/collect-updates": "5.6.2", @@ -21599,8 +21541,6 @@ }, "@lerna/check-working-tree": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-5.6.2.tgz", - "integrity": "sha512-6Vf3IB6p+iNIubwVgr8A/KOmGh5xb4SyRmhFtAVqe33yWl2p3yc+mU5nGoz4ET3JLF1T9MhsePj0hNt6qyOTLQ==", "dev": true, "requires": { "@lerna/collect-uncommitted": "5.6.2", @@ -21610,8 +21550,6 @@ }, "@lerna/child-process": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/child-process/-/child-process-5.6.2.tgz", - "integrity": "sha512-QIOQ3jIbWdduHd5892fbo3u7/dQgbhzEBB7cvf+Ys/iCPP8UQrBECi1lfRgA4kcTKC2MyMz0SoyXZz/lFcXc3A==", "dev": true, "requires": { "chalk": "^4.1.0", @@ -21621,8 +21559,6 @@ "dependencies": { "ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { "color-convert": "^2.0.1" @@ -21630,8 +21566,6 @@ }, "chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -21640,8 +21574,6 @@ }, "color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { "color-name": "~1.1.4" @@ -21649,14 +21581,10 @@ }, "color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "execa": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, "requires": { "cross-spawn": "^7.0.3", @@ -21672,26 +21600,18 @@ }, "get-stream": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true }, "has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "human-signals": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true }, "supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" @@ -21701,8 +21621,6 @@ }, "@lerna/clean": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/clean/-/clean-5.6.2.tgz", - "integrity": "sha512-A7j8r0Hk2pGyLUyaCmx4keNHen1L/KdcOjb4nR6X8GtTJR5AeA47a8rRKOCz9wwdyMPlo2Dau7d3RV9viv7a5g==", "dev": true, "requires": { "@lerna/command": "5.6.2", @@ -21717,8 +21635,6 @@ }, "@lerna/cli": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/cli/-/cli-5.6.2.tgz", - "integrity": "sha512-w0NRIEqDOmYKlA5t0iyqx0hbY7zcozvApmfvwF0lhkuhf3k6LRAFSamtimGQWicC779a7J2NXw4ASuBV47Fs1Q==", "dev": true, "requires": { "@lerna/global-options": "5.6.2", @@ -21729,8 +21645,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -21739,8 +21653,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -21755,8 +21667,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -21769,8 +21679,6 @@ }, "@lerna/collect-uncommitted": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/collect-uncommitted/-/collect-uncommitted-5.6.2.tgz", - "integrity": "sha512-i0jhxpypyOsW2PpPwIw4xg6EPh7/N3YuiI6P2yL7PynZ8nOv8DkIdoyMkhUP4gALjBfckH8Bj94eIaKMviqW4w==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -21780,8 +21688,6 @@ "dependencies": { "ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { "color-convert": "^2.0.1" @@ -21789,8 +21695,6 @@ }, "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -21799,8 +21703,6 @@ }, "chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -21809,8 +21711,6 @@ }, "color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { "color-name": "~1.1.4" @@ -21818,14 +21718,10 @@ }, "color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -21840,14 +21736,10 @@ }, "has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -21858,8 +21750,6 @@ }, "supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" @@ -21869,8 +21759,6 @@ }, "@lerna/collect-updates": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-5.6.2.tgz", - "integrity": "sha512-DdTK13X6PIsh9HINiMniFeiivAizR/1FBB+hDVe6tOhsXFBfjHMw1xZhXlE+mYIoFmDm1UFK7zvQSexoaxRqFA==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -21882,8 +21770,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -21892,8 +21778,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -21908,8 +21792,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -21922,8 +21804,6 @@ }, "@lerna/command": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/command/-/command-5.6.2.tgz", - "integrity": "sha512-eLVGI9TmxcaGt1M7TXGhhBZoeWOtOedMiH7NuCGHtL6TMJ9k+SCExyx+KpNmE6ImyNOzws6EvYLPLjftiqmoaA==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -21940,8 +21820,6 @@ "dependencies": { "@lerna/package-graph": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-5.6.2.tgz", - "integrity": "sha512-TmL61qBBvA3Tc4qICDirZzdFFwWOA6qicIXUruLiE2PblRowRmCO1bKrrP6XbDOspzwrkPef6N2F2/5gHQAnkQ==", "dev": true, "requires": { "@lerna/prerelease-id-from-version": "5.6.2", @@ -21953,8 +21831,6 @@ }, "@lerna/prerelease-id-from-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.6.2.tgz", - "integrity": "sha512-7gIm9fecWFVNy2kpj/KbH11bRcpyANAwpsft3X5m6J7y7A6FTUscCbEvl3ZNdpQKHNuvnHgCtkm3A5PMSCEgkA==", "dev": true, "requires": { "semver": "^7.3.4" @@ -21962,8 +21838,6 @@ }, "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -21972,14 +21846,10 @@ }, "ci-info": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", "dev": true }, "execa": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, "requires": { "cross-spawn": "^7.0.3", @@ -21995,8 +21865,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -22011,14 +21879,10 @@ }, "get-stream": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true }, "hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -22026,14 +21890,10 @@ }, "human-signals": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true }, "is-ci": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", "dev": true, "requires": { "ci-info": "^2.0.0" @@ -22041,8 +21901,6 @@ }, "npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, "requires": { "hosted-git-info": "^3.0.6", @@ -22052,8 +21910,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -22064,8 +21920,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -22075,8 +21929,6 @@ }, "@lerna/conventional-commits": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-5.6.2.tgz", - "integrity": "sha512-fPrJpYJhxCgY2uyOCTcAAC6+T6lUAtpEGxLbjWHWTb13oKKEygp9THoFpe6SbAD0fYMb3jeZCZCqNofM62rmuA==", "dev": true, "requires": { "@lerna/validation-error": "5.6.2", @@ -22093,8 +21945,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -22103,8 +21953,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -22119,14 +21967,10 @@ }, "get-stream": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true }, "hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -22134,8 +21978,6 @@ }, "npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, "requires": { "hosted-git-info": "^3.0.6", @@ -22145,8 +21987,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -22157,14 +21997,10 @@ }, "pify": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", - "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", "dev": true }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -22174,8 +22010,6 @@ }, "@lerna/create": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/create/-/create-5.6.2.tgz", - "integrity": "sha512-+Y5cMUxMNXjTTU9IHpgRYIwKo39w+blui1P+s+qYlZUSCUAew0xNpOBG8iN0Nc5X9op4U094oIdHxv7Dyz6tWQ==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -22198,8 +22032,6 @@ "dependencies": { "builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, "requires": { "semver": "^7.0.0" @@ -22207,8 +22039,6 @@ }, "hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -22216,8 +22046,6 @@ }, "npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, "requires": { "hosted-git-info": "^3.0.6", @@ -22227,14 +22055,10 @@ "dependencies": { "builtins": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", - "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==", "dev": true }, "validate-npm-package-name": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", - "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", "dev": true, "requires": { "builtins": "^1.0.3" @@ -22244,14 +22068,10 @@ }, "pify": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", - "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", "dev": true }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -22259,8 +22079,6 @@ }, "validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, "requires": { "builtins": "^5.0.0" @@ -22270,8 +22088,6 @@ }, "@lerna/create-symlink": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-5.6.2.tgz", - "integrity": "sha512-0WIs3P6ohPVh2+t5axrLZDE5Dt7fe3Kv0Auj0sBiBd6MmKZ2oS76apIl0Bspdbv8jX8+TRKGv6ib0280D0dtEw==", "dev": true, "requires": { "cmd-shim": "^5.0.0", @@ -22281,8 +22097,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -22291,8 +22105,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -22307,8 +22119,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -22321,8 +22131,6 @@ }, "@lerna/describe-ref": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-5.6.2.tgz", - "integrity": "sha512-UqU0N77aT1W8duYGir7R+Sk3jsY/c4lhcCEcnayMpFScMbAp0ETGsW04cYsHK29sgg+ZCc5zEwebBqabWhMhnA==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -22331,8 +22139,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -22341,8 +22147,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -22357,8 +22161,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -22371,8 +22173,6 @@ }, "@lerna/diff": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/diff/-/diff-5.6.2.tgz", - "integrity": "sha512-aHKzKvUvUI8vOcshC2Za/bdz+plM3r/ycqUrPqaERzp+kc1pYHyPeXezydVdEmgmmwmyKI5hx4+2QNnzOnun2A==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -22383,8 +22183,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -22393,8 +22191,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -22409,8 +22205,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -22423,8 +22217,6 @@ }, "@lerna/exec": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/exec/-/exec-5.6.2.tgz", - "integrity": "sha512-meZozok5stK7S0oAVn+kdbTmU+kHj9GTXjW7V8kgwG9ld+JJMTH3nKK1L3mEKyk9TFu9vFWyEOF7HNK6yEOoVg==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -22438,8 +22230,6 @@ }, "@lerna/filter-options": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-5.6.2.tgz", - "integrity": "sha512-4Z0HIhPak2TabTsUqEBQaQeOqgqEt0qyskvsY0oviYvqP/nrJfJBZh4H93jIiNQF59LJCn5Ce3KJJrLExxjlzw==", "dev": true, "requires": { "@lerna/collect-updates": "5.6.2", @@ -22450,8 +22240,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -22460,8 +22248,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -22476,8 +22262,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -22535,8 +22319,6 @@ }, "@lerna/get-npm-exec-opts": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-5.6.2.tgz", - "integrity": "sha512-0RbSDJ+QC9D5UWZJh3DN7mBIU1NhBmdHOE289oHSkjDY+uEjdzMPkEUy+wZ8fCzMLFnnNQkAEqNaOAzZ7dmFLA==", "dev": true, "requires": { "npmlog": "^6.0.2" @@ -22544,8 +22326,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -22554,8 +22334,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -22570,8 +22348,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -22584,8 +22360,6 @@ }, "@lerna/get-packed": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/get-packed/-/get-packed-5.6.2.tgz", - "integrity": "sha512-pp5nNDmtrtd21aKHjwwOY5CS7XNIHxINzGa+Jholn1jMDYUtdskpN++ZqYbATGpW831++NJuiuBVyqAWi9xbXg==", "dev": true, "requires": { "fs-extra": "^9.1.0", @@ -22595,8 +22369,6 @@ }, "@lerna/github-client": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/github-client/-/github-client-5.6.2.tgz", - "integrity": "sha512-pjALazZoRZtKqfwLBwmW3HPptVhQm54PvA8s3qhCQ+3JkqrZiIFwkkxNZxs3jwzr+aaSOzfhSzCndg0urb0GXA==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -22608,8 +22380,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -22618,8 +22388,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -22634,8 +22402,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -22648,8 +22414,6 @@ }, "@lerna/gitlab-client": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/gitlab-client/-/gitlab-client-5.6.2.tgz", - "integrity": "sha512-TInJmbrsmYIwUyrRxytjO82KjJbRwm67F7LoZs1shAq6rMvNqi4NxSY9j+hT/939alFmEq1zssoy/caeLXHRfQ==", "dev": true, "requires": { "node-fetch": "^2.6.1", @@ -22658,8 +22422,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -22668,8 +22430,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -22684,8 +22444,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -22698,14 +22456,10 @@ }, "@lerna/global-options": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/global-options/-/global-options-5.6.2.tgz", - "integrity": "sha512-kaKELURXTlczthNJskdOvh6GGMyt24qat0xMoJZ8plYMdofJfhz24h1OFcvB/EwCUwP/XV1+ohE5P+vdktbrEg==", "dev": true }, "@lerna/has-npm-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/has-npm-version/-/has-npm-version-5.6.2.tgz", - "integrity": "sha512-kXCnSzffmTWsaK0ol30coyCfO8WH26HFbmJjRBzKv7VGkuAIcB6gX2gqRRgNLLlvI+Yrp+JSlpVNVnu15SEH2g==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -22714,8 +22468,6 @@ "dependencies": { "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -22725,8 +22477,6 @@ }, "@lerna/import": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/import/-/import-5.6.2.tgz", - "integrity": "sha512-xQUE49mtcP0z3KUdXBsyvp8rGDz6phuYUoQbhcFRJ7WPcQKzMvtm0XYrER6c2YWEX7QOuDac6tU82P8zTrTBaA==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -22741,8 +22491,6 @@ }, "@lerna/info": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/info/-/info-5.6.2.tgz", - "integrity": "sha512-MPjY5Olj+fiZHgfEdwXUFRKamdEuLr9Ob/qut8JsB/oQSQ4ALdQfnrOcMT8lJIcC2R67EA5yav2lHPBIkezm8A==", "dev": true, "requires": { "@lerna/command": "5.6.2", @@ -22752,8 +22500,6 @@ }, "@lerna/init": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/init/-/init-5.6.2.tgz", - "integrity": "sha512-ahU3/lgF+J8kdJAQysihFJROHthkIDXfHmvhw7AYnzf94HjxGNXj7nz6i3At1/dM/1nQhR+4/uNR1/OU4tTYYQ==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -22766,8 +22512,6 @@ }, "@lerna/link": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/link/-/link-5.6.2.tgz", - "integrity": "sha512-hXxQ4R3z6rUF1v2x62oIzLyeHL96u7ZBhxqYMJrm763D1VMSDcHKF9CjJfc6J9vH5Z2ZbL6CQg50Hw5mUpJbjg==", "dev": true, "requires": { "@lerna/command": "5.6.2", @@ -22780,8 +22524,6 @@ "dependencies": { "@lerna/package-graph": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-5.6.2.tgz", - "integrity": "sha512-TmL61qBBvA3Tc4qICDirZzdFFwWOA6qicIXUruLiE2PblRowRmCO1bKrrP6XbDOspzwrkPef6N2F2/5gHQAnkQ==", "dev": true, "requires": { "@lerna/prerelease-id-from-version": "5.6.2", @@ -22793,8 +22535,6 @@ }, "@lerna/prerelease-id-from-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.6.2.tgz", - "integrity": "sha512-7gIm9fecWFVNy2kpj/KbH11bRcpyANAwpsft3X5m6J7y7A6FTUscCbEvl3ZNdpQKHNuvnHgCtkm3A5PMSCEgkA==", "dev": true, "requires": { "semver": "^7.3.4" @@ -22802,8 +22542,6 @@ }, "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -22812,8 +22550,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -22828,8 +22564,6 @@ }, "hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -22837,8 +22571,6 @@ }, "npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, "requires": { "hosted-git-info": "^3.0.6", @@ -22848,8 +22580,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -22860,8 +22590,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -22871,8 +22599,6 @@ }, "@lerna/list": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/list/-/list-5.6.2.tgz", - "integrity": "sha512-WjE5O2tQ3TcS+8LqXUaxi0YdldhxUhNihT5+Gg4vzGdIlrPDioO50Zjo9d8jOU7i3LMIk6EzCma0sZr2CVfEGg==", "dev": true, "requires": { "@lerna/command": "5.6.2", @@ -22883,8 +22609,6 @@ }, "@lerna/listable": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/listable/-/listable-5.6.2.tgz", - "integrity": "sha512-8Yp49BwkY/5XqVru38Zko+6Wj/sgbwzJfIGEPy3Qu575r1NA/b9eI1gX22aMsEeXUeGOybR7nWT5ewnPQHjqvA==", "dev": true, "requires": { "@lerna/query-graph": "5.6.2", @@ -22894,8 +22618,6 @@ "dependencies": { "ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { "color-convert": "^2.0.1" @@ -22903,8 +22625,6 @@ }, "chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -22913,8 +22633,6 @@ }, "color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { "color-name": "~1.1.4" @@ -22922,20 +22640,14 @@ }, "color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" @@ -22945,8 +22657,6 @@ }, "@lerna/log-packed": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/log-packed/-/log-packed-5.6.2.tgz", - "integrity": "sha512-O9GODG7tMtWk+2fufn2MOkIDBYMRoKBhYMHshO5Aw/VIsH76DIxpX1koMzWfUngM/C70R4uNAKcVWineX4qzIw==", "dev": true, "requires": { "byte-size": "^7.0.0", @@ -22957,8 +22667,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -22967,8 +22675,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -22983,8 +22689,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -22997,8 +22701,6 @@ }, "@lerna/npm-conf": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/npm-conf/-/npm-conf-5.6.2.tgz", - "integrity": "sha512-gWDPhw1wjXYXphk/PAghTLexO5T6abVFhXb+KOMCeem366mY0F5bM88PiorL73aErTNUoR8n+V4X29NTZzDZpQ==", "dev": true, "requires": { "config-chain": "^1.1.12", @@ -23007,16 +22709,12 @@ "dependencies": { "pify": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", - "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", "dev": true } } }, "@lerna/npm-dist-tag": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-5.6.2.tgz", - "integrity": "sha512-t2RmxV6Eog4acXkUI+EzWuYVbeVVY139pANIWS9qtdajfgp4GVXZi1S8mAIb70yeHdNpCp1mhK0xpCrFH9LvGQ==", "dev": true, "requires": { "@lerna/otplease": "5.6.2", @@ -23027,8 +22725,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -23037,8 +22733,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -23053,8 +22747,6 @@ }, "hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -23062,8 +22754,6 @@ }, "npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, "requires": { "hosted-git-info": "^3.0.6", @@ -23073,8 +22763,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -23085,8 +22773,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -23096,8 +22782,6 @@ }, "@lerna/npm-install": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/npm-install/-/npm-install-5.6.2.tgz", - "integrity": "sha512-AT226zdEo+uGENd37jwYgdALKJAIJK4pNOfmXWZWzVb9oMOr8I2YSjPYvSYUNG7gOo2YJQU8x5Zd7OShv2924Q==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -23111,8 +22795,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -23121,8 +22803,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -23137,8 +22817,6 @@ }, "hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -23146,8 +22824,6 @@ }, "npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, "requires": { "hosted-git-info": "^3.0.6", @@ -23157,8 +22833,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -23169,8 +22843,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -23180,8 +22852,6 @@ }, "@lerna/npm-publish": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-5.6.2.tgz", - "integrity": "sha512-ldSyewCfv9fAeC5xNjL0HKGSUxcC048EJoe/B+KRUmd+IPidvZxMEzRu08lSC/q3V9YeUv9ZvRnxATXOM8CffA==", "dev": true, "requires": { "@lerna/otplease": "5.6.2", @@ -23196,8 +22866,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -23206,8 +22874,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -23222,8 +22888,6 @@ }, "hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -23231,8 +22895,6 @@ }, "npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, "requires": { "hosted-git-info": "^3.0.6", @@ -23242,8 +22904,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -23254,14 +22914,10 @@ }, "pify": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", - "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", "dev": true }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -23271,8 +22927,6 @@ }, "@lerna/npm-run-script": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/npm-run-script/-/npm-run-script-5.6.2.tgz", - "integrity": "sha512-MOQoWNcAyJivM8SYp0zELM7vg/Dj07j4YMdxZkey+S1UO0T4/vKBxb575o16hH4WeNzC3Pd7WBlb7C8dLOfNwQ==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -23282,8 +22936,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -23292,8 +22944,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -23308,8 +22958,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -23322,8 +22970,6 @@ }, "@lerna/otplease": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/otplease/-/otplease-5.6.2.tgz", - "integrity": "sha512-dGS4lzkEQVTMAgji82jp8RK6UK32wlzrBAO4P4iiVHCUTuwNLsY9oeBXvVXSMrosJnl6Hbe0NOvi43mqSucGoA==", "dev": true, "requires": { "@lerna/prompt": "5.6.2" @@ -23331,8 +22977,6 @@ }, "@lerna/output": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/output/-/output-5.6.2.tgz", - "integrity": "sha512-++d+bfOQwY66yo7q1XuAvRcqtRHCG45e/awP5xQomTZ6R1rhWiZ3whWdc9Z6lF7+UtBB9toSYYffKU/xc3L0yQ==", "dev": true, "requires": { "npmlog": "^6.0.2" @@ -23340,8 +22984,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -23350,8 +22992,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -23366,8 +23006,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -23380,8 +23018,6 @@ }, "@lerna/pack-directory": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-5.6.2.tgz", - "integrity": "sha512-w5Jk5fo+HkN4Le7WMOudTcmAymcf0xPd302TqAQncjXpk0cb8tZbj+5bbNHsGb58GRjOIm5icQbHXooQUxbHhA==", "dev": true, "requires": { "@lerna/get-packed": "5.6.2", @@ -23395,8 +23031,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -23405,8 +23039,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -23421,8 +23053,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -23435,8 +23065,6 @@ }, "@lerna/package": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/package/-/package-5.6.2.tgz", - "integrity": "sha512-LaOC8moyM5J9WnRiWZkedjOninSclBOJyPqhif6mHb2kCFX6jAroNYzE8KM4cphu8CunHuhI6Ixzswtv+Dultw==", "dev": true, "requires": { "load-json-file": "^6.2.0", @@ -23446,8 +23074,6 @@ "dependencies": { "hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -23455,8 +23081,6 @@ }, "npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, "requires": { "hosted-git-info": "^3.0.6", @@ -23466,8 +23090,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -23504,8 +23126,6 @@ }, "@lerna/profiler": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/profiler/-/profiler-5.6.2.tgz", - "integrity": "sha512-okwkagP5zyRIOYTceu/9/esW7UZFt7lyL6q6ZgpSG3TYC5Ay+FXLtS6Xiha/FQdVdumFqKULDWTGovzUlxcwaw==", "dev": true, "requires": { "fs-extra": "^9.1.0", @@ -23515,8 +23135,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -23525,8 +23143,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -23541,8 +23157,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -23610,8 +23224,6 @@ }, "@lerna/prompt": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prompt/-/prompt-5.6.2.tgz", - "integrity": "sha512-4hTNmVYADEr0GJTMegWV+GW6n+dzKx1vN9v2ISqyle283Myv930WxuyO0PeYGqTrkneJsyPreCMovuEGCvZ0iQ==", "dev": true, "requires": { "inquirer": "^8.2.4", @@ -23620,8 +23232,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -23630,8 +23240,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -23646,8 +23254,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -23660,8 +23266,6 @@ }, "@lerna/publish": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/publish/-/publish-5.6.2.tgz", - "integrity": "sha512-QaW0GjMJMuWlRNjeDCjmY/vjriGSWgkLS23yu8VKNtV5U3dt5yIKA3DNGV3HgZACuu45kQxzMDsfLzgzbGNtYA==", "dev": true, "requires": { "@lerna/check-working-tree": "5.6.2", @@ -23696,8 +23300,6 @@ "dependencies": { "@lerna/prerelease-id-from-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.6.2.tgz", - "integrity": "sha512-7gIm9fecWFVNy2kpj/KbH11bRcpyANAwpsft3X5m6J7y7A6FTUscCbEvl3ZNdpQKHNuvnHgCtkm3A5PMSCEgkA==", "dev": true, "requires": { "semver": "^7.3.4" @@ -23705,8 +23307,6 @@ }, "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -23715,8 +23315,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -23731,8 +23329,6 @@ }, "hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -23740,8 +23336,6 @@ }, "npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, "requires": { "hosted-git-info": "^3.0.6", @@ -23751,8 +23345,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -23763,8 +23355,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -23774,8 +23364,6 @@ }, "@lerna/pulse-till-done": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-5.6.2.tgz", - "integrity": "sha512-eA/X1RCxU5YGMNZmbgPi+Kyfx1Q3bn4P9jo/LZy+/NRRr1po3ASXP2GJZ1auBh/9A2ELDvvKTOXCVHqczKC6rA==", "dev": true, "requires": { "npmlog": "^6.0.2" @@ -23783,8 +23371,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -23793,8 +23379,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -23809,8 +23393,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -23823,8 +23405,6 @@ }, "@lerna/query-graph": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/query-graph/-/query-graph-5.6.2.tgz", - "integrity": "sha512-KRngr96yBP8XYDi9/U62fnGO+ZXqm04Qk6a2HtoTr/ha8QvO1s7Tgm0xs/G7qWXDQHZgunWIbmK/LhxM7eFQrw==", "dev": true, "requires": { "@lerna/package-graph": "5.6.2" @@ -23832,8 +23412,6 @@ "dependencies": { "@lerna/package-graph": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-5.6.2.tgz", - "integrity": "sha512-TmL61qBBvA3Tc4qICDirZzdFFwWOA6qicIXUruLiE2PblRowRmCO1bKrrP6XbDOspzwrkPef6N2F2/5gHQAnkQ==", "dev": true, "requires": { "@lerna/prerelease-id-from-version": "5.6.2", @@ -23845,8 +23423,6 @@ }, "@lerna/prerelease-id-from-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.6.2.tgz", - "integrity": "sha512-7gIm9fecWFVNy2kpj/KbH11bRcpyANAwpsft3X5m6J7y7A6FTUscCbEvl3ZNdpQKHNuvnHgCtkm3A5PMSCEgkA==", "dev": true, "requires": { "semver": "^7.3.4" @@ -23854,8 +23430,6 @@ }, "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -23864,8 +23438,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -23880,8 +23452,6 @@ }, "hosted-git-info": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -23889,8 +23459,6 @@ }, "npm-package-arg": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", "dev": true, "requires": { "hosted-git-info": "^3.0.6", @@ -23900,8 +23468,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -23912,8 +23478,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -23923,8 +23487,6 @@ }, "@lerna/resolve-symlink": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/resolve-symlink/-/resolve-symlink-5.6.2.tgz", - "integrity": "sha512-PDQy+7M8JEFtwIVHJgWvSxHkxJf9zXCENkvIWDB+SsoDPhw9+caewt46bTeP5iGm9pOMu3oZukaWo/TvF7sNjg==", "dev": true, "requires": { "fs-extra": "^9.1.0", @@ -23934,8 +23496,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -23944,8 +23504,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -23960,8 +23518,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -23974,8 +23530,6 @@ }, "@lerna/rimraf-dir": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/rimraf-dir/-/rimraf-dir-5.6.2.tgz", - "integrity": "sha512-jgEfzz7uBUiQKteq3G8MtJiA2D2VoKmZSSY3VSiW/tPOSXYxxSHxEsClQdCeNa6+sYrDNDT8fP6MJ3lPLjDeLA==", "dev": true, "requires": { "@lerna/child-process": "5.6.2", @@ -23986,8 +23540,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -23996,8 +23548,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -24012,8 +23562,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -24026,8 +23574,6 @@ }, "@lerna/run": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/run/-/run-5.6.2.tgz", - "integrity": "sha512-c2kJxdFrNg5KOkrhmgwKKUOsfSrGNlFCe26EttufOJ3xfY0VnXlEw9rHOkTgwtu7969rfCdyaVP1qckMrF1Dgw==", "dev": true, "requires": { "@lerna/command": "5.6.2", @@ -24044,8 +23590,6 @@ }, "@lerna/run-lifecycle": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/run-lifecycle/-/run-lifecycle-5.6.2.tgz", - "integrity": "sha512-u9gGgq/50Fm8dvfcc/TSHOCAQvzLD7poVanDMhHYWOAqRDnellJEEmA1K/Yka4vZmySrzluahkry9G6jcREt+g==", "dev": true, "requires": { "@lerna/npm-conf": "5.6.2", @@ -24056,8 +23600,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -24066,8 +23608,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -24082,8 +23622,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -24096,8 +23634,6 @@ }, "@lerna/run-topologically": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/run-topologically/-/run-topologically-5.6.2.tgz", - "integrity": "sha512-QQ/jGOIsVvUg3izShWsd67RlWYh9UOH2yw97Ol1zySX9+JspCMVQrn9eKq1Pk8twQOFhT87LpT/aaxbTBgREPw==", "dev": true, "requires": { "@lerna/query-graph": "5.6.2", @@ -24106,8 +23642,6 @@ }, "@lerna/symlink-binary": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-5.6.2.tgz", - "integrity": "sha512-Cth+miwYyO81WAmrQbPBrLHuF+F0UUc0el5kRXLH6j5zzaRS3kMM68r40M7MmfH8m3GPi7691UARoWFEotW5jw==", "dev": true, "requires": { "@lerna/create-symlink": "5.6.2", @@ -24118,8 +23652,6 @@ }, "@lerna/symlink-dependencies": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/symlink-dependencies/-/symlink-dependencies-5.6.2.tgz", - "integrity": "sha512-dUVNQLEcjVOIQiT9OlSAKt0ykjyJPy8l9i4NJDe2/0XYaUjo8PWsxJ0vrutz27jzi2aZUy07ASmowQZEmnLHAw==", "dev": true, "requires": { "@lerna/create-symlink": "5.6.2", @@ -24132,8 +23664,6 @@ }, "@lerna/temp-write": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/temp-write/-/temp-write-5.6.2.tgz", - "integrity": "sha512-S5ZNVTurSwWBmc9kh5alfSjmO3+BnRT6shYtOlmVIUYqWeYVYA5C1Htj322bbU4CSNCMFK6NQl4qGKL17HMuig==", "dev": true, "requires": { "graceful-fs": "^4.1.15", @@ -24145,14 +23675,10 @@ }, "@lerna/timer": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/timer/-/timer-5.6.2.tgz", - "integrity": "sha512-AjMOiLc2B+5Nzdd9hNORetAdZ/WK8YNGX/+2ypzM68TMAPfIT5C40hMlSva9Yg4RsBz22REopXgM5s2zQd5ZQA==", "dev": true }, "@lerna/validation-error": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/validation-error/-/validation-error-5.6.2.tgz", - "integrity": "sha512-4WlDUHaa+RSJNyJRtX3gVIAPVzjZD2tle8AJ0ZYBfdZnZmG0VlB2pD1FIbOQPK8sY2h5m0cHLRvfLoLncqHvdQ==", "dev": true, "requires": { "npmlog": "^6.0.2" @@ -24160,8 +23686,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -24170,8 +23694,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -24186,8 +23708,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -24200,8 +23720,6 @@ }, "@lerna/version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/version/-/version-5.6.2.tgz", - "integrity": "sha512-odNSR2rTbHW++xMZSQKu/F6Syrd/sUvwDLPaMKktoOSPKmycHt/eWcuQQyACdtc43Iqeu4uQd7PCLsniqOVFrw==", "dev": true, "requires": { "@lerna/check-working-tree": "5.6.2", @@ -24235,8 +23753,6 @@ "dependencies": { "@lerna/prerelease-id-from-version": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-5.6.2.tgz", - "integrity": "sha512-7gIm9fecWFVNy2kpj/KbH11bRcpyANAwpsft3X5m6J7y7A6FTUscCbEvl3ZNdpQKHNuvnHgCtkm3A5PMSCEgkA==", "dev": true, "requires": { "semver": "^7.3.4" @@ -24244,8 +23760,6 @@ }, "ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { "color-convert": "^2.0.1" @@ -24253,8 +23767,6 @@ }, "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -24263,8 +23775,6 @@ }, "chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -24273,8 +23783,6 @@ }, "color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { "color-name": "~1.1.4" @@ -24282,14 +23790,10 @@ }, "color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -24304,14 +23808,10 @@ }, "has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -24322,8 +23822,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -24331,8 +23829,6 @@ }, "supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" @@ -24342,8 +23838,6 @@ }, "@lerna/write-log-file": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-5.6.2.tgz", - "integrity": "sha512-J09l18QnWQ3sXIRwuJkjXY3+KwPR2uO5NgbZGE3GXJK1V/LzOBRMvjGAIbuQHXw25uqe7vpLUpB8drtnFrubCQ==", "dev": true, "requires": { "npmlog": "^6.0.2", @@ -24352,8 +23846,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -24362,8 +23854,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -24378,8 +23868,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -24390,8 +23878,6 @@ }, "write-file-atomic": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", "dev": true, "requires": { "imurmurhash": "^0.1.4", @@ -24403,6 +23889,9 @@ "@lifeomic/attempt": { "version": "3.0.3" }, + "@linaria/core": { + "version": "3.0.0-beta.13" + }, "@nodelib/fs.scandir": { "version": "2.1.5", "requires": { @@ -24422,8 +23911,6 @@ }, "@npmcli/arborist": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-5.3.0.tgz", - "integrity": "sha512-+rZ9zgL1lnbl8Xbb1NQdMjveOMwj4lIYfcDtyJHHi5x4X8jtR6m8SXooJMZy5vmFVZ8w7A2Bnd/oX9eTuU8w5A==", "dev": true, "requires": { "@isaacs/string-locale-compare": "^1.1.0", @@ -24464,8 +23951,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -24474,8 +23959,6 @@ }, "builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, "requires": { "semver": "^7.0.0" @@ -24483,8 +23966,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -24499,8 +23980,6 @@ }, "hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, "requires": { "lru-cache": "^7.5.1" @@ -24508,16 +23987,12 @@ "dependencies": { "lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true } } }, "npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, "requires": { "hosted-git-info": "^5.0.0", @@ -24528,8 +24003,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -24540,8 +24013,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -24549,8 +24020,6 @@ }, "validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, "requires": { "builtins": "^5.0.0" @@ -24560,8 +24029,6 @@ }, "@npmcli/fs": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz", - "integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==", "dev": true, "requires": { "@gar/promisify": "^1.1.3", @@ -24570,8 +24037,6 @@ "dependencies": { "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -24581,8 +24046,6 @@ }, "@npmcli/git": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-3.0.2.tgz", - "integrity": "sha512-CAcd08y3DWBJqJDpfuVL0uijlq5oaXaOJEKHKc4wqrjd00gkvTZB+nFuLn+doOOKddaQS9JfqtNoFCO2LCvA3w==", "dev": true, "requires": { "@npmcli/promise-spawn": "^3.0.0", @@ -24598,14 +24061,10 @@ "dependencies": { "lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -24613,8 +24072,6 @@ "dependencies": { "lru-cache": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, "requires": { "yallist": "^4.0.0" @@ -24626,8 +24083,6 @@ }, "@npmcli/installed-package-contents": { "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz", - "integrity": "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==", "dev": true, "requires": { "npm-bundled": "^1.1.1", @@ -24636,8 +24091,6 @@ }, "@npmcli/map-workspaces": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@npmcli/map-workspaces/-/map-workspaces-2.0.4.tgz", - "integrity": "sha512-bMo0aAfwhVwqoVM5UzX1DJnlvVvzDCHae821jv48L1EsrYwfOZChlqWYXEtto/+BkBXetPbEWgau++/brh4oVg==", "dev": true, "requires": { "@npmcli/name-from-folder": "^1.0.1", @@ -24648,8 +24101,6 @@ "dependencies": { "brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "requires": { "balanced-match": "^1.0.0" @@ -24657,8 +24108,6 @@ }, "glob": { "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -24670,8 +24119,6 @@ }, "minimatch": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "dev": true, "requires": { "brace-expansion": "^2.0.1" @@ -24681,8 +24128,6 @@ }, "@npmcli/metavuln-calculator": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/metavuln-calculator/-/metavuln-calculator-3.1.1.tgz", - "integrity": "sha512-n69ygIaqAedecLeVH3KnO39M6ZHiJ2dEv5A7DGvcqCB8q17BGUgW8QaanIkbWUo2aYGZqJaOORTLAlIvKjNDKA==", "dev": true, "requires": { "cacache": "^16.0.0", @@ -24693,8 +24138,6 @@ "dependencies": { "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -24704,8 +24147,6 @@ }, "@npmcli/move-file": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-2.0.1.tgz", - "integrity": "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==", "dev": true, "requires": { "mkdirp": "^1.0.4", @@ -24714,20 +24155,14 @@ }, "@npmcli/name-from-folder": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/name-from-folder/-/name-from-folder-1.0.1.tgz", - "integrity": "sha512-qq3oEfcLFwNfEYOQ8HLimRGKlD8WSeGEdtUa7hmzpR8Sa7haL1KVQrvgO6wqMjhWFFVjgtrh1gIxDz+P8sjUaA==", "dev": true }, "@npmcli/node-gyp": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz", - "integrity": "sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A==", "dev": true }, "@npmcli/package-json": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-2.0.0.tgz", - "integrity": "sha512-42jnZ6yl16GzjWSH7vtrmWyJDGVa/LXPdpN2rcUWolFjc9ON2N3uz0qdBbQACfmhuJZ2lbKYtmK5qx68ZPLHMA==", "dev": true, "requires": { "json-parse-even-better-errors": "^2.3.1" @@ -24735,8 +24170,6 @@ }, "@npmcli/promise-spawn": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-3.0.0.tgz", - "integrity": "sha512-s9SgS+p3a9Eohe68cSI3fi+hpcZUmXq5P7w0kMlAsWVtR7XbK3ptkZqKT2cK1zLDObJ3sR+8P59sJE0w/KTL1g==", "dev": true, "requires": { "infer-owner": "^1.0.4" @@ -24744,8 +24177,6 @@ }, "@npmcli/run-script": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-4.2.1.tgz", - "integrity": "sha512-7dqywvVudPSrRCW5nTHpHgeWnbBtz8cFkOuKrecm6ih+oO9ciydhWt6OF7HlqupRRmB8Q/gECVdB9LMfToJbRg==", "dev": true, "requires": { "@npmcli/node-gyp": "^2.0.0", @@ -24757,8 +24188,6 @@ }, "@nrwl/cli": { "version": "15.0.8", - "resolved": "https://registry.npmjs.org/@nrwl/cli/-/cli-15.0.8.tgz", - "integrity": "sha512-3dy3VGcStWuZXUK91FNIoxIHO44DSuE3bPVLLPfYoOgn8pYjhykpdp6RZHoDkN2NhRypzM73q2GCrmBMfizRyA==", "dev": true, "requires": { "nx": "15.0.8" @@ -24766,8 +24195,6 @@ }, "@nrwl/devkit": { "version": "15.0.8", - "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-15.0.8.tgz", - "integrity": "sha512-ZZ8lPcjH/hFdGUXJuV8E7sByxOSEBxtm84+bgiwdvViVcr55LHBfDBtcyT/e7U1omLNrvFk1rrbyhX0YSKQigQ==", "dev": true, "requires": { "@phenomnomnominal/tsquery": "4.1.1", @@ -24779,8 +24206,6 @@ "dependencies": { "semver": { "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -24790,8 +24215,6 @@ }, "@nrwl/tao": { "version": "15.0.8", - "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-15.0.8.tgz", - "integrity": "sha512-Xr1hq3ZCfdKS5XSf8non5eLVdGLEleKdqBhGzdOFssYaPsCDkbavX5mzySzxeLk+DM9rcOFhwwf0x7JCOiq0bQ==", "dev": true, "requires": { "nx": "15.0.8" @@ -24799,8 +24222,6 @@ }, "@octokit/auth-token": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-3.0.2.tgz", - "integrity": "sha512-pq7CwIMV1kmzkFTimdwjAINCXKTajZErLB4wMLYapR2nuB/Jpr66+05wOTZMSCBXP6n4DdDWT2W19Bm17vU69Q==", "dev": true, "requires": { "@octokit/types": "^8.0.0" @@ -24808,8 +24229,6 @@ }, "@octokit/core": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-4.1.0.tgz", - "integrity": "sha512-Czz/59VefU+kKDy+ZfDwtOIYIkFjExOKf+HA92aiTZJ6EfWpFzYQWw0l54ji8bVmyhc+mGaLUbSUmXazG7z5OQ==", "dev": true, "requires": { "@octokit/auth-token": "^3.0.0", @@ -24823,8 +24242,6 @@ }, "@octokit/endpoint": { "version": "7.0.3", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-7.0.3.tgz", - "integrity": "sha512-57gRlb28bwTsdNXq+O3JTQ7ERmBTuik9+LelgcLIVfYwf235VHbN9QNo4kXExtp/h8T423cR5iJThKtFYxC7Lw==", "dev": true, "requires": { "@octokit/types": "^8.0.0", @@ -24834,8 +24251,6 @@ }, "@octokit/graphql": { "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-5.0.4.tgz", - "integrity": "sha512-amO1M5QUQgYQo09aStR/XO7KAl13xpigcy/kI8/N1PnZYSS69fgte+xA4+c2DISKqUZfsh0wwjc2FaCt99L41A==", "dev": true, "requires": { "@octokit/request": "^6.0.0", @@ -24845,20 +24260,14 @@ }, "@octokit/openapi-types": { "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-14.0.0.tgz", - "integrity": "sha512-HNWisMYlR8VCnNurDU6os2ikx0s0VyEjDYHNS/h4cgb8DeOxQ0n72HyinUtdDVxJhFy3FWLGl0DJhfEWk3P5Iw==", "dev": true }, "@octokit/plugin-enterprise-rest": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz", - "integrity": "sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==", "dev": true }, "@octokit/plugin-paginate-rest": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-5.0.1.tgz", - "integrity": "sha512-7A+rEkS70pH36Z6JivSlR7Zqepz3KVucEFVDnSrgHXzG7WLAzYwcHZbKdfTXHwuTHbkT1vKvz7dHl1+HNf6Qyw==", "dev": true, "requires": { "@octokit/types": "^8.0.0" @@ -24866,15 +24275,11 @@ }, "@octokit/plugin-request-log": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz", - "integrity": "sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==", "dev": true, "requires": {} }, "@octokit/plugin-rest-endpoint-methods": { "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-6.7.0.tgz", - "integrity": "sha512-orxQ0fAHA7IpYhG2flD2AygztPlGYNAdlzYz8yrD8NDgelPfOYoRPROfEyIe035PlxvbYrgkfUZIhSBKju/Cvw==", "dev": true, "requires": { "@octokit/types": "^8.0.0", @@ -24883,8 +24288,6 @@ }, "@octokit/request": { "version": "6.2.2", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-6.2.2.tgz", - "integrity": "sha512-6VDqgj0HMc2FUX2awIs+sM6OwLgwHvAi4KCK3mT2H2IKRt6oH9d0fej5LluF5mck1lRR/rFWN0YIDSYXYSylbw==", "dev": true, "requires": { "@octokit/endpoint": "^7.0.0", @@ -24897,8 +24300,6 @@ }, "@octokit/request-error": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-3.0.2.tgz", - "integrity": "sha512-WMNOFYrSaX8zXWoJg9u/pKgWPo94JXilMLb2VManNOby9EZxrQaBe/QSC4a1TzpAlpxofg2X/jMnCyZgL6y7eg==", "dev": true, "requires": { "@octokit/types": "^8.0.0", @@ -24908,8 +24309,6 @@ }, "@octokit/rest": { "version": "19.0.5", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-19.0.5.tgz", - "integrity": "sha512-+4qdrUFq2lk7Va+Qff3ofREQWGBeoTKNqlJO+FGjFP35ZahP+nBenhZiGdu8USSgmq4Ky3IJ/i4u0xbLqHaeow==", "dev": true, "requires": { "@octokit/core": "^4.1.0", @@ -24920,8 +24319,6 @@ }, "@octokit/types": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-8.0.0.tgz", - "integrity": "sha512-65/TPpOJP1i3K4lBJMnWqPUJ6zuOtzhtagDvydAWbEXpbFYA0oMKKyLb95NFZZP0lSh/4b6K+DQlzvYQJQQePg==", "dev": true, "requires": { "@octokit/openapi-types": "^14.0.0" @@ -24929,8 +24326,6 @@ }, "@parcel/watcher": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.4.tgz", - "integrity": "sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg==", "dev": true, "requires": { "node-addon-api": "^3.2.1", @@ -24939,8 +24334,6 @@ }, "@phenomnomnominal/tsquery": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/@phenomnomnominal/tsquery/-/tsquery-4.1.1.tgz", - "integrity": "sha512-jjMmK1tnZbm1Jq5a7fBliM4gQwjxMU7TFoRNwIyzwlO+eHPRCFv/Nv+H/Gi1jc3WR7QURG8D5d0Tn12YGrUqBQ==", "dev": true, "requires": { "esquery": "^1.0.1" @@ -24949,8 +24342,47 @@ "@popperjs/core": { "version": "2.11.5" }, + "@remirror/core-constants": { + "version": "2.0.0", + "requires": { + "@babel/runtime": "^7.13.10" + } + }, + "@remirror/core-helpers": { + "version": "2.0.1", + "requires": { + "@babel/runtime": "^7.13.10", + "@linaria/core": "3.0.0-beta.13", + "@remirror/core-constants": "^2.0.0", + "@remirror/types": "^1.0.0", + "@types/object.omit": "^3.0.0", + "@types/object.pick": "^1.3.1", + "@types/throttle-debounce": "^2.1.0", + "case-anything": "^2.1.10", + "dash-get": "^1.0.2", + "deepmerge": "^4.2.2", + "fast-deep-equal": "^3.1.3", + "make-error": "^1.3.6", + "object.omit": "^3.0.0", + "object.pick": "^1.3.0", + "throttle-debounce": "^3.0.1" + } + }, + "@remirror/types": { + "version": "1.0.0", + "requires": { + "type-fest": "^2.0.0" + }, + "dependencies": { + "type-fest": { + "version": "2.19.0" + } + } + }, "@rollup/plugin-babel": { "version": "5.3.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz", + "integrity": "sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==", "dev": true, "requires": { "@babel/helper-module-imports": "^7.10.4", @@ -24959,6 +24391,8 @@ }, "@rollup/plugin-commonjs": { "version": "21.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-21.1.0.tgz", + "integrity": "sha512-6ZtHx3VHIp2ReNNDxHjuUml6ur+WcQ28N1yHgCQwsbNkQg2suhxGMDQGJOn/KuDxKtd1xuZP5xSTwBA4GQ8hbA==", "dev": true, "requires": { "@rollup/pluginutils": "^3.1.0", @@ -24972,6 +24406,8 @@ }, "@rollup/plugin-node-resolve": { "version": "13.3.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.3.0.tgz", + "integrity": "sha512-Lus8rbUo1eEcnS4yTFKLZrVumLPY+YayBdWXgFSHYhTT2iJbMhoaaBL3xl5NCdeRytErGr8tZ0L71BMRmnlwSw==", "dev": true, "requires": { "@rollup/pluginutils": "^3.1.0", @@ -24984,6 +24420,8 @@ }, "@rollup/pluginutils": { "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", "dev": true, "requires": { "@types/estree": "0.0.39", @@ -24991,8 +24429,16 @@ "picomatch": "^2.2.2" }, "dependencies": { + "@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, "estree-walker": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", "dev": true } } @@ -25029,355 +24475,345 @@ "@tiptap/core": { "version": "file:packages/core", "requires": { - "prosemirror-commands": "^1.3.1", - "prosemirror-keymap": "^1.2.0", - "prosemirror-model": "^1.18.1", - "prosemirror-schema-list": "^1.2.2", - "prosemirror-state": "^1.4.1", - "prosemirror-transform": "^1.7.0", - "prosemirror-view": "^1.28.2" + "@tiptap/pm": "^2.0.0-beta.218" } }, "@tiptap/extension-blockquote": { "version": "file:packages/extension-blockquote", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-bold": { "version": "file:packages/extension-bold", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-bubble-menu": { "version": "file:packages/extension-bubble-menu", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "@types/lodash": "^4.14.187", + "@tiptap/pm": "^2.0.0-beta.218", + "@types/lodash": "^4.14.191", "lodash": "^4.17.21", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2", "tippy.js": "^6.3.7" } }, "@tiptap/extension-bullet-list": { "version": "file:packages/extension-bullet-list", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-character-count": { "version": "file:packages/extension-character-count", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" } }, "@tiptap/extension-code": { "version": "file:packages/extension-code", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-code-block": { "version": "file:packages/extension-code-block", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" } }, "@tiptap/extension-code-block-lowlight": { "version": "file:packages/extension-code-block-lowlight", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/extension-code-block": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-code-block": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" } }, "@tiptap/extension-collaboration": { "version": "file:packages/extension-collaboration", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-state": "^1.4.1", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "y-prosemirror": "1.0.20" } }, "@tiptap/extension-collaboration-cursor": { "version": "file:packages/extension-collaboration-cursor", "requires": { - "@tiptap/core": "^2.0.0-beta.206", + "@tiptap/core": "^2.0.0-beta.218", "y-prosemirror": "1.0.20" } }, "@tiptap/extension-color": { "version": "file:packages/extension-color", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/extension-text-style": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-text-style": "^2.0.0-beta.218" } }, "@tiptap/extension-document": { "version": "file:packages/extension-document", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-dropcursor": { "version": "file:packages/extension-dropcursor", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-dropcursor": "1.5.0" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" } }, "@tiptap/extension-floating-menu": { "version": "file:packages/extension-floating-menu", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "tippy.js": "^6.3.7" } }, "@tiptap/extension-focus": { "version": "file:packages/extension-focus", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" } }, "@tiptap/extension-font-family": { "version": "file:packages/extension-font-family", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/extension-text-style": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-text-style": "^2.0.0-beta.218" } }, "@tiptap/extension-gapcursor": { "version": "file:packages/extension-gapcursor", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-gapcursor": "^1.3.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" } }, "@tiptap/extension-hard-break": { "version": "file:packages/extension-hard-break", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-heading": { "version": "file:packages/extension-heading", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-highlight": { "version": "file:packages/extension-highlight", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-history": { "version": "file:packages/extension-history", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-history": "^1.3.0" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" } }, "@tiptap/extension-horizontal-rule": { "version": "file:packages/extension-horizontal-rule", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" } }, "@tiptap/extension-image": { "version": "file:packages/extension-image", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-italic": { "version": "file:packages/extension-italic", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-link": { "version": "file:packages/extension-link", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "linkifyjs": "^3.0.5", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", + "linkifyjs": "^3.0.5" } }, "@tiptap/extension-list-item": { "version": "file:packages/extension-list-item", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-mention": { "version": "file:packages/extension-mention", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/suggestion": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", + "@tiptap/suggestion": "^2.0.0-beta.218" } }, "@tiptap/extension-ordered-list": { "version": "file:packages/extension-ordered-list", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-paragraph": { "version": "file:packages/extension-paragraph", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-placeholder": { "version": "file:packages/extension-placeholder", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" } }, "@tiptap/extension-strike": { "version": "file:packages/extension-strike", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-subscript": { "version": "file:packages/extension-subscript", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-superscript": { "version": "file:packages/extension-superscript", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-table": { "version": "file:packages/extension-table", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/prosemirror-tables": "^1.1.3", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" } }, "@tiptap/extension-table-cell": { "version": "file:packages/extension-table-cell", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-table-header": { "version": "file:packages/extension-table-header", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-table-row": { "version": "file:packages/extension-table-row", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-task-item": { "version": "file:packages/extension-task-item", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" } }, "@tiptap/extension-task-list": { "version": "file:packages/extension-task-list", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-text": { "version": "file:packages/extension-text", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-text-align": { "version": "file:packages/extension-text-align", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-text-style": { "version": "file:packages/extension-text-style", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-typography": { "version": "file:packages/extension-typography", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-underline": { "version": "file:packages/extension-underline", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/extension-youtube": { "version": "file:packages/extension-youtube", "requires": { - "@tiptap/core": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218" } }, "@tiptap/html": { "version": "file:packages/html", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "zeed-dom": "^0.9.19" } }, - "@tiptap/prosemirror-tables": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@tiptap/prosemirror-tables/-/prosemirror-tables-1.1.3.tgz", - "integrity": "sha512-Pp7Iyup+kxniDGEvFHX+BRw3et9vys83NVqk6B+PbVAztq64QyX/mY+vzcpFmOsF9/th+Po981igbGUG7C/8hw==", - "dev": true, + "@tiptap/pm": { + "version": "file:packages/pm", "requires": { - "prosemirror-keymap": "^1.1.2", - "prosemirror-model": "^1.8.1", - "prosemirror-state": "^1.3.1", - "prosemirror-transform": "^1.2.1", - "prosemirror-view": "^1.13.3" + "prosemirror-changeset": "^2.2.0", + "prosemirror-collab": "^1.3.0", + "prosemirror-commands": "^1.3.1", + "prosemirror-dropcursor": "^1.5.0", + "prosemirror-gapcursor": "^1.3.1", + "prosemirror-history": "^1.3.0", + "prosemirror-inputrules": "^1.2.0", + "prosemirror-keymap": "^1.2.0", + "prosemirror-markdown": "^1.10.1", + "prosemirror-menu": "^1.2.1", + "prosemirror-model": "^1.18.1", + "prosemirror-schema-basic": "^1.2.0", + "prosemirror-schema-list": "^1.2.2", + "prosemirror-state": "^1.4.1", + "prosemirror-tables": "^1.3.0", + "prosemirror-trailing-node": "^2.0.2", + "prosemirror-transform": "^1.7.0", + "prosemirror-view": "^1.28.2" } }, "@tiptap/react": { "version": "file:packages/react", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/extension-bubble-menu": "^2.0.0-beta.206", - "@tiptap/extension-floating-menu": "^2.0.0-beta.206", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-bubble-menu": "^2.0.0-beta.218", + "@tiptap/extension-floating-menu": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "@types/react": "^18.0.1", "@types/react-dom": "^18.0.0", - "prosemirror-view": "^1.28.2", "react": "^18.0.0", "react-dom": "^18.0.0" } @@ -25385,43 +24821,41 @@ "@tiptap/starter-kit": { "version": "file:packages/starter-kit", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/extension-blockquote": "^2.0.0-beta.206", - "@tiptap/extension-bold": "^2.0.0-beta.206", - "@tiptap/extension-bullet-list": "^2.0.0-beta.206", - "@tiptap/extension-code": "^2.0.0-beta.206", - "@tiptap/extension-code-block": "^2.0.0-beta.206", - "@tiptap/extension-document": "^2.0.0-beta.206", - "@tiptap/extension-dropcursor": "^2.0.0-beta.206", - "@tiptap/extension-gapcursor": "^2.0.0-beta.206", - "@tiptap/extension-hard-break": "^2.0.0-beta.206", - "@tiptap/extension-heading": "^2.0.0-beta.206", - "@tiptap/extension-history": "^2.0.0-beta.206", - "@tiptap/extension-horizontal-rule": "^2.0.0-beta.206", - "@tiptap/extension-italic": "^2.0.0-beta.206", - "@tiptap/extension-list-item": "^2.0.0-beta.206", - "@tiptap/extension-ordered-list": "^2.0.0-beta.206", - "@tiptap/extension-paragraph": "^2.0.0-beta.206", - "@tiptap/extension-strike": "^2.0.0-beta.206", - "@tiptap/extension-text": "^2.0.0-beta.206" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-blockquote": "^2.0.0-beta.218", + "@tiptap/extension-bold": "^2.0.0-beta.218", + "@tiptap/extension-bullet-list": "^2.0.0-beta.218", + "@tiptap/extension-code": "^2.0.0-beta.218", + "@tiptap/extension-code-block": "^2.0.0-beta.218", + "@tiptap/extension-document": "^2.0.0-beta.218", + "@tiptap/extension-dropcursor": "^2.0.0-beta.218", + "@tiptap/extension-gapcursor": "^2.0.0-beta.218", + "@tiptap/extension-hard-break": "^2.0.0-beta.218", + "@tiptap/extension-heading": "^2.0.0-beta.218", + "@tiptap/extension-history": "^2.0.0-beta.218", + "@tiptap/extension-horizontal-rule": "^2.0.0-beta.218", + "@tiptap/extension-italic": "^2.0.0-beta.218", + "@tiptap/extension-list-item": "^2.0.0-beta.218", + "@tiptap/extension-ordered-list": "^2.0.0-beta.218", + "@tiptap/extension-paragraph": "^2.0.0-beta.218", + "@tiptap/extension-strike": "^2.0.0-beta.218", + "@tiptap/extension-text": "^2.0.0-beta.218" } }, "@tiptap/suggestion": { "version": "file:packages/suggestion", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" } }, "@tiptap/vue-2": { "version": "file:packages/vue-2", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/extension-bubble-menu": "^2.0.0-beta.206", - "@tiptap/extension-floating-menu": "^2.0.0-beta.206", - "prosemirror-view": "^1.28.2", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-bubble-menu": "^2.0.0-beta.218", + "@tiptap/extension-floating-menu": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "vue": "^2.6.0" }, "dependencies": { @@ -25434,18 +24868,15 @@ "@tiptap/vue-3": { "version": "file:packages/vue-3", "requires": { - "@tiptap/core": "^2.0.0-beta.206", - "@tiptap/extension-bubble-menu": "^2.0.0-beta.206", - "@tiptap/extension-floating-menu": "^2.0.0-beta.206", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-bubble-menu": "^2.0.0-beta.218", + "@tiptap/extension-floating-menu": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "vue": "^3.0.0" } }, "@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==", "dev": true }, "@types/eslint": { @@ -25465,7 +24896,9 @@ } }, "@types/estree": { - "version": "0.0.39", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", + "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==", "dev": true }, "@types/hast": { @@ -25483,9 +24916,9 @@ "dev": true }, "@types/lodash": { - "version": "4.14.187", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.187.tgz", - "integrity": "sha512-MrO/xLXCaUgZy3y96C/iOsaIqZSeupyTImKClHunL5GrmaiII2VwvWmLBu2hwa0Kp0sV19CsyjtrTc/Fx8rg/A==", + "version": "4.14.191", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.191.tgz", + "integrity": "sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==", "dev": true }, "@types/minimatch": { @@ -25494,8 +24927,6 @@ }, "@types/minimist": { "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", "dev": true }, "@types/node": { @@ -25504,10 +24935,14 @@ }, "@types/normalize-package-data": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", "dev": true }, + "@types/object.omit": { + "version": "3.0.0" + }, + "@types/object.pick": { + "version": "1.3.2" + }, "@types/parse-json": { "version": "4.0.0", "dev": true @@ -25534,6 +24969,8 @@ }, "@types/resolve": { "version": "1.17.1", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", + "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", "dev": true, "requires": { "@types/node": "*" @@ -25551,6 +24988,9 @@ "version": "2.3.3", "dev": true }, + "@types/throttle-debounce": { + "version": "2.1.0" + }, "@types/unist": { "version": "2.0.6" }, @@ -25917,6 +25357,8 @@ }, "@yarn-tool/resolve-package": { "version": "1.0.47", + "resolved": "https://registry.npmjs.org/@yarn-tool/resolve-package/-/resolve-package-1.0.47.tgz", + "integrity": "sha512-Zaw58gQxjQceJqhqybJi1oUDaORT8i2GTgwICPs8v/X/Pkx35FXQba69ldHVg5pQZ6YLKpROXgyHvBaCJOFXiA==", "dev": true, "requires": { "pkg-dir": "< 6 >= 5", @@ -25926,6 +25368,8 @@ "dependencies": { "find-up": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, "requires": { "locate-path": "^6.0.0", @@ -25934,6 +25378,8 @@ }, "locate-path": { "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, "requires": { "p-locate": "^5.0.0" @@ -25941,6 +25387,8 @@ }, "p-limit": { "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, "requires": { "yocto-queue": "^0.1.0" @@ -25948,6 +25396,8 @@ }, "p-locate": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, "requires": { "p-limit": "^3.0.2" @@ -25955,6 +25405,8 @@ }, "pkg-dir": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-5.0.0.tgz", + "integrity": "sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==", "dev": true, "requires": { "find-up": "^5.0.0" @@ -25964,14 +25416,10 @@ }, "@yarnpkg/lockfile": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", - "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", "dev": true }, "@yarnpkg/parsers": { "version": "3.0.0-rc.27", - "resolved": "https://registry.npmjs.org/@yarnpkg/parsers/-/parsers-3.0.0-rc.27.tgz", - "integrity": "sha512-qs2wZulOYVjaOS6tYOs3SsR7m/qeHwjPrB5i4JtBJELsgWrEkyL+rJH21RA+fVwttJobAYQqw5Xj5SYLaDK/bQ==", "dev": true, "requires": { "js-yaml": "^3.10.0", @@ -25980,8 +25428,6 @@ "dependencies": { "argparse": { "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, "requires": { "sprintf-js": "~1.0.2" @@ -25989,8 +25435,6 @@ }, "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==", "dev": true, "requires": { "argparse": "^1.0.7", @@ -26001,8 +25445,6 @@ }, "@zkochan/js-yaml": { "version": "0.0.6", - "resolved": "https://registry.npmjs.org/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz", - "integrity": "sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg==", "dev": true, "requires": { "argparse": "^2.0.1" @@ -26010,8 +25452,6 @@ }, "abbrev": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "dev": true }, "acorn": { @@ -26049,14 +25489,10 @@ }, "add-stream": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", - "integrity": "sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==", "dev": true }, "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==", "dev": true, "requires": { "debug": "4" @@ -26064,8 +25500,6 @@ }, "agentkeepalive": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.1.tgz", - "integrity": "sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA==", "dev": true, "requires": { "debug": "^4.1.0", @@ -26118,6 +25552,10 @@ "color-convert": "^1.9.0" } }, + "any-promise": { + "version": "1.3.0", + "dev": true + }, "anymatch": { "version": "3.1.2", "dev": true, @@ -26169,8 +25607,7 @@ "dev": true }, "argparse": { - "version": "2.0.1", - "dev": true + "version": "2.0.1" }, "array-differ": { "version": "3.0.0", @@ -26178,8 +25615,6 @@ }, "array-ify": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", - "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", "dev": true }, "array-includes": { @@ -26209,14 +25644,10 @@ }, "arrify": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", "dev": true }, "asap": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", "dev": true }, "asn1": { @@ -26248,6 +25679,8 @@ }, "atob": { "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", "dev": true }, "autoprefixer": { @@ -26272,8 +25705,6 @@ }, "axios": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.1.3.tgz", - "integrity": "sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==", "dev": true, "requires": { "follow-redirects": "^1.15.0", @@ -26283,8 +25714,6 @@ "dependencies": { "form-data": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", "dev": true, "requires": { "asynckit": "^0.4.0", @@ -26294,8 +25723,6 @@ }, "proxy-from-env": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", "dev": true } } @@ -26357,8 +25784,6 @@ }, "before-after-hook": { "version": "2.2.3", - "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", - "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==", "dev": true }, "big.js": { @@ -26367,8 +25792,6 @@ }, "bin-links": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-3.0.3.tgz", - "integrity": "sha512-zKdnMPWEdh4F5INR07/eBrodC7QrF5JKvqskjz/ZZRXg5YSAZIbn8zGhbhUrElzHBZ2fvEQdOU59RHcTG3GiwA==", "dev": true, "requires": { "cmd-shim": "^5.0.0", @@ -26381,14 +25804,10 @@ "dependencies": { "npm-normalize-package-bin": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", "dev": true }, "write-file-atomic": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", "dev": true, "requires": { "imurmurhash": "^0.1.4", @@ -26403,8 +25822,6 @@ }, "bl": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", "dev": true, "requires": { "buffer": "^5.5.0", @@ -26440,6 +25857,8 @@ }, "brotli-size": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/brotli-size/-/brotli-size-4.0.0.tgz", + "integrity": "sha512-uA9fOtlTRC0iqKfzff1W34DXUA3GyVqbUaeo3Rw3d4gd1eavKVCETXrn3NzO74W+UVkG3UHu8WxUi+XvKI/huA==", "dev": true, "requires": { "duplexer": "0.1.1" @@ -26473,29 +25892,40 @@ }, "builtin-modules": { "version": "3.3.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", + "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", "dev": true }, "builtins": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-2.0.1.tgz", + "integrity": "sha512-XkkVe5QAb6guWPXTzpSrYpSlN3nqEmrrE2TkAr/tp7idSF6+MONh9WvKrAuR3HiKLvoSgmbs8l1U9IPmMrIoLw==", "dev": true, "requires": { "semver": "^6.0.0" } }, + "bundle-require": { + "version": "3.1.2", + "dev": true, + "requires": { + "load-tsconfig": "^0.2.0" + } + }, "byte-size": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/byte-size/-/byte-size-7.0.1.tgz", - "integrity": "sha512-crQdqyCwhokxwV1UyDzLZanhkugAgft7vt0qbbdt60C6Zf3CAiGmtUCylbtYwrU6loOUw3euGrNtW1J651ot1A==", "dev": true }, "bytes": { "version": "3.1.2", "dev": true }, + "cac": { + "version": "6.7.14", + "dev": true + }, "cacache": { "version": "16.1.3", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-16.1.3.tgz", - "integrity": "sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ==", "dev": true, "requires": { "@npmcli/fs": "^2.1.0", @@ -26520,8 +25950,6 @@ "dependencies": { "brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "requires": { "balanced-match": "^1.0.0" @@ -26529,8 +25957,6 @@ }, "glob": { "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -26542,14 +25968,10 @@ }, "lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true }, "minimatch": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "dev": true, "requires": { "brace-expansion": "^2.0.1" @@ -26575,8 +25997,6 @@ }, "camelcase": { "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true }, "camelcase-css": { @@ -26585,8 +26005,6 @@ }, "camelcase-keys": { "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", "dev": true, "requires": { "camelcase": "^5.3.1", @@ -26598,6 +26016,9 @@ "version": "1.0.30001359", "dev": true }, + "case-anything": { + "version": "2.1.10" + }, "caseless": { "version": "0.12.0", "dev": true @@ -26613,8 +26034,6 @@ }, "chardet": { "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", "dev": true }, "check-more-types": { @@ -26637,8 +26056,6 @@ }, "chownr": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", "dev": true }, "chrome-trace-event": { @@ -26662,8 +26079,6 @@ }, "cli-spinners": { "version": "2.6.1", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", - "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==", "dev": true }, "cli-table3": { @@ -26684,14 +26099,10 @@ }, "cli-width": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", "dev": true }, "cliui": { "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, "requires": { "string-width": "^4.2.0", @@ -26701,14 +26112,10 @@ }, "clone": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", "dev": true }, "clone-deep": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", "dev": true, "requires": { "is-plain-object": "^2.0.4", @@ -26718,8 +26125,6 @@ "dependencies": { "is-plain-object": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, "requires": { "isobject": "^3.0.1" @@ -26729,8 +26134,6 @@ }, "cmd-shim": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-5.0.0.tgz", - "integrity": "sha512-qkCtZ59BidfEwHltnJwkyVZn+XQojdAySM1D1gSeh11Z4pW1Kpolkyo53L5noc0nrxmIvyFwTmJRo4xs7FFLPw==", "dev": true, "requires": { "mkdirp-infer-owner": "^2.0.0" @@ -26790,8 +26193,6 @@ }, "columnify": { "version": "1.6.0", - "resolved": "https://registry.npmjs.org/columnify/-/columnify-1.6.0.tgz", - "integrity": "sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q==", "dev": true, "requires": { "strip-ansi": "^6.0.1", @@ -26811,8 +26212,6 @@ }, "common-ancestor-path": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz", - "integrity": "sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==", "dev": true }, "common-tags": { @@ -26825,8 +26224,6 @@ }, "compare-func": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", - "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", "dev": true, "requires": { "array-ify": "^1.0.0", @@ -26835,8 +26232,6 @@ "dependencies": { "dot-prop": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", "dev": true, "requires": { "is-obj": "^2.0.0" @@ -26850,8 +26245,6 @@ }, "concat-stream": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", - "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", "dev": true, "requires": { "buffer-from": "^1.0.0", @@ -26862,8 +26255,6 @@ }, "config-chain": { "version": "1.1.13", - "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", - "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", "dev": true, "requires": { "ini": "^1.3.4", @@ -26872,8 +26263,6 @@ "dependencies": { "ini": { "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "dev": true } } @@ -26888,8 +26277,6 @@ }, "conventional-changelog-angular": { "version": "5.0.13", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", - "integrity": "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==", "dev": true, "requires": { "compare-func": "^2.0.0", @@ -26898,8 +26285,6 @@ }, "conventional-changelog-core": { "version": "4.2.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz", - "integrity": "sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==", "dev": true, "requires": { "add-stream": "^1.0.0", @@ -26920,14 +26305,10 @@ }, "conventional-changelog-preset-loader": { "version": "2.3.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz", - "integrity": "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==", "dev": true }, "conventional-changelog-writer": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz", - "integrity": "sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==", "dev": true, "requires": { "conventional-commits-filter": "^2.0.7", @@ -26943,8 +26324,6 @@ }, "conventional-commits-filter": { "version": "2.0.7", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", - "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", "dev": true, "requires": { "lodash.ismatch": "^4.4.0", @@ -26953,8 +26332,6 @@ }, "conventional-commits-parser": { "version": "3.2.4", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz", - "integrity": "sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==", "dev": true, "requires": { "is-text-path": "^1.0.1", @@ -26967,8 +26344,6 @@ }, "conventional-recommended-bump": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz", - "integrity": "sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw==", "dev": true, "requires": { "concat-stream": "^2.0.0", @@ -27017,6 +26392,9 @@ "yaml": "^1.10.0" } }, + "crelt": { + "version": "1.0.5" + }, "cross-spawn": { "version": "7.0.3", "dev": true, @@ -27047,8 +26425,6 @@ }, "cypress": { "version": "10.8.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-10.8.0.tgz", - "integrity": "sha512-QVse0dnLm018hgti2enKMVZR9qbIO488YGX06nH5j3Dg1isL38DwrBtyrax02CANU6y8F4EJUuyW6HJKw1jsFA==", "dev": true, "requires": { "@cypress/request": "^2.88.10", @@ -27372,10 +26748,11 @@ }, "dargs": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", - "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", "dev": true }, + "dash-get": { + "version": "1.0.2" + }, "dashdash": { "version": "1.14.1", "dev": true, @@ -27385,8 +26762,6 @@ }, "dateformat": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", - "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", "dev": true }, "dayjs": { @@ -27401,20 +26776,14 @@ }, "debuglog": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", - "integrity": "sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==", "dev": true }, "decamelize": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", "dev": true }, "decamelize-keys": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", - "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", "dev": true, "requires": { "decamelize": "^1.1.0", @@ -27423,14 +26792,14 @@ "dependencies": { "map-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", "dev": true } } }, "decode-uri-component": { - "version": "0.2.0", + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", + "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", "dev": true }, "dedent": { @@ -27442,13 +26811,10 @@ "dev": true }, "deepmerge": { - "version": "4.2.2", - "dev": true + "version": "4.2.2" }, "defaults": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", "dev": true, "requires": { "clone": "^1.0.2" @@ -27456,8 +26822,6 @@ }, "define-lazy-prop": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", "dev": true }, "define-properties": { @@ -27488,14 +26852,10 @@ }, "depd": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", "dev": true }, "deprecation": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", - "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==", "dev": true }, "detect-indent": { @@ -27513,8 +26873,6 @@ }, "dezalgo": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", - "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", "dev": true, "requires": { "asap": "^2.0.0", @@ -27587,8 +26945,6 @@ }, "dotenv": { "version": "10.0.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", - "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==", "dev": true }, "duplexer": { @@ -27609,8 +26965,6 @@ }, "ejs": { "version": "3.1.8", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.8.tgz", - "integrity": "sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==", "dev": true, "requires": { "jake": "^10.8.5" @@ -27630,8 +26984,6 @@ }, "encoding": { "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", "dev": true, "optional": true, "requires": { @@ -27640,8 +26992,6 @@ "dependencies": { "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==", "dev": true, "optional": true, "requires": { @@ -27673,25 +27023,18 @@ } }, "entities": { - "version": "3.0.1", - "dev": true + "version": "3.0.1" }, "env-paths": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", "dev": true }, "envinfo": { "version": "7.8.1", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", - "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", "dev": true }, "err-code": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", "dev": true }, "error-ex": { @@ -27776,11 +27119,6 @@ "esbuild-windows-arm64": "0.14.47" } }, - "esbuild-darwin-arm64": { - "version": "0.14.47", - "dev": true, - "optional": true - }, "escalade": { "version": "3.1.1", "dev": true @@ -28063,8 +27401,6 @@ }, "esprima": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true }, "esquery": { @@ -28107,14 +27443,10 @@ }, "eventemitter2": { "version": "6.4.7", - "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-6.4.7.tgz", - "integrity": "sha512-tYUSVOGeQPKt/eC1ABfhHy5Xd96N3oIijJvN3O9+TsC28T5V9yX9oEfEK5faP0EFSNVOG97qtAS68GBrQB2hDg==", "dev": true }, "eventemitter3": { "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", "dev": true }, "events": { @@ -28149,8 +27481,6 @@ }, "external-editor": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", "dev": true, "requires": { "chardet": "^0.7.0", @@ -28160,8 +27490,6 @@ "dependencies": { "tmp": { "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "dev": true, "requires": { "os-tmpdir": "~1.0.2" @@ -28184,8 +27512,7 @@ "dev": true }, "fast-deep-equal": { - "version": "3.1.3", - "dev": true + "version": "3.1.3" }, "fast-glob": { "version": "3.2.11", @@ -28240,8 +27567,6 @@ }, "filelist": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", - "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", "dev": true, "requires": { "minimatch": "^5.0.1" @@ -28249,8 +27574,6 @@ "dependencies": { "brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "requires": { "balanced-match": "^1.0.0" @@ -28258,8 +27581,6 @@ }, "minimatch": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "dev": true, "requires": { "brace-expansion": "^2.0.1" @@ -28291,8 +27612,6 @@ }, "flat": { "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", "dev": true }, "flat-cache": { @@ -28309,8 +27628,6 @@ }, "follow-redirects": { "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", "dev": true }, "forever-agent": { @@ -28335,8 +27652,6 @@ }, "fs-constants": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", "dev": true }, "fs-extra": { @@ -28351,8 +27666,6 @@ }, "fs-minipass": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", "dev": true, "requires": { "minipass": "^3.0.0" @@ -28364,6 +27677,8 @@ }, "fsevents": { "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", "dev": true, "optional": true }, @@ -28445,8 +27760,6 @@ }, "get-caller-file": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, "get-intrinsic": { @@ -28460,8 +27773,6 @@ }, "get-pkg-repo": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz", - "integrity": "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==", "dev": true, "requires": { "@hutson/parse-repository-url": "^3.0.0", @@ -28472,8 +27783,6 @@ "dependencies": { "readable-stream": { "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "dev": true, "requires": { "core-util-is": "~1.0.0", @@ -28487,8 +27796,6 @@ }, "string_decoder": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, "requires": { "safe-buffer": "~5.1.0" @@ -28496,8 +27803,6 @@ }, "through2": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "dev": true, "requires": { "readable-stream": "~2.3.6", @@ -28508,8 +27813,6 @@ }, "get-port": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz", - "integrity": "sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==", "dev": true }, "get-stream": { @@ -28543,8 +27846,6 @@ }, "git-raw-commits": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz", - "integrity": "sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==", "dev": true, "requires": { "dargs": "^7.0.0", @@ -28556,8 +27857,6 @@ }, "git-remote-origin-url": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", - "integrity": "sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw==", "dev": true, "requires": { "gitconfiglocal": "^1.0.0", @@ -28566,8 +27865,6 @@ }, "git-semver-tags": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz", - "integrity": "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==", "dev": true, "requires": { "meow": "^8.0.0", @@ -28576,8 +27873,6 @@ }, "git-up": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/git-up/-/git-up-7.0.0.tgz", - "integrity": "sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ==", "dev": true, "requires": { "is-ssh": "^1.4.0", @@ -28586,8 +27881,6 @@ }, "git-url-parse": { "version": "13.1.0", - "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-13.1.0.tgz", - "integrity": "sha512-5FvPJP/70WkIprlUZ33bm4UAaFdjcLkJLpWft1BeZKqwR0uhhNGoKwlUaPtVb4LxCSQ++erHapRak9kWGj+FCA==", "dev": true, "requires": { "git-up": "^7.0.0" @@ -28595,8 +27888,6 @@ }, "gitconfiglocal": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", - "integrity": "sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==", "dev": true, "requires": { "ini": "^1.3.2" @@ -28604,8 +27895,6 @@ "dependencies": { "ini": { "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "dev": true } } @@ -28661,6 +27950,8 @@ }, "gzip-size": { "version": "5.1.1", + "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-5.1.1.tgz", + "integrity": "sha512-FNHi6mmoHvs1mxZAds4PpdCS6QG8B4C1krxJsMutgxl5t3+GlRTzzI3NEkifXx2pVsOvJdOGSmIgDhQ55FwdPA==", "dev": true, "requires": { "duplexer": "^0.1.1", @@ -28669,14 +27960,14 @@ "dependencies": { "pify": { "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", "dev": true } } }, "handlebars": { "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", "dev": true, "requires": { "minimist": "^1.2.5", @@ -28688,8 +27979,6 @@ }, "hard-rejection": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", "dev": true }, "has": { @@ -28738,8 +28027,6 @@ }, "hosted-git-info": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", - "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -28768,15 +28055,13 @@ } }, "http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", "dev": true }, "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==", "dev": true, "requires": { "@tootallnate/once": "2", @@ -28795,8 +28080,6 @@ }, "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==", "dev": true, "requires": { "agent-base": "6", @@ -28809,8 +28092,6 @@ }, "humanize-ms": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", - "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", "dev": true, "requires": { "ms": "^2.0.0" @@ -28822,8 +28103,6 @@ }, "iconv-lite": { "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dev": true, "requires": { "safer-buffer": ">= 2.1.2 < 3" @@ -28842,8 +28121,6 @@ }, "ignore-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-5.0.1.tgz", - "integrity": "sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==", "dev": true, "requires": { "minimatch": "^5.0.1" @@ -28851,8 +28128,6 @@ "dependencies": { "brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "requires": { "balanced-match": "^1.0.0" @@ -28860,8 +28135,6 @@ }, "minimatch": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "dev": true, "requires": { "brace-expansion": "^2.0.1" @@ -28905,8 +28178,6 @@ }, "infer-owner": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", - "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", "dev": true }, "inflight": { @@ -28926,8 +28197,6 @@ }, "init-package-json": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-3.0.2.tgz", - "integrity": "sha512-YhlQPEjNFqlGdzrBfDNRLhvoSgX7iQRgSxgsNknRQ9ITXFT7UMfVMWhBTOh2Y+25lRnGrv5Xz8yZwQ3ACR6T3A==", "dev": true, "requires": { "npm-package-arg": "^9.0.1", @@ -28941,8 +28210,6 @@ "dependencies": { "builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, "requires": { "semver": "^7.0.0" @@ -28950,8 +28217,6 @@ }, "hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, "requires": { "lru-cache": "^7.5.1" @@ -28959,16 +28224,12 @@ "dependencies": { "lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true } } }, "npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, "requires": { "hosted-git-info": "^5.0.0", @@ -28979,8 +28240,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -28988,8 +28247,6 @@ }, "validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, "requires": { "builtins": "^5.0.0" @@ -28999,8 +28256,6 @@ }, "inquirer": { "version": "8.2.5", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", - "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", "dev": true, "requires": { "ansi-escapes": "^4.2.1", @@ -29022,8 +28277,6 @@ "dependencies": { "ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { "color-convert": "^2.0.1" @@ -29031,8 +28284,6 @@ }, "chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -29041,8 +28292,6 @@ }, "color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { "color-name": "~1.1.4" @@ -29050,20 +28299,14 @@ }, "color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" @@ -29085,8 +28328,6 @@ }, "ip": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", "dev": true }, "is-arrayish": { @@ -29116,10 +28357,12 @@ } }, "is-builtin-module": { - "version": "3.1.0", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", + "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", "dev": true, "requires": { - "builtin-modules": "^3.0.0" + "builtin-modules": "^3.3.0" } }, "is-callable": { @@ -29161,10 +28404,22 @@ }, "is-docker": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", "dev": true }, + "is-extendable": { + "version": "1.0.1", + "requires": { + "is-plain-object": "^2.0.4" + }, + "dependencies": { + "is-plain-object": { + "version": "2.0.4", + "requires": { + "isobject": "^3.0.1" + } + } + } + }, "is-extglob": { "version": "2.1.1" }, @@ -29188,18 +28443,16 @@ }, "is-interactive": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", "dev": true }, "is-lambda": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", "dev": true }, "is-module": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==", "dev": true }, "is-negative-zero": { @@ -29230,12 +28483,12 @@ }, "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==", "dev": true }, "is-reference": { "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz", + "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", "dev": true, "requires": { "@types/estree": "*" @@ -29258,8 +28511,6 @@ }, "is-ssh": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz", - "integrity": "sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==", "dev": true, "requires": { "protocols": "^2.0.1" @@ -29285,8 +28536,6 @@ }, "is-text-path": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", - "integrity": "sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==", "dev": true, "requires": { "text-extensions": "^1.0.0" @@ -29309,8 +28558,6 @@ }, "is-wsl": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", "dev": true, "requires": { "is-docker": "^2.0.0" @@ -29325,10 +28572,7 @@ "dev": true }, "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "dev": true + "version": "3.0.1" }, "isomorphic.js": { "version": "0.2.5" @@ -29339,8 +28583,6 @@ }, "jake": { "version": "10.8.5", - "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", - "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==", "dev": true, "requires": { "async": "^3.2.3", @@ -29351,8 +28593,6 @@ "dependencies": { "ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { "color-convert": "^2.0.1" @@ -29360,8 +28600,6 @@ }, "chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -29370,8 +28608,6 @@ }, "color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { "color-name": "~1.1.4" @@ -29379,20 +28615,14 @@ }, "color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" @@ -29422,6 +28652,10 @@ } } }, + "joycon": { + "version": "3.1.1", + "dev": true + }, "js-tokens": { "version": "4.0.0", "dev": true @@ -29463,8 +28697,6 @@ }, "json-stringify-nice": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz", - "integrity": "sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw==", "dev": true }, "json-stringify-safe": { @@ -29472,13 +28704,13 @@ "dev": true }, "json5": { - "version": "2.2.1", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true }, "jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==" + "version": "3.2.0" }, "jsonfile": { "version": "6.1.0", @@ -29490,14 +28722,10 @@ }, "jsonparse": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", "dev": true }, "JSONStream": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", "dev": true, "requires": { "jsonparse": "^1.2.0", @@ -29516,20 +28744,14 @@ }, "just-diff": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/just-diff/-/just-diff-5.1.1.tgz", - "integrity": "sha512-u8HXJ3HlNrTzY7zrYYKjNEfBlyjqhdBkoyTVdjtn7p02RJD5NvR8rIClzeGA7t+UYP1/7eAkWNLU0+P3QrEqKQ==", "dev": true }, "just-diff-apply": { "version": "5.4.1", - "resolved": "https://registry.npmjs.org/just-diff-apply/-/just-diff-apply-5.4.1.tgz", - "integrity": "sha512-AAV5Jw7tsniWwih8Ly3fXxEZ06y+6p5TwQMsw0dzZ/wPKilzyDgdAnL0Ug4NNIquPUOh1vfFWEHbmXUqM5+o8g==", "dev": true }, "kind-of": { "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true }, "kleur": { @@ -29542,8 +28764,6 @@ }, "lerna": { "version": "5.6.2", - "resolved": "https://registry.npmjs.org/lerna/-/lerna-5.6.2.tgz", - "integrity": "sha512-Y0yMPslvnBnTZi7Nrs/gDyYZYauNf61xWNCehISHIORxZmmpoluNkcWTfcyb47is5uJQCv5QJX5xKKubbs+a6w==", "dev": true, "requires": { "@lerna/add": "5.6.2", @@ -29621,8 +28841,6 @@ }, "libnpmaccess": { "version": "6.0.4", - "resolved": "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-6.0.4.tgz", - "integrity": "sha512-qZ3wcfIyUoW0+qSFkMBovcTrSGJ3ZeyvpR7d5N9pEYv/kXs8sHP2wiqEIXBKLFrZlmM0kR0RJD7mtfLngtlLag==", "dev": true, "requires": { "aproba": "^2.0.0", @@ -29633,8 +28851,6 @@ "dependencies": { "builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, "requires": { "semver": "^7.0.0" @@ -29642,8 +28858,6 @@ }, "hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, "requires": { "lru-cache": "^7.5.1" @@ -29651,16 +28865,12 @@ "dependencies": { "lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true } } }, "npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, "requires": { "hosted-git-info": "^5.0.0", @@ -29671,8 +28881,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -29680,8 +28888,6 @@ }, "validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, "requires": { "builtins": "^5.0.0" @@ -29691,8 +28897,6 @@ }, "libnpmpublish": { "version": "6.0.5", - "resolved": "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-6.0.5.tgz", - "integrity": "sha512-LUR08JKSviZiqrYTDfywvtnsnxr+tOvBU0BF8H+9frt7HMvc6Qn6F8Ubm72g5hDTHbq8qupKfDvDAln2TVPvFg==", "dev": true, "requires": { "normalize-package-data": "^4.0.0", @@ -29704,8 +28908,6 @@ "dependencies": { "builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, "requires": { "semver": "^7.0.0" @@ -29713,8 +28915,6 @@ }, "hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, "requires": { "lru-cache": "^7.5.1" @@ -29722,16 +28922,12 @@ "dependencies": { "lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true } } }, "normalize-package-data": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-4.0.1.tgz", - "integrity": "sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg==", "dev": true, "requires": { "hosted-git-info": "^5.0.0", @@ -29742,8 +28938,6 @@ }, "npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, "requires": { "hosted-git-info": "^5.0.0", @@ -29754,8 +28948,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -29763,8 +28955,6 @@ }, "validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, "requires": { "builtins": "^5.0.0" @@ -29780,6 +28970,12 @@ "version": "1.2.4", "dev": true }, + "linkify-it": { + "version": "4.0.1", + "requires": { + "uc.micro": "^1.0.1" + } + }, "linkifyjs": { "version": "3.0.5" }, @@ -30022,14 +29218,16 @@ } } }, + "load-tsconfig": { + "version": "0.2.3", + "dev": true + }, "loader-runner": { "version": "4.3.0", "dev": true }, "loader-utils": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", - "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", "dev": true, "requires": { "big.js": "^5.2.2", @@ -30062,8 +29260,6 @@ }, "lodash.ismatch": { "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", - "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==", "dev": true }, "lodash.merge": { @@ -30078,6 +29274,10 @@ "version": "4.4.0", "dev": true }, + "lodash.sortby": { + "version": "4.7.0", + "dev": true + }, "lodash.topath": { "version": "4.5.2", "dev": true @@ -30213,10 +29413,11 @@ "semver": "^6.0.0" } }, + "make-error": { + "version": "1.3.6" + }, "make-fetch-happen": { "version": "10.2.1", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", - "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==", "dev": true, "requires": { "agentkeepalive": "^4.2.1", @@ -30239,22 +29440,29 @@ "dependencies": { "lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true } } }, "map-obj": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", "dev": true }, + "markdown-it": { + "version": "13.0.1", + "requires": { + "argparse": "^2.0.1", + "entities": "~3.0.1", + "linkify-it": "^4.0.1", + "mdurl": "^1.0.1", + "uc.micro": "^1.0.5" + } + }, + "mdurl": { + "version": "1.0.1" + }, "meow": { "version": "8.1.2", - "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", - "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", "dev": true, "requires": { "@types/minimist": "^1.2.0", @@ -30272,8 +29480,6 @@ "dependencies": { "find-up": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "requires": { "locate-path": "^5.0.0", @@ -30282,14 +29488,10 @@ }, "hosted-git-info": { "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", "dev": true }, "locate-path": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "requires": { "p-locate": "^4.1.0" @@ -30297,8 +29499,6 @@ }, "p-limit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "requires": { "p-try": "^2.0.0" @@ -30306,8 +29506,6 @@ }, "p-locate": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "requires": { "p-limit": "^2.2.0" @@ -30315,14 +29513,10 @@ }, "p-try": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true }, "read-pkg": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", "dev": true, "requires": { "@types/normalize-package-data": "^2.4.0", @@ -30333,8 +29527,6 @@ "dependencies": { "normalize-package-data": { "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, "requires": { "hosted-git-info": "^2.1.4", @@ -30345,16 +29537,12 @@ }, "type-fest": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", "dev": true } } }, "read-pkg-up": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", "dev": true, "requires": { "find-up": "^4.1.0", @@ -30364,22 +29552,16 @@ "dependencies": { "type-fest": { "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", "dev": true } } }, "semver": { "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true }, "type-fest": { "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", "dev": true } } @@ -30415,8 +29597,6 @@ }, "min-indent": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", "dev": true }, "minimatch": { @@ -30427,13 +29607,13 @@ } }, "minimist": { - "version": "1.2.6", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", "dev": true }, "minimist-options": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", "dev": true, "requires": { "arrify": "^1.0.1", @@ -30443,8 +29623,6 @@ }, "minipass": { "version": "3.3.4", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.4.tgz", - "integrity": "sha512-I9WPbWHCGu8W+6k1ZiGpPu0GkoKBeorkfKNuAFBNS1HNFJvke82sxvI5bzcCNpWPorkOO5QQ+zomzzwRxejXiw==", "dev": true, "requires": { "yallist": "^4.0.0" @@ -30452,8 +29630,6 @@ }, "minipass-collect": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", - "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", "dev": true, "requires": { "minipass": "^3.0.0" @@ -30461,8 +29637,6 @@ }, "minipass-fetch": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz", - "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==", "dev": true, "requires": { "encoding": "^0.1.13", @@ -30473,8 +29647,6 @@ }, "minipass-flush": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", - "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", "dev": true, "requires": { "minipass": "^3.0.0" @@ -30482,8 +29654,6 @@ }, "minipass-json-stream": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz", - "integrity": "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==", "dev": true, "requires": { "jsonparse": "^1.3.1", @@ -30492,8 +29662,6 @@ }, "minipass-pipeline": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", - "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", "dev": true, "requires": { "minipass": "^3.0.0" @@ -30501,8 +29669,6 @@ }, "minipass-sized": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", - "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", "dev": true, "requires": { "minipass": "^3.0.0" @@ -30510,8 +29676,6 @@ }, "minizlib": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", "dev": true, "requires": { "minipass": "^3.0.0", @@ -30520,14 +29684,10 @@ }, "mkdirp": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "dev": true }, "mkdirp-infer-owner": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz", - "integrity": "sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw==", "dev": true, "requires": { "chownr": "^2.0.0", @@ -30541,8 +29701,6 @@ }, "modify-values": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", - "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", "dev": true }, "ms": { @@ -30567,10 +29725,17 @@ }, "mute-stream": { "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", "dev": true }, + "mz": { + "version": "2.7.0", + "dev": true, + "requires": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, "nanoid": { "version": "3.3.4", "dev": true @@ -30581,8 +29746,6 @@ }, "negotiator": { "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", "dev": true }, "neo-async": { @@ -30591,8 +29754,6 @@ }, "node-addon-api": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", - "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", "dev": true }, "node-emoji": { @@ -30604,8 +29765,6 @@ }, "node-fetch": { "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", "dev": true, "requires": { "whatwg-url": "^5.0.0" @@ -30613,8 +29772,6 @@ }, "node-gyp": { "version": "9.3.0", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.3.0.tgz", - "integrity": "sha512-A6rJWfXFz7TQNjpldJ915WFb1LnhO4lIve3ANPbWreuEoLoKlFT3sxIepPBkLhM27crW8YmN+pjlgbasH6cH/Q==", "dev": true, "requires": { "env-paths": "^2.2.0", @@ -30631,8 +29788,6 @@ "dependencies": { "are-we-there-yet": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "requires": { "delegates": "^1.0.0", @@ -30641,8 +29796,6 @@ }, "gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, "requires": { "aproba": "^1.0.3 || ^2.0.0", @@ -30657,8 +29810,6 @@ }, "nopt": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", - "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", "dev": true, "requires": { "abbrev": "^1.0.0" @@ -30666,8 +29817,6 @@ }, "npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "requires": { "are-we-there-yet": "^3.0.0", @@ -30678,8 +29827,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -30689,8 +29836,6 @@ }, "node-gyp-build": { "version": "4.5.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.5.0.tgz", - "integrity": "sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg==", "dev": true }, "node-releases": { @@ -30699,8 +29844,6 @@ }, "nopt": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", "dev": true, "requires": { "abbrev": "1" @@ -30708,8 +29851,6 @@ }, "normalize-package-data": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", "dev": true, "requires": { "hosted-git-info": "^4.0.1", @@ -30720,8 +29861,6 @@ "dependencies": { "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -30739,8 +29878,6 @@ }, "npm-bundled": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz", - "integrity": "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==", "dev": true, "requires": { "npm-normalize-package-bin": "^1.0.1" @@ -30748,8 +29885,6 @@ }, "npm-install-checks": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-5.0.0.tgz", - "integrity": "sha512-65lUsMI8ztHCxFz5ckCEC44DRvEGdZX5usQFriauxHEwt7upv1FKaQEmAtU0YnOAdwuNWCmk64xYiQABNrEyLA==", "dev": true, "requires": { "semver": "^7.1.1" @@ -30757,8 +29892,6 @@ "dependencies": { "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -30768,8 +29901,6 @@ }, "npm-normalize-package-bin": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", - "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", "dev": true }, "npm-package-arg": { @@ -30794,8 +29925,6 @@ }, "npm-packlist": { "version": "5.1.3", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-5.1.3.tgz", - "integrity": "sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==", "dev": true, "requires": { "glob": "^8.0.1", @@ -30806,8 +29935,6 @@ "dependencies": { "brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "requires": { "balanced-match": "^1.0.0" @@ -30815,8 +29942,6 @@ }, "glob": { "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -30828,8 +29953,6 @@ }, "minimatch": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "dev": true, "requires": { "brace-expansion": "^2.0.1" @@ -30837,8 +29960,6 @@ }, "npm-bundled": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-2.0.1.tgz", - "integrity": "sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==", "dev": true, "requires": { "npm-normalize-package-bin": "^2.0.0" @@ -30846,16 +29967,12 @@ }, "npm-normalize-package-bin": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", "dev": true } } }, "npm-pick-manifest": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-7.0.2.tgz", - "integrity": "sha512-gk37SyRmlIjvTfcYl6RzDbSmS9Y4TOBXfsPnoYqTHARNgWbyDiCSMLUpmALDj4jjcTZpURiEfsSHJj9k7EV4Rw==", "dev": true, "requires": { "npm-install-checks": "^5.0.0", @@ -30866,8 +29983,6 @@ "dependencies": { "builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, "requires": { "semver": "^7.0.0" @@ -30875,8 +29990,6 @@ }, "hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, "requires": { "lru-cache": "^7.5.1" @@ -30884,22 +29997,16 @@ "dependencies": { "lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true } } }, "npm-normalize-package-bin": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", "dev": true }, "npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, "requires": { "hosted-git-info": "^5.0.0", @@ -30910,8 +30017,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -30919,8 +30024,6 @@ }, "validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, "requires": { "builtins": "^5.0.0" @@ -30930,8 +30033,6 @@ }, "npm-registry-fetch": { "version": "13.3.1", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-13.3.1.tgz", - "integrity": "sha512-eukJPi++DKRTjSBRcDZSDDsGqRK3ehbxfFUcgaRd0Yp6kRwOwh2WVn0r+8rMB4nnuzvAk6rQVzl6K5CkYOmnvw==", "dev": true, "requires": { "make-fetch-happen": "^10.0.6", @@ -30945,8 +30046,6 @@ "dependencies": { "builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, "requires": { "semver": "^7.0.0" @@ -30954,8 +30053,6 @@ }, "hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, "requires": { "lru-cache": "^7.5.1" @@ -30963,16 +30060,12 @@ "dependencies": { "lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true } } }, "npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, "requires": { "hosted-git-info": "^5.0.0", @@ -30983,8 +30076,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -30992,8 +30083,6 @@ }, "validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, "requires": { "builtins": "^5.0.0" @@ -31031,8 +30120,6 @@ }, "nx": { "version": "15.0.8", - "resolved": "https://registry.npmjs.org/nx/-/nx-15.0.8.tgz", - "integrity": "sha512-LywcMYwZ3acEoRccUq3WBYbfeX+uGm8dyQjVLFPC1caziYZTpvQCb/BtZgLVXpZKexa2wYDXDkHuhb2pcaYcYw==", "dev": true, "requires": { "@nrwl/cli": "15.0.8", @@ -31074,8 +30161,6 @@ "dependencies": { "ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { "color-convert": "^2.0.1" @@ -31083,8 +30168,6 @@ }, "chalk": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", - "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -31093,8 +30176,6 @@ }, "color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { "color-name": "~1.1.4" @@ -31102,14 +30183,10 @@ }, "color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "fast-glob": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", - "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", "dev": true, "requires": { "@nodelib/fs.stat": "^2.0.2", @@ -31121,8 +30198,6 @@ }, "fs-extra": { "version": "10.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, "requires": { "graceful-fs": "^4.2.0", @@ -31132,8 +30207,6 @@ }, "glob": { "version": "7.1.4", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", - "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -31146,14 +30219,10 @@ }, "has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "minimatch": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", "dev": true, "requires": { "brace-expansion": "^1.1.7" @@ -31161,8 +30230,6 @@ }, "semver": { "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -31170,8 +30237,6 @@ }, "supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" @@ -31179,8 +30244,6 @@ }, "yargs": { "version": "17.6.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.2.tgz", - "integrity": "sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==", "dev": true, "requires": { "cliui": "^8.0.1", @@ -31194,8 +30257,6 @@ "dependencies": { "cliui": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dev": true, "requires": { "string-width": "^4.2.0", @@ -31205,16 +30266,12 @@ }, "yargs-parser": { "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true } } }, "yargs-parser": { "version": "21.0.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.1.tgz", - "integrity": "sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==", "dev": true } } @@ -31254,6 +30311,18 @@ "es-abstract": "^1.19.1" } }, + "object.omit": { + "version": "3.0.0", + "requires": { + "is-extendable": "^1.0.0" + } + }, + "object.pick": { + "version": "1.3.0", + "requires": { + "isobject": "^3.0.1" + } + }, "object.values": { "version": "1.1.5", "dev": true, @@ -31279,8 +30348,6 @@ }, "open": { "version": "8.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", - "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", "dev": true, "requires": { "define-lazy-prop": "^2.0.0", @@ -31302,8 +30369,6 @@ }, "ora": { "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", "dev": true, "requires": { "bl": "^4.1.0", @@ -31319,8 +30384,6 @@ "dependencies": { "ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { "color-convert": "^2.0.1" @@ -31328,8 +30391,6 @@ }, "chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -31338,8 +30399,6 @@ }, "color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { "color-name": "~1.1.4" @@ -31347,20 +30406,14 @@ }, "color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" @@ -31393,8 +30446,6 @@ }, "p-finally": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", "dev": true }, "p-limit": { @@ -31420,20 +30471,14 @@ }, "p-map-series": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map-series/-/p-map-series-2.1.0.tgz", - "integrity": "sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q==", "dev": true }, "p-pipe": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz", - "integrity": "sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw==", "dev": true }, "p-queue": { "version": "6.6.2", - "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", - "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", "dev": true, "requires": { "eventemitter3": "^4.0.4", @@ -31442,14 +30487,10 @@ }, "p-reduce": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz", - "integrity": "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==", "dev": true }, "p-timeout": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", - "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", "dev": true, "requires": { "p-finally": "^1.0.0" @@ -31461,8 +30502,6 @@ }, "p-waterfall": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/p-waterfall/-/p-waterfall-2.1.1.tgz", - "integrity": "sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw==", "dev": true, "requires": { "p-reduce": "^2.0.0" @@ -31470,8 +30509,6 @@ }, "pacote": { "version": "13.6.2", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-13.6.2.tgz", - "integrity": "sha512-Gu8fU3GsvOPkak2CkbojR7vjs3k3P9cA6uazKTHdsdV0gpCEQq2opelnEv30KRQWgVzP5Vd/5umjcedma3MKtg==", "dev": true, "requires": { "@npmcli/git": "^3.0.0", @@ -31499,8 +30536,6 @@ "dependencies": { "builtins": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, "requires": { "semver": "^7.0.0" @@ -31508,8 +30543,6 @@ }, "hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, "requires": { "lru-cache": "^7.5.1" @@ -31517,16 +30550,12 @@ "dependencies": { "lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true } } }, "npm-package-arg": { "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", "dev": true, "requires": { "hosted-git-info": "^5.0.0", @@ -31537,8 +30566,6 @@ }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -31546,8 +30573,6 @@ }, "validate-npm-package-name": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, "requires": { "builtins": "^5.0.0" @@ -31564,8 +30589,6 @@ }, "parse-conflict-json": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/parse-conflict-json/-/parse-conflict-json-2.0.2.tgz", - "integrity": "sha512-jDbRGb00TAPFsKWCpZZOT93SxVP9nONOSgES3AevqRq/CHvavEBvKAjxX9p5Y5F0RZLxH9Ufd9+RwtCsa+lFDA==", "dev": true, "requires": { "json-parse-even-better-errors": "^2.3.1", @@ -31585,8 +30608,6 @@ }, "parse-path": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-7.0.0.tgz", - "integrity": "sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog==", "dev": true, "requires": { "protocols": "^2.0.0" @@ -31594,8 +30615,6 @@ }, "parse-url": { "version": "8.1.0", - "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-8.1.0.tgz", - "integrity": "sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w==", "dev": true, "requires": { "parse-path": "^7.0.0" @@ -31610,7 +30629,9 @@ "dev": true }, "path-is-network-drive": { - "version": "1.0.15", + "version": "1.0.20", + "resolved": "https://registry.npmjs.org/path-is-network-drive/-/path-is-network-drive-1.0.20.tgz", + "integrity": "sha512-p5wCWlRB4+ggzxWshqHH9aF3kAuVu295NaENXmVhThbZPJQBeJdxZTP6CIoUR+kWHDUW56S9YcaO1gXnc/BOxw==", "dev": true, "requires": { "tslib": "^2" @@ -31625,7 +30646,9 @@ "dev": true }, "path-strip-sep": { - "version": "1.0.12", + "version": "1.0.17", + "resolved": "https://registry.npmjs.org/path-strip-sep/-/path-strip-sep-1.0.17.tgz", + "integrity": "sha512-+2zIC2fNgdilgV7pTrktY6oOxxZUo9x5zJYfTzxsGze5kSGDDwhA5/0WlBn+sUyv/WuuyYn3OfM+Ue5nhdQUgA==", "dev": true, "requires": { "tslib": "^2" @@ -31658,6 +30681,10 @@ "version": "2.3.0", "dev": true }, + "pirates": { + "version": "4.0.5", + "dev": true + }, "pkg-dir": { "version": "4.2.0", "dev": true, @@ -31758,8 +30785,6 @@ }, "proc-log": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-2.0.1.tgz", - "integrity": "sha512-Kcmo2FhfDTXdcbfDH76N7uBYHINxc/8GW7UAVuVP9I+Va3uHSerrnKV6dLooga/gh7GlgzuCCr/eoldnL1muGw==", "dev": true }, "process-nextick-args": { @@ -31768,26 +30793,18 @@ }, "promise-all-reject-late": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz", - "integrity": "sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw==", "dev": true }, "promise-call-limit": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-call-limit/-/promise-call-limit-1.0.1.tgz", - "integrity": "sha512-3+hgaa19jzCGLuSCbieeRsu5C2joKfYn8pY6JAuXFRVfF4IO+L7UPpFWNTeWT9pM7uhskvbPPd/oEOktCn317Q==", "dev": true }, "promise-inflight": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", "dev": true }, "promise-retry": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", - "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", "dev": true, "requires": { "err-code": "^2.0.2", @@ -31796,18 +30813,25 @@ }, "promzard": { "version": "0.3.0", - "resolved": "https://registry.npmjs.org/promzard/-/promzard-0.3.0.tgz", - "integrity": "sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw==", "dev": true, "requires": { "read": "1" } }, + "prosemirror-changeset": { + "version": "2.2.0", + "requires": { + "prosemirror-transform": "^1.0.0" + } + }, + "prosemirror-collab": { + "version": "1.3.0", + "requires": { + "prosemirror-state": "^1.0.0" + } + }, "prosemirror-commands": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/prosemirror-commands/-/prosemirror-commands-1.3.1.tgz", - "integrity": "sha512-XTporPgoECkOQACVw0JTe3RZGi+fls3/byqt+tXwGTkD7qLuB4KdVrJamDMJf4kfKga3uB8hZ+kUUyZ5oWpnfg==", - "dev": true, "requires": { "prosemirror-model": "^1.0.0", "prosemirror-state": "^1.0.0", @@ -31816,7 +30840,6 @@ }, "prosemirror-dropcursor": { "version": "1.5.0", - "dev": true, "requires": { "prosemirror-state": "^1.0.0", "prosemirror-transform": "^1.1.0", @@ -31825,9 +30848,6 @@ }, "prosemirror-gapcursor": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/prosemirror-gapcursor/-/prosemirror-gapcursor-1.3.1.tgz", - "integrity": "sha512-GKTeE7ZoMsx5uVfc51/ouwMFPq0o8YrZ7Hx4jTF4EeGbXxBveUV8CGv46mSHuBBeXGmvu50guoV2kSnOeZZnUA==", - "dev": true, "requires": { "prosemirror-keymap": "^1.0.0", "prosemirror-model": "^1.0.0", @@ -31837,32 +30857,56 @@ }, "prosemirror-history": { "version": "1.3.0", - "dev": true, "requires": { "prosemirror-state": "^1.2.2", "prosemirror-transform": "^1.0.0", "rope-sequence": "^1.3.0" } }, + "prosemirror-inputrules": { + "version": "1.2.0", + "requires": { + "prosemirror-state": "^1.0.0", + "prosemirror-transform": "^1.0.0" + } + }, "prosemirror-keymap": { "version": "1.2.0", - "dev": true, "requires": { "prosemirror-state": "^1.0.0", "w3c-keyname": "^2.2.0" } }, + "prosemirror-markdown": { + "version": "1.10.1", + "requires": { + "markdown-it": "^13.0.1", + "prosemirror-model": "^1.0.0" + } + }, + "prosemirror-menu": { + "version": "1.2.1", + "requires": { + "crelt": "^1.0.0", + "prosemirror-commands": "^1.0.0", + "prosemirror-history": "^1.0.0", + "prosemirror-state": "^1.0.0" + } + }, "prosemirror-model": { - "version": "1.18.1", + "version": "1.19.0", "requires": { "orderedmap": "^2.0.0" } }, + "prosemirror-schema-basic": { + "version": "1.2.1", + "requires": { + "prosemirror-model": "^1.19.0" + } + }, "prosemirror-schema-list": { "version": "1.2.2", - "resolved": "https://registry.npmjs.org/prosemirror-schema-list/-/prosemirror-schema-list-1.2.2.tgz", - "integrity": "sha512-rd0pqSDp86p0MUMKG903g3I9VmElFkQpkZ2iOd3EOVg1vo5Cst51rAsoE+5IPy0LPXq64eGcCYlW1+JPNxOj2w==", - "dev": true, "requires": { "prosemirror-model": "^1.0.0", "prosemirror-state": "^1.0.0", @@ -31876,18 +30920,38 @@ "prosemirror-transform": "^1.0.0" } }, + "prosemirror-tables": { + "version": "1.3.2", + "requires": { + "prosemirror-keymap": "^1.1.2", + "prosemirror-model": "^1.8.1", + "prosemirror-state": "^1.3.1", + "prosemirror-transform": "^1.2.1", + "prosemirror-view": "^1.13.3" + } + }, + "prosemirror-trailing-node": { + "version": "2.0.3", + "requires": { + "@babel/runtime": "^7.13.10", + "@remirror/core-constants": "^2.0.0", + "@remirror/core-helpers": "^2.0.1", + "escape-string-regexp": "^4.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "4.0.0" + } + } + }, "prosemirror-transform": { "version": "1.7.0", - "resolved": "https://registry.npmjs.org/prosemirror-transform/-/prosemirror-transform-1.7.0.tgz", - "integrity": "sha512-O4T697Cqilw06Zvc3Wm+e237R6eZtJL/xGMliCi+Uo8VL6qHk6afz1qq0zNjT3eZMuYwnP8ZS0+YxX/tfcE9TQ==", "requires": { "prosemirror-model": "^1.0.0" } }, "prosemirror-view": { "version": "1.28.2", - "resolved": "https://registry.npmjs.org/prosemirror-view/-/prosemirror-view-1.28.2.tgz", - "integrity": "sha512-uK28mJbu0GI8Oz7Aclt6BKL4g+C59EBShBXDB0Y9Y71H25p4bQgmLQLfDWjsT1J9XOw0bR8QQajZmdK8RvXI9g==", "requires": { "prosemirror-model": "^1.16.0", "prosemirror-state": "^1.0.0", @@ -31896,14 +30960,10 @@ }, "proto-list": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", "dev": true }, "protocols": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz", - "integrity": "sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q==", "dev": true }, "proxy-from-env": { @@ -31944,8 +31004,6 @@ }, "q": { "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==", "dev": true }, "qs": { @@ -31957,8 +31015,6 @@ }, "quick-lru": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", "dev": true }, "randombytes": { @@ -31988,8 +31044,6 @@ }, "read": { "version": "1.0.7", - "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", - "integrity": "sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ==", "dev": true, "requires": { "mute-stream": "~0.0.4" @@ -31997,14 +31051,10 @@ }, "read-cmd-shim": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-3.0.1.tgz", - "integrity": "sha512-kEmDUoYf/CDy8yZbLTmhB1X9kkjf9Q80PCNsDMb7ufrGd6zZSQA1+UyjrO+pZm5K/S4OXCWJeiIt1JA8kAsa6g==", "dev": true }, "read-package-json": { "version": "5.0.2", - "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-5.0.2.tgz", - "integrity": "sha512-BSzugrt4kQ/Z0krro8zhTwV1Kd79ue25IhNN/VtHFy1mG/6Tluyi+msc0UpwaoQzxSHa28mntAjIZY6kEgfR9Q==", "dev": true, "requires": { "glob": "^8.0.1", @@ -32015,8 +31065,6 @@ "dependencies": { "brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "requires": { "balanced-match": "^1.0.0" @@ -32024,8 +31072,6 @@ }, "glob": { "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -32037,8 +31083,6 @@ }, "hosted-git-info": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, "requires": { "lru-cache": "^7.5.1" @@ -32046,16 +31090,12 @@ "dependencies": { "lru-cache": { "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", "dev": true } } }, "minimatch": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "dev": true, "requires": { "brace-expansion": "^2.0.1" @@ -32063,8 +31103,6 @@ }, "normalize-package-data": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-4.0.1.tgz", - "integrity": "sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg==", "dev": true, "requires": { "hosted-git-info": "^5.0.0", @@ -32075,14 +31113,10 @@ }, "npm-normalize-package-bin": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", "dev": true }, "semver": { "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -32092,8 +31126,6 @@ }, "read-package-json-fast": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz", - "integrity": "sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==", "dev": true, "requires": { "json-parse-even-better-errors": "^2.3.0", @@ -32164,8 +31196,6 @@ }, "read-pkg-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", "dev": true, "requires": { "find-up": "^2.0.0", @@ -32182,8 +31212,6 @@ }, "readdir-scoped-modules": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", - "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", "dev": true, "requires": { "debuglog": "^1.0.1", @@ -32201,8 +31229,6 @@ }, "redent": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", "dev": true, "requires": { "indent-string": "^4.0.0", @@ -32235,8 +31261,7 @@ } }, "regenerator-runtime": { - "version": "0.13.9", - "dev": true + "version": "0.13.9" }, "regenerator-transform": { "version": "0.15.0", @@ -32299,8 +31324,6 @@ }, "require-directory": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true }, "resolve": { @@ -32333,8 +31356,6 @@ }, "retry": { "version": "0.12.0", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", - "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", "dev": true }, "reusify": { @@ -32363,7 +31384,9 @@ "version": "3.0.1" }, "rollup": { - "version": "2.75.7", + "version": "2.79.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", + "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", "dev": true, "requires": { "fsevents": "~2.3.2" @@ -32371,6 +31394,8 @@ }, "rollup-plugin-auto-external": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-auto-external/-/rollup-plugin-auto-external-2.0.0.tgz", + "integrity": "sha512-HQM3ZkZYfSam1uoZtAB9sK26EiAsfs1phrkf91c/YX+S07wugyRXSigBxrIwiLr5EPPilKYmoMxsrnlGBsXnuQ==", "dev": true, "requires": { "builtins": "^2.0.0", @@ -32381,12 +31406,16 @@ "dependencies": { "semver": { "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true } } }, "rollup-plugin-sourcemaps": { "version": "0.6.3", + "resolved": "https://registry.npmjs.org/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.6.3.tgz", + "integrity": "sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==", "dev": true, "requires": { "@rollup/pluginutils": "^3.0.9", @@ -32395,6 +31424,8 @@ }, "rollup-plugin-typescript2": { "version": "0.31.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.31.2.tgz", + "integrity": "sha512-hRwEYR1C8xDGVVMFJQdEVnNAeWRvpaY97g5mp3IeLnzhNXzSVq78Ye/BJ9PAaUfN4DXa/uDnqerifMOaMFY54Q==", "dev": true, "requires": { "@rollup/pluginutils": "^4.1.2", @@ -32407,6 +31438,8 @@ "dependencies": { "@rollup/pluginutils": { "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", + "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", "dev": true, "requires": { "estree-walker": "^2.0.1", @@ -32415,6 +31448,8 @@ }, "fs-extra": { "version": "10.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, "requires": { "graceful-fs": "^4.2.0", @@ -32425,13 +31460,10 @@ } }, "rope-sequence": { - "version": "1.3.3", - "dev": true + "version": "1.3.3" }, "run-async": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", "dev": true }, "run-parallel": { @@ -32445,8 +31477,6 @@ }, "rxjs": { "version": "7.5.6", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.6.tgz", - "integrity": "sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw==", "dev": true, "requires": { "tslib": "^2.1.0" @@ -32457,6 +31487,8 @@ }, "safe-resolve": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/safe-resolve/-/safe-resolve-1.0.0.tgz", + "integrity": "sha512-aQpRvfxoi1y0UxKEU0tNO327kb0/LMo8Xrk64M2u172UqOOLCCM0khxN2OTClDiTqTJz5864GMD1X92j4YiHTg==", "dev": true }, "safer-buffer": { @@ -32504,8 +31536,6 @@ }, "shallow-clone": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", "dev": true, "requires": { "kind-of": "^6.0.2" @@ -32569,6 +31599,8 @@ }, "simple-string-table": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/simple-string-table/-/simple-string-table-1.0.0.tgz", + "integrity": "sha512-iflPccjsYtTN+Rqj35v/G+i9A04g2HgOPkPp/B5evznUD4VZ4egi/qcFwrUHgGZwJMZz+Aq5elow4Qqsodfflw==", "dev": true }, "simple-swizzle": { @@ -32622,14 +31654,10 @@ }, "smart-buffer": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", "dev": true }, "socks": { "version": "2.7.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", - "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", "dev": true, "requires": { "ip": "^2.0.0", @@ -32638,8 +31666,6 @@ }, "socks-proxy-agent": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz", - "integrity": "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==", "dev": true, "requires": { "agent-base": "^6.0.2", @@ -32670,6 +31696,8 @@ }, "source-map-resolve": { "version": "0.6.0", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.6.0.tgz", + "integrity": "sha512-KXBr9d/fO/bWo97NXsPIAW1bFSBOuCnjbNTBMO7N59hsv5i9yzRDfcYwwt0l04+VqnKC+EwzvJZIP/qkuMgR/w==", "dev": true, "requires": { "atob": "^2.1.2", @@ -32714,8 +31742,6 @@ }, "split": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", - "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", "dev": true, "requires": { "through": "2" @@ -32723,8 +31749,6 @@ }, "split2": { "version": "3.2.2", - "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", - "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", "dev": true, "requires": { "readable-stream": "^3.0.0" @@ -32732,8 +31756,6 @@ }, "sprintf-js": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "dev": true }, "sshpk": { @@ -32753,8 +31775,6 @@ }, "ssri": { "version": "9.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz", - "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", "dev": true, "requires": { "minipass": "^3.1.1" @@ -32819,8 +31839,6 @@ }, "strip-indent": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", "dev": true, "requires": { "min-indent": "^1.0.0" @@ -32832,8 +31850,6 @@ }, "strong-log-transformer": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz", - "integrity": "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==", "dev": true, "requires": { "duplexer": "^0.1.1", @@ -32841,6 +31857,36 @@ "through": "^2.3.4" } }, + "sucrase": { + "version": "3.29.0", + "dev": true, + "requires": { + "commander": "^4.0.0", + "glob": "7.1.6", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "dependencies": { + "commander": { + "version": "4.1.1", + "dev": true + }, + "glob": { + "version": "7.1.6", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } + } + }, "supports-color": { "version": "5.5.0", "dev": true, @@ -32964,8 +32010,6 @@ }, "tar": { "version": "6.1.12", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.12.tgz", - "integrity": "sha512-jU4TdemS31uABHd+Lt5WEYJuzn+TJTCBLljvIAHZOz6M9Os5pJ4dD+vRFLxPa/n3T0iEFzpi+0x1UfuDZYbRMw==", "dev": true, "requires": { "chownr": "^2.0.0", @@ -32978,8 +32022,6 @@ }, "tar-stream": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", "dev": true, "requires": { "bl": "^4.0.3", @@ -32991,8 +32033,6 @@ }, "temp-dir": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", - "integrity": "sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==", "dev": true }, "terser": { @@ -33035,14 +32075,29 @@ }, "text-extensions": { "version": "1.9.0", - "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", - "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", "dev": true }, "text-table": { "version": "0.2.0", "dev": true }, + "thenify": { + "version": "3.3.1", + "dev": true, + "requires": { + "any-promise": "^1.0.0" + } + }, + "thenify-all": { + "version": "1.6.0", + "dev": true, + "requires": { + "thenify": ">= 3.1.0 < 4" + } + }, + "throttle-debounce": { + "version": "3.0.1" + }, "throttleit": { "version": "1.0.0", "dev": true @@ -33053,8 +32108,6 @@ }, "through2": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", "dev": true, "requires": { "readable-stream": "3" @@ -33093,7 +32146,7 @@ "simplify-js": "^1.2.4", "svelte": "^3.49.0", "tailwindcss": "^2.2.19", - "typescript": "^4.5.5", + "typescript": "4.7.4", "uuid": "^8.3.2", "vite": "^2.9.13", "vite-plugin-checker": "^0.3.4", @@ -33131,20 +32184,22 @@ }, "tr46": { "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true + }, + "tree-kill": { + "version": "1.2.2", "dev": true }, "treeverse": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/treeverse/-/treeverse-2.0.0.tgz", - "integrity": "sha512-N5gJCkLu1aXccpOTtqV6ddSEi6ZmGkh3hjmbu1IjcavJK4qyOVQmi0myQKM7z5jVGmD68SJoliaVrMmVObhj6A==", "dev": true }, "trim-newlines": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "dev": true + }, + "ts-interface-checker": { + "version": "0.1.13", "dev": true }, "ts-loader": { @@ -33214,7 +32269,9 @@ }, "dependencies": { "json5": { - "version": "1.0.1", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, "requires": { "minimist": "^1.2.0" @@ -33230,6 +32287,115 @@ "version": "2.4.0", "dev": true }, + "tsup": { + "version": "6.5.0", + "dev": true, + "requires": { + "bundle-require": "^3.1.2", + "cac": "^6.7.12", + "chokidar": "^3.5.1", + "debug": "^4.3.1", + "esbuild": "^0.15.1", + "execa": "^5.0.0", + "globby": "^11.0.3", + "joycon": "^3.0.1", + "postcss-load-config": "^3.0.1", + "resolve-from": "^5.0.0", + "rollup": "^3.2.5", + "source-map": "0.8.0-beta.0", + "sucrase": "^3.20.3", + "tree-kill": "^1.2.2" + }, + "dependencies": { + "esbuild": { + "version": "0.15.18", + "dev": true, + "requires": { + "@esbuild/android-arm": "0.15.18", + "@esbuild/linux-loong64": "0.15.18", + "esbuild-android-64": "0.15.18", + "esbuild-android-arm64": "0.15.18", + "esbuild-darwin-64": "0.15.18", + "esbuild-darwin-arm64": "0.15.18", + "esbuild-freebsd-64": "0.15.18", + "esbuild-freebsd-arm64": "0.15.18", + "esbuild-linux-32": "0.15.18", + "esbuild-linux-64": "0.15.18", + "esbuild-linux-arm": "0.15.18", + "esbuild-linux-arm64": "0.15.18", + "esbuild-linux-mips64le": "0.15.18", + "esbuild-linux-ppc64le": "0.15.18", + "esbuild-linux-riscv64": "0.15.18", + "esbuild-linux-s390x": "0.15.18", + "esbuild-netbsd-64": "0.15.18", + "esbuild-openbsd-64": "0.15.18", + "esbuild-sunos-64": "0.15.18", + "esbuild-windows-32": "0.15.18", + "esbuild-windows-64": "0.15.18", + "esbuild-windows-arm64": "0.15.18" + } + }, + "execa": { + "version": "5.1.1", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + } + }, + "get-stream": { + "version": "6.0.1", + "dev": true + }, + "human-signals": { + "version": "2.1.0", + "dev": true + }, + "rollup": { + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.14.0.tgz", + "integrity": "sha512-o23sdgCLcLSe3zIplT9nQ1+r97okuaiR+vmAPZPTDYB7/f3tgWIYNyiQveMsZwshBT0is4eGax/HH83Q7CG+/Q==", + "dev": true, + "requires": { + "fsevents": "~2.3.2" + } + }, + "source-map": { + "version": "0.8.0-beta.0", + "dev": true, + "requires": { + "whatwg-url": "^7.0.0" + } + }, + "tr46": { + "version": "1.0.1", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "webidl-conversions": { + "version": "4.0.2", + "dev": true + }, + "whatwg-url": { + "version": "7.1.0", + "dev": true, + "requires": { + "lodash.sortby": "^4.7.0", + "tr46": "^1.0.1", + "webidl-conversions": "^4.0.2" + } + } + } + }, "tsutils": { "version": "3.21.0", "dev": true, @@ -33267,8 +32433,6 @@ }, "typedarray": { "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", "dev": true }, "typedarray-to-buffer": { @@ -33282,10 +32446,11 @@ "version": "4.7.4", "dev": true }, + "uc.micro": { + "version": "1.0.6" + }, "uglify-js": { "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", "dev": true, "optional": true }, @@ -33321,8 +32486,6 @@ }, "unique-filename": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz", - "integrity": "sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A==", "dev": true, "requires": { "unique-slug": "^3.0.0" @@ -33330,8 +32493,6 @@ }, "unique-slug": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-3.0.0.tgz", - "integrity": "sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w==", "dev": true, "requires": { "imurmurhash": "^0.1.4" @@ -33339,8 +32500,6 @@ }, "universal-user-agent": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", "dev": true }, "universalify": { @@ -33353,17 +32512,17 @@ }, "upath": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", - "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", "dev": true }, "upath2": { - "version": "3.1.13", + "version": "3.1.19", + "resolved": "https://registry.npmjs.org/upath2/-/upath2-3.1.19.tgz", + "integrity": "sha512-d23dQLi8nDWSRTIQwXtaYqMrHuca0As53fNiTLLFDmsGBbepsZepISaB2H1x45bDFN/n3Qw9bydvyZEacTrEWQ==", "dev": true, "requires": { "@types/node": "*", - "path-is-network-drive": "^1.0.15", - "path-strip-sep": "^1.0.12", + "path-is-network-drive": "^1.0.20", + "path-strip-sep": "^1.0.17", "tslib": "^2" } }, @@ -33432,6 +32591,17 @@ "postcss": "^8.4.13", "resolve": "^1.22.0", "rollup": ">=2.59.0 <2.78.0" + }, + "dependencies": { + "rollup": { + "version": "2.77.3", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.77.3.tgz", + "integrity": "sha512-/qxNTG7FbmefJWoeeYJFbHehJ2HNWnjkAFRKzWN/45eNBBF/r8lo992CwcJXEzyVxs5FmfId+vTSTQDb+bxA+g==", + "dev": true, + "requires": { + "fsevents": "~2.3.2" + } + } } }, "vite-plugin-checker": { @@ -33606,13 +32776,10 @@ } }, "w3c-keyname": { - "version": "2.2.4", - "dev": true + "version": "2.2.4" }, "walk-up-path": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-1.0.0.tgz", - "integrity": "sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg==", "dev": true }, "watchpack": { @@ -33625,8 +32792,6 @@ }, "wcwidth": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", "dev": true, "requires": { "defaults": "^1.0.3" @@ -33634,8 +32799,6 @@ }, "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==", "dev": true }, "webpack": { @@ -33689,8 +32852,6 @@ }, "whatwg-url": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", "dev": true, "requires": { "tr46": "~0.0.3", @@ -33728,8 +32889,6 @@ }, "wordwrap": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", "dev": true }, "wrap-ansi": { @@ -33892,8 +33051,6 @@ }, "y18n": { "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", "dev": true }, "yallist": { @@ -33906,8 +33063,6 @@ }, "yargs": { "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, "requires": { "cliui": "^7.0.2", @@ -33921,8 +33076,6 @@ }, "yargs-parser": { "version": "20.2.4", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", - "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", "dev": true }, "yauzl": { @@ -33941,6 +33094,8 @@ }, "yocto-queue": { "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true }, "zeed-dom": { diff --git a/package.json b/package.json index 0f8582f9a..ebf7eb5fe 100644 --- a/package.json +++ b/package.json @@ -10,15 +10,15 @@ ], "scripts": { "start": "npm --prefix ./demos run start", - "lint": "eslint --quiet --no-error-on-unmatched-pattern ./", - "lint:fix": "eslint --fix --quiet --no-error-on-unmatched-pattern ./", + "lint": "eslint --cache --quiet --no-error-on-unmatched-pattern ./", + "lint:fix": "eslint --fix --cache --quiet --no-error-on-unmatched-pattern ./", "lint:staged": "lint-staged", - "test:open": "cypress open --project tests", - "test": "cypress run --project tests", - "build:demos": "npm --prefix ./demos run build", - "build:ci": "npm run clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --ci --scope @tiptap/$package || exit 1; done", - "build:packages": "npm run clean:packages && lerna changed | while read package; do rollup -c --scope $package || exit 1; done", - "build:allpackages": "npm run clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package || exit 1; done", + "test:open": "npm run build:pm && cypress open --project tests", + "test": "npm run build:pm && cypress run --project tests", + "build": "lerna run build", + "build:pm": "npm --prefix ./packages/pm run build", + "build:demos": "npm --prefix ./demos run build:demos", + "build:ci": "npm run build", "release:major": "lerna version major --force-publish", "release:major:pre": "lerna version premajor --force-publish", "release:minor": "lerna version minor --force-publish", @@ -26,9 +26,11 @@ "release:patch": "lerna version patch --force-publish", "release:patch:pre": "lerna version prepatch --force-publish", "release:pre": "lerna version prerelease --force-publish", - "publish": "npm run build:packages && lerna exec --since --no-private -- npm publish --access public", - "clean:packages": "rm -rf ./packages/*/dist", - "reset": "npm run clean:packages && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./package-lock.json && npm install", + "publish": "npm run build && lerna exec --since --no-private -- npm publish --access public", + "pack": "npm run clean:packs && lerna exec -- npm pack", + "clean:packages": "rm -rf ./packages/*/dist && rm -rf ./packages/pm/*/dist", + "clean:packs": "rm -rf ./packages/*/*.tgz", + "reset": "npm run clean:packages && npm run clean:packs && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./package-lock.json && npm install", "prepare": "husky install" }, "devDependencies": { @@ -40,8 +42,8 @@ "@babel/preset-react": "^7.16.7", "@cypress/webpack-preprocessor": "^5.11.0", "@lerna/batch-packages": "^3.16.0", - "@lerna/filter-packages": "^5.0.0", - "@lerna/project": "^5.0.0", + "@lerna/filter-packages": "^5.6.2", + "@lerna/project": "^5.6.2", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^21.0.1", "@rollup/plugin-node-resolve": "^13.1.3", @@ -59,14 +61,15 @@ "husky": "^8.0.1", "lerna": "^5.5.1", "lint-staged": "^13.0.3", - "minimist": "^1.2.5", + "minimist": "^1.2.7", "rollup": "^2.67.0", "rollup-plugin-auto-external": "^2.0.0", "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-typescript2": "^0.31.2", - "ts-loader": "^9.2.6", + "ts-loader": "9.3.1", + "tsup": "^6.5.0", "typescript": "^4.5.5", "webpack": "^5.68.0" }, "name": "tiptap" -} +} \ No newline at end of file diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index ea147b630..9c92f900f 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,90 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + + +### Bug Fixes + +* Prevent drag event from being ignored ([#3677](https://github.com/ueberdosis/tiptap/issues/3677)) ([2b6e4e3](https://github.com/ueberdosis/tiptap/commit/2b6e4e369130466387ab1136e10ad64f6e37df5b)) + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/core + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/core + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/core + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/core + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + + +### Bug Fixes + +* **core:** fix broken types in definition file ([f659037](https://github.com/ueberdosis/tiptap/commit/f659037d52b91a6534513faaa5046409dc84c808)) + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/core + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/core diff --git a/packages/core/package.json b/packages/core/package.json index 833ff86f0..7a0974afc 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/core", "description": "headless rich text editor", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -19,40 +19,32 @@ "exports": { ".": { "types": "./dist/packages/core/src/index.d.ts", - "import": "./dist/tiptap-core.esm.js", - "require": "./dist/tiptap-core.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-core.cjs", - "umd": "dist/tiptap-core.umd.js", - "module": "dist/tiptap-core.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/core/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "prosemirror-commands": "^1.3.1", - "prosemirror-keymap": "^1.2.0", - "prosemirror-model": "^1.18.1", - "prosemirror-schema-list": "^1.2.2", - "prosemirror-state": "^1.4.1", - "prosemirror-transform": "^1.7.0", - "prosemirror-view": "^1.28.2" + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "prosemirror-commands": "^1.3.1", - "prosemirror-keymap": "^1.2.0", - "prosemirror-model": "^1.18.1", - "prosemirror-schema-list": "^1.2.2", - "prosemirror-state": "^1.4.1", - "prosemirror-transform": "^1.7.0", - "prosemirror-view": "^1.28.2" + "@tiptap/pm": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/core" }, - "sideEffects": false + "sideEffects": false, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" + } } diff --git a/packages/core/rollup.config.js b/packages/core/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/core/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/core/src/CommandManager.ts b/packages/core/src/CommandManager.ts index 7e4dd561d..ae87c89bc 100644 --- a/packages/core/src/CommandManager.ts +++ b/packages/core/src/CommandManager.ts @@ -1,27 +1,19 @@ -import { EditorState, Transaction } from 'prosemirror-state' +import { EditorState, Transaction } from '@tiptap/pm/state' import { Editor } from './Editor' import { createChainableState } from './helpers/createChainableState' import { - AnyCommands, - CanCommands, - ChainedCommands, - CommandProps, - SingleCommands, + AnyCommands, CanCommands, ChainedCommands, CommandProps, SingleCommands, } from './types' export class CommandManager { - editor: Editor rawCommands: AnyCommands customState?: EditorState - constructor(props: { - editor: Editor, - state?: EditorState, - }) { + constructor(props: { editor: Editor; state?: EditorState }) { this.editor = props.editor this.rawCommands = this.editor.extensionManager.commands this.customState = props.state @@ -41,9 +33,8 @@ export class CommandManager { const { tr } = state const props = this.buildProps(tr) - return Object.fromEntries(Object - .entries(rawCommands) - .map(([name, command]) => { + return Object.fromEntries( + Object.entries(rawCommands).map(([name, command]) => { const method = (...args: any[]) => { const callback = command(...args)(props) @@ -55,7 +46,8 @@ export class CommandManager { } return [name, method] - })) as unknown as SingleCommands + }), + ) as unknown as SingleCommands } get chain(): () => ChainedCommands { @@ -87,18 +79,20 @@ export class CommandManager { } const chain = { - ...Object.fromEntries(Object.entries(rawCommands).map(([name, command]) => { - const chainedCommand = (...args: never[]) => { - const props = this.buildProps(tr, shouldDispatch) - const callback = command(...args)(props) + ...Object.fromEntries( + Object.entries(rawCommands).map(([name, command]) => { + const chainedCommand = (...args: never[]) => { + const props = this.buildProps(tr, shouldDispatch) + const callback = command(...args)(props) - callbacks.push(callback) + callbacks.push(callback) - return chain - } + return chain + } - return [name, chainedCommand] - })), + return [name, chainedCommand] + }), + ), run, } as unknown as ChainedCommands @@ -110,11 +104,11 @@ export class CommandManager { const dispatch = false const tr = startTr || state.tr const props = this.buildProps(tr, dispatch) - const formattedCommands = Object.fromEntries(Object - .entries(rawCommands) - .map(([name, command]) => { + const formattedCommands = Object.fromEntries( + Object.entries(rawCommands).map(([name, command]) => { return [name, (...args: never[]) => command(...args)({ ...props, dispatch: undefined })] - })) as unknown as SingleCommands + }), + ) as unknown as SingleCommands return { ...formattedCommands, @@ -138,21 +132,18 @@ export class CommandManager { state, transaction: tr, }), - dispatch: shouldDispatch - ? () => undefined - : undefined, + dispatch: shouldDispatch ? () => undefined : undefined, chain: () => this.createChain(tr), can: () => this.createCan(tr), get commands() { - return Object.fromEntries(Object - .entries(rawCommands) - .map(([name, command]) => { + return Object.fromEntries( + Object.entries(rawCommands).map(([name, command]) => { return [name, (...args: never[]) => command(...args)(props)] - })) as unknown as SingleCommands + }), + ) as unknown as SingleCommands }, } return props } - } diff --git a/packages/core/src/Editor.ts b/packages/core/src/Editor.ts index e059273ca..ba545511b 100644 --- a/packages/core/src/Editor.ts +++ b/packages/core/src/Editor.ts @@ -1,11 +1,8 @@ -import { MarkType, NodeType, Schema } from 'prosemirror-model' +import { MarkType, NodeType, Schema } from '@tiptap/pm/model' import { - EditorState, - Plugin, - PluginKey, - Transaction, -} from 'prosemirror-state' -import { EditorView } from 'prosemirror-view' + EditorState, Plugin, PluginKey, Transaction, +} from '@tiptap/pm/state' +import { EditorView } from '@tiptap/pm/view' import { CommandManager } from './CommandManager' import { EventEmitter } from './EventEmitter' @@ -39,7 +36,6 @@ export interface HTMLElement { } export class Editor extends EventEmitter { - private commandManager!: CommandManager public extensionManager!: ExtensionManager @@ -182,9 +178,7 @@ export class Editor extends EventEmitter { // since plugins are applied after creating the view // `editable` is always `true` for one tick. // that’s why we also have to check for `options.editable` - return this.options.editable - && this.view - && this.view.editable + return this.options.editable && this.view && this.view.editable } /** @@ -200,7 +194,10 @@ export class Editor extends EventEmitter { * @param plugin A ProseMirror plugin * @param handlePlugins Control how to merge the plugin into the existing plugins. */ - public registerPlugin(plugin: Plugin, handlePlugins?: (newPlugin: Plugin, plugins: Plugin[]) => Plugin[]): void { + public registerPlugin( + plugin: Plugin, + handlePlugins?: (newPlugin: Plugin, plugins: Plugin[]) => Plugin[], + ): void { const plugins = isFunction(handlePlugins) ? handlePlugins(plugin, [...this.state.plugins]) : [...this.state.plugins, plugin] @@ -220,10 +217,8 @@ export class Editor extends EventEmitter { return } - const name = typeof nameOrPluginKey === 'string' - ? `${nameOrPluginKey}$` - // @ts-ignore - : nameOrPluginKey.key + // @ts-ignore + const name = typeof nameOrPluginKey === 'string' ? `${nameOrPluginKey}$` : nameOrPluginKey.key const state = this.state.reconfigure({ // @ts-ignore @@ -237,9 +232,7 @@ export class Editor extends EventEmitter { * Creates an extension manager. */ private createExtensionManager(): void { - const coreExtensions = this.options.enableCoreExtensions - ? Object.values(extensions) - : [] + const coreExtensions = this.options.enableCoreExtensions ? Object.values(extensions) : [] const allExtensions = [...coreExtensions, ...this.options.extensions].filter(extension => { return ['extension', 'node', 'mark'].includes(extension?.type) }) @@ -397,16 +390,12 @@ export class Editor extends EventEmitter { * @param name Name of the node or mark * @param attributes Attributes of the node or mark */ - public isActive(name: string, attributes?: {}): boolean; - public isActive(attributes: {}): boolean; + public isActive(name: string, attributes?: {}): boolean + public isActive(attributes: {}): boolean public isActive(nameOrAttributes: string, attributesOrUndefined?: {}): boolean { - const name = typeof nameOrAttributes === 'string' - ? nameOrAttributes - : null + const name = typeof nameOrAttributes === 'string' ? nameOrAttributes : null - const attributes = typeof nameOrAttributes === 'string' - ? attributesOrUndefined - : nameOrAttributes + const attributes = typeof nameOrAttributes === 'string' ? attributesOrUndefined : nameOrAttributes return isActive(this.state, name, attributes) } @@ -429,19 +418,16 @@ export class Editor extends EventEmitter { * Get the document as text. */ public getText(options?: { - blockSeparator?: string, - textSerializers?: Record, + blockSeparator?: string + textSerializers?: Record }): string { - const { - blockSeparator = '\n\n', - textSerializers = {}, - } = options || {} + const { blockSeparator = '\n\n', textSerializers = {} } = options || {} return getText(this.state.doc, { blockSeparator, textSerializers: { - ...textSerializers, ...getTextSerializersFromSchema(this.schema), + ...textSerializers, }, }) } @@ -459,7 +445,9 @@ export class Editor extends EventEmitter { * @deprecated */ public getCharacterCount(): number { - console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.') + console.warn( + '[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.', + ) return this.state.doc.content.size - 2 } @@ -484,5 +472,4 @@ export class Editor extends EventEmitter { // @ts-ignore return !this.view?.docView } - } diff --git a/packages/core/src/Extension.ts b/packages/core/src/Extension.ts index a91277248..3a0ca7022 100644 --- a/packages/core/src/Extension.ts +++ b/packages/core/src/Extension.ts @@ -1,4 +1,4 @@ -import { Plugin, Transaction } from 'prosemirror-state' +import { Plugin, Transaction } from '@tiptap/pm/state' import { ExtensionConfig } from '.' import { Editor } from './Editor' @@ -20,245 +20,265 @@ import { mergeDeep } from './utilities/mergeDeep' declare module '@tiptap/core' { interface ExtensionConfig { - [key: string]: any; + [key: string]: any /** * Name */ - name: string, + name: string /** * Priority */ - priority?: number, + priority?: number /** * Default options */ - defaultOptions?: Options, + defaultOptions?: Options /** * Default Options */ addOptions?: (this: { - name: string, - parent: Exclude>['addOptions'], undefined>, - }) => Options, + name: string + parent: Exclude>['addOptions'], undefined> + }) => Options /** * Default Storage */ addStorage?: (this: { - name: string, - options: Options, - parent: Exclude>['addStorage'], undefined>, - }) => Storage, + name: string + options: Options + parent: Exclude>['addStorage'], undefined> + }) => Storage /** * Global attributes */ addGlobalAttributes?: (this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['addGlobalAttributes'], - }) => GlobalAttributes | {}, + name: string + options: Options + storage: Storage + parent: ParentConfig>['addGlobalAttributes'] + }) => GlobalAttributes | {} /** * Raw */ addCommands?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - parent: ParentConfig>['addCommands'], - }) => Partial, + name: string + options: Options + storage: Storage + editor: Editor + parent: ParentConfig>['addCommands'] + }) => Partial /** * Keyboard shortcuts */ addKeyboardShortcuts?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - parent: ParentConfig>['addKeyboardShortcuts'], + name: string + options: Options + storage: Storage + editor: Editor + parent: ParentConfig>['addKeyboardShortcuts'] }) => { - [key: string]: KeyboardShortcutCommand, - }, + [key: string]: KeyboardShortcutCommand + } /** * Input rules */ addInputRules?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - parent: ParentConfig>['addInputRules'], - }) => InputRule[], + name: string + options: Options + storage: Storage + editor: Editor + parent: ParentConfig>['addInputRules'] + }) => InputRule[] /** * Paste rules */ addPasteRules?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - parent: ParentConfig>['addPasteRules'], - }) => PasteRule[], + name: string + options: Options + storage: Storage + editor: Editor + parent: ParentConfig>['addPasteRules'] + }) => PasteRule[] /** * ProseMirror plugins */ addProseMirrorPlugins?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - parent: ParentConfig>['addProseMirrorPlugins'], - }) => Plugin[], + name: string + options: Options + storage: Storage + editor: Editor + parent: ParentConfig>['addProseMirrorPlugins'] + }) => Plugin[] /** * Extensions */ addExtensions?: (this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['addExtensions'], - }) => Extensions, + name: string + options: Options + storage: Storage + parent: ParentConfig>['addExtensions'] + }) => Extensions /** * Extend Node Schema */ - extendNodeSchema?: (( - this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['extendNodeSchema'], - }, - extension: Node, - ) => Record) | null, + extendNodeSchema?: + | (( + this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['extendNodeSchema'] + }, + extension: Node, + ) => Record) + | null /** * Extend Mark Schema */ - extendMarkSchema?: (( - this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['extendMarkSchema'], - }, - extension: Mark, - ) => Record) | null, + extendMarkSchema?: + | (( + this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['extendMarkSchema'] + }, + extension: Mark, + ) => Record) + | null /** * The editor is not ready yet. */ - onBeforeCreate?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - parent: ParentConfig>['onBeforeCreate'], - }) => void) | null, + onBeforeCreate?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + parent: ParentConfig>['onBeforeCreate'] + }) => void) + | null /** * The editor is ready. */ - onCreate?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - parent: ParentConfig>['onCreate'], - }) => void) | null, + onCreate?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + parent: ParentConfig>['onCreate'] + }) => void) + | null /** * The content has changed. */ - onUpdate?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - parent: ParentConfig>['onUpdate'], - }) => void) | null, + onUpdate?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + parent: ParentConfig>['onUpdate'] + }) => void) + | null /** * The selection has changed. */ - onSelectionUpdate?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - parent: ParentConfig>['onSelectionUpdate'], - }) => void) | null, + onSelectionUpdate?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + parent: ParentConfig>['onSelectionUpdate'] + }) => void) + | null /** * The editor state has changed. */ - onTransaction?: (( - this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - parent: ParentConfig>['onTransaction'], - }, - props: { - transaction: Transaction, - }, - ) => void) | null, + onTransaction?: + | (( + this: { + name: string + options: Options + storage: Storage + editor: Editor + parent: ParentConfig>['onTransaction'] + }, + props: { + transaction: Transaction + }, + ) => void) + | null /** * The editor is focused. */ - onFocus?: (( - this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - parent: ParentConfig>['onFocus'], - }, - props: { - event: FocusEvent, - }, - ) => void) | null, + onFocus?: + | (( + this: { + name: string + options: Options + storage: Storage + editor: Editor + parent: ParentConfig>['onFocus'] + }, + props: { + event: FocusEvent + }, + ) => void) + | null /** * The editor isn’t focused anymore. */ - onBlur?: (( - this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - parent: ParentConfig>['onBlur'], - }, - props: { - event: FocusEvent, - }, - ) => void) | null, + onBlur?: + | (( + this: { + name: string + options: Options + storage: Storage + editor: Editor + parent: ParentConfig>['onBlur'] + }, + props: { + event: FocusEvent + }, + ) => void) + | null /** * The editor is destroyed. */ - onDestroy?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - parent: ParentConfig>['onDestroy'], - }) => void) | null, + onDestroy?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + parent: ParentConfig>['onDestroy'] + }) => void) + | null } } @@ -289,30 +309,28 @@ export class Extension { this.name = this.config.name if (config.defaultOptions) { - console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`) + console.warn( + `[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`, + ) } // TODO: remove `addOptions` fallback this.options = this.config.defaultOptions if (this.config.addOptions) { - this.options = callOrReturn(getExtensionField( - this, - 'addOptions', - { + this.options = callOrReturn( + getExtensionField(this, 'addOptions', { name: this.name, - }, - )) + }), + ) } - this.storage = callOrReturn(getExtensionField( - this, - 'addStorage', - { + this.storage = callOrReturn( + getExtensionField(this, 'addStorage', { name: this.name, options: this.options, - }, - )) || {} + }), + ) || {} } static create(config: Partial> = {}) { @@ -324,51 +342,47 @@ export class Extension { // with different calls of `configure` const extension = this.extend() - extension.options = mergeDeep(this.options, options) as Options + extension.options = mergeDeep(this.options as Record, options) as Options - extension.storage = callOrReturn(getExtensionField( - extension, - 'addStorage', - { + extension.storage = callOrReturn( + getExtensionField(extension, 'addStorage', { name: extension.name, options: extension.options, - }, - )) + }), + ) return extension } - extend(extendedConfig: Partial> = {}) { + extend( + extendedConfig: Partial> = {}, + ) { const extension = new Extension(extendedConfig) extension.parent = this this.child = extension - extension.name = extendedConfig.name - ? extendedConfig.name - : extension.parent.name + extension.name = extendedConfig.name ? extendedConfig.name : extension.parent.name if (extendedConfig.defaultOptions) { - console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${extension.name}".`) + console.warn( + `[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${extension.name}".`, + ) } - extension.options = callOrReturn(getExtensionField( - extension, - 'addOptions', - { + extension.options = callOrReturn( + getExtensionField(extension, 'addOptions', { name: extension.name, - }, - )) + }), + ) - extension.storage = callOrReturn(getExtensionField( - extension, - 'addStorage', - { + extension.storage = callOrReturn( + getExtensionField(extension, 'addStorage', { name: extension.name, options: extension.options, - }, - )) + }), + ) return extension } diff --git a/packages/core/src/ExtensionManager.ts b/packages/core/src/ExtensionManager.ts index b00cd555a..8f45a9148 100644 --- a/packages/core/src/ExtensionManager.ts +++ b/packages/core/src/ExtensionManager.ts @@ -1,7 +1,7 @@ -import { keymap } from 'prosemirror-keymap' -import { Node as ProsemirrorNode, Schema } from 'prosemirror-model' -import { Plugin } from 'prosemirror-state' -import { Decoration, EditorView } from 'prosemirror-view' +import { keymap } from '@tiptap/pm/keymap' +import { Node as ProsemirrorNode, Schema } from '@tiptap/pm/model' +import { Plugin } from '@tiptap/pm/state' +import { Decoration, EditorView } from '@tiptap/pm/view' import { Mark, NodeConfig } from '.' import { Editor } from './Editor' @@ -20,7 +20,6 @@ import { callOrReturn } from './utilities/callOrReturn' import { findDuplicates } from './utilities/findDuplicates' export class ExtensionManager { - editor: Editor schema: Schema @@ -64,21 +63,13 @@ export class ExtensionManager { this.editor.on('beforeCreate', onBeforeCreate) } - const onCreate = getExtensionField( - extension, - 'onCreate', - context, - ) + const onCreate = getExtensionField(extension, 'onCreate', context) if (onCreate) { this.editor.on('create', onCreate) } - const onUpdate = getExtensionField( - extension, - 'onUpdate', - context, - ) + const onUpdate = getExtensionField(extension, 'onUpdate', context) if (onUpdate) { this.editor.on('update', onUpdate) @@ -104,31 +95,19 @@ export class ExtensionManager { this.editor.on('transaction', onTransaction) } - const onFocus = getExtensionField( - extension, - 'onFocus', - context, - ) + const onFocus = getExtensionField(extension, 'onFocus', context) if (onFocus) { this.editor.on('focus', onFocus) } - const onBlur = getExtensionField( - extension, - 'onBlur', - context, - ) + const onBlur = getExtensionField(extension, 'onBlur', context) if (onBlur) { this.editor.on('blur', onBlur) } - const onDestroy = getExtensionField( - extension, - 'onDestroy', - context, - ) + const onDestroy = getExtensionField(extension, 'onDestroy', context) if (onDestroy) { this.editor.on('destroy', onDestroy) @@ -141,38 +120,41 @@ export class ExtensionManager { const duplicatedNames = findDuplicates(resolvedExtensions.map(extension => extension.name)) if (duplicatedNames.length) { - console.warn(`[tiptap warn]: Duplicate extension names found: [${duplicatedNames.map(item => `'${item}'`).join(', ')}]. This can lead to issues.`) + console.warn( + `[tiptap warn]: Duplicate extension names found: [${duplicatedNames + .map(item => `'${item}'`) + .join(', ')}]. This can lead to issues.`, + ) } return resolvedExtensions } static flatten(extensions: Extensions): Extensions { - return extensions - .map(extension => { - const context = { - name: extension.name, - options: extension.options, - storage: extension.storage, - } - - const addExtensions = getExtensionField( - extension, - 'addExtensions', - context, - ) - - if (addExtensions) { - return [ + return ( + extensions + .map(extension => { + const context = { + name: extension.name, + options: extension.options, + storage: extension.storage, + } + + const addExtensions = getExtensionField( extension, - ...this.flatten(addExtensions()), - ] - } + 'addExtensions', + context, + ) - return extension - }) - // `Infinity` will break TypeScript so we set a number that is probably high enough - .flat(10) + if (addExtensions) { + return [extension, ...this.flatten(addExtensions())] + } + + return extension + }) + // `Infinity` will break TypeScript so we set a number that is probably high enough + .flat(10) + ) } static sort(extensions: Extensions): Extensions { @@ -256,16 +238,14 @@ export class ExtensionManager { // bind exit handling if (extension.type === 'mark' && extension.config.exitable) { - defaultBindings.ArrowRight = () => Mark.handleExit({ editor, mark: (extension as Mark) }) + defaultBindings.ArrowRight = () => Mark.handleExit({ editor, mark: extension as Mark }) } if (addKeyboardShortcuts) { const bindings = Object.fromEntries( - Object - .entries(addKeyboardShortcuts()) - .map(([shortcut, method]) => { - return [shortcut, () => method({ editor })] - }), + Object.entries(addKeyboardShortcuts()).map(([shortcut, method]) => { + return [shortcut, () => method({ editor })] + }), ) defaultBindings = { ...defaultBindings, ...bindings } @@ -332,46 +312,50 @@ export class ExtensionManager { const { editor } = this const { nodeExtensions } = splitExtensions(this.extensions) - return Object.fromEntries(nodeExtensions - .filter(extension => !!getExtensionField(extension, 'addNodeView')) - .map(extension => { - const extensionAttributes = this.attributes.filter(attribute => attribute.type === extension.name) - const context = { - name: extension.name, - options: extension.options, - storage: extension.storage, - editor, - type: getNodeType(extension.name, this.schema), - } - const addNodeView = getExtensionField( - extension, - 'addNodeView', - context, - ) - - if (!addNodeView) { - return [] - } - - const nodeview = ( - node: ProsemirrorNode, - view: EditorView, - getPos: (() => number) | boolean, - decorations: Decoration[], - ) => { - const HTMLAttributes = getRenderedAttributes(node, extensionAttributes) - - return addNodeView()({ + return Object.fromEntries( + nodeExtensions + .filter(extension => !!getExtensionField(extension, 'addNodeView')) + .map(extension => { + const extensionAttributes = this.attributes.filter( + attribute => attribute.type === extension.name, + ) + const context = { + name: extension.name, + options: extension.options, + storage: extension.storage, editor, - node, - getPos, - decorations, - HTMLAttributes, + type: getNodeType(extension.name, this.schema), + } + const addNodeView = getExtensionField( extension, - }) - } + 'addNodeView', + context, + ) - return [extension.name, nodeview] - })) + if (!addNodeView) { + return [] + } + + const nodeview = ( + node: ProsemirrorNode, + view: EditorView, + getPos: (() => number) | boolean, + decorations: Decoration[], + ) => { + const HTMLAttributes = getRenderedAttributes(node, extensionAttributes) + + return addNodeView()({ + editor, + node, + getPos, + decorations, + HTMLAttributes, + extension, + }) + } + + return [extension.name, nodeview] + }), + ) } } diff --git a/packages/core/src/InputRule.ts b/packages/core/src/InputRule.ts index 1ee86c613..3d04c92da 100644 --- a/packages/core/src/InputRule.ts +++ b/packages/core/src/InputRule.ts @@ -1,4 +1,4 @@ -import { EditorState, Plugin, TextSelection } from 'prosemirror-state' +import { EditorState, Plugin, TextSelection } from '@tiptap/pm/state' import { CommandManager } from './CommandManager' import { Editor } from './Editor' @@ -14,46 +14,47 @@ import { import { isRegExp } from './utilities/isRegExp' export type InputRuleMatch = { - index: number, - text: string, - replaceWith?: string, - match?: RegExpMatchArray, - data?: Record, + index: number + text: string + replaceWith?: string + match?: RegExpMatchArray + data?: Record } -export type InputRuleFinder = - | RegExp - | ((text: string) => InputRuleMatch | null) +export type InputRuleFinder = RegExp | ((text: string) => InputRuleMatch | null) export class InputRule { find: InputRuleFinder handler: (props: { - state: EditorState, - range: Range, - match: ExtendedRegExpMatchArray, - commands: SingleCommands, - chain: () => ChainedCommands, - can: () => CanCommands, + state: EditorState + range: Range + match: ExtendedRegExpMatchArray + commands: SingleCommands + chain: () => ChainedCommands + can: () => CanCommands }) => void | null constructor(config: { - find: InputRuleFinder, + find: InputRuleFinder handler: (props: { - state: EditorState, - range: Range, - match: ExtendedRegExpMatchArray, - commands: SingleCommands, - chain: () => ChainedCommands, - can: () => CanCommands, - }) => void | null, + state: EditorState + range: Range + match: ExtendedRegExpMatchArray + commands: SingleCommands + chain: () => ChainedCommands + can: () => CanCommands + }) => void | null }) { this.find = config.find this.handler = config.handler } } -const inputRuleMatcherHandler = (text: string, find: InputRuleFinder): ExtendedRegExpMatchArray | null => { +const inputRuleMatcherHandler = ( + text: string, + find: InputRuleFinder, +): ExtendedRegExpMatchArray | null => { if (isRegExp(find)) { return find.exec(text) } @@ -64,16 +65,17 @@ const inputRuleMatcherHandler = (text: string, find: InputRuleFinder): ExtendedR return null } - const result: ExtendedRegExpMatchArray = [] + const result: ExtendedRegExpMatchArray = [inputRuleMatch.text] - result.push(inputRuleMatch.text) result.index = inputRuleMatch.index result.input = text result.data = inputRuleMatch.data if (inputRuleMatch.replaceWith) { if (!inputRuleMatch.text.includes(inputRuleMatch.replaceWith)) { - console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".') + console.warn( + '[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".', + ) } result.push(inputRuleMatch.replaceWith) @@ -83,20 +85,15 @@ const inputRuleMatcherHandler = (text: string, find: InputRuleFinder): ExtendedR } function run(config: { - editor: Editor, - from: number, - to: number, - text: string, - rules: InputRule[], - plugin: Plugin, + editor: Editor + from: number + to: number + text: string + rules: InputRule[] + plugin: Plugin }): boolean { const { - editor, - from, - to, - text, - rules, - plugin, + editor, from, to, text, rules, plugin, } = config const { view } = editor @@ -180,7 +177,7 @@ function run(config: { * input that matches any of the given rules to trigger the rule’s * action. */ -export function inputRulesPlugin(props: { editor: Editor, rules: InputRule[] }): Plugin { +export function inputRulesPlugin(props: { editor: Editor; rules: InputRule[] }): Plugin { const { editor, rules } = props const plugin = new Plugin({ state: { @@ -194,9 +191,7 @@ export function inputRulesPlugin(props: { editor: Editor, rules: InputRule[] }): return stored } - return tr.selectionSet || tr.docChanged - ? null - : prev + return tr.selectionSet || tr.docChanged ? null : prev }, }, diff --git a/packages/core/src/Mark.ts b/packages/core/src/Mark.ts index cb192f32a..adf3c1d21 100644 --- a/packages/core/src/Mark.ts +++ b/packages/core/src/Mark.ts @@ -1,10 +1,7 @@ import { - DOMOutputSpec, - Mark as ProseMirrorMark, - MarkSpec, - MarkType, -} from 'prosemirror-model' -import { Plugin, Transaction } from 'prosemirror-state' + DOMOutputSpec, Mark as ProseMirrorMark, MarkSpec, MarkType, +} from '@tiptap/pm/model' +import { Plugin, Transaction } from '@tiptap/pm/state' import { MarkConfig } from '.' import { Editor } from './Editor' @@ -26,358 +23,386 @@ import { mergeDeep } from './utilities/mergeDeep' declare module '@tiptap/core' { export interface MarkConfig { - [key: string]: any; + [key: string]: any /** * Name */ - name: string, + name: string /** * Priority */ - priority?: number, + priority?: number /** * Default options */ - defaultOptions?: Options, + defaultOptions?: Options /** * Default Options */ addOptions?: (this: { - name: string, - parent: Exclude>['addOptions'], undefined>, - }) => Options, + name: string + parent: Exclude>['addOptions'], undefined> + }) => Options /** * Default Storage */ addStorage?: (this: { - name: string, - options: Options, - parent: Exclude>['addStorage'], undefined>, - }) => Storage, + name: string + options: Options + parent: Exclude>['addStorage'], undefined> + }) => Storage /** * Global attributes */ addGlobalAttributes?: (this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['addGlobalAttributes'], - }) => GlobalAttributes | {}, + name: string + options: Options + storage: Storage + parent: ParentConfig>['addGlobalAttributes'] + }) => GlobalAttributes | {} /** * Raw */ addCommands?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: MarkType, - parent: ParentConfig>['addCommands'], - }) => Partial, + name: string + options: Options + storage: Storage + editor: Editor + type: MarkType + parent: ParentConfig>['addCommands'] + }) => Partial /** * Keyboard shortcuts */ addKeyboardShortcuts?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: MarkType, - parent: ParentConfig>['addKeyboardShortcuts'], + name: string + options: Options + storage: Storage + editor: Editor + type: MarkType + parent: ParentConfig>['addKeyboardShortcuts'] }) => { - [key: string]: KeyboardShortcutCommand, - }, + [key: string]: KeyboardShortcutCommand + } /** * Input rules */ addInputRules?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: MarkType, - parent: ParentConfig>['addInputRules'], - }) => InputRule[], + name: string + options: Options + storage: Storage + editor: Editor + type: MarkType + parent: ParentConfig>['addInputRules'] + }) => InputRule[] /** * Paste rules */ addPasteRules?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: MarkType, - parent: ParentConfig>['addPasteRules'], - }) => PasteRule[], + name: string + options: Options + storage: Storage + editor: Editor + type: MarkType + parent: ParentConfig>['addPasteRules'] + }) => PasteRule[] /** * ProseMirror plugins */ addProseMirrorPlugins?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: MarkType, - parent: ParentConfig>['addProseMirrorPlugins'], - }) => Plugin[], + name: string + options: Options + storage: Storage + editor: Editor + type: MarkType + parent: ParentConfig>['addProseMirrorPlugins'] + }) => Plugin[] /** * Extensions */ addExtensions?: (this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['addExtensions'], - }) => Extensions, + name: string + options: Options + storage: Storage + parent: ParentConfig>['addExtensions'] + }) => Extensions /** * Extend Node Schema */ - extendNodeSchema?: (( - this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['extendNodeSchema'], - }, - extension: Node, - ) => Record) | null, + extendNodeSchema?: + | (( + this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['extendNodeSchema'] + }, + extension: Node, + ) => Record) + | null /** * Extend Mark Schema */ - extendMarkSchema?: (( - this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['extendMarkSchema'], - }, - extension: Mark, - ) => Record) | null, + extendMarkSchema?: + | (( + this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['extendMarkSchema'] + }, + extension: Mark, + ) => Record) + | null /** * The editor is not ready yet. */ - onBeforeCreate?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: MarkType, - parent: ParentConfig>['onBeforeCreate'], - }) => void) | null, + onBeforeCreate?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + type: MarkType + parent: ParentConfig>['onBeforeCreate'] + }) => void) + | null /** * The editor is ready. */ - onCreate?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: MarkType, - parent: ParentConfig>['onCreate'], - }) => void) | null, + onCreate?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + type: MarkType + parent: ParentConfig>['onCreate'] + }) => void) + | null /** * The content has changed. */ - onUpdate?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: MarkType, - parent: ParentConfig>['onUpdate'], - }) => void) | null, + onUpdate?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + type: MarkType + parent: ParentConfig>['onUpdate'] + }) => void) + | null /** * The selection has changed. */ - onSelectionUpdate?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: MarkType, - parent: ParentConfig>['onSelectionUpdate'], - }) => void) | null, + onSelectionUpdate?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + type: MarkType + parent: ParentConfig>['onSelectionUpdate'] + }) => void) + | null /** * The editor state has changed. */ - onTransaction?: (( - this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: MarkType, - parent: ParentConfig>['onTransaction'], - }, - props: { - transaction: Transaction, - }, - ) => void) | null, + onTransaction?: + | (( + this: { + name: string + options: Options + storage: Storage + editor: Editor + type: MarkType + parent: ParentConfig>['onTransaction'] + }, + props: { + transaction: Transaction + }, + ) => void) + | null /** * The editor is focused. */ - onFocus?: (( - this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: MarkType, - parent: ParentConfig>['onFocus'], - }, - props: { - event: FocusEvent, - }, - ) => void) | null, + onFocus?: + | (( + this: { + name: string + options: Options + storage: Storage + editor: Editor + type: MarkType + parent: ParentConfig>['onFocus'] + }, + props: { + event: FocusEvent + }, + ) => void) + | null /** * The editor isn’t focused anymore. */ - onBlur?: (( - this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: MarkType, - parent: ParentConfig>['onBlur'], - }, - props: { - event: FocusEvent, - }, - ) => void) | null, + onBlur?: + | (( + this: { + name: string + options: Options + storage: Storage + editor: Editor + type: MarkType + parent: ParentConfig>['onBlur'] + }, + props: { + event: FocusEvent + }, + ) => void) + | null /** * The editor is destroyed. */ - onDestroy?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: MarkType, - parent: ParentConfig>['onDestroy'], - }) => void) | null, + onDestroy?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + type: MarkType + parent: ParentConfig>['onDestroy'] + }) => void) + | null /** * Keep mark after split node */ - keepOnSplit?: boolean | (() => boolean), + keepOnSplit?: boolean | (() => boolean) /** * Inclusive */ - inclusive?: MarkSpec['inclusive'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['inclusive'], - }) => MarkSpec['inclusive']), + inclusive?: + | MarkSpec['inclusive'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['inclusive'] + }) => MarkSpec['inclusive']) /** * Excludes */ - excludes?: MarkSpec['excludes'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['excludes'], - }) => MarkSpec['excludes']), + excludes?: + | MarkSpec['excludes'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['excludes'] + }) => MarkSpec['excludes']) /** * Marks this Mark as exitable */ - exitable?: boolean | (() => boolean), + exitable?: boolean | (() => boolean) /** * Group */ - group?: MarkSpec['group'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['group'], - }) => MarkSpec['group']), + group?: + | MarkSpec['group'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['group'] + }) => MarkSpec['group']) /** * Spanning */ - spanning?: MarkSpec['spanning'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['spanning'], - }) => MarkSpec['spanning']), + spanning?: + | MarkSpec['spanning'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['spanning'] + }) => MarkSpec['spanning']) /** * Code */ - code?: boolean | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['code'], - }) => boolean), + code?: + | boolean + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['code'] + }) => boolean) /** * Parse HTML */ - parseHTML?: ( - this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['parseHTML'], - }, - ) => MarkSpec['parseDOM'], + parseHTML?: (this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['parseHTML'] + }) => MarkSpec['parseDOM'] /** * Render HTML */ - renderHTML?: (( - this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['renderHTML'], - }, - props: { - mark: ProseMirrorMark, - HTMLAttributes: Record, - }, - ) => DOMOutputSpec) | null, + renderHTML?: + | (( + this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['renderHTML'] + }, + props: { + mark: ProseMirrorMark + HTMLAttributes: Record + }, + ) => DOMOutputSpec) + | null /** * Attributes */ - addAttributes?: ( - this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['addAttributes'], - }, - ) => Attributes | {}, + addAttributes?: (this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['addAttributes'] + }) => Attributes | {} } } @@ -408,30 +433,28 @@ export class Mark { this.name = this.config.name if (config.defaultOptions) { - console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`) + console.warn( + `[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`, + ) } // TODO: remove `addOptions` fallback this.options = this.config.defaultOptions if (this.config.addOptions) { - this.options = callOrReturn(getExtensionField( - this, - 'addOptions', - { + this.options = callOrReturn( + getExtensionField(this, 'addOptions', { name: this.name, - }, - )) + }), + ) } - this.storage = callOrReturn(getExtensionField( - this, - 'addStorage', - { + this.storage = callOrReturn( + getExtensionField(this, 'addStorage', { name: this.name, options: this.options, - }, - )) || {} + }), + ) || {} } static create(config: Partial> = {}) { @@ -443,62 +466,52 @@ export class Mark { // with different calls of `configure` const extension = this.extend() - extension.options = mergeDeep(this.options, options) as Options + extension.options = mergeDeep(this.options as Record, options) as Options - extension.storage = callOrReturn(getExtensionField( - extension, - 'addStorage', - { + extension.storage = callOrReturn( + getExtensionField(extension, 'addStorage', { name: extension.name, options: extension.options, - }, - )) + }), + ) return extension } - extend(extendedConfig: Partial> = {}) { + extend( + extendedConfig: Partial> = {}, + ) { const extension = new Mark(extendedConfig) extension.parent = this this.child = extension - extension.name = extendedConfig.name - ? extendedConfig.name - : extension.parent.name + extension.name = extendedConfig.name ? extendedConfig.name : extension.parent.name if (extendedConfig.defaultOptions) { - console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${extension.name}".`) + console.warn( + `[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${extension.name}".`, + ) } - extension.options = callOrReturn(getExtensionField( - extension, - 'addOptions', - { + extension.options = callOrReturn( + getExtensionField(extension, 'addOptions', { name: extension.name, - }, - )) + }), + ) - extension.storage = callOrReturn(getExtensionField( - extension, - 'addStorage', - { + extension.storage = callOrReturn( + getExtensionField(extension, 'addStorage', { name: extension.name, options: extension.options, - }, - )) + }), + ) return extension } - static handleExit({ - editor, - mark, - }: { - editor: Editor - mark: Mark - }) { + static handleExit({ editor, mark }: { editor: Editor; mark: Mark }) { const { tr } = editor.state const currentPos = editor.state.selection.$from const isAtEnd = currentPos.pos === currentPos.end() diff --git a/packages/core/src/Node.ts b/packages/core/src/Node.ts index 34b0fbe50..103e81914 100644 --- a/packages/core/src/Node.ts +++ b/packages/core/src/Node.ts @@ -1,10 +1,7 @@ import { - DOMOutputSpec, - Node as ProseMirrorNode, - NodeSpec, - NodeType, -} from 'prosemirror-model' -import { Plugin, Transaction } from 'prosemirror-state' + DOMOutputSpec, Node as ProseMirrorNode, NodeSpec, NodeType, +} from '@tiptap/pm/model' +import { Plugin, Transaction } from '@tiptap/pm/state' import { NodeConfig } from '.' import { Editor } from './Editor' @@ -26,443 +23,487 @@ import { mergeDeep } from './utilities/mergeDeep' declare module '@tiptap/core' { interface NodeConfig { - [key: string]: any; + [key: string]: any /** * Name */ - name: string, + name: string /** * Priority */ - priority?: number, + priority?: number /** * Default options */ - defaultOptions?: Options, + defaultOptions?: Options /** * Default Options */ addOptions?: (this: { - name: string, - parent: Exclude>['addOptions'], undefined>, - }) => Options, + name: string + parent: Exclude>['addOptions'], undefined> + }) => Options /** * Default Storage */ addStorage?: (this: { - name: string, - options: Options, - parent: Exclude>['addStorage'], undefined>, - }) => Storage, + name: string + options: Options + parent: Exclude>['addStorage'], undefined> + }) => Storage /** * Global attributes */ addGlobalAttributes?: (this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['addGlobalAttributes'], - }) => GlobalAttributes | {}, + name: string + options: Options + storage: Storage + parent: ParentConfig>['addGlobalAttributes'] + }) => GlobalAttributes | {} /** * Raw */ addCommands?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['addCommands'], - }) => Partial, + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['addCommands'] + }) => Partial /** * Keyboard shortcuts */ addKeyboardShortcuts?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['addKeyboardShortcuts'], + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['addKeyboardShortcuts'] }) => { - [key: string]: KeyboardShortcutCommand, - }, + [key: string]: KeyboardShortcutCommand + } /** * Input rules */ addInputRules?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['addInputRules'], - }) => InputRule[], + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['addInputRules'] + }) => InputRule[] /** * Paste rules */ addPasteRules?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['addPasteRules'], - }) => PasteRule[], + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['addPasteRules'] + }) => PasteRule[] /** * ProseMirror plugins */ addProseMirrorPlugins?: (this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['addProseMirrorPlugins'], - }) => Plugin[], + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['addProseMirrorPlugins'] + }) => Plugin[] /** * Extensions */ addExtensions?: (this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['addExtensions'], - }) => Extensions, + name: string + options: Options + storage: Storage + parent: ParentConfig>['addExtensions'] + }) => Extensions /** * Extend Node Schema */ - extendNodeSchema?: (( - this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['extendNodeSchema'], - }, - extension: Node, - ) => Record) | null, + extendNodeSchema?: + | (( + this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['extendNodeSchema'] + }, + extension: Node, + ) => Record) + | null /** * Extend Mark Schema */ - extendMarkSchema?: (( - this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['extendMarkSchema'], - }, - extension: Node, - ) => Record) | null, + extendMarkSchema?: + | (( + this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['extendMarkSchema'] + }, + extension: Node, + ) => Record) + | null /** * The editor is not ready yet. */ - onBeforeCreate?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['onBeforeCreate'], - }) => void) | null, + onBeforeCreate?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['onBeforeCreate'] + }) => void) + | null /** * The editor is ready. */ - onCreate?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['onCreate'], - }) => void) | null, + onCreate?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['onCreate'] + }) => void) + | null /** * The content has changed. */ - onUpdate?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['onUpdate'], - }) => void) | null, + onUpdate?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['onUpdate'] + }) => void) + | null /** * The selection has changed. */ - onSelectionUpdate?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['onSelectionUpdate'], - }) => void) | null, + onSelectionUpdate?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['onSelectionUpdate'] + }) => void) + | null /** * The editor state has changed. */ - onTransaction?: (( - this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['onTransaction'], - }, - props: { - transaction: Transaction, - }, - ) => void) | null, + onTransaction?: + | (( + this: { + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['onTransaction'] + }, + props: { + transaction: Transaction + }, + ) => void) + | null /** * The editor is focused. */ - onFocus?: (( - this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['onFocus'], - }, - props: { - event: FocusEvent, - }, - ) => void) | null, + onFocus?: + | (( + this: { + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['onFocus'] + }, + props: { + event: FocusEvent + }, + ) => void) + | null /** * The editor isn’t focused anymore. */ - onBlur?: (( - this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['onBlur'], - }, - props: { - event: FocusEvent, - }, - ) => void) | null, + onBlur?: + | (( + this: { + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['onBlur'] + }, + props: { + event: FocusEvent + }, + ) => void) + | null /** * The editor is destroyed. */ - onDestroy?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['onDestroy'], - }) => void) | null, + onDestroy?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['onDestroy'] + }) => void) + | null /** * Node View */ - addNodeView?: ((this: { - name: string, - options: Options, - storage: Storage, - editor: Editor, - type: NodeType, - parent: ParentConfig>['addNodeView'], - }) => NodeViewRenderer) | null, + addNodeView?: + | ((this: { + name: string + options: Options + storage: Storage + editor: Editor + type: NodeType + parent: ParentConfig>['addNodeView'] + }) => NodeViewRenderer) + | null /** * TopNode */ - topNode?: boolean, + topNode?: boolean /** * Content */ - content?: NodeSpec['content'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['content'], - }) => NodeSpec['content']), + content?: + | NodeSpec['content'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['content'] + }) => NodeSpec['content']) /** * Marks */ - marks?: NodeSpec['marks'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['marks'], - }) => NodeSpec['marks']), + marks?: + | NodeSpec['marks'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['marks'] + }) => NodeSpec['marks']) /** * Group */ - group?: NodeSpec['group'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['group'], - }) => NodeSpec['group']), + group?: + | NodeSpec['group'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['group'] + }) => NodeSpec['group']) /** * Inline */ - inline?: NodeSpec['inline'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['inline'], - }) => NodeSpec['inline']), + inline?: + | NodeSpec['inline'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['inline'] + }) => NodeSpec['inline']) /** * Atom */ - atom?: NodeSpec['atom'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['atom'], - }) => NodeSpec['atom']), + atom?: + | NodeSpec['atom'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['atom'] + }) => NodeSpec['atom']) /** * Selectable */ - selectable?: NodeSpec['selectable'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['selectable'], - }) => NodeSpec['selectable']), + selectable?: + | NodeSpec['selectable'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['selectable'] + }) => NodeSpec['selectable']) /** * Draggable */ - draggable?: NodeSpec['draggable'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['draggable'], - }) => NodeSpec['draggable']), + draggable?: + | NodeSpec['draggable'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['draggable'] + }) => NodeSpec['draggable']) /** * Code */ - code?: NodeSpec['code'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['code'], - }) => NodeSpec['code']), + code?: + | NodeSpec['code'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['code'] + }) => NodeSpec['code']) /** * Whitespace */ - whitespace?: NodeSpec['whitespace'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['whitespace'], - }) => NodeSpec['whitespace']), + whitespace?: + | NodeSpec['whitespace'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['whitespace'] + }) => NodeSpec['whitespace']) /** * Defining */ - defining?: NodeSpec['defining'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['defining'], - }) => NodeSpec['defining']), + defining?: + | NodeSpec['defining'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['defining'] + }) => NodeSpec['defining']) /** * Isolating */ - isolating?: NodeSpec['isolating'] | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['isolating'], - }) => NodeSpec['isolating']), + isolating?: + | NodeSpec['isolating'] + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['isolating'] + }) => NodeSpec['isolating']) /** * Parse HTML */ - parseHTML?: ( - this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['parseHTML'], - }, - ) => NodeSpec['parseDOM'], + parseHTML?: (this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['parseHTML'] + }) => NodeSpec['parseDOM'] /** * Render HTML */ - renderHTML?: (( - this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['renderHTML'], - }, - props: { - node: ProseMirrorNode, - HTMLAttributes: Record, - } - ) => DOMOutputSpec) | null, + renderHTML?: + | (( + this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['renderHTML'] + }, + props: { + node: ProseMirrorNode + HTMLAttributes: Record + }, + ) => DOMOutputSpec) + | null /** * Render Text */ - renderText?: (( - this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['renderText'], - }, - props: { - node: ProseMirrorNode, - pos: number, - parent: ProseMirrorNode, - index: number, - } - ) => string) | null, + renderText?: + | (( + this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['renderText'] + }, + props: { + node: ProseMirrorNode + pos: number + parent: ProseMirrorNode + index: number + }, + ) => string) + | null /** * Add Attributes */ - addAttributes?: ( - this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['addAttributes'], - }, - ) => Attributes | {}, + addAttributes?: (this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['addAttributes'] + }) => Attributes | {} } } @@ -493,30 +534,28 @@ export class Node { this.name = this.config.name if (config.defaultOptions) { - console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`) + console.warn( + `[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`, + ) } // TODO: remove `addOptions` fallback this.options = this.config.defaultOptions if (this.config.addOptions) { - this.options = callOrReturn(getExtensionField( - this, - 'addOptions', - { + this.options = callOrReturn( + getExtensionField(this, 'addOptions', { name: this.name, - }, - )) + }), + ) } - this.storage = callOrReturn(getExtensionField( - this, - 'addStorage', - { + this.storage = callOrReturn( + getExtensionField(this, 'addStorage', { name: this.name, options: this.options, - }, - )) || {} + }), + ) || {} } static create(config: Partial> = {}) { @@ -528,51 +567,47 @@ export class Node { // with different calls of `configure` const extension = this.extend() - extension.options = mergeDeep(this.options, options) as Options + extension.options = mergeDeep(this.options as Record, options) as Options - extension.storage = callOrReturn(getExtensionField( - extension, - 'addStorage', - { + extension.storage = callOrReturn( + getExtensionField(extension, 'addStorage', { name: extension.name, options: extension.options, - }, - )) + }), + ) return extension } - extend(extendedConfig: Partial> = {}) { + extend( + extendedConfig: Partial> = {}, + ) { const extension = new Node(extendedConfig) extension.parent = this this.child = extension - extension.name = extendedConfig.name - ? extendedConfig.name - : extension.parent.name + extension.name = extendedConfig.name ? extendedConfig.name : extension.parent.name if (extendedConfig.defaultOptions) { - console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${extension.name}".`) + console.warn( + `[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${extension.name}".`, + ) } - extension.options = callOrReturn(getExtensionField( - extension, - 'addOptions', - { + extension.options = callOrReturn( + getExtensionField(extension, 'addOptions', { name: extension.name, - }, - )) + }), + ) - extension.storage = callOrReturn(getExtensionField( - extension, - 'addStorage', - { + extension.storage = callOrReturn( + getExtensionField(extension, 'addStorage', { name: extension.name, options: extension.options, - }, - )) + }), + ) return extension } diff --git a/packages/core/src/NodeView.ts b/packages/core/src/NodeView.ts index 3ad241fb1..393e7225c 100644 --- a/packages/core/src/NodeView.ts +++ b/packages/core/src/NodeView.ts @@ -1,6 +1,6 @@ -import { Node as ProseMirrorNode } from 'prosemirror-model' -import { NodeSelection } from 'prosemirror-state' -import { Decoration, NodeView as ProseMirrorNodeView } from 'prosemirror-view' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' +import { NodeSelection } from '@tiptap/pm/state' +import { Decoration, NodeView as ProseMirrorNodeView } from '@tiptap/pm/view' import { Editor as CoreEditor } from './Editor' import { Node } from './Node' @@ -9,13 +9,12 @@ import { isiOS } from './utilities/isiOS' export class NodeView< Component, - Editor extends CoreEditor = CoreEditor, + NodeEditor extends CoreEditor = CoreEditor, Options extends NodeViewRendererOptions = NodeViewRendererOptions, > implements ProseMirrorNodeView { - component: Component - editor: Editor + editor: NodeEditor options: Options @@ -31,7 +30,7 @@ export class NodeView< constructor(component: Component, props: NodeViewRendererProps, options?: Partial) { this.component = component - this.editor = props.editor as Editor + this.editor = props.editor as NodeEditor this.options = { stopEvent: null, ignoreMutation: null, @@ -59,7 +58,7 @@ export class NodeView< onDragStart(event: DragEvent) { const { view } = this.editor - const target = (event.target as HTMLElement) + const target = event.target as HTMLElement // get the drag handle element // `closest` is not available for text nodes so we may have to use its parent @@ -67,11 +66,7 @@ export class NodeView< ? target.parentElement?.closest('[data-drag-handle]') : target.closest('[data-drag-handle]') - if ( - !this.dom - || this.contentDOM?.contains(target) - || !dragHandle - ) { + if (!this.dom || this.contentDOM?.contains(target) || !dragHandle) { return } @@ -110,7 +105,7 @@ export class NodeView< return this.options.stopEvent({ event }) } - const target = (event.target as HTMLElement) + const target = event.target as HTMLElement const isInElement = this.dom.contains(target) && !this.contentDOM?.contains(target) // any event from child nodes should be handled by ProseMirror @@ -118,12 +113,12 @@ export class NodeView< return false } + const isDragEvent = event.type.startsWith('drag') const isDropEvent = event.type === 'drop' - const isInput = ['INPUT', 'BUTTON', 'SELECT', 'TEXTAREA'].includes(target.tagName) - || target.isContentEditable + const isInput = ['INPUT', 'BUTTON', 'SELECT', 'TEXTAREA'].includes(target.tagName) || target.isContentEditable // any input event within node views should be ignored by ProseMirror - if (isInput && !isDropEvent) { + if (isInput && !isDropEvent && !isDragEvent) { return true } @@ -135,7 +130,6 @@ export class NodeView< const isPasteEvent = event.type === 'paste' const isCutEvent = event.type === 'cut' const isClickEvent = event.type === 'mousedown' - const isDragEvent = event.type.startsWith('drag') // ProseMirror tries to drag selectable nodes // even if `draggable` is set to `false` @@ -152,19 +146,34 @@ export class NodeView< // we have to store that dragging started if (isDraggable && isEditable && !isDragging && isClickEvent) { const dragHandle = target.closest('[data-drag-handle]') - const isValidDragHandle = dragHandle - && (this.dom === dragHandle || (this.dom.contains(dragHandle))) + const isValidDragHandle = dragHandle && (this.dom === dragHandle || this.dom.contains(dragHandle)) if (isValidDragHandle) { this.isDragging = true - document.addEventListener('dragend', () => { - this.isDragging = false - }, { once: true }) - - document.addEventListener('mouseup', () => { - this.isDragging = false - }, { once: true }) + document.addEventListener( + 'dragend', + () => { + this.isDragging = false + }, + { once: true }, + ) + + document.addEventListener( + 'drop', + () => { + this.isDragging = false + }, + { once: true }, + ) + + document.addEventListener( + 'mouseup', + () => { + this.isDragging = false + }, + { once: true }, + ) } } @@ -183,7 +192,7 @@ export class NodeView< return true } - ignoreMutation(mutation: MutationRecord | { type: 'selection', target: Element }) { + ignoreMutation(mutation: MutationRecord | { type: 'selection'; target: Element }) { if (!this.dom || !this.contentDOM) { return true } diff --git a/packages/core/src/PasteRule.ts b/packages/core/src/PasteRule.ts index 1002f59c2..287845ed6 100644 --- a/packages/core/src/PasteRule.ts +++ b/packages/core/src/PasteRule.ts @@ -1,4 +1,4 @@ -import { EditorState, Plugin } from 'prosemirror-state' +import { EditorState, Plugin } from '@tiptap/pm/state' import { CommandManager } from './CommandManager' import { Editor } from './Editor' @@ -14,46 +14,47 @@ import { isNumber } from './utilities/isNumber' import { isRegExp } from './utilities/isRegExp' export type PasteRuleMatch = { - index: number, - text: string, - replaceWith?: string, - match?: RegExpMatchArray, - data?: Record, + index: number + text: string + replaceWith?: string + match?: RegExpMatchArray + data?: Record } -export type PasteRuleFinder = - | RegExp - | ((text: string) => PasteRuleMatch[] | null | undefined) +export type PasteRuleFinder = RegExp | ((text: string) => PasteRuleMatch[] | null | undefined) export class PasteRule { find: PasteRuleFinder handler: (props: { - state: EditorState, - range: Range, - match: ExtendedRegExpMatchArray, - commands: SingleCommands, - chain: () => ChainedCommands, - can: () => CanCommands, + state: EditorState + range: Range + match: ExtendedRegExpMatchArray + commands: SingleCommands + chain: () => ChainedCommands + can: () => CanCommands }) => void | null constructor(config: { - find: PasteRuleFinder, + find: PasteRuleFinder handler: (props: { - state: EditorState, - range: Range, - match: ExtendedRegExpMatchArray, - commands: SingleCommands, - chain: () => ChainedCommands, - can: () => CanCommands, - }) => void | null, + state: EditorState + range: Range + match: ExtendedRegExpMatchArray + commands: SingleCommands + chain: () => ChainedCommands + can: () => CanCommands + }) => void | null }) { this.find = config.find this.handler = config.handler } } -const pasteRuleMatcherHandler = (text: string, find: PasteRuleFinder): ExtendedRegExpMatchArray[] => { +const pasteRuleMatcherHandler = ( + text: string, + find: PasteRuleFinder, +): ExtendedRegExpMatchArray[] => { if (isRegExp(find)) { return [...text.matchAll(find)] } @@ -65,16 +66,17 @@ const pasteRuleMatcherHandler = (text: string, find: PasteRuleFinder): ExtendedR } return matches.map(pasteRuleMatch => { - const result: ExtendedRegExpMatchArray = [] + const result: ExtendedRegExpMatchArray = [pasteRuleMatch.text] - result.push(pasteRuleMatch.text) result.index = pasteRuleMatch.index result.input = text result.data = pasteRuleMatch.data if (pasteRuleMatch.replaceWith) { if (!pasteRuleMatch.text.includes(pasteRuleMatch.replaceWith)) { - console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".') + console.warn( + '[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".', + ) } result.push(pasteRuleMatch.replaceWith) @@ -85,18 +87,14 @@ const pasteRuleMatcherHandler = (text: string, find: PasteRuleFinder): ExtendedR } function run(config: { - editor: Editor, - state: EditorState, - from: number, - to: number, - rule: PasteRule, + editor: Editor + state: EditorState + from: number + to: number + rule: PasteRule }): boolean { const { - editor, - state, - from, - to, - rule, + editor, state, from, to, rule, } = config const { commands, chain, can } = new CommandManager({ @@ -113,12 +111,7 @@ function run(config: { const resolvedFrom = Math.max(from, pos) const resolvedTo = Math.min(to, pos + node.content.size) - const textToMatch = node.textBetween( - resolvedFrom - pos, - resolvedTo - pos, - undefined, - '\ufffc', - ) + const textToMatch = node.textBetween(resolvedFrom - pos, resolvedTo - pos, undefined, '\ufffc') const matches = pasteRuleMatcherHandler(textToMatch, rule.find) @@ -157,7 +150,7 @@ function run(config: { * text that matches any of the given rules to trigger the rule’s * action. */ -export function pasteRulesPlugin(props: { editor: Editor, rules: PasteRule[] }): Plugin[] { +export function pasteRulesPlugin(props: { editor: Editor; rules: PasteRule[] }): Plugin[] { const { editor, rules } = props let dragSourceElement: Element | null = null let isPastedFromProseMirror = false diff --git a/packages/core/src/Tracker.ts b/packages/core/src/Tracker.ts index e24ebd086..7868d8feb 100644 --- a/packages/core/src/Tracker.ts +++ b/packages/core/src/Tracker.ts @@ -1,12 +1,11 @@ -import { Transaction } from 'prosemirror-state' +import { Transaction } from '@tiptap/pm/state' export interface TrackerResult { - position: number, - deleted: boolean, + position: number + deleted: boolean } export class Tracker { - transaction: Transaction currentStep: number @@ -22,9 +21,7 @@ export class Tracker { const mappedPosition = this.transaction.steps .slice(this.currentStep) .reduce((newPosition, step) => { - const mapResult = step - .getMap() - .mapResult(newPosition) + const mapResult = step.getMap().mapResult(newPosition) if (mapResult.deleted) { deleted = true @@ -38,5 +35,4 @@ export class Tracker { deleted, } } - } diff --git a/packages/core/src/commands/clearNodes.ts b/packages/core/src/commands/clearNodes.ts index b9d891a17..e4173a811 100644 --- a/packages/core/src/commands/clearNodes.ts +++ b/packages/core/src/commands/clearNodes.ts @@ -1,4 +1,4 @@ -import { liftTarget } from 'prosemirror-transform' +import { liftTarget } from '@tiptap/pm/transform' import { RawCommands } from '../types' diff --git a/packages/core/src/commands/createParagraphNear.ts b/packages/core/src/commands/createParagraphNear.ts index 5da87c4c8..8ad4fbac3 100644 --- a/packages/core/src/commands/createParagraphNear.ts +++ b/packages/core/src/commands/createParagraphNear.ts @@ -1,4 +1,4 @@ -import { createParagraphNear as originalCreateParagraphNear } from 'prosemirror-commands' +import { createParagraphNear as originalCreateParagraphNear } from '@tiptap/pm/commands' import { RawCommands } from '../types' @@ -8,7 +8,7 @@ declare module '@tiptap/core' { /** * Create a paragraph nearby. */ - createParagraphNear: () => ReturnType, + createParagraphNear: () => ReturnType } } } diff --git a/packages/core/src/commands/deleteNode.ts b/packages/core/src/commands/deleteNode.ts index 8c7e2c24d..75ca079a1 100644 --- a/packages/core/src/commands/deleteNode.ts +++ b/packages/core/src/commands/deleteNode.ts @@ -1,4 +1,4 @@ -import { NodeType } from 'prosemirror-model' +import { NodeType } from '@tiptap/pm/model' import { getNodeType } from '../helpers/getNodeType' import { RawCommands } from '../types' diff --git a/packages/core/src/commands/deleteSelection.ts b/packages/core/src/commands/deleteSelection.ts index 787b89b71..8e8d5be69 100644 --- a/packages/core/src/commands/deleteSelection.ts +++ b/packages/core/src/commands/deleteSelection.ts @@ -1,4 +1,4 @@ -import { deleteSelection as originalDeleteSelection } from 'prosemirror-commands' +import { deleteSelection as originalDeleteSelection } from '@tiptap/pm/commands' import { RawCommands } from '../types' @@ -8,7 +8,7 @@ declare module '@tiptap/core' { /** * Delete the selection, if there is one. */ - deleteSelection: () => ReturnType, + deleteSelection: () => ReturnType } } } diff --git a/packages/core/src/commands/exitCode.ts b/packages/core/src/commands/exitCode.ts index f23233d97..7940a82d4 100644 --- a/packages/core/src/commands/exitCode.ts +++ b/packages/core/src/commands/exitCode.ts @@ -1,4 +1,4 @@ -import { exitCode as originalExitCode } from 'prosemirror-commands' +import { exitCode as originalExitCode } from '@tiptap/pm/commands' import { RawCommands } from '../types' @@ -8,7 +8,7 @@ declare module '@tiptap/core' { /** * Exit from a code block. */ - exitCode: () => ReturnType, + exitCode: () => ReturnType } } } diff --git a/packages/core/src/commands/extendMarkRange.ts b/packages/core/src/commands/extendMarkRange.ts index 8ecf4a1b1..a67badb68 100644 --- a/packages/core/src/commands/extendMarkRange.ts +++ b/packages/core/src/commands/extendMarkRange.ts @@ -1,5 +1,5 @@ -import { MarkType } from 'prosemirror-model' -import { TextSelection } from 'prosemirror-state' +import { MarkType } from '@tiptap/pm/model' +import { TextSelection } from '@tiptap/pm/state' import { getMarkRange } from '../helpers/getMarkRange' import { getMarkType } from '../helpers/getMarkType' @@ -11,7 +11,10 @@ declare module '@tiptap/core' { /** * Extends the text selection to the current mark. */ - extendMarkRange: (typeOrName: string | MarkType, attributes?: Record) => ReturnType, + extendMarkRange: ( + typeOrName: string | MarkType, + attributes?: Record, + ) => ReturnType } } } diff --git a/packages/core/src/commands/insertContent.ts b/packages/core/src/commands/insertContent.ts index 8e3817cf7..fe158410d 100644 --- a/packages/core/src/commands/insertContent.ts +++ b/packages/core/src/commands/insertContent.ts @@ -1,4 +1,4 @@ -import { ParseOptions } from 'prosemirror-model' +import { ParseOptions } from '@tiptap/pm/model' import { Content, RawCommands } from '../types' @@ -11,14 +11,18 @@ declare module '@tiptap/core' { insertContent: ( value: Content, options?: { - parseOptions?: ParseOptions, - updateSelection?: boolean, + parseOptions?: ParseOptions + updateSelection?: boolean }, - ) => ReturnType, + ) => ReturnType } } } export const insertContent: RawCommands['insertContent'] = (value, options) => ({ tr, commands }) => { - return commands.insertContentAt({ from: tr.selection.from, to: tr.selection.to }, value, options) + return commands.insertContentAt( + { from: tr.selection.from, to: tr.selection.to }, + value, + options, + ) } diff --git a/packages/core/src/commands/insertContentAt.ts b/packages/core/src/commands/insertContentAt.ts index 75bfe9f71..63a188991 100644 --- a/packages/core/src/commands/insertContentAt.ts +++ b/packages/core/src/commands/insertContentAt.ts @@ -1,12 +1,8 @@ -import { Fragment, Node as ProseMirrorNode, ParseOptions } from 'prosemirror-model' +import { Fragment, Node as ProseMirrorNode, ParseOptions } from '@tiptap/pm/model' import { createNodeFromContent } from '../helpers/createNodeFromContent' import { selectionToInsertionEnd } from '../helpers/selectionToInsertionEnd' -import { - Content, - Range, - RawCommands, -} from '../types' +import { Content, Range, RawCommands } from '../types' declare module '@tiptap/core' { interface Commands { @@ -18,10 +14,10 @@ declare module '@tiptap/core' { position: number | Range, value: Content, options?: { - parseOptions?: ParseOptions, - updateSelection?: boolean, + parseOptions?: ParseOptions + updateSelection?: boolean }, - ) => ReturnType, + ) => ReturnType } } } @@ -50,27 +46,19 @@ export const insertContentAt: RawCommands['insertContentAt'] = (position, value, return true } - let { from, to } = typeof position === 'number' - ? { from: position, to: position } - : position + let { from, to } = typeof position === 'number' ? { from: position, to: position } : position let isOnlyTextContent = true let isOnlyBlockContent = true - const nodes = isFragment(content) - ? content - : [content] + const nodes = isFragment(content) ? content : [content] nodes.forEach(node => { // check if added node is valid node.check() - isOnlyTextContent = isOnlyTextContent - ? node.isText && node.marks.length === 0 - : false + isOnlyTextContent = isOnlyTextContent ? node.isText && node.marks.length === 0 : false - isOnlyBlockContent = isOnlyBlockContent - ? node.isBlock - : false + isOnlyBlockContent = isOnlyBlockContent ? node.isBlock : false }) // check if we can replace the wrapping node by @@ -80,9 +68,7 @@ export const insertContentAt: RawCommands['insertContentAt'] = (position, value, // instead of inserting the image below the paragraph if (from === to && isOnlyBlockContent) { const { parent } = tr.doc.resolve(from) - const isEmptyTextBlock = parent.isTextblock - && !parent.type.spec.code - && !parent.childCount + const isEmptyTextBlock = parent.isTextblock && !parent.type.spec.code && !parent.childCount if (isEmptyTextBlock) { from -= 1 diff --git a/packages/core/src/commands/join.ts b/packages/core/src/commands/join.ts index a872aeb21..4167aef02 100644 --- a/packages/core/src/commands/join.ts +++ b/packages/core/src/commands/join.ts @@ -1,6 +1,9 @@ import { - joinBackward as originalJoinBackward, joinDown as originalJoinDown, joinForward as originalJoinForward, joinUp as originalJoinUp, -} from 'prosemirror-commands' + joinBackward as originalJoinBackward, + joinDown as originalJoinDown, + joinForward as originalJoinForward, + joinUp as originalJoinUp, +} from '@tiptap/pm/commands' import { RawCommands } from '../types' @@ -10,25 +13,25 @@ declare module '@tiptap/core' { /** * Join two nodes Up. */ - joinUp: () => ReturnType, + joinUp: () => ReturnType } joinDown: { /** * Join two nodes Down. */ - joinDown: () => ReturnType, + joinDown: () => ReturnType } joinBackward: { /** * Join two nodes Backwards. */ - joinBackward: () => ReturnType, + joinBackward: () => ReturnType } joinForward: { /** * Join two nodes Forwards. */ - joinForward: () => ReturnType, + joinForward: () => ReturnType } } } diff --git a/packages/core/src/commands/lift.ts b/packages/core/src/commands/lift.ts index c4190ebb7..783c23e54 100644 --- a/packages/core/src/commands/lift.ts +++ b/packages/core/src/commands/lift.ts @@ -1,5 +1,5 @@ -import { lift as originalLift } from 'prosemirror-commands' -import { NodeType } from 'prosemirror-model' +import { lift as originalLift } from '@tiptap/pm/commands' +import { NodeType } from '@tiptap/pm/model' import { getNodeType } from '../helpers/getNodeType' import { isNodeActive } from '../helpers/isNodeActive' @@ -11,7 +11,7 @@ declare module '@tiptap/core' { /** * Removes an existing wrap. */ - lift: (typeOrName: string | NodeType, attributes?: Record) => ReturnType, + lift: (typeOrName: string | NodeType, attributes?: Record) => ReturnType } } } diff --git a/packages/core/src/commands/liftEmptyBlock.ts b/packages/core/src/commands/liftEmptyBlock.ts index fdc8b93ea..f32d95b6f 100644 --- a/packages/core/src/commands/liftEmptyBlock.ts +++ b/packages/core/src/commands/liftEmptyBlock.ts @@ -1,4 +1,4 @@ -import { liftEmptyBlock as originalLiftEmptyBlock } from 'prosemirror-commands' +import { liftEmptyBlock as originalLiftEmptyBlock } from '@tiptap/pm/commands' import { RawCommands } from '../types' diff --git a/packages/core/src/commands/liftListItem.ts b/packages/core/src/commands/liftListItem.ts index 0c1896c27..2cdb06dca 100644 --- a/packages/core/src/commands/liftListItem.ts +++ b/packages/core/src/commands/liftListItem.ts @@ -1,5 +1,5 @@ -import { NodeType } from 'prosemirror-model' -import { liftListItem as originalLiftListItem } from 'prosemirror-schema-list' +import { NodeType } from '@tiptap/pm/model' +import { liftListItem as originalLiftListItem } from '@tiptap/pm/schema-list' import { getNodeType } from '../helpers/getNodeType' import { RawCommands } from '../types' @@ -10,7 +10,7 @@ declare module '@tiptap/core' { /** * Lift the list item into a wrapping list. */ - liftListItem: (typeOrName: string | NodeType) => ReturnType, + liftListItem: (typeOrName: string | NodeType) => ReturnType } } } diff --git a/packages/core/src/commands/newlineInCode.ts b/packages/core/src/commands/newlineInCode.ts index 7fd37fa6a..5dedcf435 100644 --- a/packages/core/src/commands/newlineInCode.ts +++ b/packages/core/src/commands/newlineInCode.ts @@ -1,4 +1,4 @@ -import { newlineInCode as originalNewlineInCode } from 'prosemirror-commands' +import { newlineInCode as originalNewlineInCode } from '@tiptap/pm/commands' import { RawCommands } from '../types' @@ -8,7 +8,7 @@ declare module '@tiptap/core' { /** * Add a newline character in code. */ - newlineInCode: () => ReturnType, + newlineInCode: () => ReturnType } } } diff --git a/packages/core/src/commands/resetAttributes.ts b/packages/core/src/commands/resetAttributes.ts index 5ce359e9e..69460f8b2 100644 --- a/packages/core/src/commands/resetAttributes.ts +++ b/packages/core/src/commands/resetAttributes.ts @@ -1,4 +1,4 @@ -import { MarkType, NodeType } from 'prosemirror-model' +import { MarkType, NodeType } from '@tiptap/pm/model' import { getMarkType } from '../helpers/getMarkType' import { getNodeType } from '../helpers/getNodeType' @@ -12,7 +12,10 @@ declare module '@tiptap/core' { /** * Resets some node attributes to the default value. */ - resetAttributes: (typeOrName: string | NodeType | MarkType, attributes: string | string[]) => ReturnType, + resetAttributes: ( + typeOrName: string | NodeType | MarkType, + attributes: string | string[], + ) => ReturnType } } } @@ -22,9 +25,7 @@ export const resetAttributes: RawCommands['resetAttributes'] = (typeOrName, attr let markType: MarkType | null = null const schemaType = getSchemaTypeNameByName( - typeof typeOrName === 'string' - ? typeOrName - : typeOrName.name, + typeof typeOrName === 'string' ? typeOrName : typeOrName.name, state.schema, ) @@ -50,7 +51,11 @@ export const resetAttributes: RawCommands['resetAttributes'] = (typeOrName, attr if (markType && node.marks.length) { node.marks.forEach(mark => { if (markType === mark.type) { - tr.addMark(pos, pos + node.nodeSize, markType.create(deleteProps(mark.attrs, attributes))) + tr.addMark( + pos, + pos + node.nodeSize, + markType.create(deleteProps(mark.attrs, attributes)), + ) } }) } diff --git a/packages/core/src/commands/selectNodeBackward.ts b/packages/core/src/commands/selectNodeBackward.ts index c61bbf84c..e2331c329 100644 --- a/packages/core/src/commands/selectNodeBackward.ts +++ b/packages/core/src/commands/selectNodeBackward.ts @@ -1,4 +1,4 @@ -import { selectNodeBackward as originalSelectNodeBackward } from 'prosemirror-commands' +import { selectNodeBackward as originalSelectNodeBackward } from '@tiptap/pm/commands' import { RawCommands } from '../types' @@ -8,7 +8,7 @@ declare module '@tiptap/core' { /** * Select a node backward. */ - selectNodeBackward: () => ReturnType, + selectNodeBackward: () => ReturnType } } } diff --git a/packages/core/src/commands/selectNodeForward.ts b/packages/core/src/commands/selectNodeForward.ts index 5409aac46..4b0daa8de 100644 --- a/packages/core/src/commands/selectNodeForward.ts +++ b/packages/core/src/commands/selectNodeForward.ts @@ -1,4 +1,4 @@ -import { selectNodeForward as originalSelectNodeForward } from 'prosemirror-commands' +import { selectNodeForward as originalSelectNodeForward } from '@tiptap/pm/commands' import { RawCommands } from '../types' @@ -8,7 +8,7 @@ declare module '@tiptap/core' { /** * Select a node forward. */ - selectNodeForward: () => ReturnType, + selectNodeForward: () => ReturnType } } } diff --git a/packages/core/src/commands/selectParentNode.ts b/packages/core/src/commands/selectParentNode.ts index 9bcf018c1..ea64ab92c 100644 --- a/packages/core/src/commands/selectParentNode.ts +++ b/packages/core/src/commands/selectParentNode.ts @@ -1,4 +1,4 @@ -import { selectParentNode as originalSelectParentNode } from 'prosemirror-commands' +import { selectParentNode as originalSelectParentNode } from '@tiptap/pm/commands' import { RawCommands } from '../types' @@ -8,7 +8,7 @@ declare module '@tiptap/core' { /** * Select the parent node. */ - selectParentNode: () => ReturnType, + selectParentNode: () => ReturnType } } } diff --git a/packages/core/src/commands/selectTextblockEnd.ts b/packages/core/src/commands/selectTextblockEnd.ts index 065ed7037..96b384cd9 100644 --- a/packages/core/src/commands/selectTextblockEnd.ts +++ b/packages/core/src/commands/selectTextblockEnd.ts @@ -1,6 +1,6 @@ // @ts-ignore // TODO: add types to @types/prosemirror-commands -import { selectTextblockEnd as originalSelectTextblockEnd } from 'prosemirror-commands' +import { selectTextblockEnd as originalSelectTextblockEnd } from '@tiptap/pm/commands' import { RawCommands } from '../types' @@ -10,7 +10,7 @@ declare module '@tiptap/core' { /** * Moves the cursor to the end of current text block. */ - selectTextblockEnd: () => ReturnType, + selectTextblockEnd: () => ReturnType } } } diff --git a/packages/core/src/commands/selectTextblockStart.ts b/packages/core/src/commands/selectTextblockStart.ts index 919cd676e..59d684d09 100644 --- a/packages/core/src/commands/selectTextblockStart.ts +++ b/packages/core/src/commands/selectTextblockStart.ts @@ -1,6 +1,6 @@ // @ts-ignore // TODO: add types to @types/prosemirror-commands -import { selectTextblockStart as originalSelectTextblockStart } from 'prosemirror-commands' +import { selectTextblockStart as originalSelectTextblockStart } from '@tiptap/pm/commands' import { RawCommands } from '../types' @@ -10,7 +10,7 @@ declare module '@tiptap/core' { /** * Moves the cursor to the start of current text block. */ - selectTextblockStart: () => ReturnType, + selectTextblockStart: () => ReturnType } } } diff --git a/packages/core/src/commands/setContent.ts b/packages/core/src/commands/setContent.ts index 2ee8bc8d9..bd1cc107c 100644 --- a/packages/core/src/commands/setContent.ts +++ b/packages/core/src/commands/setContent.ts @@ -1,4 +1,4 @@ -import { ParseOptions } from 'prosemirror-model' +import { ParseOptions } from '@tiptap/pm/model' import { createDocument } from '../helpers/createDocument' import { Content, RawCommands } from '../types' @@ -13,7 +13,7 @@ declare module '@tiptap/core' { content: Content, emitUpdate?: boolean, parseOptions?: ParseOptions, - ) => ReturnType, + ) => ReturnType } } } @@ -23,8 +23,7 @@ export const setContent: RawCommands['setContent'] = (content, emitUpdate = fals const document = createDocument(content, editor.schema, parseOptions) if (dispatch) { - tr.replaceWith(0, doc.content.size, document) - .setMeta('preventUpdate', !emitUpdate) + tr.replaceWith(0, doc.content.size, document).setMeta('preventUpdate', !emitUpdate) } return true diff --git a/packages/core/src/commands/setMark.ts b/packages/core/src/commands/setMark.ts index 79bdc4d34..59aa1ee8f 100644 --- a/packages/core/src/commands/setMark.ts +++ b/packages/core/src/commands/setMark.ts @@ -1,5 +1,5 @@ -import { MarkType, ResolvedPos } from 'prosemirror-model' -import { EditorState, Transaction } from 'prosemirror-state' +import { MarkType, ResolvedPos } from '@tiptap/pm/model' +import { EditorState, Transaction } from '@tiptap/pm/state' import { isTextSelection } from '../helpers' import { getMarkAttributes } from '../helpers/getMarkAttributes' @@ -12,7 +12,7 @@ declare module '@tiptap/core' { /** * Add a mark with new attributes. */ - setMark: (typeOrName: string | MarkType, attributes?: Record) => ReturnType, + setMark: (typeOrName: string | MarkType, attributes?: Record) => ReturnType } } } @@ -29,13 +29,18 @@ function canSetMark(state: EditorState, tr: Transaction, newMarkType: MarkType) const currentMarks = state.storedMarks ?? cursor.marks() // There can be no current marks that exclude the new mark - return !!newMarkType.isInSet(currentMarks) || !currentMarks.some(mark => mark.type.excludes(newMarkType)) + return ( + !!newMarkType.isInSet(currentMarks) + || !currentMarks.some(mark => mark.type.excludes(newMarkType)) + ) } const { ranges } = selection return ranges.some(({ $from, $to }) => { - let someNodeSupportsMark = $from.depth === 0 ? state.doc.inlineContent && state.doc.type.allowsMarkType(newMarkType) : false + let someNodeSupportsMark = $from.depth === 0 + ? state.doc.inlineContent && state.doc.type.allowsMarkType(newMarkType) + : false state.doc.nodesBetween($from.pos, $to.pos, (node, _pos, parent) => { // If we already found a mark that we can enable, return false to bypass the remaining search @@ -45,7 +50,8 @@ function canSetMark(state: EditorState, tr: Transaction, newMarkType: MarkType) if (node.isInline) { const parentAllowsMarkType = !parent || parent.type.allowsMarkType(newMarkType) - const currentMarksAllowMarkType = !!newMarkType.isInSet(node.marks) || !node.marks.some(otherMark => otherMark.type.excludes(newMarkType)) + const currentMarksAllowMarkType = !!newMarkType.isInSet(node.marks) + || !node.marks.some(otherMark => otherMark.type.excludes(newMarkType)) someNodeSupportsMark = parentAllowsMarkType && currentMarksAllowMarkType } @@ -54,7 +60,6 @@ function canSetMark(state: EditorState, tr: Transaction, newMarkType: MarkType) return someNodeSupportsMark }) - } export const setMark: RawCommands['setMark'] = (typeOrName, attributes = {}) => ({ tr, state, dispatch }) => { const { selection } = tr @@ -65,10 +70,12 @@ export const setMark: RawCommands['setMark'] = (typeOrName, attributes = {}) => if (empty) { const oldAttributes = getMarkAttributes(state, type) - tr.addStoredMark(type.create({ - ...oldAttributes, - ...attributes, - })) + tr.addStoredMark( + type.create({ + ...oldAttributes, + ...attributes, + }), + ) } else { ranges.forEach(range => { const from = range.$from.pos @@ -83,13 +90,16 @@ export const setMark: RawCommands['setMark'] = (typeOrName, attributes = {}) => // we know that we have to merge its attributes // otherwise we add a fresh new mark if (someHasMark) { - node.marks.forEach(mark => { if (type === mark.type) { - tr.addMark(trimmedFrom, trimmedTo, type.create({ - ...mark.attrs, - ...attributes, - })) + tr.addMark( + trimmedFrom, + trimmedTo, + type.create({ + ...mark.attrs, + ...attributes, + }), + ) } }) } else { diff --git a/packages/core/src/commands/setNode.ts b/packages/core/src/commands/setNode.ts index 2ed2b1bda..7cb3df2a8 100644 --- a/packages/core/src/commands/setNode.ts +++ b/packages/core/src/commands/setNode.ts @@ -1,5 +1,5 @@ -import { setBlockType } from 'prosemirror-commands' -import { NodeType } from 'prosemirror-model' +import { setBlockType } from '@tiptap/pm/commands' +import { NodeType } from '@tiptap/pm/model' import { getNodeType } from '../helpers/getNodeType' import { RawCommands } from '../types' @@ -10,7 +10,7 @@ declare module '@tiptap/core' { /** * Replace a given range with a node. */ - setNode: (typeOrName: string | NodeType, attributes?: Record) => ReturnType, + setNode: (typeOrName: string | NodeType, attributes?: Record) => ReturnType } } } @@ -25,19 +25,21 @@ export const setNode: RawCommands['setNode'] = (typeOrName, attributes = {}) => return false } - return chain() + return ( + chain() // try to convert node to default node if needed - .command(({ commands }) => { - const canSetBlock = setBlockType(type, attributes)(state) - - if (canSetBlock) { - return true - } - - return commands.clearNodes() - }) - .command(({ state: updatedState }) => { - return setBlockType(type, attributes)(updatedState, dispatch) - }) - .run() + .command(({ commands }) => { + const canSetBlock = setBlockType(type, attributes)(state) + + if (canSetBlock) { + return true + } + + return commands.clearNodes() + }) + .command(({ state: updatedState }) => { + return setBlockType(type, attributes)(updatedState, dispatch) + }) + .run() + ) } diff --git a/packages/core/src/commands/setNodeSelection.ts b/packages/core/src/commands/setNodeSelection.ts index bbcf0f1f2..63756395c 100644 --- a/packages/core/src/commands/setNodeSelection.ts +++ b/packages/core/src/commands/setNodeSelection.ts @@ -1,4 +1,4 @@ -import { NodeSelection } from 'prosemirror-state' +import { NodeSelection } from '@tiptap/pm/state' import { RawCommands } from '../types' import { minMax } from '../utilities/minMax' @@ -9,7 +9,7 @@ declare module '@tiptap/core' { /** * Creates a NodeSelection. */ - setNodeSelection: (position: number) => ReturnType, + setNodeSelection: (position: number) => ReturnType } } } diff --git a/packages/core/src/commands/setTextSelection.ts b/packages/core/src/commands/setTextSelection.ts index 7fe645e6f..77cb4c27f 100644 --- a/packages/core/src/commands/setTextSelection.ts +++ b/packages/core/src/commands/setTextSelection.ts @@ -1,4 +1,4 @@ -import { TextSelection } from 'prosemirror-state' +import { TextSelection } from '@tiptap/pm/state' import { Range, RawCommands } from '../types' import { minMax } from '../utilities/minMax' @@ -9,7 +9,7 @@ declare module '@tiptap/core' { /** * Creates a TextSelection. */ - setTextSelection: (position: number | Range) => ReturnType, + setTextSelection: (position: number | Range) => ReturnType } } } @@ -17,9 +17,7 @@ declare module '@tiptap/core' { export const setTextSelection: RawCommands['setTextSelection'] = position => ({ tr, dispatch }) => { if (dispatch) { const { doc } = tr - const { from, to } = typeof position === 'number' - ? { from: position, to: position } - : position + const { from, to } = typeof position === 'number' ? { from: position, to: position } : position const minPos = TextSelection.atStart(doc).from const maxPos = TextSelection.atEnd(doc).to const resolvedFrom = minMax(from, minPos, maxPos) diff --git a/packages/core/src/commands/sinkListItem.ts b/packages/core/src/commands/sinkListItem.ts index 85645cbfa..1df2e0825 100644 --- a/packages/core/src/commands/sinkListItem.ts +++ b/packages/core/src/commands/sinkListItem.ts @@ -1,5 +1,5 @@ -import { NodeType } from 'prosemirror-model' -import { sinkListItem as originalSinkListItem } from 'prosemirror-schema-list' +import { NodeType } from '@tiptap/pm/model' +import { sinkListItem as originalSinkListItem } from '@tiptap/pm/schema-list' import { getNodeType } from '../helpers/getNodeType' import { RawCommands } from '../types' @@ -10,7 +10,7 @@ declare module '@tiptap/core' { /** * Sink the list item down into an inner list. */ - sinkListItem: (typeOrName: string | NodeType) => ReturnType, + sinkListItem: (typeOrName: string | NodeType) => ReturnType } } } diff --git a/packages/core/src/commands/splitBlock.ts b/packages/core/src/commands/splitBlock.ts index 6127177de..d1fd53705 100644 --- a/packages/core/src/commands/splitBlock.ts +++ b/packages/core/src/commands/splitBlock.ts @@ -1,13 +1,12 @@ -import { EditorState, NodeSelection, TextSelection } from 'prosemirror-state' -import { canSplit } from 'prosemirror-transform' +import { EditorState, NodeSelection, TextSelection } from '@tiptap/pm/state' +import { canSplit } from '@tiptap/pm/transform' import { defaultBlockAt } from '../helpers/defaultBlockAt' import { getSplittedAttributes } from '../helpers/getSplittedAttributes' import { RawCommands } from '../types' function ensureMarks(state: EditorState, splittableMarks?: string[]) { - const marks = state.storedMarks - || (state.selection.$to.parentOffset && state.selection.$from.marks()) + const marks = state.storedMarks || (state.selection.$to.parentOffset && state.selection.$from.marks()) if (marks) { const filteredMarks = marks.filter(mark => splittableMarks?.includes(mark.type.name)) @@ -22,16 +21,13 @@ declare module '@tiptap/core' { /** * Forks a new node from an existing node. */ - splitBlock: (options?: { keepMarks?: boolean }) => ReturnType, + splitBlock: (options?: { keepMarks?: boolean }) => ReturnType } } } export const splitBlock: RawCommands['splitBlock'] = ({ keepMarks = true } = {}) => ({ - tr, - state, - dispatch, - editor, + tr, state, dispatch, editor, }) => { const { selection, doc } = tr const { $from, $to } = selection @@ -74,37 +70,36 @@ export const splitBlock: RawCommands['splitBlock'] = ({ keepMarks = true } = {}) : defaultBlockAt($from.node(-1).contentMatchAt($from.indexAfter(-1))) let types = atEnd && deflt - ? [{ - type: deflt, - attrs: newAttributes, - }] + ? [ + { + type: deflt, + attrs: newAttributes, + }, + ] : undefined let can = canSplit(tr.doc, tr.mapping.map($from.pos), 1, types) if ( !types - && !can - && canSplit(tr.doc, tr.mapping.map($from.pos), 1, deflt ? [{ type: deflt }] : undefined) + && !can + && canSplit(tr.doc, tr.mapping.map($from.pos), 1, deflt ? [{ type: deflt }] : undefined) ) { can = true types = deflt - ? [{ - type: deflt, - attrs: newAttributes, - }] + ? [ + { + type: deflt, + attrs: newAttributes, + }, + ] : undefined } if (can) { tr.split(tr.mapping.map($from.pos), 1, types) - if ( - deflt - && !atEnd - && !$from.parentOffset - && $from.parent.type !== deflt - ) { + if (deflt && !atEnd && !$from.parentOffset && $from.parent.type !== deflt) { const first = tr.mapping.map($from.before()) const $first = tr.doc.resolve(first) diff --git a/packages/core/src/commands/splitListItem.ts b/packages/core/src/commands/splitListItem.ts index 25ee31427..00148942c 100644 --- a/packages/core/src/commands/splitListItem.ts +++ b/packages/core/src/commands/splitListItem.ts @@ -1,11 +1,8 @@ import { - Fragment, - Node as ProseMirrorNode, - NodeType, - Slice, -} from 'prosemirror-model' -import { TextSelection } from 'prosemirror-state' -import { canSplit } from 'prosemirror-transform' + Fragment, Node as ProseMirrorNode, NodeType, Slice, +} from '@tiptap/pm/model' +import { TextSelection } from '@tiptap/pm/state' +import { canSplit } from '@tiptap/pm/transform' import { getNodeType } from '../helpers/getNodeType' import { getSplittedAttributes } from '../helpers/getSplittedAttributes' @@ -17,7 +14,7 @@ declare module '@tiptap/core' { /** * Splits one list item into two list items. */ - splitListItem: (typeOrName: string | NodeType) => ReturnType, + splitListItem: (typeOrName: string | NodeType) => ReturnType } } } @@ -30,7 +27,7 @@ export const splitListItem: RawCommands['splitListItem'] = typeOrName => ({ // @ts-ignore // eslint-disable-next-line - const node: ProseMirrorNode = state.selection.node + const node: ProseMirrorNode = state.selection.node if ((node && node.isBlock) || $from.depth < 2 || !$from.sameParent($to)) { return false @@ -50,8 +47,8 @@ export const splitListItem: RawCommands['splitListItem'] = typeOrName => ({ // command handle lifting. if ( $from.depth === 2 - || $from.node(-3).type !== type - || $from.index(-2) !== $from.node(-2).childCount - 1 + || $from.node(-3).type !== type + || $from.index(-2) !== $from.node(-2).childCount - 1 ) { return false } @@ -59,11 +56,7 @@ export const splitListItem: RawCommands['splitListItem'] = typeOrName => ({ if (dispatch) { let wrap = Fragment.empty // eslint-disable-next-line - const depthBefore = $from.index(-1) - ? 1 - : $from.index(-2) - ? 2 - : 3 + const depthBefore = $from.index(-1) ? 1 : $from.index(-2) ? 2 : 3 // Build a fragment containing empty versions of the structure // from the outer list item to the parent node of the cursor @@ -72,11 +65,7 @@ export const splitListItem: RawCommands['splitListItem'] = typeOrName => ({ } // eslint-disable-next-line - const depthAfter = $from.indexAfter(-1) < $from.node(-2).childCount - ? 1 - : $from.indexAfter(-2) < $from.node(-3).childCount - ? 2 - : 3 + const depthAfter = $from.indexAfter(-1) < $from.node(-2).childCount ? 1 : $from.indexAfter(-2) < $from.node(-3).childCount ? 2 : 3 // Add a second list item with an empty default start node const newNextTypeAttributes = getSplittedAttributes( @@ -114,9 +103,7 @@ export const splitListItem: RawCommands['splitListItem'] = typeOrName => ({ return true } - const nextType = $to.pos === $from.end() - ? grandParent.contentMatchAt(0).defaultType - : null + const nextType = $to.pos === $from.end() ? grandParent.contentMatchAt(0).defaultType : null const newTypeAttributes = getSplittedAttributes( extensionAttributes, @@ -132,7 +119,10 @@ export const splitListItem: RawCommands['splitListItem'] = typeOrName => ({ tr.delete($from.pos, $to.pos) const types = nextType - ? [{ type, attrs: newTypeAttributes }, { type: nextType, attrs: newNextTypeAttributes }] + ? [ + { type, attrs: newTypeAttributes }, + { type: nextType, attrs: newNextTypeAttributes }, + ] : [{ type, attrs: newTypeAttributes }] if (!canSplit(tr.doc, $from.pos, 2)) { diff --git a/packages/core/src/commands/toggleList.ts b/packages/core/src/commands/toggleList.ts index 27de705ee..23da85760 100644 --- a/packages/core/src/commands/toggleList.ts +++ b/packages/core/src/commands/toggleList.ts @@ -1,6 +1,6 @@ -import { NodeType } from 'prosemirror-model' -import { Transaction } from 'prosemirror-state' -import { canJoin } from 'prosemirror-transform' +import { NodeType } from '@tiptap/pm/model' +import { Transaction } from '@tiptap/pm/state' +import { canJoin } from '@tiptap/pm/transform' import { findParentNode } from '../helpers/findParentNode' import { getNodeType } from '../helpers/getNodeType' @@ -21,8 +21,7 @@ const joinListBackwards = (tr: Transaction, listType: NodeType): boolean => { } const nodeBefore = tr.doc.nodeAt(before) - const canJoinBackwards = list.node.type === nodeBefore?.type - && canJoin(tr.doc, list.pos) + const canJoinBackwards = list.node.type === nodeBefore?.type && canJoin(tr.doc, list.pos) if (!canJoinBackwards) { return true @@ -47,8 +46,7 @@ const joinListForwards = (tr: Transaction, listType: NodeType): boolean => { } const nodeAfter = tr.doc.nodeAt(after) - const canJoinForwards = list.node.type === nodeAfter?.type - && canJoin(tr.doc, after) + const canJoinForwards = list.node.type === nodeAfter?.type && canJoin(tr.doc, after) if (!canJoinForwards) { return true @@ -65,7 +63,10 @@ declare module '@tiptap/core' { /** * Toggle between different list types. */ - toggleList: (listTypeOrName: string | NodeType, itemTypeOrName: string | NodeType) => ReturnType, + toggleList: ( + listTypeOrName: string | NodeType, + itemTypeOrName: string | NodeType, + ) => ReturnType } } } @@ -95,8 +96,8 @@ export const toggleList: RawCommands['toggleList'] = (listTypeOrName, itemTypeOr // change list type if ( isList(parentList.node.type.name, extensions) - && listType.validContent(parentList.node.content) - && dispatch + && listType.validContent(parentList.node.content) + && dispatch ) { return chain() .command(() => { @@ -110,19 +111,21 @@ export const toggleList: RawCommands['toggleList'] = (listTypeOrName, itemTypeOr } } - return chain() + return ( + chain() // try to convert node to default node if needed - .command(() => { - const canWrapInList = can().wrapInList(listType) - - if (canWrapInList) { - return true - } - - return commands.clearNodes() - }) - .wrapInList(listType) - .command(() => joinListBackwards(tr, listType)) - .command(() => joinListForwards(tr, listType)) - .run() + .command(() => { + const canWrapInList = can().wrapInList(listType) + + if (canWrapInList) { + return true + } + + return commands.clearNodes() + }) + .wrapInList(listType) + .command(() => joinListBackwards(tr, listType)) + .command(() => joinListForwards(tr, listType)) + .run() + ) } diff --git a/packages/core/src/commands/toggleMark.ts b/packages/core/src/commands/toggleMark.ts index b57ef506a..745b4af0c 100644 --- a/packages/core/src/commands/toggleMark.ts +++ b/packages/core/src/commands/toggleMark.ts @@ -1,4 +1,4 @@ -import { MarkType } from 'prosemirror-model' +import { MarkType } from '@tiptap/pm/model' import { getMarkType } from '../helpers/getMarkType' import { isMarkActive } from '../helpers/isMarkActive' @@ -17,9 +17,9 @@ declare module '@tiptap/core' { /** * Removes the mark even across the current selection. Defaults to `false`. */ - extendEmptyMarkRange?: boolean, + extendEmptyMarkRange?: boolean }, - ) => ReturnType, + ) => ReturnType } } } diff --git a/packages/core/src/commands/toggleNode.ts b/packages/core/src/commands/toggleNode.ts index 79ad24c4b..796ea6919 100644 --- a/packages/core/src/commands/toggleNode.ts +++ b/packages/core/src/commands/toggleNode.ts @@ -1,4 +1,4 @@ -import { NodeType } from 'prosemirror-model' +import { NodeType } from '@tiptap/pm/model' import { getNodeType } from '../helpers/getNodeType' import { isNodeActive } from '../helpers/isNodeActive' @@ -10,7 +10,11 @@ declare module '@tiptap/core' { /** * Toggle a node with another node. */ - toggleNode: (typeOrName: string | NodeType, toggleTypeOrName: string | NodeType, attributes?: Record) => ReturnType, + toggleNode: ( + typeOrName: string | NodeType, + toggleTypeOrName: string | NodeType, + attributes?: Record, + ) => ReturnType } } } diff --git a/packages/core/src/commands/toggleWrap.ts b/packages/core/src/commands/toggleWrap.ts index 68715d620..9520800d6 100644 --- a/packages/core/src/commands/toggleWrap.ts +++ b/packages/core/src/commands/toggleWrap.ts @@ -1,4 +1,4 @@ -import { NodeType } from 'prosemirror-model' +import { NodeType } from '@tiptap/pm/model' import { getNodeType } from '../helpers/getNodeType' import { isNodeActive } from '../helpers/isNodeActive' @@ -10,7 +10,7 @@ declare module '@tiptap/core' { /** * Wraps nodes in another node, or removes an existing wrap. */ - toggleWrap: (typeOrName: string | NodeType, attributes?: Record) => ReturnType, + toggleWrap: (typeOrName: string | NodeType, attributes?: Record) => ReturnType } } } diff --git a/packages/core/src/commands/unsetMark.ts b/packages/core/src/commands/unsetMark.ts index c8356c25d..8f2e6b149 100644 --- a/packages/core/src/commands/unsetMark.ts +++ b/packages/core/src/commands/unsetMark.ts @@ -1,4 +1,4 @@ -import { MarkType } from 'prosemirror-model' +import { MarkType } from '@tiptap/pm/model' import { getMarkRange } from '../helpers/getMarkRange' import { getMarkType } from '../helpers/getMarkType' @@ -16,9 +16,9 @@ declare module '@tiptap/core' { /** * Removes the mark even across the current selection. Defaults to `false`. */ - extendEmptyMarkRange?: boolean, + extendEmptyMarkRange?: boolean }, - ) => ReturnType, + ) => ReturnType } } } diff --git a/packages/core/src/commands/updateAttributes.ts b/packages/core/src/commands/updateAttributes.ts index 8f9e5de7e..cc68e6e00 100644 --- a/packages/core/src/commands/updateAttributes.ts +++ b/packages/core/src/commands/updateAttributes.ts @@ -1,4 +1,4 @@ -import { MarkType, NodeType } from 'prosemirror-model' +import { MarkType, NodeType } from '@tiptap/pm/model' import { getMarkType } from '../helpers/getMarkType' import { getNodeType } from '../helpers/getNodeType' @@ -11,7 +11,10 @@ declare module '@tiptap/core' { /** * Update attributes of a node or mark. */ - updateAttributes: (typeOrName: string | NodeType | MarkType, attributes: Record) => ReturnType, + updateAttributes: ( + typeOrName: string | NodeType | MarkType, + attributes: Record, + ) => ReturnType } } } @@ -21,9 +24,7 @@ export const updateAttributes: RawCommands['updateAttributes'] = (typeOrName, at let markType: MarkType | null = null const schemaType = getSchemaTypeNameByName( - typeof typeOrName === 'string' - ? typeOrName - : typeOrName.name, + typeof typeOrName === 'string' ? typeOrName : typeOrName.name, state.schema, ) @@ -58,10 +59,14 @@ export const updateAttributes: RawCommands['updateAttributes'] = (typeOrName, at const trimmedFrom = Math.max(pos, from) const trimmedTo = Math.min(pos + node.nodeSize, to) - tr.addMark(trimmedFrom, trimmedTo, markType.create({ - ...mark.attrs, - ...attributes, - })) + tr.addMark( + trimmedFrom, + trimmedTo, + markType.create({ + ...mark.attrs, + ...attributes, + }), + ) } }) } diff --git a/packages/core/src/commands/wrapIn.ts b/packages/core/src/commands/wrapIn.ts index d14a2f1a3..81fb29674 100644 --- a/packages/core/src/commands/wrapIn.ts +++ b/packages/core/src/commands/wrapIn.ts @@ -1,5 +1,5 @@ -import { wrapIn as originalWrapIn } from 'prosemirror-commands' -import { NodeType } from 'prosemirror-model' +import { wrapIn as originalWrapIn } from '@tiptap/pm/commands' +import { NodeType } from '@tiptap/pm/model' import { getNodeType } from '../helpers/getNodeType' import { RawCommands } from '../types' @@ -10,7 +10,7 @@ declare module '@tiptap/core' { /** * Wraps nodes in another node. */ - wrapIn: (typeOrName: string | NodeType, attributes?: Record) => ReturnType, + wrapIn: (typeOrName: string | NodeType, attributes?: Record) => ReturnType } } } diff --git a/packages/core/src/commands/wrapInList.ts b/packages/core/src/commands/wrapInList.ts index b44c781b5..1f83d32e9 100644 --- a/packages/core/src/commands/wrapInList.ts +++ b/packages/core/src/commands/wrapInList.ts @@ -1,5 +1,5 @@ -import { NodeType } from 'prosemirror-model' -import { wrapInList as originalWrapInList } from 'prosemirror-schema-list' +import { NodeType } from '@tiptap/pm/model' +import { wrapInList as originalWrapInList } from '@tiptap/pm/schema-list' import { getNodeType } from '../helpers/getNodeType' import { RawCommands } from '../types' @@ -10,7 +10,7 @@ declare module '@tiptap/core' { /** * Wrap a node in a list. */ - wrapInList: (typeOrName: string | NodeType, attributes?: Record) => ReturnType, + wrapInList: (typeOrName: string | NodeType, attributes?: Record) => ReturnType } } } diff --git a/packages/core/src/extensions/clipboardTextSerializer.ts b/packages/core/src/extensions/clipboardTextSerializer.ts index 6ab63535e..99e908dca 100644 --- a/packages/core/src/extensions/clipboardTextSerializer.ts +++ b/packages/core/src/extensions/clipboardTextSerializer.ts @@ -1,4 +1,4 @@ -import { Plugin, PluginKey } from 'prosemirror-state' +import { Plugin, PluginKey } from '@tiptap/pm/state' import { Extension } from '../Extension' import { getTextBetween } from '../helpers/getTextBetween' diff --git a/packages/core/src/extensions/editable.ts b/packages/core/src/extensions/editable.ts index 826aa2517..d373b102c 100644 --- a/packages/core/src/extensions/editable.ts +++ b/packages/core/src/extensions/editable.ts @@ -1,4 +1,4 @@ -import { Plugin, PluginKey } from 'prosemirror-state' +import { Plugin, PluginKey } from '@tiptap/pm/state' import { Extension } from '../Extension' diff --git a/packages/core/src/extensions/focusEvents.ts b/packages/core/src/extensions/focusEvents.ts index 2b747d52f..851748da9 100644 --- a/packages/core/src/extensions/focusEvents.ts +++ b/packages/core/src/extensions/focusEvents.ts @@ -1,4 +1,4 @@ -import { Plugin, PluginKey } from 'prosemirror-state' +import { Plugin, PluginKey } from '@tiptap/pm/state' import { Extension } from '../Extension' diff --git a/packages/core/src/extensions/keymap.ts b/packages/core/src/extensions/keymap.ts index 5335b1d81..4b4a7a210 100644 --- a/packages/core/src/extensions/keymap.ts +++ b/packages/core/src/extensions/keymap.ts @@ -1,4 +1,4 @@ -import { Plugin, PluginKey, Selection } from 'prosemirror-state' +import { Plugin, PluginKey, Selection } from '@tiptap/pm/state' import { CommandManager } from '../CommandManager' import { Extension } from '../Extension' @@ -19,12 +19,7 @@ export const Keymap = Extension.create({ const { pos, parent } = $anchor const isAtStart = Selection.atStart(doc).from === pos - if ( - !empty - || !isAtStart - || !parent.type.isTextblock - || parent.textContent.length - ) { + if (!empty || !isAtStart || !parent.type.isTextblock || parent.textContent.length) { return false } diff --git a/packages/core/src/extensions/tabindex.ts b/packages/core/src/extensions/tabindex.ts index 47993f6ea..7f26262a7 100644 --- a/packages/core/src/extensions/tabindex.ts +++ b/packages/core/src/extensions/tabindex.ts @@ -1,4 +1,4 @@ -import { Plugin, PluginKey } from 'prosemirror-state' +import { Plugin, PluginKey } from '@tiptap/pm/state' import { Extension } from '../Extension' diff --git a/packages/core/src/helpers/combineTransactionSteps.ts b/packages/core/src/helpers/combineTransactionSteps.ts index 88020cfc7..0341afcf7 100644 --- a/packages/core/src/helpers/combineTransactionSteps.ts +++ b/packages/core/src/helpers/combineTransactionSteps.ts @@ -1,11 +1,14 @@ -import { Node as ProseMirrorNode } from 'prosemirror-model' -import { Transaction } from 'prosemirror-state' -import { Transform } from 'prosemirror-transform' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' +import { Transaction } from '@tiptap/pm/state' +import { Transform } from '@tiptap/pm/transform' /** * Returns a new `Transform` based on all steps of the passed transactions. */ -export function combineTransactionSteps(oldDoc: ProseMirrorNode, transactions: Transaction[]): Transform { +export function combineTransactionSteps( + oldDoc: ProseMirrorNode, + transactions: Transaction[], +): Transform { const transform = new Transform(oldDoc) transactions.forEach(transaction => { diff --git a/packages/core/src/helpers/createChainableState.ts b/packages/core/src/helpers/createChainableState.ts index 7911c075c..05a693536 100644 --- a/packages/core/src/helpers/createChainableState.ts +++ b/packages/core/src/helpers/createChainableState.ts @@ -1,8 +1,8 @@ -import { EditorState, Transaction } from 'prosemirror-state' +import { EditorState, Transaction } from '@tiptap/pm/state' export function createChainableState(config: { - transaction: Transaction, - state: EditorState, + transaction: Transaction + state: EditorState }): EditorState { const { state, transaction } = config let { selection } = transaction diff --git a/packages/core/src/helpers/createDocument.ts b/packages/core/src/helpers/createDocument.ts index e790b081c..066d1b109 100644 --- a/packages/core/src/helpers/createDocument.ts +++ b/packages/core/src/helpers/createDocument.ts @@ -1,4 +1,4 @@ -import { Node as ProseMirrorNode, ParseOptions, Schema } from 'prosemirror-model' +import { Node as ProseMirrorNode, ParseOptions, Schema } from '@tiptap/pm/model' import { Content } from '../types' import { createNodeFromContent } from './createNodeFromContent' diff --git a/packages/core/src/helpers/createNodeFromContent.ts b/packages/core/src/helpers/createNodeFromContent.ts index 191432875..277ccfb3d 100644 --- a/packages/core/src/helpers/createNodeFromContent.ts +++ b/packages/core/src/helpers/createNodeFromContent.ts @@ -4,14 +4,14 @@ import { Node as ProseMirrorNode, ParseOptions, Schema, -} from 'prosemirror-model' +} from '@tiptap/pm/model' import { Content } from '../types' import { elementFromString } from '../utilities/elementFromString' export type CreateNodeFromContentOptions = { - slice?: boolean, - parseOptions?: ParseOptions, + slice?: boolean + parseOptions?: ParseOptions } export function createNodeFromContent( @@ -33,13 +33,7 @@ export function createNodeFromContent( return schema.nodeFromJSON(content) } catch (error) { - console.warn( - '[tiptap warn]: Invalid content.', - 'Passed value:', - content, - 'Error:', - error, - ) + console.warn('[tiptap warn]: Invalid content.', 'Passed value:', content, 'Error:', error) return createNodeFromContent('', schema, options) } diff --git a/packages/core/src/helpers/defaultBlockAt.ts b/packages/core/src/helpers/defaultBlockAt.ts index 02b5caf7d..9bd275773 100644 --- a/packages/core/src/helpers/defaultBlockAt.ts +++ b/packages/core/src/helpers/defaultBlockAt.ts @@ -1,4 +1,4 @@ -import { ContentMatch, NodeType } from 'prosemirror-model' +import { ContentMatch, NodeType } from '@tiptap/pm/model' export function defaultBlockAt(match: ContentMatch): NodeType | null { for (let i = 0; i < match.edgeCount; i += 1) { diff --git a/packages/core/src/helpers/findChildren.ts b/packages/core/src/helpers/findChildren.ts index dee5a0212..9c2c159c0 100644 --- a/packages/core/src/helpers/findChildren.ts +++ b/packages/core/src/helpers/findChildren.ts @@ -1,4 +1,4 @@ -import { Node as ProseMirrorNode } from 'prosemirror-model' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' import { NodeWithPos, Predicate } from '../types' diff --git a/packages/core/src/helpers/findChildrenInRange.ts b/packages/core/src/helpers/findChildrenInRange.ts index 168b7788e..839804f50 100644 --- a/packages/core/src/helpers/findChildrenInRange.ts +++ b/packages/core/src/helpers/findChildrenInRange.ts @@ -1,11 +1,15 @@ -import { Node as ProseMirrorNode } from 'prosemirror-model' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' import { NodeWithPos, Predicate, Range } from '../types' /** * Same as `findChildren` but searches only within a `range`. */ -export function findChildrenInRange(node: ProseMirrorNode, range: Range, predicate: Predicate): NodeWithPos[] { +export function findChildrenInRange( + node: ProseMirrorNode, + range: Range, + predicate: Predicate, +): NodeWithPos[] { const nodesWithPos: NodeWithPos[] = [] // if (range.from === range.to) { diff --git a/packages/core/src/helpers/findParentNode.ts b/packages/core/src/helpers/findParentNode.ts index 859e67f4f..e5fe70c94 100644 --- a/packages/core/src/helpers/findParentNode.ts +++ b/packages/core/src/helpers/findParentNode.ts @@ -1,4 +1,4 @@ -import { Selection } from 'prosemirror-state' +import { Selection } from '@tiptap/pm/state' import { Predicate } from '../types' import { findParentNodeClosestToPos } from './findParentNodeClosestToPos' diff --git a/packages/core/src/helpers/findParentNodeClosestToPos.ts b/packages/core/src/helpers/findParentNodeClosestToPos.ts index c04945cf0..676bc44b3 100644 --- a/packages/core/src/helpers/findParentNodeClosestToPos.ts +++ b/packages/core/src/helpers/findParentNodeClosestToPos.ts @@ -1,13 +1,18 @@ -import { Node as ProseMirrorNode, ResolvedPos } from 'prosemirror-model' +import { Node as ProseMirrorNode, ResolvedPos } from '@tiptap/pm/model' import { Predicate } from '../types' -export function findParentNodeClosestToPos($pos: ResolvedPos, predicate: Predicate): ({ - pos: number, - start: number, - depth: number, - node: ProseMirrorNode, -} | undefined) { +export function findParentNodeClosestToPos( + $pos: ResolvedPos, + predicate: Predicate, +): + | { + pos: number + start: number + depth: number + node: ProseMirrorNode + } + | undefined { for (let i = $pos.depth; i > 0; i -= 1) { const node = $pos.node(i) diff --git a/packages/core/src/helpers/generateHTML.ts b/packages/core/src/helpers/generateHTML.ts index 77a2ce45a..f3c9e8f08 100644 --- a/packages/core/src/helpers/generateHTML.ts +++ b/packages/core/src/helpers/generateHTML.ts @@ -1,4 +1,4 @@ -import { Node } from 'prosemirror-model' +import { Node } from '@tiptap/pm/model' import { Extensions, JSONContent } from '../types' import { getHTMLFromFragment } from './getHTMLFromFragment' diff --git a/packages/core/src/helpers/generateJSON.ts b/packages/core/src/helpers/generateJSON.ts index 2342c4bb8..141f7bbf4 100644 --- a/packages/core/src/helpers/generateJSON.ts +++ b/packages/core/src/helpers/generateJSON.ts @@ -1,4 +1,4 @@ -import { DOMParser } from 'prosemirror-model' +import { DOMParser } from '@tiptap/pm/model' import { Extensions } from '../types' import { elementFromString } from '../utilities/elementFromString' @@ -8,7 +8,5 @@ export function generateJSON(html: string, extensions: Extensions): Record, + blockSeparator?: string + textSerializers?: Record }, ): string { - const { - blockSeparator = '\n\n', - textSerializers = {}, - } = options || {} + const { blockSeparator = '\n\n', textSerializers = {} } = options || {} const schema = getSchema(extensions) const contentNode = Node.fromJSON(schema, doc) diff --git a/packages/core/src/helpers/getAttributes.ts b/packages/core/src/helpers/getAttributes.ts index bbcd9368a..8f283fd45 100644 --- a/packages/core/src/helpers/getAttributes.ts +++ b/packages/core/src/helpers/getAttributes.ts @@ -1,5 +1,5 @@ -import { MarkType, NodeType } from 'prosemirror-model' -import { EditorState } from 'prosemirror-state' +import { MarkType, NodeType } from '@tiptap/pm/model' +import { EditorState } from '@tiptap/pm/state' import { getMarkAttributes } from './getMarkAttributes' import { getNodeAttributes } from './getNodeAttributes' @@ -10,9 +10,7 @@ export function getAttributes( typeOrName: string | NodeType | MarkType, ): Record { const schemaType = getSchemaTypeNameByName( - typeof typeOrName === 'string' - ? typeOrName - : typeOrName.name, + typeof typeOrName === 'string' ? typeOrName : typeOrName.name, state.schema, ) diff --git a/packages/core/src/helpers/getChangedRanges.ts b/packages/core/src/helpers/getChangedRanges.ts index a9f03330f..d866e1d14 100644 --- a/packages/core/src/helpers/getChangedRanges.ts +++ b/packages/core/src/helpers/getChangedRanges.ts @@ -1,4 +1,4 @@ -import { Step, Transform } from 'prosemirror-transform' +import { Step, Transform } from '@tiptap/pm/transform' import { Range } from '../types' import { removeDuplicates } from '../utilities/removeDuplicates' diff --git a/packages/core/src/helpers/getDebugJSON.ts b/packages/core/src/helpers/getDebugJSON.ts index bb9fa82e4..0c19aa290 100644 --- a/packages/core/src/helpers/getDebugJSON.ts +++ b/packages/core/src/helpers/getDebugJSON.ts @@ -1,10 +1,10 @@ -import { Node as ProseMirrorNode } from 'prosemirror-model' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' import { JSONContent } from '../types' interface DebugJSONContent extends JSONContent { - from: number, - to: number, + from: number + to: number } export function getDebugJSON(node: ProseMirrorNode, startOffset = 0): DebugJSONContent { @@ -13,7 +13,7 @@ export function getDebugJSON(node: ProseMirrorNode, startOffset = 0): DebugJSONC const from = startOffset const to = from + node.nodeSize const marks = node.marks.map(mark => { - const output: { type: string, attrs?: Record } = { + const output: { type: string; attrs?: Record } = { type: mark.type.name, } diff --git a/packages/core/src/helpers/getHTMLFromFragment.ts b/packages/core/src/helpers/getHTMLFromFragment.ts index e4dc07588..a33a30586 100644 --- a/packages/core/src/helpers/getHTMLFromFragment.ts +++ b/packages/core/src/helpers/getHTMLFromFragment.ts @@ -1,9 +1,7 @@ -import { DOMSerializer, Fragment, Schema } from 'prosemirror-model' +import { DOMSerializer, Fragment, Schema } from '@tiptap/pm/model' export function getHTMLFromFragment(fragment: Fragment, schema: Schema): string { - const documentFragment = DOMSerializer - .fromSchema(schema) - .serializeFragment(fragment) + const documentFragment = DOMSerializer.fromSchema(schema).serializeFragment(fragment) const temporaryDocument = document.implementation.createHTMLDocument() const container = temporaryDocument.createElement('div') diff --git a/packages/core/src/helpers/getMarkAttributes.ts b/packages/core/src/helpers/getMarkAttributes.ts index 5c46c46e6..0b139609e 100644 --- a/packages/core/src/helpers/getMarkAttributes.ts +++ b/packages/core/src/helpers/getMarkAttributes.ts @@ -1,9 +1,12 @@ -import { Mark, MarkType } from 'prosemirror-model' -import { EditorState } from 'prosemirror-state' +import { Mark, MarkType } from '@tiptap/pm/model' +import { EditorState } from '@tiptap/pm/state' import { getMarkType } from './getMarkType' -export function getMarkAttributes(state: EditorState, typeOrName: string | MarkType): Record { +export function getMarkAttributes( + state: EditorState, + typeOrName: string | MarkType, +): Record { const type = getMarkType(typeOrName, state.schema) const { from, to, empty } = state.selection const marks: Mark[] = [] diff --git a/packages/core/src/helpers/getMarkRange.ts b/packages/core/src/helpers/getMarkRange.ts index b4c174bdd..4353347d9 100644 --- a/packages/core/src/helpers/getMarkRange.ts +++ b/packages/core/src/helpers/getMarkRange.ts @@ -1,4 +1,4 @@ -import { Mark as ProseMirrorMark, MarkType, ResolvedPos } from 'prosemirror-model' +import { Mark as ProseMirrorMark, MarkType, ResolvedPos } from '@tiptap/pm/model' import { Range } from '../types' import { objectIncludes } from '../utilities/objectIncludes' diff --git a/packages/core/src/helpers/getMarkType.ts b/packages/core/src/helpers/getMarkType.ts index 2f79223bc..64707a5cb 100644 --- a/packages/core/src/helpers/getMarkType.ts +++ b/packages/core/src/helpers/getMarkType.ts @@ -1,9 +1,11 @@ -import { MarkType, Schema } from 'prosemirror-model' +import { MarkType, Schema } from '@tiptap/pm/model' export function getMarkType(nameOrType: string | MarkType, schema: Schema): MarkType { if (typeof nameOrType === 'string') { if (!schema.marks[nameOrType]) { - throw Error(`There is no mark type named '${nameOrType}'. Maybe you forgot to add the extension?`) + throw Error( + `There is no mark type named '${nameOrType}'. Maybe you forgot to add the extension?`, + ) } return schema.marks[nameOrType] diff --git a/packages/core/src/helpers/getMarksBetween.ts b/packages/core/src/helpers/getMarksBetween.ts index e209bbc04..6275aa189 100644 --- a/packages/core/src/helpers/getMarksBetween.ts +++ b/packages/core/src/helpers/getMarksBetween.ts @@ -1,4 +1,4 @@ -import { Node as ProseMirrorNode } from 'prosemirror-model' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' import { MarkRange } from '../types' import { getMarkRange } from './getMarkRange' @@ -26,11 +26,13 @@ export function getMarksBetween(from: number, to: number, doc: ProseMirrorNode): }) } else { doc.nodesBetween(from, to, (node, pos) => { - marks.push(...node.marks.map(mark => ({ - from: pos, - to: pos + node.nodeSize, - mark, - }))) + marks.push( + ...node.marks.map(mark => ({ + from: pos, + to: pos + node.nodeSize, + mark, + })), + ) }) } diff --git a/packages/core/src/helpers/getNodeAttributes.ts b/packages/core/src/helpers/getNodeAttributes.ts index 33aee129f..3cd23c0eb 100644 --- a/packages/core/src/helpers/getNodeAttributes.ts +++ b/packages/core/src/helpers/getNodeAttributes.ts @@ -1,9 +1,12 @@ -import { Node, NodeType } from 'prosemirror-model' -import { EditorState } from 'prosemirror-state' +import { Node, NodeType } from '@tiptap/pm/model' +import { EditorState } from '@tiptap/pm/state' import { getNodeType } from './getNodeType' -export function getNodeAttributes(state: EditorState, typeOrName: string | NodeType): Record { +export function getNodeAttributes( + state: EditorState, + typeOrName: string | NodeType, +): Record { const type = getNodeType(typeOrName, state.schema) const { from, to } = state.selection const nodes: Node[] = [] @@ -12,9 +15,7 @@ export function getNodeAttributes(state: EditorState, typeOrName: string | NodeT nodes.push(node) }) - const node = nodes - .reverse() - .find(nodeItem => nodeItem.type.name === type.name) + const node = nodes.reverse().find(nodeItem => nodeItem.type.name === type.name) if (!node) { return {} diff --git a/packages/core/src/helpers/getNodeType.ts b/packages/core/src/helpers/getNodeType.ts index 00955340d..8c10f27c7 100644 --- a/packages/core/src/helpers/getNodeType.ts +++ b/packages/core/src/helpers/getNodeType.ts @@ -1,9 +1,11 @@ -import { NodeType, Schema } from 'prosemirror-model' +import { NodeType, Schema } from '@tiptap/pm/model' export function getNodeType(nameOrType: string | NodeType, schema: Schema): NodeType { if (typeof nameOrType === 'string') { if (!schema.nodes[nameOrType]) { - throw Error(`There is no node type named '${nameOrType}'. Maybe you forgot to add the extension?`) + throw Error( + `There is no node type named '${nameOrType}'. Maybe you forgot to add the extension?`, + ) } return schema.nodes[nameOrType] diff --git a/packages/core/src/helpers/getRenderedAttributes.ts b/packages/core/src/helpers/getRenderedAttributes.ts index 28feb943a..b0290ebfb 100644 --- a/packages/core/src/helpers/getRenderedAttributes.ts +++ b/packages/core/src/helpers/getRenderedAttributes.ts @@ -1,9 +1,12 @@ -import { Mark, Node } from 'prosemirror-model' +import { Mark, Node } from '@tiptap/pm/model' import { ExtensionAttribute } from '../types' import { mergeAttributes } from '../utilities/mergeAttributes' -export function getRenderedAttributes(nodeOrMark: Node | Mark, extensionAttributes: ExtensionAttribute[]): Record { +export function getRenderedAttributes( + nodeOrMark: Node | Mark, + extensionAttributes: ExtensionAttribute[], +): Record { return extensionAttributes .filter(item => item.attribute.rendered) .map(item => { diff --git a/packages/core/src/helpers/getSchema.ts b/packages/core/src/helpers/getSchema.ts index 15159f193..4dcd8b86f 100644 --- a/packages/core/src/helpers/getSchema.ts +++ b/packages/core/src/helpers/getSchema.ts @@ -1,4 +1,4 @@ -import { Schema } from 'prosemirror-model' +import { Schema } from '@tiptap/pm/model' import { ExtensionManager } from '../ExtensionManager' import { Extensions } from '../types' diff --git a/packages/core/src/helpers/getSchemaByResolvedExtensions.ts b/packages/core/src/helpers/getSchemaByResolvedExtensions.ts index 90ad6292d..d06cc00cc 100644 --- a/packages/core/src/helpers/getSchemaByResolvedExtensions.ts +++ b/packages/core/src/helpers/getSchemaByResolvedExtensions.ts @@ -1,4 +1,4 @@ -import { MarkSpec, NodeSpec, Schema } from 'prosemirror-model' +import { MarkSpec, NodeSpec, Schema } from '@tiptap/pm/model' import { MarkConfig, NodeConfig } from '..' import { AnyConfig, Extensions } from '../types' @@ -11,13 +11,15 @@ import { injectExtensionAttributesToParseRule } from './injectExtensionAttribute import { splitExtensions } from './splitExtensions' function cleanUpSchemaItem(data: T) { - return Object.fromEntries(Object.entries(data).filter(([key, value]) => { - if (key === 'attrs' && isEmptyObject(value)) { - return false - } + return Object.fromEntries( + Object.entries(data).filter(([key, value]) => { + if (key === 'attrs' && isEmptyObject(value)) { + return false + } - return value !== null && value !== undefined - })) as T + return value !== null && value !== undefined + }), + ) as T } export function getSchemaByResolvedExtensions(extensions: Extensions): Schema { @@ -25,120 +27,162 @@ export function getSchemaByResolvedExtensions(extensions: Extensions): Schema { const { nodeExtensions, markExtensions } = splitExtensions(extensions) const topNode = nodeExtensions.find(extension => getExtensionField(extension, 'topNode'))?.name - const nodes = Object.fromEntries(nodeExtensions.map(extension => { - const extensionAttributes = allAttributes.filter(attribute => attribute.type === extension.name) - const context = { - name: extension.name, - options: extension.options, - storage: extension.storage, - } - - const extraNodeFields = extensions.reduce((fields, e) => { - const extendNodeSchema = getExtensionField( - e, - 'extendNodeSchema', - context, + const nodes = Object.fromEntries( + nodeExtensions.map(extension => { + const extensionAttributes = allAttributes.filter( + attribute => attribute.type === extension.name, ) - - return { - ...fields, - ...(extendNodeSchema ? extendNodeSchema(extension) : {}), + const context = { + name: extension.name, + options: extension.options, + storage: extension.storage, } - }, {}) - - const schema: NodeSpec = cleanUpSchemaItem({ - ...extraNodeFields, - content: callOrReturn(getExtensionField(extension, 'content', context)), - marks: callOrReturn(getExtensionField(extension, 'marks', context)), - group: callOrReturn(getExtensionField(extension, 'group', context)), - inline: callOrReturn(getExtensionField(extension, 'inline', context)), - atom: callOrReturn(getExtensionField(extension, 'atom', context)), - selectable: callOrReturn(getExtensionField(extension, 'selectable', context)), - draggable: callOrReturn(getExtensionField(extension, 'draggable', context)), - code: callOrReturn(getExtensionField(extension, 'code', context)), - defining: callOrReturn(getExtensionField(extension, 'defining', context)), - isolating: callOrReturn(getExtensionField(extension, 'isolating', context)), - attrs: Object.fromEntries(extensionAttributes.map(extensionAttribute => { - return [extensionAttribute.name, { default: extensionAttribute?.attribute?.default }] - })), - }) - - const parseHTML = callOrReturn(getExtensionField(extension, 'parseHTML', context)) - - if (parseHTML) { - schema.parseDOM = parseHTML - .map(parseRule => injectExtensionAttributesToParseRule(parseRule, extensionAttributes)) - } - - const renderHTML = getExtensionField(extension, 'renderHTML', context) - - if (renderHTML) { - schema.toDOM = node => renderHTML({ - node, - HTMLAttributes: getRenderedAttributes(node, extensionAttributes), + + const extraNodeFields = extensions.reduce((fields, e) => { + const extendNodeSchema = getExtensionField( + e, + 'extendNodeSchema', + context, + ) + + return { + ...fields, + ...(extendNodeSchema ? extendNodeSchema(extension) : {}), + } + }, {}) + + const schema: NodeSpec = cleanUpSchemaItem({ + ...extraNodeFields, + content: callOrReturn( + getExtensionField(extension, 'content', context), + ), + marks: callOrReturn(getExtensionField(extension, 'marks', context)), + group: callOrReturn(getExtensionField(extension, 'group', context)), + inline: callOrReturn(getExtensionField(extension, 'inline', context)), + atom: callOrReturn(getExtensionField(extension, 'atom', context)), + selectable: callOrReturn( + getExtensionField(extension, 'selectable', context), + ), + draggable: callOrReturn( + getExtensionField(extension, 'draggable', context), + ), + code: callOrReturn(getExtensionField(extension, 'code', context)), + defining: callOrReturn( + getExtensionField(extension, 'defining', context), + ), + isolating: callOrReturn( + getExtensionField(extension, 'isolating', context), + ), + attrs: Object.fromEntries( + extensionAttributes.map(extensionAttribute => { + return [extensionAttribute.name, { default: extensionAttribute?.attribute?.default }] + }), + ), }) - } - const renderText = getExtensionField(extension, 'renderText', context) + const parseHTML = callOrReturn( + getExtensionField(extension, 'parseHTML', context), + ) - if (renderText) { - schema.toText = renderText - } + if (parseHTML) { + schema.parseDOM = parseHTML.map(parseRule => injectExtensionAttributesToParseRule(parseRule, extensionAttributes)) + } - return [extension.name, schema] - })) + const renderHTML = getExtensionField( + extension, + 'renderHTML', + context, + ) - const marks = Object.fromEntries(markExtensions.map(extension => { - const extensionAttributes = allAttributes.filter(attribute => attribute.type === extension.name) - const context = { - name: extension.name, - options: extension.options, - storage: extension.storage, - } + if (renderHTML) { + schema.toDOM = node => renderHTML({ + node, + HTMLAttributes: getRenderedAttributes(node, extensionAttributes), + }) + } - const extraMarkFields = extensions.reduce((fields, e) => { - const extendMarkSchema = getExtensionField( - e, - 'extendMarkSchema', + const renderText = getExtensionField( + extension, + 'renderText', context, ) - return { - ...fields, - ...(extendMarkSchema ? extendMarkSchema(extension) : {}), + if (renderText) { + schema.toText = renderText } - }, {}) - - const schema: MarkSpec = cleanUpSchemaItem({ - ...extraMarkFields, - inclusive: callOrReturn(getExtensionField(extension, 'inclusive', context)), - excludes: callOrReturn(getExtensionField(extension, 'excludes', context)), - group: callOrReturn(getExtensionField(extension, 'group', context)), - spanning: callOrReturn(getExtensionField(extension, 'spanning', context)), - code: callOrReturn(getExtensionField(extension, 'code', context)), - attrs: Object.fromEntries(extensionAttributes.map(extensionAttribute => { - return [extensionAttribute.name, { default: extensionAttribute?.attribute?.default }] - })), - }) - - const parseHTML = callOrReturn(getExtensionField(extension, 'parseHTML', context)) - - if (parseHTML) { - schema.parseDOM = parseHTML - .map(parseRule => injectExtensionAttributesToParseRule(parseRule, extensionAttributes)) - } - - const renderHTML = getExtensionField(extension, 'renderHTML', context) - - if (renderHTML) { - schema.toDOM = mark => renderHTML({ - mark, - HTMLAttributes: getRenderedAttributes(mark, extensionAttributes), + + return [extension.name, schema] + }), + ) + + const marks = Object.fromEntries( + markExtensions.map(extension => { + const extensionAttributes = allAttributes.filter( + attribute => attribute.type === extension.name, + ) + const context = { + name: extension.name, + options: extension.options, + storage: extension.storage, + } + + const extraMarkFields = extensions.reduce((fields, e) => { + const extendMarkSchema = getExtensionField( + e, + 'extendMarkSchema', + context, + ) + + return { + ...fields, + ...(extendMarkSchema ? extendMarkSchema(extension) : {}), + } + }, {}) + + const schema: MarkSpec = cleanUpSchemaItem({ + ...extraMarkFields, + inclusive: callOrReturn( + getExtensionField(extension, 'inclusive', context), + ), + excludes: callOrReturn( + getExtensionField(extension, 'excludes', context), + ), + group: callOrReturn(getExtensionField(extension, 'group', context)), + spanning: callOrReturn( + getExtensionField(extension, 'spanning', context), + ), + code: callOrReturn(getExtensionField(extension, 'code', context)), + attrs: Object.fromEntries( + extensionAttributes.map(extensionAttribute => { + return [extensionAttribute.name, { default: extensionAttribute?.attribute?.default }] + }), + ), }) - } - return [extension.name, schema] - })) + const parseHTML = callOrReturn( + getExtensionField(extension, 'parseHTML', context), + ) + + if (parseHTML) { + schema.parseDOM = parseHTML.map(parseRule => injectExtensionAttributesToParseRule(parseRule, extensionAttributes)) + } + + const renderHTML = getExtensionField( + extension, + 'renderHTML', + context, + ) + + if (renderHTML) { + schema.toDOM = mark => renderHTML({ + mark, + HTMLAttributes: getRenderedAttributes(mark, extensionAttributes), + }) + } + + return [extension.name, schema] + }), + ) return new Schema({ topNode, diff --git a/packages/core/src/helpers/getSchemaTypeByName.ts b/packages/core/src/helpers/getSchemaTypeByName.ts index 2e5154265..cfeb4661c 100644 --- a/packages/core/src/helpers/getSchemaTypeByName.ts +++ b/packages/core/src/helpers/getSchemaTypeByName.ts @@ -1,4 +1,4 @@ -import { MarkType, NodeType, Schema } from 'prosemirror-model' +import { MarkType, NodeType, Schema } from '@tiptap/pm/model' export function getSchemaTypeByName(name: string, schema: Schema): NodeType | MarkType | null { return schema.nodes[name] || schema.marks[name] || null diff --git a/packages/core/src/helpers/getSchemaTypeNameByName.ts b/packages/core/src/helpers/getSchemaTypeNameByName.ts index 0ad2e4b09..81c4c0f65 100644 --- a/packages/core/src/helpers/getSchemaTypeNameByName.ts +++ b/packages/core/src/helpers/getSchemaTypeNameByName.ts @@ -1,4 +1,4 @@ -import { Schema } from 'prosemirror-model' +import { Schema } from '@tiptap/pm/model' export function getSchemaTypeNameByName(name: string, schema: Schema): 'node' | 'mark' | null { if (schema.nodes[name]) { diff --git a/packages/core/src/helpers/getText.ts b/packages/core/src/helpers/getText.ts index 05878a530..e8621a017 100644 --- a/packages/core/src/helpers/getText.ts +++ b/packages/core/src/helpers/getText.ts @@ -1,4 +1,4 @@ -import { Node as ProseMirrorNode } from 'prosemirror-model' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' import { TextSerializer } from '../types' import { getTextBetween } from './getTextBetween' @@ -6,8 +6,8 @@ import { getTextBetween } from './getTextBetween' export function getText( node: ProseMirrorNode, options?: { - blockSeparator?: string, - textSerializers?: Record, + blockSeparator?: string + textSerializers?: Record }, ) { const range = { diff --git a/packages/core/src/helpers/getTextBetween.ts b/packages/core/src/helpers/getTextBetween.ts index 0e9e826b8..34e59667e 100644 --- a/packages/core/src/helpers/getTextBetween.ts +++ b/packages/core/src/helpers/getTextBetween.ts @@ -1,4 +1,4 @@ -import { Node as ProseMirrorNode } from 'prosemirror-model' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' import { Range, TextSerializer } from '../types' @@ -6,15 +6,12 @@ export function getTextBetween( startNode: ProseMirrorNode, range: Range, options?: { - blockSeparator?: string, - textSerializers?: Record, + blockSeparator?: string + textSerializers?: Record }, ): string { const { from, to } = range - const { - blockSeparator = '\n\n', - textSerializers = {}, - } = options || {} + const { blockSeparator = '\n\n', textSerializers = {} } = options || {} let text = '' let separated = true diff --git a/packages/core/src/helpers/getTextContentFromNodes.ts b/packages/core/src/helpers/getTextContentFromNodes.ts index ca924b5e1..e92742f41 100644 --- a/packages/core/src/helpers/getTextContentFromNodes.ts +++ b/packages/core/src/helpers/getTextContentFromNodes.ts @@ -1,4 +1,4 @@ -import { ResolvedPos } from 'prosemirror-model' +import { ResolvedPos } from '@tiptap/pm/model' export const getTextContentFromNodes = ($from: ResolvedPos, maxMatch = 500) => { let textBefore = '' @@ -10,8 +10,13 @@ export const getTextContentFromNodes = ($from: ResolvedPos, maxMatch = 500) => { sliceEndPos, (node, pos, parent, index) => { const chunk = node.type.spec.toText?.({ - node, pos, parent, index, - }) || node.textContent || '%leaf%' + node, + pos, + parent, + index, + }) + || node.textContent + || '%leaf%' textBefore += chunk.slice(0, Math.max(0, sliceEndPos - pos)) }, diff --git a/packages/core/src/helpers/getTextSerializersFromSchema.ts b/packages/core/src/helpers/getTextSerializersFromSchema.ts index 41d16ae81..f2eb80a10 100644 --- a/packages/core/src/helpers/getTextSerializersFromSchema.ts +++ b/packages/core/src/helpers/getTextSerializersFromSchema.ts @@ -1,10 +1,11 @@ -import { Schema } from 'prosemirror-model' +import { Schema } from '@tiptap/pm/model' import { TextSerializer } from '../types' export function getTextSerializersFromSchema(schema: Schema): Record { - return Object.fromEntries(Object - .entries(schema.nodes) - .filter(([, node]) => node.spec.toText) - .map(([name, node]) => [name, node.spec.toText])) + return Object.fromEntries( + Object.entries(schema.nodes) + .filter(([, node]) => node.spec.toText) + .map(([name, node]) => [name, node.spec.toText]), + ) } diff --git a/packages/core/src/helpers/injectExtensionAttributesToParseRule.ts b/packages/core/src/helpers/injectExtensionAttributesToParseRule.ts index 82ae99761..516ef2ba4 100644 --- a/packages/core/src/helpers/injectExtensionAttributesToParseRule.ts +++ b/packages/core/src/helpers/injectExtensionAttributesToParseRule.ts @@ -1,4 +1,4 @@ -import { ParseRule } from 'prosemirror-model' +import { ParseRule } from '@tiptap/pm/model' import { ExtensionAttribute } from '../types' import { fromString } from '../utilities/fromString' @@ -9,7 +9,10 @@ import { fromString } from '../utilities/fromString' * @param parseRule ProseMirror ParseRule * @param extensionAttributes List of attributes to inject */ -export function injectExtensionAttributesToParseRule(parseRule: ParseRule, extensionAttributes: ExtensionAttribute[]): ParseRule { +export function injectExtensionAttributesToParseRule( + parseRule: ParseRule, + extensionAttributes: ExtensionAttribute[], +): ParseRule { if (parseRule.style) { return parseRule } @@ -17,9 +20,7 @@ export function injectExtensionAttributesToParseRule(parseRule: ParseRule, exten return { ...parseRule, getAttrs: node => { - const oldAttributes = parseRule.getAttrs - ? parseRule.getAttrs(node) - : parseRule.attrs + const oldAttributes = parseRule.getAttrs ? parseRule.getAttrs(node) : parseRule.attrs if (oldAttributes === false) { return false diff --git a/packages/core/src/helpers/isActive.ts b/packages/core/src/helpers/isActive.ts index 9398b7b41..d2634aedd 100644 --- a/packages/core/src/helpers/isActive.ts +++ b/packages/core/src/helpers/isActive.ts @@ -1,10 +1,14 @@ -import { EditorState } from 'prosemirror-state' +import { EditorState } from '@tiptap/pm/state' import { getSchemaTypeNameByName } from './getSchemaTypeNameByName' import { isMarkActive } from './isMarkActive' import { isNodeActive } from './isNodeActive' -export function isActive(state: EditorState, name: string | null, attributes: Record = {}): boolean { +export function isActive( + state: EditorState, + name: string | null, + attributes: Record = {}, +): boolean { if (!name) { return isNodeActive(state, null, attributes) || isMarkActive(state, null, attributes) } diff --git a/packages/core/src/helpers/isMarkActive.ts b/packages/core/src/helpers/isMarkActive.ts index 82802a849..c0869b615 100644 --- a/packages/core/src/helpers/isMarkActive.ts +++ b/packages/core/src/helpers/isMarkActive.ts @@ -1,5 +1,5 @@ -import { MarkType } from 'prosemirror-model' -import { EditorState } from 'prosemirror-state' +import { MarkType } from '@tiptap/pm/model' +import { EditorState } from '@tiptap/pm/state' import { MarkRange } from '../types' import { objectIncludes } from '../utilities/objectIncludes' @@ -11,9 +11,7 @@ export function isMarkActive( attributes: Record = {}, ): boolean { const { empty, ranges } = state.selection - const type = typeOrName - ? getMarkType(typeOrName, state.schema) - : null + const type = typeOrName ? getMarkType(typeOrName, state.schema) : null if (empty) { return !!(state.storedMarks || state.selection.$from.marks()) @@ -45,11 +43,13 @@ export function isMarkActive( selectionRange += range - markRanges.push(...node.marks.map(mark => ({ - mark, - from: relativeFrom, - to: relativeTo, - }))) + markRanges.push( + ...node.marks.map(mark => ({ + mark, + from: relativeFrom, + to: relativeTo, + })), + ) }) }) @@ -77,16 +77,13 @@ export function isMarkActive( return true } - return markRange.mark.type !== type - && markRange.mark.type.excludes(type) + return markRange.mark.type !== type && markRange.mark.type.excludes(type) }) .reduce((sum, markRange) => sum + markRange.to - markRange.from, 0) // we only include the result of `excludedRange` // if there is a match at all - const range = matchedRange > 0 - ? matchedRange + excludedRange - : matchedRange + const range = matchedRange > 0 ? matchedRange + excludedRange : matchedRange return range >= selectionRange } diff --git a/packages/core/src/helpers/isNodeActive.ts b/packages/core/src/helpers/isNodeActive.ts index 5540388e7..5de5eebe8 100644 --- a/packages/core/src/helpers/isNodeActive.ts +++ b/packages/core/src/helpers/isNodeActive.ts @@ -1,5 +1,5 @@ -import { NodeType } from 'prosemirror-model' -import { EditorState } from 'prosemirror-state' +import { NodeType } from '@tiptap/pm/model' +import { EditorState } from '@tiptap/pm/state' import { NodeRange } from '../types' import { objectIncludes } from '../utilities/objectIncludes' @@ -11,9 +11,7 @@ export function isNodeActive( attributes: Record = {}, ): boolean { const { from, to, empty } = state.selection - const type = typeOrName - ? getNodeType(typeOrName, state.schema) - : null + const type = typeOrName ? getNodeType(typeOrName, state.schema) : null const nodeRanges: NodeRange[] = [] @@ -47,8 +45,7 @@ export function isNodeActive( return !!matchedNodeRanges.length } - const range = matchedNodeRanges - .reduce((sum, nodeRange) => sum + nodeRange.to - nodeRange.from, 0) + const range = matchedNodeRanges.reduce((sum, nodeRange) => sum + nodeRange.to - nodeRange.from, 0) return range >= selectionRange } diff --git a/packages/core/src/helpers/isNodeEmpty.ts b/packages/core/src/helpers/isNodeEmpty.ts index 6cbaa4cd3..6e9acea6c 100644 --- a/packages/core/src/helpers/isNodeEmpty.ts +++ b/packages/core/src/helpers/isNodeEmpty.ts @@ -1,4 +1,4 @@ -import { Node as ProseMirrorNode } from 'prosemirror-model' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' export function isNodeEmpty(node: ProseMirrorNode): boolean { const defaultContent = node.type.createAndFill()?.toJSON() diff --git a/packages/core/src/helpers/isNodeSelection.ts b/packages/core/src/helpers/isNodeSelection.ts index cb40e62bd..f91560602 100644 --- a/packages/core/src/helpers/isNodeSelection.ts +++ b/packages/core/src/helpers/isNodeSelection.ts @@ -1,4 +1,4 @@ -import { NodeSelection } from 'prosemirror-state' +import { NodeSelection } from '@tiptap/pm/state' export function isNodeSelection(value: unknown): value is NodeSelection { return value instanceof NodeSelection diff --git a/packages/core/src/helpers/isTextSelection.ts b/packages/core/src/helpers/isTextSelection.ts index 8d3ecd8a4..651a1a546 100644 --- a/packages/core/src/helpers/isTextSelection.ts +++ b/packages/core/src/helpers/isTextSelection.ts @@ -1,4 +1,4 @@ -import { TextSelection } from 'prosemirror-state' +import { TextSelection } from '@tiptap/pm/state' export function isTextSelection(value: unknown): value is TextSelection { return value instanceof TextSelection diff --git a/packages/core/src/helpers/posToDOMRect.ts b/packages/core/src/helpers/posToDOMRect.ts index 8c061bd09..7a4715348 100644 --- a/packages/core/src/helpers/posToDOMRect.ts +++ b/packages/core/src/helpers/posToDOMRect.ts @@ -1,4 +1,4 @@ -import { EditorView } from 'prosemirror-view' +import { EditorView } from '@tiptap/pm/view' import { minMax } from '../utilities/minMax' diff --git a/packages/core/src/helpers/resolveFocusPosition.ts b/packages/core/src/helpers/resolveFocusPosition.ts index f2b86574a..20bea7bc0 100644 --- a/packages/core/src/helpers/resolveFocusPosition.ts +++ b/packages/core/src/helpers/resolveFocusPosition.ts @@ -1,5 +1,5 @@ -import { Node as ProseMirrorNode } from 'prosemirror-model' -import { Selection, TextSelection } from 'prosemirror-state' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' +import { Selection, TextSelection } from '@tiptap/pm/state' import { FocusPosition } from '../types' import { minMax } from '../utilities/minMax' @@ -8,7 +8,6 @@ export function resolveFocusPosition( doc: ProseMirrorNode, position: FocusPosition = null, ): Selection | null { - if (!position) { return null } diff --git a/packages/core/src/helpers/selectionToInsertionEnd.ts b/packages/core/src/helpers/selectionToInsertionEnd.ts index c55cf4f9b..09ac7beef 100644 --- a/packages/core/src/helpers/selectionToInsertionEnd.ts +++ b/packages/core/src/helpers/selectionToInsertionEnd.ts @@ -1,5 +1,5 @@ -import { Selection, Transaction } from 'prosemirror-state' -import { ReplaceAroundStep, ReplaceStep } from 'prosemirror-transform' +import { Selection, Transaction } from '@tiptap/pm/state' +import { ReplaceAroundStep, ReplaceStep } from '@tiptap/pm/transform' // source: https://github.com/ProseMirror/prosemirror-state/blob/master/src/selection.js#L466 export function selectionToInsertionEnd(tr: Transaction, startLen: number, bias: number) { diff --git a/packages/core/src/inputRules/markInputRule.ts b/packages/core/src/inputRules/markInputRule.ts index 589aa52dd..896008756 100644 --- a/packages/core/src/inputRules/markInputRule.ts +++ b/packages/core/src/inputRules/markInputRule.ts @@ -1,4 +1,4 @@ -import { MarkType } from 'prosemirror-model' +import { MarkType } from '@tiptap/pm/model' import { getMarksBetween } from '../helpers/getMarksBetween' import { InputRule, InputRuleFinder } from '../InputRule' @@ -10,14 +10,13 @@ import { callOrReturn } from '../utilities/callOrReturn' * matched text is typed into it. */ export function markInputRule(config: { - find: InputRuleFinder, - type: MarkType, + find: InputRuleFinder + type: MarkType getAttributes?: | Record | ((match: ExtendedRegExpMatchArray) => Record) | false | null - , }) { return new InputRule({ find: config.find, diff --git a/packages/core/src/inputRules/nodeInputRule.ts b/packages/core/src/inputRules/nodeInputRule.ts index 8fc1a2310..7cb6e6c91 100644 --- a/packages/core/src/inputRules/nodeInputRule.ts +++ b/packages/core/src/inputRules/nodeInputRule.ts @@ -1,4 +1,4 @@ -import { NodeType } from 'prosemirror-model' +import { NodeType } from '@tiptap/pm/model' import { InputRule, InputRuleFinder } from '../InputRule' import { ExtendedRegExpMatchArray } from '../types' @@ -9,14 +9,13 @@ import { callOrReturn } from '../utilities/callOrReturn' * matched text is typed into it. */ export function nodeInputRule(config: { - find: InputRuleFinder, - type: NodeType, + find: InputRuleFinder + type: NodeType getAttributes?: | Record | ((match: ExtendedRegExpMatchArray) => Record) | false | null - , }) { return new InputRule({ find: config.find, diff --git a/packages/core/src/inputRules/textblockTypeInputRule.ts b/packages/core/src/inputRules/textblockTypeInputRule.ts index e2f030b87..86be95ec7 100644 --- a/packages/core/src/inputRules/textblockTypeInputRule.ts +++ b/packages/core/src/inputRules/textblockTypeInputRule.ts @@ -1,4 +1,4 @@ -import { NodeType } from 'prosemirror-model' +import { NodeType } from '@tiptap/pm/model' import { InputRule, InputRuleFinder } from '../InputRule' import { ExtendedRegExpMatchArray } from '../types' @@ -11,14 +11,13 @@ import { callOrReturn } from '../utilities/callOrReturn' * only occur at the start of a textblock. */ export function textblockTypeInputRule(config: { - find: InputRuleFinder, - type: NodeType, + find: InputRuleFinder + type: NodeType getAttributes?: | Record | ((match: ExtendedRegExpMatchArray) => Record) | false | null - , }) { return new InputRule({ find: config.find, diff --git a/packages/core/src/inputRules/wrappingInputRule.ts b/packages/core/src/inputRules/wrappingInputRule.ts index 380a824f1..c845a6dbc 100644 --- a/packages/core/src/inputRules/wrappingInputRule.ts +++ b/packages/core/src/inputRules/wrappingInputRule.ts @@ -1,5 +1,5 @@ -import { Node as ProseMirrorNode, NodeType } from 'prosemirror-model' -import { canJoin, findWrapping } from 'prosemirror-transform' +import { Node as ProseMirrorNode, NodeType } from '@tiptap/pm/model' +import { canJoin, findWrapping } from '@tiptap/pm/transform' import { InputRule, InputRuleFinder } from '../InputRule' import { ExtendedRegExpMatchArray } from '../types' @@ -20,15 +20,14 @@ import { callOrReturn } from '../utilities/callOrReturn' * return a boolean to indicate whether a join should happen. */ export function wrappingInputRule(config: { - find: InputRuleFinder, - type: NodeType, + find: InputRuleFinder + type: NodeType getAttributes?: | Record | ((match: ExtendedRegExpMatchArray) => Record) | false | null - , - joinPredicate?: (match: ExtendedRegExpMatchArray, node: ProseMirrorNode) => boolean, + joinPredicate?: (match: ExtendedRegExpMatchArray, node: ProseMirrorNode) => boolean }) { return new InputRule({ find: config.find, diff --git a/packages/core/src/pasteRules/markPasteRule.ts b/packages/core/src/pasteRules/markPasteRule.ts index 6aa2c2184..2b2789854 100644 --- a/packages/core/src/pasteRules/markPasteRule.ts +++ b/packages/core/src/pasteRules/markPasteRule.ts @@ -1,4 +1,4 @@ -import { MarkType } from 'prosemirror-model' +import { MarkType } from '@tiptap/pm/model' import { getMarksBetween } from '../helpers/getMarksBetween' import { PasteRule, PasteRuleFinder } from '../PasteRule' @@ -10,14 +10,13 @@ import { callOrReturn } from '../utilities/callOrReturn' * matched text is pasted into it. */ export function markPasteRule(config: { - find: PasteRuleFinder, - type: MarkType, + find: PasteRuleFinder + type: MarkType getAttributes?: | Record | ((match: ExtendedRegExpMatchArray) => Record) | false | null - , }) { return new PasteRule({ find: config.find, diff --git a/packages/core/src/pasteRules/nodePasteRule.ts b/packages/core/src/pasteRules/nodePasteRule.ts index 94eeda504..a36a02cd0 100644 --- a/packages/core/src/pasteRules/nodePasteRule.ts +++ b/packages/core/src/pasteRules/nodePasteRule.ts @@ -1,6 +1,6 @@ -import { NodeType } from 'prosemirror-model' +import { NodeType } from '@tiptap/pm/model' -import { PasteRule } from '../PasteRule' +import { PasteRule, PasteRuleFinder } from '../PasteRule' import { ExtendedRegExpMatchArray } from '../types' import { callOrReturn } from '../utilities' @@ -9,13 +9,13 @@ import { callOrReturn } from '../utilities' * matched text is pasted into it. */ export function nodePasteRule(config: { - find: RegExp, - type: NodeType, + find: PasteRuleFinder + type: NodeType getAttributes?: | Record | ((match: ExtendedRegExpMatchArray) => Record) | false - | null, + | null }) { return new PasteRule({ find: config.find, @@ -27,12 +27,10 @@ export function nodePasteRule(config: { } if (match.input) { - chain() - .deleteRange(range) - .insertContentAt(range.from, { - type: config.type.name, - attrs: attributes, - }) + chain().deleteRange(range).insertContentAt(range.from, { + type: config.type.name, + attrs: attributes, + }) } }, }) diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index 596c8e68e..76f84a875 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -1,21 +1,11 @@ +import { Mark as ProseMirrorMark, Node as ProseMirrorNode, ParseOptions } from '@tiptap/pm/model' +import { EditorState, Transaction } from '@tiptap/pm/state' import { - Mark as ProseMirrorMark, - Node as ProseMirrorNode, - ParseOptions, -} from 'prosemirror-model' -import { EditorState, Transaction } from 'prosemirror-state' -import { - Decoration, - EditorProps, - EditorView, - NodeView, -} from 'prosemirror-view' + Decoration, EditorProps, EditorView, NodeView, +} from '@tiptap/pm/view' import { - Commands, - ExtensionConfig, - MarkConfig, - NodeConfig, + Commands, ExtensionConfig, MarkConfig, NodeConfig, } from '.' import { Editor } from './Editor' import { Extension } from './Extension' @@ -32,89 +22,80 @@ export type ParentConfig = Partial<{ : T[P] }> -export type Primitive = - | null - | undefined - | string - | number - | boolean - | symbol - | bigint +export type Primitive = null | undefined | string | number | boolean | symbol | bigint export type RemoveThis = T extends (...args: any) => any ? (...args: Parameters) => ReturnType : T -export type MaybeReturnType = T extends (...args: any) => any - ? ReturnType - : T +export type MaybeReturnType = T extends (...args: any) => any ? ReturnType : T export type MaybeThisParameterType = Exclude extends (...args: any) => any ? ThisParameterType> : any export interface EditorEvents { - beforeCreate: { editor: Editor }, - create: { editor: Editor }, - update: { editor: Editor, transaction: Transaction }, - selectionUpdate: { editor: Editor, transaction: Transaction }, - transaction: { editor: Editor, transaction: Transaction }, - focus: { editor: Editor, event: FocusEvent, transaction: Transaction }, - blur: { editor: Editor, event: FocusEvent, transaction: Transaction }, - destroy: void, + beforeCreate: { editor: Editor } + create: { editor: Editor } + update: { editor: Editor; transaction: Transaction } + selectionUpdate: { editor: Editor; transaction: Transaction } + transaction: { editor: Editor; transaction: Transaction } + focus: { editor: Editor; event: FocusEvent; transaction: Transaction } + blur: { editor: Editor; event: FocusEvent; transaction: Transaction } + destroy: void } export type EnableRules = (AnyExtension | string)[] | boolean export interface EditorOptions { - element: Element, - content: Content, - extensions: Extensions, - injectCSS: boolean, - injectNonce: string | undefined, - autofocus: FocusPosition, - editable: boolean, - editorProps: EditorProps, - parseOptions: ParseOptions, - enableInputRules: EnableRules, - enablePasteRules: EnableRules, - enableCoreExtensions: boolean, - onBeforeCreate: (props: EditorEvents['beforeCreate']) => void, - onCreate: (props: EditorEvents['create']) => void, - onUpdate: (props: EditorEvents['update']) => void, - onSelectionUpdate: (props: EditorEvents['selectionUpdate']) => void, - onTransaction: (props: EditorEvents['transaction']) => void, - onFocus: (props: EditorEvents['focus']) => void, - onBlur: (props: EditorEvents['blur']) => void, - onDestroy: (props: EditorEvents['destroy']) => void, + element: Element + content: Content + extensions: Extensions + injectCSS: boolean + injectNonce: string | undefined + autofocus: FocusPosition + editable: boolean + editorProps: EditorProps + parseOptions: ParseOptions + enableInputRules: EnableRules + enablePasteRules: EnableRules + enableCoreExtensions: boolean + onBeforeCreate: (props: EditorEvents['beforeCreate']) => void + onCreate: (props: EditorEvents['create']) => void + onUpdate: (props: EditorEvents['update']) => void + onSelectionUpdate: (props: EditorEvents['selectionUpdate']) => void + onTransaction: (props: EditorEvents['transaction']) => void + onFocus: (props: EditorEvents['focus']) => void + onBlur: (props: EditorEvents['blur']) => void + onDestroy: (props: EditorEvents['destroy']) => void } export type HTMLContent = string export type JSONContent = { - type?: string, - attrs?: Record, - content?: JSONContent[], + type?: string + attrs?: Record + content?: JSONContent[] marks?: { - type: string, - attrs?: Record, - [key: string]: any, - }[], - text?: string, - [key: string]: any, + type: string + attrs?: Record + [key: string]: any + }[] + text?: string + [key: string]: any } export type Content = HTMLContent | JSONContent | JSONContent[] | null export type CommandProps = { - editor: Editor, - tr: Transaction, - commands: SingleCommands, - can: () => CanCommands, - chain: () => ChainedCommands, - state: EditorState, - view: EditorView, - dispatch: ((args?: any) => any) | undefined, + editor: Editor + tr: Transaction + commands: SingleCommands + can: () => CanCommands + chain: () => ChainedCommands + state: EditorState + view: EditorView + dispatch: ((args?: any) => any) | undefined } export type Command = (props: CommandProps) => boolean @@ -124,80 +105,83 @@ export type CommandSpec = (...args: any[]) => Command export type KeyboardShortcutCommand = (props: { editor: Editor }) => boolean export type Attribute = { - default: any, - rendered?: boolean, - renderHTML?: ((attributes: Record) => Record | null) | null, - parseHTML?: ((element: HTMLElement) => any | null) | null, - keepOnSplit: boolean, - isRequired?: boolean, + default: any + rendered?: boolean + renderHTML?: ((attributes: Record) => Record | null) | null + parseHTML?: ((element: HTMLElement) => any | null) | null + keepOnSplit: boolean + isRequired?: boolean } export type Attributes = { - [key: string]: Attribute, + [key: string]: Attribute } export type ExtensionAttribute = { - type: string, - name: string, - attribute: Required, + type: string + name: string + attribute: Required } export type GlobalAttributes = { - types: string[], + types: string[] attributes: { [key: string]: Attribute - }, + } }[] export type PickValue = T[K] -export type UnionToIntersection = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) +export type UnionToIntersection = (U extends any ? (k: U) => void : never) extends ( + k: infer I, +) => void ? I : never -export type Diff = - ({ [P in T]: P } & { [P in U]: never } & { [x: string]: never })[T] +export type Diff = ({ [P in T]: P } & { + [P in U]: never +} & { [x: string]: never })[T] export type Overwrite = Pick> & U export type ValuesOf = T[keyof T] -export type KeysWithTypeOf = ({ [P in keyof T]: T[P] extends Type ? P : never })[keyof T] +export type KeysWithTypeOf = { [P in keyof T]: T[P] extends Type ? P : never }[keyof T] export type NodeViewProps = { - editor: Editor, - node: ProseMirrorNode, - decorations: Decoration[], - selected: boolean, - extension: Node, - getPos: () => number, - updateAttributes: (attributes: Record) => void, - deleteNode: () => void, + editor: Editor + node: ProseMirrorNode + decorations: Decoration[] + selected: boolean + extension: Node + getPos: () => number + updateAttributes: (attributes: Record) => void + deleteNode: () => void } export interface NodeViewRendererOptions { - stopEvent: ((props: { - event: Event - }) => boolean) | null, - ignoreMutation: ((props: { - mutation: MutationRecord | { type: 'selection', target: Element } - }) => boolean) | null, + stopEvent: ((props: { event: Event }) => boolean) | null + ignoreMutation: + | ((props: { mutation: MutationRecord | { type: 'selection'; target: Element } }) => boolean) + | null } export type NodeViewRendererProps = { - editor: Editor, - node: ProseMirrorNode, - getPos: (() => number) | boolean, - HTMLAttributes: Record, - decorations: Decoration[], - extension: Node, + editor: Editor + node: ProseMirrorNode + getPos: (() => number) | boolean + HTMLAttributes: Record + decorations: Decoration[] + extension: Node } -export type NodeViewRenderer = (props: NodeViewRendererProps) => (NodeView | {}) +export type NodeViewRenderer = (props: NodeViewRendererProps) => NodeView | {} export type AnyCommands = Record Command> -export type UnionCommands = UnionToIntersection, KeysWithTypeOf, {}>>>> +export type UnionCommands = UnionToIntersection< + ValuesOf, KeysWithTypeOf, {}>>> +> export type RawCommands = { [Item in keyof UnionCommands]: UnionCommands[Item] @@ -218,39 +202,39 @@ export type CanCommands = SingleCommands & { chain: () => ChainedCommands } export type FocusPosition = 'start' | 'end' | 'all' | number | boolean | null export type Range = { - from: number, - to: number, + from: number + to: number } export type NodeRange = { - node: ProseMirrorNode, - from: number, - to: number, + node: ProseMirrorNode + from: number + to: number } export type MarkRange = { - mark: ProseMirrorMark, - from: number, - to: number, + mark: ProseMirrorMark + from: number + to: number } export type Predicate = (node: ProseMirrorNode) => boolean export type NodeWithPos = { - node: ProseMirrorNode, - pos: number, + node: ProseMirrorNode + pos: number } export type TextSerializer = (props: { - node: ProseMirrorNode, - pos: number, - parent: ProseMirrorNode, - index: number, - range: Range, + node: ProseMirrorNode + pos: number + parent: ProseMirrorNode + index: number + range: Range }) => string export type ExtendedRegExpMatchArray = RegExpMatchArray & { - data?: Record, + data?: Record } export type Dispatch = ((args?: any) => any) | undefined diff --git a/packages/extension-blockquote/CHANGELOG.md b/packages/extension-blockquote/CHANGELOG.md index 4fd0c1b48..1b9036708 100644 --- a/packages/extension-blockquote/CHANGELOG.md +++ b/packages/extension-blockquote/CHANGELOG.md @@ -3,6 +3,81 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-blockquote + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-blockquote + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-blockquote + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-blockquote + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-blockquote + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-blockquote + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-blockquote + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-blockquote + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-blockquote diff --git a/packages/extension-blockquote/package.json b/packages/extension-blockquote/package.json index ecf2d754b..e0a4b0afe 100644 --- a/packages/extension-blockquote/package.json +++ b/packages/extension-blockquote/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-blockquote", "description": "blockquote extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,13 +16,13 @@ "exports": { ".": { "types": "./dist/packages/extension-blockquote/src/index.d.ts", - "import": "./dist/tiptap-extension-blockquote.esm.js", - "require": "./dist/tiptap-extension-blockquote.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-blockquote.cjs", - "umd": "dist/tiptap-extension-blockquote.umd.js", - "module": "dist/tiptap-extension-blockquote.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-blockquote/src/index.d.ts", "files": [ "src", @@ -32,11 +32,15 @@ "@tiptap/core": "^2.0.0-beta.1" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-blockquote" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-blockquote/rollup.config.js b/packages/extension-blockquote/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-blockquote/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-bold/CHANGELOG.md b/packages/extension-bold/CHANGELOG.md index c9c2ca6ab..096db8c47 100644 --- a/packages/extension-bold/CHANGELOG.md +++ b/packages/extension-bold/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-bold + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-bold + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-bold + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-bold + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-bold + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-bold + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-bold + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-bold diff --git a/packages/extension-bold/package.json b/packages/extension-bold/package.json index cc2eacd04..475677718 100644 --- a/packages/extension-bold/package.json +++ b/packages/extension-bold/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-bold", "description": "bold extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-bold/src/index.d.ts", - "import": "./dist/tiptap-extension-bold.esm.js", - "require": "./dist/tiptap-extension-bold.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-bold.cjs", - "umd": "dist/tiptap-extension-bold.umd.js", - "module": "dist/tiptap-extension-bold.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-bold/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-bold" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-bold/rollup.config.js b/packages/extension-bold/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-bold/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-bubble-menu/CHANGELOG.md b/packages/extension-bubble-menu/CHANGELOG.md index 5b49502d5..22dd36d4f 100644 --- a/packages/extension-bubble-menu/CHANGELOG.md +++ b/packages/extension-bubble-menu/CHANGELOG.md @@ -3,6 +3,99 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-bubble-menu + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + + +### Bug Fixes + +* **bubble-menu:** exclude lodash/debounce from externals ([516f28f](https://github.com/ueberdosis/tiptap/commit/516f28f788651b88a03136220334b6dd0f8b235f)) + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + + +### Bug Fixes + +* **bubble-menu:** fix lodash import ([06a3d63](https://github.com/ueberdosis/tiptap/commit/06a3d6300d9debcd4cfc70f5717cfaf9ae988a3c)) + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + + +### Bug Fixes + +* **bubble-menu:** move from lodash-es back to lodash, use named import ([e958128](https://github.com/ueberdosis/tiptap/commit/e9581283af8f491926a338fb572c69700861dd84)) + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + + +### Bug Fixes + +* **bubble-menu:** change lodash to lodash-es for esbuild ([2d7661c](https://github.com/ueberdosis/tiptap/commit/2d7661c910a76f1d362728a48a3c3a09236a2b00)) + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-bubble-menu + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + + +### Bug Fixes + +* **bubble-menu:** fix bubble menu imports ([1e6f238](https://github.com/ueberdosis/tiptap/commit/1e6f2382eb6669269eea892c8eed4727102f2653)) + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-bubble-menu diff --git a/packages/extension-bubble-menu/package.json b/packages/extension-bubble-menu/package.json index 06039a6ff..f3be041e7 100644 --- a/packages/extension-bubble-menu/package.json +++ b/packages/extension-bubble-menu/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-bubble-menu", "description": "bubble-menu extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,28 +16,24 @@ "exports": { ".": { "types": "./dist/packages/extension-bubble-menu/src/index.d.ts", - "import": "./dist/tiptap-extension-bubble-menu.esm.js", - "require": "./dist/tiptap-extension-bubble-menu.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-bubble-menu.cjs", - "umd": "dist/tiptap-extension-bubble-menu.umd.js", - "module": "dist/tiptap-extension-bubble-menu.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-bubble-menu/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "dependencies": { - "@tiptap/core": "^2.0.0-beta.209", "lodash": "^4.17.21", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2", "tippy.js": "^6.3.7" }, "repository": { @@ -47,6 +43,11 @@ }, "sideEffects": false, "devDependencies": { - "@types/lodash": "^4.14.187" + "@tiptap/pm": "^2.0.0-beta.218", + "@types/lodash": "^4.14.191" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-bubble-menu/rollup.config.js b/packages/extension-bubble-menu/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-bubble-menu/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-bubble-menu/src/bubble-menu-plugin.ts b/packages/extension-bubble-menu/src/bubble-menu-plugin.ts index 42fd6953d..f297f43ac 100644 --- a/packages/extension-bubble-menu/src/bubble-menu-plugin.ts +++ b/packages/extension-bubble-menu/src/bubble-menu-plugin.ts @@ -1,32 +1,31 @@ import { - Editor, - isNodeSelection, - isTextSelection, - posToDOMRect, + Editor, isNodeSelection, isTextSelection, posToDOMRect, } from '@tiptap/core' +import { EditorState, Plugin, PluginKey } from '@tiptap/pm/state' +import { EditorView } from '@tiptap/pm/view' import debounce from 'lodash/debounce' -import { EditorState, Plugin, PluginKey } from 'prosemirror-state' -import { EditorView } from 'prosemirror-view' import tippy, { Instance, Props } from 'tippy.js' export interface BubbleMenuPluginProps { - pluginKey: PluginKey | string, - editor: Editor, - element: HTMLElement, - tippyOptions?: Partial, - updateDelay?: number, - shouldShow?: ((props: { - editor: Editor, - view: EditorView, - state: EditorState, - oldState?: EditorState, - from: number, - to: number, - }) => boolean) | null, + pluginKey: PluginKey | string + editor: Editor + element: HTMLElement + tippyOptions?: Partial + updateDelay?: number + shouldShow?: + | ((props: { + editor: Editor + view: EditorView + state: EditorState + oldState?: EditorState + from: number + to: number + }) => boolean) + | null } export type BubbleMenuViewProps = BubbleMenuPluginProps & { - view: EditorView, + view: EditorView } export class BubbleMenuView { @@ -56,8 +55,7 @@ export class BubbleMenuView { // Sometime check for `empty` is not enough. // Doubleclick an empty paragraph returns a node size of 2. // So we check also for an empty text size. - const isEmptyTextBlock = !doc.textBetween(from, to).length - && isTextSelection(state.selection) + const isEmptyTextBlock = !doc.textBetween(from, to).length && isTextSelection(state.selection) // When clicking on a element inside the bubble menu the editor "blur" event // is called and the bubble menu item is focussed. In this case we should @@ -66,12 +64,7 @@ export class BubbleMenuView { const hasEditorFocus = view.hasFocus() || isChildOfMenu - if ( - !hasEditorFocus - || empty - || isEmptyTextBlock - || !this.editor.isEditable - ) { + if (!hasEditorFocus || empty || isEmptyTextBlock || !this.editor.isEditable) { return false } @@ -125,17 +118,14 @@ export class BubbleMenuView { return } - if ( - event?.relatedTarget - && this.element.parentNode?.contains(event.relatedTarget as Node) - ) { + if (event?.relatedTarget && this.element.parentNode?.contains(event.relatedTarget as Node)) { return } this.hide() } - tippyBlurHandler = (event : FocusEvent) => { + tippyBlurHandler = (event: FocusEvent) => { this.blurHandler({ event }) } @@ -207,17 +197,19 @@ export class BubbleMenuView { } this.tippy?.setProps({ - getReferenceClientRect: this.tippyOptions?.getReferenceClientRect || (() => { - if (isNodeSelection(state.selection)) { - const node = view.nodeDOM(from) as HTMLElement - - if (node) { - return node.getBoundingClientRect() + getReferenceClientRect: + this.tippyOptions?.getReferenceClientRect + || (() => { + if (isNodeSelection(state.selection)) { + const node = view.nodeDOM(from) as HTMLElement + + if (node) { + return node.getBoundingClientRect() + } } - } - return posToDOMRect(view, from, to) - }), + return posToDOMRect(view, from, to) + }), }) this.show() @@ -233,7 +225,10 @@ export class BubbleMenuView { destroy() { if (this.tippy?.popper.firstChild) { - (this.tippy.popper.firstChild as HTMLElement).removeEventListener('blur', this.tippyBlurHandler) + (this.tippy.popper.firstChild as HTMLElement).removeEventListener( + 'blur', + this.tippyBlurHandler, + ) } this.tippy?.destroy() this.element.removeEventListener('mousedown', this.mousedownHandler, { capture: true }) @@ -245,9 +240,8 @@ export class BubbleMenuView { export const BubbleMenuPlugin = (options: BubbleMenuPluginProps) => { return new Plugin({ - key: typeof options.pluginKey === 'string' - ? new PluginKey(options.pluginKey) - : options.pluginKey, + key: + typeof options.pluginKey === 'string' ? new PluginKey(options.pluginKey) : options.pluginKey, view: view => new BubbleMenuView({ view, ...options }), }) } diff --git a/packages/extension-bullet-list/CHANGELOG.md b/packages/extension-bullet-list/CHANGELOG.md index 56a4bf64c..033929690 100644 --- a/packages/extension-bullet-list/CHANGELOG.md +++ b/packages/extension-bullet-list/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-bullet-list + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-bullet-list + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-bullet-list + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-bullet-list + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-bullet-list + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-bullet-list + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-bullet-list + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-bullet-list diff --git a/packages/extension-bullet-list/package.json b/packages/extension-bullet-list/package.json index 7572fe3db..1cb7b5953 100644 --- a/packages/extension-bullet-list/package.json +++ b/packages/extension-bullet-list/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-bullet-list", "description": "bullet list extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-bullet-list/src/index.d.ts", - "import": "./dist/tiptap-extension-bullet-list.esm.js", - "require": "./dist/tiptap-extension-bullet-list.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-bullet-list.cjs", - "umd": "dist/tiptap-extension-bullet-list.umd.js", - "module": "dist/tiptap-extension-bullet-list.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-bullet-list/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-bullet-list" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-bullet-list/rollup.config.js b/packages/extension-bullet-list/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-bullet-list/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-character-count/CHANGELOG.md b/packages/extension-character-count/CHANGELOG.md index 362a0805d..af6b0e351 100644 --- a/packages/extension-character-count/CHANGELOG.md +++ b/packages/extension-character-count/CHANGELOG.md @@ -3,6 +3,76 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-character-count + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-character-count + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-character-count + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-character-count + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-character-count + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-character-count + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-character-count diff --git a/packages/extension-character-count/package.json b/packages/extension-character-count/package.json index dea8c282f..e58380a16 100644 --- a/packages/extension-character-count/package.json +++ b/packages/extension-character-count/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-character-count", "description": "font family extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,31 +16,33 @@ "exports": { ".": { "types": "./dist/packages/extension-character-count/src/index.d.ts", - "import": "./dist/tiptap-extension-character-count.esm.js", - "require": "./dist/tiptap-extension-character-count.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-character-count.cjs", - "umd": "dist/tiptap-extension-character-count.umd.js", - "module": "dist/tiptap-extension-character-count.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-character-count/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-character-count" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-character-count/rollup.config.js b/packages/extension-character-count/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-character-count/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-character-count/src/character-count.ts b/packages/extension-character-count/src/character-count.ts index 74651f0e7..587df25ed 100644 --- a/packages/extension-character-count/src/character-count.ts +++ b/packages/extension-character-count/src/character-count.ts @@ -1,33 +1,28 @@ import { Extension } from '@tiptap/core' -import { Node as ProseMirrorNode } from 'prosemirror-model' -import { Plugin, PluginKey } from 'prosemirror-state' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' +import { Plugin, PluginKey } from '@tiptap/pm/state' export interface CharacterCountOptions { /** * The maximum number of characters that should be allowed. Defaults to `0`. */ - limit: number | null | undefined, + limit: number | null | undefined /** * The mode by which the size is calculated. Defaults to 'textSize'. */ - mode: 'textSize' | 'nodeSize', + mode: 'textSize' | 'nodeSize' } export interface CharacterCountStorage { /** * Get the number of characters for the current document. */ - characters: (options?: { - node?: ProseMirrorNode, - mode?: 'textSize' | 'nodeSize', - }) => number, + characters: (options?: { node?: ProseMirrorNode; mode?: 'textSize' | 'nodeSize' }) => number /** * Get the number of words for the current document. */ - words: (options?: { - node?: ProseMirrorNode, - }) => number, + words: (options?: { node?: ProseMirrorNode }) => number } export const CharacterCount = Extension.create({ @@ -64,9 +59,7 @@ export const CharacterCount = Extension.create { const node = options?.node || this.editor.state.doc const text = node.textBetween(0, node.content.size, ' ', ' ') - const words = text - .split(' ') - .filter(word => word !== '') + const words = text.split(' ').filter(word => word !== '') return words.length } diff --git a/packages/extension-character-count/tsconfig.json b/packages/extension-character-count/tsconfig.json new file mode 100644 index 000000000..4082f16a5 --- /dev/null +++ b/packages/extension-character-count/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "../../tsconfig.json" +} diff --git a/packages/extension-code-block-lowlight/CHANGELOG.md b/packages/extension-code-block-lowlight/CHANGELOG.md index b9c765fe9..dcb8eaeda 100644 --- a/packages/extension-code-block-lowlight/CHANGELOG.md +++ b/packages/extension-code-block-lowlight/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-code-block-lowlight + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-code-block-lowlight + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-code-block-lowlight + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-code-block-lowlight + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-code-block-lowlight + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-code-block-lowlight + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-code-block-lowlight + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-code-block-lowlight diff --git a/packages/extension-code-block-lowlight/package.json b/packages/extension-code-block-lowlight/package.json index 3758ee7d0..323372d33 100644 --- a/packages/extension-code-block-lowlight/package.json +++ b/packages/extension-code-block-lowlight/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-code-block-lowlight", "description": "code block extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,35 +16,35 @@ "exports": { ".": { "types": "./dist/packages/extension-code-block-lowlight/src/index.d.ts", - "import": "./dist/tiptap-extension-code-block-lowlight.esm.js", - "require": "./dist/tiptap-extension-code-block-lowlight.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-code-block-lowlight.cjs", - "umd": "dist/tiptap-extension-code-block-lowlight.umd.js", - "module": "dist/tiptap-extension-code-block-lowlight.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-code-block-lowlight/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "@tiptap/extension-code-block": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" - }, - "devDependencies": { "@tiptap/core": "^2.0.0-beta.209", "@tiptap/extension-code-block": "^2.0.0-beta.209", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/pm": "^2.0.0-beta.209" + }, + "devDependencies": { + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-code-block": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-code-block-lowlight" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-code-block-lowlight/rollup.config.js b/packages/extension-code-block-lowlight/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-code-block-lowlight/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-code-block-lowlight/src/lowlight-plugin.ts b/packages/extension-code-block-lowlight/src/lowlight-plugin.ts index 6c0ec1c26..5280ca5d9 100644 --- a/packages/extension-code-block-lowlight/src/lowlight-plugin.ts +++ b/packages/extension-code-block-lowlight/src/lowlight-plugin.ts @@ -1,19 +1,14 @@ import { findChildren } from '@tiptap/core' +import { Node as ProsemirrorNode } from '@tiptap/pm/model' +import { Plugin, PluginKey } from '@tiptap/pm/state' +import { Decoration, DecorationSet } from '@tiptap/pm/view' // @ts-ignore import highlight from 'highlight.js/lib/core' -import { Node as ProsemirrorNode } from 'prosemirror-model' -import { Plugin, PluginKey } from 'prosemirror-state' -import { Decoration, DecorationSet } from 'prosemirror-view' -function parseNodes(nodes: any[], className: string[] = []): { text: string, classes: string[] }[] { +function parseNodes(nodes: any[], className: string[] = []): { text: string; classes: string[] }[] { return nodes .map(node => { - const classes = [ - ...className, - ...node.properties - ? node.properties.className - : [], - ] + const classes = [...className, ...(node.properties ? node.properties.className : [])] if (node.children) { return parseNodes(node.children, classes) @@ -41,33 +36,37 @@ function getDecorations({ name, lowlight, defaultLanguage, -}: { doc: ProsemirrorNode, name: string, lowlight: any, defaultLanguage: string | null | undefined }) { +}: { + doc: ProsemirrorNode + name: string + lowlight: any + defaultLanguage: string | null | undefined +}) { const decorations: Decoration[] = [] - findChildren(doc, node => node.type.name === name) - .forEach(block => { - let from = block.pos + 1 - const language = block.node.attrs.language || defaultLanguage - const languages = lowlight.listLanguages() + findChildren(doc, node => node.type.name === name).forEach(block => { + let from = block.pos + 1 + const language = block.node.attrs.language || defaultLanguage + const languages = lowlight.listLanguages() - const nodes = language && (languages.includes(language) || registered(language)) - ? getHighlightNodes(lowlight.highlight(language, block.node.textContent)) - : getHighlightNodes(lowlight.highlightAuto(block.node.textContent)) + const nodes = language && (languages.includes(language) || registered(language)) + ? getHighlightNodes(lowlight.highlight(language, block.node.textContent)) + : getHighlightNodes(lowlight.highlightAuto(block.node.textContent)) - parseNodes(nodes).forEach(node => { - const to = from + node.text.length + parseNodes(nodes).forEach(node => { + const to = from + node.text.length - if (node.classes.length) { - const decoration = Decoration.inline(from, to, { - class: node.classes.join(' '), - }) + if (node.classes.length) { + const decoration = Decoration.inline(from, to, { + class: node.classes.join(' '), + }) - decorations.push(decoration) - } + decorations.push(decoration) + } - from = to - }) + from = to }) + }) return DecorationSet.create(doc, decorations) } @@ -76,9 +75,19 @@ function isFunction(param: Function) { return typeof param === 'function' } -export function LowlightPlugin({ name, lowlight, defaultLanguage }: { name: string, lowlight: any, defaultLanguage: string | null | undefined }) { +export function LowlightPlugin({ + name, + lowlight, + defaultLanguage, +}: { + name: string + lowlight: any + defaultLanguage: string | null | undefined +}) { if (!['highlight', 'highlightAuto', 'listLanguages'].every(api => isFunction(lowlight[api]))) { - throw Error('You should provide an instance of lowlight to use the code-block-lowlight extension') + throw Error( + 'You should provide an instance of lowlight to use the code-block-lowlight extension', + ) } const lowlightPlugin: Plugin = new Plugin({ @@ -100,9 +109,8 @@ export function LowlightPlugin({ name, lowlight, defaultLanguage }: { name: stri if ( transaction.docChanged // Apply decorations if: - && ( - // selection includes named node, - [oldNodeName, newNodeName].includes(name) + // selection includes named node, + && ([oldNodeName, newNodeName].includes(name) // OR transaction adds/removes named node, || newNodes.length !== oldNodes.length // OR transaction has changes that completely encapsulte a node @@ -110,17 +118,22 @@ export function LowlightPlugin({ name, lowlight, defaultLanguage }: { name: stri // Such transactions can happen during collab syncing via y-prosemirror, for example. || transaction.steps.some(step => { // @ts-ignore - return step.from !== undefined + return ( + // @ts-ignore + step.from !== undefined // @ts-ignore && step.to !== undefined && oldNodes.some(node => { // @ts-ignore - return node.pos >= step.from + return ( + // @ts-ignore + node.pos >= step.from // @ts-ignore && node.pos + node.node.nodeSize <= step.to + ) }) - }) - ) + ) + })) ) { return getDecorations({ doc: transaction.doc, diff --git a/packages/extension-code-block/CHANGELOG.md b/packages/extension-code-block/CHANGELOG.md index 94e078025..880d58e1b 100644 --- a/packages/extension-code-block/CHANGELOG.md +++ b/packages/extension-code-block/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-code-block + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-code-block + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-code-block + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-code-block + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-code-block + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-code-block + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-code-block + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-code-block diff --git a/packages/extension-code-block/package.json b/packages/extension-code-block/package.json index e05f4ec97..dcd276a06 100644 --- a/packages/extension-code-block/package.json +++ b/packages/extension-code-block/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-code-block", "description": "code block extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,29 +16,33 @@ "exports": { ".": { "types": "./dist/packages/extension-code-block/src/index.d.ts", - "import": "./dist/tiptap-extension-code-block.esm.js", - "require": "./dist/tiptap-extension-code-block.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-code-block.cjs", - "umd": "dist/tiptap-extension-code-block.umd.js", - "module": "dist/tiptap-extension-code-block.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-code-block/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-code-block" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-code-block/rollup.config.js b/packages/extension-code-block/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-code-block/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-code-block/src/code-block.ts b/packages/extension-code-block/src/code-block.ts index fec3461bf..9f8619487 100644 --- a/packages/extension-code-block/src/code-block.ts +++ b/packages/extension-code-block/src/code-block.ts @@ -1,26 +1,26 @@ import { mergeAttributes, Node, textblockTypeInputRule } from '@tiptap/core' -import { Plugin, PluginKey, TextSelection } from 'prosemirror-state' +import { Plugin, PluginKey, TextSelection } from '@tiptap/pm/state' export interface CodeBlockOptions { /** * Adds a prefix to language classes that are applied to code tags. * Defaults to `'language-'`. */ - languageClassPrefix: string, + languageClassPrefix: string /** * Define whether the node should be exited on triple enter. * Defaults to `true`. */ - exitOnTripleEnter: boolean, + exitOnTripleEnter: boolean /** * Define whether the node should be exited on arrow down if there is no node after it. * Defaults to `true`. */ - exitOnArrowDown: boolean, + exitOnArrowDown: boolean /** * Custom HTML attributes that should be added to the rendered HTML tag. */ - HTMLAttributes: Record, + HTMLAttributes: Record } declare module '@tiptap/core' { @@ -29,11 +29,11 @@ declare module '@tiptap/core' { /** * Set a code block */ - setCodeBlock: (attributes?: { language: string }) => ReturnType, + setCodeBlock: (attributes?: { language: string }) => ReturnType /** * Toggle a code block */ - toggleCodeBlock: (attributes?: { language: string }) => ReturnType, + toggleCodeBlock: (attributes?: { language: string }) => ReturnType } } } @@ -69,7 +69,7 @@ export const CodeBlock = Node.create({ default: null, parseHTML: element => { const { languageClassPrefix } = this.options - const classNames = [...element.firstElementChild?.classList || []] + const classNames = [...(element.firstElementChild?.classList || [])] const languages = classNames .filter(className => className.startsWith(languageClassPrefix)) .map(className => className.replace(languageClassPrefix, '')) @@ -113,12 +113,14 @@ export const CodeBlock = Node.create({ addCommands() { return { - setCodeBlock: attributes => ({ commands }) => { - return commands.setNode(this.name, attributes) - }, - toggleCodeBlock: attributes => ({ commands }) => { - return commands.toggleNode(this.name, 'paragraph', attributes) - }, + setCodeBlock: + attributes => ({ commands }) => { + return commands.setNode(this.name, attributes) + }, + toggleCodeBlock: + attributes => ({ commands }) => { + return commands.toggleNode(this.name, 'paragraph', attributes) + }, } }, @@ -249,9 +251,7 @@ export const CodeBlock = Node.create({ const text = event.clipboardData.getData('text/plain') const vscode = event.clipboardData.getData('vscode-editor-data') - const vscodeData = vscode - ? JSON.parse(vscode) - : undefined + const vscodeData = vscode ? JSON.parse(vscode) : undefined const language = vscodeData?.mode if (!text || !language) { diff --git a/packages/extension-code/CHANGELOG.md b/packages/extension-code/CHANGELOG.md index 033508044..c455fc478 100644 --- a/packages/extension-code/CHANGELOG.md +++ b/packages/extension-code/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-code + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-code + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-code + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-code + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-code + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-code + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-code + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-code diff --git a/packages/extension-code/package.json b/packages/extension-code/package.json index 375d19230..83bcc4230 100644 --- a/packages/extension-code/package.json +++ b/packages/extension-code/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-code", "description": "code extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-code/src/index.d.ts", - "import": "./dist/tiptap-extension-code.esm.js", - "require": "./dist/tiptap-extension-code.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-code.cjs", - "umd": "dist/tiptap-extension-code.umd.js", - "module": "dist/tiptap-extension-code.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-code/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-code" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-code/rollup.config.js b/packages/extension-code/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-code/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-collaboration-cursor/CHANGELOG.md b/packages/extension-collaboration-cursor/CHANGELOG.md index 35ded4daa..0898a501b 100644 --- a/packages/extension-collaboration-cursor/CHANGELOG.md +++ b/packages/extension-collaboration-cursor/CHANGELOG.md @@ -3,6 +3,87 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-collaboration-cursor + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-collaboration-cursor + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-collaboration-cursor + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-collaboration-cursor + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-collaboration-cursor + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + + +### Bug Fixes + +* **collaboration:** fix missing y-prosemirror dependency ([ef108df](https://github.com/ueberdosis/tiptap/commit/ef108df92cfdc93bf2ad9c5b413871d40b7c5a44)) + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-collaboration-cursor + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-collaboration-cursor diff --git a/packages/extension-collaboration-cursor/package.json b/packages/extension-collaboration-cursor/package.json index 44244456c..b330af844 100644 --- a/packages/extension-collaboration-cursor/package.json +++ b/packages/extension-collaboration-cursor/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-collaboration-cursor", "description": "collaboration cursor extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,29 +16,34 @@ "exports": { ".": { "types": "./dist/packages/extension-collaboration-cursor/src/index.d.ts", - "import": "./dist/tiptap-extension-collaboration-cursor.esm.js", - "require": "./dist/tiptap-extension-collaboration-cursor.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-collaboration-cursor.cjs", - "umd": "dist/tiptap-extension-collaboration-cursor.umd.js", - "module": "dist/tiptap-extension-collaboration-cursor.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-collaboration-cursor/src/index.d.ts", "files": [ "src", "dist" ], - "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", + "dependencies": { "y-prosemirror": "1.0.20" }, + "peerDependencies": { + "@tiptap/core": "^2.0.0-beta.209" + }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "y-prosemirror": "1.0.20" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-collaboration-cursor" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-collaboration-cursor/rollup.config.js b/packages/extension-collaboration-cursor/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-collaboration-cursor/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-collaboration/CHANGELOG.md b/packages/extension-collaboration/CHANGELOG.md index 41fb981bd..33b7f5531 100644 --- a/packages/extension-collaboration/CHANGELOG.md +++ b/packages/extension-collaboration/CHANGELOG.md @@ -3,6 +3,87 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-collaboration + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-collaboration + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-collaboration + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-collaboration + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-collaboration + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + + +### Bug Fixes + +* **collaboration:** fix missing y-prosemirror dependency ([ef108df](https://github.com/ueberdosis/tiptap/commit/ef108df92cfdc93bf2ad9c5b413871d40b7c5a44)) + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-collaboration + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-collaboration diff --git a/packages/extension-collaboration/package.json b/packages/extension-collaboration/package.json index 947f8894b..f50fae057 100644 --- a/packages/extension-collaboration/package.json +++ b/packages/extension-collaboration/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-collaboration", "description": "collaboration extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,31 +16,35 @@ "exports": { ".": { "types": "./dist/packages/extension-collaboration/src/index.d.ts", - "import": "./dist/tiptap-extension-collaboration.esm.js", - "require": "./dist/tiptap-extension-collaboration.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-collaboration.cjs", - "umd": "dist/tiptap-extension-collaboration.umd.js", - "module": "dist/tiptap-extension-collaboration.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-collaboration/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1", + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209", "y-prosemirror": "1.0.20" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-state": "^1.4.1", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "y-prosemirror": "1.0.20" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-collaboration" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-collaboration/rollup.config.js b/packages/extension-collaboration/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-collaboration/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-collaboration/src/helpers/isChangeOrigin.ts b/packages/extension-collaboration/src/helpers/isChangeOrigin.ts index e281148d6..754b7fbf0 100644 --- a/packages/extension-collaboration/src/helpers/isChangeOrigin.ts +++ b/packages/extension-collaboration/src/helpers/isChangeOrigin.ts @@ -1,4 +1,4 @@ -import { Transaction } from 'prosemirror-state' +import { Transaction } from '@tiptap/pm/state' import { ySyncPluginKey } from 'y-prosemirror' export function isChangeOrigin(transaction: Transaction): boolean { diff --git a/packages/extension-color/CHANGELOG.md b/packages/extension-color/CHANGELOG.md index e73f1f6ae..a1417ee79 100644 --- a/packages/extension-color/CHANGELOG.md +++ b/packages/extension-color/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-color + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-color + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-color + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-color + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-color + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-color + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-color + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-color diff --git a/packages/extension-color/package.json b/packages/extension-color/package.json index 98f00851c..3f708a450 100644 --- a/packages/extension-color/package.json +++ b/packages/extension-color/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-color", "description": "text color extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,29 +16,33 @@ "exports": { ".": { "types": "./dist/packages/extension-color/src/index.d.ts", - "import": "./dist/tiptap-extension-color.esm.js", - "require": "./dist/tiptap-extension-color.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-color.cjs", - "umd": "dist/tiptap-extension-color.umd.js", - "module": "dist/tiptap-extension-color.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-color/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "@tiptap/extension-text-style": "^2.0.0-beta.193" - }, - "devDependencies": { "@tiptap/core": "^2.0.0-beta.209", "@tiptap/extension-text-style": "^2.0.0-beta.209" }, + "devDependencies": { + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-text-style": "^2.0.0-beta.218" + }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-color" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-color/rollup.config.js b/packages/extension-color/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-color/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-document/CHANGELOG.md b/packages/extension-document/CHANGELOG.md index 5d3a2598f..9dd838fe5 100644 --- a/packages/extension-document/CHANGELOG.md +++ b/packages/extension-document/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-document + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-document + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-document + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-document + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-document + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-document + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-document + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-document diff --git a/packages/extension-document/package.json b/packages/extension-document/package.json index 038e9739a..f515d2719 100644 --- a/packages/extension-document/package.json +++ b/packages/extension-document/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-document", "description": "document extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-document/src/index.d.ts", - "import": "./dist/tiptap-extension-document.esm.js", - "require": "./dist/tiptap-extension-document.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-document.cjs", - "umd": "dist/tiptap-extension-document.umd.js", - "module": "dist/tiptap-extension-document.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-document/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-document" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-document/rollup.config.js b/packages/extension-document/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-document/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-dropcursor/CHANGELOG.md b/packages/extension-dropcursor/CHANGELOG.md index 6510b707e..0c4e08775 100644 --- a/packages/extension-dropcursor/CHANGELOG.md +++ b/packages/extension-dropcursor/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-dropcursor + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-dropcursor + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-dropcursor + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-dropcursor + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-dropcursor + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-dropcursor + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-dropcursor + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-dropcursor diff --git a/packages/extension-dropcursor/package.json b/packages/extension-dropcursor/package.json index 058eb40f0..d8e54bc62 100644 --- a/packages/extension-dropcursor/package.json +++ b/packages/extension-dropcursor/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-dropcursor", "description": "dropcursor extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,29 +16,33 @@ "exports": { ".": { "types": "./dist/packages/extension-dropcursor/src/index.d.ts", - "import": "./dist/tiptap-extension-dropcursor.esm.js", - "require": "./dist/tiptap-extension-dropcursor.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-dropcursor.cjs", - "umd": "dist/tiptap-extension-dropcursor.umd.js", - "module": "dist/tiptap-extension-dropcursor.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-dropcursor/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-dropcursor": "1.5.0" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-dropcursor": "1.5.0" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-dropcursor" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-dropcursor/rollup.config.js b/packages/extension-dropcursor/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-dropcursor/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-dropcursor/src/dropcursor.ts b/packages/extension-dropcursor/src/dropcursor.ts index 681939a2d..4cc0a4a20 100644 --- a/packages/extension-dropcursor/src/dropcursor.ts +++ b/packages/extension-dropcursor/src/dropcursor.ts @@ -1,5 +1,5 @@ import { Extension } from '@tiptap/core' -import { dropCursor } from 'prosemirror-dropcursor' +import { dropCursor } from '@tiptap/pm/dropcursor' export interface DropcursorOptions { color: string | undefined, diff --git a/packages/extension-floating-menu/CHANGELOG.md b/packages/extension-floating-menu/CHANGELOG.md index 67d4bf3e0..5a08ba30e 100644 --- a/packages/extension-floating-menu/CHANGELOG.md +++ b/packages/extension-floating-menu/CHANGELOG.md @@ -3,6 +3,87 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-floating-menu + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-floating-menu + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-floating-menu + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-floating-menu + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + + +### Bug Fixes + +* **bubble-menu:** change lodash to lodash-es for esbuild ([2d7661c](https://github.com/ueberdosis/tiptap/commit/2d7661c910a76f1d362728a48a3c3a09236a2b00)) + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-floating-menu + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-floating-menu + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-floating-menu diff --git a/packages/extension-floating-menu/package.json b/packages/extension-floating-menu/package.json index 5a123f519..f8edbe29c 100644 --- a/packages/extension-floating-menu/package.json +++ b/packages/extension-floating-menu/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-floating-menu", "description": "floating-menu extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,25 @@ "exports": { ".": { "types": "./dist/packages/extension-floating-menu/src/index.d.ts", - "import": "./dist/tiptap-extension-floating-menu.esm.js", - "require": "./dist/tiptap-extension-floating-menu.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-floating-menu.cjs", - "umd": "dist/tiptap-extension-floating-menu.umd.js", - "module": "dist/tiptap-extension-floating-menu.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-floating-menu/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "dependencies": { "tippy.js": "^6.3.7" @@ -46,5 +44,9 @@ "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-floating-menu" }, - "sideEffects": false + "sideEffects": false, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" + } } diff --git a/packages/extension-floating-menu/rollup.config.js b/packages/extension-floating-menu/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-floating-menu/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-floating-menu/src/floating-menu-plugin.ts b/packages/extension-floating-menu/src/floating-menu-plugin.ts index 6f4f6e2bc..ed1079878 100644 --- a/packages/extension-floating-menu/src/floating-menu-plugin.ts +++ b/packages/extension-floating-menu/src/floating-menu-plugin.ts @@ -1,23 +1,25 @@ import { Editor, posToDOMRect } from '@tiptap/core' -import { EditorState, Plugin, PluginKey } from 'prosemirror-state' -import { EditorView } from 'prosemirror-view' +import { EditorState, Plugin, PluginKey } from '@tiptap/pm/state' +import { EditorView } from '@tiptap/pm/view' import tippy, { Instance, Props } from 'tippy.js' export interface FloatingMenuPluginProps { - pluginKey: PluginKey | string, - editor: Editor, - element: HTMLElement, - tippyOptions?: Partial, - shouldShow?: ((props: { - editor: Editor, - view: EditorView, - state: EditorState, - oldState?: EditorState, - }) => boolean) | null, + pluginKey: PluginKey | string + editor: Editor + element: HTMLElement + tippyOptions?: Partial + shouldShow?: + | ((props: { + editor: Editor + view: EditorView + state: EditorState + oldState?: EditorState + }) => boolean) + | null } export type FloatingMenuViewProps = FloatingMenuPluginProps & { - view: EditorView, + view: EditorView } export class FloatingMenuView { @@ -37,9 +39,7 @@ export class FloatingMenuView { const { selection } = state const { $anchor, empty } = selection const isRootDepth = $anchor.depth === 1 - const isEmptyTextBlock = $anchor.parent.isTextblock - && !$anchor.parent.type.spec.code - && !$anchor.parent.textContent + const isEmptyTextBlock = $anchor.parent.isTextblock && !$anchor.parent.type.spec.code && !$anchor.parent.textContent if ( !view.hasFocus() @@ -55,11 +55,7 @@ export class FloatingMenuView { } constructor({ - editor, - element, - view, - tippyOptions = {}, - shouldShow, + editor, element, view, tippyOptions = {}, shouldShow, }: FloatingMenuViewProps) { this.editor = editor this.element = element @@ -94,17 +90,14 @@ export class FloatingMenuView { return } - if ( - event?.relatedTarget - && this.element.parentNode?.contains(event.relatedTarget as Node) - ) { + if (event?.relatedTarget && this.element.parentNode?.contains(event.relatedTarget as Node)) { return } this.hide() } - tippyBlurHandler = (event : FocusEvent) => { + tippyBlurHandler = (event: FocusEvent) => { this.blurHandler({ event }) } @@ -159,7 +152,8 @@ export class FloatingMenuView { } this.tippy?.setProps({ - getReferenceClientRect: this.tippyOptions?.getReferenceClientRect || (() => posToDOMRect(view, from, to)), + getReferenceClientRect: + this.tippyOptions?.getReferenceClientRect || (() => posToDOMRect(view, from, to)), }) this.show() @@ -175,7 +169,10 @@ export class FloatingMenuView { destroy() { if (this.tippy?.popper.firstChild) { - (this.tippy.popper.firstChild as HTMLElement).removeEventListener('blur', this.tippyBlurHandler) + (this.tippy.popper.firstChild as HTMLElement).removeEventListener( + 'blur', + this.tippyBlurHandler, + ) } this.tippy?.destroy() this.element.removeEventListener('mousedown', this.mousedownHandler, { capture: true }) @@ -186,9 +183,8 @@ export class FloatingMenuView { export const FloatingMenuPlugin = (options: FloatingMenuPluginProps) => { return new Plugin({ - key: typeof options.pluginKey === 'string' - ? new PluginKey(options.pluginKey) - : options.pluginKey, + key: + typeof options.pluginKey === 'string' ? new PluginKey(options.pluginKey) : options.pluginKey, view: view => new FloatingMenuView({ view, ...options }), }) } diff --git a/packages/extension-focus/CHANGELOG.md b/packages/extension-focus/CHANGELOG.md index b495b71d7..69b4c55f5 100644 --- a/packages/extension-focus/CHANGELOG.md +++ b/packages/extension-focus/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-focus + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-focus + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-focus + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-focus + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-focus + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-focus + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-focus + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-focus diff --git a/packages/extension-focus/package.json b/packages/extension-focus/package.json index 0495a8906..c94a9d466 100644 --- a/packages/extension-focus/package.json +++ b/packages/extension-focus/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-focus", "description": "focus extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,31 +16,33 @@ "exports": { ".": { "types": "./dist/packages/extension-focus/src/index.d.ts", - "import": "./dist/tiptap-extension-focus.esm.js", - "require": "./dist/tiptap-extension-focus.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-focus.cjs", - "umd": "dist/tiptap-extension-focus.umd.js", - "module": "dist/tiptap-extension-focus.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-focus/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-focus" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-focus/rollup.config.js b/packages/extension-focus/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-focus/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-focus/src/focus.ts b/packages/extension-focus/src/focus.ts index 6e1d8f26f..65e5e9244 100644 --- a/packages/extension-focus/src/focus.ts +++ b/packages/extension-focus/src/focus.ts @@ -1,10 +1,10 @@ import { Extension } from '@tiptap/core' -import { Plugin, PluginKey } from 'prosemirror-state' -import { Decoration, DecorationSet } from 'prosemirror-view' +import { Plugin, PluginKey } from '@tiptap/pm/state' +import { Decoration, DecorationSet } from '@tiptap/pm/view' export interface FocusOptions { - className: string, - mode: 'all' | 'deepest' | 'shallowest', + className: string + mode: 'all' | 'deepest' | 'shallowest' } export const FocusClasses = Extension.create({ @@ -40,7 +40,7 @@ export const FocusClasses = Extension.create({ return } - const isCurrent = anchor >= pos && anchor <= (pos + node.nodeSize - 1) + const isCurrent = anchor >= pos && anchor <= pos + node.nodeSize - 1 if (!isCurrent) { return false @@ -58,7 +58,7 @@ export const FocusClasses = Extension.create({ return false } - const isCurrent = anchor >= pos && anchor <= (pos + node.nodeSize - 1) + const isCurrent = anchor >= pos && anchor <= pos + node.nodeSize - 1 if (!isCurrent) { return false @@ -73,9 +73,11 @@ export const FocusClasses = Extension.create({ return this.options.mode === 'deepest' } - decorations.push(Decoration.node(pos, pos + node.nodeSize, { - class: this.options.className, - })) + decorations.push( + Decoration.node(pos, pos + node.nodeSize, { + class: this.options.className, + }), + ) }) return DecorationSet.create(doc, decorations) diff --git a/packages/extension-font-family/CHANGELOG.md b/packages/extension-font-family/CHANGELOG.md index 81f818ba0..d50452ab8 100644 --- a/packages/extension-font-family/CHANGELOG.md +++ b/packages/extension-font-family/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-font-family + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-font-family + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-font-family + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-font-family + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-font-family + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-font-family + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-font-family + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-font-family diff --git a/packages/extension-font-family/package.json b/packages/extension-font-family/package.json index a0478b893..2be9bd555 100644 --- a/packages/extension-font-family/package.json +++ b/packages/extension-font-family/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-font-family", "description": "font family extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,29 +16,33 @@ "exports": { ".": { "types": "./dist/packages/extension-font-family/src/index.d.ts", - "import": "./dist/tiptap-extension-font-family.esm.js", - "require": "./dist/tiptap-extension-font-family.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-font-family.cjs", - "umd": "dist/tiptap-extension-font-family.umd.js", - "module": "dist/tiptap-extension-font-family.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-font-family/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "@tiptap/extension-text-style": "^2.0.0-beta.193" - }, - "devDependencies": { "@tiptap/core": "^2.0.0-beta.209", "@tiptap/extension-text-style": "^2.0.0-beta.209" }, + "devDependencies": { + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-text-style": "^2.0.0-beta.218" + }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-font-family" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-font-family/rollup.config.js b/packages/extension-font-family/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-font-family/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-gapcursor/CHANGELOG.md b/packages/extension-gapcursor/CHANGELOG.md index c3ef6abe8..5aa5794a2 100644 --- a/packages/extension-gapcursor/CHANGELOG.md +++ b/packages/extension-gapcursor/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-gapcursor + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-gapcursor + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-gapcursor + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-gapcursor + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-gapcursor + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-gapcursor + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-gapcursor + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-gapcursor diff --git a/packages/extension-gapcursor/package.json b/packages/extension-gapcursor/package.json index 50ac597be..e5f35710d 100644 --- a/packages/extension-gapcursor/package.json +++ b/packages/extension-gapcursor/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-gapcursor", "description": "gapcursor extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,29 +16,33 @@ "exports": { ".": { "types": "./dist/packages/extension-gapcursor/src/index.d.ts", - "import": "./dist/tiptap-extension-gapcursor.esm.js", - "require": "./dist/tiptap-extension-gapcursor.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-gapcursor.cjs", - "umd": "dist/tiptap-extension-gapcursor.umd.js", - "module": "dist/tiptap-extension-gapcursor.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-gapcursor/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-gapcursor": "^1.3.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-gapcursor": "^1.3.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-gapcursor" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-gapcursor/rollup.config.js b/packages/extension-gapcursor/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-gapcursor/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-gapcursor/src/gapcursor.ts b/packages/extension-gapcursor/src/gapcursor.ts index 0ec66b4d9..cabfc49e2 100644 --- a/packages/extension-gapcursor/src/gapcursor.ts +++ b/packages/extension-gapcursor/src/gapcursor.ts @@ -4,7 +4,7 @@ import { getExtensionField, ParentConfig, } from '@tiptap/core' -import { gapCursor } from 'prosemirror-gapcursor' +import { gapCursor } from '@tiptap/pm/gapcursor' declare module '@tiptap/core' { interface NodeConfig { diff --git a/packages/extension-hard-break/CHANGELOG.md b/packages/extension-hard-break/CHANGELOG.md index e9e8fd9d8..28668430f 100644 --- a/packages/extension-hard-break/CHANGELOG.md +++ b/packages/extension-hard-break/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-hard-break + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-hard-break + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-hard-break + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-hard-break + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-hard-break + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-hard-break + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-hard-break + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-hard-break diff --git a/packages/extension-hard-break/package.json b/packages/extension-hard-break/package.json index 730b4e63f..53c97b872 100644 --- a/packages/extension-hard-break/package.json +++ b/packages/extension-hard-break/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-hard-break", "description": "hard break extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-hard-break/src/index.d.ts", - "import": "./dist/tiptap-extension-hard-break.esm.js", - "require": "./dist/tiptap-extension-hard-break.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-hard-break.cjs", - "umd": "dist/tiptap-extension-hard-break.umd.js", - "module": "dist/tiptap-extension-hard-break.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-hard-break/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-hard-break" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-hard-break/rollup.config.js b/packages/extension-hard-break/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-hard-break/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-heading/CHANGELOG.md b/packages/extension-heading/CHANGELOG.md index 2577ad182..609eba3f8 100644 --- a/packages/extension-heading/CHANGELOG.md +++ b/packages/extension-heading/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-heading + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-heading + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-heading + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-heading + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-heading + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-heading + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-heading + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-heading diff --git a/packages/extension-heading/package.json b/packages/extension-heading/package.json index aa27542f2..dc61118e7 100644 --- a/packages/extension-heading/package.json +++ b/packages/extension-heading/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-heading", "description": "heading extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-heading/src/index.d.ts", - "import": "./dist/tiptap-extension-heading.esm.js", - "require": "./dist/tiptap-extension-heading.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-heading.cjs", - "umd": "dist/tiptap-extension-heading.umd.js", - "module": "dist/tiptap-extension-heading.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-heading/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-heading" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-heading/rollup.config.js b/packages/extension-heading/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-heading/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-highlight/CHANGELOG.md b/packages/extension-highlight/CHANGELOG.md index cdde8bb1e..bc8025fa1 100644 --- a/packages/extension-highlight/CHANGELOG.md +++ b/packages/extension-highlight/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-highlight + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-highlight + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-highlight + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-highlight + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-highlight + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-highlight + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-highlight + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-highlight diff --git a/packages/extension-highlight/package.json b/packages/extension-highlight/package.json index 91c2dc2cd..a2882737e 100644 --- a/packages/extension-highlight/package.json +++ b/packages/extension-highlight/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-highlight", "description": "highlight extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-highlight/src/index.d.ts", - "import": "./dist/tiptap-extension-highlight.esm.js", - "require": "./dist/tiptap-extension-highlight.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-highlight.cjs", - "umd": "dist/tiptap-extension-highlight.umd.js", - "module": "dist/tiptap-extension-highlight.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-highlight/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-highlight" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-highlight/rollup.config.js b/packages/extension-highlight/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-highlight/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-history/CHANGELOG.md b/packages/extension-history/CHANGELOG.md index 084ef4070..1307f91b2 100644 --- a/packages/extension-history/CHANGELOG.md +++ b/packages/extension-history/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-history + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-history + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-history + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-history + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-history + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-history + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-history + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-history diff --git a/packages/extension-history/package.json b/packages/extension-history/package.json index c99ed9ffc..a1677f5e6 100644 --- a/packages/extension-history/package.json +++ b/packages/extension-history/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-history", "description": "history extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,29 +16,33 @@ "exports": { ".": { "types": "./dist/packages/extension-history/src/index.d.ts", - "import": "./dist/tiptap-extension-history.esm.js", - "require": "./dist/tiptap-extension-history.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-history.cjs", - "umd": "dist/tiptap-extension-history.umd.js", - "module": "dist/tiptap-extension-history.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-history/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-history": "^1.3.0" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-history": "^1.3.0" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-history" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-history/rollup.config.js b/packages/extension-history/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-history/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-history/src/history.ts b/packages/extension-history/src/history.ts index 9f6919fa6..3c1255de8 100644 --- a/packages/extension-history/src/history.ts +++ b/packages/extension-history/src/history.ts @@ -1,5 +1,5 @@ import { Extension } from '@tiptap/core' -import { history, redo, undo } from 'prosemirror-history' +import { history, redo, undo } from '@tiptap/pm/history' export interface HistoryOptions { depth: number, diff --git a/packages/extension-horizontal-rule/CHANGELOG.md b/packages/extension-horizontal-rule/CHANGELOG.md index 302ab15be..bcb207d42 100644 --- a/packages/extension-horizontal-rule/CHANGELOG.md +++ b/packages/extension-horizontal-rule/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-horizontal-rule + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-horizontal-rule + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-horizontal-rule + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-horizontal-rule + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-horizontal-rule + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-horizontal-rule + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-horizontal-rule + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-horizontal-rule diff --git a/packages/extension-horizontal-rule/package.json b/packages/extension-horizontal-rule/package.json index de091376d..892ae934d 100644 --- a/packages/extension-horizontal-rule/package.json +++ b/packages/extension-horizontal-rule/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-horizontal-rule", "description": "horizontal rule extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,29 +16,33 @@ "exports": { ".": { "types": "./dist/packages/extension-horizontal-rule/src/index.d.ts", - "import": "./dist/tiptap-extension-horizontal-rule.esm.js", - "require": "./dist/tiptap-extension-horizontal-rule.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-horizontal-rule.cjs", - "umd": "dist/tiptap-extension-horizontal-rule.umd.js", - "module": "dist/tiptap-extension-horizontal-rule.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-horizontal-rule/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-horizontal-rule" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-horizontal-rule/rollup.config.js b/packages/extension-horizontal-rule/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-horizontal-rule/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-horizontal-rule/src/horizontal-rule.ts b/packages/extension-horizontal-rule/src/horizontal-rule.ts index 1f5c89734..5d75a1be2 100644 --- a/packages/extension-horizontal-rule/src/horizontal-rule.ts +++ b/packages/extension-horizontal-rule/src/horizontal-rule.ts @@ -1,12 +1,8 @@ -import { - mergeAttributes, - Node, - nodeInputRule, -} from '@tiptap/core' -import { TextSelection } from 'prosemirror-state' +import { mergeAttributes, Node, nodeInputRule } from '@tiptap/core' +import { TextSelection } from '@tiptap/pm/state' export interface HorizontalRuleOptions { - HTMLAttributes: Record, + HTMLAttributes: Record } declare module '@tiptap/core' { @@ -15,7 +11,7 @@ declare module '@tiptap/core' { /** * Add a horizontal rule */ - setHorizontalRule: () => ReturnType, + setHorizontalRule: () => ReturnType } } } @@ -32,9 +28,7 @@ export const HorizontalRule = Node.create({ group: 'block', parseHTML() { - return [ - { tag: 'hr' }, - ] + return [{ tag: 'hr' }] }, renderHTML({ HTMLAttributes }) { @@ -43,34 +37,37 @@ export const HorizontalRule = Node.create({ addCommands() { return { - setHorizontalRule: () => ({ chain }) => { - return chain() - .insertContent({ type: this.name }) - // set cursor after horizontal rule - .command(({ tr, dispatch }) => { - if (dispatch) { - const { $to } = tr.selection - const posAfter = $to.end() + setHorizontalRule: + () => ({ chain }) => { + return ( + chain() + .insertContent({ type: this.name }) + // set cursor after horizontal rule + .command(({ tr, dispatch }) => { + if (dispatch) { + const { $to } = tr.selection + const posAfter = $to.end() - if ($to.nodeAfter) { - tr.setSelection(TextSelection.create(tr.doc, $to.pos)) - } else { - // add node after horizontal rule if it’s the end of the document - const node = $to.parent.type.contentMatch.defaultType?.create() + if ($to.nodeAfter) { + tr.setSelection(TextSelection.create(tr.doc, $to.pos)) + } else { + // add node after horizontal rule if it’s the end of the document + const node = $to.parent.type.contentMatch.defaultType?.create() - if (node) { - tr.insert(posAfter, node) - tr.setSelection(TextSelection.create(tr.doc, posAfter)) - } - } + if (node) { + tr.insert(posAfter, node) + tr.setSelection(TextSelection.create(tr.doc, posAfter)) + } + } - tr.scrollIntoView() - } + tr.scrollIntoView() + } - return true - }) - .run() - }, + return true + }) + .run() + ) + }, } }, diff --git a/packages/extension-image/CHANGELOG.md b/packages/extension-image/CHANGELOG.md index 46aad27dc..5e7ff15f7 100644 --- a/packages/extension-image/CHANGELOG.md +++ b/packages/extension-image/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-image + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-image + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-image + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-image + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-image + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-image + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-image + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-image diff --git a/packages/extension-image/package.json b/packages/extension-image/package.json index 2a33d2518..8ac4a57e6 100644 --- a/packages/extension-image/package.json +++ b/packages/extension-image/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-image", "description": "image extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-image/src/index.d.ts", - "import": "./dist/tiptap-extension-image.esm.js", - "require": "./dist/tiptap-extension-image.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-image.cjs", - "umd": "dist/tiptap-extension-image.umd.js", - "module": "dist/tiptap-extension-image.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-image/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-image" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-image/rollup.config.js b/packages/extension-image/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-image/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-italic/CHANGELOG.md b/packages/extension-italic/CHANGELOG.md index c826143b7..832a89057 100644 --- a/packages/extension-italic/CHANGELOG.md +++ b/packages/extension-italic/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-italic + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-italic + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-italic + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-italic + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-italic + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-italic + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-italic + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-italic diff --git a/packages/extension-italic/package.json b/packages/extension-italic/package.json index 81ce54d64..dc156ed15 100644 --- a/packages/extension-italic/package.json +++ b/packages/extension-italic/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-italic", "description": "italic extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-italic/src/index.d.ts", - "import": "./dist/tiptap-extension-italic.esm.js", - "require": "./dist/tiptap-extension-italic.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-italic.cjs", - "umd": "dist/tiptap-extension-italic.umd.js", - "module": "dist/tiptap-extension-italic.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-italic/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-italic" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-italic/rollup.config.js b/packages/extension-italic/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-italic/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-link/CHANGELOG.md b/packages/extension-link/CHANGELOG.md index 146b3c119..59dc1ce36 100644 --- a/packages/extension-link/CHANGELOG.md +++ b/packages/extension-link/CHANGELOG.md @@ -3,6 +3,87 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + + +### Bug Fixes + +* **extension-link:** Click handler opens selected link instead of clicked link ([#3732](https://github.com/ueberdosis/tiptap/issues/3732)) ([6997bca](https://github.com/ueberdosis/tiptap/commit/6997bcad6b60f78122c605656500c63c96ea2faa)) + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-link + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-link + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-link + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-link + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-link + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-link + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-link diff --git a/packages/extension-link/package.json b/packages/extension-link/package.json index a8a6b48a3..12b44919a 100644 --- a/packages/extension-link/package.json +++ b/packages/extension-link/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-link", "description": "link extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,25 @@ "exports": { ".": { "types": "./dist/packages/extension-link/src/index.d.ts", - "import": "./dist/tiptap-extension-link.esm.js", - "require": "./dist/tiptap-extension-link.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-link.cjs", - "umd": "dist/tiptap-extension-link.umd.js", - "module": "dist/tiptap-extension-link.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-link/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "dependencies": { "linkifyjs": "^3.0.5" @@ -45,5 +43,9 @@ "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-link" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-link/rollup.config.js b/packages/extension-link/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-link/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-link/src/helpers/autolink.ts b/packages/extension-link/src/helpers/autolink.ts index 6a8c5e035..123a610c2 100644 --- a/packages/extension-link/src/helpers/autolink.ts +++ b/packages/extension-link/src/helpers/autolink.ts @@ -5,21 +5,20 @@ import { getMarksBetween, NodeWithPos, } from '@tiptap/core' +import { MarkType } from '@tiptap/pm/model' +import { Plugin, PluginKey } from '@tiptap/pm/state' import { find, test } from 'linkifyjs' -import { MarkType } from 'prosemirror-model' -import { Plugin, PluginKey } from 'prosemirror-state' type AutolinkOptions = { - type: MarkType, - validate?: (url: string) => boolean, + type: MarkType + validate?: (url: string) => boolean } export function autolink(options: AutolinkOptions): Plugin { return new Plugin({ key: new PluginKey('autolink'), appendTransaction: (transactions, oldState, newState) => { - const docChanges = transactions.some(transaction => transaction.docChanged) - && !oldState.doc.eq(newState.doc) + const docChanges = transactions.some(transaction => transaction.docChanged) && !oldState.doc.eq(newState.doc) const preventAutolink = transactions.some(transaction => transaction.getMeta('preventAutolink')) if (!docChanges || preventAutolink) { @@ -38,8 +37,9 @@ export function autolink(options: AutolinkOptions): Plugin { .forEach(oldMark => { const newFrom = mapping.map(oldMark.from) const newTo = mapping.map(oldMark.to) - const newMarks = getMarksBetween(newFrom, newTo, newState.doc) - .filter(item => item.mark.type === options.type) + const newMarks = getMarksBetween(newFrom, newTo, newState.doc).filter( + item => item.mark.type === options.type, + ) if (!newMarks.length) { return @@ -59,7 +59,11 @@ export function autolink(options: AutolinkOptions): Plugin { }) // now let’s see if we can add new links - const nodesInChangedRanges = findChildrenInRange(newState.doc, newRange, node => node.isTextblock) + const nodesInChangedRanges = findChildrenInRange( + newState.doc, + newRange, + node => node.isTextblock, + ) let textBlock: NodeWithPos | undefined let textBeforeWhitespace: string | undefined @@ -117,9 +121,13 @@ export function autolink(options: AutolinkOptions): Plugin { })) // add link mark .forEach(link => { - tr.addMark(link.from, link.to, options.type.create({ - href: link.href, - })) + tr.addMark( + link.from, + link.to, + options.type.create({ + href: link.href, + }), + ) }) } }) diff --git a/packages/extension-link/src/helpers/clickHandler.ts b/packages/extension-link/src/helpers/clickHandler.ts index c74313e9f..6c3e7c928 100644 --- a/packages/extension-link/src/helpers/clickHandler.ts +++ b/packages/extension-link/src/helpers/clickHandler.ts @@ -1,9 +1,9 @@ import { getAttributes } from '@tiptap/core' -import { MarkType } from 'prosemirror-model' -import { Plugin, PluginKey } from 'prosemirror-state' +import { MarkType } from '@tiptap/pm/model' +import { Plugin, PluginKey } from '@tiptap/pm/state' type ClickHandlerOptions = { - type: MarkType, + type: MarkType } export function clickHandler(options: ClickHandlerOptions): Plugin { @@ -14,8 +14,11 @@ export function clickHandler(options: ClickHandlerOptions): Plugin { const attrs = getAttributes(view.state, options.type.name) const link = (event.target as HTMLElement)?.closest('a') - if (link && attrs.href) { - window.open(attrs.href, attrs.target) + const href = link?.href ?? attrs.href + const target = link?.target ?? attrs.target + + if (link && href) { + window.open(href, target) return true } diff --git a/packages/extension-link/src/helpers/pasteHandler.ts b/packages/extension-link/src/helpers/pasteHandler.ts index 6fd31b829..ed03e6903 100644 --- a/packages/extension-link/src/helpers/pasteHandler.ts +++ b/packages/extension-link/src/helpers/pasteHandler.ts @@ -1,11 +1,11 @@ import { Editor } from '@tiptap/core' +import { MarkType } from '@tiptap/pm/model' +import { Plugin, PluginKey } from '@tiptap/pm/state' import { find } from 'linkifyjs' -import { MarkType } from 'prosemirror-model' -import { Plugin, PluginKey } from 'prosemirror-state' type PasteHandlerOptions = { - editor: Editor, - type: MarkType, + editor: Editor + type: MarkType } export function pasteHandler(options: PasteHandlerOptions): Plugin { diff --git a/packages/extension-link/src/link.ts b/packages/extension-link/src/link.ts index 1eacfc7f1..a8c77a710 100644 --- a/packages/extension-link/src/link.ts +++ b/packages/extension-link/src/link.ts @@ -1,6 +1,6 @@ import { Mark, markPasteRule, mergeAttributes } from '@tiptap/core' +import { Plugin } from '@tiptap/pm/state' import { find, registerCustomProtocol, reset } from 'linkifyjs' -import { Plugin } from 'prosemirror-state' import { autolink } from './helpers/autolink' import { clickHandler } from './helpers/clickHandler' @@ -10,29 +10,29 @@ export interface LinkOptions { /** * If enabled, it adds links as you type. */ - autolink: boolean, + autolink: boolean /** * An array of custom protocols to be registered with linkifyjs. */ - protocols: Array, + protocols: Array /** * If enabled, links will be opened on click. */ - openOnClick: boolean, + openOnClick: boolean /** * Adds a link to the current selection if the pasted content only contains an url. */ - linkOnPaste: boolean, + linkOnPaste: boolean /** * A list of HTML attributes to be rendered. */ - HTMLAttributes: Record, + HTMLAttributes: Record /** * A validation function that modifies link verification for the auto linker. * @param url - The url to be validated. * @returns - True if the url is valid, false otherwise. */ - validate?: (url: string) => boolean, + validate?: (url: string) => boolean } declare module '@tiptap/core' { @@ -41,15 +41,15 @@ declare module '@tiptap/core' { /** * Set a link mark */ - setLink: (attributes: { href: string, target?: string | null }) => ReturnType, + setLink: (attributes: { href: string; target?: string | null }) => ReturnType /** * Toggle a link mark */ - toggleLink: (attributes: { href: string, target?: string | null }) => ReturnType, + toggleLink: (attributes: { href: string; target?: string | null }) => ReturnType /** * Unset a link mark */ - unsetLink: () => ReturnType, + unsetLink: () => ReturnType } } } @@ -103,41 +103,35 @@ export const Link = Mark.create({ }, parseHTML() { - return [ - { tag: 'a[href]:not([href *= "javascript:" i])' }, - ] + return [{ tag: 'a[href]:not([href *= "javascript:" i])' }] }, renderHTML({ HTMLAttributes }) { - return [ - 'a', - mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), - 0, - ] + return ['a', mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0] }, addCommands() { return { - setLink: attributes => ({ chain }) => { - return chain() - .setMark(this.name, attributes) - .setMeta('preventAutolink', true) - .run() - }, - - toggleLink: attributes => ({ chain }) => { - return chain() - .toggleMark(this.name, attributes, { extendEmptyMarkRange: true }) - .setMeta('preventAutolink', true) - .run() - }, - - unsetLink: () => ({ chain }) => { - return chain() - .unsetMark(this.name, { extendEmptyMarkRange: true }) - .setMeta('preventAutolink', true) - .run() - }, + setLink: + attributes => ({ chain }) => { + return chain().setMark(this.name, attributes).setMeta('preventAutolink', true).run() + }, + + toggleLink: + attributes => ({ chain }) => { + return chain() + .toggleMark(this.name, attributes, { extendEmptyMarkRange: true }) + .setMeta('preventAutolink', true) + .run() + }, + + unsetLink: + () => ({ chain }) => { + return chain() + .unsetMark(this.name, { extendEmptyMarkRange: true }) + .setMeta('preventAutolink', true) + .run() + }, } }, @@ -170,23 +164,29 @@ export const Link = Mark.create({ const plugins: Plugin[] = [] if (this.options.autolink) { - plugins.push(autolink({ - type: this.type, - validate: this.options.validate, - })) + plugins.push( + autolink({ + type: this.type, + validate: this.options.validate, + }), + ) } if (this.options.openOnClick) { - plugins.push(clickHandler({ - type: this.type, - })) + plugins.push( + clickHandler({ + type: this.type, + }), + ) } if (this.options.linkOnPaste) { - plugins.push(pasteHandler({ - editor: this.editor, - type: this.type, - })) + plugins.push( + pasteHandler({ + editor: this.editor, + type: this.type, + }), + ) } return plugins diff --git a/packages/extension-list-item/CHANGELOG.md b/packages/extension-list-item/CHANGELOG.md index f8f345c17..c10545e2e 100644 --- a/packages/extension-list-item/CHANGELOG.md +++ b/packages/extension-list-item/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-list-item + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-list-item + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-list-item + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-list-item + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-list-item + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-list-item + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-list-item + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-list-item diff --git a/packages/extension-list-item/package.json b/packages/extension-list-item/package.json index 6fecaa55c..e2c872378 100644 --- a/packages/extension-list-item/package.json +++ b/packages/extension-list-item/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-list-item", "description": "list item extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-list-item/src/index.d.ts", - "import": "./dist/tiptap-extension-list-item.esm.js", - "require": "./dist/tiptap-extension-list-item.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-list-item.cjs", - "umd": "dist/tiptap-extension-list-item.umd.js", - "module": "dist/tiptap-extension-list-item.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-list-item/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-list-item" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-list-item/rollup.config.js b/packages/extension-list-item/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-list-item/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-mention/CHANGELOG.md b/packages/extension-mention/CHANGELOG.md index aad4fa56e..4fdf769fc 100644 --- a/packages/extension-mention/CHANGELOG.md +++ b/packages/extension-mention/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-mention + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-mention + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-mention + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-mention + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-mention + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-mention + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-mention + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-mention diff --git a/packages/extension-mention/package.json b/packages/extension-mention/package.json index b92aa764d..125b59f07 100644 --- a/packages/extension-mention/package.json +++ b/packages/extension-mention/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-mention", "description": "mention extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,33 +16,35 @@ "exports": { ".": { "types": "./dist/packages/extension-mention/src/index.d.ts", - "import": "./dist/tiptap-extension-mention.esm.js", - "require": "./dist/tiptap-extension-mention.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-mention.cjs", - "umd": "dist/tiptap-extension-mention.umd.js", - "module": "dist/tiptap-extension-mention.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-mention/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "@tiptap/suggestion": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209", + "@tiptap/suggestion": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "@tiptap/suggestion": "^2.0.0-beta.209", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", + "@tiptap/suggestion": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-mention" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-mention/rollup.config.js b/packages/extension-mention/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-mention/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-mention/src/mention.ts b/packages/extension-mention/src/mention.ts index f6b8a79bc..97aea2957 100644 --- a/packages/extension-mention/src/mention.ts +++ b/packages/extension-mention/src/mention.ts @@ -1,15 +1,12 @@ import { mergeAttributes, Node } from '@tiptap/core' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' +import { PluginKey } from '@tiptap/pm/state' import Suggestion, { SuggestionOptions } from '@tiptap/suggestion' -import { Node as ProseMirrorNode } from 'prosemirror-model' -import { PluginKey } from 'prosemirror-state' export type MentionOptions = { - HTMLAttributes: Record, - renderLabel: (props: { - options: MentionOptions, - node: ProseMirrorNode, - }) => string, - suggestion: Omit, + HTMLAttributes: Record + renderLabel: (props: { options: MentionOptions; node: ProseMirrorNode }) => string + suggestion: Omit } export const MentionPluginKey = new PluginKey('mention') diff --git a/packages/extension-ordered-list/CHANGELOG.md b/packages/extension-ordered-list/CHANGELOG.md index cf96e3a9c..2b1f24ba8 100644 --- a/packages/extension-ordered-list/CHANGELOG.md +++ b/packages/extension-ordered-list/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-ordered-list + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-ordered-list + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-ordered-list + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-ordered-list + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-ordered-list + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-ordered-list + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-ordered-list + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-ordered-list diff --git a/packages/extension-ordered-list/package.json b/packages/extension-ordered-list/package.json index 7d4b712ae..e131f1857 100644 --- a/packages/extension-ordered-list/package.json +++ b/packages/extension-ordered-list/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-ordered-list", "description": "ordered list extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-ordered-list/src/index.d.ts", - "import": "./dist/tiptap-extension-ordered-list.esm.js", - "require": "./dist/tiptap-extension-ordered-list.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-ordered-list.cjs", - "umd": "dist/tiptap-extension-ordered-list.umd.js", - "module": "dist/tiptap-extension-ordered-list.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-ordered-list/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-ordered-list" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-ordered-list/rollup.config.js b/packages/extension-ordered-list/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-ordered-list/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-paragraph/CHANGELOG.md b/packages/extension-paragraph/CHANGELOG.md index 6e313f0ca..2581cc002 100644 --- a/packages/extension-paragraph/CHANGELOG.md +++ b/packages/extension-paragraph/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-paragraph + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-paragraph + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-paragraph + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-paragraph + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-paragraph + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-paragraph + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-paragraph + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-paragraph diff --git a/packages/extension-paragraph/package.json b/packages/extension-paragraph/package.json index 870d805f6..3a0863e0b 100644 --- a/packages/extension-paragraph/package.json +++ b/packages/extension-paragraph/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-paragraph", "description": "paragraph extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-paragraph/src/index.d.ts", - "import": "./dist/tiptap-extension-paragraph.esm.js", - "require": "./dist/tiptap-extension-paragraph.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-paragraph.cjs", - "umd": "dist/tiptap-extension-paragraph.umd.js", - "module": "dist/tiptap-extension-paragraph.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-paragraph/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-paragraph" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-paragraph/rollup.config.js b/packages/extension-paragraph/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-paragraph/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-placeholder/CHANGELOG.md b/packages/extension-placeholder/CHANGELOG.md index 41262386e..22bfaeb05 100644 --- a/packages/extension-placeholder/CHANGELOG.md +++ b/packages/extension-placeholder/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-placeholder + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-placeholder + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-placeholder + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-placeholder + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-placeholder + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-placeholder + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-placeholder + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-placeholder diff --git a/packages/extension-placeholder/package.json b/packages/extension-placeholder/package.json index 40737a0b1..2c1e9516b 100644 --- a/packages/extension-placeholder/package.json +++ b/packages/extension-placeholder/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-placeholder", "description": "placeholder extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,33 +16,33 @@ "exports": { ".": { "types": "./dist/packages/extension-placeholder/src/index.d.ts", - "import": "./dist/tiptap-extension-placeholder.esm.js", - "require": "./dist/tiptap-extension-placeholder.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-placeholder.cjs", - "umd": "dist/tiptap-extension-placeholder.umd.js", - "module": "dist/tiptap-extension-placeholder.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-placeholder/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-placeholder" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-placeholder/rollup.config.js b/packages/extension-placeholder/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-placeholder/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-placeholder/src/placeholder.ts b/packages/extension-placeholder/src/placeholder.ts index fc619da95..1b2598bdf 100644 --- a/packages/extension-placeholder/src/placeholder.ts +++ b/packages/extension-placeholder/src/placeholder.ts @@ -1,20 +1,22 @@ import { Editor, Extension } from '@tiptap/core' -import { Node as ProsemirrorNode } from 'prosemirror-model' -import { Plugin, PluginKey } from 'prosemirror-state' -import { Decoration, DecorationSet } from 'prosemirror-view' +import { Node as ProsemirrorNode } from '@tiptap/pm/model' +import { Plugin, PluginKey } from '@tiptap/pm/state' +import { Decoration, DecorationSet } from '@tiptap/pm/view' export interface PlaceholderOptions { - emptyEditorClass: string, - emptyNodeClass: string, - placeholder: ((PlaceholderProps: { - editor: Editor, - node: ProsemirrorNode, - pos: number, - hasAnchor: boolean, - }) => string) | string, - showOnlyWhenEditable: boolean, - showOnlyCurrent: boolean, - includeChildren: boolean, + emptyEditorClass: string + emptyNodeClass: string + placeholder: + | ((PlaceholderProps: { + editor: Editor + node: ProsemirrorNode + pos: number + hasAnchor: boolean + }) => string) + | string + showOnlyWhenEditable: boolean + showOnlyCurrent: boolean + includeChildren: boolean } export const Placeholder = Extension.create({ @@ -47,10 +49,11 @@ export const Placeholder = Extension.create({ // only calculate isEmpty once due to its performance impacts (see issue #3360) const emptyDocInstance = doc.type.createAndFill() - const isEditorEmpty = emptyDocInstance?.sameMarkup(doc) && emptyDocInstance.content.findDiffStart(doc.content) === null + const isEditorEmpty = emptyDocInstance?.sameMarkup(doc) + && emptyDocInstance.content.findDiffStart(doc.content) === null doc.descendants((node, pos) => { - const hasAnchor = anchor >= pos && anchor <= (pos + node.nodeSize) + const hasAnchor = anchor >= pos && anchor <= pos + node.nodeSize const isEmpty = !node.isLeaf && !node.childCount if ((hasAnchor || !this.options.showOnlyCurrent) && isEmpty) { @@ -62,14 +65,15 @@ export const Placeholder = Extension.create({ const decoration = Decoration.node(pos, pos + node.nodeSize, { class: classes.join(' '), - 'data-placeholder': typeof this.options.placeholder === 'function' - ? this.options.placeholder({ - editor: this.editor, - node, - pos, - hasAnchor, - }) - : this.options.placeholder, + 'data-placeholder': + typeof this.options.placeholder === 'function' + ? this.options.placeholder({ + editor: this.editor, + node, + pos, + hasAnchor, + }) + : this.options.placeholder, }) decorations.push(decoration) diff --git a/packages/extension-strike/CHANGELOG.md b/packages/extension-strike/CHANGELOG.md index e84f16ef3..2c878cd1f 100644 --- a/packages/extension-strike/CHANGELOG.md +++ b/packages/extension-strike/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-strike + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-strike + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-strike + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-strike + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-strike + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-strike + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-strike + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-strike diff --git a/packages/extension-strike/package.json b/packages/extension-strike/package.json index 6a37a5c9b..4a3d09437 100644 --- a/packages/extension-strike/package.json +++ b/packages/extension-strike/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-strike", "description": "strike extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-strike/src/index.d.ts", - "import": "./dist/tiptap-extension-strike.esm.js", - "require": "./dist/tiptap-extension-strike.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-strike.cjs", - "umd": "dist/tiptap-extension-strike.umd.js", - "module": "dist/tiptap-extension-strike.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-strike/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-strike" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-strike/rollup.config.js b/packages/extension-strike/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-strike/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-subscript/CHANGELOG.md b/packages/extension-subscript/CHANGELOG.md index 23d4c808a..da08a34b2 100644 --- a/packages/extension-subscript/CHANGELOG.md +++ b/packages/extension-subscript/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-subscript + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-subscript + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-subscript + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-subscript + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-subscript + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-subscript + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-subscript + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-subscript diff --git a/packages/extension-subscript/package.json b/packages/extension-subscript/package.json index 636a7c515..ed4585cfb 100644 --- a/packages/extension-subscript/package.json +++ b/packages/extension-subscript/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-subscript", "description": "subscript extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-subscript/src/index.d.ts", - "import": "./dist/tiptap-extension-subscript.esm.js", - "require": "./dist/tiptap-extension-subscript.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-subscript.cjs", - "umd": "dist/tiptap-extension-subscript.umd.js", - "module": "dist/tiptap-extension-subscript.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-subscript/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-subscript" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-subscript/rollup.config.js b/packages/extension-subscript/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-subscript/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-superscript/CHANGELOG.md b/packages/extension-superscript/CHANGELOG.md index b4e17e493..12644630b 100644 --- a/packages/extension-superscript/CHANGELOG.md +++ b/packages/extension-superscript/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-superscript + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-superscript + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-superscript + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-superscript + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-superscript + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-superscript + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-superscript + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-superscript diff --git a/packages/extension-superscript/package.json b/packages/extension-superscript/package.json index a2fb19609..5d05e5be5 100644 --- a/packages/extension-superscript/package.json +++ b/packages/extension-superscript/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-superscript", "description": "superscript extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-superscript/src/index.d.ts", - "import": "./dist/tiptap-extension-superscript.esm.js", - "require": "./dist/tiptap-extension-superscript.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-superscript.cjs", - "umd": "dist/tiptap-extension-superscript.umd.js", - "module": "dist/tiptap-extension-superscript.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-superscript/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-superscript" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-superscript/rollup.config.js b/packages/extension-superscript/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-superscript/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-table-cell/CHANGELOG.md b/packages/extension-table-cell/CHANGELOG.md index f8783e432..578e5c8ae 100644 --- a/packages/extension-table-cell/CHANGELOG.md +++ b/packages/extension-table-cell/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-table-cell + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-table-cell + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-table-cell + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-table-cell + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-table-cell + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-table-cell + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-table-cell + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-table-cell diff --git a/packages/extension-table-cell/package.json b/packages/extension-table-cell/package.json index 3691d79e8..c2ce18489 100644 --- a/packages/extension-table-cell/package.json +++ b/packages/extension-table-cell/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-table-cell", "description": "table cell extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-table-cell/src/index.d.ts", - "import": "./dist/tiptap-extension-table-cell.esm.js", - "require": "./dist/tiptap-extension-table-cell.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-table-cell.cjs", - "umd": "dist/tiptap-extension-table-cell.umd.js", - "module": "dist/tiptap-extension-table-cell.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-table-cell/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-table-cell" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-table-cell/rollup.config.js b/packages/extension-table-cell/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-table-cell/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-table-header/CHANGELOG.md b/packages/extension-table-header/CHANGELOG.md index 341670e80..0eb19ed14 100644 --- a/packages/extension-table-header/CHANGELOG.md +++ b/packages/extension-table-header/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-table-header + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-table-header + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-table-header + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-table-header + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-table-header + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-table-header + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-table-header + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-table-header diff --git a/packages/extension-table-header/package.json b/packages/extension-table-header/package.json index c72666270..fdb093aab 100644 --- a/packages/extension-table-header/package.json +++ b/packages/extension-table-header/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-table-header", "description": "table cell extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-table-header/src/index.d.ts", - "import": "./dist/tiptap-extension-table-header.esm.js", - "require": "./dist/tiptap-extension-table-header.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-table-header.cjs", - "umd": "dist/tiptap-extension-table-header.umd.js", - "module": "dist/tiptap-extension-table-header.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-table-header/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-table-header" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-table-header/rollup.config.js b/packages/extension-table-header/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-table-header/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-table-row/CHANGELOG.md b/packages/extension-table-row/CHANGELOG.md index 02a7660ec..9a570d0aa 100644 --- a/packages/extension-table-row/CHANGELOG.md +++ b/packages/extension-table-row/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-table-row + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-table-row + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-table-row + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-table-row + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-table-row + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-table-row + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-table-row + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-table-row diff --git a/packages/extension-table-row/package.json b/packages/extension-table-row/package.json index 82fd3edac..891014605 100644 --- a/packages/extension-table-row/package.json +++ b/packages/extension-table-row/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-table-row", "description": "table row extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-table-row/src/index.d.ts", - "import": "./dist/tiptap-extension-table-row.esm.js", - "require": "./dist/tiptap-extension-table-row.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-table-row.cjs", - "umd": "dist/tiptap-extension-table-row.umd.js", - "module": "dist/tiptap-extension-table-row.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-table-row/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-table-row" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-table-row/rollup.config.js b/packages/extension-table-row/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-table-row/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-table/CHANGELOG.md b/packages/extension-table/CHANGELOG.md index e519350e4..4b0821f75 100644 --- a/packages/extension-table/CHANGELOG.md +++ b/packages/extension-table/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-table + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-table + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-table + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-table + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-table + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-table + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-table + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-table diff --git a/packages/extension-table/package.json b/packages/extension-table/package.json index 2857ee23e..3be179cf9 100644 --- a/packages/extension-table/package.json +++ b/packages/extension-table/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-table", "description": "table extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,35 +16,33 @@ "exports": { ".": { "types": "./dist/packages/extension-table/src/index.d.ts", - "import": "./dist/tiptap-extension-table.esm.js", - "require": "./dist/tiptap-extension-table.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-table.cjs", - "umd": "dist/tiptap-extension-table.umd.js", - "module": "dist/tiptap-extension-table.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-table/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "@tiptap/prosemirror-tables": "^1.1.3", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "@tiptap/prosemirror-tables": "^1.1.3", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-table" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-table/rollup.config.js b/packages/extension-table/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-table/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-table/src/TableView.ts b/packages/extension-table/src/TableView.ts index c37e53152..fbb451b23 100644 --- a/packages/extension-table/src/TableView.ts +++ b/packages/extension-table/src/TableView.ts @@ -1,8 +1,15 @@ // @ts-nocheck -import { Node as ProseMirrorNode } from 'prosemirror-model' -import { NodeView } from 'prosemirror-view' - -export function updateColumns(node: ProseMirrorNode, colgroup: Element, table: Element, cellMinWidth: number, overrideCol?: number, overrideValue?: any) { +import { Node as ProseMirrorNode } from '@tiptap/pm/model' +import { NodeView } from '@tiptap/pm/view' + +export function updateColumns( + node: ProseMirrorNode, + colgroup: Element, + table: Element, + cellMinWidth: number, + overrideCol?: number, + overrideValue?: any, +) { let totalWidth = 0 let fixedWidth = true let nextDOM = colgroup.firstChild @@ -50,7 +57,6 @@ export function updateColumns(node: ProseMirrorNode, colgroup: Element, table: E } export class TableView implements NodeView { - node: ProseMirrorNode cellMinWidth: number @@ -86,6 +92,9 @@ export class TableView implements NodeView { } ignoreMutation(mutation: MutationRecord | { type: 'selection'; target: Element }) { - return mutation.type === 'attributes' && (mutation.target === this.table || this.colgroup.contains(mutation.target)) + return ( + mutation.type === 'attributes' + && (mutation.target === this.table || this.colgroup.contains(mutation.target)) + ) } } diff --git a/packages/extension-table/src/table.ts b/packages/extension-table/src/table.ts index 342d2a76b..58fb5cece 100644 --- a/packages/extension-table/src/table.ts +++ b/packages/extension-table/src/table.ts @@ -1,10 +1,7 @@ import { - callOrReturn, - getExtensionField, - mergeAttributes, - Node, - ParentConfig, + callOrReturn, getExtensionField, mergeAttributes, Node, ParentConfig, } from '@tiptap/core' +import { TextSelection } from '@tiptap/pm/state' import { addColumnAfter, addColumnBefore, @@ -23,46 +20,49 @@ import { tableEditing, toggleHeader, toggleHeaderCell, -} from '@tiptap/prosemirror-tables' -import { TextSelection } from 'prosemirror-state' -import { NodeView } from 'prosemirror-view' +} from '@tiptap/pm/tables' +import { NodeView } from '@tiptap/pm/view' import { TableView } from './TableView' import { createTable } from './utilities/createTable' import { deleteTableWhenAllCellsSelected } from './utilities/deleteTableWhenAllCellsSelected' export interface TableOptions { - HTMLAttributes: Record, - resizable: boolean, - handleWidth: number, - cellMinWidth: number, - View: NodeView, - lastColumnResizable: boolean, - allowTableNodeSelection: boolean, + HTMLAttributes: Record + resizable: boolean + handleWidth: number + cellMinWidth: number + View: NodeView + lastColumnResizable: boolean + allowTableNodeSelection: boolean } declare module '@tiptap/core' { interface Commands { table: { - insertTable: (options?: { rows?: number, cols?: number, withHeaderRow?: boolean }) => ReturnType, - addColumnBefore: () => ReturnType, - addColumnAfter: () => ReturnType, - deleteColumn: () => ReturnType, - addRowBefore: () => ReturnType, - addRowAfter: () => ReturnType, - deleteRow: () => ReturnType, - deleteTable: () => ReturnType, - mergeCells: () => ReturnType, - splitCell: () => ReturnType, - toggleHeaderColumn: () => ReturnType, - toggleHeaderRow: () => ReturnType, - toggleHeaderCell: () => ReturnType, - mergeOrSplit: () => ReturnType, - setCellAttribute: (name: string, value: any) => ReturnType, - goToNextCell: () => ReturnType, - goToPreviousCell: () => ReturnType, - fixTables: () => ReturnType, - setCellSelection: (position: { anchorCell: number, headCell?: number }) => ReturnType, + insertTable: (options?: { + rows?: number + cols?: number + withHeaderRow?: boolean + }) => ReturnType + addColumnBefore: () => ReturnType + addColumnAfter: () => ReturnType + deleteColumn: () => ReturnType + addRowBefore: () => ReturnType + addRowAfter: () => ReturnType + deleteRow: () => ReturnType + deleteTable: () => ReturnType + mergeCells: () => ReturnType + splitCell: () => ReturnType + toggleHeaderColumn: () => ReturnType + toggleHeaderRow: () => ReturnType + toggleHeaderCell: () => ReturnType + mergeOrSplit: () => ReturnType + setCellAttribute: (name: string, value: any) => ReturnType + goToNextCell: () => ReturnType + goToPreviousCell: () => ReturnType + fixTables: () => ReturnType + setCellSelection: (position: { anchorCell: number; headCell?: number }) => ReturnType } } @@ -70,12 +70,14 @@ declare module '@tiptap/core' { /** * Table Role */ - tableRole?: string | ((this: { - name: string, - options: Options, - storage: Storage, - parent: ParentConfig>['tableRole'], - }) => string), + tableRole?: + | string + | ((this: { + name: string + options: Options + storage: Storage + parent: ParentConfig>['tableRole'] + }) => string) } } @@ -105,9 +107,7 @@ export const Table = Node.create({ group: 'block', parseHTML() { - return [ - { tag: 'table' }, - ] + return [{ tag: 'table' }] }, renderHTML({ HTMLAttributes }) { @@ -116,88 +116,107 @@ export const Table = Node.create({ addCommands() { return { - insertTable: ({ rows = 3, cols = 3, withHeaderRow = true } = {}) => ({ tr, dispatch, editor }) => { - const node = createTable(editor.schema, rows, cols, withHeaderRow) + insertTable: + ({ rows = 3, cols = 3, withHeaderRow = true } = {}) => ({ tr, dispatch, editor }) => { + const node = createTable(editor.schema, rows, cols, withHeaderRow) - if (dispatch) { - const offset = tr.selection.anchor + 1 + if (dispatch) { + const offset = tr.selection.anchor + 1 - tr.replaceSelectionWith(node) - .scrollIntoView() - .setSelection(TextSelection.near(tr.doc.resolve(offset))) - } + tr.replaceSelectionWith(node) + .scrollIntoView() + .setSelection(TextSelection.near(tr.doc.resolve(offset))) + } - return true - }, - addColumnBefore: () => ({ state, dispatch }) => { - return addColumnBefore(state, dispatch) - }, - addColumnAfter: () => ({ state, dispatch }) => { - return addColumnAfter(state, dispatch) - }, - deleteColumn: () => ({ state, dispatch }) => { - return deleteColumn(state, dispatch) - }, - addRowBefore: () => ({ state, dispatch }) => { - return addRowBefore(state, dispatch) - }, - addRowAfter: () => ({ state, dispatch }) => { - return addRowAfter(state, dispatch) - }, - deleteRow: () => ({ state, dispatch }) => { - return deleteRow(state, dispatch) - }, - deleteTable: () => ({ state, dispatch }) => { - return deleteTable(state, dispatch) - }, - mergeCells: () => ({ state, dispatch }) => { - return mergeCells(state, dispatch) - }, - splitCell: () => ({ state, dispatch }) => { - return splitCell(state, dispatch) - }, - toggleHeaderColumn: () => ({ state, dispatch }) => { - return toggleHeader('column')(state, dispatch) - }, - toggleHeaderRow: () => ({ state, dispatch }) => { - return toggleHeader('row')(state, dispatch) - }, - toggleHeaderCell: () => ({ state, dispatch }) => { - return toggleHeaderCell(state, dispatch) - }, - mergeOrSplit: () => ({ state, dispatch }) => { - if (mergeCells(state, dispatch)) { return true - } + }, + addColumnBefore: + () => ({ state, dispatch }) => { + return addColumnBefore(state, dispatch) + }, + addColumnAfter: + () => ({ state, dispatch }) => { + return addColumnAfter(state, dispatch) + }, + deleteColumn: + () => ({ state, dispatch }) => { + return deleteColumn(state, dispatch) + }, + addRowBefore: + () => ({ state, dispatch }) => { + return addRowBefore(state, dispatch) + }, + addRowAfter: + () => ({ state, dispatch }) => { + return addRowAfter(state, dispatch) + }, + deleteRow: + () => ({ state, dispatch }) => { + return deleteRow(state, dispatch) + }, + deleteTable: + () => ({ state, dispatch }) => { + return deleteTable(state, dispatch) + }, + mergeCells: + () => ({ state, dispatch }) => { + return mergeCells(state, dispatch) + }, + splitCell: + () => ({ state, dispatch }) => { + return splitCell(state, dispatch) + }, + toggleHeaderColumn: + () => ({ state, dispatch }) => { + return toggleHeader('column')(state, dispatch) + }, + toggleHeaderRow: + () => ({ state, dispatch }) => { + return toggleHeader('row')(state, dispatch) + }, + toggleHeaderCell: + () => ({ state, dispatch }) => { + return toggleHeaderCell(state, dispatch) + }, + mergeOrSplit: + () => ({ state, dispatch }) => { + if (mergeCells(state, dispatch)) { + return true + } - return splitCell(state, dispatch) - }, - setCellAttribute: (name, value) => ({ state, dispatch }) => { - return setCellAttr(name, value)(state, dispatch) - }, - goToNextCell: () => ({ state, dispatch }) => { - return goToNextCell(1)(state, dispatch) - }, - goToPreviousCell: () => ({ state, dispatch }) => { - return goToNextCell(-1)(state, dispatch) - }, - fixTables: () => ({ state, dispatch }) => { - if (dispatch) { - fixTables(state) - } + return splitCell(state, dispatch) + }, + setCellAttribute: + (name, value) => ({ state, dispatch }) => { + return setCellAttr(name, value)(state, dispatch) + }, + goToNextCell: + () => ({ state, dispatch }) => { + return goToNextCell(1)(state, dispatch) + }, + goToPreviousCell: + () => ({ state, dispatch }) => { + return goToNextCell(-1)(state, dispatch) + }, + fixTables: + () => ({ state, dispatch }) => { + if (dispatch) { + fixTables(state) + } - return true - }, - setCellSelection: position => ({ tr, dispatch }) => { - if (dispatch) { - const selection = CellSelection.create(tr.doc, position.anchorCell, position.headCell) + return true + }, + setCellSelection: + position => ({ tr, dispatch }) => { + if (dispatch) { + const selection = CellSelection.create(tr.doc, position.anchorCell, position.headCell) - // @ts-ignore - tr.setSelection(selection) - } + // @ts-ignore + tr.setSelection(selection) + } - return true - }, + return true + }, } }, @@ -212,11 +231,7 @@ export const Table = Node.create({ return false } - return this.editor - .chain() - .addRowAfter() - .goToNextCell() - .run() + return this.editor.chain().addRowAfter().goToNextCell().run() }, 'Shift-Tab': () => this.editor.commands.goToPreviousCell(), Backspace: deleteTableWhenAllCellsSelected, @@ -230,14 +245,19 @@ export const Table = Node.create({ const isResizable = this.options.resizable && this.editor.isEditable return [ - ...(isResizable ? [columnResizing({ - handleWidth: this.options.handleWidth, - cellMinWidth: this.options.cellMinWidth, - View: this.options.View, - // TODO: PR for @types/prosemirror-tables - // @ts-ignore (incorrect type) - lastColumnResizable: this.options.lastColumnResizable, - })] : []), + ...(isResizable + ? [ + columnResizing({ + handleWidth: this.options.handleWidth, + cellMinWidth: this.options.cellMinWidth, + // @ts-ignore (incorrect type) + View: this.options.View, + // TODO: PR for @types/prosemirror-tables + // @ts-ignore (incorrect type) + lastColumnResizable: this.options.lastColumnResizable, + }), + ] + : []), tableEditing({ allowTableNodeSelection: this.options.allowTableNodeSelection, }), diff --git a/packages/extension-table/src/utilities/createCell.ts b/packages/extension-table/src/utilities/createCell.ts index 6a69c2035..120ea7b43 100644 --- a/packages/extension-table/src/utilities/createCell.ts +++ b/packages/extension-table/src/utilities/createCell.ts @@ -1,6 +1,9 @@ -import { Fragment, Node as ProsemirrorNode, NodeType } from 'prosemirror-model' +import { Fragment, Node as ProsemirrorNode, NodeType } from '@tiptap/pm/model' -export function createCell(cellType: NodeType, cellContent?: Fragment | ProsemirrorNode | Array): ProsemirrorNode | null | undefined { +export function createCell( + cellType: NodeType, + cellContent?: Fragment | ProsemirrorNode | Array, +): ProsemirrorNode | null | undefined { if (cellContent) { return cellType.createChecked(null, cellContent) } diff --git a/packages/extension-table/src/utilities/createTable.ts b/packages/extension-table/src/utilities/createTable.ts index 31506e238..c28bbf37d 100644 --- a/packages/extension-table/src/utilities/createTable.ts +++ b/packages/extension-table/src/utilities/createTable.ts @@ -1,9 +1,15 @@ -import { Fragment, Node as ProsemirrorNode, Schema } from 'prosemirror-model' +import { Fragment, Node as ProsemirrorNode, Schema } from '@tiptap/pm/model' import { createCell } from './createCell' import { getTableNodeTypes } from './getTableNodeTypes' -export function createTable(schema: Schema, rowsCount: number, colsCount: number, withHeaderRow: boolean, cellContent?: Fragment | ProsemirrorNode | Array): ProsemirrorNode { +export function createTable( + schema: Schema, + rowsCount: number, + colsCount: number, + withHeaderRow: boolean, + cellContent?: Fragment | ProsemirrorNode | Array, +): ProsemirrorNode { const types = getTableNodeTypes(schema) const headerCells: ProsemirrorNode[] = [] const cells: ProsemirrorNode[] = [] diff --git a/packages/extension-table/src/utilities/getTableNodeTypes.ts b/packages/extension-table/src/utilities/getTableNodeTypes.ts index 489e201cf..aafee1cd4 100644 --- a/packages/extension-table/src/utilities/getTableNodeTypes.ts +++ b/packages/extension-table/src/utilities/getTableNodeTypes.ts @@ -1,4 +1,4 @@ -import { NodeType, Schema } from 'prosemirror-model' +import { NodeType, Schema } from '@tiptap/pm/model' export function getTableNodeTypes(schema: Schema): { [key: string]: NodeType } { if (schema.cached.tableNodeTypes) { diff --git a/packages/extension-table/src/utilities/isCellSelection.ts b/packages/extension-table/src/utilities/isCellSelection.ts index 32105e487..59d8919f0 100644 --- a/packages/extension-table/src/utilities/isCellSelection.ts +++ b/packages/extension-table/src/utilities/isCellSelection.ts @@ -1,4 +1,4 @@ -import { CellSelection } from '@tiptap/prosemirror-tables' +import { CellSelection } from '@tiptap/pm/tables' export function isCellSelection(value: unknown): value is CellSelection { return value instanceof CellSelection diff --git a/packages/extension-task-item/CHANGELOG.md b/packages/extension-task-item/CHANGELOG.md index 5fcdd15b0..21de3995b 100644 --- a/packages/extension-task-item/CHANGELOG.md +++ b/packages/extension-task-item/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-task-item + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-task-item + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-task-item + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-task-item + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-task-item + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-task-item + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-task-item + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-task-item diff --git a/packages/extension-task-item/package.json b/packages/extension-task-item/package.json index 094644c27..a013030e4 100644 --- a/packages/extension-task-item/package.json +++ b/packages/extension-task-item/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-task-item", "description": "task item extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,29 +16,33 @@ "exports": { ".": { "types": "./dist/packages/extension-task-item/src/index.d.ts", - "import": "./dist/tiptap-extension-task-item.esm.js", - "require": "./dist/tiptap-extension-task-item.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-task-item.cjs", - "umd": "dist/tiptap-extension-task-item.umd.js", - "module": "dist/tiptap-extension-task-item.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-task-item/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-model": "^1.18.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-task-item" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-task-item/rollup.config.js b/packages/extension-task-item/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-task-item/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-task-item/src/task-item.ts b/packages/extension-task-item/src/task-item.ts index 8ff6583fb..b365117cf 100644 --- a/packages/extension-task-item/src/task-item.ts +++ b/packages/extension-task-item/src/task-item.ts @@ -1,5 +1,5 @@ import { mergeAttributes, Node, wrappingInputRule } from '@tiptap/core' -import { Node as ProseMirrorNode } from 'prosemirror-model' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' export interface TaskItemOptions { onReadOnlyChecked?: (node: ProseMirrorNode, checked: boolean) => boolean diff --git a/packages/extension-task-list/CHANGELOG.md b/packages/extension-task-list/CHANGELOG.md index 72f45cb07..1d151bb33 100644 --- a/packages/extension-task-list/CHANGELOG.md +++ b/packages/extension-task-list/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-task-list + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-task-list + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-task-list + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-task-list + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-task-list + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-task-list + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-task-list + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-task-list diff --git a/packages/extension-task-list/package.json b/packages/extension-task-list/package.json index 62368f86f..082668abd 100644 --- a/packages/extension-task-list/package.json +++ b/packages/extension-task-list/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-task-list", "description": "task list extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-task-list/src/index.d.ts", - "import": "./dist/tiptap-extension-task-list.esm.js", - "require": "./dist/tiptap-extension-task-list.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-task-list.cjs", - "umd": "dist/tiptap-extension-task-list.umd.js", - "module": "dist/tiptap-extension-task-list.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-task-list/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-task-list" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-task-list/rollup.config.js b/packages/extension-task-list/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-task-list/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-text-align/CHANGELOG.md b/packages/extension-text-align/CHANGELOG.md index 9cd85ef68..6787eb530 100644 --- a/packages/extension-text-align/CHANGELOG.md +++ b/packages/extension-text-align/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-text-align + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-text-align + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-text-align + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-text-align + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-text-align + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-text-align + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-text-align + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-text-align diff --git a/packages/extension-text-align/package.json b/packages/extension-text-align/package.json index 440d5e17e..3cad59282 100644 --- a/packages/extension-text-align/package.json +++ b/packages/extension-text-align/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-text-align", "description": "text align extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-text-align/src/index.d.ts", - "import": "./dist/tiptap-extension-text-align.esm.js", - "require": "./dist/tiptap-extension-text-align.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-text-align.cjs", - "umd": "dist/tiptap-extension-text-align.umd.js", - "module": "dist/tiptap-extension-text-align.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-text-align/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-text-align" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-text-align/rollup.config.js b/packages/extension-text-align/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-text-align/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-text-style/CHANGELOG.md b/packages/extension-text-style/CHANGELOG.md index ea7b0254c..fc12323c4 100644 --- a/packages/extension-text-style/CHANGELOG.md +++ b/packages/extension-text-style/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-text-style + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-text-style + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-text-style + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-text-style + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-text-style + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-text-style + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-text-style + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-text-style diff --git a/packages/extension-text-style/package.json b/packages/extension-text-style/package.json index cb735f6bb..cb61bb6ac 100644 --- a/packages/extension-text-style/package.json +++ b/packages/extension-text-style/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-text-style", "description": "text style extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-text-style/src/index.d.ts", - "import": "./dist/tiptap-extension-text-style.esm.js", - "require": "./dist/tiptap-extension-text-style.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-text-style.cjs", - "umd": "dist/tiptap-extension-text-style.umd.js", - "module": "dist/tiptap-extension-text-style.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-text-style/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-text-style" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-text-style/rollup.config.js b/packages/extension-text-style/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-text-style/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-text/CHANGELOG.md b/packages/extension-text/CHANGELOG.md index dad2519ff..ff466942a 100644 --- a/packages/extension-text/CHANGELOG.md +++ b/packages/extension-text/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-text + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-text + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-text + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-text + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-text + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-text + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-text + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-text diff --git a/packages/extension-text/package.json b/packages/extension-text/package.json index f02bf4e76..70ea4fbc5 100644 --- a/packages/extension-text/package.json +++ b/packages/extension-text/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-text", "description": "text extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-text/src/index.d.ts", - "import": "./dist/tiptap-extension-text.esm.js", - "require": "./dist/tiptap-extension-text.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-text.cjs", - "umd": "dist/tiptap-extension-text.umd.js", - "module": "dist/tiptap-extension-text.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-text/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-text" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-text/rollup.config.js b/packages/extension-text/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-text/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-typography/CHANGELOG.md b/packages/extension-typography/CHANGELOG.md index a844fcddd..94b78d376 100644 --- a/packages/extension-typography/CHANGELOG.md +++ b/packages/extension-typography/CHANGELOG.md @@ -3,6 +3,87 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + + +### Bug Fixes + +* **typography:** dont create fractions in the middle of a string ([#3762](https://github.com/ueberdosis/tiptap/issues/3762)) ([7ad54ea](https://github.com/ueberdosis/tiptap/commit/7ad54ea86a265c07bc94606cfd4724a00befaf3f)) + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-typography + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-typography + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-typography + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-typography + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-typography + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-typography + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-typography diff --git a/packages/extension-typography/package.json b/packages/extension-typography/package.json index 21198ea86..b064fb779 100644 --- a/packages/extension-typography/package.json +++ b/packages/extension-typography/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-typography", "description": "typography extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-typography/src/index.d.ts", - "import": "./dist/tiptap-extension-typography.esm.js", - "require": "./dist/tiptap-extension-typography.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-typography.cjs", - "umd": "dist/tiptap-extension-typography.umd.js", - "module": "dist/tiptap-extension-typography.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-typography/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-typography" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-typography/rollup.config.js b/packages/extension-typography/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-typography/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-typography/src/typography.ts b/packages/extension-typography/src/typography.ts index 82b37a540..49c5b2379 100644 --- a/packages/extension-typography/src/typography.ts +++ b/packages/extension-typography/src/typography.ts @@ -86,7 +86,7 @@ export const registeredTrademark = textInputRule({ }) export const oneHalf = textInputRule({ - find: /1\/2$/, + find: /(?:^|\s)(1\/2)$/, replace: '½', }) @@ -126,12 +126,12 @@ export const superscriptThree = textInputRule({ }) export const oneQuarter = textInputRule({ - find: /1\/4$/, + find: /(?:^|\s)(1\/4)$/, replace: '¼', }) export const threeQuarters = textInputRule({ - find: /3\/4$/, + find: /(?:^|\s)(3\/4)$/, replace: '¾', }) diff --git a/packages/extension-underline/CHANGELOG.md b/packages/extension-underline/CHANGELOG.md index 4d6f4a7e6..2440fb356 100644 --- a/packages/extension-underline/CHANGELOG.md +++ b/packages/extension-underline/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-underline + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-underline + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-underline + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-underline + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-underline + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-underline + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-underline + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-underline diff --git a/packages/extension-underline/package.json b/packages/extension-underline/package.json index 4954e0777..be2376058 100644 --- a/packages/extension-underline/package.json +++ b/packages/extension-underline/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-underline", "description": "underline extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-underline/src/index.d.ts", - "import": "./dist/tiptap-extension-underline.esm.js", - "require": "./dist/tiptap-extension-underline.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-underline.cjs", - "umd": "dist/tiptap-extension-underline.umd.js", - "module": "dist/tiptap-extension-underline.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-underline/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-underline" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-underline/rollup.config.js b/packages/extension-underline/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-underline/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-youtube/CHANGELOG.md b/packages/extension-youtube/CHANGELOG.md index 3a4d0cebd..27929ff2d 100644 --- a/packages/extension-youtube/CHANGELOG.md +++ b/packages/extension-youtube/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/extension-youtube + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/extension-youtube + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-youtube + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/extension-youtube + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/extension-youtube + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/extension-youtube + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/extension-youtube + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/extension-youtube diff --git a/packages/extension-youtube/package.json b/packages/extension-youtube/package.json index 2ece8a159..51da232b2 100644 --- a/packages/extension-youtube/package.json +++ b/packages/extension-youtube/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/extension-youtube", "description": "a youtube embed extension for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -16,27 +16,31 @@ "exports": { ".": { "types": "./dist/packages/extension-youtube/src/index.d.ts", - "import": "./dist/tiptap-extension-youtube.esm.js", - "require": "./dist/tiptap-extension-youtube.cjs" + "import": "./dist/index.js", + "require": "./dist/index.cjs" } }, - "main": "dist/tiptap-extension-youtube.cjs", - "umd": "dist/tiptap-extension-youtube.umd.js", - "module": "dist/tiptap-extension-youtube.esm.js", + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/extension-youtube/src/index.d.ts", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193" + "@tiptap/core": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/extension-youtube" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/extension-youtube/rollup.config.js b/packages/extension-youtube/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/extension-youtube/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/extension-youtube/src/utils.ts b/packages/extension-youtube/src/utils.ts index b7dc23080..1b0735458 100644 --- a/packages/extension-youtube/src/utils.ts +++ b/packages/extension-youtube/src/utils.ts @@ -1,5 +1,5 @@ -export const YOUTUBE_REGEX = /^(https?:\/\/)?(www\.|music\.)?(youtube\.com|youtu\.be)(.+)?$/ -export const YOUTUBE_REGEX_GLOBAL = /^(https?:\/\/)?(www\.|music\.)?(youtube\.com|youtu\.be)(.+)?$/g +export const YOUTUBE_REGEX = /^(https?:\/\/)?(www\.|music\.)?(youtube\.com|youtu\.be)(?!.*\/channel\/)(?!\/@)(.+)?$/ +export const YOUTUBE_REGEX_GLOBAL = /^(https?:\/\/)?(www\.|music\.)?(youtube\.com|youtu\.be)(?!.*\/channel\/)(?!\/@)(.+)?$/g export const isValidYoutubeUrl = (url: string) => { return url.match(YOUTUBE_REGEX) diff --git a/packages/html/CHANGELOG.md b/packages/html/CHANGELOG.md index 0245cef81..6dd92a2a7 100644 --- a/packages/html/CHANGELOG.md +++ b/packages/html/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/html + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/html + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/html + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/html + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/html + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/html + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/html + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/html diff --git a/packages/html/package.json b/packages/html/package.json index 53420593e..401f9477f 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/html", "description": "utility package to render tiptap JSON as HTML", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -12,21 +12,29 @@ "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, - "main": "dist/tiptap-html.cjs", - "umd": "dist/tiptap-html.umd.js", - "module": "dist/tiptap-html.esm.js", + "exports": { + ".": { + "types": "./dist/packages/html/src/index.d.ts", + "import": "./dist/index.js", + "require": "./dist/index.cjs" + } + }, + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/html/src/index.d.ts", + "type": "module", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.204", - "prosemirror-model": "^1.18.1" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-model": "^1.18.1" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "dependencies": { "zeed-dom": "^0.9.19" @@ -35,5 +43,9 @@ "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/html" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/html/rollup.config.js b/packages/html/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/html/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/html/src/generateHTML.ts b/packages/html/src/generateHTML.ts index 09b8970ec..b943737cc 100644 --- a/packages/html/src/generateHTML.ts +++ b/packages/html/src/generateHTML.ts @@ -1,5 +1,5 @@ import { Extensions, getSchema, JSONContent } from '@tiptap/core' -import { Node } from 'prosemirror-model' +import { Node } from '@tiptap/pm/model' import { getHTMLFromFragment } from './getHTMLFromFragment' diff --git a/packages/html/src/generateJSON.ts b/packages/html/src/generateJSON.ts index 177c9c2c7..63ec8e961 100644 --- a/packages/html/src/generateJSON.ts +++ b/packages/html/src/generateJSON.ts @@ -1,12 +1,10 @@ import { Extensions, getSchema } from '@tiptap/core' -import { DOMParser } from 'prosemirror-model' +import { DOMParser } from '@tiptap/pm/model' import { parseHTML } from 'zeed-dom' export function generateJSON(html: string, extensions: Extensions): Record { const schema = getSchema(extensions) const dom = parseHTML(html) as unknown as Node - return DOMParser.fromSchema(schema) - .parse(dom) - .toJSON() + return DOMParser.fromSchema(schema).parse(dom).toJSON() } diff --git a/packages/html/src/getHTMLFromFragment.ts b/packages/html/src/getHTMLFromFragment.ts index cc4bb1437..dcc46a931 100644 --- a/packages/html/src/getHTMLFromFragment.ts +++ b/packages/html/src/getHTMLFromFragment.ts @@ -1,12 +1,10 @@ -import { DOMSerializer, Node, Schema } from 'prosemirror-model' +import { DOMSerializer, Node, Schema } from '@tiptap/pm/model' import { createHTMLDocument, VHTMLDocument } from 'zeed-dom' export function getHTMLFromFragment(doc: Node, schema: Schema): string { - const document = DOMSerializer - .fromSchema(schema) - .serializeFragment(doc.content, { - document: (createHTMLDocument() as unknown as Document), - }) as unknown as VHTMLDocument + const document = DOMSerializer.fromSchema(schema).serializeFragment(doc.content, { + document: createHTMLDocument() as unknown as Document, + }) as unknown as VHTMLDocument return document.render() } diff --git a/packages/pm/CHANGELOG.md b/packages/pm/CHANGELOG.md new file mode 100644 index 000000000..8cd2e5ede --- /dev/null +++ b/packages/pm/CHANGELOG.md @@ -0,0 +1,75 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/pm + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/pm + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/pm + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + +**Note:** Version bump only for package @tiptap/pm + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/pm + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/pm + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/pm + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/pm + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) diff --git a/packages/pm/README.md b/packages/pm/README.md new file mode 100644 index 000000000..42707a5b1 --- /dev/null +++ b/packages/pm/README.md @@ -0,0 +1,22 @@ +# @tiptap/pm + +[![Version](https://img.shields.io/npm/v/@tiptap/pm.svg?label=version)](https://www.npmjs.com/package/@tiptap/pm) +[![Downloads](https://img.shields.io/npm/dm/@tiptap/pm.svg)](https://npmcharts.com/compare/tiptap?minimal=true) +[![License](https://img.shields.io/npm/l/@tiptap/pm.svg)](https://www.npmjs.com/package/@tiptap/pm) +[![Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub)](https://github.com/sponsors/ueberdosis) + +## Introduction + +Tiptap is a headless wrapper around [ProseMirror](https://ProseMirror.net) – a toolkit for building rich text WYSIWYG editors, which is already in use at many well-known companies such as _New York Times_, _The Guardian_ or _Atlassian_. + +## What is this `pm` package? + +The `pm` package is a wrapper package for [ProseMirror](https://ProseMirror.net). This includes all ProseMirror packages that are required to run Tiptap. + +## Official Documentation + +Documentation can be found on the [Tiptap website](https://tiptap.dev). + +## License + +tiptap is open sourced software licensed under the [MIT license](https://github.com/ueberdosis/tiptap/blob/main/LICENSE.md). diff --git a/packages/pm/changeset/index.ts b/packages/pm/changeset/index.ts new file mode 100644 index 000000000..83f924c10 --- /dev/null +++ b/packages/pm/changeset/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-changeset' diff --git a/packages/pm/changeset/package.json b/packages/pm/changeset/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/changeset/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/collab/index.ts b/packages/pm/collab/index.ts new file mode 100644 index 000000000..17cf4ff7e --- /dev/null +++ b/packages/pm/collab/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-collab' diff --git a/packages/pm/collab/package.json b/packages/pm/collab/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/collab/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/commands/index.ts b/packages/pm/commands/index.ts new file mode 100644 index 000000000..50da9e9f7 --- /dev/null +++ b/packages/pm/commands/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-commands' diff --git a/packages/pm/commands/package.json b/packages/pm/commands/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/commands/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/dropcursor/index.ts b/packages/pm/dropcursor/index.ts new file mode 100644 index 000000000..2f73bb580 --- /dev/null +++ b/packages/pm/dropcursor/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-dropcursor' diff --git a/packages/pm/dropcursor/package.json b/packages/pm/dropcursor/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/dropcursor/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/gapcursor/index.ts b/packages/pm/gapcursor/index.ts new file mode 100644 index 000000000..fd3299b1c --- /dev/null +++ b/packages/pm/gapcursor/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-gapcursor' diff --git a/packages/pm/gapcursor/package.json b/packages/pm/gapcursor/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/gapcursor/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/history/index.ts b/packages/pm/history/index.ts new file mode 100644 index 000000000..f0013a749 --- /dev/null +++ b/packages/pm/history/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-history' diff --git a/packages/pm/history/package.json b/packages/pm/history/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/history/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/inputrules/index.ts b/packages/pm/inputrules/index.ts new file mode 100644 index 000000000..1841be360 --- /dev/null +++ b/packages/pm/inputrules/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-inputrules' diff --git a/packages/pm/inputrules/package.json b/packages/pm/inputrules/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/inputrules/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/keymap/index.ts b/packages/pm/keymap/index.ts new file mode 100644 index 000000000..d97e478e1 --- /dev/null +++ b/packages/pm/keymap/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-keymap' diff --git a/packages/pm/keymap/package.json b/packages/pm/keymap/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/keymap/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/markdown/index.ts b/packages/pm/markdown/index.ts new file mode 100644 index 000000000..d623f5eae --- /dev/null +++ b/packages/pm/markdown/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-markdown' diff --git a/packages/pm/markdown/package.json b/packages/pm/markdown/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/markdown/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/menu/index.ts b/packages/pm/menu/index.ts new file mode 100644 index 000000000..78cd963f2 --- /dev/null +++ b/packages/pm/menu/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-menu' diff --git a/packages/pm/menu/package.json b/packages/pm/menu/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/menu/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/model/index.ts b/packages/pm/model/index.ts new file mode 100644 index 000000000..11cb9bf8d --- /dev/null +++ b/packages/pm/model/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-model' diff --git a/packages/pm/model/package.json b/packages/pm/model/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/model/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/package.json b/packages/pm/package.json new file mode 100644 index 000000000..ed44f4f33 --- /dev/null +++ b/packages/pm/package.json @@ -0,0 +1,177 @@ +{ + "name": "@tiptap/pm", + "description": "prosemirror wrapper package for tiptap", + "version": "2.0.0-beta.218", + "homepage": "https://tiptap.dev", + "keywords": [ + "tiptap", + "prosemirror" + ], + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/ueberdosis" + }, + "type": "module", + "exports": { + "./changeset": { + "types": "./changeset/dist/index.d.ts", + "import": "./changeset/dist/index.js", + "require": "./changeset/dist/index.cjs" + }, + "./collab": { + "types": "./collab/dist/index.d.ts", + "import": "./collab/dist/index.js", + "require": "./collab/dist/index.cjs" + }, + "./commands": { + "types": "./commands/dist/index.d.ts", + "import": "./commands/dist/index.js", + "require": "./commands/dist/index.cjs" + }, + "./dropcursor": { + "types": "./dropcursor/dist/index.d.ts", + "import": "./dropcursor/dist/index.js", + "require": "./dropcursor/dist/index.cjs" + }, + "./gapcursor": { + "types": "./gapcursor/dist/index.d.ts", + "import": "./gapcursor/dist/index.js", + "require": "./gapcursor/dist/index.cjs" + }, + "./history": { + "types": "./history/dist/index.d.ts", + "import": "./history/dist/index.js", + "require": "./history/dist/index.cjs" + }, + "./inputrules": { + "types": "./inputrules/dist/index.d.ts", + "import": "./inputrules/dist/index.js", + "require": "./inputrules/dist/index.cjs" + }, + "./keymap": { + "types": "./keymap/dist/index.d.ts", + "import": "./keymap/dist/index.js", + "require": "./keymap/dist/index.cjs" + }, + "./markdown": { + "types": "./markdown/dist/index.d.ts", + "import": "./markdown/dist/index.js", + "require": "./markdown/dist/index.cjs" + }, + "./menu": { + "types": "./menu/dist/index.d.ts", + "import": "./menu/dist/index.js", + "require": "./menu/dist/index.cjs" + }, + "./model": { + "types": "./model/dist/index.d.ts", + "import": "./model/dist/index.js", + "require": "./model/dist/index.cjs" + }, + "./schema-basic": { + "types": "./schema-basic/dist/index.d.ts", + "import": "./schema-basic/dist/index.js", + "require": "./schema-basic/dist/index.cjs" + }, + "./schema-list": { + "types": "./schema-list/dist/index.d.ts", + "import": "./schema-list/dist/index.js", + "require": "./schema-list/dist/index.cjs" + }, + "./state": { + "types": "./state/dist/index.d.ts", + "import": "./state/dist/index.js", + "require": "./state/dist/index.cjs" + }, + "./tables": { + "types": "./tables/dist/index.d.ts", + "import": "./tables/dist/index.js", + "require": "./tables/dist/index.cjs" + }, + "./trailing-node": { + "types": "./trailing-node/dist/index.d.ts", + "import": "./trailing-node/dist/index.js", + "require": "./trailing-node/dist/index.cjs" + }, + "./transform": { + "types": "./transform/dist/index.d.ts", + "import": "./transform/dist/index.js", + "require": "./transform/dist/index.cjs" + }, + "./view": { + "types": "./view/dist/index.d.ts", + "import": "./view/dist/index.js", + "require": "./view/dist/index.cjs" + } + }, + "files": [ + "changeset/**", + "collab/**", + "commands/**", + "dropcursor/**", + "gapcursor/**", + "history/**", + "inputrules/**", + "keymap/**", + "markdown/**", + "menu/**", + "model/**", + "schema-basic/**", + "schema-list/**", + "state/**", + "tables/**", + "trailing-node/**", + "transform/**", + "view/**" + ], + "peerDependencies": { + "@tiptap/core": "^2.0.0-beta.209" + }, + "dependencies": { + "prosemirror-changeset": "^2.2.0", + "prosemirror-collab": "^1.3.0", + "prosemirror-commands": "^1.3.1", + "prosemirror-dropcursor": "^1.5.0", + "prosemirror-gapcursor": "^1.3.1", + "prosemirror-history": "^1.3.0", + "prosemirror-inputrules": "^1.2.0", + "prosemirror-keymap": "^1.2.0", + "prosemirror-markdown": "^1.10.1", + "prosemirror-menu": "^1.2.1", + "prosemirror-model": "^1.18.1", + "prosemirror-schema-basic": "^1.2.0", + "prosemirror-schema-list": "^1.2.2", + "prosemirror-state": "^1.4.1", + "prosemirror-tables": "^1.3.0", + "prosemirror-trailing-node": "^2.0.2", + "prosemirror-transform": "^1.7.0", + "prosemirror-view": "^1.28.2" + }, + "repository": { + "type": "git", + "url": "https://github.com/ueberdosis/tiptap", + "directory": "packages/pm" + }, + "scripts": { + "build": "npm run build:changeset && npm run build:collab && npm run build:commands && npm run build:dropcursor && npm run build:gapcursor && npm run build:history && npm run build:inputrules && npm run build:keymap && npm run build:markdown && npm run build:menu && npm run build:model && npm run build:schema-basic && npm run build:schema-list && npm run build:state && npm run build:tables && npm run build:trailing-node && npm run build:transform && npm run build:view", + "build:changeset": "tsup \"changeset/index.ts\" --out-dir changeset/dist", + "build:collab": "tsup \"collab/index.ts\" --out-dir collab/dist", + "build:commands": "tsup \"commands/index.ts\" --out-dir commands/dist", + "build:dropcursor": "tsup \"dropcursor/index.ts\" --out-dir dropcursor/dist", + "build:gapcursor": "tsup \"gapcursor/index.ts\" --out-dir gapcursor/dist", + "build:history": "tsup \"history/index.ts\" --out-dir history/dist", + "build:inputrules": "tsup \"inputrules/index.ts\" --out-dir inputrules/dist", + "build:keymap": "tsup \"keymap/index.ts\" --out-dir keymap/dist", + "build:markdown": "tsup \"markdown/index.ts\" --out-dir markdown/dist", + "build:menu": "tsup \"menu/index.ts\" --out-dir menu/dist", + "build:model": "tsup \"model/index.ts\" --out-dir model/dist", + "build:schema-basic": "tsup \"schema-basic/index.ts\" --out-dir schema-basic/dist", + "build:schema-list": "tsup \"schema-list/index.ts\" --out-dir schema-list/dist", + "build:state": "tsup \"state/index.ts\" --out-dir state/dist", + "build:tables": "tsup \"tables/index.ts\" --out-dir tables/dist", + "build:trailing-node": "tsup \"trailing-node/index.ts\" --out-dir trailing-node/dist", + "build:transform": "tsup \"transform/index.ts\" --out-dir transform/dist", + "build:view": "tsup \"view/index.ts\" --out-dir view/dist" + } +} diff --git a/packages/pm/schema-basic/index.ts b/packages/pm/schema-basic/index.ts new file mode 100644 index 000000000..dc91b3ed4 --- /dev/null +++ b/packages/pm/schema-basic/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-schema-basic' diff --git a/packages/pm/schema-basic/package.json b/packages/pm/schema-basic/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/schema-basic/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/schema-list/index.ts b/packages/pm/schema-list/index.ts new file mode 100644 index 000000000..e931fed8b --- /dev/null +++ b/packages/pm/schema-list/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-schema-list' diff --git a/packages/pm/schema-list/package.json b/packages/pm/schema-list/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/schema-list/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/state/index.ts b/packages/pm/state/index.ts new file mode 100644 index 000000000..0cfb285bc --- /dev/null +++ b/packages/pm/state/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-state' diff --git a/packages/pm/state/package.json b/packages/pm/state/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/state/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/tables/index.ts b/packages/pm/tables/index.ts new file mode 100644 index 000000000..5716c717f --- /dev/null +++ b/packages/pm/tables/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-tables' diff --git a/packages/pm/tables/package.json b/packages/pm/tables/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/tables/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/trailing-node/index.ts b/packages/pm/trailing-node/index.ts new file mode 100644 index 000000000..5be3c1721 --- /dev/null +++ b/packages/pm/trailing-node/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-trailing-node' diff --git a/packages/pm/trailing-node/package.json b/packages/pm/trailing-node/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/trailing-node/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/transform/index.ts b/packages/pm/transform/index.ts new file mode 100644 index 000000000..26df75c25 --- /dev/null +++ b/packages/pm/transform/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-transform' diff --git a/packages/pm/transform/package.json b/packages/pm/transform/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/transform/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/pm/tsconfig.json b/packages/pm/tsconfig.json new file mode 100644 index 000000000..4082f16a5 --- /dev/null +++ b/packages/pm/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "../../tsconfig.json" +} diff --git a/packages/pm/tsup.config.ts b/packages/pm/tsup.config.ts new file mode 100644 index 000000000..303d65757 --- /dev/null +++ b/packages/pm/tsup.config.ts @@ -0,0 +1,15 @@ +import { defineConfig } from 'tsup' + +export default defineConfig(options => { + return { + entry: options.entry, + outDir: options.outDir, + dts: true, + splitting: true, + clean: true, + format: [ + 'esm', + 'cjs', + ], + } +}) diff --git a/packages/pm/view/index.ts b/packages/pm/view/index.ts new file mode 100644 index 000000000..34d6b656d --- /dev/null +++ b/packages/pm/view/index.ts @@ -0,0 +1 @@ +export * from 'prosemirror-view' diff --git a/packages/pm/view/package.json b/packages/pm/view/package.json new file mode 100644 index 000000000..a09224e22 --- /dev/null +++ b/packages/pm/view/package.json @@ -0,0 +1,14 @@ +{ + "type": "module", + "exports": { + ".": { + "import": "./dist/index.js", + "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" + }, + "./package.json": "./package.json" + }, + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts" +} diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 93b75f9fb..e606ef1ef 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/react + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/react + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/react + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/react + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/react + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/react + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/react + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/react diff --git a/packages/react/package.json b/packages/react/package.json index fc0f08f6b..50c486ea7 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/react", "description": "React components for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -12,35 +12,48 @@ "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, - "main": "dist/tiptap-react.cjs", - "umd": "dist/tiptap-react.umd.js", - "module": "dist/tiptap-react.esm.js", + "exports": { + ".": { + "types": "./dist/packages/react/src/index.d.ts", + "import": "./dist/index.js", + "require": "./dist/index.cjs" + } + }, + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/react/src/index.d.ts", + "type": "module", "files": [ "src", "dist" ], "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "@types/react": "^18.0.1", "@types/react-dom": "^18.0.0", "react": "^18.0.0", "react-dom": "^18.0.0" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209", "react": "^17.0.0 || ^18.0.0", "react-dom": "^17.0.0 || ^18.0.0" }, "dependencies": { - "@tiptap/extension-bubble-menu": "^2.0.0-beta.209", - "@tiptap/extension-floating-menu": "^2.0.0-beta.209", - "prosemirror-view": "^1.28.2" + "@tiptap/extension-bubble-menu": "^2.0.0-beta.218", + "@tiptap/extension-floating-menu": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/react" }, - "sideEffects": false + "sideEffects": false, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" + } } diff --git a/packages/react/rollup.config.js b/packages/react/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/react/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/react/src/EditorContent.tsx b/packages/react/src/EditorContent.tsx index 02a398ef3..802418461 100644 --- a/packages/react/src/EditorContent.tsx +++ b/packages/react/src/EditorContent.tsx @@ -142,6 +142,7 @@ export class PureEditorContent extends React.Component
+ {/* @ts-ignore */} ) diff --git a/packages/react/src/ReactNodeViewRenderer.tsx b/packages/react/src/ReactNodeViewRenderer.tsx index 77d9721c2..d4cfc969b 100644 --- a/packages/react/src/ReactNodeViewRenderer.tsx +++ b/packages/react/src/ReactNodeViewRenderer.tsx @@ -5,8 +5,8 @@ import { NodeViewRendererOptions, NodeViewRendererProps, } from '@tiptap/core' -import { Node as ProseMirrorNode } from 'prosemirror-model' -import { Decoration, NodeView as ProseMirrorNodeView } from 'prosemirror-view' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' +import { Decoration, NodeView as ProseMirrorNodeView } from '@tiptap/pm/view' import React from 'react' import { Editor } from './Editor' @@ -16,15 +16,15 @@ import { ReactNodeViewContext, ReactNodeViewContextProps } from './useReactNodeV export interface ReactNodeViewRendererOptions extends NodeViewRendererOptions { update: | ((props: { - oldNode: ProseMirrorNode; - oldDecorations: Decoration[]; - newNode: ProseMirrorNode; - newDecorations: Decoration[]; - updateProps: () => void; + oldNode: ProseMirrorNode + oldDecorations: Decoration[] + newNode: ProseMirrorNode + newDecorations: Decoration[] + updateProps: () => void }) => boolean) - | null; - as?: string; - className?: string; + | null + as?: string + className?: string } class ReactNodeView extends NodeView< @@ -66,9 +66,13 @@ class ReactNodeView extends NodeView< } return ( - - - + <> + {/* @ts-ignore */} + + {/* @ts-ignore */} + + + ) } diff --git a/packages/react/tsconfig.json b/packages/react/tsconfig.json deleted file mode 100644 index e88cd3be9..000000000 --- a/packages/react/tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "../../tsconfig", - "exclude": [ - "**/node_modules", - "**/dist", - "../../demos", - "../vue-2", - "../vue-3" - ] -} diff --git a/packages/starter-kit/CHANGELOG.md b/packages/starter-kit/CHANGELOG.md index 89e034816..4688d5ad6 100644 --- a/packages/starter-kit/CHANGELOG.md +++ b/packages/starter-kit/CHANGELOG.md @@ -3,6 +3,81 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/starter-kit + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/starter-kit + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/starter-kit + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/starter-kit + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/starter-kit + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/starter-kit + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/starter-kit + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + +**Note:** Version bump only for package @tiptap/starter-kit + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/starter-kit diff --git a/packages/starter-kit/package.json b/packages/starter-kit/package.json index 3748c4c49..aa7bbbc61 100644 --- a/packages/starter-kit/package.json +++ b/packages/starter-kit/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/starter-kit", "description": "starter kit for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -12,38 +12,50 @@ "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, - "main": "dist/tiptap-starter-kit.cjs", - "umd": "dist/tiptap-starter-kit.umd.js", - "module": "dist/tiptap-starter-kit.esm.js", + "exports": { + ".": { + "types": "./dist/packages/starter-kit/src/index.d.ts", + "import": "./dist/index.js", + "require": "./dist/index.cjs" + } + }, + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/starter-kit/src/index.d.ts", + "type": "module", "files": [ "src", "dist" ], "dependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "@tiptap/extension-blockquote": "^2.0.0-beta.209", - "@tiptap/extension-bold": "^2.0.0-beta.209", - "@tiptap/extension-bullet-list": "^2.0.0-beta.209", - "@tiptap/extension-code": "^2.0.0-beta.209", - "@tiptap/extension-code-block": "^2.0.0-beta.209", - "@tiptap/extension-document": "^2.0.0-beta.209", - "@tiptap/extension-dropcursor": "^2.0.0-beta.209", - "@tiptap/extension-gapcursor": "^2.0.0-beta.209", - "@tiptap/extension-hard-break": "^2.0.0-beta.209", - "@tiptap/extension-heading": "^2.0.0-beta.209", - "@tiptap/extension-history": "^2.0.0-beta.209", - "@tiptap/extension-horizontal-rule": "^2.0.0-beta.209", - "@tiptap/extension-italic": "^2.0.0-beta.209", - "@tiptap/extension-list-item": "^2.0.0-beta.209", - "@tiptap/extension-ordered-list": "^2.0.0-beta.209", - "@tiptap/extension-paragraph": "^2.0.0-beta.209", - "@tiptap/extension-strike": "^2.0.0-beta.209", - "@tiptap/extension-text": "^2.0.0-beta.209" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/extension-blockquote": "^2.0.0-beta.218", + "@tiptap/extension-bold": "^2.0.0-beta.218", + "@tiptap/extension-bullet-list": "^2.0.0-beta.218", + "@tiptap/extension-code": "^2.0.0-beta.218", + "@tiptap/extension-code-block": "^2.0.0-beta.218", + "@tiptap/extension-document": "^2.0.0-beta.218", + "@tiptap/extension-dropcursor": "^2.0.0-beta.218", + "@tiptap/extension-gapcursor": "^2.0.0-beta.218", + "@tiptap/extension-hard-break": "^2.0.0-beta.218", + "@tiptap/extension-heading": "^2.0.0-beta.218", + "@tiptap/extension-history": "^2.0.0-beta.218", + "@tiptap/extension-horizontal-rule": "^2.0.0-beta.218", + "@tiptap/extension-italic": "^2.0.0-beta.218", + "@tiptap/extension-list-item": "^2.0.0-beta.218", + "@tiptap/extension-ordered-list": "^2.0.0-beta.218", + "@tiptap/extension-paragraph": "^2.0.0-beta.218", + "@tiptap/extension-strike": "^2.0.0-beta.218", + "@tiptap/extension-text": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/starter-kit" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/starter-kit/rollup.config.js b/packages/starter-kit/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/starter-kit/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/suggestion/CHANGELOG.md b/packages/suggestion/CHANGELOG.md index 986ad6497..fe8eb7b6f 100644 --- a/packages/suggestion/CHANGELOG.md +++ b/packages/suggestion/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/suggestion + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/suggestion + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/suggestion + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/suggestion + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/suggestion + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/suggestion + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/suggestion + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/suggestion diff --git a/packages/suggestion/package.json b/packages/suggestion/package.json index c5a9490cc..9bd6eb19a 100644 --- a/packages/suggestion/package.json +++ b/packages/suggestion/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/suggestion", "description": "suggestion plugin for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -12,29 +12,37 @@ "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, - "main": "dist/tiptap-suggestion.cjs", - "umd": "dist/tiptap-suggestion.umd.js", - "module": "dist/tiptap-suggestion.esm.js", + "exports": { + ".": { + "types": "./dist/packages/suggestion/src/index.d.ts", + "import": "./dist/index.js", + "require": "./dist/index.cjs" + } + }, + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/suggestion/src/index.d.ts", + "type": "module", "files": [ "src", "dist" ], "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209" }, "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-model": "^1.18.1", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2" + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/suggestion" + }, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" } } diff --git a/packages/suggestion/rollup.config.js b/packages/suggestion/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/suggestion/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/suggestion/src/findSuggestionMatch.ts b/packages/suggestion/src/findSuggestionMatch.ts index d24577525..3f22f94e4 100644 --- a/packages/suggestion/src/findSuggestionMatch.ts +++ b/packages/suggestion/src/findSuggestionMatch.ts @@ -1,27 +1,23 @@ import { escapeForRegEx, Range } from '@tiptap/core' -import { ResolvedPos } from 'prosemirror-model' +import { ResolvedPos } from '@tiptap/pm/model' export interface Trigger { - char: string, - allowSpaces: boolean, - allowedPrefixes: string[] | null, - startOfLine: boolean, - $position: ResolvedPos, + char: string + allowSpaces: boolean + allowedPrefixes: string[] | null + startOfLine: boolean + $position: ResolvedPos } export type SuggestionMatch = { - range: Range, - query: string, - text: string, + range: Range + query: string + text: string } | null export function findSuggestionMatch(config: Trigger): SuggestionMatch { const { - char, - allowSpaces, - allowedPrefixes, - startOfLine, - $position, + char, allowSpaces, allowedPrefixes, startOfLine, $position, } = config const escapedChar = escapeForRegEx(char) diff --git a/packages/suggestion/src/suggestion.ts b/packages/suggestion/src/suggestion.ts index aa45da842..486d1aaf1 100644 --- a/packages/suggestion/src/suggestion.ts +++ b/packages/suggestion/src/suggestion.ts @@ -1,57 +1,46 @@ import { Editor, Range } from '@tiptap/core' -import { EditorState, Plugin, PluginKey } from 'prosemirror-state' -import { Decoration, DecorationSet, EditorView } from 'prosemirror-view' +import { EditorState, Plugin, PluginKey } from '@tiptap/pm/state' +import { Decoration, DecorationSet, EditorView } from '@tiptap/pm/view' import { findSuggestionMatch } from './findSuggestionMatch' export interface SuggestionOptions { - pluginKey?: PluginKey, - editor: Editor, - char?: string, - allowSpaces?: boolean, - allowedPrefixes?: string[] | null, - startOfLine?: boolean, - decorationTag?: string, - decorationClass?: string, - command?: (props: { - editor: Editor, - range: Range, - props: I, - }) => void, - items?: (props: { - query: string, - editor: Editor, - }) => I[] | Promise, + pluginKey?: PluginKey + editor: Editor + char?: string + allowSpaces?: boolean + allowedPrefixes?: string[] | null + startOfLine?: boolean + decorationTag?: string + decorationClass?: string + command?: (props: { editor: Editor; range: Range; props: I }) => void + items?: (props: { query: string; editor: Editor }) => I[] | Promise render?: () => { onBeforeStart?: (props: SuggestionProps) => void - onStart?: (props: SuggestionProps) => void, + onStart?: (props: SuggestionProps) => void onBeforeUpdate?: (props: SuggestionProps) => void - onUpdate?: (props: SuggestionProps) => void, - onExit?: (props: SuggestionProps) => void, - onKeyDown?: (props: SuggestionKeyDownProps) => boolean, - }, - allow?: (props: { - editor: Editor, - state: EditorState, - range: Range, - }) => boolean, + onUpdate?: (props: SuggestionProps) => void + onExit?: (props: SuggestionProps) => void + onKeyDown?: (props: SuggestionKeyDownProps) => boolean + } + allow?: (props: { editor: Editor; state: EditorState; range: Range }) => boolean } export interface SuggestionProps { - editor: Editor, - range: Range, - query: string, - text: string, - items: I[], - command: (props: I) => void, - decorationNode: Element | null, - clientRect?: (() => DOMRect | null) | null, + editor: Editor + range: Range + query: string + text: string + items: I[] + command: (props: I) => void + decorationNode: Element | null + clientRect?: (() => DOMRect | null) | null } export interface SuggestionKeyDownProps { - view: EditorView, - event: KeyboardEvent, - range: Range, + view: EditorView + event: KeyboardEvent + range: Range } export const SuggestionPluginKey = new PluginKey('suggestion') @@ -70,7 +59,6 @@ export function Suggestion({ render = () => ({}), allow = () => true, }: SuggestionOptions) { - let props: SuggestionProps | undefined const renderer = render?.() @@ -97,10 +85,10 @@ export function Suggestion({ return } - const state = handleExit && !handleStart - ? prev - : next - const decorationNode = view.dom.querySelector(`[data-decoration-id="${state.decorationId}"]`) + const state = handleExit && !handleStart ? prev : next + const decorationNode = view.dom.querySelector( + `[data-decoration-id="${state.decorationId}"]`, + ) props = { editor, @@ -121,8 +109,10 @@ export function Suggestion({ clientRect: decorationNode ? () => { // because of `items` can be asynchrounous we’ll search for the current decoration node - const { decorationId } = this.key?.getState(editor.state) // eslint-disable-line - const currentDecorationNode = view.dom.querySelector(`[data-decoration-id="${decorationId}"]`) + const { decorationId } = this.key?.getState(editor.state) // eslint-disable-line + const currentDecorationNode = view.dom.querySelector( + `[data-decoration-id="${decorationId}"]`, + ) return currentDecorationNode?.getBoundingClientRect() || null } @@ -171,8 +161,8 @@ export function Suggestion({ // Initialize the plugin's internal state. init() { const state: { - active: boolean, - range: Range, + active: boolean + range: Range query: null | string text: null | string composing: boolean @@ -206,11 +196,7 @@ export function Suggestion({ // * a composition is active (see: https://github.com/ueberdosis/tiptap/issues/1449) if (isEditable && (empty || editor.view.composing)) { // Reset active state if we just left the previous suggestion range - if ( - ((from < prev.range.from) || from > prev.range.to) - && !composing - && !prev.composing - ) { + if ((from < prev.range.from || from > prev.range.to) && !composing && !prev.composing) { next.active = false } @@ -222,7 +208,7 @@ export function Suggestion({ startOfLine, $position: selection.$from, }) - const decorationId = `id_${Math.floor(Math.random() * 0xFFFFFFFF)}` + const decorationId = `id_${Math.floor(Math.random() * 0xffffffff)}` // If we found a match, update the current state to show it if (match && allow({ editor, state, range: match.range })) { diff --git a/packages/vue-2/CHANGELOG.md b/packages/vue-2/CHANGELOG.md index 949e781c8..e58e1aac0 100644 --- a/packages/vue-2/CHANGELOG.md +++ b/packages/vue-2/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/vue-2 + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/vue-2 + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/vue-2 + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/vue-2 + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/vue-2 + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/vue-2 + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/vue-2 + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/vue-2 diff --git a/packages/vue-2/package.json b/packages/vue-2/package.json index a475816ad..4ab9e1931 100644 --- a/packages/vue-2/package.json +++ b/packages/vue-2/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/vue-2", "description": "Vue components for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -12,32 +12,44 @@ "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, - "main": "dist/tiptap-vue-2.cjs", - "umd": "dist/tiptap-vue-2.umd.js", - "module": "dist/tiptap-vue-2.esm.js", + "exports": { + ".": { + "types": "./dist/packages/vue-2/src/index.d.ts", + "import": "./dist/index.js", + "require": "./dist/index.cjs" + } + }, + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/vue-2/src/index.d.ts", + "type": "module", "files": [ "src", "dist" ], "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-view": "^1.28.2", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "vue": "^2.6.0" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-view": "^1.28.2", + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209", "vue": "^2.6.0" }, "dependencies": { - "@tiptap/extension-bubble-menu": "^2.0.0-beta.209", - "@tiptap/extension-floating-menu": "^2.0.0-beta.209" + "@tiptap/extension-bubble-menu": "^2.0.0-beta.218", + "@tiptap/extension-floating-menu": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/vue-2" }, - "sideEffects": false + "sideEffects": false, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" + } } diff --git a/packages/vue-2/rollup.config.js b/packages/vue-2/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/vue-2/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/vue-2/src/VueNodeViewRenderer.ts b/packages/vue-2/src/VueNodeViewRenderer.ts index 6de4319ff..cb546fc76 100644 --- a/packages/vue-2/src/VueNodeViewRenderer.ts +++ b/packages/vue-2/src/VueNodeViewRenderer.ts @@ -5,8 +5,8 @@ import { NodeViewRendererOptions, NodeViewRendererProps, } from '@tiptap/core' -import { Node as ProseMirrorNode } from 'prosemirror-model' -import { Decoration, NodeView as ProseMirrorNodeView } from 'prosemirror-view' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' +import { Decoration, NodeView as ProseMirrorNodeView } from '@tiptap/pm/view' import Vue from 'vue' import { PropType, VueConstructor } from 'vue/types/umd' @@ -49,17 +49,18 @@ export const nodeViewProps = { } export interface VueNodeViewRendererOptions extends NodeViewRendererOptions { - update: ((props: { - oldNode: ProseMirrorNode, - oldDecorations: Decoration[], - newNode: ProseMirrorNode, - newDecorations: Decoration[], - updateProps: () => void, - }) => boolean) | null, + update: + | ((props: { + oldNode: ProseMirrorNode + oldDecorations: Decoration[] + newNode: ProseMirrorNode + newDecorations: Decoration[] + updateProps: () => void + }) => boolean) + | null } -class VueNodeView extends NodeView<(Vue | VueConstructor), Editor, VueNodeViewRendererOptions> { - +class VueNodeView extends NodeView { renderer!: VueRenderer decorationClasses!: { @@ -87,17 +88,15 @@ class VueNodeView extends NodeView<(Vue | VueConstructor), Editor, VueNodeViewRe // @ts-ignore const vue = this.editor.contentComponent?.$options._base ?? Vue // eslint-disable-line - const Component = vue - .extend(this.component) - .extend({ - props: Object.keys(props), - provide: () => { - return { - onDragStart, - decorationClasses: this.decorationClasses, - } - }, - }) + const Component = vue.extend(this.component).extend({ + props: Object.keys(props), + provide: () => { + return { + onDragStart, + decorationClasses: this.decorationClasses, + } + }, + }) this.renderer = new VueRenderer(Component, { parent: this.editor.contentComponent, @@ -174,20 +173,24 @@ class VueNodeView extends NodeView<(Vue | VueConstructor), Editor, VueNodeViewRe } getDecorationClasses() { - return this.decorations - // @ts-ignore - .map(item => item.type.attrs.class) - .flat() - .join(' ') + return ( + this.decorations + // @ts-ignore + .map(item => item.type.attrs.class) + .flat() + .join(' ') + ) } destroy() { this.renderer.destroy() } - } -export function VueNodeViewRenderer(component: Vue | VueConstructor, options?: Partial): NodeViewRenderer { +export function VueNodeViewRenderer( + component: Vue | VueConstructor, + options?: Partial, +): NodeViewRenderer { return (props: NodeViewRendererProps) => { // try to get the parent component // this is important for vue devtools to show the component hierarchy correctly diff --git a/packages/vue-2/tsconfig.json b/packages/vue-2/tsconfig.json deleted file mode 100644 index 936b31366..000000000 --- a/packages/vue-2/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../../tsconfig", - "exclude": [ - "**/node_modules", - "**/dist", - "../../demos", - "../vue-3" - ] -} diff --git a/packages/vue-3/CHANGELOG.md b/packages/vue-3/CHANGELOG.md index a9a7bfa5f..d9afb53e2 100644 --- a/packages/vue-3/CHANGELOG.md +++ b/packages/vue-3/CHANGELOG.md @@ -3,6 +3,84 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-beta.218](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.217...v2.0.0-beta.218) (2023-02-18) + +**Note:** Version bump only for package @tiptap/vue-3 + + + + + +# [2.0.0-beta.217](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.216...v2.0.0-beta.217) (2023-02-09) + +**Note:** Version bump only for package @tiptap/vue-3 + + + + + +# [2.0.0-beta.216](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.215...v2.0.0-beta.216) (2023-02-08) + +**Note:** Version bump only for package @tiptap/vue-3 + + + + + +# [2.0.0-beta.215](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.214...v2.0.0-beta.215) (2023-02-08) + + +### Bug Fixes + +* fix builds including prosemirror ([a380ec4](https://github.com/ueberdosis/tiptap/commit/a380ec41d198ebacc80cea9e79b0a8aa3092618a)) + + + + + +# [2.0.0-beta.214](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.213...v2.0.0-beta.214) (2023-02-08) + +**Note:** Version bump only for package @tiptap/vue-3 + + + + + +# [2.0.0-beta.213](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.212...v2.0.0-beta.213) (2023-02-07) + +**Note:** Version bump only for package @tiptap/vue-3 + + + + + +# [2.0.0-beta.212](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.211...v2.0.0-beta.212) (2023-02-03) + +**Note:** Version bump only for package @tiptap/vue-3 + + + + + +# [2.0.0-beta.211](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.210...v2.0.0-beta.211) (2023-02-02) + +**Note:** Version bump only for package @tiptap/vue-3 + + + + + +# [2.0.0-beta.210](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.209...v2.0.0-beta.210) (2023-02-02) + + +### Features + +* **pm:** new prosemirror package for dependency resolving ([f387ad3](https://github.com/ueberdosis/tiptap/commit/f387ad3dd4c2b30eaea33fb0ba0b42e0cd39263b)) + + + + + # [2.0.0-beta.209](https://github.com/ueberdosis/tiptap/compare/v2.0.0-beta.208...v2.0.0-beta.209) (2022-12-16) **Note:** Version bump only for package @tiptap/vue-3 diff --git a/packages/vue-3/package.json b/packages/vue-3/package.json index 5271826dc..c84120b21 100644 --- a/packages/vue-3/package.json +++ b/packages/vue-3/package.json @@ -1,7 +1,7 @@ { "name": "@tiptap/vue-3", "description": "Vue components for tiptap", - "version": "2.0.0-beta.209", + "version": "2.0.0-beta.218", "homepage": "https://tiptap.dev", "keywords": [ "tiptap", @@ -12,34 +12,44 @@ "type": "github", "url": "https://github.com/sponsors/ueberdosis" }, - "main": "dist/tiptap-vue-3.cjs", - "umd": "dist/tiptap-vue-3.umd.js", - "module": "dist/tiptap-vue-3.esm.js", + "exports": { + ".": { + "types": "./dist/packages/vue-3/src/index.d.ts", + "import": "./dist/index.js", + "require": "./dist/index.cjs" + } + }, + "main": "dist/index.cjs", + "module": "dist/index.js", + "umd": "dist/index.umd.js", "types": "dist/packages/vue-3/src/index.d.ts", + "type": "module", "files": [ "src", "dist" ], "devDependencies": { - "@tiptap/core": "^2.0.0-beta.209", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2", + "@tiptap/core": "^2.0.0-beta.218", + "@tiptap/pm": "^2.0.0-beta.218", "vue": "^3.0.0" }, "peerDependencies": { - "@tiptap/core": "^2.0.0-beta.193", - "prosemirror-state": "^1.4.1", - "prosemirror-view": "^1.28.2", + "@tiptap/core": "^2.0.0-beta.209", + "@tiptap/pm": "^2.0.0-beta.209", "vue": "^3.0.0" }, "dependencies": { - "@tiptap/extension-bubble-menu": "^2.0.0-beta.209", - "@tiptap/extension-floating-menu": "^2.0.0-beta.209" + "@tiptap/extension-bubble-menu": "^2.0.0-beta.218", + "@tiptap/extension-floating-menu": "^2.0.0-beta.218" }, "repository": { "type": "git", "url": "https://github.com/ueberdosis/tiptap", "directory": "packages/vue-3" }, - "sideEffects": false + "sideEffects": false, + "scripts": { + "clean": "rm -rf dist", + "build": "npm run clean && rollup -c" + } } diff --git a/packages/vue-3/rollup.config.js b/packages/vue-3/rollup.config.js new file mode 100644 index 000000000..d282f8430 --- /dev/null +++ b/packages/vue-3/rollup.config.js @@ -0,0 +1,60 @@ +import sizes from '@atomico/rollup-plugin-sizes' +import babel from '@rollup/plugin-babel' +import commonjs from '@rollup/plugin-commonjs' +import resolve from '@rollup/plugin-node-resolve' +import autoExternal from 'rollup-plugin-auto-external' +import sourcemaps from 'rollup-plugin-sourcemaps' +import typescript from 'rollup-plugin-typescript2' + +import pkg from './package.json' + +export default { + external: [/@tiptap\/pm\/.*/], + input: 'src/index.ts', + output: [ + { + name: pkg.name, + file: pkg.umd, + format: 'umd', + sourcemap: true, + }, + { + name: pkg.name, + file: pkg.main, + format: 'cjs', + sourcemap: true, + exports: 'auto', + }, + { + name: pkg.name, + file: pkg.module, + format: 'es', + sourcemap: true, + }, + ], + plugins: [ + autoExternal({ + packagePath: './package.json', + }), + sourcemaps(), + resolve(), + commonjs(), + babel({ + babelHelpers: 'bundled', + exclude: '../../node_modules/**', + }), + sizes(), + typescript({ + tsconfig: '../../tsconfig.json', + tsconfigOverride: { + compilerOptions: { + declaration: true, + paths: { + '@tiptap/*': ['packages/*/src'], + }, + }, + include: null, + }, + }), + ], +} diff --git a/packages/vue-3/src/BubbleMenu.ts b/packages/vue-3/src/BubbleMenu.ts index 88a3cd1a7..841da0139 100644 --- a/packages/vue-3/src/BubbleMenu.ts +++ b/packages/vue-3/src/BubbleMenu.ts @@ -13,9 +13,7 @@ export const BubbleMenu = defineComponent({ props: { pluginKey: { - // TODO: TypeScript breaks :( - // type: [String, Object as PropType>], - type: null, + type: [String, Object] as PropType, default: 'bubbleMenu', }, diff --git a/packages/vue-3/src/Editor.ts b/packages/vue-3/src/Editor.ts index 81cb0250e..26b2a9bc2 100644 --- a/packages/vue-3/src/Editor.ts +++ b/packages/vue-3/src/Editor.ts @@ -1,5 +1,5 @@ import { Editor as CoreEditor, EditorOptions } from '@tiptap/core' -import { EditorState, Plugin, PluginKey } from 'prosemirror-state' +import { EditorState, Plugin, PluginKey } from '@tiptap/pm/state' import { ComponentInternalInstance, ComponentPublicInstance, @@ -34,7 +34,7 @@ function useDebouncedRef(value: T) { } export type ContentComponent = ComponentInternalInstance & { - ctx: ComponentPublicInstance, + ctx: ComponentPublicInstance } export class Editor extends CoreEditor { @@ -61,21 +61,20 @@ export class Editor extends CoreEditor { } get state() { - return this.reactiveState - ? this.reactiveState.value - : this.view.state + return this.reactiveState ? this.reactiveState.value : this.view.state } get storage() { - return this.reactiveExtensionStorage - ? this.reactiveExtensionStorage.value - : super.storage + return this.reactiveExtensionStorage ? this.reactiveExtensionStorage.value : super.storage } /** * Register a ProseMirror plugin. */ - public registerPlugin(plugin: Plugin, handlePlugins?: (newPlugin: Plugin, plugins: Plugin[]) => Plugin[]): void { + public registerPlugin( + plugin: Plugin, + handlePlugins?: (newPlugin: Plugin, plugins: Plugin[]) => Plugin[], + ): void { super.registerPlugin(plugin, handlePlugins) this.reactiveState.value = this.view.state } diff --git a/packages/vue-3/src/VueNodeViewRenderer.ts b/packages/vue-3/src/VueNodeViewRenderer.ts index 96563d75b..1367e9225 100644 --- a/packages/vue-3/src/VueNodeViewRenderer.ts +++ b/packages/vue-3/src/VueNodeViewRenderer.ts @@ -5,7 +5,7 @@ import { NodeViewRendererOptions, NodeViewRendererProps, } from '@tiptap/core' -import { Node as ProseMirrorNode } from 'prosemirror-model' +import { Node as ProseMirrorNode } from '@tiptap/pm/model' import { Decoration, NodeView as ProseMirrorNodeView } from 'prosemirror-view' import { Component, @@ -55,17 +55,18 @@ export const nodeViewProps = { } export interface VueNodeViewRendererOptions extends NodeViewRendererOptions { - update: ((props: { - oldNode: ProseMirrorNode, - oldDecorations: Decoration[], - newNode: ProseMirrorNode, - newDecorations: Decoration[], - updateProps: () => void, - }) => boolean) | null, + update: + | ((props: { + oldNode: ProseMirrorNode + oldDecorations: Decoration[] + newNode: ProseMirrorNode + newDecorations: Decoration[] + updateProps: () => void + }) => boolean) + | null } class VueNodeView extends NodeView { - renderer!: VueRenderer decorationClasses!: Ref @@ -183,20 +184,24 @@ class VueNodeView extends NodeView item.type.attrs.class) - .flat() - .join(' ') + return ( + this.decorations + // @ts-ignore + .map(item => item.type.attrs.class) + .flat() + .join(' ') + ) } destroy() { this.renderer.destroy() } - } -export function VueNodeViewRenderer(component: Component, options?: Partial): NodeViewRenderer { +export function VueNodeViewRenderer( + component: Component, + options?: Partial, +): NodeViewRenderer { return (props: NodeViewRendererProps) => { // try to get the parent component // this is important for vue devtools to show the component hierarchy correctly diff --git a/packages/vue-3/tsconfig.json b/packages/vue-3/tsconfig.json deleted file mode 100644 index 7b743969f..000000000 --- a/packages/vue-3/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../../tsconfig", - "exclude": [ - "**/node_modules", - "**/dist", - "../../demos", - "../vue-2" - ] -} diff --git a/rollup.config.js b/rollup.config.js deleted file mode 100644 index 604803508..000000000 --- a/rollup.config.js +++ /dev/null @@ -1,109 +0,0 @@ -import sizes from '@atomico/rollup-plugin-sizes' -import batchPackages from '@lerna/batch-packages' -import { filterPackages } from '@lerna/filter-packages' -import { getPackages } from '@lerna/project' -import babel from '@rollup/plugin-babel' -import commonjs from '@rollup/plugin-commonjs' -import resolve from '@rollup/plugin-node-resolve' -import fs from 'fs' -import minimist from 'minimist' -import path from 'path' -import autoExternal from 'rollup-plugin-auto-external' -import sourcemaps from 'rollup-plugin-sourcemaps' -import typescript from 'rollup-plugin-typescript2' - -async function getSortedPackages(scope, ignore) { - const packages = await getPackages(__dirname) - const filtered = filterPackages(packages, scope, ignore, false) - - return batchPackages(filtered) - .filter(item => item.name !== '@tiptap/demos') - .reduce((arr, batch) => arr.concat(batch), []) -} - -async function build(commandLineArgs) { - const config = [] - - // Support --scope and --ignore globs if passed in via commandline - const { scope, ignore } = minimist(process.argv.slice(2)) - const packages = await getSortedPackages(scope, ignore) - - // prevent rollup warning - delete commandLineArgs.ci - delete commandLineArgs.scope - delete commandLineArgs.ignore - - packages.forEach(pkg => { - const basePath = path.relative(__dirname, pkg.location) - const input = path.join(basePath, 'src/index.ts') - const { - name, - main, - umd, - module, - } = pkg.toJSON() - - const basePlugins = [ - sourcemaps(), - resolve(), - commonjs(), - babel({ - babelHelpers: 'bundled', - exclude: 'node_modules/**', - }), - sizes(), - ] - - config.push({ - // perf: true, - input, - output: [ - { - name, - file: path.join(basePath, umd), - format: 'umd', - sourcemap: true, - }, - { - name, - file: path.join(basePath, main), - format: 'cjs', - sourcemap: true, - exports: 'auto', - }, - { - name, - file: path.join(basePath, module), - format: 'es', - sourcemap: true, - }, - ], - plugins: [ - autoExternal({ - packagePath: path.join(basePath, 'package.json'), - }), - ...basePlugins, - typescript({ - tsconfig: fs.existsSync(`${basePath}/tsconfig.json`) - ? `${basePath}/tsconfig.json` - : 'tsconfig.json', - tsconfigOverride: { - compilerOptions: { - declaration: true, - paths: { - '@tiptap/*': ['packages/*/src'], - }, - }, - include: fs.existsSync(`${basePath}/tsconfig.json`) - ? [] - : null, - }, - }), - ], - }) - }) - - return config -} - -export default build diff --git a/tests/cypress.config.js b/tests/cypress.config.js index 9da19a5f1..2eab003fa 100644 --- a/tests/cypress.config.js +++ b/tests/cypress.config.js @@ -1,7 +1,7 @@ const { defineConfig } = require('cypress') module.exports = defineConfig({ - defaultCommandTimeout: 15000, + defaultCommandTimeout: 12000, e2e: { setupNodeEvents(on, config) { return require('./cypress/plugins/index.js')(on, config) diff --git a/tests/cypress/integration/core/can.spec.ts b/tests/cypress/integration/core/can.spec.ts index f4f361cbc..0c8abee50 100644 --- a/tests/cypress/integration/core/can.spec.ts +++ b/tests/cypress/integration/core/can.spec.ts @@ -12,12 +12,7 @@ import Text from '@tiptap/extension-text' describe('can', () => { it('not undo', () => { const editor = new Editor({ - extensions: [ - Document, - Paragraph, - Text, - History, - ], + extensions: [Document, Paragraph, Text, History], }) const canUndo = editor.can().undo() @@ -27,12 +22,7 @@ describe('can', () => { it('undo', () => { const editor = new Editor({ - extensions: [ - Document, - Paragraph, - Text, - History, - ], + extensions: [Document, Paragraph, Text, History], }) editor.commands.setContent('foo') @@ -44,12 +34,7 @@ describe('can', () => { it('not chain undo', () => { const editor = new Editor({ - extensions: [ - Document, - Paragraph, - Text, - History, - ], + extensions: [Document, Paragraph, Text, History], }) const canUndo = editor.can().chain().undo().run() @@ -59,12 +44,7 @@ describe('can', () => { it('chain undo', () => { const editor = new Editor({ - extensions: [ - Document, - Paragraph, - Text, - History, - ], + extensions: [Document, Paragraph, Text, History], }) editor.commands.setContent('foo') @@ -76,17 +56,11 @@ describe('can', () => { it('returns false for non-applicable marks when selection contains node in conflict', () => { const editor = new Editor({ - extensions: [ - Document, - Paragraph, - Text, - History, - CodeBlock, - Bold, - ], + extensions: [Document, Paragraph, Text, History, CodeBlock, Bold], }) - editor.chain() + editor + .chain() .setCodeBlock() .insertContent('Test code block') .setTextSelection({ from: 2, to: 3 }) @@ -100,20 +74,10 @@ describe('can', () => { it('returns false for non-applicable marks when selection contains marks in conflict', () => { const editor = new Editor({ - extensions: [ - Document, - Paragraph, - Text, - History, - Code, - Bold, - ], + extensions: [Document, Paragraph, Text, History, Code, Bold], }) - editor.chain() - .setContent('test') - .setTextSelection({ from: 2, to: 3 }) - .run() + editor.chain().setContent('test').setTextSelection({ from: 2, to: 3 }).run() const canSetMarkToBold = editor.can().setMark('bold') @@ -122,14 +86,7 @@ describe('can', () => { it('returns false for non-applicable marks when stored marks in conflict', () => { const editor = new Editor({ - extensions: [ - Document, - Paragraph, - Text, - History, - Code, - Bold, - ], + extensions: [Document, Paragraph, Text, History, Code, Bold], }) editor.chain().setContent('test').run() @@ -141,14 +98,7 @@ describe('can', () => { it('returns false for non-applicable marks when selecting multiple nodes in conflict', () => { const editor = new Editor({ - extensions: [ - Document, - Paragraph, - Text, - History, - Code, - Bold, - ], + extensions: [Document, Paragraph, Text, History, Code, Bold], }) editor.chain().setContent('test123').selectAll().run() @@ -160,17 +110,11 @@ describe('can', () => { it('returns true for applicable marks when selection does not contain nodes in conflict', () => { const editor = new Editor({ - extensions: [ - Document, - Paragraph, - Text, - History, - CodeBlock, - Bold, - ], + extensions: [Document, Paragraph, Text, History, CodeBlock, Bold], }) - editor.chain() + editor + .chain() .setCodeBlock() .insertContent('Test code block') .exitCode() @@ -185,14 +129,7 @@ describe('can', () => { it('returns true for applicable marks when stored marks are not in conflict', () => { const editor = new Editor({ - extensions: [ - Document, - Paragraph, - Text, - History, - Code, - Bold, - ], + extensions: [Document, Paragraph, Text, History, Code, Bold], }) editor.chain().setContent('test').toggleCode().run() @@ -204,17 +141,11 @@ describe('can', () => { it('returns true for applicable marks when selection does not contain marks in conflict', () => { const editor = new Editor({ - extensions: [ - Document, - Paragraph, - Text, - History, - Code, - Bold, - ], + extensions: [Document, Paragraph, Text, History, Code, Bold], }) - editor.chain() + editor + .chain() .setContent('test') .setTextSelection({ from: 2, to: 3 }) .toggleCode() @@ -227,14 +158,7 @@ describe('can', () => { it('returns true for applicable marks if at least one node in selection has no marks in conflict', () => { const editor = new Editor({ - extensions: [ - Document, - Paragraph, - Text, - History, - Code, - Bold, - ], + extensions: [Document, Paragraph, Text, History, Code, Bold], }) editor.chain().setContent('test123').selectAll().run() diff --git a/tests/cypress/integration/core/mergeAttributes.spec.ts b/tests/cypress/integration/core/mergeAttributes.spec.ts index 7fea0e664..4acc9f36d 100644 --- a/tests/cypress/integration/core/mergeAttributes.spec.ts +++ b/tests/cypress/integration/core/mergeAttributes.spec.ts @@ -59,7 +59,6 @@ describe('mergeAttributes', () => { }) it('should ignore falsy values', () => { - // @ts-expect-error const value = mergeAttributes(undefined, { class: 'foo' }) expect(value).to.deep.eq({ diff --git a/tests/cypress/tsconfig.json b/tests/cypress/tsconfig.json index 974e84cd9..608b1b667 100644 --- a/tests/cypress/tsconfig.json +++ b/tests/cypress/tsconfig.json @@ -1,13 +1,14 @@ { "extends": "../../tsconfig.json", "compilerOptions": { + "strict": false, "noEmit": false, "sourceMap": false, - "types": [ - "cypress", - ], + "types": ["cypress"], + "paths": { + "@tiptap/*": ["packages/*/dist", "packages/*/src"], + "@tiptap/pm/*": ["../../pm/*/dist"] + } }, - "include": [ - "./*/*.ts" - ] + "include": ["./*/*.ts", "../../**/*.ts"] }