From 0a9afedda61f57d87052187f0e1fb3a40566f620 Mon Sep 17 00:00:00 2001 From: null Date: Thu, 8 Feb 2024 10:22:23 +0000 Subject: [PATCH 1/2] chore(deps): update dependency @taiga-ui/eslint-plugin-experience to v0.53.0 --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index c375ba245..04ba36d47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "@nx/workspace": "17.3.0", "@taiga-ui/commitlint-config": "0.5.5", "@taiga-ui/cspell-config": "0.33.1", - "@taiga-ui/eslint-plugin-experience": "0.52.1", + "@taiga-ui/eslint-plugin-experience": "0.53.0", "@taiga-ui/prettier-config": "0.8.1", "@taiga-ui/stylelint-config": "0.13.6", "@taiga-ui/tsconfig": "0.14.0", @@ -11304,9 +11304,9 @@ } }, "node_modules/@taiga-ui/eslint-plugin-experience": { - "version": "0.52.1", - "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.52.1.tgz", - "integrity": "sha512-k75RkoOkmOnZORG6TGwGJQr1UAKxBQS/jLMa1UTD16hdrF1gzULUdhiSAoIoWpi1MzdFaM1sFRhQSRXXS2EXUg==", + "version": "0.53.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.53.0.tgz", + "integrity": "sha512-1iEUiIi4vICEJSf6ezRU0vrU51Vww43Zbsnnm14KQEqF5luUZuH1Alm6JWlnaMNBNTLLGJYaHir6nlG2uJZAOw==", "dev": true, "dependencies": { "@angular-eslint/eslint-plugin": "17.2.1", diff --git a/package.json b/package.json index 75781c101..20b8fa83c 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "@nx/workspace": "17.3.0", "@taiga-ui/commitlint-config": "0.5.5", "@taiga-ui/cspell-config": "0.33.1", - "@taiga-ui/eslint-plugin-experience": "0.52.1", + "@taiga-ui/eslint-plugin-experience": "0.53.0", "@taiga-ui/prettier-config": "0.8.1", "@taiga-ui/stylelint-config": "0.13.6", "@taiga-ui/tsconfig": "0.14.0", From f5c46ae8d289a6edba649e1b6ae7384f28a9d70b Mon Sep 17 00:00:00 2001 From: taiga-family-bot Date: Thu, 8 Feb 2024 10:24:37 +0000 Subject: [PATCH 2/2] chore: apply changes after linting [bot] --- projects/kit/src/lib/masks/number/utils/parse-number.ts | 5 +---- scripts/helpers/is-maskito-package-name.ts | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/projects/kit/src/lib/masks/number/utils/parse-number.ts b/projects/kit/src/lib/masks/number/utils/parse-number.ts index c6a4feb08..a211cd7ac 100644 --- a/projects/kit/src/lib/masks/number/utils/parse-number.ts +++ b/projects/kit/src/lib/masks/number/utils/parse-number.ts @@ -1,10 +1,7 @@ import {CHAR_EM_DASH, CHAR_EN_DASH, CHAR_HYPHEN, CHAR_MINUS} from '../../../constants'; import {escapeRegExp} from '../../../utils'; -export function maskitoParseNumber( - maskedNumber: string, - decimalSeparator: string = '.', -): number { +export function maskitoParseNumber(maskedNumber: string, decimalSeparator = '.'): number { const hasNegativeSign = !!maskedNumber.match( new RegExp(`^\\D*[${CHAR_MINUS}\\${CHAR_HYPHEN}${CHAR_EN_DASH}${CHAR_EM_DASH}]`), ); diff --git a/scripts/helpers/is-maskito-package-name.ts b/scripts/helpers/is-maskito-package-name.ts index 3729b5378..31ce5c7bf 100644 --- a/scripts/helpers/is-maskito-package-name.ts +++ b/scripts/helpers/is-maskito-package-name.ts @@ -1,4 +1,4 @@ -export function isMaskitoPackageName(name: string = '', ignores: string[]): boolean { +export function isMaskitoPackageName(name = '', ignores: string[]): boolean { return ( (name?.startsWith('@maskito/') || name === 'maskito') && !ignores.includes(name) );