diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bf666245d..cd025c559 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -65,6 +65,7 @@ jobs: if: ${{ steps.check-artifact.outputs.exists == 'false' }} run: | yarn build + yarn build:rsg tar -cvf artifact.tar package.json packages/*/target - name: Save artifact @@ -206,7 +207,9 @@ jobs: - name: Visual tests if: matrix.node-version == '16' - run: yarn test + run: | + yarn test + yarn test:rsg - name: Save failure results if: ${{ failure() }} diff --git a/.gitignore b/.gitignore index cd39a16ae..329b185a2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,27 +1,29 @@ -/.idea -/*.iml -/*.log -/node_modules -/packages/*/node_modules -/packages/*/target +# misc + .DS_Store +/.idea -# Yarn berry -.pnp.* -.yarn/* -!.yarn/patches -!.yarn/plugins -!.yarn/releases -!.yarn/sdks -!.yarn/versions +# yarn -# Creds -*.asc -*.key +/.pnp.* +/.yarn/cache +/.yarn/unplugged +/.yarn/install-state.gz +/yarn-error.log + +# open-ssl + +*.ca +*.crt +*.csr +*.der +*.kdb +*.org +*.p12 *.pem -*.cert +*.rnd +*.ssleay +*.smime -# npm creds -**/.npmrc -**/.yarnrc -**/.pnpmrc +/node_modules +/target diff --git a/.yarnrc.yml b/.yarnrc.yml index 028fe5f82..1352183c6 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -2,6 +2,8 @@ enableTelemetry: false enableGlobalCache: true +enableMessageNames: false + nmSelfReferences: false nodeLinker: node-modules diff --git a/LICENSE b/LICENSE index 26d8c4f30..b32169c3c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018 QIWI +Copyright (c) 2023 QIWI Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/jest.config.json b/jest.config.json new file mode 100644 index 000000000..03b5f9ed9 --- /dev/null +++ b/jest.config.json @@ -0,0 +1,14 @@ +{ + "collectCoverage": true, + "collectCoverageFrom": [ + "/src/main/[jt]s/**/*.[jt]s?(x)" + ], + "coverageDirectory": "/target/coverage", + "coveragePathIgnorePatterns": [ + "/node_modules", + "/target" + ], + "projects": [ + "/packages/desktop-extra/jest.config.json" + ] +} diff --git a/package.json b/package.json index d3476ab2a..8223c89e1 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,13 @@ "packages/*" ], "scripts": { - "clean": "yarn workspaces foreach --parallel --no-private --interlaced run clean", - "build": "yarn workspaces foreach --parallel --topological-dev --no-private --interlaced run build", - "start": "yarn workspaces foreach --parallel --no-private --interlaced run start", - "test": "yarn workspaces foreach --parallel --no-private --interlaced run test", - "format": "yarn workspaces foreach --parallel --no-private --interlaced run format", - "lint": "yarn workspaces foreach --parallel --no-private --interlaced run lint" + "start:rsg": "yarn workspaces foreach -vip run start:rst", + "build:rsg": "yarn workspaces foreach -vip run build:rsg", + "test:rsg": "yarn workspaces foreach -vip run test:rsg", + "build": "packasso build", + "lint": "packasso lint", + "format": "packasso format", + "test": "packasso test" }, "resolutions": { "@types/react": "18.0.18", @@ -25,10 +26,27 @@ "type": "git", "url": "git+https://github.com/qiwi/pijma.git" }, - "license": "MIT", "bugs": { "url": "https://github.com/qiwi/pijma/issues" }, "homepage": "https://github.com/qiwi/pijma/#readme", - "packageManager": "yarn@4.0.0-rc.14" + "packageManager": "yarn@4.0.0-rc.14", + "devDependencies": { + "@packasso/cli": "0.16.1", + "@swc/cli": "0.1.62", + "@swc/core": "1.3.37", + "@swc/jest": "0.2.24", + "@types/jest": "29.4.0", + "eslint": "8.35.0", + "eslint-config-qiwi": "2.0.9", + "globby-cp": "1.1.3", + "jest": "29.4.3", + "jest-environment-jsdom": "29.4.3", + "prettier": "2.8.4", + "prettier-config-qiwi": "2.0.1", + "rimraf": "4.2.0", + "tsc-esm-fix": "2.20.12", + "typescript": "4.9.5" + }, + "license": "MIT" } diff --git a/packages/core/.eslintrc.cjs b/packages/core/.eslintrc.cjs deleted file mode 100644 index 482ecd2a8..000000000 --- a/packages/core/.eslintrc.cjs +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../infra/.eslintrc.js') diff --git a/packages/core/.eslintrc.json b/packages/core/.eslintrc.json new file mode 100644 index 000000000..2c94df5b2 --- /dev/null +++ b/packages/core/.eslintrc.json @@ -0,0 +1,27 @@ +{ + "rules": { + "no-constant-condition": "off", + "@typescript-eslint/ban-ts-comment": "off", + "@typescript-eslint/ban-types": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-unused-vars": "off", + "react/no-children-prop": "off", + "react/no-find-dom-node": "off", + "sonarjs/cognitive-complexity": "off", + "sonarjs/no-duplicate-string": "off", + "unicorn/no-negated-condition": "off", + "unicorn/no-new-array": "off", + "unicorn/prefer-add-event-listener": "off", + "unicorn/prefer-dom-node-append": "off", + "unicorn/prefer-dom-node-remove": "off", + "unicorn/prefer-logical-operator-over-ternary": "off", + "unicorn/prefer-number-properties": "off", + "unicorn/prefer-optional-catch-binding": "off", + "unicorn/prefer-regexp-test": "off", + "unicorn/prefer-set-has": "off", + "unicorn/prefer-spread": "off", + "unicorn/prefer-string-slice": "off" + }, + "extends": "eslint-config-qiwi" +} diff --git a/packages/core/.gitignore b/packages/core/.gitignore new file mode 100644 index 000000000..050c60358 --- /dev/null +++ b/packages/core/.gitignore @@ -0,0 +1,2 @@ +/node_modules +/target diff --git a/packages/core/.prettierrc.cjs b/packages/core/.prettierrc.cjs deleted file mode 100644 index c07e99a54..000000000 --- a/packages/core/.prettierrc.cjs +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../infra/.prettierrc.js') diff --git a/packages/core/.prettierrc.json b/packages/core/.prettierrc.json new file mode 100644 index 000000000..761e7cafc --- /dev/null +++ b/packages/core/.prettierrc.json @@ -0,0 +1 @@ +"prettier-config-qiwi" diff --git a/packages/core/.releaserc.cjs b/packages/core/.releaserc.cjs deleted file mode 100644 index 097c60236..000000000 --- a/packages/core/.releaserc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - cmd: 'yarn', - changelog: 'changelog', -} diff --git a/packages/core/.releaserc.json b/packages/core/.releaserc.json new file mode 100644 index 000000000..81606234c --- /dev/null +++ b/packages/core/.releaserc.json @@ -0,0 +1,4 @@ +{ + "cmd": "yarn", + "changelog": "changelog" +} diff --git a/packages/core/LICENSE b/packages/core/LICENSE new file mode 100644 index 000000000..b32169c3c --- /dev/null +++ b/packages/core/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 QIWI + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/core/package.json b/packages/core/package.json index c594b43a2..2acaeb8eb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,34 +1,13 @@ { "name": "@qiwi/pijma-core", "version": "0.0.0", - "type": "module", - "main": "./target/es5/index.js", - "module": "./target/es6/index.js", - "types": "./target/dts/index.d.ts", - "exports": { - ".": { - "types": "./target/dts/index.d.ts", - "import": "./target/es6/index.js", - "require": "./target/es5/index.js" - } - }, - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "scripts": { - "clean": "rimraf target node_modules", - "build": "concurrently 'npm:build:*'", - "build:es5": "cd src/main && swc ts -d ../../target/es5 --config-file ../../swc.es5.json && cd ../.. && tsc-esm-fix --target=target/es5 --fillBlank", - "build:es6": "cd src/main && swc ts -d ../../target/es6 --config-file ../../swc.es6.json && cd ../.. && tsc-esm-fix --target=target/es6 --fillBlank", - "build:dts": "tsc --project tsconfig.dts.json", - "format": "eslint --fix src && prettier --loglevel silent --write src", - "lint": "eslint src" - }, - "files": [ - "target/dts/**/*", - "target/es5/**/*", - "target/es6/**/*" + "packasso": [ + "@packasso/dev-ts", + "@packasso/dev-license", + "@packasso/build-ts-swc", + "@packasso/style-eslint", + "@packasso/style-prettier", + "@packasso/release-zx-semrel" ], "dependencies": { "@emotion/core": "^11.0.0", @@ -55,24 +34,35 @@ "react-dom": ">=16.14.0" }, "devDependencies": { + "@packasso/build-ts-swc": "0.17.2", + "@packasso/cli": "0.16.1", + "@packasso/dev-license": "0.10.1", + "@packasso/dev-ts": "0.17.1", + "@packasso/release-zx-semrel": "0.16.1", + "@packasso/style-eslint": "0.1.1", + "@packasso/style-prettier": "0.1.1", + "@swc/cli": "0.1.62", + "@swc/core": "1.3.37", + "@swc/helpers": "0.4.14", "@types/react": "18.0.18", "@types/react-dom": "18.0.6", - "concurrently": "7.4.0", + "concurrently": "7.6.0", "css-loader": "6.7.1", - "eslint": "8.23.0", - "eslint-config-qiwi": "1.17.6", - "fast-glob": "3.2.11", + "eslint": "8.35.0", + "eslint-config-qiwi": "2.0.9", "file-loader": "6.2.0", - "prettier": "2.7.1", - "prettier-config-qiwi": "1.7.2", + "globby-cp": "1.1.3", + "prettier": "2.8.4", + "prettier-config-qiwi": "2.0.1", "react": "18.2.0", "react-docgen-typescript": "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch", "react-dom": "18.2.0", "react-styleguidist": "12.0.0", + "rimraf": "4.2.0", "style-loader": "3.3.1", - "tsc-esm-fix": "2.20.4", - "typescript": "4.8.2", - "webpack": "5.74.0" + "tsc-esm-fix": "2.20.12", + "typescript": "4.9.5", + "webpack": "5.75.0" }, "repository": { "type": "git", @@ -81,5 +71,31 @@ "bugs": { "url": "https://github.com/qiwi/pijma/issues" }, - "homepage": "https://github.com/qiwi/pijma/#readme" + "homepage": "https://github.com/qiwi/pijma/#readme", + "scripts": { + "build": "packasso build", + "lint": "packasso lint", + "format": "packasso format" + }, + "license": "MIT", + "type": "module", + "main": "./target/cjs/index.cjs", + "module": "./target/esm/index.mjs", + "types": "./target/dts/index.d.ts", + "exports": { + ".": { + "require": "./target/cjs/index.cjs", + "import": "./target/esm/index.mjs", + "types": "./target/dts/index.d.ts" + }, + "./package.json": "./package.json" + }, + "files": [ + "target/cjs/**/*", + "target/esm/**/*", + "target/dts/**/*" + ], + "publishConfig": { + "access": "public" + } } diff --git a/packages/core/src/main/ts/code-field/CodeFieldControl.ts b/packages/core/src/main/ts/code-field/CodeFieldControl.ts index 53c30e93f..f35af51c8 100644 --- a/packages/core/src/main/ts/code-field/CodeFieldControl.ts +++ b/packages/core/src/main/ts/code-field/CodeFieldControl.ts @@ -122,7 +122,7 @@ export class CodeFieldControl extends Component< private onFieldKeyDown: (index: number) => KeyboardEventHandler = (index) => (e) => { switch (e.key) { - case 'ArrowLeft': + case 'ArrowLeft': { e.preventDefault() const prev = this.state.refs[index - 1] if (prev && prev.current) { @@ -130,7 +130,8 @@ export class CodeFieldControl extends Component< prev.current.focus() } break - case 'ArrowRight': + } + case 'ArrowRight': { e.preventDefault() const next = this.state.refs[index + 1] if (next && next.current) { @@ -138,6 +139,7 @@ export class CodeFieldControl extends Component< next.current.focus() } break + } case 'Backspace': if (this.props.value[index] === '') { const prev = this.state.refs[index - 1] diff --git a/packages/core/src/main/ts/input/ContentInput.tsx b/packages/core/src/main/ts/input/ContentInput.tsx index f66e886c1..64d1912d5 100644 --- a/packages/core/src/main/ts/input/ContentInput.tsx +++ b/packages/core/src/main/ts/input/ContentInput.tsx @@ -50,8 +50,8 @@ export const ContentInput = forwardRef( pl: props.pl ? props.pl : 4, py: 3, r: `${props.nort || props.norl ? '0' : '10px'} ${ - props.nort || props.norr ? '0' : '10px'} ${ - props.norb || props.norr ? '0' : '10px'} ${ + props.nort || props.norr ? '0' : '10px' + } ${props.norb || props.norr ? '0' : '10px'} ${ props.norb || props.norl ? '0' : '10px' }`, b: 'none', diff --git a/packages/core/src/main/ts/inview.ts b/packages/core/src/main/ts/inview.ts index b79340f9c..f054e740a 100644 --- a/packages/core/src/main/ts/inview.ts +++ b/packages/core/src/main/ts/inview.ts @@ -1,3 +1 @@ -import { InView } from 'react-intersection-observer' - -export { InView } +export { InView } from 'react-intersection-observer' diff --git a/packages/core/src/main/ts/markdown.ts b/packages/core/src/main/ts/markdown.ts index c76c14d20..4bc822492 100644 --- a/packages/core/src/main/ts/markdown.ts +++ b/packages/core/src/main/ts/markdown.ts @@ -1,3 +1 @@ -import MarkdownToJSX from 'markdown-to-jsx' - -export { MarkdownToJSX } +export { default as MarkdownToJSX } from 'markdown-to-jsx' diff --git a/packages/core/src/main/ts/mask/MaskedInput.tsx b/packages/core/src/main/ts/mask/MaskedInput.tsx index 132136e5d..16b2ecc92 100644 --- a/packages/core/src/main/ts/mask/MaskedInput.tsx +++ b/packages/core/src/main/ts/mask/MaskedInput.tsx @@ -6,6 +6,7 @@ import React, { InputHTMLAttributes, PureComponent, } from 'react' + import { conformToMask as tmcConformToMask, createTextMaskInputElement as tmcCreateTextMaskInputElement, @@ -56,7 +57,7 @@ export function conformToMask( } function isNil(value: any) { - return typeof value === 'undefined' || value === null + return value === undefined || value === null } export type MaskArray = (string | RegExp)[] | boolean diff --git a/packages/core/src/main/ts/mask/createNumberMask.ts b/packages/core/src/main/ts/mask/createNumberMask.ts index 825c4f46e..01d7b660f 100644 --- a/packages/core/src/main/ts/mask/createNumberMask.ts +++ b/packages/core/src/main/ts/mask/createNumberMask.ts @@ -36,10 +36,9 @@ export function createNumberMask({ allowLeadingZeroes = false, integerLimit = 6, }: NumberMaskOpts = {}): Mask { - const prefixLength = (prefix && prefix.length) || 0 - const suffixLength = (suffix && suffix.length) || 0 - const thousandsSeparatorSymbolLength = - (thousandsSeparatorSymbol && thousandsSeparatorSymbol.length) || 0 + const prefixLength = prefix?.length || 0 + const suffixLength = suffix?.length || 0 + const thousandsSeparatorSymbolLength = thousandsSeparatorSymbol?.length || 0 function numberMask(rawValue = emptyString) { const rawValueLength = rawValue.length @@ -94,11 +93,10 @@ export function createNumberMask({ fraction = rawValue.slice(indexOfLastDecimal + 1, rawValueLength) fraction = convertToMask(fraction.replace(nonDigitsRegExp, emptyString)) } else { - if (rawValue.slice(0, prefixLength) === prefix) { - integer = rawValue.slice(prefixLength) - } else { - integer = rawValue - } + integer = + rawValue.slice(0, prefixLength) === prefix + ? rawValue.slice(prefixLength) + : rawValue } if (integerLimit) { diff --git a/packages/core/src/main/ts/menu/MenuControl.ts b/packages/core/src/main/ts/menu/MenuControl.ts index d6613c572..a494c9719 100644 --- a/packages/core/src/main/ts/menu/MenuControl.ts +++ b/packages/core/src/main/ts/menu/MenuControl.ts @@ -101,7 +101,7 @@ export class MenuControl extends Component { } private onKeyDown: KeyboardEventHandler = (event) => { - const { focused } = this.state + const { focused, refs } = this.state if (event.key === 'ArrowDown') { event.preventDefault() const next = this.next @@ -111,7 +111,7 @@ export class MenuControl extends Component { this.setState({ focused: next, }) - const itemRef = this.state.refs[next] + const itemRef = refs[next] if (itemRef) { this.scrollToItem(itemRef) } @@ -126,7 +126,7 @@ export class MenuControl extends Component { this.setState({ focused: prev, }) - const itemRef = this.state.refs[prev] + const itemRef = refs[prev] if (itemRef) { this.scrollToItem(itemRef) } @@ -165,11 +165,11 @@ export class MenuControl extends Component { } public render() { - const { focused } = this.state + const { focused, refs } = this.state const { selected, count } = this.props return this.props.children({ items: new Array(count).fill(1).map((_item, index) => ({ - ref: this.state.refs[index], + ref: refs[index], focused: focused !== undefined ? focused === index : false, selected: selected !== undefined ? selected === index : false, onClick: this.onItemClick(index), diff --git a/packages/core/src/main/ts/option/CheckboxControl.ts b/packages/core/src/main/ts/option/CheckboxControl.ts index 1ca0fe361..f62cc2a0b 100644 --- a/packages/core/src/main/ts/option/CheckboxControl.ts +++ b/packages/core/src/main/ts/option/CheckboxControl.ts @@ -55,7 +55,7 @@ export class CheckboxControl, V> extends Component< private onKeyDown: KeyboardEventHandler = (event) => { switch (event.key) { - case 'ArrowDown': + case 'ArrowDown': { event.preventDefault() event.stopPropagation() let next = this.state.focused === -1 ? 0 : this.state.focused @@ -70,7 +70,8 @@ export class CheckboxControl, V> extends Component< focused: next, }) break - case 'ArrowUp': + } + case 'ArrowUp': { event.preventDefault() event.stopPropagation() let prev = @@ -89,6 +90,7 @@ export class CheckboxControl, V> extends Component< focused: prev, }) break + } case 'Enter': case ' ': event.preventDefault() diff --git a/packages/core/src/main/ts/option/RadioControl.ts b/packages/core/src/main/ts/option/RadioControl.ts index 846ac8a40..1620dea4f 100644 --- a/packages/core/src/main/ts/option/RadioControl.ts +++ b/packages/core/src/main/ts/option/RadioControl.ts @@ -46,7 +46,7 @@ export class RadioControl, V> extends Component< private onKeyDown: KeyboardEventHandler = (event) => { switch (event.key) { - case 'ArrowDown': + case 'ArrowDown': { event.preventDefault() event.stopPropagation() let next = this.state.focused === -1 ? 0 : this.state.focused @@ -61,7 +61,8 @@ export class RadioControl, V> extends Component< focused: next, }) break - case 'ArrowUp': + } + case 'ArrowUp': { event.preventDefault() event.stopPropagation() let prev = @@ -80,6 +81,7 @@ export class RadioControl, V> extends Component< focused: prev, }) break + } case 'Enter': case ' ': event.preventDefault() diff --git a/packages/core/src/main/ts/overlays/index.ts b/packages/core/src/main/ts/overlays/index.ts index 393f46db0..b14841190 100644 --- a/packages/core/src/main/ts/overlays/index.ts +++ b/packages/core/src/main/ts/overlays/index.ts @@ -1,7 +1,7 @@ import { ComponentProps } from 'react' import { Modal, Overlay } from 'react-overlays' -export { Modal, Overlay } - export type ModalProps = ComponentProps export type OverlayProps = ComponentProps + +export { Overlay, Modal } from 'react-overlays' diff --git a/packages/core/src/main/ts/primitive/Value.ts b/packages/core/src/main/ts/primitive/Value.ts index 4534dbb3a..7ed15b2d3 100644 --- a/packages/core/src/main/ts/primitive/Value.ts +++ b/packages/core/src/main/ts/primitive/Value.ts @@ -45,5 +45,7 @@ export const customScroll = (() => { const result = element.offsetWidth !== element.clientWidth document.body.removeChild(element) return result - } catch (e) {} + } catch (e) { + // + } })() diff --git a/packages/core/src/main/ts/styled.ts b/packages/core/src/main/ts/styled.ts index 4631bd44a..f2962bda3 100644 --- a/packages/core/src/main/ts/styled.ts +++ b/packages/core/src/main/ts/styled.ts @@ -1,8 +1,3 @@ -import createCache from '@emotion/cache' -import styled from '@emotion/styled' - -export { styled, createCache } - export type { CSSObject, Interpolation, StyledOptions } from '@emotion/styled' export type { Theme } from '@emotion/react' @@ -18,3 +13,7 @@ export { keyframes, cache, } from '@emotion/css' + +export { default as styled } from '@emotion/styled' + +export { default as createCache } from '@emotion/cache' diff --git a/packages/desktop/swc.es5.json b/packages/core/swc.cjs.json similarity index 88% rename from packages/desktop/swc.es5.json rename to packages/core/swc.cjs.json index ed56ae66c..0fafa72c5 100644 --- a/packages/desktop/swc.es5.json +++ b/packages/core/swc.cjs.json @@ -4,8 +4,7 @@ "parser": { "syntax": "typescript", "tsx": true, - "decorators": true, - "dts": true + "decorators": true }, "transform": { "react": { diff --git a/packages/core/swc.es6.json b/packages/core/swc.esm.json similarity index 82% rename from packages/core/swc.es6.json rename to packages/core/swc.esm.json index 0a5a58af7..87fc057d1 100644 --- a/packages/core/swc.es6.json +++ b/packages/core/swc.esm.json @@ -4,15 +4,14 @@ "parser": { "syntax": "typescript", "tsx": true, - "decorators": true, - "dts": true + "decorators": true }, "transform": { "react": { "runtime": "automatic" } }, - "target": "es2021", + "target": "es2022", "loose": true, "externalHelpers": true }, diff --git a/packages/core/tsconfig.dts.json b/packages/core/tsconfig.dts.json index 0c7cf449c..c4227a190 100644 --- a/packages/core/tsconfig.dts.json +++ b/packages/core/tsconfig.dts.json @@ -1,16 +1,12 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "composite": true, + "declaration": true, + "emitDeclarationOnly": true, "rootDir": "./src/main/ts", - "baseUrl": "./src/main/ts", "declarationDir": "./target/dts", - "emitDeclarationOnly": true + "tsBuildInfoFile": "./target/dts/.tsbuildinfo" }, - "include": [ - "./src/main/ts" - ], - "exclude": [ - "./target", - "./node_modules" - ] + "references": [] } diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index 4082f16a5..46c0545e6 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -1,3 +1,23 @@ { - "extends": "../../tsconfig.json" + "compilerOptions": { + "module": "es2022", + "target": "es2022", + "moduleResolution": "node", + "jsx": "react-jsx", + "strict": true, + "skipLibCheck": true, + "esModuleInterop": true, + "isolatedModules": true, + "resolveJsonModule": true, + "removeComments": true, + "importHelpers": true, + "baseUrl": "./", + "paths": {} + }, + "include": [ + "./src/main/ts" + ], + "exclude": [ + "./node_modules" + ] } diff --git a/packages/desktop-extra/.eslintrc.cjs b/packages/desktop-extra/.eslintrc.cjs deleted file mode 100644 index 482ecd2a8..000000000 --- a/packages/desktop-extra/.eslintrc.cjs +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../infra/.eslintrc.js') diff --git a/packages/desktop-extra/.eslintrc.json b/packages/desktop-extra/.eslintrc.json new file mode 100644 index 000000000..2c94df5b2 --- /dev/null +++ b/packages/desktop-extra/.eslintrc.json @@ -0,0 +1,27 @@ +{ + "rules": { + "no-constant-condition": "off", + "@typescript-eslint/ban-ts-comment": "off", + "@typescript-eslint/ban-types": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-unused-vars": "off", + "react/no-children-prop": "off", + "react/no-find-dom-node": "off", + "sonarjs/cognitive-complexity": "off", + "sonarjs/no-duplicate-string": "off", + "unicorn/no-negated-condition": "off", + "unicorn/no-new-array": "off", + "unicorn/prefer-add-event-listener": "off", + "unicorn/prefer-dom-node-append": "off", + "unicorn/prefer-dom-node-remove": "off", + "unicorn/prefer-logical-operator-over-ternary": "off", + "unicorn/prefer-number-properties": "off", + "unicorn/prefer-optional-catch-binding": "off", + "unicorn/prefer-regexp-test": "off", + "unicorn/prefer-set-has": "off", + "unicorn/prefer-spread": "off", + "unicorn/prefer-string-slice": "off" + }, + "extends": "eslint-config-qiwi" +} diff --git a/packages/desktop-extra/.gitignore b/packages/desktop-extra/.gitignore new file mode 100644 index 000000000..050c60358 --- /dev/null +++ b/packages/desktop-extra/.gitignore @@ -0,0 +1,2 @@ +/node_modules +/target diff --git a/packages/desktop-extra/.prettierrc.cjs b/packages/desktop-extra/.prettierrc.cjs deleted file mode 100644 index c07e99a54..000000000 --- a/packages/desktop-extra/.prettierrc.cjs +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../infra/.prettierrc.js') diff --git a/packages/desktop-extra/.prettierrc.json b/packages/desktop-extra/.prettierrc.json new file mode 100644 index 000000000..761e7cafc --- /dev/null +++ b/packages/desktop-extra/.prettierrc.json @@ -0,0 +1 @@ +"prettier-config-qiwi" diff --git a/packages/desktop-extra/.releaserc.cjs b/packages/desktop-extra/.releaserc.cjs deleted file mode 100644 index 097c60236..000000000 --- a/packages/desktop-extra/.releaserc.cjs +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - cmd: 'yarn', - changelog: 'changelog', -} diff --git a/packages/desktop-extra/.releaserc.json b/packages/desktop-extra/.releaserc.json new file mode 100644 index 000000000..81606234c --- /dev/null +++ b/packages/desktop-extra/.releaserc.json @@ -0,0 +1,4 @@ +{ + "cmd": "yarn", + "changelog": "changelog" +} diff --git a/packages/desktop-extra/LICENSE b/packages/desktop-extra/LICENSE new file mode 100644 index 000000000..b32169c3c --- /dev/null +++ b/packages/desktop-extra/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 QIWI + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/desktop-extra/README.md b/packages/desktop-extra/README.md index 70067fae9..52e928893 100644 --- a/packages/desktop-extra/README.md +++ b/packages/desktop-extra/README.md @@ -3,30 +3,39 @@ Pijma desktop extra UI components. ## Install + ```bash npm i --save @qiwi/pijma-desktop-extra yarn add @qiwi/pijma-desktop-extra ``` ## Usage + ```javascript import React from 'react' -import { cache, themes, fonts, reset, CacheProvider, ThemeProvider, Global } from '@qiwi/pijma-desktop' + import { Table } from '@qiwi/pijma-desktop-extra' +import { + cache, + CacheProvider, + fonts, + Global, + reset, + ThemeProvider, + themes, +} from '../../ts' + export const App = () => ( - - + +
) ``` ## License + [MIT](../../LICENSE) diff --git a/packages/desktop-extra/jest.config.json b/packages/desktop-extra/jest.config.json index 961dec152..1b5f5eef0 100644 --- a/packages/desktop-extra/jest.config.json +++ b/packages/desktop-extra/jest.config.json @@ -1,39 +1,41 @@ { + "moduleNameMapper": { + "\\.css$": "identity-obj-proxy", + "@qiwi/pijma-core": "/../core/src/main/ts", + "@qiwi/pijma-desktop": "/../desktop/src/main/ts" + }, + "injectGlobals": false, "testEnvironment": "jsdom", - "collectCoverage": true, - "coverageDirectory": "target/coverage", - "coveragePathIgnorePatterns": [ - "/src/main/ts/interface.ts" - ], - "collectCoverageFrom": [ - "/src/main/ts/**/*.ts", - "/src/main/ts/**/*.tsx" - ], "testMatch": [ - "/src/test/ts/**/*.ts", - "/src/test/ts/**/*.tsx" + "/src/test/[jt]s/**/*.(spec|test).[jt]s?(x)" ], "testPathIgnorePatterns": [ - "/node_modules/", - "/src/test/ts/stub" + "__mocks__", + "__snapshots__" ], - "moduleFileExtensions": [ - "ts", - "tsx", - "js", - "jsx", - "json", - "node" + "collectCoverage": true, + "collectCoverageFrom": [ + "/src/main/[jt]s/**/*.[jt]s?(x)" ], - "moduleNameMapper": { - "@qiwi/pijma-core": "/../../packages/core/src/main/ts", - "@qiwi/pijma-desktop": "/../../packages/desktop/src/main/ts", - "\\.css$": "/src/test/ts/__mocks__/style.js" - }, - "transformIgnorePatterns": [ - "node_modules/(?!(lodash-es|@qiwi/common-formatters|@qiwi/pijma-core|@qiwi/pijma-media|@qiwi/pijma-desktop)/)" + "coverageDirectory": "/target/coverage", + "coveragePathIgnorePatterns": [ + "/node_modules", + "/target" ], + "snapshotResolver": "@packasso/jest-snapshot-resolver", "transform": { - "^.+\\.(t|j)sx?$": ["@swc/jest"] - } + "^.+\\.[jt]sx?$": [ + "@swc/jest", + { + "jsc": { + "transform": { + "react": { + "runtime": "automatic" + } + } + } + } + ] + }, + "displayName": "@qiwi/pijma-desktop-extra" } diff --git a/packages/desktop-extra/package.json b/packages/desktop-extra/package.json index bedb8c48f..dc368d0ad 100644 --- a/packages/desktop-extra/package.json +++ b/packages/desktop-extra/package.json @@ -1,35 +1,14 @@ { "name": "@qiwi/pijma-desktop-extra", "version": "0.0.0", - "type": "module", - "main": "./target/es5/index.js", - "module": "./target/es6/index.js", - "types": "./target/dts/index.d.ts", - "exports": { - ".": { - "types": "./target/dts/index.d.ts", - "import": "./target/es6/index.js", - "require": "./target/es5/index.js" - } - }, - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "scripts": { - "clean": "rimraf target node_modules", - "build": "concurrently 'npm:build:*'", - "build:es5": "cd src/main && swc ts -d ../../target/es5 --config-file ../../swc.es5.json && cd ../.. && tsc-esm-fix --target=target/es5 --fillBlank", - "build:es6": "cd src/main && swc ts -d ../../target/es6 --config-file ../../swc.es6.json && cd ../.. && tsc-esm-fix --target=target/es6 --fillBlank", - "build:dts": "tsc --project tsconfig.dts.json", - "test": "jest", - "format": "eslint --fix src && prettier --loglevel silent --write src", - "lint": "eslint src" - }, - "files": [ - "target/dts/**/*", - "target/es5/**/*", - "target/es6/**/*" + "packasso": [ + "@packasso/dev-ts", + "@packasso/dev-license", + "@packasso/build-ts-swc", + "@packasso/style-eslint", + "@packasso/style-prettier", + "@packasso/release-zx-semrel", + "@packasso/test-jest" ], "dependencies": { "@qiwi/common-formatters": "^1.2.1", @@ -43,27 +22,40 @@ "react-table": "^7.8.0" }, "devDependencies": { - "@qiwi/pijma-infra": "workspace:*", - "@types/jest": "^29.0.0", + "@packasso/build-ts-swc": "0.17.2", + "@packasso/cli": "0.16.1", + "@packasso/dev-license": "0.10.1", + "@packasso/dev-ts": "0.17.1", + "@packasso/release-zx-semrel": "0.16.1", + "@packasso/style-eslint": "0.1.1", + "@packasso/style-prettier": "0.1.1", + "@packasso/test-jest": "0.18.1", + "@swc/cli": "0.1.62", + "@swc/core": "1.3.37", + "@swc/helpers": "0.4.14", + "@swc/jest": "0.2.24", + "@types/jest": "29.4.0", "@types/react-test-renderer": "^18.0.0", - "concurrently": "7.4.0", + "concurrently": "7.6.0", "css-loader": "6.7.1", - "eslint": "8.23.0", - "eslint-config-qiwi": "1.17.6", - "fast-glob": "3.2.11", + "eslint": "8.35.0", + "eslint-config-qiwi": "2.0.9", "file-loader": "6.2.0", - "jest": "^29.0.2", - "jest-environment-jsdom": "^29.0.2", - "prettier": "2.7.1", - "prettier-config-qiwi": "1.7.2", + "globby-cp": "1.1.3", + "identity-obj-proxy": "3.0.0", + "jest": "29.4.3", + "jest-environment-jsdom": "29.4.3", + "prettier": "2.8.4", + "prettier-config-qiwi": "2.0.1", "react-i18next": "^11.18.5", "react-router": "^6.3.0", "react-router-dom": "^6.3.0", "react-test-renderer": "^18.2.0", + "rimraf": "4.2.0", "style-loader": "3.3.1", - "tsc-esm-fix": "2.20.4", - "typescript": "4.8.2", - "webpack": "5.74.0" + "tsc-esm-fix": "2.20.12", + "typescript": "4.9.5", + "webpack": "5.75.0" }, "peerDependencies": { "react-i18next": "^11.18.5" @@ -75,5 +67,32 @@ "bugs": { "url": "https://github.com/qiwi/pijma/issues" }, - "homepage": "https://github.com/qiwi/pijma/#readme" + "homepage": "https://github.com/qiwi/pijma/#readme", + "scripts": { + "build": "packasso build", + "lint": "packasso lint", + "format": "packasso format", + "test": "packasso test" + }, + "license": "MIT", + "type": "module", + "main": "./target/cjs/index.cjs", + "module": "./target/esm/index.mjs", + "types": "./target/dts/index.d.ts", + "exports": { + ".": { + "require": "./target/cjs/index.cjs", + "import": "./target/esm/index.mjs", + "types": "./target/dts/index.d.ts" + }, + "./package.json": "./package.json" + }, + "files": [ + "target/cjs/**/*", + "target/esm/**/*", + "target/dts/**/*" + ], + "publishConfig": { + "access": "public" + } } diff --git a/packages/desktop-extra/src/main/ts/amount/index.tsx b/packages/desktop-extra/src/main/ts/amount/index.tsx index d4a1eefd3..58fd1f87f 100644 --- a/packages/desktop-extra/src/main/ts/amount/index.tsx +++ b/packages/desktop-extra/src/main/ts/amount/index.tsx @@ -1,6 +1,7 @@ -import { formatMoney } from '@qiwi/common-formatters' import React from 'react' +import { formatMoney } from '@qiwi/common-formatters' + import AmountProps from './AmountProps' export const Amount = ({ diff --git a/packages/desktop-extra/src/main/ts/checkbox/index.tsx b/packages/desktop-extra/src/main/ts/checkbox/index.tsx index 12ceec0f8..fc58e0ab1 100644 --- a/packages/desktop-extra/src/main/ts/checkbox/index.tsx +++ b/packages/desktop-extra/src/main/ts/checkbox/index.tsx @@ -1,6 +1,7 @@ -import { styled } from '@qiwi/pijma-core' import React, { Component } from 'react' +import { styled } from '@qiwi/pijma-core' + import TrinaryCheckIcon from '../trinary-check-icon' import CheckboxProps from './CheckboxProps' diff --git a/packages/desktop-extra/src/main/ts/chip/index.tsx b/packages/desktop-extra/src/main/ts/chip/index.tsx index ebc57859d..d6bf43b3a 100644 --- a/packages/desktop-extra/src/main/ts/chip/index.tsx +++ b/packages/desktop-extra/src/main/ts/chip/index.tsx @@ -1,6 +1,7 @@ -import { Box, Icon, styled, Typo } from '@qiwi/pijma-core' import React, { FC } from 'react' +import { Box, Icon, styled, Typo } from '@qiwi/pijma-core' + import ChipProps from './ChipProps' const Container = styled(Box)` diff --git a/packages/desktop-extra/src/main/ts/date-picker/index.tsx b/packages/desktop-extra/src/main/ts/date-picker/index.tsx index 5f83ac479..e2d76b580 100644 --- a/packages/desktop-extra/src/main/ts/date-picker/index.tsx +++ b/packages/desktop-extra/src/main/ts/date-picker/index.tsx @@ -1,11 +1,12 @@ +import React, { Component } from 'react' +import { DayPicker } from 'react-day-picker' import 'react-day-picker/dist/style.css' +import { WithTranslation, withTranslation } from 'react-i18next' import { Icon, Overlay, styled } from '@qiwi/pijma-core' import { MaskTextField } from '@qiwi/pijma-desktop' + import { format } from 'date-fns' -import React, { Component } from 'react' -import { DayPicker } from 'react-day-picker' -import { WithTranslation, withTranslation } from 'react-i18next' import { COLOR } from '../theme' import DatePickerProps from './DatePickerProps' @@ -146,13 +147,13 @@ class _DatePicker extends Component< } render() { - const { t, i18n } = this.props + const { t, i18n, title } = this.props return ( } onChange={this.onChange.bind(this)} value={this.state.value} diff --git a/packages/desktop-extra/src/main/ts/date-picker/wrap.tsx b/packages/desktop-extra/src/main/ts/date-picker/wrap.tsx index 259cc8d02..f83f4535a 100644 --- a/packages/desktop-extra/src/main/ts/date-picker/wrap.tsx +++ b/packages/desktop-extra/src/main/ts/date-picker/wrap.tsx @@ -180,18 +180,24 @@ export default styled('div')` color: #dce0e0; } - .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) { + .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not( + .DayPicker-Day--outside + ) { position: relative; color: #f0f8ff; background-color: ${(props: any) => props.theme.color.brand}; } - .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside):hover { + .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not( + .DayPicker-Day--outside + ):hover { background-color: ${(props: any) => props.theme.color.brand}; } .DayPicker:not(.DayPicker--interactionDisabled) - .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover { + .DayPicker-Day:not(.DayPicker-Day--disabled):not( + .DayPicker-Day--selected + ):not(.DayPicker-Day--outside):hover { background-color: #f0f8ff; } diff --git a/packages/desktop-extra/src/main/ts/date-range-picker/index.tsx b/packages/desktop-extra/src/main/ts/date-range-picker/index.tsx index 4df136a55..bb02bf3ef 100644 --- a/packages/desktop-extra/src/main/ts/date-range-picker/index.tsx +++ b/packages/desktop-extra/src/main/ts/date-range-picker/index.tsx @@ -1,11 +1,12 @@ +import React, { Component } from 'react' +import { addToRange, DayPicker } from 'react-day-picker' import 'react-day-picker/dist/style.css' +import { WithTranslation, withTranslation } from 'react-i18next' import { Icon, Overlay, styled } from '@qiwi/pijma-core' import { TextField } from '@qiwi/pijma-desktop' + import { format } from 'date-fns' -import React, { Component } from 'react' -import { addToRange, DayPicker } from 'react-day-picker' -import { WithTranslation, withTranslation } from 'react-i18next' import { locales, TLanguage } from '../date-picker/locale' import Wrap from '../date-picker/wrap' diff --git a/packages/desktop-extra/src/main/ts/divider/index.tsx b/packages/desktop-extra/src/main/ts/divider/index.tsx index 245c6ddc3..ac70586b2 100644 --- a/packages/desktop-extra/src/main/ts/divider/index.tsx +++ b/packages/desktop-extra/src/main/ts/divider/index.tsx @@ -1,6 +1,7 @@ -import { Box, styled, Value } from '@qiwi/pijma-core' import React from 'react' +import { Box, styled, Value } from '@qiwi/pijma-core' + import DividerProps from './DividerProps' const StyledBox = styled(Box)<{ diff --git a/packages/desktop-extra/src/main/ts/dropdown/Container.tsx b/packages/desktop-extra/src/main/ts/dropdown/Container.tsx index d02db7a4c..d5c88cf7d 100644 --- a/packages/desktop-extra/src/main/ts/dropdown/Container.tsx +++ b/packages/desktop-extra/src/main/ts/dropdown/Container.tsx @@ -1,6 +1,7 @@ +import React, { Component } from 'react' + import { styled, Typo } from '@qiwi/pijma-core' import { CheckboxField } from '@qiwi/pijma-desktop' -import React, { Component } from 'react' import { COLOR } from '../theme' import ContainerProps, { DropdownItem } from './ContainerProps' diff --git a/packages/desktop-extra/src/main/ts/dropdown/ContainerProps.ts b/packages/desktop-extra/src/main/ts/dropdown/ContainerProps.ts index 23e7c4b95..7379ea747 100644 --- a/packages/desktop-extra/src/main/ts/dropdown/ContainerProps.ts +++ b/packages/desktop-extra/src/main/ts/dropdown/ContainerProps.ts @@ -1,4 +1,5 @@ import { ReactNode } from 'react' + export interface DropdownItem { name: string | number value: string | number diff --git a/packages/desktop-extra/src/main/ts/dropdown/DropdownProps.ts b/packages/desktop-extra/src/main/ts/dropdown/DropdownProps.ts index 6ca9bce5f..af66c6fc3 100644 --- a/packages/desktop-extra/src/main/ts/dropdown/DropdownProps.ts +++ b/packages/desktop-extra/src/main/ts/dropdown/DropdownProps.ts @@ -1,4 +1,5 @@ import { TRenderItem } from './ContainerProps' + export default interface DropdownProps { value?: string | Array multiSelect?: boolean diff --git a/packages/desktop-extra/src/main/ts/dropdown/index.tsx b/packages/desktop-extra/src/main/ts/dropdown/index.tsx index 0d003e394..9deb055d3 100644 --- a/packages/desktop-extra/src/main/ts/dropdown/index.tsx +++ b/packages/desktop-extra/src/main/ts/dropdown/index.tsx @@ -1,6 +1,7 @@ -import { Overlay, styled } from '@qiwi/pijma-core' import React, { Component, Fragment } from 'react' +import { Overlay, styled } from '@qiwi/pijma-core' + import { Container } from './Container' import DropdownProps from './DropdownProps' @@ -9,7 +10,7 @@ export const ContainerModal = styled('div')` width: 100%; ` -class Dropdown extends Component { +export class Dropdown extends Component { myRef: any constructor(props: DropdownProps) { @@ -54,4 +55,4 @@ class Dropdown extends Component { } } -export { Dropdown, Container } +export { Container } from './Container' diff --git a/packages/desktop-extra/src/main/ts/empty-page/index.tsx b/packages/desktop-extra/src/main/ts/empty-page/index.tsx index 83eeda204..23fbf54f7 100644 --- a/packages/desktop-extra/src/main/ts/empty-page/index.tsx +++ b/packages/desktop-extra/src/main/ts/empty-page/index.tsx @@ -1,6 +1,7 @@ +import React, { Component } from 'react' + import { Card, Flex, FlexItem } from '@qiwi/pijma-core' import { Heading, Paragraph } from '@qiwi/pijma-desktop' -import React, { Component } from 'react' import { B2bIcon } from '../icon' import { Offset } from '../offset' diff --git a/packages/desktop-extra/src/main/ts/error-message/index.tsx b/packages/desktop-extra/src/main/ts/error-message/index.tsx index b8199e141..63c2f3f6b 100644 --- a/packages/desktop-extra/src/main/ts/error-message/index.tsx +++ b/packages/desktop-extra/src/main/ts/error-message/index.tsx @@ -1,6 +1,7 @@ -import { Flex, FlexItem, styled } from '@qiwi/pijma-core' import React, { Component } from 'react' +import { Flex, FlexItem, styled } from '@qiwi/pijma-core' + import { B2bIcon } from '../icon' import ErrorMessageProps from './ErrorMessageProps' diff --git a/packages/desktop-extra/src/main/ts/file-uploader/index.tsx b/packages/desktop-extra/src/main/ts/file-uploader/index.tsx index a8d6c2194..ee9ab06a7 100644 --- a/packages/desktop-extra/src/main/ts/file-uploader/index.tsx +++ b/packages/desktop-extra/src/main/ts/file-uploader/index.tsx @@ -1,8 +1,9 @@ -import { Box, Icon } from '@qiwi/pijma-core' -import { Text } from '@qiwi/pijma-desktop' import React, { FC } from 'react' import DropZone from 'react-dropzone' +import { Box, Icon } from '@qiwi/pijma-core' +import { Text } from '@qiwi/pijma-desktop' + import { Chip } from '../chip' import FileUploaderControl from './FileUploaderControl' import FileUploaderProps from './FileUploaderProps' diff --git a/packages/desktop-extra/src/main/ts/footer/index.tsx b/packages/desktop-extra/src/main/ts/footer/index.tsx index f8feeffa8..b6f4e13d4 100644 --- a/packages/desktop-extra/src/main/ts/footer/index.tsx +++ b/packages/desktop-extra/src/main/ts/footer/index.tsx @@ -1,7 +1,8 @@ -import { Flex, styled } from '@qiwi/pijma-core' import React from 'react' import { useTranslation } from 'react-i18next' +import { Flex, styled } from '@qiwi/pijma-core' + import Spreader from '../spreader' const Wrapper = styled(Spreader)` diff --git a/packages/desktop-extra/src/main/ts/header/index.tsx b/packages/desktop-extra/src/main/ts/header/index.tsx index 1bd804acb..86a607b63 100644 --- a/packages/desktop-extra/src/main/ts/header/index.tsx +++ b/packages/desktop-extra/src/main/ts/header/index.tsx @@ -1,6 +1,7 @@ +import React, { Component } from 'react' + import { Flex, FlexItem, styled } from '@qiwi/pijma-core' import { HeaderMenu } from '@qiwi/pijma-desktop' -import React, { Component } from 'react' import { Logo } from '../logo' import { Product } from '../product' diff --git a/packages/desktop-extra/src/main/ts/icon/index.tsx b/packages/desktop-extra/src/main/ts/icon/index.tsx index 742c3cabe..0a75a6d3d 100644 --- a/packages/desktop-extra/src/main/ts/icon/index.tsx +++ b/packages/desktop-extra/src/main/ts/icon/index.tsx @@ -1,9 +1,10 @@ +import React, { Component, Fragment } from 'react' + import { Icon as PijmaIcon, IconProps as PijmaIconProps, styled, } from '@qiwi/pijma-core' -import React, { Component, Fragment } from 'react' import IconProps from './IconProps' diff --git a/packages/desktop-extra/src/main/ts/logo/index.tsx b/packages/desktop-extra/src/main/ts/logo/index.tsx index 7d8b77d7f..44c6e11e4 100644 --- a/packages/desktop-extra/src/main/ts/logo/index.tsx +++ b/packages/desktop-extra/src/main/ts/logo/index.tsx @@ -1,6 +1,7 @@ -import { Box } from '@qiwi/pijma-core' import React from 'react' +import { Box } from '@qiwi/pijma-core' + export const Logo = () => ( { render() { - const Link = this.props.link - const { items, isItemSelected, onChange } = this.props + const { link: Link, items, isItemSelected, onChange, active } = this.props const menuItems = items.map( ({ name, path, node: _node, value: _value }) => { @@ -32,7 +32,7 @@ export class NavigationMenu extends Component { return ( { diff --git a/packages/desktop-extra/src/main/ts/product/index.tsx b/packages/desktop-extra/src/main/ts/product/index.tsx index 632241cb6..6f02d2753 100644 --- a/packages/desktop-extra/src/main/ts/product/index.tsx +++ b/packages/desktop-extra/src/main/ts/product/index.tsx @@ -1,6 +1,7 @@ -import { Flex, Icon, styled } from '@qiwi/pijma-core' import React, { Component } from 'react' +import { Flex, Icon, styled } from '@qiwi/pijma-core' + import { Dropdown } from '../dropdown' import { COLOR } from '../theme' import ProductProps from './ProductProps' diff --git a/packages/desktop-extra/src/main/ts/select/index.tsx b/packages/desktop-extra/src/main/ts/select/index.tsx index e7b45b6b6..a73aa7d63 100644 --- a/packages/desktop-extra/src/main/ts/select/index.tsx +++ b/packages/desktop-extra/src/main/ts/select/index.tsx @@ -1,13 +1,16 @@ +import React, { Component } from 'react' + import { Icon, styled } from '@qiwi/pijma-core' import { TextField } from '@qiwi/pijma-desktop' -import React, { Component } from 'react' import { Dropdown } from '../dropdown' import SelectProps from './SelectProps' import SelectState from './SelectState' // https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore#_isempty -const isEmpty = (obj: any): boolean => [Object, Array].includes((obj || {}).constructor) && !Object.entries((obj || {})).length; +const isEmpty = (obj: any): boolean => + [Object, Array].includes((obj || {}).constructor) && + Object.entries(obj || {}).length === 0 const Container = styled('div')` position: relative; @@ -130,7 +133,7 @@ export class Select extends Component { } value={ !isEmpty(multiValue) - ? [].concat(multiValue).join(', ') + ? [multiValue].flat().join(', ') : emptyValue || '' } hint={ diff --git a/packages/desktop-extra/src/main/ts/spinner/index.tsx b/packages/desktop-extra/src/main/ts/spinner/index.tsx index c9d822182..ec41483e8 100644 --- a/packages/desktop-extra/src/main/ts/spinner/index.tsx +++ b/packages/desktop-extra/src/main/ts/spinner/index.tsx @@ -1,6 +1,7 @@ -import { Spinner } from '@qiwi/pijma-core' import React from 'react' +import { Spinner } from '@qiwi/pijma-core' + import { COLOR, DIMEN } from '../theme' export const B2bSpinner = () => ( diff --git a/packages/desktop-extra/src/main/ts/step/index.tsx b/packages/desktop-extra/src/main/ts/step/index.tsx index 38ace9b48..3d91321db 100644 --- a/packages/desktop-extra/src/main/ts/step/index.tsx +++ b/packages/desktop-extra/src/main/ts/step/index.tsx @@ -1,6 +1,7 @@ +import React, { FC } from 'react' + import { ButtonControl, Typo } from '@qiwi/pijma-core' import { Text } from '@qiwi/pijma-desktop' -import React, { FC } from 'react' import StepProps from './StepProps' import StepButton from './StepStyle' diff --git a/packages/desktop-extra/src/main/ts/stepper/index.tsx b/packages/desktop-extra/src/main/ts/stepper/index.tsx index 2536edd4b..4bbba1f7a 100644 --- a/packages/desktop-extra/src/main/ts/stepper/index.tsx +++ b/packages/desktop-extra/src/main/ts/stepper/index.tsx @@ -1,6 +1,7 @@ -import { Flex, FlexItem } from '@qiwi/pijma-core' import React, { FC, Fragment } from 'react' +import { Flex, FlexItem } from '@qiwi/pijma-core' + import { Divider } from '../divider' import { Step } from '../step' import StepperControl from './StepperControl' diff --git a/packages/desktop-extra/src/main/ts/table/index.tsx b/packages/desktop-extra/src/main/ts/table/index.tsx index 430099e7c..1c2fe4060 100644 --- a/packages/desktop-extra/src/main/ts/table/index.tsx +++ b/packages/desktop-extra/src/main/ts/table/index.tsx @@ -1,7 +1,8 @@ -import { styled } from '@qiwi/pijma-core' import React from 'react' import { TableOptions, useTable } from 'react-table' +import { styled } from '@qiwi/pijma-core' + import { activeBackground, borderColor, tableHoverColor } from './constants' const TrWrapper = styled('tr')<{ diff --git a/packages/desktop-extra/src/main/ts/trinary-check-icon/index.tsx b/packages/desktop-extra/src/main/ts/trinary-check-icon/index.tsx index 460e71fec..309576404 100644 --- a/packages/desktop-extra/src/main/ts/trinary-check-icon/index.tsx +++ b/packages/desktop-extra/src/main/ts/trinary-check-icon/index.tsx @@ -1,6 +1,7 @@ -import { Path, Rect, Svg } from '@qiwi/pijma-core' import React from 'react' +import { Path, Rect, Svg } from '@qiwi/pijma-core' + import TrinaryCheckboxProps from './TrinaryCheckboxProps' export const TrinaryCheckIcon = ({ diff --git a/packages/desktop-extra/src/main/ts/user-profile/index.tsx b/packages/desktop-extra/src/main/ts/user-profile/index.tsx index df59f8ed1..7e73e163f 100644 --- a/packages/desktop-extra/src/main/ts/user-profile/index.tsx +++ b/packages/desktop-extra/src/main/ts/user-profile/index.tsx @@ -1,6 +1,7 @@ -import { Flex, Icon, styled } from '@qiwi/pijma-core' import React, { Component } from 'react' +import { Flex, Icon, styled } from '@qiwi/pijma-core' + import UserProfileProps from './UserProfileProps' const IconWrapper = styled('div')` diff --git a/packages/desktop-extra/src/test/ts/__snapshots__/amount.tsx.snap b/packages/desktop-extra/src/test/resources/jest-snapshots/ts/amount.spec.tsx.snap similarity index 100% rename from packages/desktop-extra/src/test/ts/__snapshots__/amount.tsx.snap rename to packages/desktop-extra/src/test/resources/jest-snapshots/ts/amount.spec.tsx.snap diff --git a/packages/desktop-extra/src/test/ts/__snapshots__/checkbox.tsx.snap b/packages/desktop-extra/src/test/resources/jest-snapshots/ts/checkbox.spec.tsx.snap similarity index 100% rename from packages/desktop-extra/src/test/ts/__snapshots__/checkbox.tsx.snap rename to packages/desktop-extra/src/test/resources/jest-snapshots/ts/checkbox.spec.tsx.snap diff --git a/packages/desktop-extra/src/test/ts/__snapshots__/datePicker.tsx.snap b/packages/desktop-extra/src/test/resources/jest-snapshots/ts/datePicker.spec.tsx.snap similarity index 98% rename from packages/desktop-extra/src/test/ts/__snapshots__/datePicker.tsx.snap rename to packages/desktop-extra/src/test/resources/jest-snapshots/ts/datePicker.spec.tsx.snap index ff030fe4b..eb1c4ec45 100644 --- a/packages/desktop-extra/src/test/ts/__snapshots__/datePicker.tsx.snap +++ b/packages/desktop-extra/src/test/resources/jest-snapshots/ts/datePicker.spec.tsx.snap @@ -2,7 +2,7 @@ exports[`DatePicker renders correctly 1`] = `
diff --git a/packages/desktop-extra/src/test/ts/__snapshots__/dateRangePicker.tsx.snap b/packages/desktop-extra/src/test/resources/jest-snapshots/ts/dateRangePicker.spec.tsx.snap similarity index 98% rename from packages/desktop-extra/src/test/ts/__snapshots__/dateRangePicker.tsx.snap rename to packages/desktop-extra/src/test/resources/jest-snapshots/ts/dateRangePicker.spec.tsx.snap index 46f40b7da..ae011669a 100644 --- a/packages/desktop-extra/src/test/ts/__snapshots__/dateRangePicker.tsx.snap +++ b/packages/desktop-extra/src/test/resources/jest-snapshots/ts/dateRangePicker.spec.tsx.snap @@ -2,7 +2,7 @@ exports[`DateRangePicker renders correctly 1`] = `
{ diff --git a/packages/desktop-extra/src/test/ts/checkbox.tsx b/packages/desktop-extra/src/test/ts/checkbox.spec.tsx similarity index 95% rename from packages/desktop-extra/src/test/ts/checkbox.tsx rename to packages/desktop-extra/src/test/ts/checkbox.spec.tsx index d105ce2eb..714840bff 100644 --- a/packages/desktop-extra/src/test/ts/checkbox.tsx +++ b/packages/desktop-extra/src/test/ts/checkbox.spec.tsx @@ -1,6 +1,8 @@ import React from 'react' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { Checkbox } from '../../main/ts' describe('Checkbox', () => { diff --git a/packages/desktop-extra/src/test/ts/datePicker.tsx b/packages/desktop-extra/src/test/ts/datePicker.spec.tsx similarity index 94% rename from packages/desktop-extra/src/test/ts/datePicker.tsx rename to packages/desktop-extra/src/test/ts/datePicker.spec.tsx index 0a2e52208..8d45b65fa 100644 --- a/packages/desktop-extra/src/test/ts/datePicker.tsx +++ b/packages/desktop-extra/src/test/ts/datePicker.spec.tsx @@ -1,7 +1,10 @@ -import { ThemeProvider, themes } from '@qiwi/pijma-core' import React from 'react' import renderer from 'react-test-renderer' +import { ThemeProvider, themes } from '@qiwi/pijma-core' + +import { describe, expect, it } from '@jest/globals' + import { DatePicker } from '../../main/ts' describe('DatePicker', () => { diff --git a/packages/desktop-extra/src/test/ts/dateRangePicker.tsx b/packages/desktop-extra/src/test/ts/dateRangePicker.spec.tsx similarity index 95% rename from packages/desktop-extra/src/test/ts/dateRangePicker.tsx rename to packages/desktop-extra/src/test/ts/dateRangePicker.spec.tsx index 79c2472ee..37134d0b9 100644 --- a/packages/desktop-extra/src/test/ts/dateRangePicker.tsx +++ b/packages/desktop-extra/src/test/ts/dateRangePicker.spec.tsx @@ -1,7 +1,10 @@ -import { ThemeProvider, themes } from '@qiwi/pijma-core' import React from 'react' import renderer from 'react-test-renderer' +import { ThemeProvider, themes } from '@qiwi/pijma-core' + +import { describe, expect, it } from '@jest/globals' + import { DateRangePicker } from '../../main/ts' describe('DateRangePicker', () => { diff --git a/packages/desktop-extra/src/test/ts/divider.tsx b/packages/desktop-extra/src/test/ts/divider.spec.tsx similarity index 81% rename from packages/desktop-extra/src/test/ts/divider.tsx rename to packages/desktop-extra/src/test/ts/divider.spec.tsx index 69ffa2727..49a006d77 100644 --- a/packages/desktop-extra/src/test/ts/divider.tsx +++ b/packages/desktop-extra/src/test/ts/divider.spec.tsx @@ -1,8 +1,10 @@ -import { ThemeProvider, themes } from '@qiwi/pijma-desktop' import React from 'react' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { Divider } from '../../main/ts' +import { ThemeProvider, themes } from '../../main/ts' describe('Divider', () => { it('is properly exported from lib index', () => { diff --git a/packages/desktop-extra/src/test/ts/dropdown.tsx b/packages/desktop-extra/src/test/ts/dropdown.spec.tsx similarity index 97% rename from packages/desktop-extra/src/test/ts/dropdown.tsx rename to packages/desktop-extra/src/test/ts/dropdown.spec.tsx index d13c744f2..fa08ead31 100644 --- a/packages/desktop-extra/src/test/ts/dropdown.tsx +++ b/packages/desktop-extra/src/test/ts/dropdown.spec.tsx @@ -1,7 +1,10 @@ -import { ThemeProvider, themes } from '@qiwi/pijma-core' import React from 'react' import renderer from 'react-test-renderer' +import { ThemeProvider, themes } from '@qiwi/pijma-core' + +import { describe, expect, it } from '@jest/globals' + import { Container, Dropdown } from '../../main/ts' describe('Dropdown', () => { diff --git a/packages/desktop-extra/src/test/ts/errorMessage.tsx b/packages/desktop-extra/src/test/ts/errorMessage.spec.tsx similarity index 93% rename from packages/desktop-extra/src/test/ts/errorMessage.tsx rename to packages/desktop-extra/src/test/ts/errorMessage.spec.tsx index d1cb8d65a..1a1c43361 100644 --- a/packages/desktop-extra/src/test/ts/errorMessage.tsx +++ b/packages/desktop-extra/src/test/ts/errorMessage.spec.tsx @@ -1,6 +1,8 @@ import React from 'react' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { ErrorMessage } from '../../main/ts' describe('Icon', () => { diff --git a/packages/desktop-extra/src/test/ts/header.tsx b/packages/desktop-extra/src/test/ts/header.spec.tsx similarity index 98% rename from packages/desktop-extra/src/test/ts/header.tsx rename to packages/desktop-extra/src/test/ts/header.spec.tsx index f2f6293e4..88d0a9894 100644 --- a/packages/desktop-extra/src/test/ts/header.tsx +++ b/packages/desktop-extra/src/test/ts/header.spec.tsx @@ -3,6 +3,8 @@ import { MemoryRouter } from 'react-router' import { NavLink } from 'react-router-dom' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { Header, ThemeProvider, themes } from '../../main/ts' const navItems = [ diff --git a/packages/desktop-extra/src/test/ts/icon.tsx b/packages/desktop-extra/src/test/ts/icon.spec.tsx similarity index 93% rename from packages/desktop-extra/src/test/ts/icon.tsx rename to packages/desktop-extra/src/test/ts/icon.spec.tsx index aa1aa63f8..0366c874e 100644 --- a/packages/desktop-extra/src/test/ts/icon.tsx +++ b/packages/desktop-extra/src/test/ts/icon.spec.tsx @@ -1,6 +1,8 @@ import React from 'react' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { B2bIcon } from '../../main/ts' describe('Icon', () => { diff --git a/packages/desktop-extra/src/test/ts/navigationMenu.tsx b/packages/desktop-extra/src/test/ts/navigationMenu.spec.tsx similarity index 97% rename from packages/desktop-extra/src/test/ts/navigationMenu.tsx rename to packages/desktop-extra/src/test/ts/navigationMenu.spec.tsx index 79665203f..ee7ba92ce 100644 --- a/packages/desktop-extra/src/test/ts/navigationMenu.tsx +++ b/packages/desktop-extra/src/test/ts/navigationMenu.spec.tsx @@ -3,6 +3,8 @@ import { MemoryRouter } from 'react-router' import { NavLink } from 'react-router-dom' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { NavigationMenu } from '../../main/ts' const navItems = [ diff --git a/packages/desktop-extra/src/test/ts/obfuscatedPan.tsx b/packages/desktop-extra/src/test/ts/obfuscatedPan.spec.tsx similarity index 89% rename from packages/desktop-extra/src/test/ts/obfuscatedPan.tsx rename to packages/desktop-extra/src/test/ts/obfuscatedPan.spec.tsx index 857fe6c15..9d663fb23 100644 --- a/packages/desktop-extra/src/test/ts/obfuscatedPan.tsx +++ b/packages/desktop-extra/src/test/ts/obfuscatedPan.spec.tsx @@ -1,6 +1,8 @@ import React from 'react' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { ObfuscatedPan } from '../../main/ts' describe('ObfuscatedPan', () => { diff --git a/packages/desktop-extra/src/test/ts/offset.tsx b/packages/desktop-extra/src/test/ts/offset.spec.tsx similarity index 87% rename from packages/desktop-extra/src/test/ts/offset.tsx rename to packages/desktop-extra/src/test/ts/offset.spec.tsx index e56afabcf..4a0c15c1b 100644 --- a/packages/desktop-extra/src/test/ts/offset.tsx +++ b/packages/desktop-extra/src/test/ts/offset.spec.tsx @@ -1,6 +1,8 @@ import React from 'react' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { Offset } from '../../main/ts' describe('Offset', () => { diff --git a/packages/desktop-extra/src/test/ts/paginator.tsx b/packages/desktop-extra/src/test/ts/paginator.spec.tsx similarity index 84% rename from packages/desktop-extra/src/test/ts/paginator.tsx rename to packages/desktop-extra/src/test/ts/paginator.spec.tsx index 6b6e7fa3a..a0847c90a 100644 --- a/packages/desktop-extra/src/test/ts/paginator.tsx +++ b/packages/desktop-extra/src/test/ts/paginator.spec.tsx @@ -1,8 +1,10 @@ -import { ThemeProvider, themes } from '@qiwi/pijma-desktop' import React from 'react' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { Paginator } from '../../main/ts' +import { ThemeProvider, themes } from '../../main/ts' describe('Paginator', () => { it('is properly exported from lib index', () => { diff --git a/packages/desktop-extra/src/test/ts/product.tsx b/packages/desktop-extra/src/test/ts/product.spec.tsx similarity index 95% rename from packages/desktop-extra/src/test/ts/product.tsx rename to packages/desktop-extra/src/test/ts/product.spec.tsx index f4ececfc0..18aae3e7a 100644 --- a/packages/desktop-extra/src/test/ts/product.tsx +++ b/packages/desktop-extra/src/test/ts/product.spec.tsx @@ -1,6 +1,8 @@ import React from 'react' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { Product } from '../../main/ts' describe('Product', () => { diff --git a/packages/desktop-extra/src/test/ts/select.tsx b/packages/desktop-extra/src/test/ts/select.spec.tsx similarity index 91% rename from packages/desktop-extra/src/test/ts/select.tsx rename to packages/desktop-extra/src/test/ts/select.spec.tsx index 3aa7f6c48..a08ef7f53 100644 --- a/packages/desktop-extra/src/test/ts/select.tsx +++ b/packages/desktop-extra/src/test/ts/select.spec.tsx @@ -1,7 +1,10 @@ -import { ThemeProvider, themes } from '@qiwi/pijma-core' import React from 'react' import renderer from 'react-test-renderer' +import { ThemeProvider, themes } from '@qiwi/pijma-core' + +import { describe, expect, it } from '@jest/globals' + import { Select } from '../../main/ts' describe('Select', () => { diff --git a/packages/desktop-extra/src/test/ts/spinner.tsx b/packages/desktop-extra/src/test/ts/spinner.spec.tsx similarity index 87% rename from packages/desktop-extra/src/test/ts/spinner.tsx rename to packages/desktop-extra/src/test/ts/spinner.spec.tsx index 839bd8e70..22ca76890 100644 --- a/packages/desktop-extra/src/test/ts/spinner.tsx +++ b/packages/desktop-extra/src/test/ts/spinner.spec.tsx @@ -1,6 +1,8 @@ import React from 'react' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { B2bSpinner } from '../../main/ts' describe('Offset', () => { diff --git a/packages/desktop-extra/src/test/ts/table.tsx b/packages/desktop-extra/src/test/ts/table.spec.tsx similarity index 96% rename from packages/desktop-extra/src/test/ts/table.tsx rename to packages/desktop-extra/src/test/ts/table.spec.tsx index 321de5254..7a9d83284 100644 --- a/packages/desktop-extra/src/test/ts/table.tsx +++ b/packages/desktop-extra/src/test/ts/table.spec.tsx @@ -1,6 +1,8 @@ import React from 'react' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { columnFactory, Table } from '../../main/ts' describe('Table', () => { diff --git a/packages/desktop-extra/src/test/ts/trinary-check-icon.tsx b/packages/desktop-extra/src/test/ts/trinary-check-icon.spec.tsx similarity index 93% rename from packages/desktop-extra/src/test/ts/trinary-check-icon.tsx rename to packages/desktop-extra/src/test/ts/trinary-check-icon.spec.tsx index 69d2eb11e..be2bfda99 100644 --- a/packages/desktop-extra/src/test/ts/trinary-check-icon.tsx +++ b/packages/desktop-extra/src/test/ts/trinary-check-icon.spec.tsx @@ -1,6 +1,8 @@ import React from 'react' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { TrinaryCheckIcon } from '../../main/ts' describe('TrinaryCheckIcon', () => { diff --git a/packages/desktop-extra/src/test/ts/userProfile.tsx b/packages/desktop-extra/src/test/ts/userProfile.spec.tsx similarity index 92% rename from packages/desktop-extra/src/test/ts/userProfile.tsx rename to packages/desktop-extra/src/test/ts/userProfile.spec.tsx index 3abeeeb6a..ff5f0cbf2 100644 --- a/packages/desktop-extra/src/test/ts/userProfile.tsx +++ b/packages/desktop-extra/src/test/ts/userProfile.spec.tsx @@ -1,6 +1,8 @@ import React from 'react' import renderer from 'react-test-renderer' +import { describe, expect, it } from '@jest/globals' + import { UserProfile } from '../../main/ts' describe('UserProfile', () => { diff --git a/packages/desktop-extra/swc.es5.json b/packages/desktop-extra/swc.cjs.json similarity index 88% rename from packages/desktop-extra/swc.es5.json rename to packages/desktop-extra/swc.cjs.json index ed56ae66c..0fafa72c5 100644 --- a/packages/desktop-extra/swc.es5.json +++ b/packages/desktop-extra/swc.cjs.json @@ -4,8 +4,7 @@ "parser": { "syntax": "typescript", "tsx": true, - "decorators": true, - "dts": true + "decorators": true }, "transform": { "react": { diff --git a/packages/desktop/swc.es6.json b/packages/desktop-extra/swc.esm.json similarity index 82% rename from packages/desktop/swc.es6.json rename to packages/desktop-extra/swc.esm.json index 0a5a58af7..87fc057d1 100644 --- a/packages/desktop/swc.es6.json +++ b/packages/desktop-extra/swc.esm.json @@ -4,15 +4,14 @@ "parser": { "syntax": "typescript", "tsx": true, - "decorators": true, - "dts": true + "decorators": true }, "transform": { "react": { "runtime": "automatic" } }, - "target": "es2021", + "target": "es2022", "loose": true, "externalHelpers": true }, diff --git a/packages/desktop-extra/tsconfig.dts.json b/packages/desktop-extra/tsconfig.dts.json index 7232da1ca..6b7b2e95c 100644 --- a/packages/desktop-extra/tsconfig.dts.json +++ b/packages/desktop-extra/tsconfig.dts.json @@ -1,16 +1,19 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "composite": true, + "declaration": true, + "emitDeclarationOnly": true, "rootDir": "./src/main/ts", - "baseUrl": "./src/main/ts", "declarationDir": "./target/dts", - "emitDeclarationOnly": true, + "tsBuildInfoFile": "./target/dts/.tsbuildinfo" }, - "include": [ - "./src/main/ts" - ], - "exclude": [ - "./target", - "./node_modules" + "references": [ + { + "path": "../core/tsconfig.dts.json" + }, + { + "path": "../desktop/tsconfig.dts.json" + } ] } diff --git a/packages/desktop-extra/tsconfig.json b/packages/desktop-extra/tsconfig.json index 4082f16a5..547862afc 100644 --- a/packages/desktop-extra/tsconfig.json +++ b/packages/desktop-extra/tsconfig.json @@ -1,3 +1,30 @@ { - "extends": "../../tsconfig.json" + "compilerOptions": { + "module": "es2022", + "target": "es2022", + "moduleResolution": "node", + "jsx": "react-jsx", + "strict": true, + "skipLibCheck": true, + "esModuleInterop": true, + "isolatedModules": true, + "resolveJsonModule": true, + "removeComments": true, + "importHelpers": true, + "baseUrl": "./", + "paths": { + "@qiwi/pijma-core": [ + "../core/src/main/ts" + ], + "@qiwi/pijma-desktop": [ + "../desktop/src/main/ts" + ] + } + }, + "include": [ + "./src/main/ts" + ], + "exclude": [ + "./node_modules" + ] } diff --git a/packages/desktop/.eslintrc.cjs b/packages/desktop/.eslintrc.cjs deleted file mode 100644 index 482ecd2a8..000000000 --- a/packages/desktop/.eslintrc.cjs +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../infra/.eslintrc.js') diff --git a/packages/desktop/.eslintrc.json b/packages/desktop/.eslintrc.json new file mode 100644 index 000000000..2c94df5b2 --- /dev/null +++ b/packages/desktop/.eslintrc.json @@ -0,0 +1,27 @@ +{ + "rules": { + "no-constant-condition": "off", + "@typescript-eslint/ban-ts-comment": "off", + "@typescript-eslint/ban-types": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-unused-vars": "off", + "react/no-children-prop": "off", + "react/no-find-dom-node": "off", + "sonarjs/cognitive-complexity": "off", + "sonarjs/no-duplicate-string": "off", + "unicorn/no-negated-condition": "off", + "unicorn/no-new-array": "off", + "unicorn/prefer-add-event-listener": "off", + "unicorn/prefer-dom-node-append": "off", + "unicorn/prefer-dom-node-remove": "off", + "unicorn/prefer-logical-operator-over-ternary": "off", + "unicorn/prefer-number-properties": "off", + "unicorn/prefer-optional-catch-binding": "off", + "unicorn/prefer-regexp-test": "off", + "unicorn/prefer-set-has": "off", + "unicorn/prefer-spread": "off", + "unicorn/prefer-string-slice": "off" + }, + "extends": "eslint-config-qiwi" +} diff --git a/packages/desktop/.gitignore b/packages/desktop/.gitignore new file mode 100644 index 000000000..050c60358 --- /dev/null +++ b/packages/desktop/.gitignore @@ -0,0 +1,2 @@ +/node_modules +/target diff --git a/packages/desktop/.prettierrc.cjs b/packages/desktop/.prettierrc.cjs deleted file mode 100644 index c07e99a54..000000000 --- a/packages/desktop/.prettierrc.cjs +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../infra/.prettierrc.js') diff --git a/packages/desktop/.prettierrc.json b/packages/desktop/.prettierrc.json new file mode 100644 index 000000000..761e7cafc --- /dev/null +++ b/packages/desktop/.prettierrc.json @@ -0,0 +1 @@ +"prettier-config-qiwi" diff --git a/packages/desktop/.releaserc.cjs b/packages/desktop/.releaserc.cjs deleted file mode 100644 index c1000218d..000000000 --- a/packages/desktop/.releaserc.cjs +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - ghPages: 'gh-pages target/webapp desktop', - cmd: 'yarn', - changelog: 'changelog', -} diff --git a/packages/desktop/.releaserc.json b/packages/desktop/.releaserc.json new file mode 100644 index 000000000..906dbc571 --- /dev/null +++ b/packages/desktop/.releaserc.json @@ -0,0 +1,5 @@ +{ + "ghPages": "gh-pages target/webapp desktop", + "cmd": "yarn", + "changelog": "changelog" +} diff --git a/packages/desktop/LICENSE b/packages/desktop/LICENSE new file mode 100644 index 000000000..b32169c3c --- /dev/null +++ b/packages/desktop/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 QIWI + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/desktop/package.json b/packages/desktop/package.json index 276a8923a..dd1770714 100644 --- a/packages/desktop/package.json +++ b/packages/desktop/package.json @@ -1,64 +1,61 @@ { "name": "@qiwi/pijma-desktop", "version": "0.0.0", - "type": "module", - "main": "./target/es5/index.js", - "module": "./target/es6/index.js", - "types": "./target/dts/index.d.ts", - "exports": { - ".": { - "types": "./target/dts/index.d.ts", - "import": "./target/es6/index.js", - "require": "./target/es5/index.js" - } - }, - "license": "MIT", - "publishConfig": { - "access": "public" - }, + "packasso": [ + "@packasso/dev-ts", + "@packasso/dev-license", + "@packasso/build-ts-swc", + "@packasso/style-eslint", + "@packasso/style-prettier", + "@packasso/release-zx-semrel" + ], "scripts": { - "clean": "rimraf target node_modules", - "build": "concurrently 'npm:build:*' 'npm:guide:build'", - "start": "concurrently --kill-others --kill-others-on-fail 'npm:guide:start' 'npm:chrome:start'", - "test": "concurrently --kill-others --kill-others-on-fail --success first 'npm:test:start' 'npm:static:start' 'npm:chrome:start'", - "build:es5": "cd src/main && swc ts -d ../../target/es5 --config-file ../../swc.es5.json && cd ../.. && tsc-esm-fix --target=target/es5 --fillBlank", - "build:es6": "cd src/main && swc ts -d ../../target/es6 --config-file ../../swc.es6.json && cd ../.. && tsc-esm-fix --target=target/es6 --fillBlank", - "build:dts": "tsc --project tsconfig.dts.json", - "guide:build": "styleguidist --config styleguide.config.cjs build", - "guide:start": "styleguidist --config styleguide.config.cjs server", - "static:start": "docker run --rm -p 6060:80 -v $(pwd)/target/webapp:/usr/share/nginx/html nginx", - "chrome:start": "docker run --rm -p 6161:3000 --add-host=host.docker.internal:host-gateway browserless/chrome", - "test:start": "wait-on http-get://localhost:6060/ http-get://localhost:6161/ && styleguidist-visual test --config styleguide.visual.config.cjs", - "test:approve": "styleguidist-visual approve --config styleguide.visual.config.cjs", - "format": "eslint --fix src && prettier --loglevel silent --write src", - "lint": "eslint src" + "start:rsg": "styleguidist --config styleguide.config.cjs server", + "build:rsg": "yarn styleguidist --config styleguide.config.cjs build", + "test:rsg": "concurrently --kill-others --kill-others-on-fail --success first 'npm:test:rsg:main' 'npm:test:rsg:nginx' 'npm:test:rsg:chrome'", + "test:rsg:main": "wait-on http-get://localhost:6060/ http-get://localhost:6161/ && styleguidist-visual test --config styleguide.visual.config.cjs", + "test:rsg:nginx": "docker run --rm -p 6060:80 -v $(pwd)/target/webapp:/usr/share/nginx/html nginx", + "test:rsg:chrome": "docker run --rm -p 6161:3000 --add-host=host.docker.internal:host-gateway browserless/chrome", + "test:rsg:approve": "styleguidist-visual approve --config styleguide.visual.config.cjs", + "build": "packasso build", + "lint": "packasso lint", + "format": "packasso format" }, - "files": [ - "target/dts/**/*", - "target/es5/**/*", - "target/es6/**/*" - ], "dependencies": { "@qiwi/pijma-core": "workspace:*" }, "devDependencies": { - "@qiwi/pijma-infra": "workspace:*", - "concurrently": "7.4.0", + "@packasso/build-ts-swc": "0.17.2", + "@packasso/cli": "0.16.1", + "@packasso/dev-license": "0.10.1", + "@packasso/dev-ts": "0.17.1", + "@packasso/release-zx-semrel": "0.16.1", + "@packasso/style-eslint": "0.1.1", + "@packasso/style-prettier": "0.1.1", + "@packasso/test-jest": "0.18.1", + "@swc/cli": "0.1.62", + "@swc/core": "1.3.37", + "@swc/helpers": "0.4.14", + "concurrently": "7.6.0", "css-loader": "6.7.1", - "eslint": "8.23.0", - "eslint-config-qiwi": "1.17.6", - "fast-glob": "3.2.11", + "eslint": "8.35.0", + "eslint-config-qiwi": "2.0.9", + "fast-glob": "3.2.12", "file-loader": "6.2.0", - "prettier": "2.7.1", - "prettier-config-qiwi": "1.7.2", + "globby-cp": "1.1.3", + "prettier": "2.8.4", + "prettier-config-qiwi": "2.0.1", "react-docgen-typescript": "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch", "react-styleguidist": "12.0.0", "react-styleguidist-visual": "patch:react-styleguidist-visual@npm%3A0.9.0#~/.yarn/patches/react-styleguidist-visual-npm-0.9.0-c05bb39789.patch", + "rimraf": "4.2.0", "style-loader": "3.3.1", - "tsc-esm-fix": "2.20.4", - "typescript": "4.8.2", + "swc-loader": "0.2.3", + "tsc-esm-fix": "2.20.12", + "tsconfig-paths-webpack-plugin": "4.0.0", + "typescript": "4.9.5", "wait-on": "6.0.1", - "webpack": "5.74.0" + "webpack": "5.75.0" }, "repository": { "type": "git", @@ -67,5 +64,26 @@ "bugs": { "url": "https://github.com/qiwi/pijma/issues" }, - "homepage": "https://github.com/qiwi/pijma/#readme" + "homepage": "https://github.com/qiwi/pijma/#readme", + "license": "MIT", + "type": "module", + "main": "./target/cjs/index.cjs", + "module": "./target/esm/index.mjs", + "types": "./target/dts/index.d.ts", + "exports": { + ".": { + "require": "./target/cjs/index.cjs", + "import": "./target/esm/index.mjs", + "types": "./target/dts/index.d.ts" + }, + "./package.json": "./package.json" + }, + "files": [ + "target/cjs/**/*", + "target/esm/**/*", + "target/dts/**/*" + ], + "publishConfig": { + "access": "public" + } } diff --git a/packages/desktop/src/main/ts/actions/Actions.tsx b/packages/desktop/src/main/ts/actions/Actions.tsx index 628b3bc33..3ed415f0a 100644 --- a/packages/desktop/src/main/ts/actions/Actions.tsx +++ b/packages/desktop/src/main/ts/actions/Actions.tsx @@ -1,6 +1,7 @@ -import { Box, Flex, getDataProps } from '@qiwi/pijma-core' import React, { Children, FC, ReactNode } from 'react' +import { Box, Flex, getDataProps } from '@qiwi/pijma-core' + export interface ActionsProps { size: 'accent' | 'normal' | 'minor' vertical?: boolean diff --git a/packages/desktop/src/main/ts/alert-block/AlertBlock.tsx b/packages/desktop/src/main/ts/alert-block/AlertBlock.tsx index 67df43920..7fbd6a268 100644 --- a/packages/desktop/src/main/ts/alert-block/AlertBlock.tsx +++ b/packages/desktop/src/main/ts/alert-block/AlertBlock.tsx @@ -1,3 +1,5 @@ +import React, { FC, isValidElement, ReactNode } from 'react' + import { AlertBlockControl, Block, @@ -10,7 +12,6 @@ import { IconProps, Pos, } from '@qiwi/pijma-core' -import React, { FC, isValidElement, ReactNode } from 'react' import { Paragraph } from '../typography' diff --git a/packages/desktop/src/main/ts/alert/Alert.tsx b/packages/desktop/src/main/ts/alert/Alert.tsx index 605e1566f..0e1f2b9cf 100644 --- a/packages/desktop/src/main/ts/alert/Alert.tsx +++ b/packages/desktop/src/main/ts/alert/Alert.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { AlertControl, Box, @@ -7,7 +9,6 @@ import { Icon, IconProps, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { Link } from '../link' import { Paragraph } from '../typography' diff --git a/packages/desktop/src/main/ts/annotation/Annotation.tsx b/packages/desktop/src/main/ts/annotation/Annotation.tsx index e935cdb49..dcc430fad 100644 --- a/packages/desktop/src/main/ts/annotation/Annotation.tsx +++ b/packages/desktop/src/main/ts/annotation/Annotation.tsx @@ -1,6 +1,7 @@ -import { Card, getDataProps } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Card, getDataProps } from '@qiwi/pijma-core' + export interface AnnotationProps { children?: ReactNode } diff --git a/packages/desktop/src/main/ts/block-accordion/BlockAccordion.tsx b/packages/desktop/src/main/ts/block-accordion/BlockAccordion.tsx index 9f2926822..cec5792e9 100644 --- a/packages/desktop/src/main/ts/block-accordion/BlockAccordion.tsx +++ b/packages/desktop/src/main/ts/block-accordion/BlockAccordion.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { AccordionControl, Box, @@ -7,7 +9,6 @@ import { getDataProps, Icon, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' import { Paragraph } from '../typography' diff --git a/packages/desktop/src/main/ts/block-content/BlockContent.tsx b/packages/desktop/src/main/ts/block-content/BlockContent.tsx index 7ec38170b..0738680e8 100644 --- a/packages/desktop/src/main/ts/block-content/BlockContent.tsx +++ b/packages/desktop/src/main/ts/block-content/BlockContent.tsx @@ -1,6 +1,7 @@ -import { Box, getDataProps } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Box, getDataProps } from '@qiwi/pijma-core' + export interface BlockContentProps { indent?: 's' | 'm' | 'l' children?: ReactNode diff --git a/packages/desktop/src/main/ts/block-tabs/BlockTabs.tsx b/packages/desktop/src/main/ts/block-tabs/BlockTabs.tsx index 424133dba..5537babb1 100644 --- a/packages/desktop/src/main/ts/block-tabs/BlockTabs.tsx +++ b/packages/desktop/src/main/ts/block-tabs/BlockTabs.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Card, Flex, @@ -11,7 +13,6 @@ import { TabsControl, Value, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' import { Paragraph } from '../typography' diff --git a/packages/desktop/src/main/ts/breadcrumbs/Breadcrumbs.tsx b/packages/desktop/src/main/ts/breadcrumbs/Breadcrumbs.tsx index 00eaa7581..9c8a629c8 100644 --- a/packages/desktop/src/main/ts/breadcrumbs/Breadcrumbs.tsx +++ b/packages/desktop/src/main/ts/breadcrumbs/Breadcrumbs.tsx @@ -1,6 +1,7 @@ -import { Box, getDataProps } from '@qiwi/pijma-core' import React, { FC, Fragment } from 'react' +import { Box, getDataProps } from '@qiwi/pijma-core' + import { NavLink, NavLinkProps } from '../nav-link' import { Paragraph } from '../typography' diff --git a/packages/desktop/src/main/ts/button/Button.tsx b/packages/desktop/src/main/ts/button/Button.tsx index ea9f2a769..e03ce9e70 100644 --- a/packages/desktop/src/main/ts/button/Button.tsx +++ b/packages/desktop/src/main/ts/button/Button.tsx @@ -1,3 +1,5 @@ +import React, { cloneElement, FC, Fragment, ReactElement } from 'react' + import { Btn, ButtonControl, @@ -11,7 +13,6 @@ import { Typo, useTheme, } from '@qiwi/pijma-core' -import React, { cloneElement, FC, Fragment, ReactElement } from 'react' export interface ButtonProps { onClick?: () => void diff --git a/packages/desktop/src/main/ts/checkbox-field/CheckboxField.tsx b/packages/desktop/src/main/ts/checkbox-field/CheckboxField.tsx index bbe32283e..6c1d653db 100644 --- a/packages/desktop/src/main/ts/checkbox-field/CheckboxField.tsx +++ b/packages/desktop/src/main/ts/checkbox-field/CheckboxField.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { Box, Check, @@ -10,7 +12,6 @@ import { Spacer, Stub, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { CheckboxFieldOptionModel } from './CheckboxFieldOptionModel' import { CheckboxFieldProps } from './CheckboxFieldProps' diff --git a/packages/desktop/src/main/ts/checkbox-field/CheckboxFieldOptionModel.ts b/packages/desktop/src/main/ts/checkbox-field/CheckboxFieldOptionModel.ts index 10f220094..313051277 100644 --- a/packages/desktop/src/main/ts/checkbox-field/CheckboxFieldOptionModel.ts +++ b/packages/desktop/src/main/ts/checkbox-field/CheckboxFieldOptionModel.ts @@ -1,6 +1,7 @@ -import { OptionModel } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { OptionModel } from '@qiwi/pijma-core' + export interface CheckboxFieldOptionModel extends OptionModel { label: ReactNode description?: ReactNode diff --git a/packages/desktop/src/main/ts/checkbox-field/CheckboxFieldProps.ts b/packages/desktop/src/main/ts/checkbox-field/CheckboxFieldProps.ts index 9b2ca8b1f..887345060 100644 --- a/packages/desktop/src/main/ts/checkbox-field/CheckboxFieldProps.ts +++ b/packages/desktop/src/main/ts/checkbox-field/CheckboxFieldProps.ts @@ -1,6 +1,7 @@ -import { OptionModel } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { OptionModel } from '@qiwi/pijma-core' + export interface CheckboxFieldProps, V> { title?: ReactNode hint?: ReactNode diff --git a/packages/desktop/src/main/ts/checkbox/Checkbox.tsx b/packages/desktop/src/main/ts/checkbox/Checkbox.tsx index a4c60bd39..20a483729 100644 --- a/packages/desktop/src/main/ts/checkbox/Checkbox.tsx +++ b/packages/desktop/src/main/ts/checkbox/Checkbox.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { Box, Check, @@ -6,7 +8,6 @@ import { OptionFieldItem, SwitchControl, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { CheckboxProps } from './CheckboxProps' diff --git a/packages/desktop/src/main/ts/code-field/CodeField.tsx b/packages/desktop/src/main/ts/code-field/CodeField.tsx index 431f0cb1f..3bbed70f1 100644 --- a/packages/desktop/src/main/ts/code-field/CodeField.tsx +++ b/packages/desktop/src/main/ts/code-field/CodeField.tsx @@ -1,3 +1,5 @@ +import React, { FC, Fragment } from 'react' + import { Box, CodeFieldControl, @@ -9,7 +11,6 @@ import { Stub, Typo, } from '@qiwi/pijma-core' -import React, { FC, Fragment } from 'react' import { CodeFieldProps } from './CodeFieldProps' diff --git a/packages/desktop/src/main/ts/content-suggest/ContentSuggest.tsx b/packages/desktop/src/main/ts/content-suggest/ContentSuggest.tsx index 8c0646283..b8c835726 100644 --- a/packages/desktop/src/main/ts/content-suggest/ContentSuggest.tsx +++ b/packages/desktop/src/main/ts/content-suggest/ContentSuggest.tsx @@ -1,3 +1,5 @@ +import React, { Fragment } from 'react' + import { Box, Card, @@ -12,7 +14,6 @@ import { styled, SuggestControl, } from '@qiwi/pijma-core' -import React, { Fragment } from 'react' import { DropDown } from '../drop-down' import { Link } from '../link' diff --git a/packages/desktop/src/main/ts/details/Details.tsx b/packages/desktop/src/main/ts/details/Details.tsx index a83327e5d..f6ecfc209 100644 --- a/packages/desktop/src/main/ts/details/Details.tsx +++ b/packages/desktop/src/main/ts/details/Details.tsx @@ -1,6 +1,7 @@ -import { Box, getDataProps, Pos, Value } from '@qiwi/pijma-core' import React, { FC, ReactElement } from 'react' +import { Box, getDataProps, Pos, Value } from '@qiwi/pijma-core' + import { Text } from '../typography' type DetailsText = ReactElement | string diff --git a/packages/desktop/src/main/ts/drop-down/DropDown.tsx b/packages/desktop/src/main/ts/drop-down/DropDown.tsx index bf63e3298..c9a455fc7 100644 --- a/packages/desktop/src/main/ts/drop-down/DropDown.tsx +++ b/packages/desktop/src/main/ts/drop-down/DropDown.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactElement } from 'react' + import { Box, css, @@ -8,7 +10,6 @@ import { SimpleTransition, Value, } from '@qiwi/pijma-core' -import React, { FC, ReactElement } from 'react' export interface DropDownProps { show: boolean diff --git a/packages/desktop/src/main/ts/extended-progress-bar/ExtendedProgressBar.md b/packages/desktop/src/main/ts/extended-progress-bar/ExtendedProgressBar.md index a1df57df0..282121ac5 100644 --- a/packages/desktop/src/main/ts/extended-progress-bar/ExtendedProgressBar.md +++ b/packages/desktop/src/main/ts/extended-progress-bar/ExtendedProgressBar.md @@ -18,7 +18,7 @@ MaxValue = 0 - + Stub @@ -36,11 +36,7 @@ Disabled with titles - + MaxValue = 0 with titles diff --git a/packages/desktop/src/main/ts/extended-progress-bar/ExtendedProgressBar.tsx b/packages/desktop/src/main/ts/extended-progress-bar/ExtendedProgressBar.tsx index 7e9ec79dd..383e03862 100644 --- a/packages/desktop/src/main/ts/extended-progress-bar/ExtendedProgressBar.tsx +++ b/packages/desktop/src/main/ts/extended-progress-bar/ExtendedProgressBar.tsx @@ -1,8 +1,8 @@ -import { Card, Flex, FlexItem, Spacer, Stub } from '@qiwi/pijma-core' import React, { FC } from 'react' -import { Paragraph, Text } from '../typography' +import { Card, Flex, FlexItem, Spacer, Stub } from '@qiwi/pijma-core' +import { Paragraph, Text } from '../typography' export interface ExtendedProgressBarProps { value: number @@ -11,7 +11,7 @@ export interface ExtendedProgressBarProps { titleEnd?: string stub?: boolean disabled?: boolean - formatValue?: (value: number) => string + formatValue?: (value: number) => string } export const ExtendedProgressBar: FC = ({ @@ -21,73 +21,71 @@ export const ExtendedProgressBar: FC = ({ titleEnd, stub = false, disabled = false, - formatValue = v => v, + formatValue = (v) => v, }) => ( = maxValue ? 1 : value / maxValue} + width={ + stub || disabled || maxValue === 0 || value >= maxValue + ? 1 + : value / maxValue + } minWidth={2} transition="width 300ms cubic-bezier(0.4, 0.0, 0.2, 1)" - children={stub ? ( - - ) : ( - - )} + children={ + stub ? ( + + ) : ( + + ) + } /> {!stub && !disabled && value < maxValue ? ( - + - ) : ( - null - )} + ) : null} {titleStart || titleEnd ? ( {stub && titleStart ? ( - + ) : titleStart ? ( - {titleStart}{value !== undefined ? ': ' : ''} + + {titleStart} + {value !== undefined ? ': ' : ''} + {value !== undefined ? ( - - ) : ( - null - )} + + ) : null} - ) : ( - null - )} + ) : null} {stub && titleEnd ? ( - + ) : titleEnd ? ( - {titleEnd}{value !== undefined && maxValue !== undefined ? ': ' : ''} + {titleEnd} + {value !== undefined && maxValue !== undefined ? ': ' : ''} {value !== undefined && maxValue !== undefined ? ( - - ) : ( - null - )} + + ) : null} - ): ( - null - )} + ) : null} - ) : ( - null - )} + ) : null} ) diff --git a/packages/desktop/src/main/ts/footer-app/FooterApp.tsx b/packages/desktop/src/main/ts/footer-app/FooterApp.tsx index 31f91ad25..187813be7 100644 --- a/packages/desktop/src/main/ts/footer-app/FooterApp.tsx +++ b/packages/desktop/src/main/ts/footer-app/FooterApp.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactElement } from 'react' + import { BoxLnk, Flex, @@ -6,7 +8,6 @@ import { LinkControl, Stub, } from '@qiwi/pijma-core' -import React, { FC, ReactElement } from 'react' interface FooterAppLinkProps { href: string diff --git a/packages/desktop/src/main/ts/footer-nav/FooterNav.tsx b/packages/desktop/src/main/ts/footer-nav/FooterNav.tsx index 75b3cfaab..efb2a07b8 100644 --- a/packages/desktop/src/main/ts/footer-nav/FooterNav.tsx +++ b/packages/desktop/src/main/ts/footer-nav/FooterNav.tsx @@ -1,6 +1,7 @@ -import { Box, Flex, FlexItem, getDataProps } from '@qiwi/pijma-core' import React, { FC } from 'react' +import { Box, Flex, FlexItem, getDataProps } from '@qiwi/pijma-core' + import { NavLink, NavLinkProps } from '../nav-link' export interface FooterNavProps { diff --git a/packages/desktop/src/main/ts/footer-out/FooterOut.tsx b/packages/desktop/src/main/ts/footer-out/FooterOut.tsx index 94079d65f..f68c8f1ca 100644 --- a/packages/desktop/src/main/ts/footer-out/FooterOut.tsx +++ b/packages/desktop/src/main/ts/footer-out/FooterOut.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { Box, Card, @@ -10,7 +12,6 @@ import { LinkControl, Stub, } from '@qiwi/pijma-core' -import React, { FC } from 'react' interface FooterOutLinkProps { href: string diff --git a/packages/desktop/src/main/ts/glossary/Glossary.tsx b/packages/desktop/src/main/ts/glossary/Glossary.tsx index 54213f443..5d2884a19 100644 --- a/packages/desktop/src/main/ts/glossary/Glossary.tsx +++ b/packages/desktop/src/main/ts/glossary/Glossary.tsx @@ -1,6 +1,7 @@ -import { Box, getDataProps, Spacer } from '@qiwi/pijma-core' import React, { FC, ReactElement } from 'react' +import { Box, getDataProps, Spacer } from '@qiwi/pijma-core' + import { Text } from '../typography' type GlossaryText = ReactElement | string diff --git a/packages/desktop/src/main/ts/header-bank-card-link/HeaderBankCardLink.tsx b/packages/desktop/src/main/ts/header-bank-card-link/HeaderBankCardLink.tsx index c8c5ea51f..35a14b06d 100644 --- a/packages/desktop/src/main/ts/header-bank-card-link/HeaderBankCardLink.tsx +++ b/packages/desktop/src/main/ts/header-bank-card-link/HeaderBankCardLink.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { BoxLnk, Card, @@ -6,7 +8,6 @@ import { LinkControl, LinkControlProps, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { Text } from '../typography' diff --git a/packages/desktop/src/main/ts/header-drop-down/HeaderDropDown.tsx b/packages/desktop/src/main/ts/header-drop-down/HeaderDropDown.tsx index 54a573d8b..2d52c520a 100644 --- a/packages/desktop/src/main/ts/header-drop-down/HeaderDropDown.tsx +++ b/packages/desktop/src/main/ts/header-drop-down/HeaderDropDown.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactElement } from 'react' + import { Card, css, @@ -8,7 +10,6 @@ import { Pos, SimpleTransition, } from '@qiwi/pijma-core' -import React, { FC, ReactElement } from 'react' export interface HeaderDropDownProps { show: boolean diff --git a/packages/desktop/src/main/ts/header-menu/HeaderMenu.tsx b/packages/desktop/src/main/ts/header-menu/HeaderMenu.tsx index 228d1e39b..f5519e435 100644 --- a/packages/desktop/src/main/ts/header-menu/HeaderMenu.tsx +++ b/packages/desktop/src/main/ts/header-menu/HeaderMenu.tsx @@ -1,6 +1,7 @@ -import { Flex, FlexItem, getDataProps } from '@qiwi/pijma-core' import React, { FC } from 'react' +import { Flex, FlexItem, getDataProps } from '@qiwi/pijma-core' + import { Link } from '../link' import { HeaderMenuItem, HeaderMenuItemProps } from './HeaderMenuItem' diff --git a/packages/desktop/src/main/ts/header-menu/HeaderMenuItem.tsx b/packages/desktop/src/main/ts/header-menu/HeaderMenuItem.tsx index 5a52f1a69..d5e487e14 100644 --- a/packages/desktop/src/main/ts/header-menu/HeaderMenuItem.tsx +++ b/packages/desktop/src/main/ts/header-menu/HeaderMenuItem.tsx @@ -1,3 +1,5 @@ +import React, { forwardRef } from 'react' + import { Card, Flex, @@ -7,7 +9,6 @@ import { PosLnk, Typo, } from '@qiwi/pijma-core' -import React, { forwardRef } from 'react' import { Text } from '../typography' diff --git a/packages/desktop/src/main/ts/header-suggest/HeaderSuggest.tsx b/packages/desktop/src/main/ts/header-suggest/HeaderSuggest.tsx index bf675be61..51ae63439 100644 --- a/packages/desktop/src/main/ts/header-suggest/HeaderSuggest.tsx +++ b/packages/desktop/src/main/ts/header-suggest/HeaderSuggest.tsx @@ -1,3 +1,5 @@ +import React, { Fragment, isValidElement } from 'react' + import { Box, Card, @@ -16,7 +18,6 @@ import { styled, SuggestControl, } from '@qiwi/pijma-core' -import React, { Fragment, isValidElement } from 'react' import { Link } from '../link' import { Markdown } from '../markdown' @@ -109,7 +110,7 @@ export const HeaderSuggest = ({ diff --git a/packages/desktop/src/main/ts/header-suggest/HeaderSuggestProps.ts b/packages/desktop/src/main/ts/header-suggest/HeaderSuggestProps.ts index c801a606c..7d0d8dffc 100644 --- a/packages/desktop/src/main/ts/header-suggest/HeaderSuggestProps.ts +++ b/packages/desktop/src/main/ts/header-suggest/HeaderSuggestProps.ts @@ -1,6 +1,7 @@ -import { SuggestControlProps } from '@qiwi/pijma-core' import { ReactElement, RefObject } from 'react' +import { SuggestControlProps } from '@qiwi/pijma-core' + import { HeaderSuggestOptionModel } from './HeaderSuggestOptionModel' export interface HeaderSuggestProps, V> { diff --git a/packages/desktop/src/main/ts/header/Header.tsx b/packages/desktop/src/main/ts/header/Header.tsx index df637bd37..00b109a0b 100644 --- a/packages/desktop/src/main/ts/header/Header.tsx +++ b/packages/desktop/src/main/ts/header/Header.tsx @@ -1,6 +1,7 @@ -import { Card, getDataProps } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Card, getDataProps } from '@qiwi/pijma-core' + export interface HeaderProps { underline?: boolean children?: ReactNode diff --git a/packages/desktop/src/main/ts/hint/Hint.tsx b/packages/desktop/src/main/ts/hint/Hint.tsx index 3e2bdd952..2e3900368 100644 --- a/packages/desktop/src/main/ts/hint/Hint.tsx +++ b/packages/desktop/src/main/ts/hint/Hint.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Box, BoxProps, @@ -13,7 +15,6 @@ import { QuestionIcon, SimpleTransition, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' import { Paragraph } from '../typography' diff --git a/packages/desktop/src/main/ts/link/BlockLink.tsx b/packages/desktop/src/main/ts/link/BlockLink.tsx index b1e949acb..b5e777840 100644 --- a/packages/desktop/src/main/ts/link/BlockLink.tsx +++ b/packages/desktop/src/main/ts/link/BlockLink.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { Block, CardLnk, @@ -6,7 +8,6 @@ import { LinkControlProps, styled, } from '@qiwi/pijma-core' -import React, { FC } from 'react' export interface BlockLinkProps { tabIndex?: number diff --git a/packages/desktop/src/main/ts/link/FileLink.tsx b/packages/desktop/src/main/ts/link/FileLink.tsx index e670c8f0b..871987780 100644 --- a/packages/desktop/src/main/ts/link/FileLink.tsx +++ b/packages/desktop/src/main/ts/link/FileLink.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { FlexItem, FlexLnk, @@ -5,7 +7,6 @@ import { Icon, LinkControl, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' import { Text } from '../typography' diff --git a/packages/desktop/src/main/ts/link/Link.tsx b/packages/desktop/src/main/ts/link/Link.tsx index beffa28c4..95ccb88d5 100644 --- a/packages/desktop/src/main/ts/link/Link.tsx +++ b/packages/desktop/src/main/ts/link/Link.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { getDataProps, LinkControl, @@ -5,7 +7,6 @@ import { TypoLnk, useTheme, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' export interface LinkProps { onClick?: ( diff --git a/packages/desktop/src/main/ts/link/SectionLink.tsx b/packages/desktop/src/main/ts/link/SectionLink.tsx index fbd143b87..51dfa7d18 100644 --- a/packages/desktop/src/main/ts/link/SectionLink.tsx +++ b/packages/desktop/src/main/ts/link/SectionLink.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { getDataProps, LinkControl, @@ -6,7 +8,6 @@ import { Section, styled, } from '@qiwi/pijma-core' -import React, { FC } from 'react' export interface SectionLinkProps { tabIndex?: number diff --git a/packages/desktop/src/main/ts/list/List.tsx b/packages/desktop/src/main/ts/list/List.tsx index b8d419bb1..9abc1db89 100644 --- a/packages/desktop/src/main/ts/list/List.tsx +++ b/packages/desktop/src/main/ts/list/List.tsx @@ -1,6 +1,7 @@ -import { Box, Card, Flex, FlexItem, getDataProps, Stub } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Box, Card, Flex, FlexItem, getDataProps, Stub } from '@qiwi/pijma-core' + import { Paragraph, Text } from '../typography' export interface ListProps { diff --git a/packages/desktop/src/main/ts/logo-block-link/LogoBlockLink.tsx b/packages/desktop/src/main/ts/logo-block-link/LogoBlockLink.tsx index 136c5d16f..fde69034f 100644 --- a/packages/desktop/src/main/ts/logo-block-link/LogoBlockLink.tsx +++ b/packages/desktop/src/main/ts/logo-block-link/LogoBlockLink.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactElement, ReactNode } from 'react' + import { Block, Box, @@ -11,7 +13,6 @@ import { Spacer, Stub, } from '@qiwi/pijma-core' -import React, { FC, ReactElement, ReactNode } from 'react' import { BlockLink } from '../link' import { Paragraph, Text } from '../typography' diff --git a/packages/desktop/src/main/ts/logo-link/LogoLink.tsx b/packages/desktop/src/main/ts/logo-link/LogoLink.tsx index 401405718..411b7c3f2 100644 --- a/packages/desktop/src/main/ts/logo-link/LogoLink.tsx +++ b/packages/desktop/src/main/ts/logo-link/LogoLink.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Box, Flex, @@ -7,7 +9,6 @@ import { LinkControlProps, Spacer, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' import { SectionLink } from '../link' import { Paragraph } from '../typography' diff --git a/packages/desktop/src/main/ts/markdown/Markdown.tsx b/packages/desktop/src/main/ts/markdown/Markdown.tsx index 0aaabac1e..b85b0d9dc 100644 --- a/packages/desktop/src/main/ts/markdown/Markdown.tsx +++ b/packages/desktop/src/main/ts/markdown/Markdown.tsx @@ -1,6 +1,7 @@ -import { Box, Image, MarkdownToJSX, styled } from '@qiwi/pijma-core' import React, { Children, FC, Fragment, ReactNode } from 'react' +import { Box, Image, MarkdownToJSX, styled } from '@qiwi/pijma-core' + import { Link } from '../link' import { List } from '../list' import { Heading, Paragraph, Text } from '../typography' @@ -171,19 +172,16 @@ export const Markdown: FC = ({ size = 'm', children }) => ( ({ - ...prev, - ...{ - [tag]: { - component: overrides[tag], - props: { - size, - }, + overrides: Object.fromEntries( + Object.keys(overrides).map((tag) => [ + tag, + { + component: overrides[tag], + props: { + size, }, }, - }), - {}, + ]), ), }} /> diff --git a/packages/desktop/src/main/ts/menu/MenuItem.tsx b/packages/desktop/src/main/ts/menu/MenuItem.tsx index 1f99a528f..edbb9253a 100644 --- a/packages/desktop/src/main/ts/menu/MenuItem.tsx +++ b/packages/desktop/src/main/ts/menu/MenuItem.tsx @@ -1,3 +1,5 @@ +import React, { forwardRef, ReactNode } from 'react' + import { Box, Flex, @@ -9,7 +11,6 @@ import { Section, Stub, } from '@qiwi/pijma-core' -import React, { forwardRef, ReactNode } from 'react' import { Paragraph, Text } from '../typography' diff --git a/packages/desktop/src/main/ts/menu/MenuLink.tsx b/packages/desktop/src/main/ts/menu/MenuLink.tsx index 411123de5..89c841564 100644 --- a/packages/desktop/src/main/ts/menu/MenuLink.tsx +++ b/packages/desktop/src/main/ts/menu/MenuLink.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { getDataProps, LinkControl, @@ -5,7 +7,6 @@ import { Lnk, styled, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' import { MenuItem } from '../menu' diff --git a/packages/desktop/src/main/ts/modal/SimpleModal.tsx b/packages/desktop/src/main/ts/modal/SimpleModal.tsx index 5cc815aae..67d35d398 100644 --- a/packages/desktop/src/main/ts/modal/SimpleModal.tsx +++ b/packages/desktop/src/main/ts/modal/SimpleModal.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Box, Card, @@ -9,7 +11,6 @@ import { Pos, SimpleTransition, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' const ContentTransition: ModalProps['transition'] = (props) => ( extends OptionModel { label: ReactNode description?: ReactNode diff --git a/packages/desktop/src/main/ts/radio-field/RadioFieldProps.ts b/packages/desktop/src/main/ts/radio-field/RadioFieldProps.ts index 4a0f57d6d..1fcfc349a 100644 --- a/packages/desktop/src/main/ts/radio-field/RadioFieldProps.ts +++ b/packages/desktop/src/main/ts/radio-field/RadioFieldProps.ts @@ -1,6 +1,7 @@ -import { OptionModel } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { OptionModel } from '@qiwi/pijma-core' + export interface RadioFieldProps, V> { title?: ReactNode hint?: ReactNode diff --git a/packages/desktop/src/main/ts/rating/Rating.tsx b/packages/desktop/src/main/ts/rating/Rating.tsx index a4dbd686f..e1631b62a 100644 --- a/packages/desktop/src/main/ts/rating/Rating.tsx +++ b/packages/desktop/src/main/ts/rating/Rating.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { Flex, FlexItem, @@ -6,7 +8,6 @@ import { RatingControl, Stub, } from '@qiwi/pijma-core' -import React, { FC } from 'react' export interface RatingProps { value?: number diff --git a/packages/desktop/src/main/ts/select-field/SelectField.tsx b/packages/desktop/src/main/ts/select-field/SelectField.tsx index 9c5fdffb5..59bd82789 100644 --- a/packages/desktop/src/main/ts/select-field/SelectField.tsx +++ b/packages/desktop/src/main/ts/select-field/SelectField.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Box, Card, @@ -16,7 +18,6 @@ import { SimpleTransition, styled, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' import { MenuItem } from '../menu' diff --git a/packages/desktop/src/main/ts/status/Status.tsx b/packages/desktop/src/main/ts/status/Status.tsx index 940bb1e67..f005fa7e2 100644 --- a/packages/desktop/src/main/ts/status/Status.tsx +++ b/packages/desktop/src/main/ts/status/Status.tsx @@ -1,6 +1,7 @@ -import { Flex, FlexItem, getDataProps } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Flex, FlexItem, getDataProps } from '@qiwi/pijma-core' + import { Heading, Paragraph } from '../typography/' export interface StatusProps { diff --git a/packages/desktop/src/main/ts/suggest-field/SuggestField.tsx b/packages/desktop/src/main/ts/suggest-field/SuggestField.tsx index 344bb74cc..ec981fc40 100644 --- a/packages/desktop/src/main/ts/suggest-field/SuggestField.tsx +++ b/packages/desktop/src/main/ts/suggest-field/SuggestField.tsx @@ -1,3 +1,5 @@ +import React, { Fragment } from 'react' + import { BasicInput, Box, @@ -12,7 +14,6 @@ import { styled, SuggestControl, } from '@qiwi/pijma-core' -import React, { Fragment } from 'react' import { DropDown } from '../drop-down' import { Link } from '../link' diff --git a/packages/desktop/src/main/ts/suggest-field/SuggestFieldOptionModel.ts b/packages/desktop/src/main/ts/suggest-field/SuggestFieldOptionModel.ts index 619a19993..db4f844b3 100644 --- a/packages/desktop/src/main/ts/suggest-field/SuggestFieldOptionModel.ts +++ b/packages/desktop/src/main/ts/suggest-field/SuggestFieldOptionModel.ts @@ -1,6 +1,7 @@ -import { SuggestOptionModel } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { SuggestOptionModel } from '@qiwi/pijma-core' + export interface SuggestFieldOptionModel extends SuggestOptionModel { title: string logo: string diff --git a/packages/desktop/src/main/ts/suggest-field/SuggestFieldProps.ts b/packages/desktop/src/main/ts/suggest-field/SuggestFieldProps.ts index 56a2ed563..874ec9572 100644 --- a/packages/desktop/src/main/ts/suggest-field/SuggestFieldProps.ts +++ b/packages/desktop/src/main/ts/suggest-field/SuggestFieldProps.ts @@ -1,6 +1,7 @@ -import { SuggestControlProps } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { SuggestControlProps } from '@qiwi/pijma-core' + import { SuggestFieldOptionModel } from './SuggestFieldOptionModel' export interface SuggestFieldProps, V> { diff --git a/packages/desktop/src/main/ts/switch-field/SwitchField.tsx b/packages/desktop/src/main/ts/switch-field/SwitchField.tsx index 45e22181e..e7d4cf133 100644 --- a/packages/desktop/src/main/ts/switch-field/SwitchField.tsx +++ b/packages/desktop/src/main/ts/switch-field/SwitchField.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { Box, CheckboxControl, @@ -11,7 +13,6 @@ import { Stub, Tumbler, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { SwitchFieldOptionModel } from './SwitchFieldOptionModel' import { SwitchFieldProps } from './SwitchFieldProps' diff --git a/packages/desktop/src/main/ts/switch-field/SwitchFieldOptionModel.ts b/packages/desktop/src/main/ts/switch-field/SwitchFieldOptionModel.ts index 9fa98fc57..34dbd17a4 100644 --- a/packages/desktop/src/main/ts/switch-field/SwitchFieldOptionModel.ts +++ b/packages/desktop/src/main/ts/switch-field/SwitchFieldOptionModel.ts @@ -1,6 +1,7 @@ -import { OptionModel } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { OptionModel } from '@qiwi/pijma-core' + export interface SwitchFieldOptionModel extends OptionModel { label: ReactNode description?: ReactNode diff --git a/packages/desktop/src/main/ts/switch-field/SwitchFieldProps.ts b/packages/desktop/src/main/ts/switch-field/SwitchFieldProps.ts index ce4d8f127..41c0d6a15 100644 --- a/packages/desktop/src/main/ts/switch-field/SwitchFieldProps.ts +++ b/packages/desktop/src/main/ts/switch-field/SwitchFieldProps.ts @@ -1,6 +1,7 @@ -import { OptionModel } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { OptionModel } from '@qiwi/pijma-core' + export interface SwitchFieldProps, V> { title?: ReactNode hint?: ReactNode diff --git a/packages/desktop/src/main/ts/switch/Switch.tsx b/packages/desktop/src/main/ts/switch/Switch.tsx index 21e6e4876..373c4ec12 100644 --- a/packages/desktop/src/main/ts/switch/Switch.tsx +++ b/packages/desktop/src/main/ts/switch/Switch.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { Box, Flex, @@ -9,7 +11,6 @@ import { SwitchControl, Tumbler, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { SwitchProps } from './SwitchProps' diff --git a/packages/desktop/src/main/ts/tabs/Tabs.tsx b/packages/desktop/src/main/ts/tabs/Tabs.tsx index a0a3db1d4..53e37b7fb 100644 --- a/packages/desktop/src/main/ts/tabs/Tabs.tsx +++ b/packages/desktop/src/main/ts/tabs/Tabs.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Flex, FlexItem, @@ -8,7 +10,6 @@ import { TabHeader, TabsControl, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' import { Paragraph } from '../typography' diff --git a/packages/desktop/src/main/ts/text-area-field/TextAreaField.tsx b/packages/desktop/src/main/ts/text-area-field/TextAreaField.tsx index cdf3ef801..c7d1acb9e 100644 --- a/packages/desktop/src/main/ts/text-area-field/TextAreaField.tsx +++ b/packages/desktop/src/main/ts/text-area-field/TextAreaField.tsx @@ -1,10 +1,11 @@ +import React, { FC, KeyboardEvent, ReactNode } from 'react' + import { BasicTextArea, getDataProps, InputField, TextAreaFieldControl, } from '@qiwi/pijma-core' -import React, { FC, KeyboardEvent, ReactNode } from 'react' export interface TextAreaFieldProps { value: string diff --git a/packages/desktop/src/main/ts/text-field/TextField.tsx b/packages/desktop/src/main/ts/text-field/TextField.tsx index 6a204808c..6d38aff5c 100644 --- a/packages/desktop/src/main/ts/text-field/TextField.tsx +++ b/packages/desktop/src/main/ts/text-field/TextField.tsx @@ -1,10 +1,11 @@ +import React, { FC } from 'react' + import { BasicInput, getDataProps, InputField, TextFieldControl, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { TextFieldProps } from './TextFieldProps' diff --git a/packages/desktop/src/main/ts/text-field/TextFieldProps.ts b/packages/desktop/src/main/ts/text-field/TextFieldProps.ts index c176f7aae..fa87f83c0 100644 --- a/packages/desktop/src/main/ts/text-field/TextFieldProps.ts +++ b/packages/desktop/src/main/ts/text-field/TextFieldProps.ts @@ -1,6 +1,7 @@ -import { BasicInputProps, Mask, Pipe } from '@qiwi/pijma-core' import { KeyboardEvent, ReactNode, Ref } from 'react' +import { BasicInputProps, Mask, Pipe } from '@qiwi/pijma-core' + export interface TextFieldProps { value: string tabIndex?: number diff --git a/packages/desktop/src/main/ts/typography/Caption.tsx b/packages/desktop/src/main/ts/typography/Caption.tsx index 53303335b..741b693d8 100644 --- a/packages/desktop/src/main/ts/typography/Caption.tsx +++ b/packages/desktop/src/main/ts/typography/Caption.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Box, Breaker, @@ -6,7 +8,6 @@ import { Typo, TypoProps, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' export interface CaptionProps { color?: 'default' | 'support' | 'inverse' diff --git a/packages/desktop/src/main/ts/typography/Heading.tsx b/packages/desktop/src/main/ts/typography/Heading.tsx index 502937d08..6b122a5cf 100644 --- a/packages/desktop/src/main/ts/typography/Heading.tsx +++ b/packages/desktop/src/main/ts/typography/Heading.tsx @@ -1,3 +1,5 @@ +import React, { FC, Fragment, ReactNode } from 'react' + import { Box, Breaker, @@ -6,7 +8,6 @@ import { Typo, TypoProps, } from '@qiwi/pijma-core' -import React, { FC, Fragment, ReactNode } from 'react' export interface HeadingProps { tag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' diff --git a/packages/desktop/src/main/ts/typography/Paragraph.tsx b/packages/desktop/src/main/ts/typography/Paragraph.tsx index 6bac7bc37..ed9923bdf 100644 --- a/packages/desktop/src/main/ts/typography/Paragraph.tsx +++ b/packages/desktop/src/main/ts/typography/Paragraph.tsx @@ -1,3 +1,5 @@ +import React, { FC, Fragment, ReactNode } from 'react' + import { Box, Breaker, @@ -6,7 +8,6 @@ import { Typo, TypoProps, } from '@qiwi/pijma-core' -import React, { FC, Fragment, ReactNode } from 'react' export interface ParagraphProps { size?: 's' | 'm' | 'l' diff --git a/packages/desktop/src/main/ts/typography/Text.tsx b/packages/desktop/src/main/ts/typography/Text.tsx index 015b66981..f5376c270 100644 --- a/packages/desktop/src/main/ts/typography/Text.tsx +++ b/packages/desktop/src/main/ts/typography/Text.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Box, Breaker, @@ -6,7 +8,6 @@ import { Typo, TypoProps, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' export interface TextProps { display?: 'block' | 'inline' | 'inline-block' diff --git a/packages/desktop/src/main/ts/typography/Title.tsx b/packages/desktop/src/main/ts/typography/Title.tsx index 9bf1d7e8c..5189b4a7d 100644 --- a/packages/desktop/src/main/ts/typography/Title.tsx +++ b/packages/desktop/src/main/ts/typography/Title.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Box, Breaker, @@ -6,7 +8,6 @@ import { Typo, TypoProps, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' export interface TitleProps { tag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' diff --git a/packages/desktop/src/main/webapp/components/ComponentsListRenderer.tsx b/packages/desktop/src/main/webapp/components/ComponentsListRenderer.tsx index fb2bfcb21..0e8567244 100644 --- a/packages/desktop/src/main/webapp/components/ComponentsListRenderer.tsx +++ b/packages/desktop/src/main/webapp/components/ComponentsListRenderer.tsx @@ -1,7 +1,9 @@ -import { Box, Spacer } from '@qiwi/pijma-core' -import { Link } from '@qiwi/pijma-desktop' import React, { FC, ReactNode } from 'react' +import { Box, Spacer } from '@qiwi/pijma-core' + +import { Link } from '../../ts' + interface ComponentsListRendererProps { items: Array<{ heading: boolean @@ -14,7 +16,7 @@ interface ComponentsListRendererProps { const ComponentsListRenderer: FC = (props) => { const items = props.items.filter((item) => item.visibleName) - if (!items.length) { + if (items.length === 0) { return null } return ( diff --git a/packages/desktop/src/main/webapp/components/Heading.tsx b/packages/desktop/src/main/webapp/components/Heading.tsx index 12451d094..cc83d596c 100644 --- a/packages/desktop/src/main/webapp/components/Heading.tsx +++ b/packages/desktop/src/main/webapp/components/Heading.tsx @@ -1,6 +1,7 @@ -import { Heading, HeadingProps } from '@qiwi/pijma-desktop' import React, { FC, ReactNode } from 'react' +import { Heading, HeadingProps } from '../../ts' + interface HeadingRendererProps { level: '1' | '2' | '3' | '4' | '5' | '6' children?: ReactNode diff --git a/packages/desktop/src/main/webapp/components/Link.tsx b/packages/desktop/src/main/webapp/components/Link.tsx index aa13ad271..9e6c8d9d3 100644 --- a/packages/desktop/src/main/webapp/components/Link.tsx +++ b/packages/desktop/src/main/webapp/components/Link.tsx @@ -1,6 +1,7 @@ -import { Link, LinkProps } from '@qiwi/pijma-desktop' import React, { FC } from 'react' +import { Link, LinkProps } from '../../ts' + const LinkRenderer: FC = (props) => export default LinkRenderer diff --git a/packages/desktop/src/main/webapp/components/Markdown/MarkdownHeading.tsx b/packages/desktop/src/main/webapp/components/Markdown/MarkdownHeading.tsx index 7dad733a3..d5ad935b0 100644 --- a/packages/desktop/src/main/webapp/components/Markdown/MarkdownHeading.tsx +++ b/packages/desktop/src/main/webapp/components/Markdown/MarkdownHeading.tsx @@ -1,7 +1,9 @@ -import { Box } from '@qiwi/pijma-core' -import { Heading, HeadingProps } from '@qiwi/pijma-desktop' import React, { FC, ReactNode } from 'react' +import { Box } from '@qiwi/pijma-core' + +import { Heading, HeadingProps } from '../../../ts' + interface HeadingRendererProps { level: '1' | '2' | '3' | '4' | '5' | '6' children?: ReactNode diff --git a/packages/desktop/src/main/webapp/components/Para.tsx b/packages/desktop/src/main/webapp/components/Para.tsx index c1a78a498..8e2f248b4 100644 --- a/packages/desktop/src/main/webapp/components/Para.tsx +++ b/packages/desktop/src/main/webapp/components/Para.tsx @@ -1,7 +1,9 @@ -import { Box } from '@qiwi/pijma-core' -import { Paragraph, ParagraphProps } from '@qiwi/pijma-desktop' import React, { FC, ReactNode } from 'react' +import { Box } from '@qiwi/pijma-core' + +import { Paragraph, ParagraphProps } from '../../ts' + const SizeMargin: { [size in NonNullable]: number } = { s: 3, m: 4, diff --git a/packages/desktop/src/main/webapp/components/ReactComponentRenderer.tsx b/packages/desktop/src/main/webapp/components/ReactComponentRenderer.tsx index e4a4ce9c8..79b3b5704 100644 --- a/packages/desktop/src/main/webapp/components/ReactComponentRenderer.tsx +++ b/packages/desktop/src/main/webapp/components/ReactComponentRenderer.tsx @@ -1,5 +1,7 @@ -import { Spacer } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' + +import { Spacer } from '@qiwi/pijma-core' + // @ts-ignore import Pathline from 'rsg-components/Pathline' diff --git a/packages/desktop/src/main/webapp/components/SectionHeadingRenderer.tsx b/packages/desktop/src/main/webapp/components/SectionHeadingRenderer.tsx index 2ae4a29b4..9a1ff1795 100644 --- a/packages/desktop/src/main/webapp/components/SectionHeadingRenderer.tsx +++ b/packages/desktop/src/main/webapp/components/SectionHeadingRenderer.tsx @@ -1,6 +1,7 @@ -import { Heading } from '@qiwi/pijma-desktop' import React, { FC, ReactNode } from 'react' +import { Heading } from '../../ts' + interface SectionHeadingRendererProps { toolbar: ReactNode id: string diff --git a/packages/desktop/src/main/webapp/components/SectionRenderer.tsx b/packages/desktop/src/main/webapp/components/SectionRenderer.tsx index b1e7ddfef..de3c0584c 100644 --- a/packages/desktop/src/main/webapp/components/SectionRenderer.tsx +++ b/packages/desktop/src/main/webapp/components/SectionRenderer.tsx @@ -1,7 +1,10 @@ -import { Spacer } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' + +import { Spacer } from '@qiwi/pijma-core' + // @ts-ignore import SectionHeading from 'rsg-components/SectionHeading' + // @ts-ignore // import Markdown from 'rsg-components/Markdown' diff --git a/packages/desktop/src/main/webapp/components/StyleGuideRenderer.tsx b/packages/desktop/src/main/webapp/components/StyleGuideRenderer.tsx index 61078a88a..eb473d9bc 100644 --- a/packages/desktop/src/main/webapp/components/StyleGuideRenderer.tsx +++ b/packages/desktop/src/main/webapp/components/StyleGuideRenderer.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { applyDefaultClickHandler, Box, @@ -12,8 +14,7 @@ import { reset, ThemeProvider, themes, -} from '@qiwi/pijma-desktop' -import React, { FC, ReactNode } from 'react' +} from '../../ts' applyDefaultClickHandler() diff --git a/packages/desktop/src/main/webapp/components/TableOfContentsRenderer.tsx b/packages/desktop/src/main/webapp/components/TableOfContentsRenderer.tsx index 23327dcbc..dfbc2d55a 100644 --- a/packages/desktop/src/main/webapp/components/TableOfContentsRenderer.tsx +++ b/packages/desktop/src/main/webapp/components/TableOfContentsRenderer.tsx @@ -1,7 +1,9 @@ -import { Icon, Spacer } from '@qiwi/pijma-core' -import { TextField } from '@qiwi/pijma-desktop' import React, { FC, ReactNode } from 'react' +import { Icon, Spacer } from '@qiwi/pijma-core' + +import { TextField } from '../../ts' + interface TableOfContentsRendererProps { searchTerm: string onSearchTermChange: (value: string) => void diff --git a/packages/desktop/src/main/webapp/components/Wrapper.tsx b/packages/desktop/src/main/webapp/components/Wrapper.tsx index f3d75a45d..9fa14c09b 100644 --- a/packages/desktop/src/main/webapp/components/Wrapper.tsx +++ b/packages/desktop/src/main/webapp/components/Wrapper.tsx @@ -1,6 +1,7 @@ -import { ThemeProvider, themes } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { ThemeProvider, themes } from '@qiwi/pijma-core' + interface WrapperProps { children?: ReactNode } diff --git a/packages/desktop/src/main/webapp/components/slots/IsolateButton.tsx b/packages/desktop/src/main/webapp/components/slots/IsolateButton.tsx index 20941855d..5016ba062 100644 --- a/packages/desktop/src/main/webapp/components/slots/IsolateButton.tsx +++ b/packages/desktop/src/main/webapp/components/slots/IsolateButton.tsx @@ -3,6 +3,7 @@ import React, { FC } from 'react' import { MdFullscreen, MdFullscreenExit } from 'react-icons/md' // @ts-ignore import getUrl from 'react-styleguidist/lib/client/utils/getUrl' + // @ts-ignore import ToolbarButton from 'rsg-components/ToolbarButton' diff --git a/packages/desktop/src/main/webapp/require.js b/packages/desktop/src/main/webapp/require.js deleted file mode 100644 index e7a341c72..000000000 --- a/packages/desktop/src/main/webapp/require.js +++ /dev/null @@ -1,3 +0,0 @@ -import * as desktop from '@qiwi/pijma-desktop' - -Object.assign(window, desktop) diff --git a/packages/desktop/src/main/webapp/require.ts b/packages/desktop/src/main/webapp/require.ts new file mode 100644 index 000000000..d4845d378 --- /dev/null +++ b/packages/desktop/src/main/webapp/require.ts @@ -0,0 +1,3 @@ +import * as desktop from '../ts' + +Object.assign(window, desktop) diff --git a/packages/desktop/styleguide.config.cjs b/packages/desktop/styleguide.config.cjs index 6a3460c84..cbeb0ee81 100644 --- a/packages/desktop/styleguide.config.cjs +++ b/packages/desktop/styleguide.config.cjs @@ -1,21 +1,22 @@ -module.exports = require('../infra/styleguide.config')({ - components: ['@qiwi/pijma-core', '@qiwi/pijma-desktop'], +module.exports = require('../../styleguide.config')({ cwd: __dirname, - extra: { - title: 'QIWI Wallet Web Desktop Guide', - serverPort: 6060, - theme: { - borderRadius: '10px', - fontFamily: { - base: '"Museo Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif', - monospace: 'monospace', - }, - mq: { - small: '@media (max-width: 0px)', - }, - color: { - codeBackground: '#fff', - }, + dirs: [ + '../core', + '../desktop', + ], + title: 'QIWI Wallet Web Desktop Guide', + serverPort: 6060, + theme: { + borderRadius: '10px', + fontFamily: { + base: '"Museo Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif', + monospace: 'monospace', + }, + mq: { + small: '@media (max-width: 0px)', + }, + color: { + codeBackground: '#fff', }, }, }) diff --git a/packages/mobile/swc.es5.json b/packages/desktop/swc.cjs.json similarity index 88% rename from packages/mobile/swc.es5.json rename to packages/desktop/swc.cjs.json index ed56ae66c..0fafa72c5 100644 --- a/packages/mobile/swc.es5.json +++ b/packages/desktop/swc.cjs.json @@ -4,8 +4,7 @@ "parser": { "syntax": "typescript", "tsx": true, - "decorators": true, - "dts": true + "decorators": true }, "transform": { "react": { diff --git a/packages/desktop-extra/swc.es6.json b/packages/desktop/swc.esm.json similarity index 82% rename from packages/desktop-extra/swc.es6.json rename to packages/desktop/swc.esm.json index 0a5a58af7..87fc057d1 100644 --- a/packages/desktop-extra/swc.es6.json +++ b/packages/desktop/swc.esm.json @@ -4,15 +4,14 @@ "parser": { "syntax": "typescript", "tsx": true, - "decorators": true, - "dts": true + "decorators": true }, "transform": { "react": { "runtime": "automatic" } }, - "target": "es2021", + "target": "es2022", "loose": true, "externalHelpers": true }, diff --git a/packages/desktop/tsconfig.dts.json b/packages/desktop/tsconfig.dts.json index 0c7cf449c..c39c34441 100644 --- a/packages/desktop/tsconfig.dts.json +++ b/packages/desktop/tsconfig.dts.json @@ -1,16 +1,16 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "composite": true, + "declaration": true, + "emitDeclarationOnly": true, "rootDir": "./src/main/ts", - "baseUrl": "./src/main/ts", "declarationDir": "./target/dts", - "emitDeclarationOnly": true + "tsBuildInfoFile": "./target/dts/.tsbuildinfo" }, - "include": [ - "./src/main/ts" - ], - "exclude": [ - "./target", - "./node_modules" + "references": [ + { + "path": "../core/tsconfig.dts.json" + } ] } diff --git a/packages/desktop/tsconfig.json b/packages/desktop/tsconfig.json index 4082f16a5..d21c7f3c2 100644 --- a/packages/desktop/tsconfig.json +++ b/packages/desktop/tsconfig.json @@ -1,3 +1,27 @@ { - "extends": "../../tsconfig.json" + "compilerOptions": { + "module": "es2022", + "target": "es2022", + "moduleResolution": "node", + "jsx": "react-jsx", + "strict": true, + "skipLibCheck": true, + "esModuleInterop": true, + "isolatedModules": true, + "resolveJsonModule": true, + "removeComments": true, + "importHelpers": true, + "baseUrl": "./", + "paths": { + "@qiwi/pijma-core": [ + "../core/src/main/ts" + ] + } + }, + "include": [ + "./src/main/ts" + ], + "exclude": [ + "./node_modules" + ] } diff --git a/packages/fonts/.releaserc.cjs b/packages/fonts/.releaserc.cjs deleted file mode 100644 index 51d154e9e..000000000 --- a/packages/fonts/.releaserc.cjs +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - cmd: 'yarn' -} diff --git a/packages/fonts/.releaserc.json b/packages/fonts/.releaserc.json new file mode 100644 index 000000000..81606234c --- /dev/null +++ b/packages/fonts/.releaserc.json @@ -0,0 +1,4 @@ +{ + "cmd": "yarn", + "changelog": "changelog" +} diff --git a/packages/fonts/LICENSE b/packages/fonts/LICENSE new file mode 100644 index 000000000..b32169c3c --- /dev/null +++ b/packages/fonts/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 QIWI + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/fonts/package.json b/packages/fonts/package.json index 5f1988ea4..4bdde3f18 100644 --- a/packages/fonts/package.json +++ b/packages/fonts/package.json @@ -1,11 +1,11 @@ { "name": "@qiwi/pijma-fonts", "version": "0.0.0", + "packasso": [ + "@packasso/dev-license", + "@packasso/release-zx-semrel" + ], "main": "index.css", - "license": "MIT", - "publishConfig": { - "access": "public" - }, "repository": { "type": "git", "url": "git+https://github.com/qiwi/pijma.git" @@ -13,5 +13,14 @@ "bugs": { "url": "https://github.com/qiwi/pijma/issues" }, - "homepage": "https://github.com/qiwi/pijma/#readme" + "homepage": "https://github.com/qiwi/pijma/#readme", + "devDependencies": { + "@packasso/cli": "0.16.1", + "@packasso/dev-license": "0.10.1", + "@packasso/release-zx-semrel": "0.16.1" + }, + "license": "MIT", + "publishConfig": { + "access": "public" + } } diff --git a/packages/infra/.eslintrc.js b/packages/infra/.eslintrc.js deleted file mode 100644 index 0a5c7274f..000000000 --- a/packages/infra/.eslintrc.js +++ /dev/null @@ -1,21 +0,0 @@ -module.exports = { - extends: ['eslint-config-qiwi', 'eslint-config-prettier'], - rules: { - 'react/no-children-prop': 'off', - 'react/no-find-dom-node': 'off', - 'unicorn/no-null': 'off', - 'unicorn/prefer-add-event-listener': 'off', - 'unicorn/explicit-length-check': 'off', - 'unicorn/prefer-spread': 'off', - 'sonarjs/no-identical-functions': 'off', - 'sonarjs/no-duplicate-string': 'off', - 'space-before-function-paren': 'off', - 'no-use-before-define': 'off', - 'no-useless-escape': 'off', - 'no-case-declarations': 'off', - 'no-mixed-operators': 'off', - '@typescript-eslint/ban-types': 'off', - '@typescript-eslint/no-unused-vars': 'off', - '@typescript-eslint/no-non-null-assertion': 'off', - }, -} diff --git a/packages/infra/.prettierrc.js b/packages/infra/.prettierrc.js deleted file mode 100644 index 8b5abf3b0..000000000 --- a/packages/infra/.prettierrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('prettier-config-qiwi') diff --git a/packages/infra/.releaserc.js b/packages/infra/.releaserc.js deleted file mode 100644 index ccc9ec191..000000000 --- a/packages/infra/.releaserc.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - cmd: 'yarn', -} diff --git a/packages/infra/.swcrc b/packages/infra/.swcrc deleted file mode 100644 index 2634d2ddb..000000000 --- a/packages/infra/.swcrc +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/swcrc", - "jsc": { - "parser": { - "syntax": "typescript", - "tsx": true, - "decorators": true - }, - "transform": { - "react": { - "runtime": "automatic" - } - }, - "target": "es5", - "loose": true, - "externalHelpers": false - }, - "minify": true -} diff --git a/packages/infra/CHANGELOG.md b/packages/infra/CHANGELOG.md deleted file mode 100644 index 65cefeecd..000000000 --- a/packages/infra/CHANGELOG.md +++ /dev/null @@ -1,112 +0,0 @@ -## @qiwi/pijma-infra [1.5.7](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.5.6...@qiwi/pijma-infra@1.5.7) (2022-06-20) - - -### Bug Fixes - -* deps ([a2b4853](https://github.com/qiwi/pijma/commit/a2b48534c7ae9266420ffc255c65174e8ee32a67)) - -## @qiwi/pijma-infra [1.5.6](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.5.5...@qiwi/pijma-infra@1.5.6) (2022-06-20) - - -### Bug Fixes - -* concurrently ([b3fb8e2](https://github.com/qiwi/pijma/commit/b3fb8e2c1f0a59fdaacca6282c7d72938a6d3ca6)) -* deps ([2e4bf8a](https://github.com/qiwi/pijma/commit/2e4bf8a306b4303b3ef3f38d79ded7a6b3bf21d4)) - -## @qiwi/pijma-infra [1.5.5](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.5.4...@qiwi/pijma-infra@1.5.5) (2022-06-06) - - -### Bug Fixes - -* up vulnerable deps ([#494](https://github.com/qiwi/pijma/issues/494)) ([f828f91](https://github.com/qiwi/pijma/commit/f828f9101e0d09b7fc30d43ca6f2f201e5f04e6a)) - -## @qiwi/pijma-infra [1.5.4](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.5.3...@qiwi/pijma-infra@1.5.4) (2022-06-01) - - -### Bug Fixes - -* temporary build ts-patch ([#492](https://github.com/qiwi/pijma/issues/492)) ([f0bfe42](https://github.com/qiwi/pijma/commit/f0bfe42c8239d93fae59c23928d26f2d12140c98)) - -## @qiwi/pijma-infra [1.5.3](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.5.2...@qiwi/pijma-infra@1.5.3) (2022-05-31) - - -### Bug Fixes - -* ts-patch in infra only ([#489](https://github.com/qiwi/pijma/issues/489)) ([90b7004](https://github.com/qiwi/pijma/commit/90b70042b1fda37bb0e9f11746781b33cbe32985)) - -## @qiwi/pijma-infra [1.5.2](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.5.1...@qiwi/pijma-infra@1.5.2) (2022-05-25) - - -### Bug Fixes - -* react display name ([#486](https://github.com/qiwi/pijma/issues/486)) ([e31c9cb](https://github.com/qiwi/pijma/commit/e31c9cb17c5c9028f27d622cb5c16b534ff8e9ef)) - -## @qiwi/pijma-infra [1.5.1](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.5.0...@qiwi/pijma-infra@1.5.1) (2022-04-21) - - -### Bug Fixes - -* rm broken and useless sourcemaps ([#484](https://github.com/qiwi/pijma/issues/484)) ([f075e7d](https://github.com/qiwi/pijma/commit/f075e7d9d7e4dc21310000a8e38dbac927c60fd6)) - -# @qiwi/pijma-infra [1.5.0](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.4.2...@qiwi/pijma-infra@1.5.0) (2022-04-04) - - -### Features - -* add cjs bundles ([#482](https://github.com/qiwi/pijma/issues/482)) ([494439c](https://github.com/qiwi/pijma/commit/494439c09968c27dc4916f30a6762d41d6fc4ed5)) - -## @qiwi/pijma-infra [1.4.2](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.4.1...@qiwi/pijma-infra@1.4.2) (2022-04-01) - - -### Bug Fixes - -* add default export for empty bundles ([cf10711](https://github.com/qiwi/pijma/commit/cf1071175f724cc60c358ce7695bcbdbc12a3316)) - -## @qiwi/pijma-infra [1.4.1](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.4.0...@qiwi/pijma-infra@1.4.1) (2022-04-01) - - -### Bug Fixes - -* fill blank js files after esbuild ([#481](https://github.com/qiwi/pijma/issues/481)) ([27ed64a](https://github.com/qiwi/pijma/commit/27ed64ae458c9991d466dc9a479231d65ccb4d60)) - -# @qiwi/pijma-infra [1.4.0](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.3.1...@qiwi/pijma-infra@1.4.0) (2022-03-22) - - -### Features - -* esbuild react display name ([#474](https://github.com/qiwi/pijma/issues/474)) ([55ef45f](https://github.com/qiwi/pijma/commit/55ef45fd56cbabbe85bc7c1c910b6ac8f8cee906)) - -## @qiwi/pijma-infra [1.3.1](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.3.0...@qiwi/pijma-infra@1.3.1) (2021-12-15) - - -### Bug Fixes - -* fix build artifact prefix ([7ef78a5](https://github.com/qiwi/pijma/commit/7ef78a592e15069bbf86211d99e1bfa723cb2573)) - -# @qiwi/pijma-infra [1.3.0](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.2.0...@qiwi/pijma-infra@1.3.0) (2021-11-12) - - -### Features - -* up ts ([#450](https://github.com/qiwi/pijma/issues/450)) ([09b439c](https://github.com/qiwi/pijma/commit/09b439cc9bc98aeb58ba892d84e9ceee4984c02c)) - -# @qiwi/pijma-infra [1.2.0](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.1.0...@qiwi/pijma-infra@1.2.0) (2021-11-02) - - -### Features - -* move fonts to static and package ([#441](https://github.com/qiwi/pijma/issues/441)) ([f630479](https://github.com/qiwi/pijma/commit/f6304790827f1b2379622b4bcf9aacb430376661)) - -# @qiwi/pijma-infra [1.1.0](https://github.com/qiwi/pijma/compare/@qiwi/pijma-infra@1.0.0...@qiwi/pijma-infra@1.1.0) (2021-11-01) - - -### Features - -* use ts-patch ([#446](https://github.com/qiwi/pijma/issues/446)) ([c2bdf49](https://github.com/qiwi/pijma/commit/c2bdf4960c2ab9a48ee9bca563fde145bb9bf9d0)) - -# @qiwi/pijma-infra 1.0.0 (2021-03-22) - - -### Bug Fixes - -* **infra:** add missed release config ([4a23df4](https://github.com/qiwi/pijma/commit/4a23df422e1c9806bc83d756a9792f71edce26d9)) diff --git a/packages/infra/package.json b/packages/infra/package.json deleted file mode 100644 index 4f2b544dd..000000000 --- a/packages/infra/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "@qiwi/pijma-infra", - "description": "QIWI Pijma infra assets: common configs, dev deps, etc", - "version": "0.0.0", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "files": [], - "devDependencies": { - "@swc/cli": "0.1.57", - "@swc/core": "1.2.248", - "@swc/jest": "0.2.22", - "concurrently": "7.4.0", - "css-loader": "6.7.1", - "eslint": "8.23.0", - "eslint-config-prettier": "8.5.0", - "eslint-config-qiwi": "1.17.6", - "fast-glob": "3.2.11", - "file-loader": "6.2.0", - "prettier": "2.7.1", - "prettier-config-qiwi": "1.7.2", - "react-docgen-typescript": "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch", - "react-styleguidist": "12.0.0", - "style-loader": "3.3.1", - "swc-loader": "0.2.3", - "tsc-esm-fix": "2.20.4", - "typescript": "4.8.2", - "webpack": "5.74.0" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/qiwi/pijma.git" - }, - "bugs": { - "url": "https://github.com/qiwi/pijma/issues" - }, - "homepage": "https://github.com/qiwi/pijma/#readme" -} diff --git a/packages/infra/styleguide.config.js b/packages/infra/styleguide.config.js deleted file mode 100644 index 0db03f96b..000000000 --- a/packages/infra/styleguide.config.js +++ /dev/null @@ -1,210 +0,0 @@ -/* eslint-disable */ - -const path = require('path') -const docgen = require('react-docgen-typescript') -const glob = require('fast-glob') - -module.exports = ({ cwd, extra = {}, components = [] }) => { - const styleguideRoot = path.resolve(cwd, 'src', 'main', 'webapp') - const styleguideComponentsRoot = path.resolve(styleguideRoot, 'components') - const tsConfig = require(path.resolve(cwd, '..', '..', 'tsconfig.json')) - - const alias = Object.keys(tsConfig.compilerOptions.paths).reduce( - (p, c) => - Object.assign(p, { - [c.replace(/\/\*$/, '')]: path.resolve( - cwd, - '..', - '..', - tsConfig.compilerOptions.baseUrl, - tsConfig.compilerOptions.paths[c][0].replace(/\/\*$/, ''), - ), - }), - {}, - ) - - const readFiles = (dir) => - glob.sync(['**/*'], { - cwd: dir, - onlyFiles: true, - absolute: true, - }) - - const componentsPaths = components.map( - (c) => `${alias[c]}/**/*.{js,jsx,ts,tsx}`, - ) - - return Object.assign( - { - propsParser: docgen.parse, - serverPort: 8080, - styleguideDir: path.resolve(cwd, 'target', 'webapp'), - styleguideComponents: readFiles(styleguideComponentsRoot).reduce( - (components, file) => - Object.assign(components, { - [path - .relative(styleguideComponentsRoot, file) - .slice(0, -1 * path.extname(file).length)]: file, - }), - {}, - ), - styles: { - Playground: { - root: { - marginTop: 20, - marginBottom: 48, - }, - preview: { - padding: 0, - border: 0, - borderRadius: 0, - }, - controls: { - marginTop: 16, - marginBottom: 16, - }, - }, - Editor: { - root: { - '& .cm-s-base16-light.CodeMirror': { - isolate: false, - background: 'none', - border: '1px solid #e6e6e6', - borderRadius: '10px', - }, - }, - }, - }, - theme: {}, - template: { - head: { - links: [ - { - rel: 'stylesheet', - href: 'https://static.qiwi.com/fonts/museo-sans/v2/index.css', - }, - ], - }, - }, - require: [path.resolve(styleguideRoot, 'require.js')], - ignore: ['**/*/index.{js,jsx,ts,tsx}'], - skipComponentsWithoutExample: true, - getComponentPathLine(componentPath) { - return `import {${path.basename( - componentPath, - path.extname(componentPath), - )}} from '${Object.keys(alias).find((key) => - path.resolve(componentPath).startsWith(alias[key]), - )}'` - }, - getExampleFilename(componentPath) { - return path.resolve( - path.dirname(componentPath), - `${path.basename(componentPath, path.extname(componentPath))}.md`, - ) - }, - updateExample: (params, example) => { - const { settings, lang, content } = params - if (!settings) { - return params - } - const props = {} - if (settings.actions) { - props['data-action-states'] = JSON.stringify([ - ...[ - { - action: 'none', - ...(settings.wait ? { wait: settings.wait } : {}), - }, - ], - ...settings.actions, - ]) - } else if (settings.wait) { - props['data-action-states'] = JSON.stringify([ - { - action: 'none', - wait: settings.wait, - }, - ]) - } - if (settings.id) { - props['data-description'] = settings.id - } - return { - settings: { - ...settings, - props: { - ...(settings.props || {}), - ...props, - }, - }, - lang, - content, - } - }, - mountPointId: 'root', - pagePerSection: true, - sections: [ - { - name: 'Главная', - content: path.resolve(styleguideRoot, 'Index.md'), - sectionDepth: Number.MAX_VALUE, - }, - { - name: 'Компоненты', - components: componentsPaths, - sectionDepth: Number.MAX_VALUE, - }, - ], - logger: { - info: () => null, - warn: () => null, - }, - webpackConfig: { - target: 'web', - module: { - rules: [ - { - test: /\.[cm]?[jt]sx?$/, - use: { - loader: 'swc-loader', - }, - exclude: /node_modules/, - }, - { - test: /\.(?:png|jpg|gif|ico|eot|woff|woff2|ttf|svg)?$/, - use: [ - { - loader: 'file-loader', - options: { - name: '[name].[hash].[ext]', - }, - }, - ], - }, - { - test: /\.(?:css)?$/, - use: [ - { - loader: 'style-loader', - }, - { - loader: 'css-loader', - }, - ], - }, - ], - }, - resolve: { - alias, - extensions: ['.tsx', '.ts', '.jsx', '.js'], - }, - devServer: { - historyApiFallback: true, - allowedHosts: 'all', - }, - }, - }, - extra, - ) -} diff --git a/packages/mobile/.eslintrc.cjs b/packages/mobile/.eslintrc.cjs deleted file mode 100644 index 482ecd2a8..000000000 --- a/packages/mobile/.eslintrc.cjs +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../infra/.eslintrc.js') diff --git a/packages/mobile/.eslintrc.json b/packages/mobile/.eslintrc.json new file mode 100644 index 000000000..2c94df5b2 --- /dev/null +++ b/packages/mobile/.eslintrc.json @@ -0,0 +1,27 @@ +{ + "rules": { + "no-constant-condition": "off", + "@typescript-eslint/ban-ts-comment": "off", + "@typescript-eslint/ban-types": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-unused-vars": "off", + "react/no-children-prop": "off", + "react/no-find-dom-node": "off", + "sonarjs/cognitive-complexity": "off", + "sonarjs/no-duplicate-string": "off", + "unicorn/no-negated-condition": "off", + "unicorn/no-new-array": "off", + "unicorn/prefer-add-event-listener": "off", + "unicorn/prefer-dom-node-append": "off", + "unicorn/prefer-dom-node-remove": "off", + "unicorn/prefer-logical-operator-over-ternary": "off", + "unicorn/prefer-number-properties": "off", + "unicorn/prefer-optional-catch-binding": "off", + "unicorn/prefer-regexp-test": "off", + "unicorn/prefer-set-has": "off", + "unicorn/prefer-spread": "off", + "unicorn/prefer-string-slice": "off" + }, + "extends": "eslint-config-qiwi" +} diff --git a/packages/mobile/.gitignore b/packages/mobile/.gitignore new file mode 100644 index 000000000..050c60358 --- /dev/null +++ b/packages/mobile/.gitignore @@ -0,0 +1,2 @@ +/node_modules +/target diff --git a/packages/mobile/.prettierrc.cjs b/packages/mobile/.prettierrc.cjs deleted file mode 100644 index c07e99a54..000000000 --- a/packages/mobile/.prettierrc.cjs +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../infra/.prettierrc.js') diff --git a/packages/mobile/.prettierrc.json b/packages/mobile/.prettierrc.json new file mode 100644 index 000000000..761e7cafc --- /dev/null +++ b/packages/mobile/.prettierrc.json @@ -0,0 +1 @@ +"prettier-config-qiwi" diff --git a/packages/mobile/.releaserc.cjs b/packages/mobile/.releaserc.cjs deleted file mode 100644 index aaae48aaf..000000000 --- a/packages/mobile/.releaserc.cjs +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - ghPages: 'gh-pages target/webapp mobile', - cmd: 'yarn', - changelog: 'changelog', -} diff --git a/packages/mobile/.releaserc.json b/packages/mobile/.releaserc.json new file mode 100644 index 000000000..54fa472b4 --- /dev/null +++ b/packages/mobile/.releaserc.json @@ -0,0 +1,5 @@ +{ + "ghPages": "gh-pages target/webapp mobile", + "cmd": "yarn", + "changelog": "changelog" +} diff --git a/packages/mobile/LICENSE b/packages/mobile/LICENSE new file mode 100644 index 000000000..b32169c3c --- /dev/null +++ b/packages/mobile/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 QIWI + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/mobile/package.json b/packages/mobile/package.json index 8b7ad8ce3..784865628 100644 --- a/packages/mobile/package.json +++ b/packages/mobile/package.json @@ -1,64 +1,60 @@ { "name": "@qiwi/pijma-mobile", "version": "0.0.0", - "type": "module", - "main": "./target/es5/index.js", - "module": "./target/es6/index.js", - "types": "./target/dts/index.d.ts", - "exports": { - ".": { - "types": "./target/dts/index.d.ts", - "import": "./target/es6/index.js", - "require": "./target/es5/index.js" - } - }, - "license": "MIT", - "publishConfig": { - "access": "public" - }, + "packasso": [ + "@packasso/dev-ts", + "@packasso/dev-license", + "@packasso/build-ts-swc", + "@packasso/style-eslint", + "@packasso/style-prettier", + "@packasso/release-zx-semrel" + ], "scripts": { - "clean": "rimraf target node_modules", - "build": "concurrently 'npm:build:*' 'npm:guide:build'", - "start": "concurrently --kill-others --kill-others-on-fail 'npm:guide:start' 'npm:chrome:start'", - "test": "concurrently --kill-others --kill-others-on-fail --success first 'npm:test:start' 'npm:static:start' 'npm:chrome:start'", - "build:es5": "cd src/main && swc ts -d ../../target/es5 --config-file ../../swc.es5.json && cd ../.. && tsc-esm-fix --target=target/es5 --fillBlank", - "build:es6": "cd src/main && swc ts -d ../../target/es6 --config-file ../../swc.es6.json && cd ../.. && tsc-esm-fix --target=target/es6 --fillBlank", - "build:dts": "tsc --project tsconfig.dts.json", - "guide:build": "styleguidist --config styleguide.config.cjs build", - "guide:start": "styleguidist --config styleguide.config.cjs server", - "static:start": "docker run --rm -p 7070:80 -v $(pwd)/target/webapp:/usr/share/nginx/html nginx", - "chrome:start": "docker run --rm -p 7171:3000 --add-host=host.docker.internal:host-gateway browserless/chrome", - "test:start": "wait-on http-get://localhost:7070/ http-get://localhost:7171/ && styleguidist-visual test --config styleguide.visual.config.cjs", - "test:approve": "styleguidist-visual approve --config styleguide.visual.config.cjs", - "format": "eslint --fix src && prettier --loglevel silent --write src", - "lint": "eslint src" + "start:rsg": "styleguidist --config styleguide.config.cjs server", + "build:rsg": "yarn styleguidist --config styleguide.config.cjs build", + "test:rsg": "concurrently --kill-others --kill-others-on-fail --success first 'npm:test:rsg:main' 'npm:test:rsg:nginx' 'npm:test:rsg:chrome'", + "test:rsg:main": "wait-on http-get://localhost:7070/ http-get://localhost:7171/ && styleguidist-visual test --config styleguide.visual.config.cjs", + "test:rsg:nginx": "docker run --rm -p 7070:80 -v $(pwd)/target/webapp:/usr/share/nginx/html nginx", + "test:rsg:chrome": "docker run --rm -p 7171:3000 --add-host=host.docker.internal:host-gateway browserless/chrome", + "test:rsg:approve": "styleguidist-visual approve --config styleguide.visual.config.cjs", + "build": "packasso build", + "lint": "packasso lint", + "format": "packasso format" }, - "files": [ - "target/dts/**/*", - "target/es5/**/*", - "target/es6/**/*" - ], "dependencies": { "@qiwi/pijma-core": "workspace:*" }, "devDependencies": { - "@qiwi/pijma-infra": "workspace:*", - "concurrently": "7.4.0", + "@packasso/build-ts-swc": "0.17.2", + "@packasso/cli": "0.16.1", + "@packasso/dev-license": "0.10.1", + "@packasso/dev-ts": "0.17.1", + "@packasso/release-zx-semrel": "0.16.1", + "@packasso/style-eslint": "0.1.1", + "@packasso/style-prettier": "0.1.1", + "@swc/cli": "0.1.62", + "@swc/core": "1.3.37", + "@swc/helpers": "0.4.14", + "concurrently": "7.6.0", "css-loader": "6.7.1", - "eslint": "8.23.0", - "eslint-config-qiwi": "1.17.6", - "fast-glob": "3.2.11", + "eslint": "8.35.0", + "eslint-config-qiwi": "2.0.9", + "fast-glob": "3.2.12", "file-loader": "6.2.0", - "prettier": "2.7.1", - "prettier-config-qiwi": "1.7.2", + "globby-cp": "1.1.3", + "prettier": "2.8.4", + "prettier-config-qiwi": "2.0.1", "react-docgen-typescript": "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch", "react-styleguidist": "12.0.0", "react-styleguidist-visual": "patch:react-styleguidist-visual@npm%3A0.9.0#~/.yarn/patches/react-styleguidist-visual-npm-0.9.0-c05bb39789.patch", + "rimraf": "4.2.0", "style-loader": "3.3.1", - "tsc-esm-fix": "2.20.4", - "typescript": "4.8.2", + "swc-loader": "0.2.3", + "tsc-esm-fix": "2.20.12", + "tsconfig-paths-webpack-plugin": "4.0.0", + "typescript": "4.9.5", "wait-on": "6.0.1", - "webpack": "5.74.0" + "webpack": "5.75.0" }, "repository": { "type": "git", @@ -67,5 +63,26 @@ "bugs": { "url": "https://github.com/qiwi/pijma/issues" }, - "homepage": "https://github.com/qiwi/pijma/#readme" + "homepage": "https://github.com/qiwi/pijma/#readme", + "license": "MIT", + "type": "module", + "main": "./target/cjs/index.cjs", + "module": "./target/esm/index.mjs", + "types": "./target/dts/index.d.ts", + "exports": { + ".": { + "require": "./target/cjs/index.cjs", + "import": "./target/esm/index.mjs", + "types": "./target/dts/index.d.ts" + }, + "./package.json": "./package.json" + }, + "files": [ + "target/cjs/**/*", + "target/esm/**/*", + "target/dts/**/*" + ], + "publishConfig": { + "access": "public" + } } diff --git a/packages/mobile/src/main/ts/actions/Actions.tsx b/packages/mobile/src/main/ts/actions/Actions.tsx index d9ddc176e..3c648f9d0 100644 --- a/packages/mobile/src/main/ts/actions/Actions.tsx +++ b/packages/mobile/src/main/ts/actions/Actions.tsx @@ -1,6 +1,7 @@ -import { Box } from '@qiwi/pijma-core' import React, { Children, FC, ReactNode } from 'react' +import { Box } from '@qiwi/pijma-core' + export interface ActionsProps { size: 'accent' | 'normal' | 'minor' children?: ReactNode diff --git a/packages/mobile/src/main/ts/alert-block/AlertBlock.tsx b/packages/mobile/src/main/ts/alert-block/AlertBlock.tsx index 9bbabc26d..c72d28103 100644 --- a/packages/mobile/src/main/ts/alert-block/AlertBlock.tsx +++ b/packages/mobile/src/main/ts/alert-block/AlertBlock.tsx @@ -1,3 +1,5 @@ +import React, { FC, isValidElement, ReactNode } from 'react' + import { AlertBlockControl, Block, @@ -9,7 +11,6 @@ import { IconProps, Pos, } from '@qiwi/pijma-core' -import React, { FC, isValidElement, ReactNode } from 'react' import { Paragraph } from '../typography' diff --git a/packages/mobile/src/main/ts/alert/Alert.tsx b/packages/mobile/src/main/ts/alert/Alert.tsx index 90ad68e55..cb00225b3 100644 --- a/packages/mobile/src/main/ts/alert/Alert.tsx +++ b/packages/mobile/src/main/ts/alert/Alert.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { AlertControl, Box, @@ -6,7 +8,6 @@ import { Icon, IconProps, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { Link } from '../link' import { Paragraph } from '../typography' diff --git a/packages/mobile/src/main/ts/block-accordion/BlockAccordion.tsx b/packages/mobile/src/main/ts/block-accordion/BlockAccordion.tsx index b0cadc4b9..8e60a8b45 100644 --- a/packages/mobile/src/main/ts/block-accordion/BlockAccordion.tsx +++ b/packages/mobile/src/main/ts/block-accordion/BlockAccordion.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { AccordionControl, Box, @@ -6,7 +8,6 @@ import { FlexItem, Icon, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' import { Paragraph } from '../typography' diff --git a/packages/mobile/src/main/ts/block-content/BlockContent.tsx b/packages/mobile/src/main/ts/block-content/BlockContent.tsx index 69b3898a8..ac4ff1e85 100644 --- a/packages/mobile/src/main/ts/block-content/BlockContent.tsx +++ b/packages/mobile/src/main/ts/block-content/BlockContent.tsx @@ -1,6 +1,7 @@ -import { Box } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Box } from '@qiwi/pijma-core' + export interface BlockContentProps { indent?: 'm' | 'l' children?: ReactNode diff --git a/packages/mobile/src/main/ts/block-tabs/BlockTabs.tsx b/packages/mobile/src/main/ts/block-tabs/BlockTabs.tsx index 8f3fc5bf0..6086a15f9 100644 --- a/packages/mobile/src/main/ts/block-tabs/BlockTabs.tsx +++ b/packages/mobile/src/main/ts/block-tabs/BlockTabs.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Card, Flex, @@ -10,7 +12,6 @@ import { TabsControl, Value, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' import { Paragraph } from '../typography' diff --git a/packages/mobile/src/main/ts/breadcrumbs/Breadcrumbs.tsx b/packages/mobile/src/main/ts/breadcrumbs/Breadcrumbs.tsx index 83f0f22f3..7126e92e9 100644 --- a/packages/mobile/src/main/ts/breadcrumbs/Breadcrumbs.tsx +++ b/packages/mobile/src/main/ts/breadcrumbs/Breadcrumbs.tsx @@ -1,6 +1,7 @@ -import { Box } from '@qiwi/pijma-core' import React, { FC, Fragment } from 'react' +import { Box } from '@qiwi/pijma-core' + import { NavLink, NavLinkProps } from '../nav-link' import { Paragraph } from '../typography' diff --git a/packages/mobile/src/main/ts/button/Button.tsx b/packages/mobile/src/main/ts/button/Button.tsx index a0875b16c..b625c279d 100644 --- a/packages/mobile/src/main/ts/button/Button.tsx +++ b/packages/mobile/src/main/ts/button/Button.tsx @@ -1,3 +1,5 @@ +import React, { cloneElement, FC, Fragment, ReactElement } from 'react' + import { Btn, ButtonControl, @@ -10,7 +12,6 @@ import { Typo, useTheme, } from '@qiwi/pijma-core' -import React, { cloneElement, FC, Fragment, ReactElement } from 'react' export interface ButtonProps { onClick?: () => void diff --git a/packages/mobile/src/main/ts/checkbox-field/CheckboxField.tsx b/packages/mobile/src/main/ts/checkbox-field/CheckboxField.tsx index dc4046140..a87d1a68f 100644 --- a/packages/mobile/src/main/ts/checkbox-field/CheckboxField.tsx +++ b/packages/mobile/src/main/ts/checkbox-field/CheckboxField.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { Box, Check, @@ -9,7 +11,6 @@ import { Spacer, Stub, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { CheckboxFieldOptionModel } from './CheckboxFieldOptionModel' import { CheckboxFieldProps } from './CheckboxFieldProps' diff --git a/packages/mobile/src/main/ts/checkbox-field/CheckboxFieldOptionModel.ts b/packages/mobile/src/main/ts/checkbox-field/CheckboxFieldOptionModel.ts index 10f220094..313051277 100644 --- a/packages/mobile/src/main/ts/checkbox-field/CheckboxFieldOptionModel.ts +++ b/packages/mobile/src/main/ts/checkbox-field/CheckboxFieldOptionModel.ts @@ -1,6 +1,7 @@ -import { OptionModel } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { OptionModel } from '@qiwi/pijma-core' + export interface CheckboxFieldOptionModel extends OptionModel { label: ReactNode description?: ReactNode diff --git a/packages/mobile/src/main/ts/checkbox-field/CheckboxFieldProps.ts b/packages/mobile/src/main/ts/checkbox-field/CheckboxFieldProps.ts index 9b2ca8b1f..887345060 100644 --- a/packages/mobile/src/main/ts/checkbox-field/CheckboxFieldProps.ts +++ b/packages/mobile/src/main/ts/checkbox-field/CheckboxFieldProps.ts @@ -1,6 +1,7 @@ -import { OptionModel } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { OptionModel } from '@qiwi/pijma-core' + export interface CheckboxFieldProps, V> { title?: ReactNode hint?: ReactNode diff --git a/packages/mobile/src/main/ts/checkbox/Checkbox.tsx b/packages/mobile/src/main/ts/checkbox/Checkbox.tsx index 8fd84b85e..264416fae 100644 --- a/packages/mobile/src/main/ts/checkbox/Checkbox.tsx +++ b/packages/mobile/src/main/ts/checkbox/Checkbox.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { Box, Check, @@ -5,7 +7,6 @@ import { OptionFieldItem, SwitchControl, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { CheckboxProps } from './CheckboxProps' diff --git a/packages/mobile/src/main/ts/code-field/CodeField.tsx b/packages/mobile/src/main/ts/code-field/CodeField.tsx index 20582e0d0..8e51563a4 100644 --- a/packages/mobile/src/main/ts/code-field/CodeField.tsx +++ b/packages/mobile/src/main/ts/code-field/CodeField.tsx @@ -1,3 +1,5 @@ +import React, { FC, Fragment } from 'react' + import { Box, CodeFieldControl, @@ -8,7 +10,6 @@ import { Stub, Typo, } from '@qiwi/pijma-core' -import React, { FC, Fragment } from 'react' import { CodeFieldProps } from './CodeFieldProps' diff --git a/packages/mobile/src/main/ts/content-suggest/ContentSuggest.tsx b/packages/mobile/src/main/ts/content-suggest/ContentSuggest.tsx index 8b6414ed4..d88441215 100644 --- a/packages/mobile/src/main/ts/content-suggest/ContentSuggest.tsx +++ b/packages/mobile/src/main/ts/content-suggest/ContentSuggest.tsx @@ -1,3 +1,5 @@ +import React, { Fragment } from 'react' + import { Box, Card, @@ -10,7 +12,6 @@ import { styled, SuggestControl, } from '@qiwi/pijma-core' -import React, { Fragment } from 'react' import { InputModal } from '../input-modal' import { Link } from '../link' diff --git a/packages/mobile/src/main/ts/details/Details.tsx b/packages/mobile/src/main/ts/details/Details.tsx index c0612780b..c8988963f 100644 --- a/packages/mobile/src/main/ts/details/Details.tsx +++ b/packages/mobile/src/main/ts/details/Details.tsx @@ -1,6 +1,7 @@ -import { Box, Pos, Value } from '@qiwi/pijma-core' import React, { FC, ReactElement } from 'react' +import { Box, Pos, Value } from '@qiwi/pijma-core' + import { Text } from '../typography' type DetailsText = ReactElement | string diff --git a/packages/mobile/src/main/ts/drop-up/DropUp.tsx b/packages/mobile/src/main/ts/drop-up/DropUp.tsx index daf5b3e18..25b4e5862 100644 --- a/packages/mobile/src/main/ts/drop-up/DropUp.tsx +++ b/packages/mobile/src/main/ts/drop-up/DropUp.tsx @@ -1,3 +1,5 @@ +import React, { FC, KeyboardEventHandler, ReactNode } from 'react' + import { Box, Card, @@ -12,7 +14,6 @@ import { SimpleTransition, styled, } from '@qiwi/pijma-core' -import React, { FC, KeyboardEventHandler, ReactNode } from 'react' import { Paragraph } from '../typography' diff --git a/packages/mobile/src/main/ts/extended-progress-bar/ExtendedProgressBar.md b/packages/mobile/src/main/ts/extended-progress-bar/ExtendedProgressBar.md index a1df57df0..282121ac5 100644 --- a/packages/mobile/src/main/ts/extended-progress-bar/ExtendedProgressBar.md +++ b/packages/mobile/src/main/ts/extended-progress-bar/ExtendedProgressBar.md @@ -18,7 +18,7 @@ MaxValue = 0 - + Stub @@ -36,11 +36,7 @@ Disabled with titles - + MaxValue = 0 with titles diff --git a/packages/mobile/src/main/ts/extended-progress-bar/ExtendedProgressBar.tsx b/packages/mobile/src/main/ts/extended-progress-bar/ExtendedProgressBar.tsx index 1aad54efc..f391d4c1c 100644 --- a/packages/mobile/src/main/ts/extended-progress-bar/ExtendedProgressBar.tsx +++ b/packages/mobile/src/main/ts/extended-progress-bar/ExtendedProgressBar.tsx @@ -1,8 +1,8 @@ -import { Card, Flex, FlexItem, Spacer, Stub } from '@qiwi/pijma-core' import React, { FC } from 'react' -import { Text } from '../typography' +import { Card, Flex, FlexItem, Spacer, Stub } from '@qiwi/pijma-core' +import { Text } from '../typography' export interface ExtendedProgressBarProps { value: number @@ -21,11 +21,11 @@ export const ExtendedProgressBar: FC = ({ titleEnd, disabled = false, stub = false, - formatValue = v => v, + formatValue = (v) => v, }) => ( {titleStart || titleEnd ? ( - + {titleStart && value !== undefined ? ( = ({ children={stub ? undefined : formatValue(value)} compact /> - ) : ( - null - )} + ) : null} {titleEnd && value !== undefined && maxValue !== undefined ? ( @@ -47,43 +45,45 @@ export const ExtendedProgressBar: FC = ({ bold={false} stub={stub} display={stub ? 'block' : undefined} - children={stub ? undefined : formatValue(Math.max(maxValue - value, 0))} + children={ + stub ? undefined : formatValue(Math.max(maxValue - value, 0)) + } compact /> - ) : ( - null - )} + ) : null} - ) : ( - null - )} + ) : null} = maxValue ? 1 : value / maxValue} + width={ + stub || disabled || maxValue === 0 || value >= maxValue + ? 1 + : value / maxValue + } minWidth="4px" transition="width 300ms cubic-bezier(0.4, 0.0, 0.2, 1)" - children={stub ? ( - - ) : ( - - )} + children={ + stub ? ( + + ) : ( + + ) + } /> {!stub && !disabled && value < maxValue ? ( - + - ) : ( - null - )} + ) : null} {titleStart || titleEnd ? ( - + {titleStart ? ( = ({ children={titleStart} compact /> - ) : ( - null - )} + ) : null} {titleEnd ? ( @@ -110,14 +108,10 @@ export const ExtendedProgressBar: FC = ({ children={titleEnd} compact /> - ) : ( - null - )} + ) : null} - ) : ( - null - )} + ) : null} ) diff --git a/packages/mobile/src/main/ts/footer-app/FooterApp.tsx b/packages/mobile/src/main/ts/footer-app/FooterApp.tsx index b797aff47..acaab12aa 100644 --- a/packages/mobile/src/main/ts/footer-app/FooterApp.tsx +++ b/packages/mobile/src/main/ts/footer-app/FooterApp.tsx @@ -1,6 +1,7 @@ -import { BoxLnk, Flex, FlexItem, LinkControl, Stub } from '@qiwi/pijma-core' import React, { FC, ReactElement } from 'react' +import { BoxLnk, Flex, FlexItem, LinkControl, Stub } from '@qiwi/pijma-core' + interface FooterAppLinkProps { href: string target?: string diff --git a/packages/mobile/src/main/ts/footer-nav/FooterNav.tsx b/packages/mobile/src/main/ts/footer-nav/FooterNav.tsx index 423d24fff..997ff75e2 100644 --- a/packages/mobile/src/main/ts/footer-nav/FooterNav.tsx +++ b/packages/mobile/src/main/ts/footer-nav/FooterNav.tsx @@ -1,6 +1,7 @@ -import { Box, Flex, FlexItem } from '@qiwi/pijma-core' import React, { FC } from 'react' +import { Box, Flex, FlexItem } from '@qiwi/pijma-core' + import { NavLink, NavLinkProps } from '../nav-link' export interface FooterNavProps { diff --git a/packages/mobile/src/main/ts/footer-out/FooterOut.tsx b/packages/mobile/src/main/ts/footer-out/FooterOut.tsx index 9765abd06..65f3accd9 100644 --- a/packages/mobile/src/main/ts/footer-out/FooterOut.tsx +++ b/packages/mobile/src/main/ts/footer-out/FooterOut.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { Box, Card, @@ -9,7 +11,6 @@ import { LinkControl, Stub, } from '@qiwi/pijma-core' -import React, { FC } from 'react' interface FooterOutLinkProps { href: string diff --git a/packages/mobile/src/main/ts/glossary/Glossary.tsx b/packages/mobile/src/main/ts/glossary/Glossary.tsx index 201bd719f..0691c0bd9 100644 --- a/packages/mobile/src/main/ts/glossary/Glossary.tsx +++ b/packages/mobile/src/main/ts/glossary/Glossary.tsx @@ -1,6 +1,7 @@ -import { Box, Spacer } from '@qiwi/pijma-core' import React, { FC, ReactElement } from 'react' +import { Box, Spacer } from '@qiwi/pijma-core' + import { Text } from '../typography' type GlossaryText = ReactElement | string diff --git a/packages/mobile/src/main/ts/header/Header.tsx b/packages/mobile/src/main/ts/header/Header.tsx index 3d440fef3..48a801f1a 100644 --- a/packages/mobile/src/main/ts/header/Header.tsx +++ b/packages/mobile/src/main/ts/header/Header.tsx @@ -1,6 +1,7 @@ -import { Card, Pos } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Card, Pos } from '@qiwi/pijma-core' + interface HeaderProps { active?: boolean zIndex?: number @@ -8,7 +9,7 @@ interface HeaderProps { } export const Header: FC = ({ - zIndex = 10002, + zIndex = 10_002, active, children, }) => ( diff --git a/packages/mobile/src/main/ts/header/HeaderMenu.tsx b/packages/mobile/src/main/ts/header/HeaderMenu.tsx index 586b7b8da..6002efdc6 100644 --- a/packages/mobile/src/main/ts/header/HeaderMenu.tsx +++ b/packages/mobile/src/main/ts/header/HeaderMenu.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Box, Card, @@ -10,7 +12,6 @@ import { Pos, SimpleTransition, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' interface HeaderMenuProps { show: boolean diff --git a/packages/mobile/src/main/ts/hint/Hint.tsx b/packages/mobile/src/main/ts/hint/Hint.tsx index b3963333f..7dbc158c2 100644 --- a/packages/mobile/src/main/ts/hint/Hint.tsx +++ b/packages/mobile/src/main/ts/hint/Hint.tsx @@ -1,6 +1,7 @@ -import { Box, HintControl, QuestionIcon } from '@qiwi/pijma-core' import React, { FC, Fragment, ReactNode } from 'react' +import { Box, HintControl, QuestionIcon } from '@qiwi/pijma-core' + import { SimpleModal } from '../modal' import { Paragraph } from '../typography' diff --git a/packages/mobile/src/main/ts/input-modal/InputModal.tsx b/packages/mobile/src/main/ts/input-modal/InputModal.tsx index 21e68ff74..425fb11b2 100644 --- a/packages/mobile/src/main/ts/input-modal/InputModal.tsx +++ b/packages/mobile/src/main/ts/input-modal/InputModal.tsx @@ -1,3 +1,13 @@ +import React, { + ChangeEventHandler, + FC, + FocusEventHandler, + KeyboardEventHandler, + MouseEventHandler, + ReactNode, + RefObject, +} from 'react' + import { BoxPos, Card, @@ -13,15 +23,6 @@ import { SimpleTransition, styled, } from '@qiwi/pijma-core' -import React, { - ChangeEventHandler, - FC, - FocusEventHandler, - KeyboardEventHandler, - MouseEventHandler, - ReactNode, - RefObject, -} from 'react' const ContentTransition: ModalProps['transition'] = (props) => ( = (props) => ( renderDialog={(dialogProps) => ( = ({ size = 'm', children }) => ( ({ - ...prev, - ...{ - [tag]: { - component: overrides[tag], - props: { - size, - }, + overrides: Object.fromEntries( + Object.keys(overrides).map((tag) => [ + tag, + { + component: overrides[tag], + props: { + size, }, }, - }), - {}, + ]), ), }} /> diff --git a/packages/mobile/src/main/ts/menu/MenuCaption.tsx b/packages/mobile/src/main/ts/menu/MenuCaption.tsx index d2377a5ed..a1b5357a7 100644 --- a/packages/mobile/src/main/ts/menu/MenuCaption.tsx +++ b/packages/mobile/src/main/ts/menu/MenuCaption.tsx @@ -1,6 +1,7 @@ -import { Box } from '@qiwi/pijma-core' import React, { FC } from 'react' +import { Box } from '@qiwi/pijma-core' + import { Caption } from '../typography' interface MenuCaptionProps { diff --git a/packages/mobile/src/main/ts/menu/MenuContainer.tsx b/packages/mobile/src/main/ts/menu/MenuContainer.tsx index 8ff2d4e68..a03aba0b9 100644 --- a/packages/mobile/src/main/ts/menu/MenuContainer.tsx +++ b/packages/mobile/src/main/ts/menu/MenuContainer.tsx @@ -1,6 +1,7 @@ -import { Box } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Box } from '@qiwi/pijma-core' + export interface MenuContainerProps { children?: ReactNode } diff --git a/packages/mobile/src/main/ts/menu/MenuItem.tsx b/packages/mobile/src/main/ts/menu/MenuItem.tsx index 71773a071..eaad3cb9b 100644 --- a/packages/mobile/src/main/ts/menu/MenuItem.tsx +++ b/packages/mobile/src/main/ts/menu/MenuItem.tsx @@ -1,3 +1,5 @@ +import React, { forwardRef, ReactNode } from 'react' + import { Box, Flex, @@ -8,7 +10,6 @@ import { Stub, Typo, } from '@qiwi/pijma-core' -import React, { forwardRef, ReactNode } from 'react' import { Paragraph, Text } from '../typography' diff --git a/packages/mobile/src/main/ts/menu/MenuLink.tsx b/packages/mobile/src/main/ts/menu/MenuLink.tsx index 4ee7fefdd..14f588b73 100644 --- a/packages/mobile/src/main/ts/menu/MenuLink.tsx +++ b/packages/mobile/src/main/ts/menu/MenuLink.tsx @@ -1,6 +1,7 @@ -import { LinkControl, LinkControlProps, Lnk, styled } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { LinkControl, LinkControlProps, Lnk, styled } from '@qiwi/pijma-core' + import { MenuItem } from '../menu' export interface MenuLinkProps { diff --git a/packages/mobile/src/main/ts/modal/SimpleModal.tsx b/packages/mobile/src/main/ts/modal/SimpleModal.tsx index 4e40f0ed5..c63a0dc17 100644 --- a/packages/mobile/src/main/ts/modal/SimpleModal.tsx +++ b/packages/mobile/src/main/ts/modal/SimpleModal.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Box, Card, @@ -8,7 +10,6 @@ import { Pos, SimpleTransition, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' const ContentTransition: ModalProps['transition'] = (props) => ( = ({ onShow, onHide, backdropClose, - zIndex = 10050, + zIndex = 10_050, closable, }) => stub ? ( diff --git a/packages/mobile/src/main/ts/nav-link/NavLink.tsx b/packages/mobile/src/main/ts/nav-link/NavLink.tsx index 5720811b9..d0f72c602 100644 --- a/packages/mobile/src/main/ts/nav-link/NavLink.tsx +++ b/packages/mobile/src/main/ts/nav-link/NavLink.tsx @@ -1,6 +1,7 @@ -import { LinkControl, Stub, TypoLnk } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { LinkControl, Stub, TypoLnk } from '@qiwi/pijma-core' + export interface NavLinkProps { onClick?: ( href?: string, diff --git a/packages/mobile/src/main/ts/notice/Notice.tsx b/packages/mobile/src/main/ts/notice/Notice.tsx index 704944258..9b05e201c 100644 --- a/packages/mobile/src/main/ts/notice/Notice.tsx +++ b/packages/mobile/src/main/ts/notice/Notice.tsx @@ -1,6 +1,7 @@ -import { Flex, FlexItem, Spacer } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Flex, FlexItem, Spacer } from '@qiwi/pijma-core' + import { Heading, Paragraph } from '../typography/' export interface NoticeProps { diff --git a/packages/mobile/src/main/ts/oops/Oops.tsx b/packages/mobile/src/main/ts/oops/Oops.tsx index 849addd2e..ebaa2dfa2 100644 --- a/packages/mobile/src/main/ts/oops/Oops.tsx +++ b/packages/mobile/src/main/ts/oops/Oops.tsx @@ -1,6 +1,7 @@ -import { Card, Flex, FlexItem, Typo } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Card, Flex, FlexItem, Typo } from '@qiwi/pijma-core' + import { Heading, Paragraph } from '../typography' export interface OopsProps { diff --git a/packages/mobile/src/main/ts/pagination/Pagination.tsx b/packages/mobile/src/main/ts/pagination/Pagination.tsx index 17389575a..ebd3391a5 100644 --- a/packages/mobile/src/main/ts/pagination/Pagination.tsx +++ b/packages/mobile/src/main/ts/pagination/Pagination.tsx @@ -1,6 +1,7 @@ -import { Card, Icon, PaginationControl } from '@qiwi/pijma-core' import React, { FC } from 'react' +import { Card, Icon, PaginationControl } from '@qiwi/pijma-core' + import { Text } from '../typography' import { PaginationLink } from './PaginationLink' diff --git a/packages/mobile/src/main/ts/pagination/PaginationLink.tsx b/packages/mobile/src/main/ts/pagination/PaginationLink.tsx index ad5ff6a1e..f4ad624db 100644 --- a/packages/mobile/src/main/ts/pagination/PaginationLink.tsx +++ b/packages/mobile/src/main/ts/pagination/PaginationLink.tsx @@ -1,6 +1,7 @@ -import { CardLnk, Flex, LinkControl, Stub, Value } from '@qiwi/pijma-core' import React, { FC } from 'react' +import { CardLnk, Flex, LinkControl, Stub, Value } from '@qiwi/pijma-core' + export interface PaginationLinkProps { page: number disabled: boolean diff --git a/packages/mobile/src/main/ts/password-field/PasswordField.tsx b/packages/mobile/src/main/ts/password-field/PasswordField.tsx index 76ace6b2c..de4665bf1 100644 --- a/packages/mobile/src/main/ts/password-field/PasswordField.tsx +++ b/packages/mobile/src/main/ts/password-field/PasswordField.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { BasicInput, Box, @@ -5,7 +7,6 @@ import { InputField, PasswordFieldControl, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { PasswordFieldProps } from './PasswordFieldProps' diff --git a/packages/mobile/src/main/ts/password-field/PasswordFieldProps.ts b/packages/mobile/src/main/ts/password-field/PasswordFieldProps.ts index 3374a04de..d6679cb3b 100644 --- a/packages/mobile/src/main/ts/password-field/PasswordFieldProps.ts +++ b/packages/mobile/src/main/ts/password-field/PasswordFieldProps.ts @@ -1,6 +1,7 @@ -import { BasicInputProps, Mask, Pipe } from '@qiwi/pijma-core' import { KeyboardEvent, ReactNode } from 'react' +import { BasicInputProps, Mask, Pipe } from '@qiwi/pijma-core' + export interface PasswordFieldProps { value: string tabIndex?: number diff --git a/packages/mobile/src/main/ts/phone-field/PhoneField.tsx b/packages/mobile/src/main/ts/phone-field/PhoneField.tsx index b20be9626..34607e256 100644 --- a/packages/mobile/src/main/ts/phone-field/PhoneField.tsx +++ b/packages/mobile/src/main/ts/phone-field/PhoneField.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { BasicInput, Box, @@ -11,7 +13,6 @@ import { PhoneFieldControl, Pos, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { DropUp } from '../drop-up' import { Paragraph } from '../typography' diff --git a/packages/mobile/src/main/ts/phone-field/PhoneFieldProps.ts b/packages/mobile/src/main/ts/phone-field/PhoneFieldProps.ts index 724796557..f742c9f4a 100644 --- a/packages/mobile/src/main/ts/phone-field/PhoneFieldProps.ts +++ b/packages/mobile/src/main/ts/phone-field/PhoneFieldProps.ts @@ -1,6 +1,7 @@ -import { BasicInputProps, FlagProps, PhoneFieldCountry } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { BasicInputProps, FlagProps, PhoneFieldCountry } from '@qiwi/pijma-core' + export interface PhoneFieldProps { value: string countries: PhoneFieldCountry[] diff --git a/packages/mobile/src/main/ts/progress-bar/ProgressBar.tsx b/packages/mobile/src/main/ts/progress-bar/ProgressBar.tsx index ca785c399..f6577eeb5 100644 --- a/packages/mobile/src/main/ts/progress-bar/ProgressBar.tsx +++ b/packages/mobile/src/main/ts/progress-bar/ProgressBar.tsx @@ -1,6 +1,7 @@ -import { Card, Stub } from '@qiwi/pijma-core' import React, { FC } from 'react' +import { Card, Stub } from '@qiwi/pijma-core' + export interface ProgressBarProps { value: number disabled?: boolean diff --git a/packages/mobile/src/main/ts/radio-field/RadioField.tsx b/packages/mobile/src/main/ts/radio-field/RadioField.tsx index 0d30e6321..8cefd8faa 100644 --- a/packages/mobile/src/main/ts/radio-field/RadioField.tsx +++ b/packages/mobile/src/main/ts/radio-field/RadioField.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { Box, Flex, @@ -9,7 +11,6 @@ import { Spacer, Stub, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { RadioFieldOptionModel } from './RadioFieldOptionModel' import { RadioFieldProps } from './RadioFieldProps' diff --git a/packages/mobile/src/main/ts/radio-field/RadioFieldOptionModel.ts b/packages/mobile/src/main/ts/radio-field/RadioFieldOptionModel.ts index 4ad8c3ba6..57e9f7421 100644 --- a/packages/mobile/src/main/ts/radio-field/RadioFieldOptionModel.ts +++ b/packages/mobile/src/main/ts/radio-field/RadioFieldOptionModel.ts @@ -1,6 +1,7 @@ -import { OptionModel } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { OptionModel } from '@qiwi/pijma-core' + export interface RadioFieldOptionModel extends OptionModel { label: ReactNode description?: ReactNode diff --git a/packages/mobile/src/main/ts/radio-field/RadioFieldProps.ts b/packages/mobile/src/main/ts/radio-field/RadioFieldProps.ts index 4a0f57d6d..1fcfc349a 100644 --- a/packages/mobile/src/main/ts/radio-field/RadioFieldProps.ts +++ b/packages/mobile/src/main/ts/radio-field/RadioFieldProps.ts @@ -1,6 +1,7 @@ -import { OptionModel } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { OptionModel } from '@qiwi/pijma-core' + export interface RadioFieldProps, V> { title?: ReactNode hint?: ReactNode diff --git a/packages/mobile/src/main/ts/rating/Rating.tsx b/packages/mobile/src/main/ts/rating/Rating.tsx index 9ebeb99a3..62bc83556 100644 --- a/packages/mobile/src/main/ts/rating/Rating.tsx +++ b/packages/mobile/src/main/ts/rating/Rating.tsx @@ -1,6 +1,7 @@ -import { Flex, FlexItem, Icon, RatingControl, Stub } from '@qiwi/pijma-core' import React, { FC } from 'react' +import { Flex, FlexItem, Icon, RatingControl, Stub } from '@qiwi/pijma-core' + export interface RatingProps { value?: number size?: 's' | 'm' diff --git a/packages/mobile/src/main/ts/select-field/SelectField.tsx b/packages/mobile/src/main/ts/select-field/SelectField.tsx index 791173ce2..43ebcdceb 100644 --- a/packages/mobile/src/main/ts/select-field/SelectField.tsx +++ b/packages/mobile/src/main/ts/select-field/SelectField.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Card, CardPos, @@ -10,7 +12,6 @@ import { SelectInput, styled, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' import { DropUp } from '../drop-up' import { MenuItem } from '../menu' diff --git a/packages/mobile/src/main/ts/status/Status.tsx b/packages/mobile/src/main/ts/status/Status.tsx index 62a628382..92a866e5c 100644 --- a/packages/mobile/src/main/ts/status/Status.tsx +++ b/packages/mobile/src/main/ts/status/Status.tsx @@ -1,6 +1,7 @@ -import { Flex, FlexItem } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Flex, FlexItem } from '@qiwi/pijma-core' + import { Heading, Paragraph } from '../typography' export interface StatusProps { diff --git a/packages/mobile/src/main/ts/suggest-field/SuggestField.tsx b/packages/mobile/src/main/ts/suggest-field/SuggestField.tsx index 15c834b6d..490b9fa4f 100644 --- a/packages/mobile/src/main/ts/suggest-field/SuggestField.tsx +++ b/packages/mobile/src/main/ts/suggest-field/SuggestField.tsx @@ -1,3 +1,5 @@ +import React, { Fragment, isValidElement } from 'react' + import { BasicInput, Box, @@ -10,7 +12,6 @@ import { styled, SuggestControl, } from '@qiwi/pijma-core' -import React, { Fragment, isValidElement } from 'react' import { InputModal } from '../input-modal' import { Link } from '../link' diff --git a/packages/mobile/src/main/ts/suggest-field/SuggestFieldOptionModel.ts b/packages/mobile/src/main/ts/suggest-field/SuggestFieldOptionModel.ts index 619a19993..db4f844b3 100644 --- a/packages/mobile/src/main/ts/suggest-field/SuggestFieldOptionModel.ts +++ b/packages/mobile/src/main/ts/suggest-field/SuggestFieldOptionModel.ts @@ -1,6 +1,7 @@ -import { SuggestOptionModel } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { SuggestOptionModel } from '@qiwi/pijma-core' + export interface SuggestFieldOptionModel extends SuggestOptionModel { title: string logo: string diff --git a/packages/mobile/src/main/ts/suggest-field/SuggestFieldProps.ts b/packages/mobile/src/main/ts/suggest-field/SuggestFieldProps.ts index f2919bada..1d971b627 100644 --- a/packages/mobile/src/main/ts/suggest-field/SuggestFieldProps.ts +++ b/packages/mobile/src/main/ts/suggest-field/SuggestFieldProps.ts @@ -1,6 +1,7 @@ -import { SuggestControlProps } from '@qiwi/pijma-core' import { ReactElement, ReactNode } from 'react' +import { SuggestControlProps } from '@qiwi/pijma-core' + import { SuggestFieldOptionModel } from './SuggestFieldOptionModel' export interface SuggestFieldProps, V> { diff --git a/packages/mobile/src/main/ts/switch-field/SwitchField.tsx b/packages/mobile/src/main/ts/switch-field/SwitchField.tsx index f2c21790c..79e976c18 100644 --- a/packages/mobile/src/main/ts/switch-field/SwitchField.tsx +++ b/packages/mobile/src/main/ts/switch-field/SwitchField.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { Box, CheckboxControl, @@ -10,7 +12,6 @@ import { Stub, Tumbler, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { SwitchFieldOptionModel } from './SwitchFieldOptionModel' import { SwitchFieldProps } from './SwitchFieldProps' diff --git a/packages/mobile/src/main/ts/switch-field/SwitchFieldOptionModel.ts b/packages/mobile/src/main/ts/switch-field/SwitchFieldOptionModel.ts index 9fa98fc57..34dbd17a4 100644 --- a/packages/mobile/src/main/ts/switch-field/SwitchFieldOptionModel.ts +++ b/packages/mobile/src/main/ts/switch-field/SwitchFieldOptionModel.ts @@ -1,6 +1,7 @@ -import { OptionModel } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { OptionModel } from '@qiwi/pijma-core' + export interface SwitchFieldOptionModel extends OptionModel { label: ReactNode description?: ReactNode diff --git a/packages/mobile/src/main/ts/switch-field/SwitchFieldProps.ts b/packages/mobile/src/main/ts/switch-field/SwitchFieldProps.ts index ce4d8f127..41c0d6a15 100644 --- a/packages/mobile/src/main/ts/switch-field/SwitchFieldProps.ts +++ b/packages/mobile/src/main/ts/switch-field/SwitchFieldProps.ts @@ -1,6 +1,7 @@ -import { OptionModel } from '@qiwi/pijma-core' import { ReactNode } from 'react' +import { OptionModel } from '@qiwi/pijma-core' + export interface SwitchFieldProps, V> { title?: ReactNode hint?: ReactNode diff --git a/packages/mobile/src/main/ts/switch/Switch.tsx b/packages/mobile/src/main/ts/switch/Switch.tsx index e81d08746..0812a95d4 100644 --- a/packages/mobile/src/main/ts/switch/Switch.tsx +++ b/packages/mobile/src/main/ts/switch/Switch.tsx @@ -1,3 +1,5 @@ +import React, { FC } from 'react' + import { Box, Flex, @@ -8,7 +10,6 @@ import { SwitchControl, Tumbler, } from '@qiwi/pijma-core' -import React, { FC } from 'react' import { SwitchProps } from './SwitchProps' diff --git a/packages/mobile/src/main/ts/tabs/Tabs.tsx b/packages/mobile/src/main/ts/tabs/Tabs.tsx index 2dadfd748..6fee44cd4 100644 --- a/packages/mobile/src/main/ts/tabs/Tabs.tsx +++ b/packages/mobile/src/main/ts/tabs/Tabs.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { Flex, FlexItem, @@ -7,7 +9,6 @@ import { TabHeader, TabsControl, } from '@qiwi/pijma-core' -import React, { FC, ReactNode } from 'react' import { Paragraph } from '../typography' diff --git a/packages/mobile/src/main/ts/text-area-field/TextAreaField.tsx b/packages/mobile/src/main/ts/text-area-field/TextAreaField.tsx index 007e2cc11..fe8f0bb1d 100644 --- a/packages/mobile/src/main/ts/text-area-field/TextAreaField.tsx +++ b/packages/mobile/src/main/ts/text-area-field/TextAreaField.tsx @@ -1,9 +1,10 @@ +import React, { FC, KeyboardEvent, ReactNode } from 'react' + import { BasicTextArea, InputField, TextAreaFieldControl, } from '@qiwi/pijma-core' -import React, { FC, KeyboardEvent, ReactNode } from 'react' export interface TextAreaFieldProps { value: string diff --git a/packages/mobile/src/main/ts/text-field/TextField.tsx b/packages/mobile/src/main/ts/text-field/TextField.tsx index a8b6a70aa..9721635d3 100644 --- a/packages/mobile/src/main/ts/text-field/TextField.tsx +++ b/packages/mobile/src/main/ts/text-field/TextField.tsx @@ -1,6 +1,7 @@ -import { BasicInput, InputField, TextFieldControl } from '@qiwi/pijma-core' import React, { FC } from 'react' +import { BasicInput, InputField, TextFieldControl } from '@qiwi/pijma-core' + import { TextFieldProps } from './TextFieldProps' export const TextField: FC = (props) => diff --git a/packages/mobile/src/main/ts/text-field/TextFieldProps.ts b/packages/mobile/src/main/ts/text-field/TextFieldProps.ts index c176f7aae..fa87f83c0 100644 --- a/packages/mobile/src/main/ts/text-field/TextFieldProps.ts +++ b/packages/mobile/src/main/ts/text-field/TextFieldProps.ts @@ -1,6 +1,7 @@ -import { BasicInputProps, Mask, Pipe } from '@qiwi/pijma-core' import { KeyboardEvent, ReactNode, Ref } from 'react' +import { BasicInputProps, Mask, Pipe } from '@qiwi/pijma-core' + export interface TextFieldProps { value: string tabIndex?: number diff --git a/packages/mobile/src/main/ts/typography/Caption.tsx b/packages/mobile/src/main/ts/typography/Caption.tsx index b1652713e..f152a66e5 100644 --- a/packages/mobile/src/main/ts/typography/Caption.tsx +++ b/packages/mobile/src/main/ts/typography/Caption.tsx @@ -1,6 +1,7 @@ -import { Box, Breaker, Stub, Typo, TypoProps } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Box, Breaker, Stub, Typo, TypoProps } from '@qiwi/pijma-core' + export interface CaptionProps { color?: 'default' | 'support' | 'inverse' align?: TypoProps['align'] diff --git a/packages/mobile/src/main/ts/typography/Heading.tsx b/packages/mobile/src/main/ts/typography/Heading.tsx index c510f22d7..b94680584 100644 --- a/packages/mobile/src/main/ts/typography/Heading.tsx +++ b/packages/mobile/src/main/ts/typography/Heading.tsx @@ -1,6 +1,7 @@ -import { Box, Breaker, Stub, Typo, TypoProps } from '@qiwi/pijma-core' import React, { FC, Fragment, ReactNode } from 'react' +import { Box, Breaker, Stub, Typo, TypoProps } from '@qiwi/pijma-core' + export interface HeadingProps { tag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' size: '1' | '2' | '3' | '4' diff --git a/packages/mobile/src/main/ts/typography/Paragraph.tsx b/packages/mobile/src/main/ts/typography/Paragraph.tsx index 9238a3594..367c710d5 100644 --- a/packages/mobile/src/main/ts/typography/Paragraph.tsx +++ b/packages/mobile/src/main/ts/typography/Paragraph.tsx @@ -1,6 +1,7 @@ -import { Box, Breaker, Stub, Typo, TypoProps } from '@qiwi/pijma-core' import React, { FC, Fragment, ReactNode } from 'react' +import { Box, Breaker, Stub, Typo, TypoProps } from '@qiwi/pijma-core' + export interface ParagraphProps { size?: 's' | 'm' | 'l' bold?: boolean diff --git a/packages/mobile/src/main/ts/typography/Text.tsx b/packages/mobile/src/main/ts/typography/Text.tsx index d05476143..96781bde4 100644 --- a/packages/mobile/src/main/ts/typography/Text.tsx +++ b/packages/mobile/src/main/ts/typography/Text.tsx @@ -1,6 +1,7 @@ -import { Box, Breaker, Stub, Typo, TypoProps } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Box, Breaker, Stub, Typo, TypoProps } from '@qiwi/pijma-core' + export interface TextProps { display?: 'block' | 'inline' | 'inline-block' size?: 's' | 'm' | 'l' diff --git a/packages/mobile/src/main/ts/typography/Title.tsx b/packages/mobile/src/main/ts/typography/Title.tsx index 1c74f6901..00ad1b416 100644 --- a/packages/mobile/src/main/ts/typography/Title.tsx +++ b/packages/mobile/src/main/ts/typography/Title.tsx @@ -1,6 +1,7 @@ -import { Box, Breaker, Stub, Typo, TypoProps } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { Box, Breaker, Stub, Typo, TypoProps } from '@qiwi/pijma-core' + export interface TitleProps { tag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' size: '1' | '2' diff --git a/packages/mobile/src/main/webapp/components/ComponentsListRenderer.tsx b/packages/mobile/src/main/webapp/components/ComponentsListRenderer.tsx index ec3671f37..c71ac9bfb 100644 --- a/packages/mobile/src/main/webapp/components/ComponentsListRenderer.tsx +++ b/packages/mobile/src/main/webapp/components/ComponentsListRenderer.tsx @@ -1,6 +1,7 @@ -import { Caption, Flex, FlexItem, Link } from '@qiwi/pijma-mobile' import React, { FC, Fragment, ReactNode } from 'react' +import { Caption, Flex, FlexItem, Link } from '../../ts' + interface ComponentsListRendererProps { items: Array<{ heading: boolean @@ -13,7 +14,7 @@ interface ComponentsListRendererProps { const ComponentsListRenderer: FC = (props) => { const items = props.items.filter((item) => item.visibleName) - if (!items.length) { + if (items.length === 0) { return null } return ( diff --git a/packages/mobile/src/main/webapp/components/Heading.tsx b/packages/mobile/src/main/webapp/components/Heading.tsx index 9d2b06628..56865bc35 100644 --- a/packages/mobile/src/main/webapp/components/Heading.tsx +++ b/packages/mobile/src/main/webapp/components/Heading.tsx @@ -1,6 +1,7 @@ -import { Heading, HeadingProps } from '@qiwi/pijma-mobile' import React, { FC, ReactNode } from 'react' +import { Heading, HeadingProps } from '../../ts' + interface HeadingRendererProps { level: '1' | '2' | '3' | '4' | '5' | '6' children?: ReactNode diff --git a/packages/mobile/src/main/webapp/components/Link.tsx b/packages/mobile/src/main/webapp/components/Link.tsx index 7d43a2af5..9e6c8d9d3 100644 --- a/packages/mobile/src/main/webapp/components/Link.tsx +++ b/packages/mobile/src/main/webapp/components/Link.tsx @@ -1,6 +1,7 @@ -import { Link, LinkProps } from '@qiwi/pijma-mobile' import React, { FC } from 'react' +import { Link, LinkProps } from '../../ts' + const LinkRenderer: FC = (props) => export default LinkRenderer diff --git a/packages/mobile/src/main/webapp/components/Markdown/MarkdownHeading.tsx b/packages/mobile/src/main/webapp/components/Markdown/MarkdownHeading.tsx index 3129948e7..ca8107165 100644 --- a/packages/mobile/src/main/webapp/components/Markdown/MarkdownHeading.tsx +++ b/packages/mobile/src/main/webapp/components/Markdown/MarkdownHeading.tsx @@ -1,7 +1,9 @@ -import { Box } from '@qiwi/pijma-core' -import { Heading, HeadingProps } from '@qiwi/pijma-mobile' import React, { FC, ReactNode } from 'react' +import { Box } from '@qiwi/pijma-core' + +import { Heading, HeadingProps } from '../../../ts' + interface HeadingRendererProps { level: '1' | '2' | '3' | '4' | '5' | '6' children?: ReactNode diff --git a/packages/mobile/src/main/webapp/components/Para.tsx b/packages/mobile/src/main/webapp/components/Para.tsx index c65e6dc39..03e474b97 100644 --- a/packages/mobile/src/main/webapp/components/Para.tsx +++ b/packages/mobile/src/main/webapp/components/Para.tsx @@ -1,7 +1,9 @@ -import { Box } from '@qiwi/pijma-core' -import { Paragraph, ParagraphProps } from '@qiwi/pijma-mobile' import React, { FC, ReactNode } from 'react' +import { Box } from '@qiwi/pijma-core' + +import { Paragraph, ParagraphProps } from '../../ts' + interface ParagraphRendererProps { children?: ReactNode } diff --git a/packages/mobile/src/main/webapp/components/ReactComponentRenderer.tsx b/packages/mobile/src/main/webapp/components/ReactComponentRenderer.tsx index e4a4ce9c8..79b3b5704 100644 --- a/packages/mobile/src/main/webapp/components/ReactComponentRenderer.tsx +++ b/packages/mobile/src/main/webapp/components/ReactComponentRenderer.tsx @@ -1,5 +1,7 @@ -import { Spacer } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' + +import { Spacer } from '@qiwi/pijma-core' + // @ts-ignore import Pathline from 'rsg-components/Pathline' diff --git a/packages/mobile/src/main/webapp/components/SectionHeadingRenderer.tsx b/packages/mobile/src/main/webapp/components/SectionHeadingRenderer.tsx index 18aeb9e7f..9a1ff1795 100644 --- a/packages/mobile/src/main/webapp/components/SectionHeadingRenderer.tsx +++ b/packages/mobile/src/main/webapp/components/SectionHeadingRenderer.tsx @@ -1,6 +1,7 @@ -import { Heading } from '@qiwi/pijma-mobile' import React, { FC, ReactNode } from 'react' +import { Heading } from '../../ts' + interface SectionHeadingRendererProps { toolbar: ReactNode id: string diff --git a/packages/mobile/src/main/webapp/components/SectionRenderer.tsx b/packages/mobile/src/main/webapp/components/SectionRenderer.tsx index b1e7ddfef..de3c0584c 100644 --- a/packages/mobile/src/main/webapp/components/SectionRenderer.tsx +++ b/packages/mobile/src/main/webapp/components/SectionRenderer.tsx @@ -1,7 +1,10 @@ -import { Spacer } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' + +import { Spacer } from '@qiwi/pijma-core' + // @ts-ignore import SectionHeading from 'rsg-components/SectionHeading' + // @ts-ignore // import Markdown from 'rsg-components/Markdown' diff --git a/packages/mobile/src/main/webapp/components/StyleGuideRenderer.tsx b/packages/mobile/src/main/webapp/components/StyleGuideRenderer.tsx index f2e81145b..6639f5b2b 100644 --- a/packages/mobile/src/main/webapp/components/StyleGuideRenderer.tsx +++ b/packages/mobile/src/main/webapp/components/StyleGuideRenderer.tsx @@ -1,3 +1,5 @@ +import React, { FC, ReactNode } from 'react' + import { applyDefaultClickHandler, cache, @@ -12,8 +14,7 @@ import { reset, ThemeProvider, themes, -} from '@qiwi/pijma-mobile' -import React, { FC, ReactNode } from 'react' +} from '../../ts' applyDefaultClickHandler() diff --git a/packages/mobile/src/main/webapp/components/TableOfContentsRenderer.tsx b/packages/mobile/src/main/webapp/components/TableOfContentsRenderer.tsx index 0d113547d..c2d4aa010 100644 --- a/packages/mobile/src/main/webapp/components/TableOfContentsRenderer.tsx +++ b/packages/mobile/src/main/webapp/components/TableOfContentsRenderer.tsx @@ -1,6 +1,7 @@ -import { Icon, Spacer, TextField } from '@qiwi/pijma-mobile' import React, { FC, ReactNode } from 'react' +import { Icon, Spacer, TextField } from '../../ts' + interface TableOfContentsRendererProps { searchTerm: string onSearchTermChange: (value: string) => void diff --git a/packages/mobile/src/main/webapp/components/Wrapper.tsx b/packages/mobile/src/main/webapp/components/Wrapper.tsx index f3d75a45d..9fa14c09b 100644 --- a/packages/mobile/src/main/webapp/components/Wrapper.tsx +++ b/packages/mobile/src/main/webapp/components/Wrapper.tsx @@ -1,6 +1,7 @@ -import { ThemeProvider, themes } from '@qiwi/pijma-core' import React, { FC, ReactNode } from 'react' +import { ThemeProvider, themes } from '@qiwi/pijma-core' + interface WrapperProps { children?: ReactNode } diff --git a/packages/mobile/src/main/webapp/components/slots/IsolateButton.tsx b/packages/mobile/src/main/webapp/components/slots/IsolateButton.tsx index 20941855d..5016ba062 100644 --- a/packages/mobile/src/main/webapp/components/slots/IsolateButton.tsx +++ b/packages/mobile/src/main/webapp/components/slots/IsolateButton.tsx @@ -3,6 +3,7 @@ import React, { FC } from 'react' import { MdFullscreen, MdFullscreenExit } from 'react-icons/md' // @ts-ignore import getUrl from 'react-styleguidist/lib/client/utils/getUrl' + // @ts-ignore import ToolbarButton from 'rsg-components/ToolbarButton' diff --git a/packages/mobile/src/main/webapp/require.js b/packages/mobile/src/main/webapp/require.js deleted file mode 100644 index 8495957ca..000000000 --- a/packages/mobile/src/main/webapp/require.js +++ /dev/null @@ -1,3 +0,0 @@ -import * as mobile from '@qiwi/pijma-mobile' - -Object.assign(window, mobile) diff --git a/packages/mobile/src/main/webapp/require.ts b/packages/mobile/src/main/webapp/require.ts new file mode 100644 index 000000000..80cda262f --- /dev/null +++ b/packages/mobile/src/main/webapp/require.ts @@ -0,0 +1,3 @@ +import * as mobile from '../ts' + +Object.assign(window, mobile) diff --git a/packages/mobile/styleguide.config.cjs b/packages/mobile/styleguide.config.cjs index 2294b2963..e96789e12 100644 --- a/packages/mobile/styleguide.config.cjs +++ b/packages/mobile/styleguide.config.cjs @@ -1,21 +1,22 @@ -module.exports = require('../infra/styleguide.config')({ - components: ['@qiwi/pijma-core', '@qiwi/pijma-mobile'], +module.exports = require('../../styleguide.config')({ cwd: __dirname, - extra: { - title: 'QIWI Wallet Web Mobile Guide', - serverPort: 7070, - theme: { - borderRadius: '10px', - fontFamily: { - base: '"Museo Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif', - monospace: 'monospace', - }, - mq: { - small: '@media (min-width: 0px)', - }, - color: { - codeBackground: '#fff', - }, + dirs: [ + '../core', + '../mobile', + ], + title: 'QIWI Wallet Web Mobile Guide', + serverPort: 7070, + theme: { + borderRadius: '10px', + fontFamily: { + base: '"Museo Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif', + monospace: 'monospace', + }, + mq: { + small: '@media (min-width: 0px)', + }, + color: { + codeBackground: '#fff', }, }, }) diff --git a/packages/core/swc.es5.json b/packages/mobile/swc.cjs.json similarity index 88% rename from packages/core/swc.es5.json rename to packages/mobile/swc.cjs.json index ed56ae66c..0fafa72c5 100644 --- a/packages/core/swc.es5.json +++ b/packages/mobile/swc.cjs.json @@ -4,8 +4,7 @@ "parser": { "syntax": "typescript", "tsx": true, - "decorators": true, - "dts": true + "decorators": true }, "transform": { "react": { diff --git a/packages/mobile/swc.es6.json b/packages/mobile/swc.esm.json similarity index 82% rename from packages/mobile/swc.es6.json rename to packages/mobile/swc.esm.json index 0a5a58af7..87fc057d1 100644 --- a/packages/mobile/swc.es6.json +++ b/packages/mobile/swc.esm.json @@ -4,15 +4,14 @@ "parser": { "syntax": "typescript", "tsx": true, - "decorators": true, - "dts": true + "decorators": true }, "transform": { "react": { "runtime": "automatic" } }, - "target": "es2021", + "target": "es2022", "loose": true, "externalHelpers": true }, diff --git a/packages/mobile/tsconfig.dts.json b/packages/mobile/tsconfig.dts.json index 0c7cf449c..c39c34441 100644 --- a/packages/mobile/tsconfig.dts.json +++ b/packages/mobile/tsconfig.dts.json @@ -1,16 +1,16 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "composite": true, + "declaration": true, + "emitDeclarationOnly": true, "rootDir": "./src/main/ts", - "baseUrl": "./src/main/ts", "declarationDir": "./target/dts", - "emitDeclarationOnly": true + "tsBuildInfoFile": "./target/dts/.tsbuildinfo" }, - "include": [ - "./src/main/ts" - ], - "exclude": [ - "./target", - "./node_modules" + "references": [ + { + "path": "../core/tsconfig.dts.json" + } ] } diff --git a/packages/mobile/tsconfig.json b/packages/mobile/tsconfig.json index 4082f16a5..d21c7f3c2 100644 --- a/packages/mobile/tsconfig.json +++ b/packages/mobile/tsconfig.json @@ -1,3 +1,27 @@ { - "extends": "../../tsconfig.json" + "compilerOptions": { + "module": "es2022", + "target": "es2022", + "moduleResolution": "node", + "jsx": "react-jsx", + "strict": true, + "skipLibCheck": true, + "esModuleInterop": true, + "isolatedModules": true, + "resolveJsonModule": true, + "removeComments": true, + "importHelpers": true, + "baseUrl": "./", + "paths": { + "@qiwi/pijma-core": [ + "../core/src/main/ts" + ] + } + }, + "include": [ + "./src/main/ts" + ], + "exclude": [ + "./node_modules" + ] } diff --git a/packages/ssr/.eslintrc.cjs b/packages/ssr/.eslintrc.cjs deleted file mode 100644 index 482ecd2a8..000000000 --- a/packages/ssr/.eslintrc.cjs +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../infra/.eslintrc.js') diff --git a/packages/ssr/.eslintrc.json b/packages/ssr/.eslintrc.json new file mode 100644 index 000000000..2c94df5b2 --- /dev/null +++ b/packages/ssr/.eslintrc.json @@ -0,0 +1,27 @@ +{ + "rules": { + "no-constant-condition": "off", + "@typescript-eslint/ban-ts-comment": "off", + "@typescript-eslint/ban-types": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-unused-vars": "off", + "react/no-children-prop": "off", + "react/no-find-dom-node": "off", + "sonarjs/cognitive-complexity": "off", + "sonarjs/no-duplicate-string": "off", + "unicorn/no-negated-condition": "off", + "unicorn/no-new-array": "off", + "unicorn/prefer-add-event-listener": "off", + "unicorn/prefer-dom-node-append": "off", + "unicorn/prefer-dom-node-remove": "off", + "unicorn/prefer-logical-operator-over-ternary": "off", + "unicorn/prefer-number-properties": "off", + "unicorn/prefer-optional-catch-binding": "off", + "unicorn/prefer-regexp-test": "off", + "unicorn/prefer-set-has": "off", + "unicorn/prefer-spread": "off", + "unicorn/prefer-string-slice": "off" + }, + "extends": "eslint-config-qiwi" +} diff --git a/packages/ssr/.gitignore b/packages/ssr/.gitignore new file mode 100644 index 000000000..050c60358 --- /dev/null +++ b/packages/ssr/.gitignore @@ -0,0 +1,2 @@ +/node_modules +/target diff --git a/packages/ssr/.prettierrc.cjs b/packages/ssr/.prettierrc.cjs deleted file mode 100644 index c07e99a54..000000000 --- a/packages/ssr/.prettierrc.cjs +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../infra/.prettierrc.js') diff --git a/packages/ssr/.prettierrc.json b/packages/ssr/.prettierrc.json new file mode 100644 index 000000000..761e7cafc --- /dev/null +++ b/packages/ssr/.prettierrc.json @@ -0,0 +1 @@ +"prettier-config-qiwi" diff --git a/packages/ssr/.releaserc.cjs b/packages/ssr/.releaserc.cjs deleted file mode 100644 index 0db86ee95..000000000 --- a/packages/ssr/.releaserc.cjs +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - сmd: 'yarn', -} diff --git a/packages/ssr/.releaserc.json b/packages/ssr/.releaserc.json new file mode 100644 index 000000000..81606234c --- /dev/null +++ b/packages/ssr/.releaserc.json @@ -0,0 +1,4 @@ +{ + "cmd": "yarn", + "changelog": "changelog" +} diff --git a/packages/ssr/LICENSE b/packages/ssr/LICENSE new file mode 100644 index 000000000..b32169c3c --- /dev/null +++ b/packages/ssr/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 QIWI + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/ssr/package.json b/packages/ssr/package.json index d308ad71c..11a892e49 100644 --- a/packages/ssr/package.json +++ b/packages/ssr/package.json @@ -1,54 +1,43 @@ { "name": "@qiwi/pijma-ssr", "version": "0.0.0", - "type": "module", - "main": "./target/es5/index.js", - "module": "./target/es6/index.js", - "types": "./target/dts/index.d.ts", - "exports": { - ".": { - "types": "./target/dts/index.d.ts", - "import": "./target/es6/index.js", - "require": "./target/es5/index.js" - } - }, - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "scripts": { - "clean": "rimraf target node_modules", - "build": "concurrently 'npm:build:*'", - "build:es5": "cd src/main && swc ts -d ../../target/es5 --config-file ../../swc.es5.json && cd ../.. && tsc-esm-fix --target=target/es5 --fillBlank", - "build:es6": "cd src/main && swc ts -d ../../target/es6 --config-file ../../swc.es6.json && cd ../.. && tsc-esm-fix --target=target/es6 --fillBlank", - "build:dts": "tsc --project tsconfig.dts.json", - "format": "eslint --fix src && prettier --loglevel silent --write src", - "lint": "eslint src" - }, - "files": [ - "target/dts/**/*", - "target/es5/**/*", - "target/es6/**/*" + "packasso": [ + "@packasso/dev-ts", + "@packasso/dev-license", + "@packasso/build-ts-swc", + "@packasso/style-eslint", + "@packasso/style-prettier", + "@packasso/release-zx-semrel" ], "dependencies": { "@emotion/server": "^11.10.0" }, "devDependencies": { - "@qiwi/pijma-infra": "workspace:*", - "concurrently": "7.4.0", + "@packasso/build-ts-swc": "0.17.2", + "@packasso/cli": "0.16.1", + "@packasso/dev-license": "0.10.1", + "@packasso/dev-ts": "0.17.1", + "@packasso/release-zx-semrel": "0.16.1", + "@packasso/style-eslint": "0.1.1", + "@packasso/style-prettier": "0.1.1", + "@swc/cli": "0.1.62", + "@swc/core": "1.3.37", + "@swc/helpers": "0.4.14", + "concurrently": "7.6.0", "css-loader": "6.7.1", - "eslint": "8.23.0", - "eslint-config-qiwi": "1.17.6", - "fast-glob": "3.2.11", + "eslint": "8.35.0", + "eslint-config-qiwi": "2.0.9", "file-loader": "6.2.0", - "prettier": "2.7.1", - "prettier-config-qiwi": "1.7.2", + "globby-cp": "1.1.3", + "prettier": "2.8.4", + "prettier-config-qiwi": "2.0.1", "react-docgen-typescript": "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch", "react-styleguidist": "12.0.0", + "rimraf": "4.2.0", "style-loader": "3.3.1", - "tsc-esm-fix": "2.20.4", - "typescript": "4.8.2", - "webpack": "5.74.0" + "tsc-esm-fix": "2.20.12", + "typescript": "4.9.5", + "webpack": "5.75.0" }, "repository": { "type": "git", @@ -57,5 +46,31 @@ "bugs": { "url": "https://github.com/qiwi/pijma/issues" }, - "homepage": "https://github.com/qiwi/pijma/#readme" + "homepage": "https://github.com/qiwi/pijma/#readme", + "scripts": { + "build": "packasso build", + "lint": "packasso lint", + "format": "packasso format" + }, + "license": "MIT", + "type": "module", + "main": "./target/cjs/index.cjs", + "module": "./target/esm/index.mjs", + "types": "./target/dts/index.d.ts", + "exports": { + ".": { + "require": "./target/cjs/index.cjs", + "import": "./target/esm/index.mjs", + "types": "./target/dts/index.d.ts" + }, + "./package.json": "./package.json" + }, + "files": [ + "target/cjs/**/*", + "target/esm/**/*", + "target/dts/**/*" + ], + "publishConfig": { + "access": "public" + } } diff --git a/packages/ssr/src/main/ts/emotionServer.ts b/packages/ssr/src/main/ts/emotionServer.ts index b94880423..fb72b4c09 100644 --- a/packages/ssr/src/main/ts/emotionServer.ts +++ b/packages/ssr/src/main/ts/emotionServer.ts @@ -1,3 +1 @@ -import createEmotionServer from '@emotion/server/create-instance' - -export { createEmotionServer } +export { default as createEmotionServer } from '@emotion/server/create-instance' diff --git a/packages/ssr/swc.cjs.json b/packages/ssr/swc.cjs.json new file mode 100644 index 000000000..0fafa72c5 --- /dev/null +++ b/packages/ssr/swc.cjs.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://json.schemastore.org/swcrc", + "jsc": { + "parser": { + "syntax": "typescript", + "tsx": true, + "decorators": true + }, + "transform": { + "react": { + "runtime": "automatic" + } + }, + "target": "es5", + "loose": true, + "externalHelpers": true + }, + "module": { + "type": "commonjs" + }, + "minify": false +} diff --git a/packages/ssr/swc.es5.json b/packages/ssr/swc.es5.json deleted file mode 100644 index ed56ae66c..000000000 --- a/packages/ssr/swc.es5.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/swcrc", - "jsc": { - "parser": { - "syntax": "typescript", - "tsx": true, - "decorators": true, - "dts": true - }, - "transform": { - "react": { - "runtime": "automatic" - } - }, - "target": "es5", - "loose": true, - "externalHelpers": true - }, - "module": { - "type": "commonjs" - }, - "minify": false -} diff --git a/packages/ssr/swc.es6.json b/packages/ssr/swc.es6.json deleted file mode 100644 index 0a5a58af7..000000000 --- a/packages/ssr/swc.es6.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/swcrc", - "jsc": { - "parser": { - "syntax": "typescript", - "tsx": true, - "decorators": true, - "dts": true - }, - "transform": { - "react": { - "runtime": "automatic" - } - }, - "target": "es2021", - "loose": true, - "externalHelpers": true - }, - "module": { - "type": "es6" - }, - "minify": false -} diff --git a/packages/ssr/swc.esm.json b/packages/ssr/swc.esm.json new file mode 100644 index 000000000..87fc057d1 --- /dev/null +++ b/packages/ssr/swc.esm.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://json.schemastore.org/swcrc", + "jsc": { + "parser": { + "syntax": "typescript", + "tsx": true, + "decorators": true + }, + "transform": { + "react": { + "runtime": "automatic" + } + }, + "target": "es2022", + "loose": true, + "externalHelpers": true + }, + "module": { + "type": "es6" + }, + "minify": false +} diff --git a/packages/ssr/tsconfig.dts.json b/packages/ssr/tsconfig.dts.json index 0c7cf449c..c4227a190 100644 --- a/packages/ssr/tsconfig.dts.json +++ b/packages/ssr/tsconfig.dts.json @@ -1,16 +1,12 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "composite": true, + "declaration": true, + "emitDeclarationOnly": true, "rootDir": "./src/main/ts", - "baseUrl": "./src/main/ts", "declarationDir": "./target/dts", - "emitDeclarationOnly": true + "tsBuildInfoFile": "./target/dts/.tsbuildinfo" }, - "include": [ - "./src/main/ts" - ], - "exclude": [ - "./target", - "./node_modules" - ] + "references": [] } diff --git a/packages/ssr/tsconfig.json b/packages/ssr/tsconfig.json index 4082f16a5..46c0545e6 100644 --- a/packages/ssr/tsconfig.json +++ b/packages/ssr/tsconfig.json @@ -1,3 +1,23 @@ { - "extends": "../../tsconfig.json" + "compilerOptions": { + "module": "es2022", + "target": "es2022", + "moduleResolution": "node", + "jsx": "react-jsx", + "strict": true, + "skipLibCheck": true, + "esModuleInterop": true, + "isolatedModules": true, + "resolveJsonModule": true, + "removeComments": true, + "importHelpers": true, + "baseUrl": "./", + "paths": {} + }, + "include": [ + "./src/main/ts" + ], + "exclude": [ + "./node_modules" + ] } diff --git a/styleguide.config.js b/styleguide.config.js new file mode 100644 index 000000000..022f718a1 --- /dev/null +++ b/styleguide.config.js @@ -0,0 +1,214 @@ +/* eslint-disable */ + +const path = require('path') +const fs = require('fs') +const docgen = require('react-docgen-typescript') +const glob = require('fast-glob') +const { TsconfigPathsPlugin } = require('tsconfig-paths-webpack-plugin') + +const readFiles = (dir) => + glob.sync(['**/*'], { + cwd: dir, + onlyFiles: true, + absolute: true, + }) + +module.exports = ({ cwd, dirs = [], ...extra }) => { + const styleguideRoot = path.resolve(cwd, 'src', 'main', 'webapp') + const styleguideComponentsRoot = path.resolve(styleguideRoot, 'components') + + const packages = Object.fromEntries( + dirs + .map((dir) => path.resolve(cwd, dir)) + .map((dir) => [ + JSON.parse(fs.readFileSync(path.resolve(dir, 'package.json'), 'utf8')) + .name, + dir, + ]), + ) + + const components = Object.values(packages).map( + (dir) => `${dir}/src/main/ts/**/*.{js,jsx,ts,tsx}`, + ) + + return { + propsParser: docgen.parse, + serverPort: 8080, + styleguideDir: path.resolve(cwd, 'target', 'webapp'), + styleguideComponents: readFiles(styleguideComponentsRoot).reduce( + (components, file) => + Object.assign(components, { + [path + .relative(styleguideComponentsRoot, file) + .slice(0, -1 * path.extname(file).length)]: file, + }), + {}, + ), + styles: { + Playground: { + root: { + marginTop: 20, + marginBottom: 48, + }, + preview: { + padding: 0, + border: 0, + borderRadius: 0, + }, + controls: { + marginTop: 16, + marginBottom: 16, + }, + }, + Editor: { + root: { + '& .cm-s-base16-light.CodeMirror': { + isolate: false, + background: 'none', + border: '1px solid #e6e6e6', + borderRadius: '10px', + }, + }, + }, + }, + theme: {}, + template: { + head: { + links: [ + { + rel: 'stylesheet', + href: 'https://static.qiwi.com/fonts/museo-sans/v2/index.css', + }, + ], + }, + }, + require: [path.resolve(styleguideRoot, 'require.ts')], + ignore: ['**/*/index.{js,jsx,ts,tsx}'], + skipComponentsWithoutExample: true, + getComponentPathLine(componentPath) { + return `import { ${path.basename( + componentPath, + path.extname(componentPath), + )} } from '${Object.keys(packages).find((key) => + path.resolve(componentPath).startsWith(packages[key]), + )}'` + }, + getExampleFilename(componentPath) { + return path.resolve( + path.dirname(componentPath), + `${path.basename(componentPath, path.extname(componentPath))}.md`, + ) + }, + updateExample: (params, example) => { + const { settings, lang, content } = params + if (!settings) { + return params + } + const props = {} + if (settings.actions) { + props['data-action-states'] = JSON.stringify([ + ...[ + { + action: 'none', + ...(settings.wait ? { wait: settings.wait } : {}), + }, + ], + ...settings.actions, + ]) + } else if (settings.wait) { + props['data-action-states'] = JSON.stringify([ + { + action: 'none', + wait: settings.wait, + }, + ]) + } + if (settings.id) { + props['data-description'] = settings.id + } + return { + settings: { + ...settings, + props: { + ...(settings.props || {}), + ...props, + }, + }, + lang, + content, + } + }, + mountPointId: 'root', + pagePerSection: true, + sections: [ + { + name: 'Главная', + content: path.resolve(styleguideRoot, 'Index.md'), + sectionDepth: Number.MAX_VALUE, + }, + { + name: 'Компоненты', + components, + sectionDepth: Number.MAX_VALUE, + }, + ], + logger: { + info: () => null, + warn: () => null, + }, + webpackConfig: { + target: 'web', + module: { + rules: [ + { + test: /\.[cm]?[jt]sx?$/, + use: { + loader: 'swc-loader', + options: { + jsc: { + transform: { + react: { + runtime: 'automatic', + }, + }, + }, + }, + }, + exclude: /node_modules/, + }, + { + test: /\.(?:png|jpg|gif|ico|eot|woff|woff2|ttf|svg)?$/, + use: [ + { + loader: 'file-loader', + options: { + name: '[name].[hash].[ext]', + }, + }, + ], + }, + { + test: /\.(?:css)?$/, + use: [ + { + loader: 'style-loader', + }, + { + loader: 'css-loader', + }, + ], + }, + ], + }, + resolve: { + extensions: ['.tsx', '.ts', '.jsx', '.js'], + plugins: [new TsconfigPathsPlugin()], + }, + devServer: { + historyApiFallback: true, + allowedHosts: 'all', + }, + }, + ...extra, + } +} diff --git a/tsconfig.dts.json b/tsconfig.dts.json new file mode 100644 index 000000000..69c31dbd8 --- /dev/null +++ b/tsconfig.dts.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "rootDir": "./" + }, + "references": [ + { + "path": "./packages/core/tsconfig.dts.json" + }, + { + "path": "./packages/desktop/tsconfig.dts.json" + }, + { + "path": "./packages/desktop-extra/tsconfig.dts.json" + }, + { + "path": "./packages/mobile/tsconfig.dts.json" + }, + { + "path": "./packages/ssr/tsconfig.dts.json" + } + ], + "files": [] +} diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index 47ed2f48b..000000000 --- a/tsconfig.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "moduleResolution": "node", - "esModuleInterop": true, - "target": "es5", - "lib": [ - "esnext", - "dom" - ], - "strict": true, - "sourceMap": false, - "declaration": true, - "jsx": "react", - "noEmitHelpers": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "importHelpers": true, - "skipLibCheck": true, - "allowSyntheticDefaultImports": true, - "rootDir": "./", - "baseUrl": "./", - "paths": { - "@qiwi/pijma-core": [ - "./packages/core/src/main/ts" - ], - "@qiwi/pijma-desktop": [ - "./packages/desktop/src/main/ts" - ], - "@qiwi/pijma-desktop-extra": [ - "./packages/desktop-extra/src/main/ts" - ], - "@qiwi/pijma-mobile": [ - "./packages/mobile/src/main/ts" - ], - "@qiwi/pijma-ssr": [ - "./packages/ssr/src/main/ts" - ] - } - } -} diff --git a/yarn.lock b/yarn.lock index 9e610966f..ebd9e6487 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,7 +5,7 @@ __metadata: version: 7 cacheKey: 9 -"@ampproject/remapping@npm:^2.1.0": +"@ampproject/remapping@npm:^2.1.0, @ampproject/remapping@npm:^2.2.0": version: 2.2.0 resolution: "@ampproject/remapping@npm:2.2.0" dependencies: @@ -15,7 +15,17 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.18.6, @babel/code-frame@npm:^7.8.3": +"@antongolub/git-root@npm:1.5.10": + version: 1.5.10 + resolution: "@antongolub/git-root@npm:1.5.10" + dependencies: + "@qiwi/substrate": "npm:^2.0.0" + tslib: "npm:^2.5.0" + checksum: 84f67e0412d10da2c125c9e17a6705faa7d613c25d2abe6196bdf851b0f0aa68b6f157f6618844274a32462fe05dde48530b10dfd697b36537c63e4a4848af40 + languageName: node + linkType: hard + +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.18.6, @babel/code-frame@npm:^7.8.3": version: 7.18.6 resolution: "@babel/code-frame@npm:7.18.6" dependencies: @@ -31,7 +41,60 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.7.5": +"@babel/compat-data@npm:^7.20.5": + version: 7.20.14 + resolution: "@babel/compat-data@npm:7.20.14" + checksum: 72d73072d2ced733414536e042fce788de15d15833b10719d1d34b257f956c6fb07ea4089d3f1da111fe92a484450abe8b1a574aeb12bae29f4ffd1244c92b4d + languageName: node + linkType: hard + +"@babel/core@npm:7.17.8": + version: 7.17.8 + resolution: "@babel/core@npm:7.17.8" + dependencies: + "@ampproject/remapping": "npm:^2.1.0" + "@babel/code-frame": "npm:^7.16.7" + "@babel/generator": "npm:^7.17.7" + "@babel/helper-compilation-targets": "npm:^7.17.7" + "@babel/helper-module-transforms": "npm:^7.17.7" + "@babel/helpers": "npm:^7.17.8" + "@babel/parser": "npm:^7.17.8" + "@babel/template": "npm:^7.16.7" + "@babel/traverse": "npm:^7.17.3" + "@babel/types": "npm:^7.17.0" + convert-source-map: "npm:^1.7.0" + debug: "npm:^4.1.0" + gensync: "npm:^1.0.0-beta.2" + json5: "npm:^2.1.2" + semver: "npm:^6.3.0" + checksum: 682f623e7b3adac9fc8efd4835dfbf49e2ce450b1b895676801cbef1e5a5a41489f6b5881d896dae9b05ea56caab94d831d4d4fd48240b9b43688cf23ffae88a + languageName: node + linkType: hard + +"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3": + version: 7.21.0 + resolution: "@babel/core@npm:7.21.0" + dependencies: + "@ampproject/remapping": "npm:^2.2.0" + "@babel/code-frame": "npm:^7.18.6" + "@babel/generator": "npm:^7.21.0" + "@babel/helper-compilation-targets": "npm:^7.20.7" + "@babel/helper-module-transforms": "npm:^7.21.0" + "@babel/helpers": "npm:^7.21.0" + "@babel/parser": "npm:^7.21.0" + "@babel/template": "npm:^7.20.7" + "@babel/traverse": "npm:^7.21.0" + "@babel/types": "npm:^7.21.0" + convert-source-map: "npm:^1.7.0" + debug: "npm:^4.1.0" + gensync: "npm:^1.0.0-beta.2" + json5: "npm:^2.2.2" + semver: "npm:^6.3.0" + checksum: 012560d64c2b0e8e3cc6a13fec5813a547d22223bfa80cb4262b83540fa6ce46cecc281f4a0610422235172d655325d2cf4142064fd380083060d50189a55149 + languageName: node + linkType: hard + +"@babel/core@npm:^7.7.5": version: 7.19.0 resolution: "@babel/core@npm:7.19.0" dependencies: @@ -54,7 +117,18 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.12.11, @babel/generator@npm:^7.19.0, @babel/generator@npm:^7.7.2": +"@babel/generator@npm:7.17.7": + version: 7.17.7 + resolution: "@babel/generator@npm:7.17.7" + dependencies: + "@babel/types": "npm:^7.17.0" + jsesc: "npm:^2.5.1" + source-map: "npm:^0.5.0" + checksum: 6318a5bc91cc009af95f1777d5fb403e6933a4471cdb57f03d8a66d81d4d08483f0d928b645e2d281379587bedf753fa46cbb78f2913419b1cad387b30b084b0 + languageName: node + linkType: hard + +"@babel/generator@npm:^7.12.11, @babel/generator@npm:^7.19.0": version: 7.19.0 resolution: "@babel/generator@npm:7.19.0" dependencies: @@ -65,6 +139,44 @@ __metadata: languageName: node linkType: hard +"@babel/generator@npm:^7.17.3, @babel/generator@npm:^7.17.7, @babel/generator@npm:^7.20.7": + version: 7.20.14 + resolution: "@babel/generator@npm:7.20.14" + dependencies: + "@babel/types": "npm:^7.20.7" + "@jridgewell/gen-mapping": "npm:^0.3.2" + jsesc: "npm:^2.5.1" + checksum: e57adffa98f187d6830def154af109abff1d26901d898eec9a332fbcb194df8f34e23b7820aba0e2dbc599fc90435fcbd5e538dcd5fa6f5e57c512b075f5d3e5 + languageName: node + linkType: hard + +"@babel/generator@npm:^7.21.0, @babel/generator@npm:^7.21.1, @babel/generator@npm:^7.7.2": + version: 7.21.1 + resolution: "@babel/generator@npm:7.21.1" + dependencies: + "@babel/types": "npm:^7.21.0" + "@jridgewell/gen-mapping": "npm:^0.3.2" + "@jridgewell/trace-mapping": "npm:^0.3.17" + jsesc: "npm:^2.5.1" + checksum: 270e9ffb474197bdb9e302c7d0cb269c6bedcfc108124c2d8948f09e5d90ab501ea2559f83896c4a7b548a2eec5b842bcc82bf359b39735ca619b22359dc88f6 + languageName: node + linkType: hard + +"@babel/helper-compilation-targets@npm:^7.17.7, @babel/helper-compilation-targets@npm:^7.20.7": + version: 7.20.7 + resolution: "@babel/helper-compilation-targets@npm:7.20.7" + dependencies: + "@babel/compat-data": "npm:^7.20.5" + "@babel/helper-validator-option": "npm:^7.18.6" + browserslist: "npm:^4.21.3" + lru-cache: "npm:^5.1.1" + semver: "npm:^6.3.0" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: db84a8c5cb409ba351c7602e082d1fe15c835d822b1cb8ead0dc113775d7ebc48bfb2e8ea34319ed1c3d4510a80d0ed5f41d596ea5f8ff329f9ae3562af62f14 + languageName: node + linkType: hard + "@babel/helper-compilation-targets@npm:^7.19.0": version: 7.19.0 resolution: "@babel/helper-compilation-targets@npm:7.19.0" @@ -79,14 +191,14 @@ __metadata: languageName: node linkType: hard -"@babel/helper-environment-visitor@npm:^7.18.9": +"@babel/helper-environment-visitor@npm:^7.16.7, @babel/helper-environment-visitor@npm:^7.18.9": version: 7.18.9 resolution: "@babel/helper-environment-visitor@npm:7.18.9" checksum: 6a770ab046578d692f954213680f66d0764a92d608fcc121cf87c575223c44729fdebecc08550d0e18a5b22a3a72669c01de5351b6c1eff75a96b3167dbfe922 languageName: node linkType: hard -"@babel/helper-function-name@npm:^7.19.0": +"@babel/helper-function-name@npm:^7.16.7, @babel/helper-function-name@npm:^7.19.0": version: 7.19.0 resolution: "@babel/helper-function-name@npm:7.19.0" dependencies: @@ -96,7 +208,17 @@ __metadata: languageName: node linkType: hard -"@babel/helper-hoist-variables@npm:^7.18.6": +"@babel/helper-function-name@npm:^7.21.0": + version: 7.21.0 + resolution: "@babel/helper-function-name@npm:7.21.0" + dependencies: + "@babel/template": "npm:^7.20.7" + "@babel/types": "npm:^7.21.0" + checksum: 8dd9f12d53dd12ef9a90b41b2fa2bb330b96828990b3b1ea4faec01d4859c74d1e0fed51f73f90c50eb7e4aea95e75576de465662eed5ff345e14f6875ce427b + languageName: node + linkType: hard + +"@babel/helper-hoist-variables@npm:^7.16.7, @babel/helper-hoist-variables@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-hoist-variables@npm:7.18.6" dependencies: @@ -114,6 +236,22 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-transforms@npm:^7.17.7": + version: 7.20.11 + resolution: "@babel/helper-module-transforms@npm:7.20.11" + dependencies: + "@babel/helper-environment-visitor": "npm:^7.18.9" + "@babel/helper-module-imports": "npm:^7.18.6" + "@babel/helper-simple-access": "npm:^7.20.2" + "@babel/helper-split-export-declaration": "npm:^7.18.6" + "@babel/helper-validator-identifier": "npm:^7.19.1" + "@babel/template": "npm:^7.20.7" + "@babel/traverse": "npm:^7.20.10" + "@babel/types": "npm:^7.20.7" + checksum: 0647a26f9c91c41d80d7a0c28f1b32a8a70ff59d3e6fdeff29cf6b72d0aa66088f36cf1a87e602f702801ad654623b63070c344d0b883ab7ad2cf8212427cdbb + languageName: node + linkType: hard + "@babel/helper-module-transforms@npm:^7.19.0": version: 7.19.0 resolution: "@babel/helper-module-transforms@npm:7.19.0" @@ -130,7 +268,30 @@ __metadata: languageName: node linkType: hard -"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.8.0": +"@babel/helper-module-transforms@npm:^7.21.0": + version: 7.21.2 + resolution: "@babel/helper-module-transforms@npm:7.21.2" + dependencies: + "@babel/helper-environment-visitor": "npm:^7.18.9" + "@babel/helper-module-imports": "npm:^7.18.6" + "@babel/helper-simple-access": "npm:^7.20.2" + "@babel/helper-split-export-declaration": "npm:^7.18.6" + "@babel/helper-validator-identifier": "npm:^7.19.1" + "@babel/template": "npm:^7.20.7" + "@babel/traverse": "npm:^7.21.2" + "@babel/types": "npm:^7.21.2" + checksum: d43269a9832ee7c875dc5622d74e1b47bce81070074394be3786d7e8a6763eb47c2a3bd62e5c5150870bc13892227d2c61c300f9103d9b66e64999da6fa761e7 + languageName: node + linkType: hard + +"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.19.0, @babel/helper-plugin-utils@npm:^7.8.0": + version: 7.20.2 + resolution: "@babel/helper-plugin-utils@npm:7.20.2" + checksum: 52745723617d3e4695a4dbec3728736c4f6d512ff382c36047b6d06117d2db059a65258629c5a42d57bed5eec2db7e473b14e524f611b0b04190b5922ea5d9f5 + languageName: node + linkType: hard + +"@babel/helper-plugin-utils@npm:^7.18.6": version: 7.19.0 resolution: "@babel/helper-plugin-utils@npm:7.19.0" checksum: 1f5ec25de2ec8789cc9df9ca89ff04a1ea48e372c92c4927a38a96aaf87d2ad2a2aa135630105e9f09a5ec37b220285df1a37e31288b0198f83cbf7d02345f3c @@ -146,7 +307,16 @@ __metadata: languageName: node linkType: hard -"@babel/helper-split-export-declaration@npm:^7.18.6": +"@babel/helper-simple-access@npm:^7.20.2": + version: 7.20.2 + resolution: "@babel/helper-simple-access@npm:7.20.2" + dependencies: + "@babel/types": "npm:^7.20.2" + checksum: 23f8a82cba4bce49b71f91e07f5afbddc6622b2762ab9287d7d160134cd6f7d6364ce8a46762b6cd3cc6da6eaf2e6758166394036a7feedd762042d9ad94a533 + languageName: node + linkType: hard + +"@babel/helper-split-export-declaration@npm:^7.16.7, @babel/helper-split-export-declaration@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-split-export-declaration@npm:7.18.6" dependencies: @@ -162,6 +332,20 @@ __metadata: languageName: node linkType: hard +"@babel/helper-string-parser@npm:^7.19.4": + version: 7.19.4 + resolution: "@babel/helper-string-parser@npm:7.19.4" + checksum: a8646931cba0c2905b683b99879f02c8a516a6c702c9f46cc02f0a8e93ef6f01540f2e7017d8288b9c039e1c3316c7858309ea3d6e39fa78bd98859b338603ee + languageName: node + linkType: hard + +"@babel/helper-validator-identifier@npm:^7.16.7, @babel/helper-validator-identifier@npm:^7.19.1": + version: 7.19.1 + resolution: "@babel/helper-validator-identifier@npm:7.19.1" + checksum: 089fdf605ee8dfa3004cd84c69e655ff9ab8bdb4e7fa02bf0012db728c6247acb599ca1118d2f9124d7b417fc5793ee348f2da8bc64be230b3b13ba7cd4364cc + languageName: node + linkType: hard + "@babel/helper-validator-identifier@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-validator-identifier@npm:7.18.6" @@ -176,6 +360,17 @@ __metadata: languageName: node linkType: hard +"@babel/helpers@npm:^7.17.8": + version: 7.20.13 + resolution: "@babel/helpers@npm:7.20.13" + dependencies: + "@babel/template": "npm:^7.20.7" + "@babel/traverse": "npm:^7.20.13" + "@babel/types": "npm:^7.20.7" + checksum: 24ca2297b67809e28becb4106975b4236c976b586d247394367ccb538936c2b1c8c2c699cade23147f8736d8386936efb1bc701ca03db4bc32a8fc743350eaa9 + languageName: node + linkType: hard + "@babel/helpers@npm:^7.19.0": version: 7.19.0 resolution: "@babel/helpers@npm:7.19.0" @@ -187,6 +382,17 @@ __metadata: languageName: node linkType: hard +"@babel/helpers@npm:^7.21.0": + version: 7.21.0 + resolution: "@babel/helpers@npm:7.21.0" + dependencies: + "@babel/template": "npm:^7.20.7" + "@babel/traverse": "npm:^7.21.0" + "@babel/types": "npm:^7.21.0" + checksum: 540e8d0c199fdddc8160c37a84f137ddb372eb0d710f9d519c3843916b1e9ff52ee1439435c24ad0818178b7e6715de6e37e51e33cff17f7722edf3e92e9a8ad + languageName: node + linkType: hard + "@babel/highlight@npm:^7.18.6": version: 7.18.6 resolution: "@babel/highlight@npm:7.18.6" @@ -198,7 +404,34 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.10, @babel/parser@npm:^7.19.0": +"@babel/parser@npm:7.18.9": + version: 7.18.9 + resolution: "@babel/parser@npm:7.18.9" + bin: + parser: ./bin/babel-parser.js + checksum: 88b4b247c092365e867ba96cd4d2d8344d9c4d899060071e0745c4c476b1ccb91f5cb487781577d5fcde0e15959dc2b0f1849ab06fd6b29ce4a5a52fda13f47c + languageName: node + linkType: hard + +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.21.0, @babel/parser@npm:^7.21.2": + version: 7.21.2 + resolution: "@babel/parser@npm:7.21.2" + bin: + parser: ./bin/babel-parser.js + checksum: f38e171e600a1b66776af99ba93677ecd37b3e5b06b48abbf1eb74e0517f00634f38f0f0bfecd7ba803e495f882a62a5934db1025e170a33a1a7435750fffb1c + languageName: node + linkType: hard + +"@babel/parser@npm:^7.17.3, @babel/parser@npm:^7.17.8, @babel/parser@npm:^7.20.13, @babel/parser@npm:^7.20.7": + version: 7.20.15 + resolution: "@babel/parser@npm:7.20.15" + bin: + parser: ./bin/babel-parser.js + checksum: 46660698145cc259591646cf4095f2608d77128c007653ba4356c755352c9d34ae45b152d269da7b0bb459cc257850d7b25aa9bf00bef25eac94205dcce0fbdc + languageName: node + linkType: hard + +"@babel/parser@npm:^7.18.10, @babel/parser@npm:^7.19.0": version: 7.19.0 resolution: "@babel/parser@npm:7.19.0" bin: @@ -351,13 +584,13 @@ __metadata: linkType: hard "@babel/plugin-syntax-typescript@npm:^7.7.2": - version: 7.18.6 - resolution: "@babel/plugin-syntax-typescript@npm:7.18.6" + version: 7.20.0 + resolution: "@babel/plugin-syntax-typescript@npm:7.20.0" dependencies: - "@babel/helper-plugin-utils": "npm:^7.18.6" + "@babel/helper-plugin-utils": "npm:^7.19.0" peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 99aaa2a38b3cfc19427c04b0eebfdda3dc2c02a538dfc70c9c6e651db82a5abe71c94d6f59f2113204a61ef053e5f05b76ef94ddcc1dd6c624237dc35ddb43d1 + checksum: 64cc3320ec9127571427c437511ea8df08ab6592693d50b647cc0126e474da36166c782e59839ff419b1d8bbadd7bd100a359616d1da282ad8db1f90d1973c50 languageName: node linkType: hard @@ -370,7 +603,18 @@ __metadata: languageName: node linkType: hard -"@babel/template@npm:^7.18.10, @babel/template@npm:^7.3.3": +"@babel/template@npm:^7.16.7, @babel/template@npm:^7.20.7, @babel/template@npm:^7.3.3": + version: 7.20.7 + resolution: "@babel/template@npm:7.20.7" + dependencies: + "@babel/code-frame": "npm:^7.18.6" + "@babel/parser": "npm:^7.20.7" + "@babel/types": "npm:^7.20.7" + checksum: a655fb476be89195fd0e0e89b278d0ad5edd351d7fec6e9902c9797b831895f6bcfc2b9a29de4228cdabd2904230b1db3f3ebff88aed6f3f6d4dd85db8a4d8a8 + languageName: node + linkType: hard + +"@babel/template@npm:^7.18.10": version: 7.18.10 resolution: "@babel/template@npm:7.18.10" dependencies: @@ -381,7 +625,25 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.19.0, @babel/traverse@npm:^7.7.2": +"@babel/traverse@npm:7.17.3": + version: 7.17.3 + resolution: "@babel/traverse@npm:7.17.3" + dependencies: + "@babel/code-frame": "npm:^7.16.7" + "@babel/generator": "npm:^7.17.3" + "@babel/helper-environment-visitor": "npm:^7.16.7" + "@babel/helper-function-name": "npm:^7.16.7" + "@babel/helper-hoist-variables": "npm:^7.16.7" + "@babel/helper-split-export-declaration": "npm:^7.16.7" + "@babel/parser": "npm:^7.17.3" + "@babel/types": "npm:^7.17.0" + debug: "npm:^4.1.0" + globals: "npm:^11.1.0" + checksum: 4ccdc4877d9d7b9b10d0222bff899447a842143d85add175228519a0850791d1854ddaab72ec371d579dd21f30cc77890561ba32f648084e6c59bdd8f9efc6ea + languageName: node + linkType: hard + +"@babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.19.0": version: 7.19.0 resolution: "@babel/traverse@npm:7.19.0" dependencies: @@ -399,7 +661,53 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.18.10, @babel/types@npm:^7.18.6, @babel/types@npm:^7.19.0, @babel/types@npm:^7.2.0, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.8.3": +"@babel/traverse@npm:^7.17.3, @babel/traverse@npm:^7.20.10, @babel/traverse@npm:^7.20.13": + version: 7.20.13 + resolution: "@babel/traverse@npm:7.20.13" + dependencies: + "@babel/code-frame": "npm:^7.18.6" + "@babel/generator": "npm:^7.20.7" + "@babel/helper-environment-visitor": "npm:^7.18.9" + "@babel/helper-function-name": "npm:^7.19.0" + "@babel/helper-hoist-variables": "npm:^7.18.6" + "@babel/helper-split-export-declaration": "npm:^7.18.6" + "@babel/parser": "npm:^7.20.13" + "@babel/types": "npm:^7.20.7" + debug: "npm:^4.1.0" + globals: "npm:^11.1.0" + checksum: 24a867dfce429baba697763c033c5103e052348de6405dac3b5b2f0865a0ffed0b035b109d64b14257404f5a3470328d027caeeca3726eca3b85eb10a72fa727 + languageName: node + linkType: hard + +"@babel/traverse@npm:^7.21.0, @babel/traverse@npm:^7.21.2, @babel/traverse@npm:^7.7.2": + version: 7.21.2 + resolution: "@babel/traverse@npm:7.21.2" + dependencies: + "@babel/code-frame": "npm:^7.18.6" + "@babel/generator": "npm:^7.21.1" + "@babel/helper-environment-visitor": "npm:^7.18.9" + "@babel/helper-function-name": "npm:^7.21.0" + "@babel/helper-hoist-variables": "npm:^7.18.6" + "@babel/helper-split-export-declaration": "npm:^7.18.6" + "@babel/parser": "npm:^7.21.2" + "@babel/types": "npm:^7.21.2" + debug: "npm:^4.1.0" + globals: "npm:^11.1.0" + checksum: d335267d67a1c612c0f48af2c2bfa95adfa1a199c543d102088169d5569c0a3f97b515e11e444a6a8b790de59f1020de3bfceae56657a6429d97f85c640e3e53 + languageName: node + linkType: hard + +"@babel/types@npm:7.17.0": + version: 7.17.0 + resolution: "@babel/types@npm:7.17.0" + dependencies: + "@babel/helper-validator-identifier": "npm:^7.16.7" + to-fast-properties: "npm:^2.0.0" + checksum: 1d52a2311a73561382da8a9943192409d170bae202e2461d118005c4240dfb7a8495a68165a2c97ade49e4cead0c40e46eb9f436bbcb4bc4150268af4965522b + languageName: node + linkType: hard + +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.18.10, @babel/types@npm:^7.18.6, @babel/types@npm:^7.19.0, @babel/types@npm:^7.2.0, @babel/types@npm:^7.3.0, @babel/types@npm:^7.8.3": version: 7.19.0 resolution: "@babel/types@npm:7.19.0" dependencies: @@ -410,6 +718,28 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.17.0, @babel/types@npm:^7.20.2, @babel/types@npm:^7.20.7": + version: 7.20.7 + resolution: "@babel/types@npm:7.20.7" + dependencies: + "@babel/helper-string-parser": "npm:^7.19.4" + "@babel/helper-validator-identifier": "npm:^7.19.1" + to-fast-properties: "npm:^2.0.0" + checksum: 3457ea7eaf5d3cb20ff93c058d60983609c5963f87ac7793e2ef690934f34fadd874669d2abc4705d5953c212ed9d3cc0194618b66fa90b99ead6d2466ccce9d + languageName: node + linkType: hard + +"@babel/types@npm:^7.21.0, @babel/types@npm:^7.21.2, @babel/types@npm:^7.3.3": + version: 7.21.2 + resolution: "@babel/types@npm:7.21.2" + dependencies: + "@babel/helper-string-parser": "npm:^7.19.4" + "@babel/helper-validator-identifier": "npm:^7.19.1" + to-fast-properties: "npm:^2.0.0" + checksum: 126adfdb044ebf1cf81e4b42384ff0987499b60758ee062b335694f7d1ea43d277cd85f62d7fba9d8a5b8267af567161881a9ce9689c5326a00d635aa3137cdb + languageName: node + linkType: hard + "@bcoe/v8-coverage@npm:^0.2.3": version: 0.2.3 resolution: "@bcoe/v8-coverage@npm:0.2.3" @@ -614,20 +944,38 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^1.3.1": - version: 1.3.1 - resolution: "@eslint/eslintrc@npm:1.3.1" +"@eslint-community/eslint-utils@npm:^4.1.2": + version: 4.1.2 + resolution: "@eslint-community/eslint-utils@npm:4.1.2" + dependencies: + eslint-visitor-keys: "npm:^3.3.0" + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + checksum: 81a68aaada6fbe216c9e757ae6739940792a0d993ba0b2d35beb4406240a91597f88debac01e76c3d982ed7e820b6f2e62b14650c7b9b07a7ac6a8f1b0185ad7 + languageName: node + linkType: hard + +"@eslint/eslintrc@npm:^2.0.0": + version: 2.0.0 + resolution: "@eslint/eslintrc@npm:2.0.0" dependencies: ajv: "npm:^6.12.4" debug: "npm:^4.3.2" espree: "npm:^9.4.0" - globals: "npm:^13.15.0" + globals: "npm:^13.19.0" ignore: "npm:^5.2.0" import-fresh: "npm:^3.2.1" js-yaml: "npm:^4.1.0" minimatch: "npm:^3.1.2" strip-json-comments: "npm:^3.1.1" - checksum: b7acedaf305141fc5b6b591bf2f08ad824eeaa8325040f0a9ed65e0391d334ee74f0de494be3075a6747698d74125d9f92fe23deba8bb126afde7e404166c18f + checksum: 29a8b98afca4e088f84dc1e7be849e51ca6df31172a90ef3898dd201e7e022ee7d665d999b0134849ac7279497d5270867945bdf534ad3ca0ac036e1869b310c + languageName: node + linkType: hard + +"@eslint/js@npm:8.35.0": + version: 8.35.0 + resolution: "@eslint/js@npm:8.35.0" + checksum: ada3a3a42de60014ddae9f2f81e96442168b74151c6785194191f17850497c8750ab0140ca37c143dda1bfaf149cfc63ff28adcf94c41ceada4afc05ff596711 languageName: node linkType: hard @@ -654,21 +1002,14 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.10.4": - version: 0.10.4 - resolution: "@humanwhocodes/config-array@npm:0.10.4" +"@humanwhocodes/config-array@npm:^0.11.8": + version: 0.11.8 + resolution: "@humanwhocodes/config-array@npm:0.11.8" dependencies: "@humanwhocodes/object-schema": "npm:^1.2.1" debug: "npm:^4.1.1" - minimatch: "npm:^3.0.4" - checksum: 1de59dbea29b5206781f4e4d283c81ae4470ccb0296f9f425aedf9e6f43b480f165da918da11f8f5fcd5152be47e609b006a418a51dc6857f04177e9f88efadc - languageName: node - linkType: hard - -"@humanwhocodes/gitignore-to-minimatch@npm:^1.0.2": - version: 1.0.2 - resolution: "@humanwhocodes/gitignore-to-minimatch@npm:1.0.2" - checksum: 7dfb574df8fa4dc3fcf27ab81b886df33bab68a4d1362d8798b9c6fab6a45309c3028b0a88ce26db05ddec3350cbf58439944e0f04d549de67902f1d1a2e9157 + minimatch: "npm:^3.0.5" + checksum: 010892ba3c237e96562df1f21a7e04b611274f2c91b4df6c8263eb7d2ffcec3a5bfcab67b13d9c4acc8a2e3f94cb61d7ced772ecd445b226fb41b88c93e9194c languageName: node linkType: hard @@ -706,50 +1047,50 @@ __metadata: languageName: node linkType: hard -"@jest/console@npm:^29.0.2": - version: 29.0.2 - resolution: "@jest/console@npm:29.0.2" +"@jest/console@npm:^29.5.0": + version: 29.5.0 + resolution: "@jest/console@npm:29.5.0" dependencies: - "@jest/types": "npm:^29.0.2" + "@jest/types": "npm:^29.5.0" "@types/node": "npm:*" chalk: "npm:^4.0.0" - jest-message-util: "npm:^29.0.2" - jest-util: "npm:^29.0.2" + jest-message-util: "npm:^29.5.0" + jest-util: "npm:^29.5.0" slash: "npm:^3.0.0" - checksum: bab6f0681d93ebde73baf67cd6bf538361928f426268ebe6d0ebd602cd0013e7a1cf3859e2d62f54a032f8f7f397bffc2c297cd5bc1ed279dc3b71c34c0315a0 + checksum: 55cb5df41e0de097f1ded6138c5620b4e03ef270764b7dfb1cac68a20273cfabc5609bcfb5b8c52c825bc0b8dc019a411be2aa550d0aa46edaf32032d91a28f0 languageName: node linkType: hard -"@jest/core@npm:^29.0.2": - version: 29.0.2 - resolution: "@jest/core@npm:29.0.2" +"@jest/core@npm:^29.4.3, @jest/core@npm:^29.5.0": + version: 29.5.0 + resolution: "@jest/core@npm:29.5.0" dependencies: - "@jest/console": "npm:^29.0.2" - "@jest/reporters": "npm:^29.0.2" - "@jest/test-result": "npm:^29.0.2" - "@jest/transform": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" + "@jest/console": "npm:^29.5.0" + "@jest/reporters": "npm:^29.5.0" + "@jest/test-result": "npm:^29.5.0" + "@jest/transform": "npm:^29.5.0" + "@jest/types": "npm:^29.5.0" "@types/node": "npm:*" ansi-escapes: "npm:^4.2.1" chalk: "npm:^4.0.0" ci-info: "npm:^3.2.0" exit: "npm:^0.1.2" graceful-fs: "npm:^4.2.9" - jest-changed-files: "npm:^29.0.0" - jest-config: "npm:^29.0.2" - jest-haste-map: "npm:^29.0.2" - jest-message-util: "npm:^29.0.2" - jest-regex-util: "npm:^29.0.0" - jest-resolve: "npm:^29.0.2" - jest-resolve-dependencies: "npm:^29.0.2" - jest-runner: "npm:^29.0.2" - jest-runtime: "npm:^29.0.2" - jest-snapshot: "npm:^29.0.2" - jest-util: "npm:^29.0.2" - jest-validate: "npm:^29.0.2" - jest-watcher: "npm:^29.0.2" + jest-changed-files: "npm:^29.5.0" + jest-config: "npm:^29.5.0" + jest-haste-map: "npm:^29.5.0" + jest-message-util: "npm:^29.5.0" + jest-regex-util: "npm:^29.4.3" + jest-resolve: "npm:^29.5.0" + jest-resolve-dependencies: "npm:^29.5.0" + jest-runner: "npm:^29.5.0" + jest-runtime: "npm:^29.5.0" + jest-snapshot: "npm:^29.5.0" + jest-util: "npm:^29.5.0" + jest-validate: "npm:^29.5.0" + jest-watcher: "npm:^29.5.0" micromatch: "npm:^4.0.4" - pretty-format: "npm:^29.0.2" + pretty-format: "npm:^29.5.0" slash: "npm:^3.0.0" strip-ansi: "npm:^6.0.0" peerDependencies: @@ -757,7 +1098,7 @@ __metadata: peerDependenciesMeta: node-notifier: optional: true - checksum: 0edc80c58a9474b35e6950c82a4fcc4fe94d1724ccb500d13a3c5ad0b3ba4d6c5441900de43189255fc9fe6d46d8005911fc8607e3cab0c741119c321db09d14 + checksum: c0b20e6b86083cd50c7c79b658db08fa50e40f6445b9fc38d5e64f170c976dc20037c4d0b3e21b9eb7a9aacad79e5a8e77b93256b41e273589d81bb25ee95f6e languageName: node linkType: hard @@ -770,72 +1111,72 @@ __metadata: languageName: node linkType: hard -"@jest/environment@npm:^29.0.2": - version: 29.0.2 - resolution: "@jest/environment@npm:29.0.2" +"@jest/environment@npm:^29.4.3, @jest/environment@npm:^29.5.0": + version: 29.5.0 + resolution: "@jest/environment@npm:29.5.0" dependencies: - "@jest/fake-timers": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" + "@jest/fake-timers": "npm:^29.5.0" + "@jest/types": "npm:^29.5.0" "@types/node": "npm:*" - jest-mock: "npm:^29.0.2" - checksum: 09cff6297f938b84432dc4527c916f3adc13e90966cc1d125c60a7e4dc8fc381991dd845fdf0b58c0e2811ffff1b5dff0199d4310793840d27b76a26bd7d7e1f + jest-mock: "npm:^29.5.0" + checksum: 4885b1dbbf017521782d57b32add0b5aea07f0ad02515b7e4719cbed5d8ad88682ad13b94dcbab004da9028f7d8b3b2934f87f4b78232bc014f1042fb1945477 languageName: node linkType: hard -"@jest/expect-utils@npm:^29.0.2": - version: 29.0.2 - resolution: "@jest/expect-utils@npm:29.0.2" +"@jest/expect-utils@npm:^29.5.0": + version: 29.5.0 + resolution: "@jest/expect-utils@npm:29.5.0" dependencies: - jest-get-type: "npm:^29.0.0" - checksum: d5951a644674d0af477687624a95efeb40783369a52e92658618914b2b396f0bab6e5cc579e8ea4322f45d4bba6a843395e8e3941ee94551c1d92b53d75e45b5 + jest-get-type: "npm:^29.4.3" + checksum: 2ffcb9ec8b7b19fd8d41c41e41c705979feb6bb75e9657abe2bcd7a8bd2c7dbb786c67d1a35c2e5ffdfb8f4b1ce2334623939a2ab981b037466e45547ab786cd languageName: node linkType: hard -"@jest/expect@npm:^29.0.2": - version: 29.0.2 - resolution: "@jest/expect@npm:29.0.2" +"@jest/expect@npm:^29.5.0": + version: 29.5.0 + resolution: "@jest/expect@npm:29.5.0" dependencies: - expect: "npm:^29.0.2" - jest-snapshot: "npm:^29.0.2" - checksum: 49bccb087ca43a65affa1a0c0db401d1667a71b771944e7caf49f65bc2d2433053d370d4fc9e458dc75b6d65d7f0e769980512e819f9d77321723bf135c58c00 + expect: "npm:^29.5.0" + jest-snapshot: "npm:^29.5.0" + checksum: 8be32c073271d41bd294d750ed96276f7866f3f72095e8a1bfa700b92879293b3f0450a7f951808330aa0e1441495f3179932d8175746d5b2e77dac52359b2e4 languageName: node linkType: hard -"@jest/fake-timers@npm:^29.0.2": - version: 29.0.2 - resolution: "@jest/fake-timers@npm:29.0.2" +"@jest/fake-timers@npm:^29.4.3, @jest/fake-timers@npm:^29.5.0": + version: 29.5.0 + resolution: "@jest/fake-timers@npm:29.5.0" dependencies: - "@jest/types": "npm:^29.0.2" - "@sinonjs/fake-timers": "npm:^9.1.2" + "@jest/types": "npm:^29.5.0" + "@sinonjs/fake-timers": "npm:^10.0.2" "@types/node": "npm:*" - jest-message-util: "npm:^29.0.2" - jest-mock: "npm:^29.0.2" - jest-util: "npm:^29.0.2" - checksum: 02ba14eb6d444baa6a949ee01cbf52f2c3df605485227ef25c967eda2a736b98fbe4834e4e4d9979dc8fc1e01d76bc7da6d4b5b2ba6768c1e250e0b2ac175c93 + jest-message-util: "npm:^29.5.0" + jest-mock: "npm:^29.5.0" + jest-util: "npm:^29.5.0" + checksum: 609b5886928006840da764b164efb1a9b04b7563e9af9fffc0eb5cc3d4972a5783823083f4983b445b8737b79897cb290478dc2c5d412199ed4f66892816acac languageName: node linkType: hard -"@jest/globals@npm:^29.0.2": - version: 29.0.2 - resolution: "@jest/globals@npm:29.0.2" +"@jest/globals@npm:^29.5.0": + version: 29.5.0 + resolution: "@jest/globals@npm:29.5.0" dependencies: - "@jest/environment": "npm:^29.0.2" - "@jest/expect": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" - jest-mock: "npm:^29.0.2" - checksum: 842c353c878294036522ddc50a4d4e063692b46953e68773fa2ab2ff860ce560295d842fe86ae585ef7bd2ca19f085de7bb5d2d347ba57afe2d7588cfbce0741 + "@jest/environment": "npm:^29.5.0" + "@jest/expect": "npm:^29.5.0" + "@jest/types": "npm:^29.5.0" + jest-mock: "npm:^29.5.0" + checksum: f6060ded9418cfeba173ab4b77db011a37f4576f9a321b0caadf944bca2e80e1ccd6e9fc6ea6c259557865bf206d48b1a6f99e14285670d4a7dad211da05f293 languageName: node linkType: hard -"@jest/reporters@npm:^29.0.2": - version: 29.0.2 - resolution: "@jest/reporters@npm:29.0.2" +"@jest/reporters@npm:^29.5.0": + version: 29.5.0 + resolution: "@jest/reporters@npm:29.5.0" dependencies: "@bcoe/v8-coverage": "npm:^0.2.3" - "@jest/console": "npm:^29.0.2" - "@jest/test-result": "npm:^29.0.2" - "@jest/transform": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" + "@jest/console": "npm:^29.5.0" + "@jest/test-result": "npm:^29.5.0" + "@jest/transform": "npm:^29.5.0" + "@jest/types": "npm:^29.5.0" "@jridgewell/trace-mapping": "npm:^0.3.15" "@types/node": "npm:*" chalk: "npm:^4.0.0" @@ -848,87 +1189,86 @@ __metadata: istanbul-lib-report: "npm:^3.0.0" istanbul-lib-source-maps: "npm:^4.0.0" istanbul-reports: "npm:^3.1.3" - jest-message-util: "npm:^29.0.2" - jest-util: "npm:^29.0.2" - jest-worker: "npm:^29.0.2" + jest-message-util: "npm:^29.5.0" + jest-util: "npm:^29.5.0" + jest-worker: "npm:^29.5.0" slash: "npm:^3.0.0" string-length: "npm:^4.0.1" strip-ansi: "npm:^6.0.0" - terminal-link: "npm:^2.0.0" v8-to-istanbul: "npm:^9.0.1" peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: node-notifier: optional: true - checksum: 0c563b8184fb3faf5cd5542af8bb2af1f772adbf7ce61477a677c0dc0dd579417177046eadf6af39988f741fc3145b8885ec3e401e9ff16967f43a9a44687e5a + checksum: 05b0777be94b61ade24834294235d911a68f7cfa232bd2e8f670cdb238a77dd4a313721b29a251cf90ac242bced6217d8d3a7cec6baded141399e0ac193f3fd8 languageName: node linkType: hard -"@jest/schemas@npm:^29.0.0": - version: 29.0.0 - resolution: "@jest/schemas@npm:29.0.0" +"@jest/schemas@npm:^29.4.3": + version: 29.4.3 + resolution: "@jest/schemas@npm:29.4.3" dependencies: - "@sinclair/typebox": "npm:^0.24.1" - checksum: 174f589fa0326e4f393cf56ac45beb8412e2ccd7c6040b45062035d80c95f5ae71512dab5757906b923ebfcd9c2b57ea40986377e0c06ad10ab2e24b561ac28d + "@sinclair/typebox": "npm:^0.25.16" + checksum: 8f80ca480298411120052fcea19fd0ebee0cd148b5409ae46e93c9f7dc34e1e31147bde3eca1d0c120cabbe9c95273799eaf170f397cd8a4b31dbd3f2525c392 languageName: node linkType: hard -"@jest/source-map@npm:^29.0.0": - version: 29.0.0 - resolution: "@jest/source-map@npm:29.0.0" +"@jest/source-map@npm:^29.4.3": + version: 29.4.3 + resolution: "@jest/source-map@npm:29.4.3" dependencies: "@jridgewell/trace-mapping": "npm:^0.3.15" callsites: "npm:^3.0.0" graceful-fs: "npm:^4.2.9" - checksum: 8027721baf939f62fc4b09b7741134e5e7ee6896f8076676bae6c6b19657a65b02be4a2b74188f6aa153ee3a9ddba426fe78c01b22aa2a75c556c8edb7cdcd20 + checksum: a246899876537270e46b2289a06370a272b2c1a96a73061104a09f687617b6dd1128c5c258b823e568ff75726b735e728c026013e750bd2edb0c611826b470f9 languageName: node linkType: hard -"@jest/test-result@npm:^29.0.2": - version: 29.0.2 - resolution: "@jest/test-result@npm:29.0.2" +"@jest/test-result@npm:^29.5.0": + version: 29.5.0 + resolution: "@jest/test-result@npm:29.5.0" dependencies: - "@jest/console": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" + "@jest/console": "npm:^29.5.0" + "@jest/types": "npm:^29.5.0" "@types/istanbul-lib-coverage": "npm:^2.0.0" collect-v8-coverage: "npm:^1.0.0" - checksum: 00bb2a18102688f15be3b55fbd76f5fe942b3203f5bdb93a8a3413b176377883e52779c6dfb11ca27e0bedb413f27427b3a29e86fb8c97fab5fb56a045d30586 + checksum: 06e4846c6ed332c241fca8e9572eae79ce7f06952c1c4e8b879f55c9812eea139b16060082301751a82dd6f77730de00a180356eded2a47c2f7b43f19910958a languageName: node linkType: hard -"@jest/test-sequencer@npm:^29.0.2": - version: 29.0.2 - resolution: "@jest/test-sequencer@npm:29.0.2" +"@jest/test-sequencer@npm:^29.5.0": + version: 29.5.0 + resolution: "@jest/test-sequencer@npm:29.5.0" dependencies: - "@jest/test-result": "npm:^29.0.2" + "@jest/test-result": "npm:^29.5.0" graceful-fs: "npm:^4.2.9" - jest-haste-map: "npm:^29.0.2" + jest-haste-map: "npm:^29.5.0" slash: "npm:^3.0.0" - checksum: 089afec8c74b0d29b1c9a3314526b30ead8aabae61ff9876a5ab210e564049a07c38cef7325cc58c501b83033f610064f5e02f9dab94f0283db752884950d874 + checksum: cdd30204866247164338289b24a29e1294917acb8e1fb18178e917bb48e8d2dc173de00b70fca9f47c9a1ec5901d76156b46b54a0c443ce488259423fed5ea44 languageName: node linkType: hard -"@jest/transform@npm:^29.0.2": - version: 29.0.2 - resolution: "@jest/transform@npm:29.0.2" +"@jest/transform@npm:^29.5.0": + version: 29.5.0 + resolution: "@jest/transform@npm:29.5.0" dependencies: "@babel/core": "npm:^7.11.6" - "@jest/types": "npm:^29.0.2" + "@jest/types": "npm:^29.5.0" "@jridgewell/trace-mapping": "npm:^0.3.15" babel-plugin-istanbul: "npm:^6.1.1" chalk: "npm:^4.0.0" - convert-source-map: "npm:^1.4.0" + convert-source-map: "npm:^2.0.0" fast-json-stable-stringify: "npm:^2.1.0" graceful-fs: "npm:^4.2.9" - jest-haste-map: "npm:^29.0.2" - jest-regex-util: "npm:^29.0.0" - jest-util: "npm:^29.0.2" + jest-haste-map: "npm:^29.5.0" + jest-regex-util: "npm:^29.4.3" + jest-util: "npm:^29.5.0" micromatch: "npm:^4.0.4" pirates: "npm:^4.0.4" slash: "npm:^3.0.0" - write-file-atomic: "npm:^4.0.1" - checksum: 41cab27c3644b2b5c1f517e88db710be89358b5474feab9a04fb1f3486fdf19b63dec6acfd595d3680c7e0b43a4fc0a4e95f9d45c192294d44b1e3a2b2579db5 + write-file-atomic: "npm:^4.0.2" + checksum: 6cd3ab565d288f2f157f7604b25abb5060eb433cbd40aaa7cd587f72ddb58a00aacbbd191ac790eb13a3a382fd6b65139c729746a2da1a551edc02672343d7b2 languageName: node linkType: hard @@ -945,17 +1285,17 @@ __metadata: languageName: node linkType: hard -"@jest/types@npm:^29.0.2": - version: 29.0.2 - resolution: "@jest/types@npm:29.0.2" +"@jest/types@npm:^29.4.3, @jest/types@npm:^29.5.0": + version: 29.5.0 + resolution: "@jest/types@npm:29.5.0" dependencies: - "@jest/schemas": "npm:^29.0.0" + "@jest/schemas": "npm:^29.4.3" "@types/istanbul-lib-coverage": "npm:^2.0.0" "@types/istanbul-reports": "npm:^3.0.0" "@types/node": "npm:*" "@types/yargs": "npm:^17.0.8" chalk: "npm:^4.0.0" - checksum: 21f618fe1ecfe1f94bc77adf8761a85507ef26d5ef02c4a4b927e93c18dfa4fee7494bbcd489acaf8491e005fb0b0b859f38a903426392d40ec48949298c2692 + checksum: 4ccd31a720a23d51e71d3bf1a952a1511bb31c1624a07c16c324c27c10f26a780898d50e5a4875f825b45a2a3ef9a6f7ec6519f0a1a8406ade42acaaa40fa58e languageName: node linkType: hard @@ -980,7 +1320,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/resolve-uri@npm:^3.0.3": +"@jridgewell/resolve-uri@npm:3.1.0, @jridgewell/resolve-uri@npm:^3.0.3": version: 3.1.0 resolution: "@jridgewell/resolve-uri@npm:3.1.0" checksum: 6b641bb7e25bc92a9848898cc91a77a390f393f086297ec2336d911387bdd708919c418e74a22732cfc21d0e7300b94306f437d2e9de5ab58b33ebc6c39d6f9d @@ -1004,14 +1344,14 @@ __metadata: languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:^1.4.10": +"@jridgewell/sourcemap-codec@npm:1.4.14, @jridgewell/sourcemap-codec@npm:^1.4.10": version: 1.4.14 resolution: "@jridgewell/sourcemap-codec@npm:1.4.14" checksum: 2147ea75c966fed8a7d9ed6679b7e8c380fa790a9bea5a64f4ec1c26d24e44b461aa60fc3b228cea03a46708d9d1bcf19508035bf27ad5e8f63d0998ed1d1117 languageName: node linkType: hard -"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.14, @jridgewell/trace-mapping@npm:^0.3.15, @jridgewell/trace-mapping@npm:^0.3.9": +"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.14, @jridgewell/trace-mapping@npm:^0.3.9": version: 0.3.15 resolution: "@jridgewell/trace-mapping@npm:0.3.15" dependencies: @@ -1021,6 +1361,16 @@ __metadata: languageName: node linkType: hard +"@jridgewell/trace-mapping@npm:^0.3.15, @jridgewell/trace-mapping@npm:^0.3.17": + version: 0.3.17 + resolution: "@jridgewell/trace-mapping@npm:0.3.17" + dependencies: + "@jridgewell/resolve-uri": "npm:3.1.0" + "@jridgewell/sourcemap-codec": "npm:1.4.14" + checksum: 388a2f604c1159dd29fdf3077c2a21fd2d322145f24cade868c0a7c55cfc993f3af82dd2e979438d9f06148c38af780abc7c0aa2eddbb34fab41698bb86d82e1 + languageName: node + linkType: hard + "@leichtgewicht/ip-codec@npm:^2.0.1": version: 2.0.4 resolution: "@leichtgewicht/ip-codec@npm:2.0.4" @@ -1028,6 +1378,22 @@ __metadata: languageName: node linkType: hard +"@mole-inc/bin-wrapper@npm:^8.0.1": + version: 8.0.1 + resolution: "@mole-inc/bin-wrapper@npm:8.0.1" + dependencies: + bin-check: "npm:^4.1.0" + bin-version-check: "npm:^5.0.0" + content-disposition: "npm:^0.5.4" + ext-name: "npm:^5.0.0" + file-type: "npm:^17.1.6" + filenamify: "npm:^5.0.2" + got: "npm:^11.8.5" + os-filter-obj: "npm:^2.0.0" + checksum: 363d466015dce0d93a09eaa6be20b53cd14001d9c87f2f5b339ffdda47f94149cb12f37fbc7ebbe69b623e6111d5877b469624e0fe3f3db554191782997c8d36 + languageName: node + linkType: hard + "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -1045,7 +1411,7 @@ __metadata: languageName: node linkType: hard -"@nodelib/fs.walk@npm:^1.2.3": +"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": version: 1.2.8 resolution: "@nodelib/fs.walk@npm:1.2.8" dependencies: @@ -1075,6 +1441,105 @@ __metadata: languageName: node linkType: hard +"@packasso/build-ts-swc@npm:0.17.2": + version: 0.17.2 + resolution: "@packasso/build-ts-swc@npm:0.17.2" + dependencies: + "@packasso/core": "npm:0.17.1" + checksum: 46b4a10698b3f7565379731790c48f393e0c1feb5f521bc74350325eaccb7967e90f193ab656be928fded906a4916da1f0436a458983b289f8d0d206edb189f0 + languageName: node + linkType: hard + +"@packasso/cli@npm:0.16.1": + version: 0.16.1 + resolution: "@packasso/cli@npm:0.16.1" + dependencies: + "@packasso/core": "npm:0.17.1" + minimist: "npm:1.2.8" + bin: + packasso: target/esm/index.mjs + checksum: 55f373124413fd5b14a84a2e25e9cf28029c322d2d655ff0c8e3dbebabfb2686c2de337eae89092b31bbe868c4d5a04b297103aa37ab3e75ed3887ba4230fe06 + languageName: node + linkType: hard + +"@packasso/core@npm:0.17.1": + version: 0.17.1 + resolution: "@packasso/core@npm:0.17.1" + dependencies: + "@antongolub/git-root": "npm:1.5.10" + "@semrel-extra/topo": "npm:1.5.0" + "@types/lodash-es": "npm:4.17.6" + concurrently: "npm:7.6.0" + cosmiconfig: "npm:8.1.0" + fast-glob: "npm:3.2.12" + lodash-es: "npm:4.17.21" + read-pkg: "npm:7.1.0" + checksum: 2b25396451310ff62504d8deb26e4a71dca5d9292405692e0dfa0d98342b6251a645a7ff57004744eb4b903d810970cd0840b5dc9f77f604a88627a7c026d18d + languageName: node + linkType: hard + +"@packasso/dev-license@npm:0.10.1": + version: 0.10.1 + resolution: "@packasso/dev-license@npm:0.10.1" + dependencies: + "@packasso/core": "npm:0.17.1" + checksum: 53d6430aba9f0da5064beaf3c580af49bfa95505e1e7c926b96f64cc149a289beaaa89b82828f6ba1ff192610497f6a04d796009c16d18df8f8e356666f4a195 + languageName: node + linkType: hard + +"@packasso/dev-ts@npm:0.17.1": + version: 0.17.1 + resolution: "@packasso/dev-ts@npm:0.17.1" + dependencies: + "@packasso/core": "npm:0.17.1" + checksum: 5657a4f4138e0d292d3770fb3d232faa5738a5e60a0b3beaa3a6fa36913671eec9a85d075c9b5153cb62ba573167ecebbbc3789245eede7357e0777ee31aae09 + languageName: node + linkType: hard + +"@packasso/jest-snapshot-resolver@npm:0.1.1": + version: 0.1.1 + resolution: "@packasso/jest-snapshot-resolver@npm:0.1.1" + checksum: 6859a4d9b253df3fc2dbf7c87085a6781b47f9bec126f7e91366aed0f0edd44f075e84ab330852cd22053d7a5feb91cb2a7e62d9520fd72818099e88c7dfff7e + languageName: node + linkType: hard + +"@packasso/release-zx-semrel@npm:0.16.1": + version: 0.16.1 + resolution: "@packasso/release-zx-semrel@npm:0.16.1" + dependencies: + "@packasso/core": "npm:0.17.1" + checksum: c311498b942ab53d75c47c1fcd0a07ab958f03cedf8d38b9c8fbcbf06fcb088083db18321c6902b127d0be9e99a067b5a537347797fed9a4491ad63efe5d7c5c + languageName: node + linkType: hard + +"@packasso/style-eslint@npm:0.1.1": + version: 0.1.1 + resolution: "@packasso/style-eslint@npm:0.1.1" + dependencies: + "@packasso/core": "npm:0.17.1" + checksum: a0f62bd90576e0b9eaff94afb6be5d5297ec67581052b6090983440ff44ec343d0df85cc8b9c1826ff01de15d35be0d7c7e2040f92687f4668fe10f43e1c9a61 + languageName: node + linkType: hard + +"@packasso/style-prettier@npm:0.1.1": + version: 0.1.1 + resolution: "@packasso/style-prettier@npm:0.1.1" + dependencies: + "@packasso/core": "npm:0.17.1" + checksum: 613cbd7a48fce4ff561e6eaf9179758c68c9e877e9c21415aa4ed2ff60885d6c80651d038ad73cbe2a094e4af79a8eacf45ccdbe16961b2f223aa6961de4c2a3 + languageName: node + linkType: hard + +"@packasso/test-jest@npm:0.18.1": + version: 0.18.1 + resolution: "@packasso/test-jest@npm:0.18.1" + dependencies: + "@packasso/core": "npm:0.17.1" + "@packasso/jest-snapshot-resolver": "npm:0.1.1" + checksum: 6fbcad69cd5921e2f338258703d42090a1b5f799283a06ddbe9be8f9d2f7609011b9e25ce0a8dc6fe5ce2d12fc9e58ab12516167b3c611f46fe6ad64a448337f + languageName: node + linkType: hard + "@popperjs/core@npm:^2.8.6, @popperjs/core@npm:^2.9.0": version: 2.11.6 resolution: "@popperjs/core@npm:2.11.6" @@ -1099,23 +1564,32 @@ __metadata: "@emotion/css": "npm:^11.10.0" "@emotion/react": "npm:^11.10.4" "@emotion/styled": "npm:^11.10.4" - "@swc/helpers": "npm:^0.4.11" + "@packasso/build-ts-swc": "npm:0.17.2" + "@packasso/cli": "npm:0.16.1" + "@packasso/dev-license": "npm:0.10.1" + "@packasso/dev-ts": "npm:0.17.1" + "@packasso/release-zx-semrel": "npm:0.16.1" + "@packasso/style-eslint": "npm:0.1.1" + "@packasso/style-prettier": "npm:0.1.1" + "@swc/cli": "npm:0.1.62" + "@swc/core": "npm:1.3.37" + "@swc/helpers": "npm:0.4.14" "@types/dom-helpers": "npm:^5.0.1" "@types/react": "npm:18.0.18" "@types/react-dom": "npm:18.0.6" "@types/react-google-recaptcha": "npm:^2.1.5" "@types/react-overlays": "npm:^3.1.0" "@types/react-transition-group": "npm:^4.4.5" - concurrently: "npm:7.4.0" + concurrently: "npm:7.6.0" css-loader: "npm:6.7.1" dom-helpers: "npm:^5.2.1" - eslint: "npm:8.23.0" - eslint-config-qiwi: "npm:1.17.6" - fast-glob: "npm:3.2.11" + eslint: "npm:8.35.0" + eslint-config-qiwi: "npm:2.0.9" file-loader: "npm:6.2.0" + globby-cp: "npm:1.1.3" markdown-to-jsx: "npm:^7.1.7" - prettier: "npm:2.7.1" - prettier-config-qiwi: "npm:1.7.2" + prettier: "npm:2.8.4" + prettier-config-qiwi: "npm:2.0.1" react: "npm:18.2.0" react-docgen-typescript: "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch" react-dom: "npm:18.2.0" @@ -1124,11 +1598,12 @@ __metadata: react-overlays: "npm:^5.2.0" react-styleguidist: "npm:12.0.0" react-transition-group: "npm:^4.4.5" + rimraf: "npm:4.2.0" style-loader: "npm:3.3.1" text-mask-core: "npm:^5.1.2" - tsc-esm-fix: "npm:2.20.4" - typescript: "npm:4.8.2" - webpack: "npm:5.74.0" + tsc-esm-fix: "npm:2.20.12" + typescript: "npm:4.9.5" + webpack: "npm:5.75.0" peerDependencies: "@types/react": ">=16.14.0" "@types/react-dom": ">=16.9.0" @@ -1141,25 +1616,37 @@ __metadata: version: 0.0.0-use.local resolution: "@qiwi/pijma-desktop-extra@workspace:packages/desktop-extra" dependencies: + "@packasso/build-ts-swc": "npm:0.17.2" + "@packasso/cli": "npm:0.16.1" + "@packasso/dev-license": "npm:0.10.1" + "@packasso/dev-ts": "npm:0.17.1" + "@packasso/release-zx-semrel": "npm:0.16.1" + "@packasso/style-eslint": "npm:0.1.1" + "@packasso/style-prettier": "npm:0.1.1" + "@packasso/test-jest": "npm:0.18.1" "@qiwi/common-formatters": "npm:^1.2.1" "@qiwi/pijma-core": "workspace:*" "@qiwi/pijma-desktop": "workspace:*" - "@qiwi/pijma-infra": "workspace:*" - "@types/jest": "npm:^29.0.0" + "@swc/cli": "npm:0.1.62" + "@swc/core": "npm:1.3.37" + "@swc/helpers": "npm:0.4.14" + "@swc/jest": "npm:0.2.24" + "@types/jest": "npm:29.4.0" "@types/react-js-pagination": "npm:^3.0.4" "@types/react-table": "npm:^7.7.12" "@types/react-test-renderer": "npm:^18.0.0" - concurrently: "npm:7.4.0" + concurrently: "npm:7.6.0" css-loader: "npm:6.7.1" date-fns: "npm:^2.29.2" - eslint: "npm:8.23.0" - eslint-config-qiwi: "npm:1.17.6" - fast-glob: "npm:3.2.11" + eslint: "npm:8.35.0" + eslint-config-qiwi: "npm:2.0.9" file-loader: "npm:6.2.0" - jest: "npm:^29.0.2" - jest-environment-jsdom: "npm:^29.0.2" - prettier: "npm:2.7.1" - prettier-config-qiwi: "npm:1.7.2" + globby-cp: "npm:1.1.3" + identity-obj-proxy: "npm:3.0.0" + jest: "npm:29.4.3" + jest-environment-jsdom: "npm:29.4.3" + prettier: "npm:2.8.4" + prettier-config-qiwi: "npm:2.0.1" react-day-picker: "npm:^8.2.0" react-dropzone: "npm:^14.2.2" react-i18next: "npm:^11.18.5" @@ -1167,10 +1654,11 @@ __metadata: react-router-dom: "npm:^6.3.0" react-table: "npm:^7.8.0" react-test-renderer: "npm:^18.2.0" + rimraf: "npm:4.2.0" style-loader: "npm:3.3.1" - tsc-esm-fix: "npm:2.20.4" - typescript: "npm:4.8.2" - webpack: "npm:5.74.0" + tsc-esm-fix: "npm:2.20.12" + typescript: "npm:4.9.5" + webpack: "npm:5.75.0" peerDependencies: react-i18next: ^11.18.5 languageName: unknown @@ -1180,56 +1668,48 @@ __metadata: version: 0.0.0-use.local resolution: "@qiwi/pijma-desktop@workspace:packages/desktop" dependencies: + "@packasso/build-ts-swc": "npm:0.17.2" + "@packasso/cli": "npm:0.16.1" + "@packasso/dev-license": "npm:0.10.1" + "@packasso/dev-ts": "npm:0.17.1" + "@packasso/release-zx-semrel": "npm:0.16.1" + "@packasso/style-eslint": "npm:0.1.1" + "@packasso/style-prettier": "npm:0.1.1" + "@packasso/test-jest": "npm:0.18.1" "@qiwi/pijma-core": "workspace:*" - "@qiwi/pijma-infra": "workspace:*" - concurrently: "npm:7.4.0" + "@swc/cli": "npm:0.1.62" + "@swc/core": "npm:1.3.37" + "@swc/helpers": "npm:0.4.14" + concurrently: "npm:7.6.0" css-loader: "npm:6.7.1" - eslint: "npm:8.23.0" - eslint-config-qiwi: "npm:1.17.6" - fast-glob: "npm:3.2.11" + eslint: "npm:8.35.0" + eslint-config-qiwi: "npm:2.0.9" + fast-glob: "npm:3.2.12" file-loader: "npm:6.2.0" - prettier: "npm:2.7.1" - prettier-config-qiwi: "npm:1.7.2" + globby-cp: "npm:1.1.3" + prettier: "npm:2.8.4" + prettier-config-qiwi: "npm:2.0.1" react-docgen-typescript: "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch" react-styleguidist: "npm:12.0.0" react-styleguidist-visual: "patch:react-styleguidist-visual@npm%3A0.9.0#~/.yarn/patches/react-styleguidist-visual-npm-0.9.0-c05bb39789.patch" + rimraf: "npm:4.2.0" style-loader: "npm:3.3.1" - tsc-esm-fix: "npm:2.20.4" - typescript: "npm:4.8.2" + swc-loader: "npm:0.2.3" + tsc-esm-fix: "npm:2.20.12" + tsconfig-paths-webpack-plugin: "npm:4.0.0" + typescript: "npm:4.9.5" wait-on: "npm:6.0.1" - webpack: "npm:5.74.0" + webpack: "npm:5.75.0" languageName: unknown linkType: soft "@qiwi/pijma-fonts@workspace:packages/fonts": version: 0.0.0-use.local resolution: "@qiwi/pijma-fonts@workspace:packages/fonts" - languageName: unknown - linkType: soft - -"@qiwi/pijma-infra@workspace:*, @qiwi/pijma-infra@workspace:packages/infra": - version: 0.0.0-use.local - resolution: "@qiwi/pijma-infra@workspace:packages/infra" dependencies: - "@swc/cli": "npm:0.1.57" - "@swc/core": "npm:1.2.248" - "@swc/jest": "npm:0.2.22" - concurrently: "npm:7.4.0" - css-loader: "npm:6.7.1" - eslint: "npm:8.23.0" - eslint-config-prettier: "npm:8.5.0" - eslint-config-qiwi: "npm:1.17.6" - fast-glob: "npm:3.2.11" - file-loader: "npm:6.2.0" - prettier: "npm:2.7.1" - prettier-config-qiwi: "npm:1.7.2" - react-docgen-typescript: "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch" - react-styleguidist: "npm:12.0.0" - style-loader: "npm:3.3.1" - swc-loader: "npm:0.2.3" - tsc-esm-fix: "npm:2.20.4" - typescript: "npm:4.8.2" - webpack: "npm:5.74.0" + "@packasso/cli": "npm:0.16.1" + "@packasso/dev-license": "npm:0.10.1" + "@packasso/release-zx-semrel": "npm:0.16.1" languageName: unknown linkType: soft @@ -1237,24 +1717,37 @@ __metadata: version: 0.0.0-use.local resolution: "@qiwi/pijma-mobile@workspace:packages/mobile" dependencies: + "@packasso/build-ts-swc": "npm:0.17.2" + "@packasso/cli": "npm:0.16.1" + "@packasso/dev-license": "npm:0.10.1" + "@packasso/dev-ts": "npm:0.17.1" + "@packasso/release-zx-semrel": "npm:0.16.1" + "@packasso/style-eslint": "npm:0.1.1" + "@packasso/style-prettier": "npm:0.1.1" "@qiwi/pijma-core": "workspace:*" - "@qiwi/pijma-infra": "workspace:*" - concurrently: "npm:7.4.0" + "@swc/cli": "npm:0.1.62" + "@swc/core": "npm:1.3.37" + "@swc/helpers": "npm:0.4.14" + concurrently: "npm:7.6.0" css-loader: "npm:6.7.1" - eslint: "npm:8.23.0" - eslint-config-qiwi: "npm:1.17.6" - fast-glob: "npm:3.2.11" + eslint: "npm:8.35.0" + eslint-config-qiwi: "npm:2.0.9" + fast-glob: "npm:3.2.12" file-loader: "npm:6.2.0" - prettier: "npm:2.7.1" - prettier-config-qiwi: "npm:1.7.2" + globby-cp: "npm:1.1.3" + prettier: "npm:2.8.4" + prettier-config-qiwi: "npm:2.0.1" react-docgen-typescript: "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch" react-styleguidist: "npm:12.0.0" react-styleguidist-visual: "patch:react-styleguidist-visual@npm%3A0.9.0#~/.yarn/patches/react-styleguidist-visual-npm-0.9.0-c05bb39789.patch" + rimraf: "npm:4.2.0" style-loader: "npm:3.3.1" - tsc-esm-fix: "npm:2.20.4" - typescript: "npm:4.8.2" + swc-loader: "npm:0.2.3" + tsc-esm-fix: "npm:2.20.12" + tsconfig-paths-webpack-plugin: "npm:4.0.0" + typescript: "npm:4.9.5" wait-on: "npm:6.0.1" - webpack: "npm:5.74.0" + webpack: "npm:5.75.0" languageName: unknown linkType: soft @@ -1263,30 +1756,94 @@ __metadata: resolution: "@qiwi/pijma-ssr@workspace:packages/ssr" dependencies: "@emotion/server": "npm:^11.10.0" - "@qiwi/pijma-infra": "workspace:*" - concurrently: "npm:7.4.0" + "@packasso/build-ts-swc": "npm:0.17.2" + "@packasso/cli": "npm:0.16.1" + "@packasso/dev-license": "npm:0.10.1" + "@packasso/dev-ts": "npm:0.17.1" + "@packasso/release-zx-semrel": "npm:0.16.1" + "@packasso/style-eslint": "npm:0.1.1" + "@packasso/style-prettier": "npm:0.1.1" + "@swc/cli": "npm:0.1.62" + "@swc/core": "npm:1.3.37" + "@swc/helpers": "npm:0.4.14" + concurrently: "npm:7.6.0" css-loader: "npm:6.7.1" - eslint: "npm:8.23.0" - eslint-config-qiwi: "npm:1.17.6" - fast-glob: "npm:3.2.11" + eslint: "npm:8.35.0" + eslint-config-qiwi: "npm:2.0.9" file-loader: "npm:6.2.0" - prettier: "npm:2.7.1" - prettier-config-qiwi: "npm:1.7.2" + globby-cp: "npm:1.1.3" + prettier: "npm:2.8.4" + prettier-config-qiwi: "npm:2.0.1" react-docgen-typescript: "patch:react-docgen-typescript@npm%3A2.2.2#~/.yarn/patches/react-docgen-typescript-npm-2.2.2-afb9698a32.patch" react-styleguidist: "npm:12.0.0" + rimraf: "npm:4.2.0" style-loader: "npm:3.3.1" - tsc-esm-fix: "npm:2.20.4" - typescript: "npm:4.8.2" - webpack: "npm:5.74.0" + tsc-esm-fix: "npm:2.20.12" + typescript: "npm:4.9.5" + webpack: "npm:5.75.0" languageName: unknown linkType: soft "@qiwi/pijma@workspace:.": version: 0.0.0-use.local resolution: "@qiwi/pijma@workspace:." + dependencies: + "@packasso/cli": "npm:0.16.1" + "@swc/cli": "npm:0.1.62" + "@swc/core": "npm:1.3.37" + "@swc/jest": "npm:0.2.24" + "@types/jest": "npm:29.4.0" + eslint: "npm:8.35.0" + eslint-config-qiwi: "npm:2.0.9" + globby-cp: "npm:1.1.3" + jest: "npm:29.4.3" + jest-environment-jsdom: "npm:29.4.3" + prettier: "npm:2.8.4" + prettier-config-qiwi: "npm:2.0.1" + rimraf: "npm:4.2.0" + tsc-esm-fix: "npm:2.20.12" + typescript: "npm:4.9.5" languageName: unknown linkType: soft +"@qiwi/substrate-abstract@npm:2.0.2": + version: 2.0.2 + resolution: "@qiwi/substrate-abstract@npm:2.0.2" + dependencies: + "@qiwi/substrate-types": "npm:2.0.2" + checksum: f709bec34697698b5ec27f05353ccc28304e6216631c3b5cf028a614fc49552351fb5e5f81be2b8fddb70d295c2d83f9a89d3d864a0ec617334ac913c775314a + languageName: node + linkType: hard + +"@qiwi/substrate-std@npm:2.0.2": + version: 2.0.2 + resolution: "@qiwi/substrate-std@npm:2.0.2" + dependencies: + "@qiwi/substrate-types": "npm:2.0.2" + tslib: "npm:^2.5.0" + checksum: 171658f59990dce0d28365bee6f9c47c70ffa9effe443574a09eb8a406ac56821a3033a1b69b2454bc72ce58c62a5d36ee35a57d98982a63e2aeed740397baab + languageName: node + linkType: hard + +"@qiwi/substrate-types@npm:2.0.2": + version: 2.0.2 + resolution: "@qiwi/substrate-types@npm:2.0.2" + checksum: 94b07d988f81ef74689e69e7b9dbfdde01cd75c63d3189ca23f60b3ecefc6fc8be3c9fc1a36324a74656677e1ea737ba3d485aefde9dfc7b5e1b409f4893e0e1 + languageName: node + linkType: hard + +"@qiwi/substrate@npm:^2.0.0": + version: 2.0.2 + resolution: "@qiwi/substrate@npm:2.0.2" + dependencies: + "@qiwi/substrate-abstract": "npm:2.0.2" + "@qiwi/substrate-std": "npm:2.0.2" + "@qiwi/substrate-types": "npm:2.0.2" + tslib: "npm:^2.5.0" + checksum: 5a9bcb7ece21bf81ab708d82e61b8278033b678cfe0bb426124daa7149e7bba6829598baa03791b696df67857577b8a15857aaf32158edcd60322eb1f063de4e + languageName: node + linkType: hard + "@restart/hooks@npm:^0.4.7": version: 0.4.7 resolution: "@restart/hooks@npm:0.4.7" @@ -1298,6 +1855,17 @@ __metadata: languageName: node linkType: hard +"@semrel-extra/topo@npm:1.5.0": + version: 1.5.0 + resolution: "@semrel-extra/topo@npm:1.5.0" + dependencies: + fast-glob: "npm:^3.2.12" + toposource: "npm:^1.1.1" + tslib: "npm:^2.5.0" + checksum: d5ce673a49ffe91edcf35eacba1f6bfd0659a876db2e670e378ea86d30e2b5d9e2544638848445f5f0f43804fd278f0f5c111d4e9ae7f2bc8eabfb403d4875cd + languageName: node + linkType: hard + "@sideway/address@npm:^4.1.3": version: 4.1.4 resolution: "@sideway/address@npm:4.1.4" @@ -1321,37 +1889,46 @@ __metadata: languageName: node linkType: hard -"@sinclair/typebox@npm:^0.24.1": - version: 0.24.38 - resolution: "@sinclair/typebox@npm:0.24.38" - checksum: 61efd22d3b2c52132d30cb9273d6a5f7fef38f764774bf8493d0ed2429550bc66b63d329330f60aef81291d457a2281cb5e60bf6a9695d7f8561f3431d1f9596 +"@sinclair/typebox@npm:^0.25.16": + version: 0.25.24 + resolution: "@sinclair/typebox@npm:0.25.24" + checksum: 1441d9862135d3248d15edb20dd31746b6a092d62d5d6c0a463b176c11cb5baade334c9f20c0d2605e9b0da6596148a1a5d9d9156eca008fc88197b098def65b languageName: node linkType: hard -"@sinonjs/commons@npm:^1.7.0": - version: 1.8.3 - resolution: "@sinonjs/commons@npm:1.8.3" +"@sindresorhus/is@npm:^4.0.0": + version: 4.6.0 + resolution: "@sindresorhus/is@npm:4.6.0" + checksum: c4326c4f01370580cf5b1b799d5aabab6cb3b0f7f06aec316bec403796064f3b7c68ebd22361313557bf153346266e133f8dd16b3a95e07650f70843321548f3 + languageName: node + linkType: hard + +"@sinonjs/commons@npm:^2.0.0": + version: 2.0.0 + resolution: "@sinonjs/commons@npm:2.0.0" dependencies: type-detect: "npm:4.0.8" - checksum: 4c217eade73eb5e8eef0d7e4acc93c30b115bcc33cb3269a7c13adec0202d28698ba4250377d39ae1cc6d9ad07a62481f9203d14b6ee5ac4052efdb3e2fd4e7c + checksum: c0781f895a6630750580e1ed13f5fc94c52187a774322c8510be88691506d6627c5fb03992f2484b3abf49a8a0e633d227eaf640a682ec00136b7aa850c2f286 languageName: node linkType: hard -"@sinonjs/fake-timers@npm:^9.1.2": - version: 9.1.2 - resolution: "@sinonjs/fake-timers@npm:9.1.2" +"@sinonjs/fake-timers@npm:^10.0.2": + version: 10.0.2 + resolution: "@sinonjs/fake-timers@npm:10.0.2" dependencies: - "@sinonjs/commons": "npm:^1.7.0" - checksum: ba7d46e9ff8074f3ccf14c2a6fc4c3beb3c784d6275342a40735b3f6a3c7adf7ccdaa222a58c7eaddb9ecba389aa037b3344a42f3541e27a4e1a5fcecde54d7c + "@sinonjs/commons": "npm:^2.0.0" + checksum: 71871b869836da889454e4aeceecc996d608e13accb0dd33d3234cd33a5394d72ed0334669df523df97a482d6b2a7119a5d853908812190ee718bdbc903198be languageName: node linkType: hard -"@swc/cli@npm:0.1.57": - version: 0.1.57 - resolution: "@swc/cli@npm:0.1.57" +"@swc/cli@npm:0.1.62": + version: 0.1.62 + resolution: "@swc/cli@npm:0.1.62" dependencies: + "@mole-inc/bin-wrapper": "npm:^8.0.1" commander: "npm:^7.1.0" fast-glob: "npm:^3.2.5" + semver: "npm:^7.3.8" slash: "npm:3.0.0" source-map: "npm:^0.7.3" peerDependencies: @@ -1363,141 +1940,100 @@ __metadata: bin: spack: bin/spack.js swc: bin/swc.js - checksum: bef2ebf226a4226a517a9dece07647901a9b7ca2e592fca80f2082c50c97e1c1360c8c57a14d5fdcd7db73cd0343d8710ec3d3684780f1c7aa9708145d92a33b - languageName: node - linkType: hard - -"@swc/core-android-arm-eabi@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core-android-arm-eabi@npm:1.2.248" - dependencies: - "@swc/wasm": "npm:1.2.122" - conditions: os=android & cpu=arm + swcx: bin/swcx.js + checksum: 6848c2fd0e3632b897f13af2360cdb1fb182925e3f9de7acf90c7f842714eb9cd7595553255b7296706f939acd6025e85d96bf3fccaf5084e57bd5c4b2ada21c languageName: node linkType: hard -"@swc/core-android-arm64@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core-android-arm64@npm:1.2.248" - dependencies: - "@swc/wasm": "npm:1.2.130" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - -"@swc/core-darwin-arm64@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core-darwin-arm64@npm:1.2.248" +"@swc/core-darwin-arm64@npm:1.3.37": + version: 1.3.37 + resolution: "@swc/core-darwin-arm64@npm:1.3.37" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core-darwin-x64@npm:1.2.248" +"@swc/core-darwin-x64@npm:1.3.37": + version: 1.3.37 + resolution: "@swc/core-darwin-x64@npm:1.3.37" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@swc/core-freebsd-x64@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core-freebsd-x64@npm:1.2.248" - dependencies: - "@swc/wasm": "npm:1.2.130" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"@swc/core-linux-arm-gnueabihf@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.2.248" - dependencies: - "@swc/wasm": "npm:1.2.130" +"@swc/core-linux-arm-gnueabihf@npm:1.3.37": + version: 1.3.37 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.37" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core-linux-arm64-gnu@npm:1.2.248" +"@swc/core-linux-arm64-gnu@npm:1.3.37": + version: 1.3.37 + resolution: "@swc/core-linux-arm64-gnu@npm:1.3.37" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core-linux-arm64-musl@npm:1.2.248" +"@swc/core-linux-arm64-musl@npm:1.3.37": + version: 1.3.37 + resolution: "@swc/core-linux-arm64-musl@npm:1.3.37" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core-linux-x64-gnu@npm:1.2.248" +"@swc/core-linux-x64-gnu@npm:1.3.37": + version: 1.3.37 + resolution: "@swc/core-linux-x64-gnu@npm:1.3.37" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core-linux-x64-musl@npm:1.2.248" +"@swc/core-linux-x64-musl@npm:1.3.37": + version: 1.3.37 + resolution: "@swc/core-linux-x64-musl@npm:1.3.37" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core-win32-arm64-msvc@npm:1.2.248" - dependencies: - "@swc/wasm": "npm:1.2.130" +"@swc/core-win32-arm64-msvc@npm:1.3.37": + version: 1.3.37 + resolution: "@swc/core-win32-arm64-msvc@npm:1.3.37" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core-win32-ia32-msvc@npm:1.2.248" - dependencies: - "@swc/wasm": "npm:1.2.130" +"@swc/core-win32-ia32-msvc@npm:1.3.37": + version: 1.3.37 + resolution: "@swc/core-win32-ia32-msvc@npm:1.3.37" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core-win32-x64-msvc@npm:1.2.248" +"@swc/core-win32-x64-msvc@npm:1.3.37": + version: 1.3.37 + resolution: "@swc/core-win32-x64-msvc@npm:1.3.37" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@swc/core@npm:1.2.248": - version: 1.2.248 - resolution: "@swc/core@npm:1.2.248" - dependencies: - "@swc/core-android-arm-eabi": "npm:1.2.248" - "@swc/core-android-arm64": "npm:1.2.248" - "@swc/core-darwin-arm64": "npm:1.2.248" - "@swc/core-darwin-x64": "npm:1.2.248" - "@swc/core-freebsd-x64": "npm:1.2.248" - "@swc/core-linux-arm-gnueabihf": "npm:1.2.248" - "@swc/core-linux-arm64-gnu": "npm:1.2.248" - "@swc/core-linux-arm64-musl": "npm:1.2.248" - "@swc/core-linux-x64-gnu": "npm:1.2.248" - "@swc/core-linux-x64-musl": "npm:1.2.248" - "@swc/core-win32-arm64-msvc": "npm:1.2.248" - "@swc/core-win32-ia32-msvc": "npm:1.2.248" - "@swc/core-win32-x64-msvc": "npm:1.2.248" +"@swc/core@npm:1.3.37": + version: 1.3.37 + resolution: "@swc/core@npm:1.3.37" + dependencies: + "@swc/core-darwin-arm64": "npm:1.3.37" + "@swc/core-darwin-x64": "npm:1.3.37" + "@swc/core-linux-arm-gnueabihf": "npm:1.3.37" + "@swc/core-linux-arm64-gnu": "npm:1.3.37" + "@swc/core-linux-arm64-musl": "npm:1.3.37" + "@swc/core-linux-x64-gnu": "npm:1.3.37" + "@swc/core-linux-x64-musl": "npm:1.3.37" + "@swc/core-win32-arm64-msvc": "npm:1.3.37" + "@swc/core-win32-ia32-msvc": "npm:1.3.37" + "@swc/core-win32-x64-msvc": "npm:1.3.37" dependenciesMeta: - "@swc/core-android-arm-eabi": - optional: true - "@swc/core-android-arm64": - optional: true "@swc/core-darwin-arm64": optional: true "@swc/core-darwin-x64": optional: true - "@swc/core-freebsd-x64": - optional: true "@swc/core-linux-arm-gnueabihf": optional: true "@swc/core-linux-arm64-gnu": @@ -1514,43 +2050,37 @@ __metadata: optional: true "@swc/core-win32-x64-msvc": optional: true - bin: - swcx: run_swcx.js - checksum: 72b8c149e53e23de05e42be26fd1566b5f841b0cf233b052f54ab24ce356a6ad765a55ca90352288366d695e7888f9e322525bd5423964dba625f06f495f58cd + checksum: 35914fb223ae5f144bc02d39245f6cc9720e4de2fa53918e7285c07913107a60d85e5a36b54f6bcfef3cd6224b082644d106baf2278e5110e849ff55b6fe4e81 languageName: node linkType: hard -"@swc/helpers@npm:^0.4.11": - version: 0.4.11 - resolution: "@swc/helpers@npm:0.4.11" +"@swc/helpers@npm:0.4.14": + version: 0.4.14 + resolution: "@swc/helpers@npm:0.4.14" dependencies: tslib: "npm:^2.4.0" - checksum: beb0124de3b8e1108325e81f46d85b987118a804e7fb347d6fdc28a4be0df80dff57e7031ce75cc8ac0411644ffd93d352cb73ed9c32ec057438c06cf2d98e9b + checksum: 39441920bbc95a5d13538f2250af91ec0e32b65fe3c774bbfc8912199e6a92d77705b2c7b3f3e3cbbe1e6e58978637a5b9fc5f3908fda94a73f0ed998f3dea6d languageName: node linkType: hard -"@swc/jest@npm:0.2.22": - version: 0.2.22 - resolution: "@swc/jest@npm:0.2.22" +"@swc/jest@npm:0.2.24": + version: 0.2.24 + resolution: "@swc/jest@npm:0.2.24" dependencies: "@jest/create-cache-key-function": "npm:^27.4.2" + jsonc-parser: "npm:^3.2.0" peerDependencies: "@swc/core": "*" - checksum: c90e1d8d522132ba5311d9b9ccc429061f4f1e68077c040ad8f4438b1386c7ca7948e938b60c33f2dbf0a512041654b46671bd4e337c97e2e76188e8609b2dd4 - languageName: node - linkType: hard - -"@swc/wasm@npm:1.2.122": - version: 1.2.122 - resolution: "@swc/wasm@npm:1.2.122" - checksum: 9c9896e62921925d469d9a7ec01331f2e11c452d56b080a1dd0b4569dcd69a5ba244b0a21c5688b71dfd3de780a1cbb3b204144026954fa55a4c451a29e2b18a + checksum: 364b11b55e60ba65f2a51942e4394959ddb48e9926980162d44c47f4885007616e0c9e5eaec104eba721be8f6080ec11fb9eefda90e8e739376224d64ae172e5 languageName: node linkType: hard -"@swc/wasm@npm:1.2.130": - version: 1.2.130 - resolution: "@swc/wasm@npm:1.2.130" - checksum: ff270fbb0a77d1e697a98209f180cea0c85c6c6e91df20361d8318d9d13749a0f2c23d0a20e78079e7d721ce7e203e91f2fff62f614d1635a73c5fb0f2ad897e +"@szmarczak/http-timer@npm:^4.0.5": + version: 4.0.6 + resolution: "@szmarczak/http-timer@npm:4.0.6" + dependencies: + defer-to-connect: "npm:^2.0.0" + checksum: d927951bccbbad4cb713af7378ad4d17b34e48725ea4641ad01f79b310564e3db2b173c4f81cb3b945dbf8b3dbcb4da7b8d0f2e754e79dc1b92c69a18ba0ac41 languageName: node linkType: hard @@ -1566,6 +2096,13 @@ __metadata: languageName: node linkType: hard +"@tokenizer/token@npm:^0.3.0": + version: 0.3.0 + resolution: "@tokenizer/token@npm:0.3.0" + checksum: 0154f4fecd335fc121f78d1a697d90833943c855be7f39f22012f1ac75f6241b37f07025ad4ce6ec2576730e2253d4ef2698364a20d93b749bcdb393dafed93e + languageName: node + linkType: hard + "@tootallnate/once@npm:2": version: 2.0.0 resolution: "@tootallnate/once@npm:2.0.0" @@ -1573,16 +2110,34 @@ __metadata: languageName: node linkType: hard +"@trivago/prettier-plugin-sort-imports@npm:^4.0.0": + version: 4.0.0 + resolution: "@trivago/prettier-plugin-sort-imports@npm:4.0.0" + dependencies: + "@babel/core": "npm:7.17.8" + "@babel/generator": "npm:7.17.7" + "@babel/parser": "npm:7.18.9" + "@babel/traverse": "npm:7.17.3" + "@babel/types": "npm:7.17.0" + javascript-natural-sort: "npm:0.7.1" + lodash: "npm:4.17.21" + peerDependencies: + "@vue/compiler-sfc": 3.x + prettier: 2.x + checksum: a07cbe5160989dddb973c9514fdad2d64be1e1e170ce2bfe268e590c2145a2cc1159fab32d79c162ee32ea6b0d82d7e65f25b3a99583713e63c100013dffc63c + languageName: node + linkType: hard + "@types/babel__core@npm:^7.1.14": - version: 7.1.19 - resolution: "@types/babel__core@npm:7.1.19" + version: 7.20.0 + resolution: "@types/babel__core@npm:7.20.0" dependencies: - "@babel/parser": "npm:^7.1.0" - "@babel/types": "npm:^7.0.0" + "@babel/parser": "npm:^7.20.7" + "@babel/types": "npm:^7.20.7" "@types/babel__generator": "npm:*" "@types/babel__template": "npm:*" "@types/babel__traverse": "npm:*" - checksum: c357dd2c14cda36b47c48d1690a139e7fe336e856b335b100420821e583895cedaa6dcf4241d7ae6869f0d7113a063f0f2823d8ce3d847ec5b9622cd6363b8ad + checksum: bf92f75954f36771eec94945ec0b38add06f3fb4605b67b7652d641604d60e9c6fd074810746f654bb3414efcc7fad648da4092ae7975d1b44dd2de59f86a577 languageName: node linkType: hard @@ -1606,11 +2161,11 @@ __metadata: linkType: hard "@types/babel__traverse@npm:*, @types/babel__traverse@npm:^7.0.6": - version: 7.18.1 - resolution: "@types/babel__traverse@npm:7.18.1" + version: 7.18.3 + resolution: "@types/babel__traverse@npm:7.18.3" dependencies: "@babel/types": "npm:^7.3.0" - checksum: cb7dc8df04d2a5157c28bb03a6ae9716493ca862e7de411db0eba19bea8caecec3ce379313ac454954a3bc19f7972ba5dfe802b00112be47c3ea8760a8405c59 + checksum: 78677b4e99554d5c68b60acfca185ca77e49b7abab908283c8731d9658a293bc3ebfbefa705fad2f2c33cd05f72447817bd46ec1846fd255fda86f66a70ef455 languageName: node linkType: hard @@ -1633,6 +2188,18 @@ __metadata: languageName: node linkType: hard +"@types/cacheable-request@npm:^6.0.1": + version: 6.0.3 + resolution: "@types/cacheable-request@npm:6.0.3" + dependencies: + "@types/http-cache-semantics": "npm:*" + "@types/keyv": "npm:^3.1.4" + "@types/node": "npm:*" + "@types/responselike": "npm:^1.0.0" + checksum: 5f54ee509d84e0c3750c4426096b634efb160eb4c38021f829209475bb9167c6b3bcf3b80417040a811b14e68c5961e78f0f43aea3bed4c249b8cdc602849bd6 + languageName: node + linkType: hard + "@types/connect-history-api-fallback@npm:^1.3.5": version: 1.3.5 resolution: "@types/connect-history-api-fallback@npm:1.3.5" @@ -1718,15 +2285,6 @@ __metadata: languageName: node linkType: hard -"@types/fs-extra@npm:^9.0.13": - version: 9.0.13 - resolution: "@types/fs-extra@npm:9.0.13" - dependencies: - "@types/node": "npm:*" - checksum: c46cad9514da52203eeed1cd72cb4caef3540edf2f3d64116febb36a5c5028478d5d3247f3894bb967872872b5aaa2c5628802056c05cd3543562d8ee9c182a0 - languageName: node - linkType: hard - "@types/glob@npm:^7.1.1": version: 7.2.0 resolution: "@types/glob@npm:7.2.0" @@ -1738,11 +2296,18 @@ __metadata: linkType: hard "@types/graceful-fs@npm:^4.1.3": - version: 4.1.5 - resolution: "@types/graceful-fs@npm:4.1.5" + version: 4.1.6 + resolution: "@types/graceful-fs@npm:4.1.6" dependencies: "@types/node": "npm:*" - checksum: 2785f1a962029597d01799bf96b400b4bedcf5295f379e0c08f2d1faa656fece563ecb655e85d379a61efdd4c99e5da16cce9f591c5a311f3354d86a27dab498 + checksum: dc2e227d91bed38fd674eb59ed634baf27509a7775f29965d9dc4602923292d6fb0d597995c940947bfc75aa70894c9a9c6e6e4f9dbabeed4973a20e5dc41a58 + languageName: node + linkType: hard + +"@types/http-cache-semantics@npm:*": + version: 4.0.1 + resolution: "@types/http-cache-semantics@npm:4.0.1" + checksum: 04aacd353b3823dea511927aa0b0a519a16a876aab4f6cc545828cafcadebddc631dcb1e1a949a09f1c30d37c5512e60e69469e22a75213ff1abf349deaad433 languageName: node linkType: hard @@ -1780,24 +2345,24 @@ __metadata: languageName: node linkType: hard -"@types/jest@npm:^29.0.0": - version: 29.0.0 - resolution: "@types/jest@npm:29.0.0" +"@types/jest@npm:29.4.0": + version: 29.4.0 + resolution: "@types/jest@npm:29.4.0" dependencies: expect: "npm:^29.0.0" pretty-format: "npm:^29.0.0" - checksum: 9edaba087a52d042937cae3b64e545bca00898a6a02e0c3a17a566572f01666e15bd59992ea1bd2d91b01ba1c23e9cacae9ca03cd70d7e7ed59571e99e0443da + checksum: e2e6a41c81340d2f00bcf6bbc7c5506832702207dd61d2d1431485d5ecb8280048ff15b92f6d6a3ecf6eb0b1e73809c9327200d08c9528bf38630bab4944d089 languageName: node linkType: hard "@types/jsdom@npm:^20.0.0": - version: 20.0.0 - resolution: "@types/jsdom@npm:20.0.0" + version: 20.0.1 + resolution: "@types/jsdom@npm:20.0.1" dependencies: "@types/node": "npm:*" "@types/tough-cookie": "npm:*" parse5: "npm:^7.0.0" - checksum: 039886b0559ac4484ee66b19c2c56acbe1b21b894e43b1e4f0f76bc3573cc6d888415eec0acfd1c17563871716625a75707cca2a9ec4485fc61d90b6d0f9ac1a + checksum: 764a6f29d3d1a08d8a79e1223cfb8c7c3479ddd5a73ffe2fd6f043a3cd8cf0804dd5075298b93d8075e8ecf87c4865f0c172118a2f844c5569a2c272e7da20f2 languageName: node linkType: hard @@ -1808,10 +2373,28 @@ __metadata: languageName: node linkType: hard -"@types/json5@npm:^0.0.29": - version: 0.0.29 - resolution: "@types/json5@npm:0.0.29" - checksum: 4f7f0667d7573ce2888e01e5e887c9661bb2a7e7fd79aae3c57391e812e87cc2fadc4dc1616530f33e63798a011fabe816f41730b511050aba702688466765fd +"@types/keyv@npm:^3.1.4": + version: 3.1.4 + resolution: "@types/keyv@npm:3.1.4" + dependencies: + "@types/node": "npm:*" + checksum: c1fbfe6e2a8c82656c8fc5782d937c82ed336cdca451c4d7a8d08d245531ad21572024d621b38071d34cfb7461702eea79fcf222a03264f00564d75e78bd348d + languageName: node + linkType: hard + +"@types/lodash-es@npm:4.17.6": + version: 4.17.6 + resolution: "@types/lodash-es@npm:4.17.6" + dependencies: + "@types/lodash": "npm:*" + checksum: 78b7a3b9626bce41ca3b04fce5df499a983cd2396c25bff0d86c1437de73f82d1bbe13ef025e1e9d1848233ba248d696b43f8c49e34cb14f68a44d93ae707d2c + languageName: node + linkType: hard + +"@types/lodash@npm:*": + version: 4.14.191 + resolution: "@types/lodash@npm:4.14.191" + checksum: e8762fec34eec79828b6b1e08243e25703bfad1b53a7032c0293b69f51d222c0a36ae08d3588ab8147c6a3f478096e02186a860b909cdbe29c7c745cefea2442 languageName: node linkType: hard @@ -1852,7 +2435,7 @@ __metadata: languageName: node linkType: hard -"@types/normalize-package-data@npm:^2.4.0": +"@types/normalize-package-data@npm:^2.4.0, @types/normalize-package-data@npm:^2.4.1": version: 2.4.1 resolution: "@types/normalize-package-data@npm:2.4.1" checksum: 4b597289520e45e54f408e91712f31fe7818e2c5d977eefecfae9db1f921a80247470d4f77da2dc8e1ef85bf0b5852ad64faf0106d88647421e45350d124f74f @@ -1867,9 +2450,9 @@ __metadata: linkType: hard "@types/prettier@npm:^2.1.5": - version: 2.7.0 - resolution: "@types/prettier@npm:2.7.0" - checksum: ee4924676c522c0fcd10c7e03b225f09b420f5e2113cd70663539e963028bc6df3afe48055595398afeadb4871d23843d877822e673ffc62db17f23e455e0f29 + version: 2.7.2 + resolution: "@types/prettier@npm:2.7.2" + checksum: d4d09d291ec7017ed30cc2bac5a51dbd5de02e2d75389a4c724ac6c3d7bb99da3173f57247d832b8f83c154dc8006cbdc35e565c1f1bf6869718d25857e430db languageName: node linkType: hard @@ -1968,6 +2551,15 @@ __metadata: languageName: node linkType: hard +"@types/responselike@npm:^1.0.0": + version: 1.0.0 + resolution: "@types/responselike@npm:1.0.0" + dependencies: + "@types/node": "npm:*" + checksum: f6e2bc61d2fbeabfd6c5df826e87832aa89f7b190dc993503ff1bbc19608ba75223f4c41c22bfb9500b66e36bf00e7a2c2c0af9e6abba6c2e5bad808eb324d2c + languageName: node + linkType: hard + "@types/retry@npm:0.12.0": version: 0.12.0 resolution: "@types/retry@npm:0.12.0" @@ -1982,6 +2574,13 @@ __metadata: languageName: node linkType: hard +"@types/semver@npm:^7.3.12": + version: 7.3.13 + resolution: "@types/semver@npm:7.3.13" + checksum: a76156ff60ddbd17bf2120c09dca3cd8ac7db4f8d8c69614a9ebc5202f05d1044def7fd8cf77415f7284ea8edfa1092b6e04dac07dc17c94762904c69dd2c85b + languageName: node + linkType: hard + "@types/serve-index@npm:^1.9.1": version: 1.9.1 resolution: "@types/serve-index@npm:1.9.1" @@ -2055,20 +2654,20 @@ __metadata: linkType: hard "@types/yargs@npm:^16.0.0": - version: 16.0.4 - resolution: "@types/yargs@npm:16.0.4" + version: 16.0.5 + resolution: "@types/yargs@npm:16.0.5" dependencies: "@types/yargs-parser": "npm:*" - checksum: ec6ebd4a69c802aaddba20bf20b3b5f6b51ef7f6e15e43fceeff774e790a1b5a6f731b89810496150c984ed439b1355f041f7542623620cd82d5a0f7d818c600 + checksum: a8fb34811969e4fa60bab73e8a43d7190a16d46c4df17363d0250e0a9906dba864ded0e558105ef8a0b888f9bed6158ceaec948ecd3e202adf26a6bbc5842f53 languageName: node linkType: hard "@types/yargs@npm:^17.0.8": - version: 17.0.12 - resolution: "@types/yargs@npm:17.0.12" + version: 17.0.22 + resolution: "@types/yargs@npm:17.0.22" dependencies: "@types/yargs-parser": "npm:*" - checksum: 51688f48466d9ef8632ba879eb933053ad84d5820ba1bb451f17b1b40a39e2724ded0e10e4bb5d5fd654ce3bd9964e5544b549bc70948972768e6cdbada7969c + checksum: d206364a45c5ff1e29084107795a0001c4eeeecb2ea9d10a072ea31aa04f8c5b7fe49f82e198765f07c533e5c11df6133ac24020310e33fb00ba44d8359c6eaf languageName: node linkType: hard @@ -2081,16 +2680,17 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.30.0": - version: 5.36.2 - resolution: "@typescript-eslint/eslint-plugin@npm:5.36.2" +"@typescript-eslint/eslint-plugin@npm:^5.46.0": + version: 5.51.0 + resolution: "@typescript-eslint/eslint-plugin@npm:5.51.0" dependencies: - "@typescript-eslint/scope-manager": "npm:5.36.2" - "@typescript-eslint/type-utils": "npm:5.36.2" - "@typescript-eslint/utils": "npm:5.36.2" + "@typescript-eslint/scope-manager": "npm:5.51.0" + "@typescript-eslint/type-utils": "npm:5.51.0" + "@typescript-eslint/utils": "npm:5.51.0" debug: "npm:^4.3.4" - functional-red-black-tree: "npm:^1.0.1" + grapheme-splitter: "npm:^1.0.4" ignore: "npm:^5.2.0" + natural-compare-lite: "npm:^1.4.0" regexpp: "npm:^3.2.0" semver: "npm:^7.3.7" tsutils: "npm:^3.21.0" @@ -2100,43 +2700,43 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 5b4e4f80dd19f86592aac77246aa5cd82bca47d662c3925fa1c427b44e4f4d374c4862abee773ed28c672fce1bb3ad85fc918a2e4476c83d8887fbe2955b93b4 + checksum: 0ad40903df1960f1609e645e97e410f925d1c947faad6b2448322059c1d2dd01a1d0814be83dec40c486043d6482b40c2d25cbbe701a191f60ae233a75358246 languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.30.0": - version: 5.36.2 - resolution: "@typescript-eslint/parser@npm:5.36.2" +"@typescript-eslint/parser@npm:^5.46.0": + version: 5.51.0 + resolution: "@typescript-eslint/parser@npm:5.51.0" dependencies: - "@typescript-eslint/scope-manager": "npm:5.36.2" - "@typescript-eslint/types": "npm:5.36.2" - "@typescript-eslint/typescript-estree": "npm:5.36.2" + "@typescript-eslint/scope-manager": "npm:5.51.0" + "@typescript-eslint/types": "npm:5.51.0" + "@typescript-eslint/typescript-estree": "npm:5.51.0" debug: "npm:^4.3.4" peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 3da230885edda667eb380f33a38e05c14d147593e9655925189aaaff702a4b82ea3c36210abb6128eded549b046d313431187d271175ae3af674efa91e386896 + checksum: bdd453137fdfb8dc02682d76a5e724d64ecc55b894f428b137e91b5d600d3007b0509a5ce1ea1d7fd142e474071895debc52f4246205e195f3e8283033ac31eb languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.36.2": - version: 5.36.2 - resolution: "@typescript-eslint/scope-manager@npm:5.36.2" +"@typescript-eslint/scope-manager@npm:5.51.0": + version: 5.51.0 + resolution: "@typescript-eslint/scope-manager@npm:5.51.0" dependencies: - "@typescript-eslint/types": "npm:5.36.2" - "@typescript-eslint/visitor-keys": "npm:5.36.2" - checksum: 8618198599ffa6220737e99c28187fd778e4876844ef388500195777eb814e77c712a5bc211cf41f1ea739df96a7fb13050f1dfd6f5c8f211b9a8c72815c3083 + "@typescript-eslint/types": "npm:5.51.0" + "@typescript-eslint/visitor-keys": "npm:5.51.0" + checksum: 746c7916ff9b89b9f71f10ed00de5e268d1aee48eb90b3af1baf200f72ec6fe64377502ea3b0b82f40a09894fdbe424c7a8d37731187dc5e1de658892c2471e8 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.36.2": - version: 5.36.2 - resolution: "@typescript-eslint/type-utils@npm:5.36.2" +"@typescript-eslint/type-utils@npm:5.51.0": + version: 5.51.0 + resolution: "@typescript-eslint/type-utils@npm:5.51.0" dependencies: - "@typescript-eslint/typescript-estree": "npm:5.36.2" - "@typescript-eslint/utils": "npm:5.36.2" + "@typescript-eslint/typescript-estree": "npm:5.51.0" + "@typescript-eslint/utils": "npm:5.51.0" debug: "npm:^4.3.4" tsutils: "npm:^3.21.0" peerDependencies: @@ -2144,23 +2744,23 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 2e1ce38ebd999a30d469c8e009e7bc6a51cecf252b00fe85dfec84e77729854d3e0bfaf0480c03834bf5bf4ad21db3e9cc80c9194221f5f702da054c388794d6 + checksum: 3abf4cb13b8df5bab75829f285fddc0d16028c4663f94215d4f17620a653b241e713b16941bebdccf3aa22ece055a28dd54ca5dda2a408f53b47493b9ab6fcac languageName: node linkType: hard -"@typescript-eslint/types@npm:5.36.2": - version: 5.36.2 - resolution: "@typescript-eslint/types@npm:5.36.2" - checksum: 49dcd2c4f292a6ea0ce4f1dce615b0933fe8eaf33d79401fcf16d8ddfbdee449a523850b53c77c8b89b430418f5f2830857ed28a4e6e0dd87eccc6f172a0c74f +"@typescript-eslint/types@npm:5.51.0": + version: 5.51.0 + resolution: "@typescript-eslint/types@npm:5.51.0" + checksum: 96eca9f240f1f41500a5c4a3e6d3a98c2528d37ed6b5e129a77540707bd1dd06331f577ce0b723f1dd3d5489e6c827947d0a89d2744a6264c0fcf323291456ce languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.36.2": - version: 5.36.2 - resolution: "@typescript-eslint/typescript-estree@npm:5.36.2" +"@typescript-eslint/typescript-estree@npm:5.51.0": + version: 5.51.0 + resolution: "@typescript-eslint/typescript-estree@npm:5.51.0" dependencies: - "@typescript-eslint/types": "npm:5.36.2" - "@typescript-eslint/visitor-keys": "npm:5.36.2" + "@typescript-eslint/types": "npm:5.51.0" + "@typescript-eslint/visitor-keys": "npm:5.51.0" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" @@ -2169,33 +2769,35 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 2f992314a2f2d47a65fe9d327bdf41ef0176e9257a58b1755061845c2a43a24432b9ce4a9d98c5ca0fc867ff131423de3703023d29828ce52f774519f91ba114 + checksum: eda35230e3c32c5bca48e50fdc369aa05345a82909699061cd9648572eaa731dc715662645ef466ea0e080f0b8059faf1af92f2fe70b7c1c211b0892bc0fe2fe languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.36.2": - version: 5.36.2 - resolution: "@typescript-eslint/utils@npm:5.36.2" +"@typescript-eslint/utils@npm:5.51.0": + version: 5.51.0 + resolution: "@typescript-eslint/utils@npm:5.51.0" dependencies: "@types/json-schema": "npm:^7.0.9" - "@typescript-eslint/scope-manager": "npm:5.36.2" - "@typescript-eslint/types": "npm:5.36.2" - "@typescript-eslint/typescript-estree": "npm:5.36.2" + "@types/semver": "npm:^7.3.12" + "@typescript-eslint/scope-manager": "npm:5.51.0" + "@typescript-eslint/types": "npm:5.51.0" + "@typescript-eslint/typescript-estree": "npm:5.51.0" eslint-scope: "npm:^5.1.1" eslint-utils: "npm:^3.0.0" + semver: "npm:^7.3.7" peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: e68663a8ac925946359b4431c7c686d35e63217557f7dd2a7b0a945ccea3ab1b0d57a716512ca75b595ee0e12f72982e02d8be4a227e0f7ce595198841df46f7 + checksum: 3e8e9c7d8bca19955ae6d625873b268d49422ecd06b9e042e1d19aa273ae895b8ebe32ea34d5fdf55ec1b714b4e7211e0459955455dc17c1db633ddf0f958444 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.36.2": - version: 5.36.2 - resolution: "@typescript-eslint/visitor-keys@npm:5.36.2" +"@typescript-eslint/visitor-keys@npm:5.51.0": + version: 5.51.0 + resolution: "@typescript-eslint/visitor-keys@npm:5.51.0" dependencies: - "@typescript-eslint/types": "npm:5.36.2" + "@typescript-eslint/types": "npm:5.51.0" eslint-visitor-keys: "npm:^3.3.0" - checksum: bf13308a5dab467b11c48ad64d79a7132b9f63c841c25d2bcf8e68eeb23527f013bc8e8911b1f3d2708f4bb7aa34aee4bcdf152faf93825528b4b7ae3af59c08 + checksum: 29ab53ea571f1a02284935cf7852e56695dfdbde28db89613ebd8da40f183e507708a2c990629c5c088675cdf297b6bbb89a3f3fd9064c7097a76eebc0f9de85 languageName: node linkType: hard @@ -2406,13 +3008,13 @@ __metadata: languageName: node linkType: hard -"acorn-globals@npm:^6.0.0": - version: 6.0.0 - resolution: "acorn-globals@npm:6.0.0" +"acorn-globals@npm:^7.0.0": + version: 7.0.1 + resolution: "acorn-globals@npm:7.0.1" dependencies: - acorn: "npm:^7.1.1" - acorn-walk: "npm:^7.1.1" - checksum: 8696597252e0635c3b8c5e9343c93a261e7e37ba19a56cfaf567879943e94c5e4b9068f8ce42b9518fc8c704f72ab75b002a0e562f30f6474afc93fddfca3233 + acorn: "npm:^8.1.0" + acorn-walk: "npm:^8.0.2" + checksum: 2484617290030bb7a8d71780955ef3cd63d1c79bd8bde44504164183ae59a9f10183b45c2b35a11c1f8ae1951075474b60ae3d52f30e234913751d818c83ed38 languageName: node linkType: hard @@ -2434,10 +3036,10 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^7.1.1": - version: 7.2.0 - resolution: "acorn-walk@npm:7.2.0" - checksum: eeb1b1caa68a6505a2c61710f2cc85a89c9d208dd25de2cc6d0a2142968d630760359336ced43f28a0bcb516af217fb997c1e74fc78fc23083b17ef8110b502d +"acorn-walk@npm:^8.0.2": + version: 8.2.0 + resolution: "acorn-walk@npm:8.2.0" + checksum: 389d3f19998ac0924a590485a6502b72059e3ab67cc820477c2c40cca06b6c50bb8d424bfbb8fe97955eb489b88cb5dc7ee6979fcf9321dce7eb451ba3456d3d languageName: node linkType: hard @@ -2450,12 +3052,12 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^7.1.1": - version: 7.4.1 - resolution: "acorn@npm:7.4.1" +"acorn@npm:^8.1.0, acorn@npm:^8.8.1": + version: 8.8.2 + resolution: "acorn@npm:8.8.2" bin: acorn: bin/acorn - checksum: a7cebd1811f1dd177a6e684184f2608ded8a1783f126c8b2f794d70275e1a1e02c64fdd77eb84298d9754a295d507769033385b049d04f033b424110a02656ef + checksum: 5a47325f0aa08202080cb167d5b8103720d8a1d199f57988afa48bdfbc3c9973270b00e38c2c874240a49929625beaaae8c4ec683f5272b5f07f1119a457e5d0 languageName: node linkType: hard @@ -2660,6 +3262,13 @@ __metadata: languageName: node linkType: hard +"arch@npm:^2.1.0": + version: 2.2.0 + resolution: "arch@npm:2.2.0" + checksum: 62f8a11342f4434324d349bcbe5278ca6b2092e3c4a955956ad4373b55b150616be419bff706584644b41a741625530a771077994f1c0bfe022396d01c1210a6 + languageName: node + linkType: hard + "are-we-there-yet@npm:^3.0.0": version: 3.0.1 resolution: "are-we-there-yet@npm:3.0.1" @@ -2700,7 +3309,7 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.4, array-includes@npm:^3.1.5": +"array-includes@npm:^3.1.5": version: 3.1.5 resolution: "array-includes@npm:3.1.5" dependencies: @@ -2713,6 +3322,19 @@ __metadata: languageName: node linkType: hard +"array-includes@npm:^3.1.6": + version: 3.1.6 + resolution: "array-includes@npm:3.1.6" + dependencies: + call-bind: "npm:^1.0.2" + define-properties: "npm:^1.1.4" + es-abstract: "npm:^1.20.4" + get-intrinsic: "npm:^1.1.3" + is-string: "npm:^1.0.7" + checksum: b4eb40ff992138350675662bb5a0351553d63bef17fb64c54e2ee9d6434ff3d8ba71d511af90a8f9400cd411c7311604310bd4ead1c101638c660461ea7916ae + languageName: node + linkType: hard + "array-union@npm:^1.0.1": version: 1.0.2 resolution: "array-union@npm:1.0.2" @@ -2736,27 +3358,28 @@ __metadata: languageName: node linkType: hard -"array.prototype.flat@npm:^1.2.5": - version: 1.3.0 - resolution: "array.prototype.flat@npm:1.3.0" +"array.prototype.flatmap@npm:^1.3.1": + version: 1.3.1 + resolution: "array.prototype.flatmap@npm:1.3.1" dependencies: call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.3" - es-abstract: "npm:^1.19.2" + define-properties: "npm:^1.1.4" + es-abstract: "npm:^1.20.4" es-shim-unscopables: "npm:^1.0.0" - checksum: 879a2e557d39d01896d13058da43ad1a1acd85b1d97ae0e60affd00896c18f830fb8d9bd137ae3f4bd8e6b5c829f503fa7dd7ee2b415fdecdc28c91bede0ed79 + checksum: 7ce9fb7473ea95f24a19241318d5a4f5a69d262ad3352a38331ad3532880c6cca1d221cbc1527dd417535eca26d9c44be513d1a40c1097db9ebfa982ab64543f languageName: node linkType: hard -"array.prototype.flatmap@npm:^1.3.0": - version: 1.3.0 - resolution: "array.prototype.flatmap@npm:1.3.0" +"array.prototype.tosorted@npm:^1.1.1": + version: 1.1.1 + resolution: "array.prototype.tosorted@npm:1.1.1" dependencies: call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.3" - es-abstract: "npm:^1.19.2" + define-properties: "npm:^1.1.4" + es-abstract: "npm:^1.20.4" es-shim-unscopables: "npm:^1.0.0" - checksum: 4777a24151df492917e8f9c1de8f91a97feb9d967a1cb302cdde1cde09b73e1e1732345aaaef54945ae6ec375ade7746db6f4c2df24a89c9c27f0fc484211af5 + get-intrinsic: "npm:^1.1.3" + checksum: e86770e9d6500f44eb4da8d1ee278c39d8b8d3963b7a6ca3282d96a7b017e87ae20410b74747696fd2ddd621e481bf2fde9aa1ed1718592a09534b00ffb51cb5 languageName: node linkType: hard @@ -2821,6 +3444,13 @@ __metadata: languageName: node linkType: hard +"available-typed-arrays@npm:^1.0.5": + version: 1.0.5 + resolution: "available-typed-arrays@npm:1.0.5" + checksum: 6b301a7ec3da82181c73101395cc915c049bbcba7e5f354809dab60c5b492440929328eeb73c07431ef8e35e6fa5af505690b20ed91f548d3bac1a456d458a78 + languageName: node + linkType: hard + "axios@npm:^0.25.0": version: 0.25.0 resolution: "axios@npm:0.25.0" @@ -2830,20 +3460,20 @@ __metadata: languageName: node linkType: hard -"babel-jest@npm:^29.0.2": - version: 29.0.2 - resolution: "babel-jest@npm:29.0.2" +"babel-jest@npm:^29.5.0": + version: 29.5.0 + resolution: "babel-jest@npm:29.5.0" dependencies: - "@jest/transform": "npm:^29.0.2" + "@jest/transform": "npm:^29.5.0" "@types/babel__core": "npm:^7.1.14" babel-plugin-istanbul: "npm:^6.1.1" - babel-preset-jest: "npm:^29.0.2" + babel-preset-jest: "npm:^29.5.0" chalk: "npm:^4.0.0" graceful-fs: "npm:^4.2.9" slash: "npm:^3.0.0" peerDependencies: "@babel/core": ^7.8.0 - checksum: 3ed11e772c3de63215467bd2bb9beb758eb3127b0ce07fe327c8ca403aabddf47f1e27c162c977d2b4b2c4599372fc5cbcb01809249161b45ff677d9291bfbb2 + checksum: 77be7fcdb768f1fde5e901e3418f9ce7a31d0f6c05783f1ec88c5742c1ede954320c8c522e9816ad5b7b61dbb40943a26aa859277d1234a08346137e4194ab0c languageName: node linkType: hard @@ -2860,15 +3490,15 @@ __metadata: languageName: node linkType: hard -"babel-plugin-jest-hoist@npm:^29.0.2": - version: 29.0.2 - resolution: "babel-plugin-jest-hoist@npm:29.0.2" +"babel-plugin-jest-hoist@npm:^29.5.0": + version: 29.5.0 + resolution: "babel-plugin-jest-hoist@npm:29.5.0" dependencies: "@babel/template": "npm:^7.3.3" "@babel/types": "npm:^7.3.3" "@types/babel__core": "npm:^7.1.14" "@types/babel__traverse": "npm:^7.0.6" - checksum: a8a4d52148edd3f6521e80551a2391dbd6b55ab57fa58bd795c56f2ee43ffc8f9d9e8999a60aff7c2fe198127478879d6fe5bc1ab1d014e1cd1abeb68c8bcfc7 + checksum: b9a8ede95b1dc7e02d0b2030b1e214050b10b719af4549f11d9197156655023f411e28a604e8f6529dc477dba4c27ff167c5737e941d4fd1a225273d23ed91a4 languageName: node linkType: hard @@ -2905,15 +3535,15 @@ __metadata: languageName: node linkType: hard -"babel-preset-jest@npm:^29.0.2": - version: 29.0.2 - resolution: "babel-preset-jest@npm:29.0.2" +"babel-preset-jest@npm:^29.5.0": + version: 29.5.0 + resolution: "babel-preset-jest@npm:29.5.0" dependencies: - babel-plugin-jest-hoist: "npm:^29.0.2" + babel-plugin-jest-hoist: "npm:^29.5.0" babel-preset-current-node-syntax: "npm:^1.0.0" peerDependencies: "@babel/core": ^7.0.0 - checksum: b96ac90a19eaf7e566824fca0d7bf00cdd227275b9fe6d54a390ea8cff8b16c844a54cf30283f961799e53ac6db6673c9bfc20391c40ccb29b24eb3a3a3b821f + checksum: 033e70f9abc4a955a5dddc43e228201f8fa2b91f22b3feb9955dae870718e077bdea735817c67ea5ab6601d98f2f84609219b469335b8bf2091c65b31191b664 languageName: node linkType: hard @@ -2959,6 +3589,37 @@ __metadata: languageName: node linkType: hard +"bin-check@npm:^4.1.0": + version: 4.1.0 + resolution: "bin-check@npm:4.1.0" + dependencies: + execa: "npm:^0.7.0" + executable: "npm:^4.1.0" + checksum: 99917922ee4da66a2fc37a21094d0aa475e74fb05474105c851ab4f29983021f10d0321ed2eae661855fad47383ec80615eacc4bacd0e464adfff300e759d3ec + languageName: node + linkType: hard + +"bin-version-check@npm:^5.0.0": + version: 5.0.0 + resolution: "bin-version-check@npm:5.0.0" + dependencies: + bin-version: "npm:^6.0.0" + semver: "npm:^7.3.5" + semver-truncate: "npm:^2.0.0" + checksum: 2c07c41ac05243b1f0160cbaffe64e24897fe084997f6c4eaca738d4aba3483f37b9cfe64115980c91c95cb58748084ca8648553126cba859d34b33ad62abcba + languageName: node + linkType: hard + +"bin-version@npm:^6.0.0": + version: 6.0.0 + resolution: "bin-version@npm:6.0.0" + dependencies: + execa: "npm:^5.0.0" + find-versions: "npm:^5.0.0" + checksum: 9b26341c2bc1496c3d97b8e1796eff9415d11c3cc4257b0ad09717cc6382b75d1e5ecaaf512f4238fb538f904e53adbfea2e1731969dfc4399454f1b41b27efb + languageName: node + linkType: hard + "binary-extensions@npm:^2.0.0": version: 2.2.0 resolution: "binary-extensions@npm:2.2.0" @@ -3037,13 +3698,6 @@ __metadata: languageName: node linkType: hard -"browser-process-hrtime@npm:^1.0.0": - version: 1.0.0 - resolution: "browser-process-hrtime@npm:1.0.0" - checksum: c3c9f96ea06964e198f06edecf6c474bb0ab6279f9b0783cd9bca06b865ae9fc2dcbd30816509c732b40144f5bf7e74d21db8279b457cc2be87e5dcd41c372c7 - languageName: node - linkType: hard - "browserslist@npm:^4.14.5, browserslist@npm:^4.18.1, browserslist@npm:^4.20.2": version: 4.21.3 resolution: "browserslist@npm:4.21.3" @@ -3058,6 +3712,20 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.21.3": + version: 4.21.5 + resolution: "browserslist@npm:4.21.5" + dependencies: + caniuse-lite: "npm:^1.0.30001449" + electron-to-chromium: "npm:^1.4.284" + node-releases: "npm:^2.0.8" + update-browserslist-db: "npm:^1.0.10" + bin: + browserslist: cli.js + checksum: 66c055357fda71fcde8a9dc1f5af7e5bd320670ad5199196275703e305b77f92969c07a70a383e8130cd0f8c98a8b6d2a211b57ee6b5b4c2ac37779d9800a6c4 + languageName: node + linkType: hard + "bser@npm:2.1.1": version: 2.1.1 resolution: "bser@npm:2.1.1" @@ -3122,15 +3790,6 @@ __metadata: languageName: node linkType: hard -"builtins@npm:^5.0.1": - version: 5.0.1 - resolution: "builtins@npm:5.0.1" - dependencies: - semver: "npm:^7.0.0" - checksum: d84d5abbe1480218e2f15c1179993047f291052614d6bc225359dc03932c6306002e94a3c86166a815478f1c9b2934a645dbfdee31c71ad50d71f128535d0c19 - languageName: node - linkType: hard - "bytes@npm:3.0.0": version: 3.0.0 resolution: "bytes@npm:3.0.0" @@ -3193,6 +3852,28 @@ __metadata: languageName: node linkType: hard +"cacheable-lookup@npm:^5.0.3": + version: 5.0.4 + resolution: "cacheable-lookup@npm:5.0.4" + checksum: 08f9009465fbbc867446e41af57c31e1d9f37723d9eab8efe340b71745eded3467b2d707840ec6939d466a961e385493af50bd14c3b4c6854dc2c2e0ec7626b3 + languageName: node + linkType: hard + +"cacheable-request@npm:^7.0.2": + version: 7.0.2 + resolution: "cacheable-request@npm:7.0.2" + dependencies: + clone-response: "npm:^1.0.2" + get-stream: "npm:^5.1.0" + http-cache-semantics: "npm:^4.0.0" + keyv: "npm:^4.0.0" + lowercase-keys: "npm:^2.0.0" + normalize-url: "npm:^6.0.1" + responselike: "npm:^2.0.0" + checksum: d48bf325895ea31b1f8a556060676239af59433e7626c37cced3af45f9165e3e62f22eab72e027cd92d86e822a55de682d80a8c31c74af69923fa4fe08dbe3d5 + languageName: node + linkType: hard + "call-bind@npm:^1.0.0, call-bind@npm:^1.0.2": version: 1.0.2 resolution: "call-bind@npm:1.0.2" @@ -3210,15 +3891,15 @@ __metadata: languageName: node linkType: hard -"camelcase-keys@npm:^7.0.0": - version: 7.0.2 - resolution: "camelcase-keys@npm:7.0.2" +"camelcase-keys@npm:^8.0.2": + version: 8.0.2 + resolution: "camelcase-keys@npm:8.0.2" dependencies: - camelcase: "npm:^6.3.0" - map-obj: "npm:^4.1.0" - quick-lru: "npm:^5.1.1" - type-fest: "npm:^1.2.1" - checksum: 45c7333f80e8f6ea61ead921a31fa4c754f96caee373bdc27e12221f904a681d86cfe2de28d4a951b6a9764e90df57116393c5d43cecbe73a3af26a5b529bae6 + camelcase: "npm:^7.0.0" + map-obj: "npm:^4.3.0" + quick-lru: "npm:^6.1.1" + type-fest: "npm:^2.13.0" + checksum: dd99ae8b126fc5c46b0cab0318c6ba3c307dd67fcc14484b44950dc2946c7725b8b3c68edaa2bf4609db6ad73803eb05ca7b665865e8b57a284d3cefee641083 languageName: node linkType: hard @@ -3236,13 +3917,20 @@ __metadata: languageName: node linkType: hard -"camelcase@npm:^6.2.0, camelcase@npm:^6.3.0": +"camelcase@npm:^6.2.0": version: 6.3.0 resolution: "camelcase@npm:6.3.0" checksum: 3c802157fc61af58194ed056d1830444ec1268a556bb90c7a3a729db481a897cbfdf86fb9db91b45b5e3b891183024e13bf26c866e8e5a37853ace6fa01b7be1 languageName: node linkType: hard +"camelcase@npm:^7.0.0": + version: 7.0.1 + resolution: "camelcase@npm:7.0.1" + checksum: 8cc1909d4219769e835180fde379b5caeff681336506f9c4474b76a7ba0fe8eda4a183b3d05c09c39a118d8a44c384cf8a93e4326c655a82d03ded87a4eea829 + languageName: node + linkType: hard + "caniuse-lite@npm:^1.0.30001370": version: 1.0.30001390 resolution: "caniuse-lite@npm:1.0.30001390" @@ -3250,6 +3938,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001449": + version: 1.0.30001451 + resolution: "caniuse-lite@npm:1.0.30001451" + checksum: c23513d8c93b4fd849b3a418ab13ef3977437f5f21ebcf099671285f6cf6d245e2456829d9c443458d1b7784efa434ff67ba9d6722b68b5d78bdd35898369460 + languageName: node + linkType: hard + "chalk@npm:^2.0.0, chalk@npm:^2.0.1, chalk@npm:^2.3.1, chalk@npm:^2.4.1, chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" @@ -3349,10 +4044,10 @@ __metadata: languageName: node linkType: hard -"ci-info@npm:^3.2.0, ci-info@npm:^3.3.2": - version: 3.3.2 - resolution: "ci-info@npm:3.3.2" - checksum: 88ce43eb69180dd01bef1968c43ca39ef0ac6fce5d112d8689d9f58c7f239ae568e48b9097a1315866b66af46fd0158133258c1df0ecd672c99bdee580c25e66 +"ci-info@npm:^3.2.0, ci-info@npm:^3.6.1": + version: 3.8.0 + resolution: "ci-info@npm:3.8.0" + checksum: cbde5915261038659da39e508b688acd0baa981a73dc34357865957403383e0475b050c2f44971a3b37523849973af345724feb8f2e4a8eddd6db41be708f4ba languageName: node linkType: hard @@ -3451,6 +4146,15 @@ __metadata: languageName: node linkType: hard +"clone-response@npm:^1.0.2": + version: 1.0.3 + resolution: "clone-response@npm:1.0.3" + dependencies: + mimic-response: "npm:^1.0.0" + checksum: c62b009bcb5ad7fb11ba8781e04ee702e9e37226d84578ecd3c4f2aa4607313eb49f3e0d9a8435fe9d93d72962dcfff0f3a659a92e40e2917588b27eece4d744 + languageName: node + linkType: hard + "clone@npm:^1.0.2": version: 1.0.4 resolution: "clone@npm:1.0.4" @@ -3625,9 +4329,9 @@ __metadata: languageName: node linkType: hard -"concurrently@npm:7.4.0": - version: 7.4.0 - resolution: "concurrently@npm:7.4.0" +"concurrently@npm:7.6.0": + version: 7.6.0 + resolution: "concurrently@npm:7.6.0" dependencies: chalk: "npm:^4.1.0" date-fns: "npm:^2.29.1" @@ -3641,7 +4345,7 @@ __metadata: bin: conc: dist/bin/concurrently.js concurrently: dist/bin/concurrently.js - checksum: 5d65e2bef0269ae16c84981e85f89c031bd43608def60dbfa115e142f78caa6935eea547044982777df695673069112602643095786817339699e33eb5c94fff + checksum: 26e426eaaf58e24c144fa1e10cb3aa9fccace1ce574199a69216daafc9b95368c1ed13a8e557c1fb49819853748c0b4c991373036e8ef56d3a96eb9232ae9158 languageName: node linkType: hard @@ -3659,7 +4363,7 @@ __metadata: languageName: node linkType: hard -"content-disposition@npm:0.5.4": +"content-disposition@npm:0.5.4, content-disposition@npm:^0.5.4": version: 0.5.4 resolution: "content-disposition@npm:0.5.4" dependencies: @@ -3675,7 +4379,7 @@ __metadata: languageName: node linkType: hard -"convert-source-map@npm:^1.4.0, convert-source-map@npm:^1.5.0, convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": +"convert-source-map@npm:^1.5.0, convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": version: 1.8.0 resolution: "convert-source-map@npm:1.8.0" dependencies: @@ -3684,6 +4388,13 @@ __metadata: languageName: node linkType: hard +"convert-source-map@npm:^2.0.0": + version: 2.0.0 + resolution: "convert-source-map@npm:2.0.0" + checksum: 5a2bc5c8cbb87e36d9c33c541eccc1eb61480d72a1cda03ccaf00346479e788994ccbc80bd00874390a9a38c07b68f195991622f4ad8a5b791a0e90870e25450 + languageName: node + linkType: hard + "cookie-signature@npm:1.0.6": version: 1.0.6 resolution: "cookie-signature@npm:1.0.6" @@ -3728,6 +4439,18 @@ __metadata: languageName: node linkType: hard +"cosmiconfig@npm:8.1.0": + version: 8.1.0 + resolution: "cosmiconfig@npm:8.1.0" + dependencies: + import-fresh: "npm:^3.2.1" + js-yaml: "npm:^4.1.0" + parse-json: "npm:^5.0.0" + path-type: "npm:^4.0.0" + checksum: afc737bbfdd6e963183336d016f37dbdae4ba41b412187e3be35eaf2d095b5a6fb0bb08f9d9a0f0f7cc893ab363aaff4ebe9f28fd99064adb0a754667b170026 + languageName: node + linkType: hard + "cosmiconfig@npm:^6.0.0": version: 6.0.0 resolution: "cosmiconfig@npm:6.0.0" @@ -3773,6 +4496,17 @@ __metadata: languageName: node linkType: hard +"cross-spawn@npm:^5.0.1": + version: 5.1.0 + resolution: "cross-spawn@npm:5.1.0" + dependencies: + lru-cache: "npm:^4.0.1" + shebang-command: "npm:^1.2.0" + which: "npm:^1.2.9" + checksum: b365f6fb85b5c23d0bc08dab2eee1a8bcdeff282945ed824537065dc249aa47ee049843aa0ccbd4191934805e2d6882af8f122ceb4e137b9bdf9c9fc37ea4960 + languageName: node + linkType: hard + "cross-spawn@npm:^6.0.0": version: 6.0.5 resolution: "cross-spawn@npm:6.0.5" @@ -3879,7 +4613,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:2.6.9, debug@npm:^2.6.0, debug@npm:^2.6.9": +"debug@npm:2.6.9, debug@npm:^2.6.0": version: 2.6.9 resolution: "debug@npm:2.6.9" dependencies: @@ -3900,7 +4634,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:^3.1.0, debug@npm:^3.2.7": +"debug@npm:^3.1.0": version: 3.2.7 resolution: "debug@npm:3.2.7" dependencies: @@ -3926,17 +4660,26 @@ __metadata: languageName: node linkType: hard -"decamelize@npm:^5.0.0": - version: 5.0.1 - resolution: "decamelize@npm:5.0.1" - checksum: 3ab0a369bdbfa50fb6706c266eb602fc5521c710b3aee658bed52d39c9963ebdad049302d6222ae53a28e25715cc389dc858223243f815d7d25aed4b23cae3bd +"decamelize@npm:^6.0.0": + version: 6.0.0 + resolution: "decamelize@npm:6.0.0" + checksum: 0d2479a7a48bc518436b73abaf173aa1234041585be8549d212864c401a50dd319272b8064a5d09e89fc937be2fddfc98df69b12689309a96b267b31200bf713 languageName: node linkType: hard -"decimal.js@npm:^10.3.1": - version: 10.4.0 - resolution: "decimal.js@npm:10.4.0" - checksum: e1347f1f0c0f89ccffb79d287bab6f6469b4a6bae3c2aaf9e9b903d255c98b9d8f6cf4d2d22d98a6d0842c8006f8d10ed772e64b4cf0116657881322bacaa576 +"decimal.js@npm:^10.4.2": + version: 10.4.3 + resolution: "decimal.js@npm:10.4.3" + checksum: 0fbf4c97adc9826a2f1cf2ae8be8cc00cca3f2b61643ee19f0dd8ee55f11385ed0111d77c8cd234e151c80da1454b20c8e61f0354e3b90b5bec3a72379359049 + languageName: node + linkType: hard + +"decompress-response@npm:^6.0.0": + version: 6.0.0 + resolution: "decompress-response@npm:6.0.0" + dependencies: + mimic-response: "npm:^3.1.0" + checksum: b4575b109e38fe4bc10a8dc1a9167490da2efc07449bdc2ac9e3444592ee892e84fa89974448639388ad1f56f3a16e95606f3ab9d0c3dbdb84f1cbe432252b9f languageName: node linkType: hard @@ -3979,6 +4722,13 @@ __metadata: languageName: node linkType: hard +"defer-to-connect@npm:^2.0.0": + version: 2.0.1 + resolution: "defer-to-connect@npm:2.0.1" + checksum: b027a4a33d1e6f42d5287ec33a914190ba9b6a949fd4d5b36020be813871009ab93ead8084950ebd59075d464e99fbea96000c59a89c2aa5ec0eae96fb1cbf68 + languageName: node + linkType: hard + "define-lazy-prop@npm:^2.0.0": version: 2.0.0 resolution: "define-lazy-prop@npm:2.0.0" @@ -4087,10 +4837,10 @@ __metadata: languageName: node linkType: hard -"diff-sequences@npm:^29.0.0": - version: 29.0.0 - resolution: "diff-sequences@npm:29.0.0" - checksum: e4942ba39d9fb7a35b49b92c6c94b4e3f915d8796ea61c9b5d541f7e365e685ab1a683dc1fa9736c559c4bf695b6f6e074426f917c96088b8f761f8eaec29a1d +"diff-sequences@npm:^29.4.3": + version: 29.4.3 + resolution: "diff-sequences@npm:29.4.3" + checksum: 788bca9220b2c7453bed921045660717c0ffb4ba9ca1456417e6e32d67e21fcebc62b37c0291f8e32177aa7b30913dd2fe240dfb4872cfcd7a09b738f8f120d5 languageName: node linkType: hard @@ -4186,10 +4936,17 @@ __metadata: languageName: node linkType: hard -"emittery@npm:^0.10.2": - version: 0.10.2 - resolution: "emittery@npm:0.10.2" - checksum: c55b2867144a3dfb38739f3bc4a66f0c1c53823cb1a098404b2f0c2f3452596a838436fd2847abc96e02cd73ed5456255695a242232d523b8cbfb86192cd7d99 +"electron-to-chromium@npm:^1.4.284": + version: 1.4.295 + resolution: "electron-to-chromium@npm:1.4.295" + checksum: 36da9871dde9693f43cb763ab4f1034eb9b3302b3ea69640f358c8925eeaa65ac6b9dae4727b9e973851b86b79dfe059ce7ee374e5845ad149276a19f76171b6 + languageName: node + linkType: hard + +"emittery@npm:^0.13.1": + version: 0.13.1 + resolution: "emittery@npm:0.13.1" + checksum: 5016dff9c6fc14e839af5b63fbcba98cf42dc7f06fa42833ca864d2af4c45f40a7a418096bb47e36eb0f5400270a5f69e0f703b40a09738787a292240d5495de languageName: node linkType: hard @@ -4242,6 +4999,16 @@ __metadata: languageName: node linkType: hard +"enhanced-resolve@npm:^5.7.0": + version: 5.12.0 + resolution: "enhanced-resolve@npm:5.12.0" + dependencies: + graceful-fs: "npm:^4.2.4" + tapable: "npm:^2.2.0" + checksum: 37c59d96743be343aa8cf32540745675175125b105d0b9a4f72cfc9e8a5218e17139304a7e56e289f5795feb4d3b342345242f4d7c4d9f7df0e16aa1a8eede3e + languageName: node + linkType: hard + "entities@npm:^4.4.0": version: 4.4.0 resolution: "entities@npm:4.4.0" @@ -4272,7 +5039,7 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.19.0, es-abstract@npm:^1.19.1, es-abstract@npm:^1.19.2, es-abstract@npm:^1.19.5": +"es-abstract@npm:^1.19.0, es-abstract@npm:^1.19.5": version: 1.20.2 resolution: "es-abstract@npm:1.20.2" dependencies: @@ -4303,6 +5070,47 @@ __metadata: languageName: node linkType: hard +"es-abstract@npm:^1.20.4": + version: 1.21.1 + resolution: "es-abstract@npm:1.21.1" + dependencies: + available-typed-arrays: "npm:^1.0.5" + call-bind: "npm:^1.0.2" + es-set-tostringtag: "npm:^2.0.1" + es-to-primitive: "npm:^1.2.1" + function-bind: "npm:^1.1.1" + function.prototype.name: "npm:^1.1.5" + get-intrinsic: "npm:^1.1.3" + get-symbol-description: "npm:^1.0.0" + globalthis: "npm:^1.0.3" + gopd: "npm:^1.0.1" + has: "npm:^1.0.3" + has-property-descriptors: "npm:^1.0.0" + has-proto: "npm:^1.0.1" + has-symbols: "npm:^1.0.3" + internal-slot: "npm:^1.0.4" + is-array-buffer: "npm:^3.0.1" + is-callable: "npm:^1.2.7" + is-negative-zero: "npm:^2.0.2" + is-regex: "npm:^1.1.4" + is-shared-array-buffer: "npm:^1.0.2" + is-string: "npm:^1.0.7" + is-typed-array: "npm:^1.1.10" + is-weakref: "npm:^1.0.2" + object-inspect: "npm:^1.12.2" + object-keys: "npm:^1.1.1" + object.assign: "npm:^4.1.4" + regexp.prototype.flags: "npm:^1.4.3" + safe-regex-test: "npm:^1.0.0" + string.prototype.trimend: "npm:^1.0.6" + string.prototype.trimstart: "npm:^1.0.6" + typed-array-length: "npm:^1.0.4" + unbox-primitive: "npm:^1.0.2" + which-typed-array: "npm:^1.1.9" + checksum: f37a34be923df482128307c68fba32603554e7362e9b539d75736a01f8f68786dc7cc1ee6b9e7f55e84e44d78a73d2f71f45d518e73cde86680abc042fcbba83 + languageName: node + linkType: hard + "es-module-lexer@npm:^0.9.0": version: 0.9.3 resolution: "es-module-lexer@npm:0.9.3" @@ -4310,6 +5118,17 @@ __metadata: languageName: node linkType: hard +"es-set-tostringtag@npm:^2.0.1": + version: 2.0.1 + resolution: "es-set-tostringtag@npm:2.0.1" + dependencies: + get-intrinsic: "npm:^1.1.3" + has: "npm:^1.0.3" + has-tostringtag: "npm:^1.0.0" + checksum: fecdbc1f62b901b58b33d47e2daa6b43105b33dd233792643dc7aa1d7256d2fa13c47816d1e03e121e948d01d009faa366466e436baefb886afa18720945d439 + languageName: node + linkType: hard + "es-shim-unscopables@npm:^1.0.0": version: 1.0.0 resolution: "es-shim-unscopables@npm:1.0.0" @@ -4379,6 +5198,13 @@ __metadata: languageName: node linkType: hard +"escape-string-regexp@npm:^5.0.0": + version: 5.0.0 + resolution: "escape-string-regexp@npm:5.0.0" + checksum: 9c968d6e975030ef1349f1f011348de4b1fe5e13d5e0c407d38ab141d5e8a8b163ba727a9df22f3e796211aa340b73080455d3a1784af90409e2b8afaed02f76 + languageName: node + linkType: hard + "escodegen@npm:^1.12.0": version: 1.14.3 resolution: "escodegen@npm:1.14.3" @@ -4417,151 +5243,19 @@ __metadata: languageName: node linkType: hard -"eslint-config-prettier@npm:8.5.0": - version: 8.5.0 - resolution: "eslint-config-prettier@npm:8.5.0" - peerDependencies: - eslint: ">=7.0.0" - bin: - eslint-config-prettier: bin/cli.js - checksum: fb61fae9c1ac23afddf046c17437c464ce74d16d86ca1e0ee0705a8c0b89c89baf24420451ae0eafd2789e06de21540b99ca2a8ebae13bcd862c02733df2c160 - languageName: node - linkType: hard - -"eslint-config-qiwi@npm:1.17.6": - version: 1.17.6 - resolution: "eslint-config-qiwi@npm:1.17.6" +"eslint-config-qiwi@npm:2.0.9": + version: 2.0.9 + resolution: "eslint-config-qiwi@npm:2.0.9" dependencies: - "@typescript-eslint/eslint-plugin": "npm:^5.30.0" - "@typescript-eslint/parser": "npm:^5.30.0" - eslint-config-standard-qiwi: "npm:^16.0.5" - eslint-plugin-array-func: "npm:^3.1.7" - eslint-plugin-import: "npm:^2.26.0" - eslint-plugin-n: "npm:^15.2.3" - eslint-plugin-optimize-regex: "npm:^1.2.1" - eslint-plugin-promise: "npm:^6.0.0" - eslint-plugin-react: "npm:^7.30.1" + "@typescript-eslint/eslint-plugin": "npm:^5.46.0" + "@typescript-eslint/parser": "npm:^5.46.0" + eslint-plugin-react: "npm:^7.31.11" eslint-plugin-react-hooks: "npm:^4.6.0" - eslint-plugin-simple-import-sort: "npm:^8.0.0" - eslint-plugin-sonarjs: "npm:^0.15.0" - eslint-plugin-unicorn: "npm:^43.0.0" + eslint-plugin-sonarjs: "npm:^0.18.0" + eslint-plugin-unicorn: "npm:^45.0.1" peerDependencies: eslint: "*" - checksum: 98575f537eb99da2ab9e8b7e0acff74a092eb641a1a1f37223a72717d7b9d2984ef45fa7457226f92fcd8d74c861e222de9dbf22e24e8fd1fe31a7e265e3d116 - languageName: node - linkType: hard - -"eslint-config-standard-qiwi@npm:^16.0.5": - version: 16.0.5 - resolution: "eslint-config-standard-qiwi@npm:16.0.5" - peerDependencies: - eslint: ^8.10.0 - eslint-plugin-import: ^2.25.4 - eslint-plugin-n: ^15.0.1 - eslint-plugin-promise: ^6.0.0 - checksum: 634c9970d37b447a90165b3925318aa385ba22ed35f0d05af5b26d4f45a679e6f770100cb9ae015b42437e890fcfcbf1e82b9e5e37c354f953b8776d9aeb612e - languageName: node - linkType: hard - -"eslint-import-resolver-node@npm:^0.3.6": - version: 0.3.6 - resolution: "eslint-import-resolver-node@npm:0.3.6" - dependencies: - debug: "npm:^3.2.7" - resolve: "npm:^1.20.0" - checksum: 5f4c14fab676a196c4a4928b96755e90fe4f9fdf5c8e4d981efde0005b803c1c54304dd927a119e5e83b6bf08df0e70b71e4321aa9d178fe08e3a5ab0e32b8b7 - languageName: node - linkType: hard - -"eslint-module-utils@npm:^2.7.3": - version: 2.7.4 - resolution: "eslint-module-utils@npm:2.7.4" - dependencies: - debug: "npm:^3.2.7" - peerDependenciesMeta: - eslint: - optional: true - checksum: 3acd6a8988830c11b4e2f900eb5a9a59143728dd7b914e9567316d964bd4f14355842f76b2ddf148ffaeba0c4a65f49338572a5a1e419e00eac7d2064cb7a559 - languageName: node - linkType: hard - -"eslint-plugin-array-func@npm:^3.1.7": - version: 3.1.7 - resolution: "eslint-plugin-array-func@npm:3.1.7" - peerDependencies: - eslint: ">=3.0.0" - checksum: dcf67d2e526d50ffddb9dd008e57118f06aaa7d12465d8ff76a8b9a56a8b7e5e74fe9bcffdc6a1c300d75862371c4686292e5440e35625779d9c65a8c8e52f7a - languageName: node - linkType: hard - -"eslint-plugin-es@npm:^4.1.0": - version: 4.1.0 - resolution: "eslint-plugin-es@npm:4.1.0" - dependencies: - eslint-utils: "npm:^2.0.0" - regexpp: "npm:^3.0.0" - peerDependencies: - eslint: ">=4.19.1" - checksum: eda1941fe2cbccfbc74fb62b773c2ce179886abe8ae22fb0a332862d9e5b4962cb1bbc89dc8a2c0546b1ff54770c765381878fc982afa3d835139fc952a47c1f - languageName: node - linkType: hard - -"eslint-plugin-import@npm:^2.26.0": - version: 2.26.0 - resolution: "eslint-plugin-import@npm:2.26.0" - dependencies: - array-includes: "npm:^3.1.4" - array.prototype.flat: "npm:^1.2.5" - debug: "npm:^2.6.9" - doctrine: "npm:^2.1.0" - eslint-import-resolver-node: "npm:^0.3.6" - eslint-module-utils: "npm:^2.7.3" - has: "npm:^1.0.3" - is-core-module: "npm:^2.8.1" - is-glob: "npm:^4.0.3" - minimatch: "npm:^3.1.2" - object.values: "npm:^1.1.5" - resolve: "npm:^1.22.0" - tsconfig-paths: "npm:^3.14.1" - peerDependencies: - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - checksum: d6509c7e368481d46e8213ffb341085a0c9dd83cdf0a96f28a69701ff571a80453532a7a68a60b29c8f74d8d33dbf049c2c2fff4592104cf6bf6ed968fc4ead1 - languageName: node - linkType: hard - -"eslint-plugin-n@npm:^15.2.3": - version: 15.2.5 - resolution: "eslint-plugin-n@npm:15.2.5" - dependencies: - builtins: "npm:^5.0.1" - eslint-plugin-es: "npm:^4.1.0" - eslint-utils: "npm:^3.0.0" - ignore: "npm:^5.1.1" - is-core-module: "npm:^2.10.0" - minimatch: "npm:^3.1.2" - resolve: "npm:^1.22.1" - semver: "npm:^7.3.7" - peerDependencies: - eslint: ">=7.0.0" - checksum: 655fde73a0ffc61cdf3d34cf80c36628cfffceb249d7a9b2a1c88a30bd3fb8f0e4d09141e4c6ac168e84830111480b335e6d504c1dcec4c4105897e7b0fd4d00 - languageName: node - linkType: hard - -"eslint-plugin-optimize-regex@npm:^1.2.1": - version: 1.2.1 - resolution: "eslint-plugin-optimize-regex@npm:1.2.1" - dependencies: - regexp-tree: "npm:^0.1.21" - checksum: 920f6726f962c80ddb9cefa0a4b59b7c1080a6712e271a7ad07ca6f5a27cfb3e3c641e1a56d9c655150398c51005c5f3408973d78b916209328d7f18a7dadd36 - languageName: node - linkType: hard - -"eslint-plugin-promise@npm:^6.0.0": - version: 6.0.1 - resolution: "eslint-plugin-promise@npm:6.0.1" - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - checksum: dc2111d16b940f66f64f703ccbc6a0cb3ae06fec83eaf4753e6399776b3339a89f0fb13045ed2dfb2ea395683d6537277f4a92f3261fef47577e2ae2209ac598 + checksum: 2e9c0c1b179d6cd93d0fcf1d19134dfa2a0db8d9a21292c0b9aaac49748add6dcbb49635d68e2e327c53e980de2ee1f20bab67f3b7d9939b5ff035c7c8c2c4ba languageName: node linkType: hard @@ -4574,69 +5268,63 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react@npm:^7.30.1": - version: 7.31.7 - resolution: "eslint-plugin-react@npm:7.31.7" +"eslint-plugin-react@npm:^7.31.11": + version: 7.32.2 + resolution: "eslint-plugin-react@npm:7.32.2" dependencies: - array-includes: "npm:^3.1.5" - array.prototype.flatmap: "npm:^1.3.0" + array-includes: "npm:^3.1.6" + array.prototype.flatmap: "npm:^1.3.1" + array.prototype.tosorted: "npm:^1.1.1" doctrine: "npm:^2.1.0" estraverse: "npm:^5.3.0" jsx-ast-utils: "npm:^2.4.1 || ^3.0.0" minimatch: "npm:^3.1.2" - object.entries: "npm:^1.1.5" - object.fromentries: "npm:^2.0.5" - object.hasown: "npm:^1.1.1" - object.values: "npm:^1.1.5" + object.entries: "npm:^1.1.6" + object.fromentries: "npm:^2.0.6" + object.hasown: "npm:^1.1.2" + object.values: "npm:^1.1.6" prop-types: "npm:^15.8.1" - resolve: "npm:^2.0.0-next.3" + resolve: "npm:^2.0.0-next.4" semver: "npm:^6.3.0" - string.prototype.matchall: "npm:^4.0.7" + string.prototype.matchall: "npm:^4.0.8" peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: d3dbd774d23407f514f982d6ac41627cc91492bf9f0f5791bd596baec06391ebd769f5196180b29fdffcaa4ca5819c99dba1198853bd63a0f8bd341853edb01b - languageName: node - linkType: hard - -"eslint-plugin-simple-import-sort@npm:^8.0.0": - version: 8.0.0 - resolution: "eslint-plugin-simple-import-sort@npm:8.0.0" - peerDependencies: - eslint: ">=5.0.0" - checksum: 0b0e4f8aa74199d54df26a9fa1d95fc6f7570dcce8327865d6d80ea7ca2ccb06cecab66b48f6b50f8051038b6d866e9edd5ee7e136cbe717ffc1c64a4631b44d + checksum: c609be006eeb23f6cc28cbc43a97cc8724fd2ac1c33425bb8d5f93c3bd59ae1c136a9261afa0716ca9a81ffabcfb66ca5952bc84b934cb4f50d00c362fcf69b7 languageName: node linkType: hard -"eslint-plugin-sonarjs@npm:^0.15.0": - version: 0.15.0 - resolution: "eslint-plugin-sonarjs@npm:0.15.0" +"eslint-plugin-sonarjs@npm:^0.18.0": + version: 0.18.0 + resolution: "eslint-plugin-sonarjs@npm:0.18.0" peerDependencies: eslint: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: ee5a792d0b044afc714aadbace0257cd625e5bcfccd9f3f87e5e98ce2e73372d878c41ae5be0a9190b07e76d77dcd42645ece22f5bcdb6cd43b87f30150fb7e6 + checksum: 896bfe122b120bdc29484e64d2c302c873efab380ac52f981f20a9c15fdc4a6f08dd236c17cfab263968c83ff252a0a9fbad59b4e3a170a112855e23329ffb86 languageName: node linkType: hard -"eslint-plugin-unicorn@npm:^43.0.0": - version: 43.0.2 - resolution: "eslint-plugin-unicorn@npm:43.0.2" +"eslint-plugin-unicorn@npm:^45.0.1": + version: 45.0.2 + resolution: "eslint-plugin-unicorn@npm:45.0.2" dependencies: - "@babel/helper-validator-identifier": "npm:^7.18.6" - ci-info: "npm:^3.3.2" + "@babel/helper-validator-identifier": "npm:^7.19.1" + "@eslint-community/eslint-utils": "npm:^4.1.2" + ci-info: "npm:^3.6.1" clean-regexp: "npm:^1.0.0" - eslint-utils: "npm:^3.0.0" esquery: "npm:^1.4.0" indent-string: "npm:^4.0.0" - is-builtin-module: "npm:^3.1.0" + is-builtin-module: "npm:^3.2.0" + jsesc: "npm:^3.0.2" lodash: "npm:^4.17.21" pluralize: "npm:^8.0.0" read-pkg-up: "npm:^7.0.1" regexp-tree: "npm:^0.1.24" + regjsparser: "npm:^0.9.1" safe-regex: "npm:^2.1.1" - semver: "npm:^7.3.7" + semver: "npm:^7.3.8" strip-indent: "npm:^3.0.0" peerDependencies: - eslint: ">=8.18.0" - checksum: 59e9cac22eb2b5e9908c32d301c94b37c8b67bd162a769f2cff445f9b9266a2dab4a959b788d1ed27429c92a84af9eda3dff8c7591aa699bbcc0615534e174ee + eslint: ">=8.28.0" + checksum: 65e5fa10190376c2b7958767aa79963832a1fad576b8d3ad57d9d579bd788577123c5002c1129f445bba2780deca0b4dd72b0dcb046385b1c6e0f484dcda940b languageName: node linkType: hard @@ -4660,15 +5348,6 @@ __metadata: languageName: node linkType: hard -"eslint-utils@npm:^2.0.0": - version: 2.1.0 - resolution: "eslint-utils@npm:2.1.0" - dependencies: - eslint-visitor-keys: "npm:^1.1.0" - checksum: 8174e9532226b6e236d8d8024c7097118b4c25a55f103e10acb8f29d5d24e0fb1866b3a5d97b82096affe0dd98d2919127236bedde572e15f6658a6daca05e06 - languageName: node - linkType: hard - "eslint-utils@npm:^3.0.0": version: 3.0.0 resolution: "eslint-utils@npm:3.0.0" @@ -4680,13 +5359,6 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^1.1.0": - version: 1.3.0 - resolution: "eslint-visitor-keys@npm:1.3.0" - checksum: 402ccb0043a067646507ab8481b4d4ba6ce668d7e6201294c2326ca9f8e20577385903aeb24894f816c53f052b926dd67f76fb7826138109aac8176cfd8b4e73 - languageName: node - linkType: hard - "eslint-visitor-keys@npm:^2.0.0": version: 2.1.0 resolution: "eslint-visitor-keys@npm:2.1.0" @@ -4701,14 +5373,15 @@ __metadata: languageName: node linkType: hard -"eslint@npm:8.23.0": - version: 8.23.0 - resolution: "eslint@npm:8.23.0" +"eslint@npm:8.35.0": + version: 8.35.0 + resolution: "eslint@npm:8.35.0" dependencies: - "@eslint/eslintrc": "npm:^1.3.1" - "@humanwhocodes/config-array": "npm:^0.10.4" - "@humanwhocodes/gitignore-to-minimatch": "npm:^1.0.2" + "@eslint/eslintrc": "npm:^2.0.0" + "@eslint/js": "npm:8.35.0" + "@humanwhocodes/config-array": "npm:^0.11.8" "@humanwhocodes/module-importer": "npm:^1.0.1" + "@nodelib/fs.walk": "npm:^1.2.8" ajv: "npm:^6.10.0" chalk: "npm:^4.0.0" cross-spawn: "npm:^7.0.2" @@ -4719,20 +5392,20 @@ __metadata: eslint-utils: "npm:^3.0.0" eslint-visitor-keys: "npm:^3.3.0" espree: "npm:^9.4.0" - esquery: "npm:^1.4.0" + esquery: "npm:^1.4.2" esutils: "npm:^2.0.2" fast-deep-equal: "npm:^3.1.3" file-entry-cache: "npm:^6.0.1" find-up: "npm:^5.0.0" - functional-red-black-tree: "npm:^1.0.1" - glob-parent: "npm:^6.0.1" - globals: "npm:^13.15.0" - globby: "npm:^11.1.0" + glob-parent: "npm:^6.0.2" + globals: "npm:^13.19.0" grapheme-splitter: "npm:^1.0.4" ignore: "npm:^5.2.0" import-fresh: "npm:^3.0.0" imurmurhash: "npm:^0.1.4" is-glob: "npm:^4.0.0" + is-path-inside: "npm:^3.0.3" + js-sdsl: "npm:^4.1.4" js-yaml: "npm:^4.1.0" json-stable-stringify-without-jsonify: "npm:^1.0.1" levn: "npm:^0.4.1" @@ -4746,7 +5419,7 @@ __metadata: text-table: "npm:^0.2.0" bin: eslint: bin/eslint.js - checksum: ea414f83f8b08f12f5e163492959c17a908552f2f44d4ce7530c73b24e9a4eb1f48c49fac4f079a1b05ead38511f832a5cd51a63db2587f1495b3aa0e78aff16 + checksum: 9e49b49d9f877bcfbf376166e5a870c6a725b1e713e339f05b85a0d70ebd9ab3c72faceac27251b25fbbd53fd06594d6c00b335b5a59de3a36486eeeafa0f2bc languageName: node linkType: hard @@ -4790,6 +5463,15 @@ __metadata: languageName: node linkType: hard +"esquery@npm:^1.4.2": + version: 1.5.0 + resolution: "esquery@npm:1.5.0" + dependencies: + estraverse: "npm:^5.1.0" + checksum: 4bde95396273b2960a330c296e921d88b7d3fb5c9cbc84a1e29cf75664c318b194b1a8b46f507fce30222a68b64527f70e09bdd5863e14248fa2f6da5e78fdfd + languageName: node + linkType: hard + "esrecurse@npm:^4.3.0": version: 4.3.0 resolution: "esrecurse@npm:4.3.0" @@ -4873,6 +5555,21 @@ __metadata: languageName: node linkType: hard +"execa@npm:^0.7.0": + version: 0.7.0 + resolution: "execa@npm:0.7.0" + dependencies: + cross-spawn: "npm:^5.0.1" + get-stream: "npm:^3.0.0" + is-stream: "npm:^1.1.0" + npm-run-path: "npm:^2.0.0" + p-finally: "npm:^1.0.0" + signal-exit: "npm:^3.0.0" + strip-eof: "npm:^1.0.0" + checksum: 85f2931e4db7d734079e351a5c33e8e85517d78143ff6db175f8939c8dbd628758680b06df9dfcf6003f9e615f0b9a0b8a2aeeae7a03d0dc35bf99932b4d7b63 + languageName: node + linkType: hard + "execa@npm:^1.0.0": version: 1.0.0 resolution: "execa@npm:1.0.0" @@ -4905,6 +5602,15 @@ __metadata: languageName: node linkType: hard +"executable@npm:^4.1.0": + version: 4.1.1 + resolution: "executable@npm:4.1.1" + dependencies: + pify: "npm:^2.2.0" + checksum: 129ac01296a4dfb2a937f36473424205e241e2019bc4c6b38061bbf0041c4052eaa37c3935b3244bdf0f1db896a6ae324f0a3c70915257cf31fe5d2550831649 + languageName: node + linkType: hard + "exit@npm:^0.1.2": version: 0.1.2 resolution: "exit@npm:0.1.2" @@ -4912,16 +5618,16 @@ __metadata: languageName: node linkType: hard -"expect@npm:^29.0.0, expect@npm:^29.0.2": - version: 29.0.2 - resolution: "expect@npm:29.0.2" +"expect@npm:^29.0.0, expect@npm:^29.5.0": + version: 29.5.0 + resolution: "expect@npm:29.5.0" dependencies: - "@jest/expect-utils": "npm:^29.0.2" - jest-get-type: "npm:^29.0.0" - jest-matcher-utils: "npm:^29.0.2" - jest-message-util: "npm:^29.0.2" - jest-util: "npm:^29.0.2" - checksum: 1ba1c78f3b33c240d70d797563de33278123ae71d2de018b44fab396c1027f2ce43fb0e437ad83085dffe6a3725984fdc450bd93ab0939db0b12b4d77dff0a8b + "@jest/expect-utils": "npm:^29.5.0" + jest-get-type: "npm:^29.4.3" + jest-matcher-utils: "npm:^29.5.0" + jest-message-util: "npm:^29.5.0" + jest-util: "npm:^29.5.0" + checksum: 106a886342eaaf0443937ac0e76fdf6adadf87462c22f153edd588db6103817e43044ec7cfa5ebb713dc3f0c373dce002a867aa549d06de42b4f219eb95ec27d languageName: node linkType: hard @@ -4964,6 +5670,25 @@ __metadata: languageName: node linkType: hard +"ext-list@npm:^2.0.0": + version: 2.2.2 + resolution: "ext-list@npm:2.2.2" + dependencies: + mime-db: "npm:^1.28.0" + checksum: 27c26c3d2e60b1c7c3f49119fa71c1a130d0c6b7687822cfcb8b5251c1f6d617c1e4376eb21829c90c7f36fe62dd9388f0aead37cc624fc8836a019f162efbf5 + languageName: node + linkType: hard + +"ext-name@npm:^5.0.0": + version: 5.0.0 + resolution: "ext-name@npm:5.0.0" + dependencies: + ext-list: "npm:^2.0.0" + sort-keys-length: "npm:^1.0.0" + checksum: 95439c863f97ae57337c2ca837ca4ea7a646736ed9a082d7989eb691b706caa48d8586786edcc56d80d9e7daef2b88a48e5c23bae1c9b48be5c16d559ed77f26 + languageName: node + linkType: hard + "extend@npm:^3.0.0": version: 3.0.2 resolution: "extend@npm:3.0.2" @@ -4995,7 +5720,20 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:3.2.11, fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.5, fast-glob@npm:^3.2.9": +"fast-glob@npm:3.2.12, fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.5": + version: 3.2.12 + resolution: "fast-glob@npm:3.2.12" + dependencies: + "@nodelib/fs.stat": "npm:^2.0.2" + "@nodelib/fs.walk": "npm:^1.2.3" + glob-parent: "npm:^5.1.2" + merge2: "npm:^1.3.0" + micromatch: "npm:^4.0.4" + checksum: 3b98e0cadbf2aea3fa2be76e28b0c895bb18d920ccb7b3d3f603a464e3dc2c6a89a8afb9f9765226bd4d4d74b70e880721ff7a57a267c2eaa11353f35d42d11b + languageName: node + linkType: hard + +"fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.9": version: 3.2.11 resolution: "fast-glob@npm:3.2.11" dependencies: @@ -5090,8 +5828,37 @@ __metadata: version: 0.6.0 resolution: "file-selector@npm:0.6.0" dependencies: - tslib: "npm:^2.4.0" - checksum: f7af2ddd9e27d6b7105f0395019fdb3dd89f6359dd47531bce4135c911032e099fccc8686fbed8c12ecd5c6ed63cafc8cbcefb3c4e2e435894368c0cc52dc784 + tslib: "npm:^2.4.0" + checksum: f7af2ddd9e27d6b7105f0395019fdb3dd89f6359dd47531bce4135c911032e099fccc8686fbed8c12ecd5c6ed63cafc8cbcefb3c4e2e435894368c0cc52dc784 + languageName: node + linkType: hard + +"file-type@npm:^17.1.6": + version: 17.1.6 + resolution: "file-type@npm:17.1.6" + dependencies: + readable-web-to-node-stream: "npm:^3.0.2" + strtok3: "npm:^7.0.0-alpha.9" + token-types: "npm:^5.0.0-alpha.2" + checksum: 9a1d2939588b5a79da116a0bf393e9e8b404d975d45b5413dc246567b3c7fe95c445fae3ac74cb8b5223a98859b9fe2211ba66c8de446a4a7cf820ffb1e8b04d + languageName: node + linkType: hard + +"filename-reserved-regex@npm:^3.0.0": + version: 3.0.0 + resolution: "filename-reserved-regex@npm:3.0.0" + checksum: bac8022c00fcc49a7326e8d659e640f5f6e30fc03c613d6ec42e48d8a443aea21fd9dfe0536c362c9df2a100a370a098ec1c5ecac7a3edfe97ddeab2f50ed041 + languageName: node + linkType: hard + +"filenamify@npm:^5.0.2": + version: 5.1.1 + resolution: "filenamify@npm:5.1.1" + dependencies: + filename-reserved-regex: "npm:^3.0.0" + strip-outer: "npm:^2.0.0" + trim-repeated: "npm:^2.0.0" + checksum: 0ae5d22000c62b70b7b6328d4d725ceab674219909543ecc787b76739da8ae7965c7d95ee2a4cc34a5c94e0f3c3c6159c3bed64f6e641fc3e682b25beed0fa81 languageName: node linkType: hard @@ -5171,6 +5938,25 @@ __metadata: languageName: node linkType: hard +"find-up@npm:^6.3.0": + version: 6.3.0 + resolution: "find-up@npm:6.3.0" + dependencies: + locate-path: "npm:^7.1.0" + path-exists: "npm:^5.0.0" + checksum: 0615da27dd04f46bb55790ac16dc3235fc34ef948280c461363d4a6ff27ad4d5b5568761007d2dbe9da83e9e732c5b764f2dbbb6e3b674ed7a65d9ffe45c7762 + languageName: node + linkType: hard + +"find-versions@npm:^5.0.0": + version: 5.1.0 + resolution: "find-versions@npm:5.1.0" + dependencies: + semver-regex: "npm:^4.0.5" + checksum: a6f76207b45521e141fc952b2eec673d959e8cbf1a0d54d8b1969fad5773c72e6eb48534235457bfce5d926335a4ce3402c380ff00c217d60f8a83279989e7ed + languageName: node + linkType: hard + "findup@npm:^0.1.5": version: 0.1.5 resolution: "findup@npm:0.1.5" @@ -5210,6 +5996,15 @@ __metadata: languageName: node linkType: hard +"for-each@npm:^0.3.3": + version: 0.3.3 + resolution: "for-each@npm:0.3.3" + dependencies: + is-callable: "npm:^1.1.3" + checksum: dc4e3e28f5ee9472680b6361a85d0d27aa1e8ddbd1720dfb680020456cddc142ee7ba69145921fe12c4ec2d7740f12c1c6c7f90ecdd7ca2b39c7fcd8bc506ad6 + languageName: node + linkType: hard + "foreground-child@npm:^2.0.0": version: 2.0.0 resolution: "foreground-child@npm:2.0.0" @@ -5283,14 +6078,14 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^10.1.0": - version: 10.1.0 - resolution: "fs-extra@npm:10.1.0" +"fs-extra@npm:^11.0.0, fs-extra@npm:^11.1.0": + version: 11.1.0 + resolution: "fs-extra@npm:11.1.0" dependencies: graceful-fs: "npm:^4.2.0" jsonfile: "npm:^6.0.1" universalify: "npm:^2.0.0" - checksum: c397c1bfbb8976afb6758a96b9d5781c179b01ec843caa9f6613b8d95d95e17229d1ba7132dd811e112df5f2537bce1f68a3c0a722decc345947f133921fa3b3 + checksum: 20d9909070e7d9754cb651af067ae4343b5fc9b05fa9b8765a9348dab7dfa9b78c0f1ebe791774f06d4cca4231f4be9889a916d0457e8e87097a613e6bdd1746 languageName: node linkType: hard @@ -5385,13 +6180,6 @@ __metadata: languageName: node linkType: hard -"functional-red-black-tree@npm:^1.0.1": - version: 1.0.1 - resolution: "functional-red-black-tree@npm:1.0.1" - checksum: 275f10e8abe29375137a6dc662b54bf6452704560a4888dde5720b1901b5489703f45169a92e02c758dd0ebc4c6206e2cb57c326a9b9dd6e3992aeaf4038dddc - languageName: node - linkType: hard - "functions-have-names@npm:^1.2.2": version: 1.2.3 resolution: "functions-have-names@npm:1.2.3" @@ -5447,6 +6235,17 @@ __metadata: languageName: node linkType: hard +"get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0": + version: 1.2.0 + resolution: "get-intrinsic@npm:1.2.0" + dependencies: + function-bind: "npm:^1.1.1" + has: "npm:^1.0.3" + has-symbols: "npm:^1.0.3" + checksum: 6db1e521478d0a0f4e61c94c23e7a731b163d2904067b1b6efcac78e8b015404883dab4acb5570517df55aab6eb23eeef6a8d7310de76d9570fcbce4a3f80b18 + languageName: node + linkType: hard + "get-own-enumerable-property-symbols@npm:^3.0.0": version: 3.0.2 resolution: "get-own-enumerable-property-symbols@npm:3.0.2" @@ -5461,6 +6260,13 @@ __metadata: languageName: node linkType: hard +"get-stream@npm:^3.0.0": + version: 3.0.0 + resolution: "get-stream@npm:3.0.0" + checksum: d135f4d7d7b59d6172b09b687a07eefd4e04248ab6c83a066256b194386aa5ebd803f5df1db90a9fabbfa45b015df9662de813bae0e59cb61f49f8b6c9b3558c + languageName: node + linkType: hard + "get-stream@npm:^4.0.0": version: 4.1.0 resolution: "get-stream@npm:4.1.0" @@ -5512,7 +6318,7 @@ __metadata: languageName: node linkType: hard -"glob-parent@npm:^6.0.1": +"glob-parent@npm:^6.0.1, glob-parent@npm:^6.0.2": version: 6.0.2 resolution: "glob-parent@npm:6.0.2" dependencies: @@ -5555,6 +6361,18 @@ __metadata: languageName: node linkType: hard +"glob@npm:^9.2.0": + version: 9.2.1 + resolution: "glob@npm:9.2.1" + dependencies: + fs.realpath: "npm:^1.0.0" + minimatch: "npm:^7.4.1" + minipass: "npm:^4.2.4" + path-scurry: "npm:^1.6.1" + checksum: b5a39cddb3ecde2d4b0b964b0904b8138aa3cd762ffbfb9341b0a62ce128a94b7a67ff7cb2dc3d7db6ee04d2a771bbacb3ec91d073b157a671c05bfe7525bb33 + languageName: node + linkType: hard + "global-modules@npm:^2.0.0": version: 2.0.0 resolution: "global-modules@npm:2.0.0" @@ -5582,12 +6400,35 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.15.0": - version: 13.17.0 - resolution: "globals@npm:13.17.0" +"globals@npm:^13.19.0": + version: 13.20.0 + resolution: "globals@npm:13.20.0" dependencies: type-fest: "npm:^0.20.2" - checksum: 663e415f2ea22909f3336e1575a585c1b0976de186bb46e3a3dcd526a0390d836d27351c10be370396581b198351f5e108b77a3c906424391dcbd836825825e3 + checksum: 1ba80ad03f29b8ca83b066c9d9ae305e7f0ee46164de36efac286fc3a58efc48986d688bf1f427f164f2a65bb1bdfa53beb8c56ae3092be255fc097bdcab1f1a + languageName: node + linkType: hard + +"globalthis@npm:^1.0.3": + version: 1.0.3 + resolution: "globalthis@npm:1.0.3" + dependencies: + define-properties: "npm:^1.1.3" + checksum: 712d9e130f2c47067e6590cb1eee418df1106f53ffeddaadb4c8b0793ac0f46039e5f71008c44089523aa2b58d270bb2c4e5721795ddad114bc23d9eb63ec6d5 + languageName: node + linkType: hard + +"globby-cp@npm:1.1.3": + version: 1.1.3 + resolution: "globby-cp@npm:1.1.3" + dependencies: + fs-extra: "npm:^11.0.0" + globby: "npm:^13.1.2" + minimist: "npm:^1.2.6" + bin: + gcp: src/main/js/cli.js + globby-cp: src/main/js/cli.js + checksum: a7cbde28a42968a254db03a40af6b39620f9e7e7d20942f06d80b2bb10c6aed59437c5188323b5f4cd6a335941b1a40acf81a54572fa51d422c859ab623918a4 languageName: node linkType: hard @@ -5618,6 +6459,19 @@ __metadata: languageName: node linkType: hard +"globby@npm:^13.1.3": + version: 13.1.3 + resolution: "globby@npm:13.1.3" + dependencies: + dir-glob: "npm:^3.0.1" + fast-glob: "npm:^3.2.11" + ignore: "npm:^5.2.0" + merge2: "npm:^1.4.1" + slash: "npm:^4.0.0" + checksum: a4b8f38a118310286f684c0146301f375f40b9550fa172f37a668f7de0b52d955f7f5c05e83885b517cedb39ebfc523a7155efa8e3366c375d3fff14e5924af4 + languageName: node + linkType: hard + "globby@npm:^6.1.0": version: 6.1.0 resolution: "globby@npm:6.1.0" @@ -5640,6 +6494,34 @@ __metadata: languageName: node linkType: hard +"gopd@npm:^1.0.1": + version: 1.0.1 + resolution: "gopd@npm:1.0.1" + dependencies: + get-intrinsic: "npm:^1.1.3" + checksum: c29f62be0655b0fb6d12d1ba77b1a40fee46fbb80f0a27e0538b696a0ac057899dd997b5aaf3c6daa02bd51af93ec7b8fe2ef7bbb44945c1ea3cf640e4b66cf7 + languageName: node + linkType: hard + +"got@npm:^11.8.5": + version: 11.8.6 + resolution: "got@npm:11.8.6" + dependencies: + "@sindresorhus/is": "npm:^4.0.0" + "@szmarczak/http-timer": "npm:^4.0.5" + "@types/cacheable-request": "npm:^6.0.1" + "@types/responselike": "npm:^1.0.0" + cacheable-lookup: "npm:^5.0.3" + cacheable-request: "npm:^7.0.2" + decompress-response: "npm:^6.0.0" + http2-wrapper: "npm:^1.0.0-beta.5.2" + lowercase-keys: "npm:^2.0.0" + p-cancelable: "npm:^2.0.0" + responselike: "npm:^2.0.0" + checksum: a264ac2dbffa19fb66f7399a79894e88406a6fb55733655800a981345d7d94a4909d0fb152397daafd0eb7b5fc97cc916c0e911b82866882a7f31b99c3fc3886 + languageName: node + linkType: hard + "graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.10 resolution: "graceful-fs@npm:4.2.10" @@ -5677,6 +6559,13 @@ __metadata: languageName: node linkType: hard +"harmony-reflect@npm:^1.4.6": + version: 1.6.2 + resolution: "harmony-reflect@npm:1.6.2" + checksum: ef257e8c274122e94f6fd707cb5a7b50b79aecee4f8ca75944f7cd5c67060cbb7be038f1737eafb1ca766e21c5cd5e39a28367c52d079d5e554bfe224323c52c + languageName: node + linkType: hard + "has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2": version: 1.0.2 resolution: "has-bigints@npm:1.0.2" @@ -5707,6 +6596,13 @@ __metadata: languageName: node linkType: hard +"has-proto@npm:^1.0.1": + version: 1.0.1 + resolution: "has-proto@npm:1.0.1" + checksum: 0aa0de6013c2132a79fb8b885dc0274b99362807195bed0c69e2469eb0de41bf1695067d5e41adcd4bbd8daed8684250716c55db17478249f225ae3d0846e6bf + languageName: node + linkType: hard + "has-symbols@npm:^1.0.2, has-symbols@npm:^1.0.3": version: 1.0.3 resolution: "has-symbols@npm:1.0.3" @@ -5794,6 +6690,15 @@ __metadata: languageName: node linkType: hard +"hosted-git-info@npm:^5.0.0": + version: 5.2.1 + resolution: "hosted-git-info@npm:5.2.1" + dependencies: + lru-cache: "npm:^7.5.1" + checksum: 479756f48473747fad111f980b00014dd50b8fd142cb7975396d731c201f23697d4335a317a604f1f3266cb5a1ea6dbb1fea9da3ff04428913afda92052dc14d + languageName: node + linkType: hard + "hpack.js@npm:^2.1.6": version: 2.1.6 resolution: "hpack.js@npm:2.1.6" @@ -5853,6 +6758,13 @@ __metadata: languageName: node linkType: hard +"http-cache-semantics@npm:^4.0.0": + version: 4.1.1 + resolution: "http-cache-semantics@npm:4.1.1" + checksum: 7b4d86f99fb3f07b6a49219420ebdffa077ee99bc5fe1df1f353b84c3d321c767a083a48291afb2fc34a627661b6d54c80a927639a7be9e0c43e8c4f921816bd + languageName: node + linkType: hard + "http-cache-semantics@npm:^4.1.0": version: 4.1.0 resolution: "http-cache-semantics@npm:4.1.0" @@ -5939,6 +6851,16 @@ __metadata: languageName: node linkType: hard +"http2-wrapper@npm:^1.0.0-beta.5.2": + version: 1.0.3 + resolution: "http2-wrapper@npm:1.0.3" + dependencies: + quick-lru: "npm:^5.1.1" + resolve-alpn: "npm:^1.0.0" + checksum: 3be15184af083b5e075b82a02f00643e99a5b040b676d7819d1d3330e09fc1399523ef17b47d50f9e783749036c8a0d2dedbd9a23a0e8c60cc66644cb35d9e1a + languageName: node + linkType: hard + "https-proxy-agent@npm:5.0.1, https-proxy-agent@npm:^5.0.0, https-proxy-agent@npm:^5.0.1": version: 5.0.1 resolution: "https-proxy-agent@npm:5.0.1" @@ -5999,14 +6921,23 @@ __metadata: languageName: node linkType: hard -"ieee754@npm:^1.1.13": +"identity-obj-proxy@npm:3.0.0": + version: 3.0.0 + resolution: "identity-obj-proxy@npm:3.0.0" + dependencies: + harmony-reflect: "npm:^1.4.6" + checksum: 4e5730ffe129989e851bbd717ea11ee6954e2a50d85d9d5d5e6bda9ca1893445f4ff2d9c84aabc20b81a6f6939559f2769b5ab53a1085708af02953fba08b6cb + languageName: node + linkType: hard + +"ieee754@npm:^1.1.13, ieee754@npm:^1.2.1": version: 1.2.1 resolution: "ieee754@npm:1.2.1" checksum: b39fbc42879544ab1989f8ff439a3f3545d7c244a07f24607c4223291ba82ce95964a7b7fde24010ba899937046c4dfe01398c8f8bbddb53f9e562c29f18f615 languageName: node linkType: hard -"ignore@npm:^5.1.1, ignore@npm:^5.2.0": +"ignore@npm:^5.2.0": version: 5.2.0 resolution: "ignore@npm:5.2.0" checksum: 0086b6992b2e2c9ec23f009e5939022323f1b4ad291607507045cc67b0a3b5d9724fc425f5300b3ba6d10ef74311bdf71cd26040227c30a182cf1b2a5971226b @@ -6119,6 +7050,17 @@ __metadata: languageName: node linkType: hard +"internal-slot@npm:^1.0.4": + version: 1.0.5 + resolution: "internal-slot@npm:1.0.5" + dependencies: + get-intrinsic: "npm:^1.2.0" + has: "npm:^1.0.3" + side-channel: "npm:^1.0.4" + checksum: 7ba9f797e33d9f7fb623ed4eb63a8f4697da1423e8dd47a336c759707a14aebc9d2e04c7df286a493f4eac30c178c6ffad89f559beb3e9641992b6a57f933088 + languageName: node + linkType: hard + "invariant@npm:^2.2.4": version: 2.2.4 resolution: "invariant@npm:2.2.4" @@ -6173,6 +7115,17 @@ __metadata: languageName: node linkType: hard +"is-array-buffer@npm:^3.0.1": + version: 3.0.1 + resolution: "is-array-buffer@npm:3.0.1" + dependencies: + call-bind: "npm:^1.0.2" + get-intrinsic: "npm:^1.1.3" + is-typed-array: "npm:^1.1.10" + checksum: b0af6728a739bc5f3f045df4471accacb791fcdbc29b2ea54038729e61ac2dd05c33231d9ce8486d32575f01eeb1268cf88d92d3d63fa0e8ab8078d6955ff6f2 + languageName: node + linkType: hard + "is-arrayish@npm:^0.2.1": version: 0.2.1 resolution: "is-arrayish@npm:0.2.1" @@ -6215,12 +7168,19 @@ __metadata: languageName: node linkType: hard -"is-builtin-module@npm:^3.1.0": - version: 3.2.0 - resolution: "is-builtin-module@npm:3.2.0" +"is-builtin-module@npm:^3.2.0": + version: 3.2.1 + resolution: "is-builtin-module@npm:3.2.1" dependencies: builtin-modules: "npm:^3.3.0" - checksum: 5b26848b69b4bfe4d78599fe5ffc60257c039c0908d7e491f1680c7a1f2d74e74e3ce86f44ea772f788a6e49cc4645f47029d0a8136a5281bf10652d2e1fbb1d + checksum: 274c84cb1117fab5a439b77aab054c774778324509cbaab40c340a2f81fdd06f08c8599a99fd671e2f6d814a4419e2bf6e2e43fc0e284443f147d176f7733a42 + languageName: node + linkType: hard + +"is-callable@npm:^1.1.3, is-callable@npm:^1.2.7": + version: 1.2.7 + resolution: "is-callable@npm:1.2.7" + checksum: 39d7787a6cd66d620ee4e9d09bb36587c29b39f50550d27dd7bea1d0d46b2a87ad9ac2b3d11f751836f08befc20afc4cb36201de1de26aaf02f298c8c512c102 languageName: node linkType: hard @@ -6231,7 +7191,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.10.0, is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": +"is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": version: 2.10.0 resolution: "is-core-module@npm:2.10.0" dependencies: @@ -6394,7 +7354,14 @@ __metadata: languageName: node linkType: hard -"is-plain-obj@npm:^1.1.0": +"is-path-inside@npm:^3.0.3": + version: 3.0.3 + resolution: "is-path-inside@npm:3.0.3" + checksum: ca3976bb491e562794ba9d1884d8679e08a68fbc68bdefabbed393bdb3fefd66958c0b8d166ca6c4b502a5283bcd0bede7a2b223bf740e406db6dcffddc833a5 + languageName: node + linkType: hard + +"is-plain-obj@npm:^1.0.0, is-plain-obj@npm:^1.1.0": version: 1.1.0 resolution: "is-plain-obj@npm:1.1.0" checksum: 7a5a59a544ab648951b6c6c44cd021dbfc30ae051c78b53b442abdc4e340b9b03a63f8d37281a59924bc5364ed6f6bb90f7d82a95033b9ab57e42510aa7ed46f @@ -6496,6 +7463,19 @@ __metadata: languageName: node linkType: hard +"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.9": + version: 1.1.10 + resolution: "is-typed-array@npm:1.1.10" + dependencies: + available-typed-arrays: "npm:^1.0.5" + call-bind: "npm:^1.0.2" + for-each: "npm:^0.3.3" + gopd: "npm:^1.0.1" + has-tostringtag: "npm:^1.0.0" + checksum: c42bdb03b501a76c1b307f087885bc700952fe1ae1f203264c52e3eb467c8a1f69527c5285bce0898eca66a892a988b94e609ea87bcb78f663c1ab57e6286016 + languageName: node + linkType: hard + "is-weakref@npm:^1.0.2": version: 1.0.2 resolution: "is-weakref@npm:1.0.2" @@ -6559,15 +7539,15 @@ __metadata: linkType: hard "istanbul-lib-instrument@npm:^5.0.4, istanbul-lib-instrument@npm:^5.1.0": - version: 5.2.0 - resolution: "istanbul-lib-instrument@npm:5.2.0" + version: 5.2.1 + resolution: "istanbul-lib-instrument@npm:5.2.1" dependencies: "@babel/core": "npm:^7.12.3" "@babel/parser": "npm:^7.14.7" "@istanbuljs/schema": "npm:^0.1.2" istanbul-lib-coverage: "npm:^3.2.0" semver: "npm:^6.3.0" - checksum: d45f8fbd3b850af6d6d71c4ba0c6de206c7ab2fd82dec9f50624df8a08fad0df5175d04803ab0373370d714dc0eb8e6d93853e301b4a15dbaebdcb3120847935 + checksum: 838cd5b11262e72e023a176748834054a213b4b8d24674e210af3cd626b77d547f3d0c82d8784bf322b07d183b14c6e296bfba6f9eb035ae1d6669a71036bf4c languageName: node linkType: hard @@ -6613,6 +7593,13 @@ __metadata: languageName: node linkType: hard +"javascript-natural-sort@npm:0.7.1": + version: 0.7.1 + resolution: "javascript-natural-sort@npm:0.7.1" + checksum: 1eef5ae7f34691e9febdcfe1fa44c1a9436631fb7b93a48ab614ce460e3ab344abf6a341bd6d1a82f0df7ac7e8040df360d9a643d7651978c92e7fa9b9f01d23 + languageName: node + linkType: hard + "javascript-stringify@npm:^2.0.0": version: 2.1.0 resolution: "javascript-stringify@npm:2.1.0" @@ -6620,57 +7607,58 @@ __metadata: languageName: node linkType: hard -"jest-changed-files@npm:^29.0.0": - version: 29.0.0 - resolution: "jest-changed-files@npm:29.0.0" +"jest-changed-files@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-changed-files@npm:29.5.0" dependencies: execa: "npm:^5.0.0" p-limit: "npm:^3.1.0" - checksum: af518ef614a93e4830d9a37c10e99d56884c6d521ca922fe77d60bd441d3f03261d185f3668e645eb067c7f048c5a7d386a463317c70da8fce8181ea5794a14a + checksum: 8b9b626ceb88c0a0066399a52f6ce03b0b6feba31af923e20c3e576a3396f779119eae44cfa3bef43078d930839a3dfc21f5220b0220a0ca1151b17fb9e1816f languageName: node linkType: hard -"jest-circus@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-circus@npm:29.0.2" +"jest-circus@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-circus@npm:29.5.0" dependencies: - "@jest/environment": "npm:^29.0.2" - "@jest/expect": "npm:^29.0.2" - "@jest/test-result": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" + "@jest/environment": "npm:^29.5.0" + "@jest/expect": "npm:^29.5.0" + "@jest/test-result": "npm:^29.5.0" + "@jest/types": "npm:^29.5.0" "@types/node": "npm:*" chalk: "npm:^4.0.0" co: "npm:^4.6.0" dedent: "npm:^0.7.0" is-generator-fn: "npm:^2.0.0" - jest-each: "npm:^29.0.2" - jest-matcher-utils: "npm:^29.0.2" - jest-message-util: "npm:^29.0.2" - jest-runtime: "npm:^29.0.2" - jest-snapshot: "npm:^29.0.2" - jest-util: "npm:^29.0.2" + jest-each: "npm:^29.5.0" + jest-matcher-utils: "npm:^29.5.0" + jest-message-util: "npm:^29.5.0" + jest-runtime: "npm:^29.5.0" + jest-snapshot: "npm:^29.5.0" + jest-util: "npm:^29.5.0" p-limit: "npm:^3.1.0" - pretty-format: "npm:^29.0.2" + pretty-format: "npm:^29.5.0" + pure-rand: "npm:^6.0.0" slash: "npm:^3.0.0" stack-utils: "npm:^2.0.3" - checksum: f5afadba371017566fb76918b320e74dc254e7772b956e5832e7264238affd18c3e4912dbe29149898a20b25928016b200261817582893b30d71d15154aca6bd + checksum: 876e3c6499daf89ee310ce3235decc019faea920a15c9137deb60c323a857b929bdccac710f76e3018bc10183182774f80e67b0aaada1ed6d22a6f2ab091f625 languageName: node linkType: hard -"jest-cli@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-cli@npm:29.0.2" +"jest-cli@npm:^29.4.3": + version: 29.5.0 + resolution: "jest-cli@npm:29.5.0" dependencies: - "@jest/core": "npm:^29.0.2" - "@jest/test-result": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" + "@jest/core": "npm:^29.5.0" + "@jest/test-result": "npm:^29.5.0" + "@jest/types": "npm:^29.5.0" chalk: "npm:^4.0.0" exit: "npm:^0.1.2" graceful-fs: "npm:^4.2.9" import-local: "npm:^3.0.2" - jest-config: "npm:^29.0.2" - jest-util: "npm:^29.0.2" - jest-validate: "npm:^29.0.2" + jest-config: "npm:^29.5.0" + jest-util: "npm:^29.5.0" + jest-validate: "npm:^29.5.0" prompts: "npm:^2.0.1" yargs: "npm:^17.3.1" peerDependencies: @@ -6680,34 +7668,34 @@ __metadata: optional: true bin: jest: bin/jest.js - checksum: e84a7788639af3acd9157d4742e37762680080e5084723b8c916b4335801e78a17fd6fdb7db285e065d009e9a787421f5ebad56e7edd352625d5591e1f76920a + checksum: 271ce202166ee540c04d79b1b060fc84a6ceb9c320da1fc681c937cd20cbc1efedbb624e9e5ecd6aff2c6ba0721c8c20514483fefac3df337c4021a5d20914d9 languageName: node linkType: hard -"jest-config@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-config@npm:29.0.2" +"jest-config@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-config@npm:29.5.0" dependencies: "@babel/core": "npm:^7.11.6" - "@jest/test-sequencer": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" - babel-jest: "npm:^29.0.2" + "@jest/test-sequencer": "npm:^29.5.0" + "@jest/types": "npm:^29.5.0" + babel-jest: "npm:^29.5.0" chalk: "npm:^4.0.0" ci-info: "npm:^3.2.0" deepmerge: "npm:^4.2.2" glob: "npm:^7.1.3" graceful-fs: "npm:^4.2.9" - jest-circus: "npm:^29.0.2" - jest-environment-node: "npm:^29.0.2" - jest-get-type: "npm:^29.0.0" - jest-regex-util: "npm:^29.0.0" - jest-resolve: "npm:^29.0.2" - jest-runner: "npm:^29.0.2" - jest-util: "npm:^29.0.2" - jest-validate: "npm:^29.0.2" + jest-circus: "npm:^29.5.0" + jest-environment-node: "npm:^29.5.0" + jest-get-type: "npm:^29.4.3" + jest-regex-util: "npm:^29.4.3" + jest-resolve: "npm:^29.5.0" + jest-runner: "npm:^29.5.0" + jest-util: "npm:^29.5.0" + jest-validate: "npm:^29.5.0" micromatch: "npm:^4.0.4" parse-json: "npm:^5.2.0" - pretty-format: "npm:^29.0.2" + pretty-format: "npm:^29.5.0" slash: "npm:^3.0.0" strip-json-comments: "npm:^3.1.1" peerDependencies: @@ -6718,150 +7706,156 @@ __metadata: optional: true ts-node: optional: true - checksum: cc92cb3ea2b5e7fb7a1d3bf3b9dd7a6c2ef0c486155c9c947c9b0e9737f9ab3704bb6ca8dcc51699f7c7d12292bb27412e85cc62c8dec23b44d6556ea885ccd8 + checksum: 5131b9f06c1089bb3eae0953b4541390cd71d092c4eb371966e6f1f597978f0ad959e2c38dd0b70e15aeeeabf71778a19f96cb336681fd61234869890adc096b languageName: node linkType: hard -"jest-diff@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-diff@npm:29.0.2" +"jest-diff@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-diff@npm:29.5.0" dependencies: chalk: "npm:^4.0.0" - diff-sequences: "npm:^29.0.0" - jest-get-type: "npm:^29.0.0" - pretty-format: "npm:^29.0.2" - checksum: c58efee5970399a2b7f186d73e824e461f1cb61d0b03e07a063d3465152a893bd97a242ad3914a12b07c0c54e03d1ea199b070de20fa029bd06e2f269e7138b0 + diff-sequences: "npm:^29.4.3" + jest-get-type: "npm:^29.4.3" + pretty-format: "npm:^29.5.0" + checksum: 39da21a9a968edf1b646aa4e90c414f6aa183831f594d42acb1de39f7f3840c68fb1ce1af167b55d17453e666b0706aba625cdc757c6617471d37d88beb8719a languageName: node linkType: hard -"jest-docblock@npm:^29.0.0": - version: 29.0.0 - resolution: "jest-docblock@npm:29.0.0" +"jest-docblock@npm:^29.4.3": + version: 29.4.3 + resolution: "jest-docblock@npm:29.4.3" dependencies: detect-newline: "npm:^3.0.0" - checksum: c7cf71970b7cae203f7a82b2526b469b6fc7ac79fe64ce5cece1e7af866b431735ec2f9507e217c9e61fd451fd5b4f879a0bf30cb1ae97804f470f494d9b43b2 + checksum: df7f82dc9059dc39c150a90d383ceab10538f3dbf2bd5ffab867d1504df23ea39037b66a8d62e21180489bf311e2d250c136bbcb700fbb3053697edffd2d9cf5 languageName: node linkType: hard -"jest-each@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-each@npm:29.0.2" +"jest-each@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-each@npm:29.5.0" dependencies: - "@jest/types": "npm:^29.0.2" + "@jest/types": "npm:^29.5.0" chalk: "npm:^4.0.0" - jest-get-type: "npm:^29.0.0" - jest-util: "npm:^29.0.2" - pretty-format: "npm:^29.0.2" - checksum: a5710e40a22627ea48d93b850515e7ad8e72c4d9765c87adbc8c26ee6a26a2ed81be5407e167a1136ddc1c65e8b806a3f302e48d8ff870f27aae74e36a8a4475 + jest-get-type: "npm:^29.4.3" + jest-util: "npm:^29.5.0" + pretty-format: "npm:^29.5.0" + checksum: 7c15d17b728db4445b01623abeb8edd9e18ae1c834fe4c8d5c88ed934a0270de358dfcc281799fc85ed1f24da5038c7195e09f865130a2e0776ed6d6d1fd0f45 languageName: node linkType: hard -"jest-environment-jsdom@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-environment-jsdom@npm:29.0.2" +"jest-environment-jsdom@npm:29.4.3": + version: 29.4.3 + resolution: "jest-environment-jsdom@npm:29.4.3" dependencies: - "@jest/environment": "npm:^29.0.2" - "@jest/fake-timers": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" + "@jest/environment": "npm:^29.4.3" + "@jest/fake-timers": "npm:^29.4.3" + "@jest/types": "npm:^29.4.3" "@types/jsdom": "npm:^20.0.0" "@types/node": "npm:*" - jest-mock: "npm:^29.0.2" - jest-util: "npm:^29.0.2" + jest-mock: "npm:^29.4.3" + jest-util: "npm:^29.4.3" jsdom: "npm:^20.0.0" - checksum: 951a31d7ea013cd09c1806e4d7f3c1a825741de1d0c92c4f9239946830e8aa06686554c5c14dbab11f03ac818972fa2e6fb95dd7a205f177d3087f8bc4f68d71 + peerDependencies: + canvas: ^2.5.0 + peerDependenciesMeta: + canvas: + optional: true + checksum: d4a8c748acbbef270f23b0b51a0fee2d189f424cead3bb64d4d8aba03f18d421f04d230854b96558ce5c49d2dbe465afbd3c0884006801ba5982ebe57f994fa0 languageName: node linkType: hard -"jest-environment-node@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-environment-node@npm:29.0.2" +"jest-environment-node@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-environment-node@npm:29.5.0" dependencies: - "@jest/environment": "npm:^29.0.2" - "@jest/fake-timers": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" + "@jest/environment": "npm:^29.5.0" + "@jest/fake-timers": "npm:^29.5.0" + "@jest/types": "npm:^29.5.0" "@types/node": "npm:*" - jest-mock: "npm:^29.0.2" - jest-util: "npm:^29.0.2" - checksum: 9431d20f1a02ff404adacfef41b869c101f9c5c86fc47bc3ec9c656cc012f90cf40c4393f83a1530b7517af1f28db9701702d94fc9081ee4f0177ca046717c20 + jest-mock: "npm:^29.5.0" + jest-util: "npm:^29.5.0" + checksum: d52be7c516658ec7bc0a28de99691a1fe0f6c7df7f8d9ea813e04e119ba0af31e2a5d57096689d66ccc5459f688708a54afc3b55a381b36d26990380f06c2e2b languageName: node linkType: hard -"jest-get-type@npm:^29.0.0": - version: 29.0.0 - resolution: "jest-get-type@npm:29.0.0" - checksum: 74a624abda8588ec1aa142174abd8f01407bb33a994f374ca39bdd2ef73c7336d715db269cce8fe0249070432d425ef49d780b8b0cb7dc2089254403645f3308 +"jest-get-type@npm:^29.4.3": + version: 29.4.3 + resolution: "jest-get-type@npm:29.4.3" + checksum: f4e3ed9abb7473f91eef0c52dd7239a1eee5132a7c22016752b4488d45839dffe82698dd6b026d0999649d8436d1783e8cdff54967999577a40afff74c33b5ef languageName: node linkType: hard -"jest-haste-map@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-haste-map@npm:29.0.2" +"jest-haste-map@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-haste-map@npm:29.5.0" dependencies: - "@jest/types": "npm:^29.0.2" + "@jest/types": "npm:^29.5.0" "@types/graceful-fs": "npm:^4.1.3" "@types/node": "npm:*" anymatch: "npm:^3.0.3" fb-watchman: "npm:^2.0.0" fsevents: "npm:^2.3.2" graceful-fs: "npm:^4.2.9" - jest-regex-util: "npm:^29.0.0" - jest-util: "npm:^29.0.2" - jest-worker: "npm:^29.0.2" + jest-regex-util: "npm:^29.4.3" + jest-util: "npm:^29.5.0" + jest-worker: "npm:^29.5.0" micromatch: "npm:^4.0.4" walker: "npm:^1.0.8" dependenciesMeta: fsevents: optional: true - checksum: b9859c461d6b6998dbf76a73882f18b2019baab3a97360ac35dd588b9bb388e8849545596c53543e7e79feedfec564c60802256de307d7db57700ed0977eda43 + checksum: 48e3f357c51ce1c08b3699e78051f2c4abfaa7af52b3163412b9e19384af9c7d6b70f304fe171939c6cb01cd14f805116c6f365b7c0f6b8c7df88be1ac521dfa languageName: node linkType: hard -"jest-leak-detector@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-leak-detector@npm:29.0.2" +"jest-leak-detector@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-leak-detector@npm:29.5.0" dependencies: - jest-get-type: "npm:^29.0.0" - pretty-format: "npm:^29.0.2" - checksum: 77bc9e76bb278fd72747a55c81d61126baf9a534aca8f1245bbb719849c100ed5587e5a8453923e458f85b613a44218a6509ea7a2ef90038b1455333e4778f80 + jest-get-type: "npm:^29.4.3" + pretty-format: "npm:^29.5.0" + checksum: f05855012af0ce95a5bae31ed3ab17ba87acf550e72482bf5060609071274ca399499adfaef7b4511c434e5684bef84112473a9359bcbce33154b487f9b87466 languageName: node linkType: hard -"jest-matcher-utils@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-matcher-utils@npm:29.0.2" +"jest-matcher-utils@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-matcher-utils@npm:29.5.0" dependencies: chalk: "npm:^4.0.0" - jest-diff: "npm:^29.0.2" - jest-get-type: "npm:^29.0.0" - pretty-format: "npm:^29.0.2" - checksum: 0ce6bb816ec8543f42271c9a6a56490f4fedfcb513f3b90b44233b6f53a7bdfa9eb4b23d826379ea66115f0d9e4bdd5ea8ae2109a942cdb16673c6ae1b168f3c + jest-diff: "npm:^29.5.0" + jest-get-type: "npm:^29.4.3" + pretty-format: "npm:^29.5.0" + checksum: 051f4085b9cc9b2a97bd5008f9e4d2ac774170cc3e2fea680a1770544e3c163c53a4cb1652091b67531896f079c3110d4f688c04ef8cac287b3d1036e6aa228b languageName: node linkType: hard -"jest-message-util@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-message-util@npm:29.0.2" +"jest-message-util@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-message-util@npm:29.5.0" dependencies: "@babel/code-frame": "npm:^7.12.13" - "@jest/types": "npm:^29.0.2" + "@jest/types": "npm:^29.5.0" "@types/stack-utils": "npm:^2.0.0" chalk: "npm:^4.0.0" graceful-fs: "npm:^4.2.9" micromatch: "npm:^4.0.4" - pretty-format: "npm:^29.0.2" + pretty-format: "npm:^29.5.0" slash: "npm:^3.0.0" stack-utils: "npm:^2.0.3" - checksum: 11d1f22ead44bbd2cf70095b19a8aa3a7a11efef6a48fc089e2938f4662018ac02db4f33207286c9d4f0206dfb2a1a223aafbeb5b2e8f5cd2b0d2dc963e27e36 + checksum: 1f4b1881e8d09a2817f6c3b2a2013a04ace9cec4c2bb4b03301b1f28f22c001b730f18f7599acbe1663e3900b5e833e6273abec930a9e02ba7b74d2ee90ea4cd languageName: node linkType: hard -"jest-mock@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-mock@npm:29.0.2" +"jest-mock@npm:^29.4.3, jest-mock@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-mock@npm:29.5.0" dependencies: - "@jest/types": "npm:^29.0.2" + "@jest/types": "npm:^29.5.0" "@types/node": "npm:*" - checksum: cbeee98750ff6e0ebec888cdc66b70d87ce21b76fdf8e2b05bee2dac507a98b8835053455a0aa88e921deef41d073a85b571d77755c06370e563a8ca97b6c19a + jest-util: "npm:^29.5.0" + checksum: 6b16c69ab527cf2e18bd00f1fe4f6faf1d594622b1f29003d5cbd0be44195a8c976ade84922db0f9cc9de71c20764a58ba3c02a5df1eb180421d4b4a95432a82 languageName: node linkType: hard @@ -6877,102 +7871,102 @@ __metadata: languageName: node linkType: hard -"jest-regex-util@npm:^29.0.0": - version: 29.0.0 - resolution: "jest-regex-util@npm:29.0.0" - checksum: 333c34abda342bae5154a7f9c0bcf3e0681a6712d2cbe686b90272747d52d05e1be53a84171f7eb3feda9ae8213dc06f652434fca8f3e94904f2b30f1a38ff4d +"jest-regex-util@npm:^29.4.3": + version: 29.4.3 + resolution: "jest-regex-util@npm:29.4.3" + checksum: 703bdf0c085c69e1bd23f707ae578987a08cc754bdbdeab970a288c1b0993d95b6cadb121216b4bbf125ec8d0d037889f1576d1a22e86d945b0dc855a24beecc languageName: node linkType: hard -"jest-resolve-dependencies@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-resolve-dependencies@npm:29.0.2" +"jest-resolve-dependencies@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-resolve-dependencies@npm:29.5.0" dependencies: - jest-regex-util: "npm:^29.0.0" - jest-snapshot: "npm:^29.0.2" - checksum: 2578a4e8011b6febe51d3ad34afac1fbf0488981895aea0905c9eeac7bf87cd4913e503c0e91bb735f1026d9b5deb0c450198e19eb0c46ae57c0845135d653d8 + jest-regex-util: "npm:^29.4.3" + jest-snapshot: "npm:^29.5.0" + checksum: c569c516dce572ca1e34a2a047a16f2efd0067316faba0f0a9e3a36349a8532b9724dc90e25b1ec243e2a463c4577bf34580be6a14952dc917d31938a719ccfd languageName: node linkType: hard -"jest-resolve@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-resolve@npm:29.0.2" +"jest-resolve@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-resolve@npm:29.5.0" dependencies: chalk: "npm:^4.0.0" graceful-fs: "npm:^4.2.9" - jest-haste-map: "npm:^29.0.2" + jest-haste-map: "npm:^29.5.0" jest-pnp-resolver: "npm:^1.2.2" - jest-util: "npm:^29.0.2" - jest-validate: "npm:^29.0.2" + jest-util: "npm:^29.5.0" + jest-validate: "npm:^29.5.0" resolve: "npm:^1.20.0" - resolve.exports: "npm:^1.1.0" + resolve.exports: "npm:^2.0.0" slash: "npm:^3.0.0" - checksum: 7e437e93804b4bedc486a21f2120ec6033856555bbf4a37e2ff28488f80230867e3252d78192f942a219a5075ac05b110869b50c5ebd4adcd45b72c6a0e774cb + checksum: 0f8286cb0de9cac358cac38054cded7f19987fad9943b9e883d446a189c3435f4230aedcb0936ac676a327287dd5ffee29cdf89b8e4cefcb6b51ae5f7e814005 languageName: node linkType: hard -"jest-runner@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-runner@npm:29.0.2" +"jest-runner@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-runner@npm:29.5.0" dependencies: - "@jest/console": "npm:^29.0.2" - "@jest/environment": "npm:^29.0.2" - "@jest/test-result": "npm:^29.0.2" - "@jest/transform": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" + "@jest/console": "npm:^29.5.0" + "@jest/environment": "npm:^29.5.0" + "@jest/test-result": "npm:^29.5.0" + "@jest/transform": "npm:^29.5.0" + "@jest/types": "npm:^29.5.0" "@types/node": "npm:*" chalk: "npm:^4.0.0" - emittery: "npm:^0.10.2" + emittery: "npm:^0.13.1" graceful-fs: "npm:^4.2.9" - jest-docblock: "npm:^29.0.0" - jest-environment-node: "npm:^29.0.2" - jest-haste-map: "npm:^29.0.2" - jest-leak-detector: "npm:^29.0.2" - jest-message-util: "npm:^29.0.2" - jest-resolve: "npm:^29.0.2" - jest-runtime: "npm:^29.0.2" - jest-util: "npm:^29.0.2" - jest-watcher: "npm:^29.0.2" - jest-worker: "npm:^29.0.2" + jest-docblock: "npm:^29.4.3" + jest-environment-node: "npm:^29.5.0" + jest-haste-map: "npm:^29.5.0" + jest-leak-detector: "npm:^29.5.0" + jest-message-util: "npm:^29.5.0" + jest-resolve: "npm:^29.5.0" + jest-runtime: "npm:^29.5.0" + jest-util: "npm:^29.5.0" + jest-watcher: "npm:^29.5.0" + jest-worker: "npm:^29.5.0" p-limit: "npm:^3.1.0" source-map-support: "npm:0.5.13" - checksum: 723f35c2a9b45c6f2509e16209ae2a13e26e9f7c4e8bf5f93fc9bec4270163748a1291389199bec08e10a3b755e6987295c9ff81221627e9dd1cc6633d8d24cc + checksum: f91217b5284b8a1e8f3275eda3f8044a20d7d8fc3582e8d3d504f975dee8ee53fd0c87c013daee22d470f839021354d085ccd9841fd45942c84a9f843c8cf7c6 languageName: node linkType: hard -"jest-runtime@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-runtime@npm:29.0.2" +"jest-runtime@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-runtime@npm:29.5.0" dependencies: - "@jest/environment": "npm:^29.0.2" - "@jest/fake-timers": "npm:^29.0.2" - "@jest/globals": "npm:^29.0.2" - "@jest/source-map": "npm:^29.0.0" - "@jest/test-result": "npm:^29.0.2" - "@jest/transform": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" + "@jest/environment": "npm:^29.5.0" + "@jest/fake-timers": "npm:^29.5.0" + "@jest/globals": "npm:^29.5.0" + "@jest/source-map": "npm:^29.4.3" + "@jest/test-result": "npm:^29.5.0" + "@jest/transform": "npm:^29.5.0" + "@jest/types": "npm:^29.5.0" "@types/node": "npm:*" chalk: "npm:^4.0.0" cjs-module-lexer: "npm:^1.0.0" collect-v8-coverage: "npm:^1.0.0" glob: "npm:^7.1.3" graceful-fs: "npm:^4.2.9" - jest-haste-map: "npm:^29.0.2" - jest-message-util: "npm:^29.0.2" - jest-mock: "npm:^29.0.2" - jest-regex-util: "npm:^29.0.0" - jest-resolve: "npm:^29.0.2" - jest-snapshot: "npm:^29.0.2" - jest-util: "npm:^29.0.2" + jest-haste-map: "npm:^29.5.0" + jest-message-util: "npm:^29.5.0" + jest-mock: "npm:^29.5.0" + jest-regex-util: "npm:^29.4.3" + jest-resolve: "npm:^29.5.0" + jest-snapshot: "npm:^29.5.0" + jest-util: "npm:^29.5.0" slash: "npm:^3.0.0" strip-bom: "npm:^4.0.0" - checksum: a81284690ecbd89f548aaf1357fe1349dfcafed5a53759f450aace969b6a90d122ebbd4e8bd7a41d7c559f49d9bcfe16b728611f3fb554b7fd58adf61dc50cfc + checksum: ea3406a10b38043e1e4cb4c8f1cd5bed9b23d8900e8f9a4978b27b2d12c010c59903b65adeed6264c1ac6c689b1a0ec50ab5aae9903e77a7b6b0ef638b0a338a languageName: node linkType: hard -"jest-snapshot@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-snapshot@npm:29.0.2" +"jest-snapshot@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-snapshot@npm:29.5.0" dependencies: "@babel/core": "npm:^7.11.6" "@babel/generator": "npm:^7.7.2" @@ -6980,69 +7974,68 @@ __metadata: "@babel/plugin-syntax-typescript": "npm:^7.7.2" "@babel/traverse": "npm:^7.7.2" "@babel/types": "npm:^7.3.3" - "@jest/expect-utils": "npm:^29.0.2" - "@jest/transform": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" + "@jest/expect-utils": "npm:^29.5.0" + "@jest/transform": "npm:^29.5.0" + "@jest/types": "npm:^29.5.0" "@types/babel__traverse": "npm:^7.0.6" "@types/prettier": "npm:^2.1.5" babel-preset-current-node-syntax: "npm:^1.0.0" chalk: "npm:^4.0.0" - expect: "npm:^29.0.2" + expect: "npm:^29.5.0" graceful-fs: "npm:^4.2.9" - jest-diff: "npm:^29.0.2" - jest-get-type: "npm:^29.0.0" - jest-haste-map: "npm:^29.0.2" - jest-matcher-utils: "npm:^29.0.2" - jest-message-util: "npm:^29.0.2" - jest-util: "npm:^29.0.2" + jest-diff: "npm:^29.5.0" + jest-get-type: "npm:^29.4.3" + jest-matcher-utils: "npm:^29.5.0" + jest-message-util: "npm:^29.5.0" + jest-util: "npm:^29.5.0" natural-compare: "npm:^1.4.0" - pretty-format: "npm:^29.0.2" + pretty-format: "npm:^29.5.0" semver: "npm:^7.3.5" - checksum: 819ac65a80b90985ecf51c41c31b21d548fa1d713a0b656ec66a9a1d47d26f200785b9ebf1bd6338e3c6d5fee1cb7a0e0ada9cf30f9581533d65338d6d73edf0 + checksum: 986d1a40160264f2c921a106989c02365d74f248317f43e7ea6279ae25a9cdf473c939feb2fe5c5ddbcd24e42a4a21c79181387c47a6cdb75a23a5bf1b428a13 languageName: node linkType: hard -"jest-util@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-util@npm:29.0.2" +"jest-util@npm:^29.4.3, jest-util@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-util@npm:29.5.0" dependencies: - "@jest/types": "npm:^29.0.2" + "@jest/types": "npm:^29.5.0" "@types/node": "npm:*" chalk: "npm:^4.0.0" ci-info: "npm:^3.2.0" graceful-fs: "npm:^4.2.9" picomatch: "npm:^2.2.3" - checksum: cd98c01236c33a22ed033fd7bca2a82131138351c396d831afe43bc3538bef18ebff5c48927cd67fc6d8a97cdb07dd39c1708cc8efd8130023dd92370499a48b + checksum: 899989dcd95698c5212f224bddc586fd71f14a372a9f553c1ac2a8c64dae6e19078ccaf2c7b3d04d41b32e5dd0b655501c4333fbaca973d8e906a9676bb88d21 languageName: node linkType: hard -"jest-validate@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-validate@npm:29.0.2" +"jest-validate@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-validate@npm:29.5.0" dependencies: - "@jest/types": "npm:^29.0.2" + "@jest/types": "npm:^29.5.0" camelcase: "npm:^6.2.0" chalk: "npm:^4.0.0" - jest-get-type: "npm:^29.0.0" + jest-get-type: "npm:^29.4.3" leven: "npm:^3.1.0" - pretty-format: "npm:^29.0.2" - checksum: 56ee74b5cbcd67db9c1e6d599cc00d619c13adf67924c3254f7ee6dce412c71037009700e909524c82837af4bf587a49b4d2b09c6251d30f38867f4c1aacb20d + pretty-format: "npm:^29.5.0" + checksum: 782cff9b320a6a435035bf5858aa1ec9437a8d4272546e1d14883067635e465042faa5ed51510405283afa7a17828b74fd452498491fdb6874b475544ae2f7a8 languageName: node linkType: hard -"jest-watcher@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-watcher@npm:29.0.2" +"jest-watcher@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-watcher@npm:29.5.0" dependencies: - "@jest/test-result": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" + "@jest/test-result": "npm:^29.5.0" + "@jest/types": "npm:^29.5.0" "@types/node": "npm:*" ansi-escapes: "npm:^4.2.1" chalk: "npm:^4.0.0" - emittery: "npm:^0.10.2" - jest-util: "npm:^29.0.2" + emittery: "npm:^0.13.1" + jest-util: "npm:^29.5.0" string-length: "npm:^4.0.1" - checksum: c9fde5303913602373f154ffdd93649a46805fc22ab0b02958278922fec408175d23bb51d78c4f83be065043998e221f8d3c2f19b3a568f2f987d8ea59382995 + checksum: 7689bc85c28cd7652f5f3c573c77832a10f72e618474506cca15aa30d5670c2e1f2123305f09be28bab662e912c27e1a858d0c9a089962f909d7da4415d7f70b languageName: node linkType: hard @@ -7057,25 +8050,26 @@ __metadata: languageName: node linkType: hard -"jest-worker@npm:^29.0.2": - version: 29.0.2 - resolution: "jest-worker@npm:29.0.2" +"jest-worker@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-worker@npm:29.5.0" dependencies: "@types/node": "npm:*" + jest-util: "npm:^29.5.0" merge-stream: "npm:^2.0.0" supports-color: "npm:^8.0.0" - checksum: d6b340a8dd65016a1535b484bf8e7d85e450056bf894318741c4b744c3a5d0950db8806eb31204ba82be02a2f7b734a241451a728f3710b6cbbb4ae81b029473 + checksum: 95e135890a4c52d3c34f4764a654c8a59987e3032d05dc6af2b35b4dcd6964398191a10df8f79e83883a1f9a87c1ebd83cffc33bccfe39b97a84024b3d7b5e60 languageName: node linkType: hard -"jest@npm:^29.0.2": - version: 29.0.2 - resolution: "jest@npm:29.0.2" +"jest@npm:29.4.3": + version: 29.4.3 + resolution: "jest@npm:29.4.3" dependencies: - "@jest/core": "npm:^29.0.2" - "@jest/types": "npm:^29.0.2" + "@jest/core": "npm:^29.4.3" + "@jest/types": "npm:^29.4.3" import-local: "npm:^3.0.2" - jest-cli: "npm:^29.0.2" + jest-cli: "npm:^29.4.3" peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -7083,7 +8077,7 @@ __metadata: optional: true bin: jest: bin/jest.js - checksum: 0afefdceab1e0435a6d148938e895e7ca77da69c321cb5d4e330f458e029c9a407d0796abf301c80757822127cb9a543d581ac3e59109c910241e0863da5e8b0 + checksum: 9c6ffddc2568f1e3ce9a3da8b2873cb96f6018753e1ac675d8c275de617eb09ee100f288a507cd94c5b2bb7c83fdaa140e39056cd2602ecc72acedba1a4c3f98 languageName: node linkType: hard @@ -7111,6 +8105,13 @@ __metadata: languageName: node linkType: hard +"js-sdsl@npm:^4.1.4": + version: 4.3.0 + resolution: "js-sdsl@npm:4.3.0" + checksum: ad20a4f5fd32cbdbb8d9ac61a44bf6205027da0ec8e6051948951476b102dbb6d84668fe94b84a6a8fb77de960614d5baa1ef22331850727fc33c510eb5fb4b4 + languageName: node + linkType: hard + "js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" @@ -7142,16 +8143,16 @@ __metadata: linkType: hard "jsdom@npm:^20.0.0": - version: 20.0.0 - resolution: "jsdom@npm:20.0.0" + version: 20.0.3 + resolution: "jsdom@npm:20.0.3" dependencies: abab: "npm:^2.0.6" - acorn: "npm:^8.7.1" - acorn-globals: "npm:^6.0.0" + acorn: "npm:^8.8.1" + acorn-globals: "npm:^7.0.0" cssom: "npm:^0.5.0" cssstyle: "npm:^2.3.0" data-urls: "npm:^3.0.2" - decimal.js: "npm:^10.3.1" + decimal.js: "npm:^10.4.2" domexception: "npm:^4.0.0" escodegen: "npm:^2.0.0" form-data: "npm:^4.0.0" @@ -7159,25 +8160,24 @@ __metadata: http-proxy-agent: "npm:^5.0.0" https-proxy-agent: "npm:^5.0.1" is-potential-custom-element-name: "npm:^1.0.1" - nwsapi: "npm:^2.2.0" - parse5: "npm:^7.0.0" + nwsapi: "npm:^2.2.2" + parse5: "npm:^7.1.1" saxes: "npm:^6.0.0" symbol-tree: "npm:^3.2.4" - tough-cookie: "npm:^4.0.0" - w3c-hr-time: "npm:^1.0.2" - w3c-xmlserializer: "npm:^3.0.0" + tough-cookie: "npm:^4.1.2" + w3c-xmlserializer: "npm:^4.0.0" webidl-conversions: "npm:^7.0.0" whatwg-encoding: "npm:^2.0.0" whatwg-mimetype: "npm:^3.0.0" whatwg-url: "npm:^11.0.0" - ws: "npm:^8.8.0" + ws: "npm:^8.11.0" xml-name-validator: "npm:^4.0.0" peerDependencies: canvas: ^2.5.0 peerDependenciesMeta: canvas: optional: true - checksum: 7e42096443f3ab97ccb042b7024ac7ff7bbbc7a499b143f93d98fb82be3c0d554b64d97d6fb049de32c6d5bfa92586b7c7f4bc1b5fabce239f43237fdf64f248 + checksum: b02c74e982b075faa187e3e0e02582c1a3d9d001b010ae5df602a6d31fa952b75141f0e893085955d692b2fe72de1063a08d582db7e193baa8df198e58b7f5a3 languageName: node linkType: hard @@ -7190,6 +8190,15 @@ __metadata: languageName: node linkType: hard +"jsesc@npm:^3.0.2": + version: 3.0.2 + resolution: "jsesc@npm:3.0.2" + bin: + jsesc: bin/jsesc + checksum: fcac8cfe4f8a947d8f16ff1be77c9d4c81ddc66da7798eff79a6f8bd1c39e88a4e728a14576acfa2ae06303be6684113b46f322ca40681ad204fa48908e6a86d + languageName: node + linkType: hard + "jsesc@npm:~0.5.0": version: 0.5.0 resolution: "jsesc@npm:0.5.0" @@ -7199,6 +8208,13 @@ __metadata: languageName: node linkType: hard +"json-buffer@npm:3.0.1": + version: 3.0.1 + resolution: "json-buffer@npm:3.0.1" + checksum: 33bf05e0790ed025751047b51bb8bc0f15942be22d22acaa071c44a4e3277bdf23132f49549a7d8dd89ee67679923f21efa21de2aaa448472372e92a837cea15 + languageName: node + linkType: hard + "json-parse-even-better-errors@npm:^2.3.0, json-parse-even-better-errors@npm:^2.3.1": version: 2.3.1 resolution: "json-parse-even-better-errors@npm:2.3.1" @@ -7227,23 +8243,28 @@ __metadata: languageName: node linkType: hard -"json5@npm:^1.0.1": - version: 1.0.1 - resolution: "json5@npm:1.0.1" - dependencies: - minimist: "npm:^1.2.0" +"json5@npm:^2.1.2, json5@npm:^2.2.1": + version: 2.2.1 + resolution: "json5@npm:2.2.1" bin: json5: lib/cli.js - checksum: fd9492140ea8a1ec338c96e8527e940c9464ca3c7ef8fbf00b8bbbac1c6e60d612bf6640885e8a9108c3b71dc913f9a07a628df36f462853ea8c59bbce192e32 + checksum: 8bb433c397375ec5b9150e08d1a323acf5258d51126c55e11e838136f201c197e1589cba42559c97d39bac54ed1293de1e5caff17ce0dc624bfd845c10d9eaba languageName: node linkType: hard -"json5@npm:^2.1.2, json5@npm:^2.2.1": - version: 2.2.1 - resolution: "json5@npm:2.2.1" +"json5@npm:^2.2.2": + version: 2.2.3 + resolution: "json5@npm:2.2.3" bin: json5: lib/cli.js - checksum: 8bb433c397375ec5b9150e08d1a323acf5258d51126c55e11e838136f201c197e1589cba42559c97d39bac54ed1293de1e5caff17ce0dc624bfd845c10d9eaba + checksum: e298f92c92197e956eb7a93304f74b5b80b4c3fe412f44a1f3d4c966e5ddf2e8ef2ac7ce0b0c40c78735bf2901c29257a653e1da684dae8e7835932e4904d6a0 + languageName: node + linkType: hard + +"jsonc-parser@npm:^3.2.0": + version: 3.2.0 + resolution: "jsonc-parser@npm:3.2.0" + checksum: dffa53dd8b8aa897575bcd31b767f1a5c90a0229902e4fcf7aaae73d11a2a343eee6f852d432f7f9328b14520f487805014c2284fbe358e904c41f004964b54a languageName: node linkType: hard @@ -7358,6 +8379,15 @@ __metadata: languageName: node linkType: hard +"keyv@npm:^4.0.0": + version: 4.5.2 + resolution: "keyv@npm:4.5.2" + dependencies: + json-buffer: "npm:3.0.1" + checksum: 921f26a3e32ae0cd0baabbcf1e8957bddfa675d51783e2ad19256db423c8d1c40c9aafbe892584dbe72a045389bfdc2572a7f182c4b29e32c6165990df161978 + languageName: node + linkType: hard + "kind-of@npm:^6.0.2, kind-of@npm:^6.0.3": version: 6.0.3 resolution: "kind-of@npm:6.0.3" @@ -7485,6 +8515,22 @@ __metadata: languageName: node linkType: hard +"locate-path@npm:^7.1.0": + version: 7.2.0 + resolution: "locate-path@npm:7.2.0" + dependencies: + p-locate: "npm:^6.0.0" + checksum: 5137d791489fd403912051d2bfc5a006f2ae177c3e7eb7e224843b358a85f7f5d030253d3e5757f3248cca6af22beb2a910c84d85267e6518436ac9e304b000b + languageName: node + linkType: hard + +"lodash-es@npm:4.17.21": + version: 4.17.21 + resolution: "lodash-es@npm:4.17.21" + checksum: d1c3ee94118daeeee47c630ab5f91e94cc4e41ebe2452d837edbe599e853eb2d4be7edf82b4fe62f9fc74f27a8ed7f82fdbd9d301d0acef88f00941db64c4843 + languageName: node + linkType: hard + "lodash.merge@npm:^4.6.2": version: 4.6.2 resolution: "lodash.merge@npm:4.6.2" @@ -7492,7 +8538,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.17.15, lodash@npm:^4.17.21": +"lodash@npm:4.17.21, lodash@npm:^4.17.15, lodash@npm:^4.17.21": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: 3ac18e92108d68f88429fcddee609e42cf2b653583d9bac22308815a4cd6b185b89a0ad0d9b0c670c371d9d6b61571a98fee6b36e1db14e52766ca253ed9cba0 @@ -7542,7 +8588,7 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^4.0.0": +"lru-cache@npm:^4.0.0, lru-cache@npm:^4.0.1": version: 4.1.5 resolution: "lru-cache@npm:4.1.5" dependencies: @@ -7552,6 +8598,15 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^5.1.1": + version: 5.1.1 + resolution: "lru-cache@npm:5.1.1" + dependencies: + yallist: "npm:^3.0.2" + checksum: 7e3274d0936ac64611d0053664b5c722f2b869c4962a007752251602020345f385885cfeabd0162aa45c7d2ee8a21f461d9d628db348f553c126126b170ad6d2 + languageName: node + linkType: hard + "lru-cache@npm:^6.0.0": version: 6.0.0 resolution: "lru-cache@npm:6.0.0" @@ -7561,6 +8616,20 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^7.14.1": + version: 7.18.1 + resolution: "lru-cache@npm:7.18.1" + checksum: 257128a56c1b0a0b3bd86d2e3ab9f8a0b66f13bf3c4ebcdc77b15e178cb88e35d39db7d47e55c3c17cd5d7b89beb6318d67b3678456bcd5bfeeb803ea88b44b3 + languageName: node + linkType: hard + +"lru-cache@npm:^7.5.1": + version: 7.14.1 + resolution: "lru-cache@npm:7.14.1" + checksum: e4c8c073d9632585dde73bb2c857c22866f61f3ee75fea6e1dcc5412b59eca4107bc511c4b4ae4e038c7f59a15488b67448b24a3a1154def46c8ab1d07935d85 + languageName: node + linkType: hard + "lru-cache@npm:^7.7.1": version: 7.14.0 resolution: "lru-cache@npm:7.14.0" @@ -7635,7 +8704,7 @@ __metadata: languageName: node linkType: hard -"map-obj@npm:^4.1.0": +"map-obj@npm:^4.3.0": version: 4.3.0 resolution: "map-obj@npm:4.3.0" checksum: f87dd958d20a51488dfc3c933c5a64bad4e33053a05bc2c4c431a99e9cb1a5a6096a39cf2f7f5235c6a4540f534d3ff2ecf63664718b8e28f9da7026deda0833 @@ -7724,23 +8793,23 @@ __metadata: languageName: node linkType: hard -"meow@npm:^10.1.3": - version: 10.1.3 - resolution: "meow@npm:10.1.3" +"meow@npm:^11.0.0": + version: 11.0.0 + resolution: "meow@npm:11.0.0" dependencies: "@types/minimist": "npm:^1.2.2" - camelcase-keys: "npm:^7.0.0" - decamelize: "npm:^5.0.0" + camelcase-keys: "npm:^8.0.2" + decamelize: "npm:^6.0.0" decamelize-keys: "npm:^1.1.0" hard-rejection: "npm:^2.1.0" minimist-options: "npm:4.1.0" - normalize-package-data: "npm:^3.0.2" - read-pkg-up: "npm:^8.0.0" + normalize-package-data: "npm:^4.0.1" + read-pkg-up: "npm:^9.1.0" redent: "npm:^4.0.0" trim-newlines: "npm:^4.0.2" - type-fest: "npm:^1.2.2" - yargs-parser: "npm:^20.2.9" - checksum: 16acc6d8fa74f19ae058433f13da2b2c225b20394cb9926a7528189b72365756a233b32b2271bf82de37cd15fefac9b3725e091e41e38ddce832bd60b8b68006 + type-fest: "npm:^3.1.0" + yargs-parser: "npm:^21.1.1" + checksum: 9e9a081205de018cbf3e9d4ff28c510f580152003a8bf10b5b0f96093c626e43aa6f665e610d1a20e5e6a47bc74cb2cf7d1d355b9db1ab7cc407fb8551f1d2d6 languageName: node linkType: hard @@ -7792,7 +8861,7 @@ __metadata: languageName: node linkType: hard -"mime-db@npm:1.52.0, mime-db@npm:>= 1.43.0 < 2": +"mime-db@npm:1.52.0, mime-db@npm:>= 1.43.0 < 2, mime-db@npm:^1.28.0": version: 1.52.0 resolution: "mime-db@npm:1.52.0" checksum: 95baf687a3f14ff2cc433e30dea5c4931c7f4b67059d44a0098cfb833858cad63ec13c20f98762bddd088c4e9dac6d95862db1ea9d3fe3fa68f57b69a325000d @@ -7831,6 +8900,20 @@ __metadata: languageName: node linkType: hard +"mimic-response@npm:^1.0.0": + version: 1.0.1 + resolution: "mimic-response@npm:1.0.1" + checksum: 33f59926ca219581d72d6138f731c0ab09459c83dc01cce629b045cf0f0fc86d2080c0d776f2112dab7c4ef585c1104a3df0b2b8ed31fc6f4d261656f3543d4e + languageName: node + linkType: hard + +"mimic-response@npm:^3.1.0": + version: 3.1.0 + resolution: "mimic-response@npm:3.1.0" + checksum: 1d485ca418ab93d27d5a90b0ad701eee79fdf6a7dfd0342f7c83e1f2b421703eadadf9d1c968bff4749dcb42bb2148dc4b6bce795b7b357b46d47731353b7077 + languageName: node + linkType: hard + "min-indent@npm:^1.0.0, min-indent@npm:^1.0.1": version: 1.0.1 resolution: "min-indent@npm:1.0.1" @@ -7865,7 +8948,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": +"minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -7883,6 +8966,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^7.4.1": + version: 7.4.2 + resolution: "minimatch@npm:7.4.2" + dependencies: + brace-expansion: "npm:^2.0.1" + checksum: 999e3c3f4b4ba953a18130bc395036103e0bbf02cba8d7d3db207965c9befdf09e6daf3f810fda35fff3d7687d5425662fdedca681813ef36537d62cdcde3da1 + languageName: node + linkType: hard + "minimist-options@npm:4.1.0": version: 4.1.0 resolution: "minimist-options@npm:4.1.0" @@ -7894,7 +8986,14 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:~1.2.5": +"minimist@npm:1.2.8": + version: 1.2.8 + resolution: "minimist@npm:1.2.8" + checksum: 8598f846f2b7546b22b01ce486df27da216a302367afe17f2a032da12fcb8d33bfbf2c523051230864abf0b806748bd60d4cd0863fae35fe104da1ff6194a185 + languageName: node + linkType: hard + +"minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:~1.2.5": version: 1.2.6 resolution: "minimist@npm:1.2.6" checksum: b0286df020a110fa0173e71d8c9903748eb2cc939396d04a61bc224635393c564bc264d04a16e36d51e5489be513f98d7dbe5c2cf11598da11c91f6a18b9449e @@ -7961,6 +9060,13 @@ __metadata: languageName: node linkType: hard +"minipass@npm:^4.0.2, minipass@npm:^4.2.4": + version: 4.2.4 + resolution: "minipass@npm:4.2.4" + checksum: 39b2e353044a8b4c7d160ccffae9486312137df28a9e2a8d093a528a9d3602b4dce2b2204a17ca11762d352bd9750fd6506229766a0fb7a6199092aa3f9490e5 + languageName: node + linkType: hard + "minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" @@ -8053,6 +9159,13 @@ __metadata: languageName: node linkType: hard +"natural-compare-lite@npm:^1.4.0": + version: 1.4.0 + resolution: "natural-compare-lite@npm:1.4.0" + checksum: e5544056864e990c8fb4fe8ca91d01f8977586969d89adccd2ccea71fea468471b953088021fc90031800410a5042576594dc4005bf02db1794ee4ff0befc07c + languageName: node + linkType: hard + "natural-compare@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare@npm:1.4.0" @@ -8145,6 +9258,13 @@ __metadata: languageName: node linkType: hard +"node-releases@npm:^2.0.8": + version: 2.0.10 + resolution: "node-releases@npm:2.0.10" + checksum: 2047e77c66497fde77318ac163feb8ee18a3bca67c87b76642aeb0549bd01edcc88d7e002691b982513ebb46c809c456c7e027e38848ce9d2f915473552490b6 + languageName: node + linkType: hard + "nopt@npm:^5.0.0": version: 5.0.0 resolution: "nopt@npm:5.0.0" @@ -8180,6 +9300,18 @@ __metadata: languageName: node linkType: hard +"normalize-package-data@npm:^4.0.1": + version: 4.0.1 + resolution: "normalize-package-data@npm:4.0.1" + dependencies: + hosted-git-info: "npm:^5.0.0" + is-core-module: "npm:^2.8.1" + semver: "npm:^7.3.5" + validate-npm-package-license: "npm:^3.0.4" + checksum: 8fb3d401c8963e130bb9df8c55730db3d8ee9040cb307c5580a89bbcc36a82e7156556b52cde19b69804b9c5e82852e7150af19d10be9ea52baedaa6de13a19a + languageName: node + linkType: hard + "normalize-path@npm:^3.0.0, normalize-path@npm:~3.0.0": version: 3.0.0 resolution: "normalize-path@npm:3.0.0" @@ -8187,6 +9319,13 @@ __metadata: languageName: node linkType: hard +"normalize-url@npm:^6.0.1": + version: 6.1.0 + resolution: "normalize-url@npm:6.1.0" + checksum: 571335f6aca25545549a75e9f1ef848cbb1b4db08c19e2a1e042a216d14128fc77e039b08de2dbfa4b8341202dc7fff888ab9ba8aa6940568563d1de60867104 + languageName: node + linkType: hard + "npm-run-path@npm:^1.0.0": version: 1.0.0 resolution: "npm-run-path@npm:1.0.0" @@ -8233,7 +9372,7 @@ __metadata: languageName: node linkType: hard -"nwsapi@npm:^2.2.0": +"nwsapi@npm:^2.2.2": version: 2.2.2 resolution: "nwsapi@npm:2.2.2" checksum: f514c3560220d75e2d1199623415440bcee9ab86ffbb08eaccb9cadc40f0b5e13d893b57132f48e1af0e765c255325196fc3f7cc039213bcce6b895d102bbc7f @@ -8280,46 +9419,46 @@ __metadata: languageName: node linkType: hard -"object.entries@npm:^1.1.5": - version: 1.1.5 - resolution: "object.entries@npm:1.1.5" +"object.entries@npm:^1.1.6": + version: 1.1.6 + resolution: "object.entries@npm:1.1.6" dependencies: call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.3" - es-abstract: "npm:^1.19.1" - checksum: 4b4b699f3398ff1f2e0548a7809d815d80d5b812787c496a822d05ea7b6449a7e8311dd992fae544cea6c8f0e6623f2a59de7c4a25bd3004708461aada1e290b + define-properties: "npm:^1.1.4" + es-abstract: "npm:^1.20.4" + checksum: 96acb5488114ab252b78af28402653be6040fb497cfdde0444c2e06a3631af216970dc693eab1ce91651d108354c1671065bf350d1c1291a951bf772d1727230 languageName: node linkType: hard -"object.fromentries@npm:^2.0.5": - version: 2.0.5 - resolution: "object.fromentries@npm:2.0.5" +"object.fromentries@npm:^2.0.6": + version: 2.0.6 + resolution: "object.fromentries@npm:2.0.6" dependencies: call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.3" - es-abstract: "npm:^1.19.1" - checksum: 082cd286b0cf074daadbdd5b5c780f294c19ac061993fa415ff126440cea74d15c68fe3ab1b60a67ab1a6d1338fcae706470071171fa36aef4820fafc7530c5c + define-properties: "npm:^1.1.4" + es-abstract: "npm:^1.20.4" + checksum: 35f23acb19155a0bc3d8436957aa24f1233492ccff41ed02507876b93c836e1981971e4853478a2e23bdcd140e9ade4cca36d963569b7ae31275ce515fc3a9e9 languageName: node linkType: hard -"object.hasown@npm:^1.1.1": - version: 1.1.1 - resolution: "object.hasown@npm:1.1.1" +"object.hasown@npm:^1.1.2": + version: 1.1.2 + resolution: "object.hasown@npm:1.1.2" dependencies: define-properties: "npm:^1.1.4" - es-abstract: "npm:^1.19.5" - checksum: 0f315c055c15890e14313be35420c62dc462efef012dd65b80393b23b9304af324f101de757620b0cc6566466be7f02c357cb08cd4b3843c270cf94168030a54 + es-abstract: "npm:^1.20.4" + checksum: b2a1badf970b5997e3aa99b4a0a871ec122acd2e4e46c03db472e1228f2372f65b74db0ab1c6112bda5c738cc017923db30d51a8a52a465507caa6507365e260 languageName: node linkType: hard -"object.values@npm:^1.1.5": - version: 1.1.5 - resolution: "object.values@npm:1.1.5" +"object.values@npm:^1.1.6": + version: 1.1.6 + resolution: "object.values@npm:1.1.6" dependencies: call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.3" - es-abstract: "npm:^1.19.1" - checksum: abb36ead4b7c2b76558b79e91cf1100f628dc5e11cff9d08faa69691107de9294bae607e44136f752acd4972e648642c2565780bd692d0be3d0aada6b1ce0efa + define-properties: "npm:^1.1.4" + es-abstract: "npm:^1.20.4" + checksum: 34c61f5568744aefcf59f676fdf2444eff72f84b5006f5fc8eedb9ed8e5094222516807fbebd7b59c143a54476682676645bd5444b2ecaebe1e46322d754c4a7 languageName: node linkType: hard @@ -8442,6 +9581,15 @@ __metadata: languageName: node linkType: hard +"os-filter-obj@npm:^2.0.0": + version: 2.0.0 + resolution: "os-filter-obj@npm:2.0.0" + dependencies: + arch: "npm:^2.1.0" + checksum: 0ec1cd42d6159be2bf4c33d60daec31ecaf0e76b5688f03072659e88096ecaf27b639e264cfbdbfdfc0371027027449bfe1f4a223497db981ccfb79e236746ab + languageName: node + linkType: hard + "os-locale@npm:^3.1.0": version: 3.1.0 resolution: "os-locale@npm:3.1.0" @@ -8453,6 +9601,13 @@ __metadata: languageName: node linkType: hard +"p-cancelable@npm:^2.0.0": + version: 2.1.1 + resolution: "p-cancelable@npm:2.1.1" + checksum: 72b765c431614e7a7c5a22d6d32cee904f14df001a11491913b65cdc5143245dbd932487418b9d673c39381d940c22b1cdd08b2d768666fa3c4a5e199801824f + languageName: node + linkType: hard + "p-defer@npm:^1.0.0": version: 1.0.0 resolution: "p-defer@npm:1.0.0" @@ -8501,6 +9656,15 @@ __metadata: languageName: node linkType: hard +"p-limit@npm:^4.0.0": + version: 4.0.0 + resolution: "p-limit@npm:4.0.0" + dependencies: + yocto-queue: "npm:^1.0.0" + checksum: ca073ed51f443fbc8346494b72190944decaeee6f020a977e3370b8072553172cccf5cde2531f3719a82b98eb03abd29111a053c40e57573f3396262e2383997 + languageName: node + linkType: hard + "p-locate@npm:^2.0.0": version: 2.0.0 resolution: "p-locate@npm:2.0.0" @@ -8537,6 +9701,15 @@ __metadata: languageName: node linkType: hard +"p-locate@npm:^6.0.0": + version: 6.0.0 + resolution: "p-locate@npm:6.0.0" + dependencies: + p-limit: "npm:^4.0.0" + checksum: 73dff67d528340f69fe72816c3408c8f4d5391293941a8268c1b4f86cf8a9020f3b7b17f01656c39942e3062d43ccf40a4ef9bbf2f988f44b6c532341bb850ba + languageName: node + linkType: hard + "p-map@npm:^2.0.0": version: 2.1.0 resolution: "p-map@npm:2.1.0" @@ -8612,12 +9785,12 @@ __metadata: languageName: node linkType: hard -"parse5@npm:^7.0.0": - version: 7.1.1 - resolution: "parse5@npm:7.1.1" +"parse5@npm:^7.0.0, parse5@npm:^7.1.1": + version: 7.1.2 + resolution: "parse5@npm:7.1.2" dependencies: entities: "npm:^4.4.0" - checksum: ca40642f6585e234df24827f12137ac1aaeb0fb99c3ba129650ab5223e56e869bceda0f46034bce1a38cee2b1d0c797991de95d716e5a11128867385fadde7c2 + checksum: fe3c0f6b9e8621352a851cd1df391466ba0b14d99c9ad260dc63e5e2eab26bd89a9a9cf38a62bda040a07d2e7dc9686afc829a5ed7dd888e5313bc9f4aec6dd5 languageName: node linkType: hard @@ -8642,6 +9815,13 @@ __metadata: languageName: node linkType: hard +"path-exists@npm:^5.0.0": + version: 5.0.0 + resolution: "path-exists@npm:5.0.0" + checksum: f95aa38276901f0e2ef5d287596a76220f6089dd1b748babab25884ed262ca4214958cfcea102b58ff3083f8fdfabc6a75ac3b4ba42956d11d4bed7c75250e77 + languageName: node + linkType: hard + "path-is-absolute@npm:^1.0.0": version: 1.0.1 resolution: "path-is-absolute@npm:1.0.1" @@ -8684,6 +9864,16 @@ __metadata: languageName: node linkType: hard +"path-scurry@npm:^1.6.1": + version: 1.6.1 + resolution: "path-scurry@npm:1.6.1" + dependencies: + lru-cache: "npm:^7.14.1" + minipass: "npm:^4.0.2" + checksum: a58f1b86ca95c39e339a0ef1e93c3a907ad474102e3ceba8c8d9c60a5cdb08ceae270d86f28d8881d492cf4607a1cade128783ae88f46b5d407b187639e7cb38 + languageName: node + linkType: hard + "path-to-regexp@npm:0.1.7": version: 0.1.7 resolution: "path-to-regexp@npm:0.1.7" @@ -8698,6 +9888,13 @@ __metadata: languageName: node linkType: hard +"peek-readable@npm:^5.0.0": + version: 5.0.0 + resolution: "peek-readable@npm:5.0.0" + checksum: 9350acc783b1b01c956e07f1e010d25b7e3f995719fe08d7deb5d2ac782550875ef57006304a566a0cac14e9c5d5ba95c1c09888a79ddf2d8e2682a51e833516 + languageName: node + linkType: hard + "pend@npm:~1.2.0": version: 1.2.0 resolution: "pend@npm:1.2.0" @@ -8719,7 +9916,7 @@ __metadata: languageName: node linkType: hard -"pify@npm:^2.0.0": +"pify@npm:^2.0.0, pify@npm:^2.2.0": version: 2.3.0 resolution: "pify@npm:2.3.0" checksum: 9a3b2aa18d26ed79db45dee98f52675750ad11ced96b45b4884f4d4368217046137e35481146bfc94698f5709fd838d86f1d2d80d958f5f88767e426d29cbc66 @@ -8896,30 +10093,34 @@ __metadata: languageName: node linkType: hard -"prettier-config-qiwi@npm:1.7.2": - version: 1.7.2 - resolution: "prettier-config-qiwi@npm:1.7.2" - checksum: b29d346df6bb933488e0f9ec8e9fe7dc794344c0d60618d7658145c3b98675cbcf5180646a4f834260c93ad9b87ca411f5c998e71f33cb2e479b7be7cb991b69 +"prettier-config-qiwi@npm:2.0.1": + version: 2.0.1 + resolution: "prettier-config-qiwi@npm:2.0.1" + dependencies: + "@trivago/prettier-plugin-sort-imports": "npm:^4.0.0" + peerDependencies: + prettier: "*" + checksum: 62f48c12d47512355276fb1b7822ff66250426f0cc370511743b043c51a96a59ff7d4c4bc05ae79503e338aff16bcaa4da7bc3ccdd2ff042053235c51f6352d1 languageName: node linkType: hard -"prettier@npm:2.7.1": - version: 2.7.1 - resolution: "prettier@npm:2.7.1" +"prettier@npm:2.8.4": + version: 2.8.4 + resolution: "prettier@npm:2.8.4" bin: prettier: bin-prettier.js - checksum: d2cd7adc83b4f3eb86ab665fa76c58fb3c60c879b37e6d858f71a9d97d2091d4c8a7fe92ad6a1dfa211832025e3660635df9c5e27b3ef79c99d431923bdf933b + checksum: e8a99b3a385d8d09881a64b759b9cd88e44ab7ba09832d55608fd7203efdc78f0d94773532f3bb3bbb3f579096f7011883df06a26eb61792e786ea4f5fc984f0 languageName: node linkType: hard -"pretty-format@npm:^29.0.0, pretty-format@npm:^29.0.2": - version: 29.0.2 - resolution: "pretty-format@npm:29.0.2" +"pretty-format@npm:^29.0.0, pretty-format@npm:^29.5.0": + version: 29.5.0 + resolution: "pretty-format@npm:29.5.0" dependencies: - "@jest/schemas": "npm:^29.0.0" + "@jest/schemas": "npm:^29.4.3" ansi-styles: "npm:^5.0.0" react-is: "npm:^18.0.0" - checksum: c0763eb0b6e7aef423fbaf8ad8da7c7b71af1398705f94dbce0609e20d2c168ec8816f5e9d5c22f72ccac9fcebc97625314f2cc554b3af4617190aabe57f8658 + checksum: bdacd8f5e21c8fa6b155ed13035494c752106540b7d93d724e2b9d23f27c605f63f3d775b0e78cfa1f6764012817529e73376ea11380a3e4d0931ec119a49842 languageName: node linkType: hard @@ -9030,13 +10231,20 @@ __metadata: languageName: node linkType: hard -"punycode@npm:2.x.x, punycode@npm:^2.1.0, punycode@npm:^2.1.1": +"punycode@npm:2.x.x, punycode@npm:^2.1.0": version: 2.1.1 resolution: "punycode@npm:2.1.1" checksum: fd728ef9db90e7b4db37d5c4937d6c6302cf4f64748b2dea3abbf1efd21e6193bb670efb7814766c858b2e1ccdb65ce34e44b498d734922e1dcb2a8623a925d8 languageName: node linkType: hard +"punycode@npm:^2.1.1": + version: 2.3.0 + resolution: "punycode@npm:2.3.0" + checksum: c2b408c805927a6614ef581bd3d00deca1fef9f2da0ec95cecaedf6a985d8596a29e931e31f80f7313f94257895f9ac6cf4c2ae81cdca04964daf9c3c3d221c1 + languageName: node + linkType: hard + "puppeteer@npm:15.5.0": version: 15.5.0 resolution: "puppeteer@npm:15.5.0" @@ -9057,6 +10265,13 @@ __metadata: languageName: node linkType: hard +"pure-rand@npm:^6.0.0": + version: 6.0.0 + resolution: "pure-rand@npm:6.0.0" + checksum: 9a39e7edd7d5c03492c7b337d38effe667fe660aab9d9c9595e08817249b918e7d09e86235639b97ee68c92db944c2677c62a1e6620182c6440565d1263b04a1 + languageName: node + linkType: hard + "q-i@npm:^2.0.1": version: 2.0.1 resolution: "q-i@npm:2.0.1" @@ -9105,6 +10320,13 @@ __metadata: languageName: node linkType: hard +"quick-lru@npm:^6.1.1": + version: 6.1.1 + resolution: "quick-lru@npm:6.1.1" + checksum: 905b489bd7c561438ea643cbee0cc14a4e8716781a522be37f530590903c215b2c314fcfa249290f293395d53d4d1207c922d6693c33a90d1ee247c8f1d94502 + languageName: node + linkType: hard + "randombytes@npm:^2.1.0": version: 2.1.0 resolution: "randombytes@npm:2.1.0" @@ -9595,14 +10817,26 @@ __metadata: languageName: node linkType: hard -"read-pkg-up@npm:^8.0.0": - version: 8.0.0 - resolution: "read-pkg-up@npm:8.0.0" +"read-pkg-up@npm:^9.1.0": + version: 9.1.0 + resolution: "read-pkg-up@npm:9.1.0" dependencies: - find-up: "npm:^5.0.0" - read-pkg: "npm:^6.0.0" - type-fest: "npm:^1.0.1" - checksum: c5180c8d3ebaa448e0b085c5bf68596ea607f7bb1d98aa5d2ca35b9c27b3b917a69b482fbcd9a307ea793ff21a22f49d69d1e0f5c506f6d25b7034c203ca7f44 + find-up: "npm:^6.3.0" + read-pkg: "npm:^7.1.0" + type-fest: "npm:^2.5.0" + checksum: cebf9c78c525a54a04cf75a032fea4134bc8453789613433ce4929e5a8f3b61d6d5c6c15132eb08d7d3a096dcdf232af356f2080f12cc388ed5bdcdee86ae933 + languageName: node + linkType: hard + +"read-pkg@npm:7.1.0, read-pkg@npm:^7.1.0": + version: 7.1.0 + resolution: "read-pkg@npm:7.1.0" + dependencies: + "@types/normalize-package-data": "npm:^2.4.1" + normalize-package-data: "npm:^3.0.2" + parse-json: "npm:^5.2.0" + type-fest: "npm:^2.0.0" + checksum: 70af3f9b22921e671ad0db4ad1557ca88c113cc76e6a71f93a8d2fdfbd310521a8b66d3a2e715b57286f9f3bded70b5742adfd00cd002339012c7a7465411996 languageName: node linkType: hard @@ -9618,18 +10852,6 @@ __metadata: languageName: node linkType: hard -"read-pkg@npm:^6.0.0": - version: 6.0.0 - resolution: "read-pkg@npm:6.0.0" - dependencies: - "@types/normalize-package-data": "npm:^2.4.0" - normalize-package-data: "npm:^3.0.2" - parse-json: "npm:^5.2.0" - type-fest: "npm:^1.0.1" - checksum: 7f7d15d45ff768d5f0dec61a49f1448d7ea349624582a0c6b0731645c378e2451ed1eed88e1229e7ff5415f7d8929a2b6b3d83ea375edf4d318953acc360cc80 - languageName: node - linkType: hard - "readable-stream@npm:^2.0.1, readable-stream@npm:^2.0.2": version: 2.3.7 resolution: "readable-stream@npm:2.3.7" @@ -9668,6 +10890,15 @@ __metadata: languageName: node linkType: hard +"readable-web-to-node-stream@npm:^3.0.2": + version: 3.0.2 + resolution: "readable-web-to-node-stream@npm:3.0.2" + dependencies: + readable-stream: "npm:^3.6.0" + checksum: 16baa48b420bdc395f30c82564676b820d7b4f83f7420d958970dbf765098a4b5d7950180b828d5b7f7eea27fedc05f35b116bee530c6ce990310ea501d7c42c + languageName: node + linkType: hard + "readdirp@npm:~3.6.0": version: 3.6.0 resolution: "readdirp@npm:3.6.0" @@ -9731,7 +10962,7 @@ __metadata: languageName: node linkType: hard -"regexp-tree@npm:^0.1.21, regexp-tree@npm:^0.1.24, regexp-tree@npm:~0.1.1": +"regexp-tree@npm:^0.1.24, regexp-tree@npm:~0.1.1": version: 0.1.24 resolution: "regexp-tree@npm:0.1.24" bin: @@ -9740,7 +10971,7 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.4.1, regexp.prototype.flags@npm:^1.4.3": +"regexp.prototype.flags@npm:^1.4.3": version: 1.4.3 resolution: "regexp.prototype.flags@npm:1.4.3" dependencies: @@ -9751,7 +10982,7 @@ __metadata: languageName: node linkType: hard -"regexpp@npm:^3.0.0, regexpp@npm:^3.2.0": +"regexpp@npm:^3.2.0": version: 3.2.0 resolution: "regexpp@npm:3.2.0" checksum: b171774d3380c053d3bd4af6b4f60f2e28c837dd4daeafb183d656e2f439dc606ee428bb44f14cbaa5a715524d2e8d88d168817445b4156d1ea06337f29eb405 @@ -9790,6 +11021,17 @@ __metadata: languageName: node linkType: hard +"regjsparser@npm:^0.9.1": + version: 0.9.1 + resolution: "regjsparser@npm:0.9.1" + dependencies: + jsesc: "npm:~0.5.0" + bin: + regjsparser: bin/parser + checksum: c706fb5d31aabd1951c0aa5fdfdb193bac82f9bec0e0ba77ab794e1260ec0589fdb270532387b8831124c9191ffccaf4eaceb7cd7df3f0be9572808d47c44266 + languageName: node + linkType: hard + "remark-parse@npm:^9.0.0": version: 9.0.0 resolution: "remark-parse@npm:9.0.0" @@ -9854,6 +11096,13 @@ __metadata: languageName: node linkType: hard +"resolve-alpn@npm:^1.0.0": + version: 1.2.1 + resolution: "resolve-alpn@npm:1.2.1" + checksum: e3dfc6bc87269e25615e15afb7c96d8f0c35f64ef9f03ddc7524b05d09c3b6ed5377679aa6fc4fb7e057d8799e2a9b82f12a691212a8bfcd7c26e353bfecb14c + languageName: node + linkType: hard + "resolve-cwd@npm:^3.0.0": version: 3.0.0 resolution: "resolve-cwd@npm:3.0.0" @@ -9877,14 +11126,14 @@ __metadata: languageName: node linkType: hard -"resolve.exports@npm:^1.1.0": - version: 1.1.0 - resolution: "resolve.exports@npm:1.1.0" - checksum: 59b9aa7fd7d85c553b4f50ed8366bb21949e7b2fff48adcc24c15a301b8f021bfb053c87acfaed13b47f2bb30f7f7a243b18365c1ec6ed4ae672eef257fda139 +"resolve.exports@npm:^2.0.0": + version: 2.0.1 + resolution: "resolve.exports@npm:2.0.1" + checksum: 304ec6dfa87405ddfbcc6c753cf13941271cdef2acf0627088af69d543d8248a059bda8fc650f8de129b40bd0cbd325e3390e1062dc4ff63892f5cd411e6a583 languageName: node linkType: hard -"resolve@npm:^1.10.0, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1": +"resolve@npm:^1.10.0, resolve@npm:^1.19.0, resolve@npm:^1.20.0": version: 1.22.1 resolution: "resolve@npm:1.22.1" dependencies: @@ -9897,7 +11146,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^2.0.0-next.3": +"resolve@npm:^2.0.0-next.4": version: 2.0.0-next.4 resolution: "resolve@npm:2.0.0-next.4" dependencies: @@ -9910,7 +11159,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin": +"resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin": version: 1.22.1 resolution: "resolve@patch:resolve@npm%3A1.22.1#optional!builtin::version=1.22.1&hash=07638b" dependencies: @@ -9923,7 +11172,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^2.0.0-next.3#optional!builtin": +"resolve@patch:resolve@npm%3A^2.0.0-next.4#optional!builtin": version: 2.0.0-next.4 resolution: "resolve@patch:resolve@npm%3A2.0.0-next.4#optional!builtin::version=2.0.0-next.4&hash=07638b" dependencies: @@ -9936,6 +11185,15 @@ __metadata: languageName: node linkType: hard +"responselike@npm:^2.0.0": + version: 2.0.1 + resolution: "responselike@npm:2.0.1" + dependencies: + lowercase-keys: "npm:^2.0.0" + checksum: 630d53fc31717a5a8cd634d4844feb41e70be4c3d01ffc79a9964b289a978ffefed09c70bd71d7006e74e27ed274e7f8f5bf09b0cf333e562e6ef2505ac3f4e5 + languageName: node + linkType: hard + "restore-cursor@npm:^2.0.0": version: 2.0.0 resolution: "restore-cursor@npm:2.0.0" @@ -9988,6 +11246,17 @@ __metadata: languageName: node linkType: hard +"rimraf@npm:4.2.0": + version: 4.2.0 + resolution: "rimraf@npm:4.2.0" + dependencies: + glob: "npm:^9.2.0" + bin: + rimraf: dist/cjs/src/bin.js + checksum: ac9263adf4d95db87da57dddb77e2368457576cab630d16b016b16ccad3851668925332fd7d170f762824d9b8f32530942dfe02e367481303e81d6082475af13 + languageName: node + linkType: hard + "rimraf@npm:^2.6.3": version: 2.7.1 resolution: "rimraf@npm:2.7.1" @@ -10031,6 +11300,17 @@ __metadata: languageName: node linkType: hard +"safe-regex-test@npm:^1.0.0": + version: 1.0.0 + resolution: "safe-regex-test@npm:1.0.0" + dependencies: + call-bind: "npm:^1.0.2" + get-intrinsic: "npm:^1.1.3" + is-regex: "npm:^1.1.4" + checksum: f7d330e0337cc12ba90dbf88d2f5815106149226c4741a9b5a906aa453f77bc9862570d5b58ca26f20c03807e8e30ed70e5d087fdf2e547da2c0cccaca58931a + languageName: node + linkType: hard + "safe-regex@npm:^2.1.1": version: 2.1.1 resolution: "safe-regex@npm:2.1.1" @@ -10115,6 +11395,22 @@ __metadata: languageName: node linkType: hard +"semver-regex@npm:^4.0.5": + version: 4.0.5 + resolution: "semver-regex@npm:4.0.5" + checksum: c2a40395f43175135ccf1f551b4e65387e861085e905c626670c94df3d70d611a46d5ffd6bdfb163eb39da032d9c32933fb55f52067ca30273515b687cff3af2 + languageName: node + linkType: hard + +"semver-truncate@npm:^2.0.0": + version: 2.0.0 + resolution: "semver-truncate@npm:2.0.0" + dependencies: + semver: "npm:^6.0.0" + checksum: eddd398e6d04e14cc65f06e6d015678903d5cdd7e5df4e15a01364ec535c9d7f93f3421bea860c7a57d7a8afde9579b87c1955f4533d095975e6939bf39ca54c + languageName: node + linkType: hard + "semver@npm:2 || 3 || 4 || 5, semver@npm:^5.5.0": version: 5.7.1 resolution: "semver@npm:5.7.1" @@ -10133,7 +11429,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.0.0, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7": +"semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7": version: 7.3.7 resolution: "semver@npm:7.3.7" dependencies: @@ -10144,6 +11440,17 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.3.8": + version: 7.3.8 + resolution: "semver@npm:7.3.8" + dependencies: + lru-cache: "npm:^6.0.0" + bin: + semver: bin/semver.js + checksum: 94ad80ee14889020cb4a14d809fb99d16cbf4ff3dc7f4c564fc72efe2c5763a60090a1c16a9fd18ceeb1e993a1303a4d870c0a22f26adaf435b368b46a7d8462 + languageName: node + linkType: hard + "send@npm:0.18.0": version: 0.18.0 resolution: "send@npm:0.18.0" @@ -10339,6 +11646,24 @@ __metadata: languageName: node linkType: hard +"sort-keys-length@npm:^1.0.0": + version: 1.0.1 + resolution: "sort-keys-length@npm:1.0.1" + dependencies: + sort-keys: "npm:^1.0.0" + checksum: 56381b1d7db29bf2a151dc0f8bb4f1dc7beccafcc46cf02c33e14f4b73dba0952191bea94e8cb3e8128d7601573596fe74991aa71b5859250177a6eb60079dc9 + languageName: node + linkType: hard + +"sort-keys@npm:^1.0.0": + version: 1.1.2 + resolution: "sort-keys@npm:1.1.2" + dependencies: + is-plain-obj: "npm:^1.0.0" + checksum: 8982014f5bea1cbb2f5fec9c83bcefd9da1ccc8540f8323ebe846ef5ac1e4795a253c1c55a706eeb72518040946687c6d388111409b8ce04e581f4e6542b4e7d + languageName: node + linkType: hard + "source-list-map@npm:^2.0.1": version: 2.0.1 resolution: "source-list-map@npm:2.0.1" @@ -10373,7 +11698,7 @@ __metadata: languageName: node linkType: hard -"source-map@npm:^0.5.7": +"source-map@npm:^0.5.0, source-map@npm:^0.5.7": version: 0.5.7 resolution: "source-map@npm:0.5.7" checksum: fd1c3c795c360e43fed3f7e80ff227c2156dbe3c69d20a9bf9c4b299a1cbe412cb6f9561fc6f636496f1bf44a28a06edcc0fb4a16de17db903481a063683f45a @@ -10493,11 +11818,11 @@ __metadata: linkType: hard "stack-utils@npm:^2.0.3": - version: 2.0.5 - resolution: "stack-utils@npm:2.0.5" + version: 2.0.6 + resolution: "stack-utils@npm:2.0.6" dependencies: escape-string-regexp: "npm:^2.0.0" - checksum: 1a2a1450abc302addf8c3f60b38439786b1410fef30a30f162875d03abb38ff5b2c8da97d04552cd018dd5565338b9bc6aeeaade3f779eb910e76cad46be7b30 + checksum: 79e5c96b05bd8b12ab441d95a5c960e819c4783dfdbdef7f663b01fc97a9c51698fd0e8d76d4a91913f33c3fea6e35cf44df1710a6a85d572f20e85fb0846df3 languageName: node linkType: hard @@ -10557,19 +11882,19 @@ __metadata: languageName: node linkType: hard -"string.prototype.matchall@npm:^4.0.7": - version: 4.0.7 - resolution: "string.prototype.matchall@npm:4.0.7" +"string.prototype.matchall@npm:^4.0.8": + version: 4.0.8 + resolution: "string.prototype.matchall@npm:4.0.8" dependencies: call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.3" - es-abstract: "npm:^1.19.1" - get-intrinsic: "npm:^1.1.1" + define-properties: "npm:^1.1.4" + es-abstract: "npm:^1.20.4" + get-intrinsic: "npm:^1.1.3" has-symbols: "npm:^1.0.3" internal-slot: "npm:^1.0.3" - regexp.prototype.flags: "npm:^1.4.1" + regexp.prototype.flags: "npm:^1.4.3" side-channel: "npm:^1.0.4" - checksum: 25347979dc8b8852ef270f2f070b5993d29300d92901bad00d7370f213f60cf2a2e419fc9320c28fbfbaecc9719deffed2834eafacb5595f888c01297b0d948e + checksum: 3419a05feb3719ec9ad3d51fd29350d46e5b292b67df9488abe70ad50c37f7785a09e132c98b49a2750bf706792d0557da05967a95d828e0734054bea3939dd8 languageName: node linkType: hard @@ -10584,6 +11909,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimend@npm:^1.0.6": + version: 1.0.6 + resolution: "string.prototype.trimend@npm:1.0.6" + dependencies: + call-bind: "npm:^1.0.2" + define-properties: "npm:^1.1.4" + es-abstract: "npm:^1.20.4" + checksum: 0c6b262932e2f065b4097fd3b17254b8fa2ac953f26d190e4defa2f01bca3313067c6672ff8b853f66edc2b4743af196f00ecd3c75f131d53fa772b16692cbf8 + languageName: node + linkType: hard + "string.prototype.trimstart@npm:^1.0.5": version: 1.0.5 resolution: "string.prototype.trimstart@npm:1.0.5" @@ -10595,6 +11931,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimstart@npm:^1.0.6": + version: 1.0.6 + resolution: "string.prototype.trimstart@npm:1.0.6" + dependencies: + call-bind: "npm:^1.0.2" + define-properties: "npm:^1.1.4" + es-abstract: "npm:^1.20.4" + checksum: 87a4f42e4c0bde3508cb8d95260919c73ae4af5573fdbca1cd173d9ce53153d83b0fc3d218d49b9cabdca440ae71cd44b85a659cddd477b27b3f1344dc023a65 + languageName: node + linkType: hard + "string_decoder@npm:^1.1.1": version: 1.3.0 resolution: "string_decoder@npm:1.3.0" @@ -10718,6 +12065,23 @@ __metadata: languageName: node linkType: hard +"strip-outer@npm:^2.0.0": + version: 2.0.0 + resolution: "strip-outer@npm:2.0.0" + checksum: 670e752a027ddeadb30bc0cd6260706c93867a27fd1c38140dbdbd36954f550ba4fdb7c58ee191ab95ca9465f1705178c223a7674fa451d4ff2af9e5519e9de4 + languageName: node + linkType: hard + +"strtok3@npm:^7.0.0-alpha.9": + version: 7.0.0 + resolution: "strtok3@npm:7.0.0" + dependencies: + "@tokenizer/token": "npm:^0.3.0" + peek-readable: "npm:^5.0.0" + checksum: 0d3b800599678de1dae6eb103a850080564c31d48222c155aafa51dff05431fdb9f1863b48c094ec39c5b63245f03427a4ab1ad783c8903df44eae4c9c7badf0 + languageName: node + linkType: hard + "style-loader@npm:3.3.1": version: 3.3.1 resolution: "style-loader@npm:3.3.1" @@ -10743,7 +12107,7 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^7.0.0, supports-color@npm:^7.1.0": +"supports-color@npm:^7.1.0": version: 7.2.0 resolution: "supports-color@npm:7.2.0" dependencies: @@ -10761,16 +12125,6 @@ __metadata: languageName: node linkType: hard -"supports-hyperlinks@npm:^2.0.0": - version: 2.3.0 - resolution: "supports-hyperlinks@npm:2.3.0" - dependencies: - has-flag: "npm:^4.0.0" - supports-color: "npm:^7.0.0" - checksum: 018edbc2b3c5c1bea3b525dfc0b4fe8a3ab21cb61cd5c4b23aee11da540b81e8ff8bb022fa8eae3c87c4779533a5b4b763f31da1f76bffc27613c9b15a863a13 - languageName: node - linkType: hard - "supports-preserve-symlinks-flag@npm:^1.0.0": version: 1.0.0 resolution: "supports-preserve-symlinks-flag@npm:1.0.0" @@ -10858,16 +12212,6 @@ __metadata: languageName: node linkType: hard -"terminal-link@npm:^2.0.0": - version: 2.1.1 - resolution: "terminal-link@npm:2.1.1" - dependencies: - ansi-escapes: "npm:^4.2.1" - supports-hyperlinks: "npm:^2.0.0" - checksum: 0a6dde4af24b35b5c0620da048a814aacbcdd8a3c5968bd30e23e38ebff14d8d7e46e4e4bcf077d55fd092143c7fb99c86b7349de314e76c5b7122666587d47c - languageName: node - linkType: hard - "terser-webpack-plugin@npm:^5.1.3, terser-webpack-plugin@npm:^5.3.3": version: 5.3.6 resolution: "terser-webpack-plugin@npm:5.3.6" @@ -11009,6 +12353,16 @@ __metadata: languageName: node linkType: hard +"token-types@npm:^5.0.0-alpha.2": + version: 5.0.1 + resolution: "token-types@npm:5.0.1" + dependencies: + "@tokenizer/token": "npm:^0.3.0" + ieee754: "npm:^1.2.1" + checksum: 91655bb00b8675f61b3fac6c4281a8816fdb805ad6b742f401ea502822cfa809206e5d5f226c5c421dfaf4d52d7696813b37bb7fa3dc79105b2d3d9325054f32 + languageName: node + linkType: hard + "topo@npm:3.x.x": version: 3.0.3 resolution: "topo@npm:3.0.3" @@ -11018,7 +12372,14 @@ __metadata: languageName: node linkType: hard -"tough-cookie@npm:^4.0.0": +"toposource@npm:^1.1.1": + version: 1.1.2 + resolution: "toposource@npm:1.1.2" + checksum: 9d6355aa9cafb085d40795e780032d3b35d20cd75e6fb7b9eab14a4df8999c08df9c9b0c4dbdfedb7f32a74d2dc00e1ee71c431d359c1053989c688cc3d05bce + languageName: node + linkType: hard + +"tough-cookie@npm:^4.1.2": version: 4.1.2 resolution: "tough-cookie@npm:4.1.2" dependencies: @@ -11062,6 +12423,15 @@ __metadata: languageName: node linkType: hard +"trim-repeated@npm:^2.0.0": + version: 2.0.0 + resolution: "trim-repeated@npm:2.0.0" + dependencies: + escape-string-regexp: "npm:^5.0.0" + checksum: 7c26073c7f57ebc924e9c5f015b06655fa6c479cf45cc22c61a4b599b71bed2998a7d1467cfa355d454894f2779cf3691f5343cc01459b3e7907f08a8ebbcad8 + languageName: node + linkType: hard + "trough@npm:^1.0.0": version: 1.0.5 resolution: "trough@npm:1.0.5" @@ -11069,31 +12439,40 @@ __metadata: languageName: node linkType: hard -"tsc-esm-fix@npm:2.20.4": - version: 2.20.4 - resolution: "tsc-esm-fix@npm:2.20.4" +"tsc-esm-fix@npm:2.20.12": + version: 2.20.12 + resolution: "tsc-esm-fix@npm:2.20.12" dependencies: - "@types/fs-extra": "npm:^9.0.13" - fs-extra: "npm:^10.1.0" - globby: "npm:^13.1.2" + fs-extra: "npm:^11.1.0" + globby: "npm:^13.1.3" json5: "npm:^2.2.1" - meow: "npm:^10.1.3" - tslib: "npm:^2.4.0" + meow: "npm:^11.0.0" + tslib: "npm:^2.4.1" bin: tsc-esm-fix: target/es6/cli.mjs - checksum: e9d8e0ac5683493fc293a959b7461738816818b3fdf6a8e7e45770ec2d694232c0e8209379542853df8da0455f9852a0b0c76f6e9247b6a00a681e9bacf87736 + checksum: 37d3e7b60ced21dc0ec06d8f4497574b23539e2fb5a874bd79e30624fbcf59495e5a9d0a0a24ad7bc68f0f4a15794e35d6a7c2456f38b4d678cfe2ea3c525604 languageName: node linkType: hard -"tsconfig-paths@npm:^3.14.1": - version: 3.14.1 - resolution: "tsconfig-paths@npm:3.14.1" +"tsconfig-paths-webpack-plugin@npm:4.0.0": + version: 4.0.0 + resolution: "tsconfig-paths-webpack-plugin@npm:4.0.0" + dependencies: + chalk: "npm:^4.1.0" + enhanced-resolve: "npm:^5.7.0" + tsconfig-paths: "npm:^4.0.0" + checksum: 72445f01f56fc50c39a791b5477e8ee9fb6738115ad713907147c3bdbd227484c4d8a31eaf468742311e603417c983a71a14376abdf12c01037b64af95891fb9 + languageName: node + linkType: hard + +"tsconfig-paths@npm:^4.0.0": + version: 4.1.2 + resolution: "tsconfig-paths@npm:4.1.2" dependencies: - "@types/json5": "npm:^0.0.29" - json5: "npm:^1.0.1" + json5: "npm:^2.2.2" minimist: "npm:^1.2.6" strip-bom: "npm:^3.0.0" - checksum: 7f856252e523597e8fc3234b2f992d6d76a807793cb59bd2d924db9beb2594bfe7a18ee93898088733cb55b1cce4be306924a5da5f760eff137d4c2d7bf85fad + checksum: c58c616293f334f6c4eff227e22279c3ee87ab3f6f2aa62a618172927e5af742f10b2daebae36ab715fced0c328da638600cf4b66c4ecc7ed5f76b6cd154ec2e languageName: node linkType: hard @@ -11111,6 +12490,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.4.1, tslib@npm:^2.5.0": + version: 2.5.0 + resolution: "tslib@npm:2.5.0" + checksum: 5a6ee935f56cd653af29de928483acbab7323f964b053e98b6b318abc69431fb0e4f660c4f4a396e2e93852510bef25eeb9f1d951d060b2d7bcc313811e5da6f + languageName: node + linkType: hard + "tsutils@npm:^3.21.0": version: 3.21.0 resolution: "tsutils@npm:3.21.0" @@ -11175,10 +12561,17 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^1.0.1, type-fest@npm:^1.2.1, type-fest@npm:^1.2.2": - version: 1.4.0 - resolution: "type-fest@npm:1.4.0" - checksum: 214ce322fc969854349a65a66b891003636ad844de5fd1738e4015e8b71151b8a774121443b1e6dd7792e1bdd9fad1771826244559111c78feb7519f31fa7692 +"type-fest@npm:^2.0.0, type-fest@npm:^2.13.0, type-fest@npm:^2.5.0": + version: 2.19.0 + resolution: "type-fest@npm:2.19.0" + checksum: d63c7c5fd7583cc6d35ccd23e96686eeb1e6f387c83a858625734ea2cf974c6be38bcbc43663da5e10469a1b4119089def1e8def03bf2aee540f0ad4fcd25902 + languageName: node + linkType: hard + +"type-fest@npm:^3.1.0": + version: 3.5.7 + resolution: "type-fest@npm:3.5.7" + checksum: 62ab52720a657909945df45364a56fcaa8495b5aa72f95743924d528ac1ba40e2177bba35d25e967751ea00cb82e63b0b4b069a63310db641703d2e9994b9636 languageName: node linkType: hard @@ -11192,23 +12585,34 @@ __metadata: languageName: node linkType: hard -"typescript@npm:4.8.2": - version: 4.8.2 - resolution: "typescript@npm:4.8.2" +"typed-array-length@npm:^1.0.4": + version: 1.0.4 + resolution: "typed-array-length@npm:1.0.4" + dependencies: + call-bind: "npm:^1.0.2" + for-each: "npm:^0.3.3" + is-typed-array: "npm:^1.1.9" + checksum: bd196be0cb6c267e1fc8c3d54f19c1059d1082e0baf0f6735b39ed2a01e9dd2fef0593b1b03e0bdb9c29d1e6e34bbb1498f951a19b4c78bc5c7af6786fc3c6b6 + languageName: node + linkType: hard + +"typescript@npm:4.9.5": + version: 4.9.5 + resolution: "typescript@npm:4.9.5" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 67ffddd3d17e9f998a184925725222bfb63aab9d786542879006cff335e897c3a386b9ee564c0a5dc65e5b97cd3c66914096b1b60b9e418171cde2894cc994a8 + checksum: 550217a465c00b1d7ef0e0ddc3a6a0b2ae1fd7c1b9f53cde5a1cfe56aa457c7a43fa83792c1b98b2185d2156d0467c9ad6f6600515ad4f4fc2acee54c4bd320e languageName: node linkType: hard -"typescript@patch:typescript@npm%3A4.8.2#optional!builtin": - version: 4.8.2 - resolution: "typescript@patch:typescript@npm%3A4.8.2#optional!builtin::version=4.8.2&hash=f456af" +"typescript@patch:typescript@npm%3A4.9.5#optional!builtin": + version: 4.9.5 + resolution: "typescript@patch:typescript@npm%3A4.9.5#optional!builtin::version=4.9.5&hash=f456af" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: d632bd295ff5b56038e321adc47aff7b606ef25d6b0b19dd43dbd18f761f349e89f95fe1f567d0876417ccdbeb36daf5fb9dff2e32a34e404acea274b0b7c076 + checksum: e293597c8e866ec12c072488b3e80af7c00666159ff5067748bcadb162332e709e258b7699aeaa54ae469384d21ec50e9928ea517f2c78108a0412fb7f5a6f4d languageName: node linkType: hard @@ -11383,6 +12787,20 @@ __metadata: languageName: node linkType: hard +"update-browserslist-db@npm:^1.0.10": + version: 1.0.10 + resolution: "update-browserslist-db@npm:1.0.10" + dependencies: + escalade: "npm:^3.1.1" + picocolors: "npm:^1.0.0" + peerDependencies: + browserslist: ">= 4.21.0" + bin: + browserslist-lint: cli.js + checksum: e55ee7f0562821e40808b5f265e4dfbc1436cdddd4c436dfe73ae4e71215302907d4b430807d45fabbb4c23aa2d67757f26dbd8f93fc9718f814566536b386d0 + languageName: node + linkType: hard + "update-browserslist-db@npm:^1.0.5": version: 1.0.7 resolution: "update-browserslist-db@npm:1.0.7" @@ -11448,7 +12866,7 @@ __metadata: languageName: node linkType: hard -"v8-to-istanbul@npm:^9.0.0, v8-to-istanbul@npm:^9.0.1": +"v8-to-istanbul@npm:^9.0.0": version: 9.0.1 resolution: "v8-to-istanbul@npm:9.0.1" dependencies: @@ -11459,7 +12877,18 @@ __metadata: languageName: node linkType: hard -"validate-npm-package-license@npm:^3.0.1": +"v8-to-istanbul@npm:^9.0.1": + version: 9.1.0 + resolution: "v8-to-istanbul@npm:9.1.0" + dependencies: + "@jridgewell/trace-mapping": "npm:^0.3.12" + "@types/istanbul-lib-coverage": "npm:^2.0.1" + convert-source-map: "npm:^1.6.0" + checksum: 33066fd1d97888d05c15ea015253d35510ea975a80fd2f96e4cd1b40420c3180f6af747e90a2729ea934a91d3b8b17d18b92a30fc9bca3dfde43bca679366514 + languageName: node + linkType: hard + +"validate-npm-package-license@npm:^3.0.1, validate-npm-package-license@npm:^3.0.4": version: 3.0.4 resolution: "validate-npm-package-license@npm:3.0.4" dependencies: @@ -11505,21 +12934,12 @@ __metadata: languageName: node linkType: hard -"w3c-hr-time@npm:^1.0.2": - version: 1.0.2 - resolution: "w3c-hr-time@npm:1.0.2" - dependencies: - browser-process-hrtime: "npm:^1.0.0" - checksum: c1c1c80ff67e23838496610efb64630760adbf18a522938c458ef7673d762cbcd7400483acc6289d55fc73af3016648b44921e816d00be4e2963c8a37bc426a0 - languageName: node - linkType: hard - -"w3c-xmlserializer@npm:^3.0.0": - version: 3.0.0 - resolution: "w3c-xmlserializer@npm:3.0.0" +"w3c-xmlserializer@npm:^4.0.0": + version: 4.0.0 + resolution: "w3c-xmlserializer@npm:4.0.0" dependencies: xml-name-validator: "npm:^4.0.0" - checksum: 5042d7d56be21e7a8ac1f6dc60a559967db5cb2cc59321138571a6425569e3f84c1c02dace1ffc569510ec3f4046d74f5b9ecb783f25e5ff89e558b3677fdb7b + checksum: 2d5fb277d3244f917ebd08f8ca0cd2f1f349921cefce99ab0581329afc497e2991c883be9aa063b9abe85a9890843c172da20fad88142cf317231ff02abdc7aa languageName: node linkType: hard @@ -11683,9 +13103,9 @@ __metadata: languageName: node linkType: hard -"webpack@npm:5.74.0": - version: 5.74.0 - resolution: "webpack@npm:5.74.0" +"webpack@npm:5.75.0": + version: 5.75.0 + resolution: "webpack@npm:5.75.0" dependencies: "@types/eslint-scope": "npm:^3.7.3" "@types/estree": "npm:^0.0.51" @@ -11716,7 +13136,7 @@ __metadata: optional: true bin: webpack: bin/webpack.js - checksum: d6416e650775ec1ac2087daa1f0db738a07bd709b1ab2784d902d4add2d75bdbfa1c6103ce1191ddc11aaa08ad99cc99c49bfcf885a4b89553286716c3c1a9b4 + checksum: 253fca9ba42fea3e3aaf6c913cb6aca6bf383a8a55f9fcdf8d9f364b4f7e406b3c308f4164ea3f45f11259e1a699a584fa6811bdd2c215101cb1a2fa6c0410dc languageName: node linkType: hard @@ -11794,6 +13214,20 @@ __metadata: languageName: node linkType: hard +"which-typed-array@npm:^1.1.9": + version: 1.1.9 + resolution: "which-typed-array@npm:1.1.9" + dependencies: + available-typed-arrays: "npm:^1.0.5" + call-bind: "npm:^1.0.2" + for-each: "npm:^0.3.3" + gopd: "npm:^1.0.1" + has-tostringtag: "npm:^1.0.0" + is-typed-array: "npm:^1.1.10" + checksum: 09e7fe714cb797daf3a35f3499b9f7c969b1296ac0d40d68256f2b70f747a728ad5385b1fb3e7514e26bad3d5ca550a13a80e1a7b22b7e9e12872c46ecb6c4a7 + languageName: node + linkType: hard + "which@npm:^1.2.8, which@npm:^1.2.9, which@npm:^1.3.1": version: 1.3.1 resolution: "which@npm:1.3.1" @@ -11860,7 +13294,7 @@ __metadata: languageName: node linkType: hard -"write-file-atomic@npm:^4.0.1": +"write-file-atomic@npm:^4.0.2": version: 4.0.2 resolution: "write-file-atomic@npm:4.0.2" dependencies: @@ -11885,7 +13319,22 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.4.2, ws@npm:^8.8.0": +"ws@npm:^8.11.0": + version: 8.12.1 + resolution: "ws@npm:8.12.1" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ">=5.0.2" + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: a876f870ceeaaf115138a47eacc6b2a2d750c95d770124ad2aad4d7b03d4413dae65e6325ac76df3c30930f6c8cb683c65b236f7068e497e5c70a5f8acd9e213 + languageName: node + linkType: hard + +"ws@npm:^8.4.2": version: 8.8.1 resolution: "ws@npm:8.8.1" peerDependencies: @@ -11958,6 +13407,13 @@ __metadata: languageName: node linkType: hard +"yallist@npm:^3.0.2": + version: 3.1.1 + resolution: "yallist@npm:3.1.1" + checksum: 8d382abef6365eb6800ef86a429e8a78347089b7867cdb7ae146e5f3629baebe41967b9d7715ae22c9514659a2855a10e104d68441e339f5060b286b2f3e11c6 + languageName: node + linkType: hard + "yallist@npm:^4.0.0": version: 4.0.0 resolution: "yallist@npm:4.0.0" @@ -11979,7 +13435,7 @@ __metadata: languageName: node linkType: hard -"yargs-parser@npm:^21.0.0": +"yargs-parser@npm:^21.0.0, yargs-parser@npm:^21.1.1": version: 21.1.1 resolution: "yargs-parser@npm:21.1.1" checksum: fc4457cf1e4d7d41e5b3a1d62e86b3934af704dd8777979a3c4c573e08eea437801444622cd68607c0266d53b90d84e8e79fd4f5ff170d1be8860064111bbad6 @@ -12062,6 +13518,13 @@ __metadata: languageName: node linkType: hard +"yocto-queue@npm:^1.0.0": + version: 1.0.0 + resolution: "yocto-queue@npm:1.0.0" + checksum: 4522405d36a190a188112c3bc9ae84ac5eeafee637417ec127c6defc28a75b745a6139f9178107389e5ae57c3a5523b0016aec5a1f23b228c7b17ca8b2869a9c + languageName: node + linkType: hard + "zwitch@npm:^1.0.0": version: 1.0.5 resolution: "zwitch@npm:1.0.5"