diff --git a/.eslintrc.js b/.eslintrc.js index 3e6994b39..0f1021850 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -27,10 +27,6 @@ module.exports = { '@taiga-ui/experience/no-typeof': 'off', '@typescript-eslint/naming-convention': 'off', // TODO '@typescript-eslint/consistent-type-assertions': 'off', - 'perfectionist/sort-interfaces': 'off', - 'perfectionist/sort-enums': 'off', - 'perfectionist/sort-object-types': 'off', - 'perfectionist/sort-map-elements': 'off', 'no-irregular-whitespace': 'off', 'max-statements': 'off', 'no-restricted-syntax': 'off', // TODO diff --git a/.github/workflows/auto-add-to-project.yml b/.github/workflows/auto-add-to-project.yml index a90f551ab..916fd0e4c 100644 --- a/.github/workflows/auto-add-to-project.yml +++ b/.github/workflows/auto-add-to-project.yml @@ -7,6 +7,6 @@ jobs: automate-project-columns: runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup-project@1.12.0 + - uses: taiga-family/ci/actions/setup-project@1.12.2 with: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index fb01622fb..d8929780d 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -8,8 +8,8 @@ jobs: pull-requests: write steps: - uses: actions/checkout@v4.0.0 - - uses: taiga-family/ci/actions/variables@1.12.0 - - uses: taiga-family/ci/actions/two-approve@1.12.0 + - uses: taiga-family/ci/actions/variables@1.12.2 + - uses: taiga-family/ci/actions/two-approve@1.12.2 if: env.TAIGA_FAMILY_BOT_IS_AUTHOR == 'true' with: token1: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml index a3e033061..379bbea50 100644 --- a/.github/workflows/auto-author-assign.yml +++ b/.github/workflows/auto-author-assign.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.0.0 - - uses: taiga-family/ci/actions/variables@1.12.0 + - uses: taiga-family/ci/actions/variables@1.12.2 - name: Auto assign if: env.IS_OWNER_MODE == 'true' diff --git a/.github/workflows/auto-cleanup-caches.yml b/.github/workflows/auto-cleanup-caches.yml index 42833ca6f..c98de2e29 100644 --- a/.github/workflows/auto-cleanup-caches.yml +++ b/.github/workflows/auto-cleanup-caches.yml @@ -13,11 +13,11 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v4.0.0 - - uses: taiga-family/ci/actions/cleanup-cache@1.12.0 + - uses: taiga-family/ci/actions/cleanup-cache@1.12.2 if: github.event_name == 'push' with: branch-name: ${{ github.head_ref || github.ref_name }} - - uses: taiga-family/ci/actions/cleanup-cache@1.12.0 + - uses: taiga-family/ci/actions/cleanup-cache@1.12.2 if: github.event_name == 'pull_request' with: branch-name: refs/pull/${{ github.event.pull_request.number }}/merge diff --git a/.github/workflows/auto-dependency-review.yml b/.github/workflows/auto-dependency-review.yml index d70ac09ac..8167bf232 100644 --- a/.github/workflows/auto-dependency-review.yml +++ b/.github/workflows/auto-dependency-review.yml @@ -9,4 +9,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.0.0 - - uses: taiga-family/ci/actions/dependency-review@1.12.0 + - uses: taiga-family/ci/actions/dependency-review@1.12.2 diff --git a/.github/workflows/auto-label.yml b/.github/workflows/auto-label.yml index a537f0da9..e05524243 100644 --- a/.github/workflows/auto-label.yml +++ b/.github/workflows/auto-label.yml @@ -7,8 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.0.0 - - uses: taiga-family/ci/actions/variables@1.12.0 - - uses: taiga-family/ci/actions/label-when-approved@1.12.0 + - uses: taiga-family/ci/actions/variables@1.12.2 + - uses: taiga-family/ci/actions/label-when-approved@1.12.2 with: approvals: 1 token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/auto-remove-label.yml b/.github/workflows/auto-remove-label.yml index 1c1791289..d4af36c81 100644 --- a/.github/workflows/auto-remove-label.yml +++ b/.github/workflows/auto-remove-label.yml @@ -8,4 +8,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.0.0 - - uses: taiga-family/ci/actions/auto-remove-label@1.12.0 + - uses: taiga-family/ci/actions/auto-remove-label@1.12.2 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2572a29e..706704428 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Build packages run: npx nx run-many --target build --all --exclude=demo @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Build demo application for Github Pages run: npx nx build-gh-pages diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 30931b5f6..8e9b27068 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -33,7 +33,7 @@ jobs: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Run release id: run-release diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 9293d515f..a678581ff 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - run: npm run build diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0dbe7d0a9..6b630c01e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Build demo run: npx nx build-gh-pages diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index c01f18e22..102bf6d73 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -18,7 +18,7 @@ jobs: fetch-depth: 10 - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Mark demo-app directory for persist in cache uses: actions/cache@v3 @@ -45,7 +45,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Download demo build from cache uses: actions/cache@v3 @@ -71,7 +71,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Download demo build from cache uses: actions/cache@v3 @@ -95,7 +95,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Download demo build from cache uses: actions/cache@v3 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 563bd3a0c..e54b8eccb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,7 +8,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Typecheck run: npm run typecheck @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4.0.0 - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Run cspell run: npm run cspell -- --no-progress @@ -29,7 +29,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup global variables - uses: taiga-family/ci/actions/variables@1.12.0 + uses: taiga-family/ci/actions/variables@1.12.2 - uses: actions/checkout@v4 if: env.SUPPORT_AUTO_PUSH == 'true' @@ -38,21 +38,21 @@ jobs: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Run prettier run: npm run prettier ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --write' || '-- --check' }} - name: Apply changes after linting if: env.SUPPORT_AUTO_PUSH == 'true' - uses: taiga-family/ci/actions/auto-push@1.12.0 + uses: taiga-family/ci/actions/auto-push@1.12.2 stylelint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup global variables - uses: taiga-family/ci/actions/variables@1.12.0 + uses: taiga-family/ci/actions/variables@1.12.2 - uses: actions/checkout@v4 if: env.SUPPORT_AUTO_PUSH == 'true' @@ -61,21 +61,21 @@ jobs: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Run stylelint run: npm run stylelint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }} - name: Apply changes after linting if: env.SUPPORT_AUTO_PUSH == 'true' - uses: taiga-family/ci/actions/auto-push@1.12.0 + uses: taiga-family/ci/actions/auto-push@1.12.2 eslint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup global variables - uses: taiga-family/ci/actions/variables@1.12.0 + uses: taiga-family/ci/actions/variables@1.12.2 - uses: actions/checkout@v4 if: env.SUPPORT_AUTO_PUSH == 'true' @@ -84,14 +84,14 @@ jobs: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Run eslint run: npm run lint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }} - name: Apply changes after linting if: env.SUPPORT_AUTO_PUSH == 'true' - uses: taiga-family/ci/actions/auto-push@1.12.0 + uses: taiga-family/ci/actions/auto-push@1.12.2 concurrency: group: lint-${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index fcbe60e11..192943a1a 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Build publishable libraries run: npx nx run-many --target build --all --exclude=demo diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8319c40d..afb2735a4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Node.js and Cache - uses: taiga-family/ci/actions/setup-node@1.12.0 + uses: taiga-family/ci/actions/setup-node@1.12.2 - name: Run tests run: npx nx run-many --target test --all --coverage diff --git a/CHANGELOG.md b/CHANGELOG.md index 616102627..d738b8c6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [1.5.1](https://github.com/taiga-family/maskito/compare/v1.5.0...v1.5.1) (2023-09-08) + +### Bug Fixes + +- **vue:** `elementPredicate` should accept `MaskitoElementPredicateAsync` type + ([#487](https://github.com/taiga-family/maskito/issues/487)) + ([fe7e9dc](https://github.com/taiga-family/maskito/commit/fe7e9dcb468bf3ab30978c947d8fa21cc0e51a75)) + ## [1.5.0](https://github.com/taiga-family/maskito/compare/v1.4.0...v1.5.0) (2023-09-04) ### Features diff --git a/package-lock.json b/package-lock.json index fea2f96fe..4cdf59341 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "maskito", - "version": "1.5.0", + "version": "1.5.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "maskito", - "version": "1.5.0", + "version": "1.5.1", "hasInstallScript": true, "license": "Apache-2.0", "workspaces": [ @@ -43,10 +43,10 @@ "@types/jest": "27.5.2", "@types/node": "17.0.45", "babel-jest": "27.5.1", - "cspell": "7.3.2", + "cspell": "7.3.3", "cypress": "10.11.0", "cypress-real-events": "1.10.1", - "eslint": "8.48.0", + "eslint": "8.49.0", "eslint-config-prettier": "7.2.0", "http-server": "14.1.1", "husky": "7.0.4", @@ -4072,15 +4072,15 @@ } }, "node_modules/@cspell/cspell-bundled-dicts": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-7.3.2.tgz", - "integrity": "sha512-mmb9gi2/jTj983ijgVsdsQ4FM5Bv/lKslgJt4jDUm6SOtQYW4geCJNl5/MbMzcMQUWSJouS0w4C55AyrJmq0iw==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-7.3.3.tgz", + "integrity": "sha512-NSwDR+AdIbrgc2BJ/UyeV95K7WXABrUg9se10fc0p1k1OnO+ia/hUp+2/0P/VEZao7VrIS6NyQ4QwN2AMy2M6Q==", "dev": true, "dependencies": { "@cspell/dict-ada": "^4.0.2", "@cspell/dict-aws": "^4.0.0", "@cspell/dict-bash": "^4.1.1", - "@cspell/dict-companies": "^3.0.20", + "@cspell/dict-companies": "^3.0.21", "@cspell/dict-cpp": "^5.0.4", "@cspell/dict-cryptocurrencies": "^4.0.0", "@cspell/dict-csharp": "^4.0.2", @@ -4130,30 +4130,30 @@ } }, "node_modules/@cspell/cspell-json-reporter": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-json-reporter/-/cspell-json-reporter-7.3.2.tgz", - "integrity": "sha512-5j1CX2OXkQGO3ljMBzfHjDzEiixodjfxVGR3VKkQX1vxTUMTIkPgt4BsgOVCQtqTiO21Dd2Bzn+H0/Jf4OL37g==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/@cspell/cspell-json-reporter/-/cspell-json-reporter-7.3.3.tgz", + "integrity": "sha512-uhqMkM+Ff+fJonI8EJbiV2E/c7kPcCQ3ME+jwXBNttc/gNhG8quDTZg8Zp/u7JTW1kJlpZ+Utxryp7QxrQ0HuQ==", "dev": true, "dependencies": { - "@cspell/cspell-types": "7.3.2" + "@cspell/cspell-types": "7.3.3" }, "engines": { "node": ">=16" } }, "node_modules/@cspell/cspell-pipe": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-7.3.2.tgz", - "integrity": "sha512-ZKOkb6IxuEXRXtjVAlZ41+4SXhyiGqrQ3FW16iZlCbM9Mp9WJAw2MOVh6wvpXmfKcM5/3jK1A4rFylB7b0QBHw==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-7.3.3.tgz", + "integrity": "sha512-OL18zkEozJBrXVn9SfJKhPF1vRIdu6hdEvdJ1bJvVrASJ8N0E3d9hH7flHzCFdFFbLu9LAFaZoszUg5RxNTJeQ==", "dev": true, "engines": { "node": ">=16" } }, "node_modules/@cspell/cspell-resolver": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-resolver/-/cspell-resolver-7.3.2.tgz", - "integrity": "sha512-3gvZPlYLkjuPezF2VyCVurEJiJnb3sbr32Jp3MfvpO7x026RXMbetkdH87MKoiSAThxSiyG+qi/jvUeDYY/Wtg==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/@cspell/cspell-resolver/-/cspell-resolver-7.3.3.tgz", + "integrity": "sha512-BIPAOmNo9t9xB+ZdTDGy4lPtFnR0dpA+btw4rrjn/Lj7uNQvyW0sw4jMqZTVFWf8sQnXfAkSmuGBfKrmT2MADw==", "dev": true, "dependencies": { "global-dirs": "^3.0.1" @@ -4163,18 +4163,18 @@ } }, "node_modules/@cspell/cspell-service-bus": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-7.3.2.tgz", - "integrity": "sha512-i2sPnUSsFJXc5afijbUsUtv1YEXyO8EbJbXV0kdE6KVu7I0CSMV8jprJaG3X1m5HE6lGftNcpLKLHjSlFOFvsA==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-7.3.3.tgz", + "integrity": "sha512-dfAzRmLK05zTjtIXJ8OIRyDFZn7VEUiD5s0xB5TfUakSaHNAhKLjZYhUEj5mbqqQV3CqEZA/pU/0eq0av5JOYw==", "dev": true, "engines": { "node": ">=16" } }, "node_modules/@cspell/cspell-types": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-7.3.2.tgz", - "integrity": "sha512-2lvRUfIgH9TvqGEDpuukuD6J84XPP8KFxR/qphtPZAzwg9SEpiagdN79eFlPe4ZI2xHNvwEsPDJUxuvxXu15wQ==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-7.3.3.tgz", + "integrity": "sha512-54bRM7XwaCh62KZSfJjqdQHX9KuxB9oXHsRnKA31OVnPTJNmImoxsI/p6ULzxjrOsVrBfa8DUsZL4vEym6u+yg==", "dev": true, "engines": { "node": ">=16" @@ -4205,15 +4205,15 @@ "dev": true }, "node_modules/@cspell/dict-companies": { - "version": "3.0.21", - "resolved": "https://registry.npmjs.org/@cspell/dict-companies/-/dict-companies-3.0.21.tgz", - "integrity": "sha512-u9b7qtCWYS728WqiJeAucJcjRs16Y1yGGwagS/w59SV25R0rXbXbPbQuX8wYDcaeIO8uRHGkbSWngx6O4qFoCQ==", + "version": "3.0.22", + "resolved": "https://registry.npmjs.org/@cspell/dict-companies/-/dict-companies-3.0.22.tgz", + "integrity": "sha512-hUN4polifWv1IIXb4NDNXctr/smJ7/1IrOy0rU6fOwPCY/u9DkQO+xeASzuFJasvs6v0Pub/y+NUQLaeXNRW6g==", "dev": true }, "node_modules/@cspell/dict-cpp": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@cspell/dict-cpp/-/dict-cpp-5.0.4.tgz", - "integrity": "sha512-Vmz/CCb2d91ES5juaO8+CFWeTa2AFsbpR8bkCPJq+P8cRP16+37tY0zNXEBSK/1ur4MakaRf76jeQBijpZxw0Q==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@cspell/dict-cpp/-/dict-cpp-5.0.5.tgz", + "integrity": "sha512-ojCpQ4z+sHHLJYfvA3SApqQ1BjO/k3TUdDgqR3sVhFl5qjT9yz1/srBNzqCaBBSz/fiO5A8NKdSA9+IFrUHcig==", "dev": true }, "node_modules/@cspell/dict-cryptocurrencies": { @@ -4379,9 +4379,9 @@ "dev": true }, "node_modules/@cspell/dict-node": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@cspell/dict-node/-/dict-node-4.0.2.tgz", - "integrity": "sha512-FEQJ4TnMcXEFslqBQkXa5HposMoCGsiBv2ux4IZuIXgadXeHKHUHk60iarWpjhzNzQLyN2GD7NoRMd12bK3Llw==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@cspell/dict-node/-/dict-node-4.0.3.tgz", + "integrity": "sha512-sFlUNI5kOogy49KtPg8SMQYirDGIAoKBO3+cDLIwD4MLdsWy1q0upc7pzGht3mrjuyMiPRUV14Bb0rkVLrxOhg==", "dev": true }, "node_modules/@cspell/dict-npm": { @@ -4409,9 +4409,9 @@ "dev": true }, "node_modules/@cspell/dict-python": { - "version": "4.1.7", - "resolved": "https://registry.npmjs.org/@cspell/dict-python/-/dict-python-4.1.7.tgz", - "integrity": "sha512-8GkO7/w1QEpu4Y1GTHGYHrwfc/ZdiBRw7D/BGYCIiOoQPLi0YxMke7wzRC3j246yrzLt28ntDBjr4fB3+uFZtQ==", + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@cspell/dict-python/-/dict-python-4.1.8.tgz", + "integrity": "sha512-yFrO9gGI3KIbw0Y1odAEtagrzmthjJVank9B7qlsSQvN78RgD1JQQycTadNWpzdjCj+JuiiH8pJBFWflweZoxw==", "dev": true, "dependencies": { "@cspell/dict-data-science": "^1.0.11" @@ -4454,9 +4454,9 @@ "dev": true }, "node_modules/@cspell/dict-software-terms": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/@cspell/dict-software-terms/-/dict-software-terms-3.2.2.tgz", - "integrity": "sha512-DmdS/qAyJVmKKku4ab89HVZhsvRIk84HoPUVIZ/zJhmuCO+LF45Ylzy1/7G32MYLjbG/o1Ze3UvbaE9HY4FKKA==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/@cspell/dict-software-terms/-/dict-software-terms-3.2.3.tgz", + "integrity": "sha512-L1Fjkt+Q5MnjEOGPXQxdT4+8ieDBcaHSjh1gHzxdqFXTOnnfvsLUa5ykuv/fG06b/G/yget1066ftKosMaPcXA==", "dev": true }, "node_modules/@cspell/dict-sql": { @@ -4490,9 +4490,9 @@ "dev": true }, "node_modules/@cspell/dynamic-import": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@cspell/dynamic-import/-/dynamic-import-7.3.2.tgz", - "integrity": "sha512-G2ZBPC08X3lUQmHRobGdFYxb3oTSuSIfpW1P/oTMovqbuVoQh108W2WXv0Va40LVGkQD9OS31ZafHbcLELANeA==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/@cspell/dynamic-import/-/dynamic-import-7.3.3.tgz", + "integrity": "sha512-fN9+0VsHQoDrspcYEWWN8TIDIoibDxpdWhJn6Kn8MnM3qrvwmPCkV1UGewb6mULT36Jk0KCS+mOloI+yABv/Ww==", "dev": true, "dependencies": { "import-meta-resolve": "^3.0.0" @@ -4502,9 +4502,9 @@ } }, "node_modules/@cspell/strong-weak-map": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@cspell/strong-weak-map/-/strong-weak-map-7.3.2.tgz", - "integrity": "sha512-Y2JL8A/CG37NnreVtU3DhvcOuYWNEAKUmOSU9NfBeOoptWwTMBvbNF5UbOpmZrf2BXc8OmdHIogIWHXYIESiyg==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/@cspell/strong-weak-map/-/strong-weak-map-7.3.3.tgz", + "integrity": "sha512-rkFIUddbW8Nv/qNzspbHZe0sRGoiyWkdtNrgzUNqSzT7dYg4ozl4iKvooqhhvrn8QZBSOxxJ1phQJVS3//qBvg==", "dev": true, "engines": { "node": ">=16" @@ -4872,9 +4872,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.48.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.48.0.tgz", - "integrity": "sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==", + "version": "8.49.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.49.0.tgz", + "integrity": "sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -17846,9 +17846,9 @@ } }, "node_modules/@vue/vue3-jest": { - "version": "29.2.5", - "resolved": "https://registry.npmjs.org/@vue/vue3-jest/-/vue3-jest-29.2.5.tgz", - "integrity": "sha512-CyRVpP30t1q0DS4yai5WXNfS/I8T4l3Ln6vdst1MsnlbuBGTAJM/YgnlSkip3v+2Z5NHMfFgEB50D4ZFQMxAjQ==", + "version": "29.2.6", + "resolved": "https://registry.npmjs.org/@vue/vue3-jest/-/vue3-jest-29.2.6.tgz", + "integrity": "sha512-Hy4i2BsV5fUmER5LplYiAeRkLTDCSB3ZbnAeEawXtjto/ILaOnamBAoAvEqARgPpR6NRtiYjSgGKmllMtnFd9g==", "dev": true, "dependencies": { "@babel/plugin-transform-modules-commonjs": "^7.2.0", @@ -21883,22 +21883,22 @@ } }, "node_modules/cspell": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/cspell/-/cspell-7.3.2.tgz", - "integrity": "sha512-/YY1C0CYBP+GueFon1BUgcDGc1YXDCyAIjuebvRygjt1cXwCklQVF5bZIGCrimgjzTrY+wx0ePgzuVQ9RyJnOQ==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/cspell/-/cspell-7.3.3.tgz", + "integrity": "sha512-T2ev0PGnXEqNHd3J9W58W0YWfMmNb25EExSi9mWoF7RhKvSxa4alNtvwNMxLYRA2DjWXjqBesXPY2UWCIn/Y0A==", "dev": true, "dependencies": { - "@cspell/cspell-json-reporter": "7.3.2", - "@cspell/cspell-pipe": "7.3.2", - "@cspell/cspell-types": "7.3.2", - "@cspell/dynamic-import": "7.3.2", + "@cspell/cspell-json-reporter": "7.3.3", + "@cspell/cspell-pipe": "7.3.3", + "@cspell/cspell-types": "7.3.3", + "@cspell/dynamic-import": "7.3.3", "chalk": "^5.3.0", "chalk-template": "^1.1.0", "commander": "^11.0.0", - "cspell-gitignore": "7.3.2", - "cspell-glob": "7.3.2", - "cspell-io": "7.3.2", - "cspell-lib": "7.3.2", + "cspell-gitignore": "7.3.3", + "cspell-glob": "7.3.3", + "cspell-io": "7.3.3", + "cspell-lib": "7.3.3", "fast-glob": "^3.3.1", "fast-json-stable-stringify": "^2.1.0", "file-entry-cache": "^6.0.1", @@ -21919,14 +21919,14 @@ } }, "node_modules/cspell-dictionary": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/cspell-dictionary/-/cspell-dictionary-7.3.2.tgz", - "integrity": "sha512-hL8fOZ7zTkUuE6jq2CUObxUp0fSLsNQyMo+HAkpg0w6ssHvbgnP6HP8kyEN641L/F0X/Ow2vo3CaRBadvyyzCA==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/cspell-dictionary/-/cspell-dictionary-7.3.3.tgz", + "integrity": "sha512-O8cg1ImowmYeaeF24CkxW9l8kz9owhEcve8bpfXLmd+AJEzRY55z4yvk33OjEfRzlNtIMHPPiHOqAyDFTYmxlw==", "dev": true, "dependencies": { - "@cspell/cspell-pipe": "7.3.2", - "@cspell/cspell-types": "7.3.2", - "cspell-trie-lib": "7.3.2", + "@cspell/cspell-pipe": "7.3.3", + "@cspell/cspell-types": "7.3.3", + "cspell-trie-lib": "7.3.3", "fast-equals": "^4.0.3", "gensequence": "^5.0.2" }, @@ -21941,12 +21941,12 @@ "dev": true }, "node_modules/cspell-gitignore": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-7.3.2.tgz", - "integrity": "sha512-NWxxFcf4wwKbRInkZK/p/BrPR2ElCpcB8DLcrBxRkiI4uX7yCX8v5QjI8ZpTyuaUTl9aFqJFYtj9Q7GqkBnPzA==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-7.3.3.tgz", + "integrity": "sha512-cGtMMmMOfKRQXcCI7klwGkxayVdLu++N6VynRuTAMZN1nYklOrlYWEqGgvxu6bytSq/psI0DTA++9Sapa6wCWQ==", "dev": true, "dependencies": { - "cspell-glob": "7.3.2", + "cspell-glob": "7.3.3", "find-up": "^5.0.0" }, "bin": { @@ -21957,9 +21957,9 @@ } }, "node_modules/cspell-glob": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/cspell-glob/-/cspell-glob-7.3.2.tgz", - "integrity": "sha512-R/YwtBN5ApOTONkBoTOSCKDMmnRRA1fF9prkaFMfE0aT5oC2VF0N7hLCSYjpQM+kYsXeqLDc13vxFBOnHRuc3g==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/cspell-glob/-/cspell-glob-7.3.3.tgz", + "integrity": "sha512-ll59Zzvt+3/72MXmHGhIbD+CC6wv4DCQ45y49D4RnLtS2wG4Yvmvoqsdm4cEULzO9mf7loJ8zVQf5x+mwy2OTg==", "dev": true, "dependencies": { "micromatch": "^4.0.5" @@ -21969,13 +21969,13 @@ } }, "node_modules/cspell-grammar": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-7.3.2.tgz", - "integrity": "sha512-ale40T4M0jHmwQsPjIbpZKzaRxMVy5dnpyvplwj7ExX4sp2Grt1wcqxk2ELS4r4bsaIap+iIfeYYhoXqYq1dQg==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-7.3.3.tgz", + "integrity": "sha512-OdWT6jZJTYXsJ/WC3YKn2pBeYA6AaUFrR4rOnQbjW/Hv972cydWzJbUJVZ/xQ6n2upWbiV2baIM3LnOg9CQlCw==", "dev": true, "dependencies": { - "@cspell/cspell-pipe": "7.3.2", - "@cspell/cspell-types": "7.3.2" + "@cspell/cspell-pipe": "7.3.3", + "@cspell/cspell-types": "7.3.3" }, "bin": { "cspell-grammar": "bin.mjs" @@ -21985,12 +21985,12 @@ } }, "node_modules/cspell-io": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/cspell-io/-/cspell-io-7.3.2.tgz", - "integrity": "sha512-nul6K4YUMe1VdxuJDDOMvWUw/hIS2UZkvJLDo5GkAus7YmGSR0knfDueU+hebYszRa0LxjrduuPNcNJE/ZWUFg==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/cspell-io/-/cspell-io-7.3.3.tgz", + "integrity": "sha512-YhgBsHtbRK/m0f3sHBQzqfh5o0IbkqPNilwu2VoxL0v2t8sWgnb1T0kKeMu/4cTd3avgUpPiRoqI+Mv/UBGH7Q==", "dev": true, "dependencies": { - "@cspell/cspell-service-bus": "7.3.2", + "@cspell/cspell-service-bus": "7.3.3", "node-fetch": "^2.7.0" }, "engines": { @@ -21998,26 +21998,26 @@ } }, "node_modules/cspell-lib": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/cspell-lib/-/cspell-lib-7.3.2.tgz", - "integrity": "sha512-cbo0TSL2JnM/GdiutH193aynxdxSnxBR1DYJ1/8ycIWDU0p4AHO0EZ+5L5MkBFwpM20OicuXvLrAem9WjYVDBQ==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/cspell-lib/-/cspell-lib-7.3.3.tgz", + "integrity": "sha512-1Y1kIrPGIhQYnT68+KS9Dr5wk2kbsQuiOTyMgl7Xwr/igIp7DaRqlqJBpGLBU789QQgo9X9e1uOMOTGhicyGeA==", "dev": true, "dependencies": { - "@cspell/cspell-bundled-dicts": "7.3.2", - "@cspell/cspell-pipe": "7.3.2", - "@cspell/cspell-resolver": "7.3.2", - "@cspell/cspell-types": "7.3.2", - "@cspell/dynamic-import": "7.3.2", - "@cspell/strong-weak-map": "7.3.2", + "@cspell/cspell-bundled-dicts": "7.3.3", + "@cspell/cspell-pipe": "7.3.3", + "@cspell/cspell-resolver": "7.3.3", + "@cspell/cspell-types": "7.3.3", + "@cspell/dynamic-import": "7.3.3", + "@cspell/strong-weak-map": "7.3.3", "clear-module": "^4.1.2", "comment-json": "^4.2.3", "configstore": "^6.0.0", "cosmiconfig": "8.0.0", - "cspell-dictionary": "7.3.2", - "cspell-glob": "7.3.2", - "cspell-grammar": "7.3.2", - "cspell-io": "7.3.2", - "cspell-trie-lib": "7.3.2", + "cspell-dictionary": "7.3.3", + "cspell-glob": "7.3.3", + "cspell-grammar": "7.3.3", + "cspell-io": "7.3.3", + "cspell-trie-lib": "7.3.3", "fast-equals": "^5.0.1", "find-up": "^6.3.0", "gensequence": "^5.0.2", @@ -22146,13 +22146,13 @@ } }, "node_modules/cspell-trie-lib": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-7.3.2.tgz", - "integrity": "sha512-IXNCWBw4UDZuY6MB+j7YNdcDpTdcfElsLkwTV8fEmNfUeClJacn2mQicQ/LKZJLvOc1TNbcSPWSCe3kQA+uxNw==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-7.3.3.tgz", + "integrity": "sha512-0mkYukkQIVQqJQDhY+WYx6Z44acSYlDNtU/UZqpvn7kg/DFd2dWUDh1cxFijgQ7pm6UAI0fF1OPFOuleGrzhkw==", "dev": true, "dependencies": { - "@cspell/cspell-pipe": "7.3.2", - "@cspell/cspell-types": "7.3.2", + "@cspell/cspell-pipe": "7.3.3", + "@cspell/cspell-types": "7.3.3", "gensequence": "^5.0.2" }, "engines": { @@ -24988,16 +24988,16 @@ } }, "node_modules/eslint": { - "version": "8.48.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.48.0.tgz", - "integrity": "sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==", + "version": "8.49.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.49.0.tgz", + "integrity": "sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.48.0", - "@humanwhocodes/config-array": "^0.11.10", + "@eslint/js": "8.49.0", + "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "ajv": "^6.12.4", @@ -47851,7 +47851,7 @@ }, "projects/angular": { "name": "@maskito/angular", - "version": "1.5.0", + "version": "1.5.1", "license": "Apache-2.0", "dependencies": { "tslib": "2.6.2" @@ -47860,13 +47860,13 @@ "@angular/common": ">=12.0.0", "@angular/core": ">=12.0.0", "@angular/forms": ">=12.0.0", - "@maskito/core": "^1.5.0", + "@maskito/core": "^1.5.1", "rxjs": ">=6.0.0" } }, "projects/core": { "name": "@maskito/core", - "version": "1.5.0", + "version": "1.5.1", "license": "Apache-2.0" }, "projects/demo": { @@ -47914,28 +47914,28 @@ }, "projects/kit": { "name": "@maskito/kit", - "version": "1.5.0", + "version": "1.5.1", "license": "Apache-2.0", "peerDependencies": { - "@maskito/core": "^1.5.0" + "@maskito/core": "^1.5.1" } }, "projects/phone": { "name": "@maskito/phone", - "version": "1.5.0", + "version": "1.5.1", "license": "Apache-2.0", "devDependencies": { "libphonenumber-js": "1.10.44" }, "peerDependencies": { - "@maskito/core": "^1.5.0", - "@maskito/kit": "^1.5.0", + "@maskito/core": "^1.5.1", + "@maskito/kit": "^1.5.1", "libphonenumber-js": ">=1.0.0" } }, "projects/react": { "name": "@maskito/react", - "version": "1.5.0", + "version": "1.5.1", "license": "Apache-2.0", "devDependencies": { "@testing-library/react": "12.1.5", @@ -47948,21 +47948,21 @@ "react-test-renderer": "18.2.0" }, "peerDependencies": { - "@maskito/core": "^1.5.0", + "@maskito/core": "^1.5.1", "react": ">=16.8", "react-dom": ">=16.8" } }, "projects/vue": { "name": "@maskito/vue", - "version": "1.5.0", + "version": "1.5.1", "license": "Apache-2.0", "devDependencies": { "@vue/test-utils": "2.4.1", - "@vue/vue3-jest": "29.2.5" + "@vue/vue3-jest": "29.2.6" }, "peerDependencies": { - "@maskito/core": "^1.5.0", + "@maskito/core": "^1.5.1", "vue": ">=3.0.0" } } diff --git a/package.json b/package.json index 432ccfd62..82a29e8be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "maskito", - "version": "1.5.0", + "version": "1.5.1", "description": "Collection of libraries to create an input mask which ensures that user types value according to predefined format", "keywords": [ "mask", @@ -104,10 +104,10 @@ "@types/jest": "27.5.2", "@types/node": "17.0.45", "babel-jest": "27.5.1", - "cspell": "7.3.2", + "cspell": "7.3.3", "cypress": "10.11.0", "cypress-real-events": "1.10.1", - "eslint": "8.48.0", + "eslint": "8.49.0", "eslint-config-prettier": "7.2.0", "http-server": "14.1.1", "husky": "7.0.4", diff --git a/projects/angular/package.json b/projects/angular/package.json index cb66e29d8..d3d344009 100644 --- a/projects/angular/package.json +++ b/projects/angular/package.json @@ -1,6 +1,6 @@ { "name": "@maskito/angular", - "version": "1.5.0", + "version": "1.5.1", "description": "The Angular-specific Maskito's library", "keywords": [ "mask", @@ -35,7 +35,7 @@ "@angular/common": ">=12.0.0", "@angular/core": ">=12.0.0", "@angular/forms": ">=12.0.0", - "@maskito/core": "^1.5.0", + "@maskito/core": "^1.5.1", "rxjs": ">=6.0.0" }, "ng-update": { diff --git a/projects/core/package.json b/projects/core/package.json index 530316fcf..339cdc762 100644 --- a/projects/core/package.json +++ b/projects/core/package.json @@ -1,6 +1,6 @@ { "name": "@maskito/core", - "version": "1.5.0", + "version": "1.5.1", "description": "The main zero-dependency and framework-agnostic Maskito's package to create an input mask", "keywords": [ "mask", diff --git a/projects/kit/package.json b/projects/kit/package.json index 05aa4fc6b..6c81f25ef 100644 --- a/projects/kit/package.json +++ b/projects/kit/package.json @@ -1,6 +1,6 @@ { "name": "@maskito/kit", - "version": "1.5.0", + "version": "1.5.1", "description": "The optional framework-agnostic Maskito's package with ready-to-use masks", "keywords": [ "mask", @@ -30,6 +30,6 @@ "Nikita Barsukov " ], "peerDependencies": { - "@maskito/core": "^1.5.0" + "@maskito/core": "^1.5.1" } } diff --git a/projects/phone/package.json b/projects/phone/package.json index 35583f0cb..b2342e9a9 100644 --- a/projects/phone/package.json +++ b/projects/phone/package.json @@ -1,6 +1,6 @@ { "name": "@maskito/phone", - "version": "1.5.0", + "version": "1.5.1", "description": "The optional framework-agnostic Maskito's package with phone masks", "keywords": [ "mask", @@ -32,8 +32,8 @@ "libphonenumber-js": "1.10.44" }, "peerDependencies": { - "@maskito/core": "^1.5.0", - "@maskito/kit": "^1.5.0", + "@maskito/core": "^1.5.1", + "@maskito/kit": "^1.5.1", "libphonenumber-js": ">=1.0.0" } } diff --git a/projects/react/package.json b/projects/react/package.json index 3c7b598d0..79f5a4c24 100644 --- a/projects/react/package.json +++ b/projects/react/package.json @@ -1,6 +1,6 @@ { "name": "@maskito/react", - "version": "1.5.0", + "version": "1.5.1", "description": "The React-specific Maskito's library", "keywords": [ "mask", @@ -40,7 +40,7 @@ "react-test-renderer": "18.2.0" }, "peerDependencies": { - "@maskito/core": "^1.5.0", + "@maskito/core": "^1.5.1", "react": ">=16.8", "react-dom": ">=16.8" } diff --git a/projects/vue/package.json b/projects/vue/package.json index fc114c9a6..44aedfc87 100644 --- a/projects/vue/package.json +++ b/projects/vue/package.json @@ -1,6 +1,6 @@ { "name": "@maskito/vue", - "version": "1.5.0", + "version": "1.5.1", "description": "The Vue-specific Maskito's library", "keywords": [ "mask", @@ -30,10 +30,10 @@ ], "devDependencies": { "@vue/test-utils": "2.4.1", - "@vue/vue3-jest": "29.2.5" + "@vue/vue3-jest": "29.2.6" }, "peerDependencies": { - "@maskito/core": "^1.5.0", + "@maskito/core": "^1.5.1", "vue": ">=3.0.0" } } diff --git a/projects/vue/src/lib/maskito.ts b/projects/vue/src/lib/maskito.ts index 188b6f1da..8f54da7de 100644 --- a/projects/vue/src/lib/maskito.ts +++ b/projects/vue/src/lib/maskito.ts @@ -41,7 +41,9 @@ function unmount(element: HTMLElement): void { export const maskito: ObjectDirective< HTMLElement, - MaskitoOptions & {elementPredicate?: MaskitoElementPredicate} + MaskitoOptions & { + elementPredicate?: MaskitoElementPredicate | MaskitoElementPredicateAsync; + } > = { unmounted: element => unmount(element), mounted: async (element, {value}) => update(element, value),