From 67d1046e9449339f2ef2b18917f8bbc8bc281a6b Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Sat, 16 Apr 2022 13:57:37 +0800 Subject: [PATCH] chore: lint --- package.json | 35 +- pnpm-lock.yaml | 716 +++++++++--------- questions/10-medium-tuple-to-union/info.yml | 2 +- .../10-medium-tuple-to-union/info.zh-CN.yml | 2 +- questions/1042-medium-isnever/info.yml | 2 +- questions/1042-medium-isnever/test-cases.ts | 2 +- questions/106-medium-trimleft/info.yml | 2 +- questions/108-medium-trim/info.yml | 2 +- questions/1097-medium-isunion/info.yml | 2 +- questions/110-medium-capitalize/info.yml | 1 - questions/112-hard-capitalizewords/info.yml | 1 - questions/1130-medium-replacekeys/info.yml | 1 - questions/116-medium-replace/info.yml | 1 - questions/119-medium-replaceall/info.yml | 1 - .../12-medium-chainable-options/info.yml | 2 +- .../info.zh-CN.yml | 2 +- questions/1290-hard-pinia/info.yml | 1 - questions/13-warm-hello-world/info.yml | 2 +- .../info.yml | 1 - .../test-cases.ts | 15 +- questions/1383-hard-camelize/info.yml | 1 - questions/1383-hard-camelize/test-cases.ts | 8 +- questions/14-easy-first/info.zh-CN.yml | 2 +- questions/147-hard-c-printf-parser/info.yml | 1 - .../147-hard-c-printf-parser/template.ts | 14 +- questions/15-medium-last/info.zh-CN.yml | 2 +- .../151-extreme-query-string-parser/info.yml | 1 - .../test-cases.ts | 8 +- questions/16-medium-pop/info.zh-CN.yml | 2 +- questions/17-hard-currying-1/info.zh-CN.yml | 2 +- questions/18-easy-tuple-length/template.ts | 2 +- questions/191-medium-append-argument/info.yml | 1 - .../1978-medium-percentage-parser/info.yml | 1 - .../test-cases.ts | 12 +- questions/2-medium-return-type/info.yml | 2 +- questions/2-medium-return-type/info.zh-CN.yml | 2 +- questions/20-medium-promise-all/info.yml | 3 +- questions/2070-medium-drop-char/test-cases.ts | 2 +- questions/213-hard-vue-basic-props/info.yml | 3 +- .../213-hard-vue-basic-props/test-cases.ts | 2 +- questions/216-extreme-slice/info.yml | 1 - questions/216-extreme-slice/test-cases.ts | 4 +- questions/223-hard-isany/info.yml | 2 +- questions/223-hard-isany/test-cases.ts | 2 +- questions/2257-medium-minusone/info.yml | 1 - questions/268-easy-if/info.yml | 1 - questions/270-hard-typed-get/info.yml | 3 +- questions/270-hard-typed-get/test-cases.ts | 12 +- .../274-extreme-integers-comparator/info.yml | 1 - questions/2757-medium-partialbykeys/info.yml | 1 - .../2757-medium-partialbykeys/template.ts | 2 +- .../2757-medium-partialbykeys/test-cases.ts | 4 +- questions/2759-medium-requiredbykeys/info.yml | 1 - .../2759-medium-requiredbykeys/template.ts | 2 +- .../2759-medium-requiredbykeys/test-cases.ts | 4 +- questions/2793-medium-mutable/info.yml | 1 - questions/2822-hard-split/info.yml | 1 - questions/2828-hard-classpublickeys/info.yml | 1 - .../2828-hard-classpublickeys/test-cases.ts | 3 +- questions/2857-hard-isrequiredkey/info.yml | 1 - .../2857-hard-isrequiredkey/test-cases.ts | 6 +- questions/2946-medium-objectentries/info.yml | 1 - .../2946-medium-objectentries/test-cases.ts | 14 +- .../2949-hard-objectfromentries/test-cases.ts | 11 +- questions/296-medium-permutation/info.yml | 1 - .../298-medium-length-of-string/info.yml | 1 - questions/300-hard-string-to-number/info.yml | 1 - questions/3060-easy-unshift/test-cases.ts | 4 +- .../info.yml | 2 +- questions/3192-medium-reverse/info.yml | 1 - questions/3312-easy-parameters/info.yml | 1 - .../3326-medium-bem-style-string/info.yml | 1 - .../3376-medium-inordertraversal/info.yml | 3 +- .../3376-medium-inordertraversal/template.ts | 6 +- .../test-cases.ts | 4 +- questions/399-hard-tuple-filter/info.yml | 3 +- questions/4037-hard-ispalindrome/info.yml | 1 - questions/4179-medium-flip/info.yml | 1 - questions/4179-medium-flip/test-cases.ts | 4 +- questions/43-easy-exclude/test-cases.ts | 6 +- questions/4425-medium-greater-than/info.yml | 1 - questions/4471-medium-zip/info.yml | 1 - questions/4484-medium-istuple/info.yml | 2 +- questions/4499-medium-chunk/info.yml | 1 - questions/4518-medium-fill/info.yml | 1 - questions/459-medium-flatten/info.yml | 1 - .../472-hard-tuple-to-enum-object/info.yml | 2 +- questions/476-extreme-sum/info.yml | 3 +- questions/4803-medium-trim-right/info.yml | 2 +- .../5-extreme-readonly-keys/info.zh-CN.yml | 2 +- questions/5117-medium-without/info.yml | 1 - questions/5140-medium-trunc/info.yml | 1 - questions/5153-medium-indexof/info.yml | 1 - questions/517-extreme-multiply/info.yml | 3 +- questions/5181-hard-mutable-keys/info.yml | 3 +- .../5181-hard-mutable-keys/test-cases.ts | 8 +- .../527-medium-append-to-object/info.yml | 1 - questions/529-medium-absolute/info.yml | 3 +- questions/531-medium-string-to-union/info.yml | 3 +- .../531-medium-string-to-union/test-cases.ts | 8 +- questions/5310-medium-join/info.yml | 1 - questions/5310-medium-join/test-cases.ts | 8 +- questions/5317-medium-lastindexof/info.yml | 1 - questions/5360-medium-unique/info.yml | 1 - questions/5360-medium-unique/test-cases.ts | 4 +- questions/5423-hard-intersection/info.yml | 1 - questions/545-hard-printf/info.yml | 1 - .../55-hard-union-to-intersection/info.yml | 3 +- .../test-cases.ts | 4 +- .../553-hard-deep-object-to-unique/info.yml | 1 - .../test-cases.ts | 14 +- questions/57-hard-get-required/info.yml | 2 +- questions/57-hard-get-required/test-cases.ts | 4 +- questions/5821-medium-maptypes/info.yml | 1 - questions/5821-medium-maptypes/test-cases.ts | 16 +- questions/59-hard-get-optional/info.yml | 2 +- questions/59-hard-get-optional/test-cases.ts | 6 +- questions/599-medium-merge/info.yml | 1 - questions/599-medium-merge/template.ts | 2 +- questions/599-medium-merge/test-cases.ts | 18 +- questions/6-hard-simple-vue/info.zh-CN.yml | 2 +- questions/610-medium-camelcase/info.yml | 2 +- questions/610-medium-camelcase/template.ts | 2 +- questions/612-medium-kebabcase/info.yml | 2 +- questions/612-medium-kebabcase/template.ts | 2 +- .../6141-hard-binary-to-decimal/info.yml | 1 - questions/62-medium-type-lookup/info.yml | 3 +- questions/6228-extreme-json-parser/info.yml | 3 +- .../6228-extreme-json-parser/template.ts | 4 +- .../6228-extreme-json-parser/test-cases.ts | 40 +- questions/645-medium-diff/info.yml | 1 - questions/645-medium-diff/test-cases.ts | 6 +- .../651-hard-length-of-string-2/info.yml | 1 - .../651-hard-length-of-string-2/test-cases.ts | 52 +- questions/697-extreme-tag/info.yml | 1 - questions/697-extreme-tag/test-cases.ts | 206 ++--- questions/7258-hard-object-key-paths/info.yml | 1 - .../7258-hard-object-key-paths/template.ts | 2 +- .../7258-hard-object-key-paths/test-cases.ts | 52 +- questions/7258-medium-objectkeypaths/info.yml | 1 - .../7258-medium-objectkeypaths/template.ts | 2 +- .../7258-medium-objectkeypaths/test-cases.ts | 52 +- questions/730-hard-union-to-tuple/info.yml | 2 +- .../730-hard-union-to-tuple/test-cases.ts | 24 +- .../734-extreme-inclusive-range/info.yml | 1 - .../734-extreme-inclusive-range/template.ts | 2 +- .../734-extreme-inclusive-range/test-cases.ts | 6 +- questions/741-extreme-sort/info.yml | 1 - questions/741-extreme-sort/test-cases.ts | 38 +- .../7544-medium-construct-tuple/info.yml | 1 - .../7544-medium-construct-tuple/test-cases.ts | 4 +- questions/7561-extreme-subtract/info.yml | 1 - questions/8-medium-readonly-2/info.zh-CN.yml | 2 +- questions/847-hard-string-join/info.yml | 1 - questions/847-hard-string-join/template.ts | 2 +- questions/847-hard-string-join/test-cases.ts | 28 +- .../869-extreme-distributeunions/info.yml | 1 - .../test-cases.ts | 158 ++-- .../info.yml | 1 - questions/89-hard-required-keys/info.yml | 1 - questions/89-hard-required-keys/test-cases.ts | 8 +- questions/898-easy-includes/info.yml | 1 - questions/898-easy-includes/template.ts | 2 +- .../9-medium-deep-readonly/info.zh-CN.yml | 2 +- questions/90-hard-optional-keys/info.yml | 3 +- questions/90-hard-optional-keys/test-cases.ts | 8 +- .../925-extreme-assert-array-index/info.yml | 1 - .../test-cases.ts | 98 +-- questions/949-medium-anyof/info.yml | 1 - questions/949-medium-anyof/template.ts | 2 +- questions/956-hard-deeppick/info.yml | 1 - questions/956-hard-deeppick/test-cases.ts | 26 +- scripts/actions/issue-pr.ts | 2 +- scripts/actions/loader.ts | 1 + scripts/locales.ts | 11 +- scripts/package.json | 12 +- tsconfig.json | 2 +- utils/package.json | 2 +- utils/tsconfig.json | 2 +- 179 files changed, 972 insertions(+), 1048 deletions(-) diff --git a/package.json b/package.json index 0ff50f955..fb734a8d6 100644 --- a/package.json +++ b/package.json @@ -2,41 +2,46 @@ "name": "type-challenges", "private": true, "version": "0.0.0", + "license": "MIT", "repository": "https://github.com/antfu/type-challenges.git", "author": "Anthony Fu ", - "license": "MIT", "scripts": { "readme": "esno ./scripts/readme.ts", "build": "esno ./scripts/build.ts", + "lint": "eslint .", "translate": "esno ./scripts/translate-cli.ts", "utils:release": "pnpm -C utils release" }, + "dependencies": { + "esno": "^0.14.1", + "fast-glob": "^3.2.11", + "fs-extra": "^10.0.1", + "js-yaml": "^4.1.0", + "lz-string": "^1.4.4" + }, "devDependencies": { - "@antfu/eslint-config-ts": "^0.12.1", + "@antfu/eslint-config": "^0.20.3", "@type-challenges/utils": "workspace:*", "@types/fs-extra": "^9.0.13", "@types/js-yaml": "^4.0.5", "@types/lz-string": "^1.3.34", - "@types/node": "^16.11.12", - "@typescript-eslint/eslint-plugin": "^5.6.0", - "@typescript-eslint/parser": "^5.6.0", - "eslint": "^8.4.1", - "typescript": "^4.5.2", + "@types/node": "^17.0.24", + "@typescript-eslint/eslint-plugin": "^5.19.0", + "@typescript-eslint/parser": "^5.19.0", + "eslint": "^8.13.0", + "typescript": "^4.6.3", "utility-types": "^3.10.0" }, - "dependencies": { - "esno": "^0.12.1", - "fast-glob": "^3.2.7", - "fs-extra": "^10.0.0", - "js-yaml": "^4.1.0", - "lz-string": "^1.4.4" - }, "eslintConfig": { "extends": "@antfu/eslint-config-ts", "rules": { "import/first": "off", "no-unused-vars": "off", - "@typescript-eslint/no-unused-vars": "off" + "@typescript-eslint/no-unused-vars": "off", + "no-use-before-define": "off", + "no-unused-expressions": "off", + "prefer-const": "off", + "no-alert": "off" } } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 53546d1c8..720f6826a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,14 +4,14 @@ importers: .: specifiers: - '@antfu/eslint-config-ts': ^0.12.1 - '@type-challenges/utils': workspace:* - '@types/fs-extra': ^9.0.13 - '@types/js-yaml': ^4.0.5 - '@types/lz-string': ^1.3.34 - '@types/node': ^16.11.12 - '@typescript-eslint/eslint-plugin': ^5.6.0 - '@typescript-eslint/parser': ^5.6.0 + "@antfu/eslint-config-ts": ^0.12.1 + "@type-challenges/utils": workspace:* + "@types/fs-extra": ^9.0.13 + "@types/js-yaml": ^4.0.5 + "@types/lz-string": ^1.3.34 + "@types/node": ^16.11.12 + "@typescript-eslint/eslint-plugin": ^5.6.0 + "@typescript-eslint/parser": ^5.6.0 eslint: ^8.4.1 esno: ^0.12.1 fast-glob: ^3.2.7 @@ -27,27 +27,27 @@ importers: js-yaml: 4.1.0 lz-string: 1.4.4 devDependencies: - '@antfu/eslint-config-ts': 0.12.1_eslint@8.4.1+typescript@4.5.2 - '@type-challenges/utils': link:utils - '@types/fs-extra': 9.0.13 - '@types/js-yaml': 4.0.5 - '@types/lz-string': 1.3.34 - '@types/node': 16.11.12 - '@typescript-eslint/eslint-plugin': 5.6.0_16d83f5c41c3abb1061a82b07c18e4f3 - '@typescript-eslint/parser': 5.6.0_eslint@8.4.1+typescript@4.5.2 + "@antfu/eslint-config-ts": 0.12.1_eslint@8.4.1+typescript@4.5.2 + "@type-challenges/utils": link:utils + "@types/fs-extra": 9.0.13 + "@types/js-yaml": 4.0.5 + "@types/lz-string": 1.3.34 + "@types/node": 16.11.12 + "@typescript-eslint/eslint-plugin": 5.6.0_16d83f5c41c3abb1061a82b07c18e4f3 + "@typescript-eslint/parser": 5.6.0_eslint@8.4.1+typescript@4.5.2 eslint: 8.4.1 typescript: 4.5.2 utility-types: 3.10.0 scripts: specifiers: - '@actions/core': ^1.6.0 - '@actions/github': ^4.0.0 - '@actions/io': ^1.1.1 - '@octokit/types': ^6.34.0 - '@type-challenges/octokit-create-pull-request': ^0.1.8 - '@types/js-yaml': ^4.0.5 - '@types/lz-string': ^1.3.34 + "@actions/core": ^1.6.0 + "@actions/github": ^4.0.0 + "@actions/io": ^1.1.1 + "@octokit/types": ^6.34.0 + "@type-challenges/octokit-create-pull-request": ^0.1.8 + "@types/js-yaml": ^4.0.5 + "@types/lz-string": ^1.3.34 esno: ^0.5.0 fast-glob: ^3.2.7 fs-extra: ^9.1.0 @@ -56,10 +56,10 @@ importers: limax: ^2.1.0 lz-string: ^1.4.4 dependencies: - '@actions/core': 1.6.0 - '@actions/github': 4.0.0 - '@actions/io': 1.1.1 - '@type-challenges/octokit-create-pull-request': 0.1.8 + "@actions/core": 1.6.0 + "@actions/github": 4.0.0 + "@actions/io": 1.1.1 + "@type-challenges/octokit-create-pull-request": 0.1.8 esno: 0.5.0 fast-glob: 3.2.7 fs-extra: 9.1.0 @@ -68,9 +68,9 @@ importers: limax: 2.1.0 lz-string: 1.4.4 devDependencies: - '@octokit/types': 6.34.0 - '@types/js-yaml': 4.0.5 - '@types/lz-string': 1.3.34 + "@octokit/types": 6.34.0 + "@types/js-yaml": 4.0.5 + "@types/lz-string": 1.3.34 utils: specifiers: @@ -83,16 +83,16 @@ packages: /@actions/core/1.6.0: resolution: {integrity: sha512-NB1UAZomZlCV/LmJqkLhNTqtKfFXJZAUPcfl/zqG7EfsQdeUJtaWO98SGbuQ3pydJ3fHl2CvI/51OKYlCYYcaw==} dependencies: - '@actions/http-client': 1.0.11 + "@actions/http-client": 1.0.11 dev: false /@actions/github/4.0.0: resolution: {integrity: sha512-Ej/Y2E+VV6sR9X7pWL5F3VgEWrABaT292DRqRU6R4hnQjPtC/zD3nagxVdXWiRQvYDh8kHXo7IDmG42eJ/dOMA==} dependencies: - '@actions/http-client': 1.0.8 - '@octokit/core': 3.1.1 - '@octokit/plugin-paginate-rest': 2.3.0 - '@octokit/plugin-rest-endpoint-methods': 4.1.2 + "@actions/http-client": 1.0.8 + "@octokit/core": 3.1.1 + "@octokit/plugin-paginate-rest": 2.3.0 + "@octokit/plugin-rest-endpoint-methods": 4.1.2 dev: false /@actions/http-client/1.0.11: @@ -114,7 +114,7 @@ packages: /@antfu/eslint-config-basic/0.12.1_eslint@8.4.1: resolution: {integrity: sha512-XuezR72n3yKCkO1zeARnUZ0SNckP3MgMvWb1Ohy641Ozo9ZXP6CKwFUr0jdGLn5u7Dk8rmUd+GPPCMFLH+h24g==} peerDependencies: - eslint: '>=7.4.0' + eslint: ">=7.4.0" dependencies: eslint: 8.4.1 eslint-config-standard: 16.0.3_79a23b4ffc45aed4cdeb891cd82eaee3 @@ -135,12 +135,12 @@ packages: /@antfu/eslint-config-ts/0.12.1_eslint@8.4.1+typescript@4.5.2: resolution: {integrity: sha512-kcQHk1FtPo1GsRcv60NCwjbt9U8mpCVcHpV+vwNWwK6bfS8hU3zuGMNqT17tCvlfZNa5GWsxTrXGvjc+MaafQA==} peerDependencies: - eslint: '>=7.4.0' - typescript: '>=3.9' + eslint: ">=7.4.0" + typescript: ">=3.9" dependencies: - '@antfu/eslint-config-basic': 0.12.1_eslint@8.4.1 - '@typescript-eslint/eslint-plugin': 5.6.0_16d83f5c41c3abb1061a82b07c18e4f3 - '@typescript-eslint/parser': 5.6.0_eslint@8.4.1+typescript@4.5.2 + "@antfu/eslint-config-basic": 0.12.1_eslint@8.4.1 + "@typescript-eslint/eslint-plugin": 5.6.0_16d83f5c41c3abb1061a82b07c18e4f3 + "@typescript-eslint/parser": 5.6.0_eslint@8.4.1+typescript@4.5.2 eslint: 8.4.1 typescript: 4.5.2 transitivePeerDependencies: @@ -150,7 +150,7 @@ packages: /@babel/code-frame/7.12.13: resolution: {integrity: sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==} dependencies: - '@babel/highlight': 7.14.0 + "@babel/highlight": 7.14.0 dev: true /@babel/compat-data/7.14.0: @@ -159,17 +159,17 @@ packages: /@babel/core/7.14.0: resolution: {integrity: sha512-8YqpRig5NmIHlMLw09zMlPTvUVMILjqCOtVgu+TVNWEBvy9b5I3RRyhqnrV4hjgEK7n8P9OqvkWJAFmEL6Wwfw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.12.13 - '@babel/generator': 7.14.0 - '@babel/helper-compilation-targets': 7.13.16_@babel+core@7.14.0 - '@babel/helper-module-transforms': 7.14.0 - '@babel/helpers': 7.14.0 - '@babel/parser': 7.14.0 - '@babel/template': 7.12.13 - '@babel/traverse': 7.14.0 - '@babel/types': 7.14.0 + engines: {node: ">=6.9.0"} + dependencies: + "@babel/code-frame": 7.12.13 + "@babel/generator": 7.14.0 + "@babel/helper-compilation-targets": 7.13.16_@babel+core@7.14.0 + "@babel/helper-module-transforms": 7.14.0 + "@babel/helpers": 7.14.0 + "@babel/parser": 7.14.0 + "@babel/template": 7.12.13 + "@babel/traverse": 7.14.0 + "@babel/types": 7.14.0 convert-source-map: 1.7.0 debug: 4.3.3 gensync: 1.0.0-beta.2 @@ -184,10 +184,10 @@ packages: resolution: {integrity: sha512-I0HweR36D73Ibn/FfrRDMKlMqJHFwidIUgYdMpH+aXYuQC+waq59YaJ6t9e9N36axJ82v1jR041wwqDrDXEwRA==} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} peerDependencies: - '@babel/core': '>=7.11.0' - eslint: '>=7.5.0' + "@babel/core": ">=7.11.0" + eslint: ">=7.5.0" dependencies: - '@babel/core': 7.14.0 + "@babel/core": 7.14.0 eslint: 8.4.1 eslint-scope: 5.1.1 eslint-visitor-keys: 1.3.0 @@ -197,7 +197,7 @@ packages: /@babel/generator/7.14.0: resolution: {integrity: sha512-C6u00HbmsrNPug6A+CiNl8rEys7TsdcXwg12BHi2ca5rUfAs3+UwZsuDQSXnc+wCElCXMB8gMaJ3YXDdh8fAlg==} dependencies: - '@babel/types': 7.14.0 + "@babel/types": 7.14.0 jsesc: 2.5.2 source-map: 0.5.7 dev: true @@ -205,11 +205,11 @@ packages: /@babel/helper-compilation-targets/7.13.16_@babel+core@7.14.0: resolution: {integrity: sha512-3gmkYIrpqsLlieFwjkGgLaSHmhnvlAYzZLlYVjlW+QwI+1zE17kGxuJGmIqDQdYp56XdmGeD+Bswx0UTyG18xA==} peerDependencies: - '@babel/core': ^7.0.0 + "@babel/core": ^7.0.0 dependencies: - '@babel/compat-data': 7.14.0 - '@babel/core': 7.14.0 - '@babel/helper-validator-option': 7.12.17 + "@babel/compat-data": 7.14.0 + "@babel/core": 7.14.0 + "@babel/helper-validator-option": 7.12.17 browserslist: 4.16.6 semver: 6.3.0 dev: true @@ -217,40 +217,40 @@ packages: /@babel/helper-function-name/7.12.13: resolution: {integrity: sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA==} dependencies: - '@babel/helper-get-function-arity': 7.12.13 - '@babel/template': 7.12.13 - '@babel/types': 7.14.0 + "@babel/helper-get-function-arity": 7.12.13 + "@babel/template": 7.12.13 + "@babel/types": 7.14.0 dev: true /@babel/helper-get-function-arity/7.12.13: resolution: {integrity: sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==} dependencies: - '@babel/types': 7.14.0 + "@babel/types": 7.14.0 dev: true /@babel/helper-member-expression-to-functions/7.13.12: resolution: {integrity: sha512-48ql1CLL59aKbU94Y88Xgb2VFy7a95ykGRbJJaaVv+LX5U8wFpLfiGXJJGUozsmA1oEh/o5Bp60Voq7ACyA/Sw==} dependencies: - '@babel/types': 7.14.0 + "@babel/types": 7.14.0 dev: true /@babel/helper-module-imports/7.13.12: resolution: {integrity: sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA==} dependencies: - '@babel/types': 7.14.0 + "@babel/types": 7.14.0 dev: true /@babel/helper-module-transforms/7.14.0: resolution: {integrity: sha512-L40t9bxIuGOfpIGA3HNkJhU9qYrf4y5A5LUSw7rGMSn+pcG8dfJ0g6Zval6YJGd2nEjI7oP00fRdnhLKndx6bw==} dependencies: - '@babel/helper-module-imports': 7.13.12 - '@babel/helper-replace-supers': 7.13.12 - '@babel/helper-simple-access': 7.13.12 - '@babel/helper-split-export-declaration': 7.12.13 - '@babel/helper-validator-identifier': 7.15.7 - '@babel/template': 7.12.13 - '@babel/traverse': 7.14.0 - '@babel/types': 7.14.0 + "@babel/helper-module-imports": 7.13.12 + "@babel/helper-replace-supers": 7.13.12 + "@babel/helper-simple-access": 7.13.12 + "@babel/helper-split-export-declaration": 7.12.13 + "@babel/helper-validator-identifier": 7.15.7 + "@babel/template": 7.12.13 + "@babel/traverse": 7.14.0 + "@babel/types": 7.14.0 transitivePeerDependencies: - supports-color dev: true @@ -258,16 +258,16 @@ packages: /@babel/helper-optimise-call-expression/7.12.13: resolution: {integrity: sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA==} dependencies: - '@babel/types': 7.14.0 + "@babel/types": 7.14.0 dev: true /@babel/helper-replace-supers/7.13.12: resolution: {integrity: sha512-Gz1eiX+4yDO8mT+heB94aLVNCL+rbuT2xy4YfyNqu8F+OI6vMvJK891qGBTqL9Uc8wxEvRW92Id6G7sDen3fFw==} dependencies: - '@babel/helper-member-expression-to-functions': 7.13.12 - '@babel/helper-optimise-call-expression': 7.12.13 - '@babel/traverse': 7.14.0 - '@babel/types': 7.14.0 + "@babel/helper-member-expression-to-functions": 7.13.12 + "@babel/helper-optimise-call-expression": 7.12.13 + "@babel/traverse": 7.14.0 + "@babel/types": 7.14.0 transitivePeerDependencies: - supports-color dev: true @@ -275,18 +275,18 @@ packages: /@babel/helper-simple-access/7.13.12: resolution: {integrity: sha512-7FEjbrx5SL9cWvXioDbnlYTppcZGuCY6ow3/D5vMggb2Ywgu4dMrpTJX0JdQAIcRRUElOIxF3yEooa9gUb9ZbA==} dependencies: - '@babel/types': 7.14.0 + "@babel/types": 7.14.0 dev: true /@babel/helper-split-export-declaration/7.12.13: resolution: {integrity: sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==} dependencies: - '@babel/types': 7.14.0 + "@babel/types": 7.14.0 dev: true /@babel/helper-validator-identifier/7.15.7: resolution: {integrity: sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==} - engines: {node: '>=6.9.0'} + engines: {node: ">=6.9.0"} dev: true /@babel/helper-validator-option/7.12.17: @@ -296,9 +296,9 @@ packages: /@babel/helpers/7.14.0: resolution: {integrity: sha512-+ufuXprtQ1D1iZTO/K9+EBRn+qPWMJjZSw/S0KlFrxCw4tkrzv9grgpDHkY9MeQTjTY8i2sp7Jep8DfU6tN9Mg==} dependencies: - '@babel/template': 7.12.13 - '@babel/traverse': 7.14.0 - '@babel/types': 7.14.0 + "@babel/template": 7.12.13 + "@babel/traverse": 7.14.0 + "@babel/types": 7.14.0 transitivePeerDependencies: - supports-color dev: true @@ -306,34 +306,34 @@ packages: /@babel/highlight/7.14.0: resolution: {integrity: sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg==} dependencies: - '@babel/helper-validator-identifier': 7.15.7 + "@babel/helper-validator-identifier": 7.15.7 chalk: 2.4.2 js-tokens: 4.0.0 dev: true /@babel/parser/7.14.0: resolution: {integrity: sha512-AHbfoxesfBALg33idaTBVUkLnfXtsgvJREf93p4p0Lwsz4ppfE7g1tpEXVm4vrxUcH4DVhAa9Z1m1zqf9WUC7Q==} - engines: {node: '>=6.0.0'} + engines: {node: ">=6.0.0"} hasBin: true dev: true /@babel/template/7.12.13: resolution: {integrity: sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==} dependencies: - '@babel/code-frame': 7.12.13 - '@babel/parser': 7.14.0 - '@babel/types': 7.14.0 + "@babel/code-frame": 7.12.13 + "@babel/parser": 7.14.0 + "@babel/types": 7.14.0 dev: true /@babel/traverse/7.14.0: resolution: {integrity: sha512-dZ/a371EE5XNhTHomvtuLTUyx6UEoJmYX+DT5zBCQN3McHemsuIaKKYqsc/fs26BEkHs/lBZy0J571LP5z9kQA==} dependencies: - '@babel/code-frame': 7.12.13 - '@babel/generator': 7.14.0 - '@babel/helper-function-name': 7.12.13 - '@babel/helper-split-export-declaration': 7.12.13 - '@babel/parser': 7.14.0 - '@babel/types': 7.14.0 + "@babel/code-frame": 7.12.13 + "@babel/generator": 7.14.0 + "@babel/helper-function-name": 7.12.13 + "@babel/helper-split-export-declaration": 7.12.13 + "@babel/parser": 7.14.0 + "@babel/types": 7.14.0 debug: 4.3.3 globals: 11.12.0 transitivePeerDependencies: @@ -343,7 +343,7 @@ packages: /@babel/types/7.14.0: resolution: {integrity: sha512-O2LVLdcnWplaGxiPBz12d0HcdN8QdxdsWYhz5LSeuukV/5mn2xUUc3gBeU4QBYPJ18g/UToe8F532XJ608prmg==} dependencies: - '@babel/helper-validator-identifier': 7.15.7 + "@babel/helper-validator-identifier": 7.15.7 to-fast-properties: 2.0.0 dev: true @@ -366,9 +366,9 @@ packages: /@humanwhocodes/config-array/0.9.2: resolution: {integrity: sha512-UXOuFCGcwciWckOpmfKDq/GyhlTf9pN/BzG//x8p8zTOFEcGuA68ANXheFS0AGvy3qgZqLBUkMs7hqzqCKOVwA==} - engines: {node: '>=10.10.0'} + engines: {node: ">=10.10.0"} dependencies: - '@humanwhocodes/object-schema': 1.2.1 + "@humanwhocodes/object-schema": 1.2.1 debug: 4.3.3 minimatch: 3.0.4 transitivePeerDependencies: @@ -397,35 +397,35 @@ packages: /@nodelib/fs.scandir/2.1.3: resolution: {integrity: sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw==} - engines: {node: '>= 8'} + engines: {node: ">= 8"} dependencies: - '@nodelib/fs.stat': 2.0.3 + "@nodelib/fs.stat": 2.0.3 run-parallel: 1.1.9 /@nodelib/fs.stat/2.0.3: resolution: {integrity: sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA==} - engines: {node: '>= 8'} + engines: {node: ">= 8"} /@nodelib/fs.walk/1.2.4: resolution: {integrity: sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ==} - engines: {node: '>= 8'} + engines: {node: ">= 8"} dependencies: - '@nodelib/fs.scandir': 2.1.3 + "@nodelib/fs.scandir": 2.1.3 fastq: 1.8.0 /@octokit/auth-token/2.4.2: resolution: {integrity: sha512-jE/lE/IKIz2v1+/P0u4fJqv0kYwXOTujKemJMFr6FeopsxlIK3+wKDCJGnysg81XID5TgZQbIfuJ5J0lnTiuyQ==} dependencies: - '@octokit/types': 5.4.1 + "@octokit/types": 5.4.1 dev: false /@octokit/core/3.1.1: resolution: {integrity: sha512-cQ2HGrtyNJ1IBxpTP1U5m/FkMAJvgw7d2j1q3c9P0XUuYilEgF6e4naTpsgm4iVcQeOnccZlw7XHRIUBy0ymcg==} dependencies: - '@octokit/auth-token': 2.4.2 - '@octokit/graphql': 4.5.3 - '@octokit/request': 5.4.7 - '@octokit/types': 5.4.1 + "@octokit/auth-token": 2.4.2 + "@octokit/graphql": 4.5.3 + "@octokit/request": 5.4.7 + "@octokit/types": 5.4.1 before-after-hook: 2.1.0 universal-user-agent: 6.0.0 dev: false @@ -433,7 +433,7 @@ packages: /@octokit/endpoint/6.0.5: resolution: {integrity: sha512-70K5u6zd45ItOny6aHQAsea8HHQjlQq85yqOMe+Aj8dkhN2qSJ9T+Q3YjUjEYfPRBcuUWNgMn62DQnP/4LAIiQ==} dependencies: - '@octokit/types': 5.4.1 + "@octokit/types": 5.4.1 is-plain-object: 4.1.1 universal-user-agent: 6.0.0 dev: false @@ -441,8 +441,8 @@ packages: /@octokit/graphql/4.5.3: resolution: {integrity: sha512-JyYvi3j2tOb5ofASEpcg1Advs07H+Ag+I+ez7buuZfNVAmh1IYcDTuxd4gnYH8S2PSGu+f5IdDGxMmkK+5zsdA==} dependencies: - '@octokit/request': 5.4.7 - '@octokit/types': 5.4.1 + "@octokit/request": 5.4.7 + "@octokit/types": 5.4.1 universal-user-agent: 6.0.0 dev: false @@ -453,20 +453,20 @@ packages: /@octokit/plugin-paginate-rest/2.3.0: resolution: {integrity: sha512-Ye2ZJreP0ZlqJQz8fz+hXvrEAEYK4ay7br1eDpWzr6j76VXs/gKqxFcH8qRzkB3fo/2xh4Vy9VtGii4ZDc9qlA==} dependencies: - '@octokit/types': 5.4.1 + "@octokit/types": 5.4.1 dev: false /@octokit/plugin-rest-endpoint-methods/4.1.2: resolution: {integrity: sha512-PTI7wpbGEZ2IR87TVh+TNWaLcgX/RsZQalFbQCq8XxYUrQ36RHyERrHSNXFy5gkWpspUAOYRSV707JJv6BhqJA==} dependencies: - '@octokit/types': 5.4.1 + "@octokit/types": 5.4.1 deprecation: 2.3.1 dev: false /@octokit/request-error/2.0.2: resolution: {integrity: sha512-2BrmnvVSV1MXQvEkrb9zwzP0wXFNbPJij922kYBTLIlIafukrGOb+ABBT2+c6wZiuyWDH1K1zmjGQ0toN/wMWw==} dependencies: - '@octokit/types': 5.4.1 + "@octokit/types": 5.4.1 deprecation: 2.3.1 once: 1.4.0 dev: false @@ -474,9 +474,9 @@ packages: /@octokit/request/5.4.7: resolution: {integrity: sha512-FN22xUDP0i0uF38YMbOfx6TotpcENP5W8yJM1e/LieGXn6IoRxDMnBf7tx5RKSW4xuUZ/1P04NFZy5iY3Rax1A==} dependencies: - '@octokit/endpoint': 6.0.5 - '@octokit/request-error': 2.0.2 - '@octokit/types': 5.4.1 + "@octokit/endpoint": 6.0.5 + "@octokit/request-error": 2.0.2 + "@octokit/types": 5.4.1 deprecation: 2.3.1 is-plain-object: 4.1.1 node-fetch: 2.6.0 @@ -487,13 +487,13 @@ packages: /@octokit/types/5.4.1: resolution: {integrity: sha512-OlMlSySBJoJ6uozkr/i03nO5dlYQyE05vmQNZhAh9MyO4DPBP88QlwsDVLmVjIMFssvIZB6WO0ctIGMRG+xsJQ==} dependencies: - '@types/node': 14.0.25 + "@types/node": 14.0.25 dev: false /@octokit/types/6.34.0: resolution: {integrity: sha512-s1zLBjWhdEI2zwaoSgyOFoKSl109CUcVBCc7biPJ3aAf6LGLU6szDvi31JPU7bxfla2lqfhjbbg/5DdFNxOwHw==} dependencies: - '@octokit/openapi-types': 11.2.0 + "@octokit/openapi-types": 11.2.0 dev: true /@type-challenges/octokit-create-pull-request/0.1.8: @@ -507,7 +507,7 @@ packages: /@types/fs-extra/9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 16.11.12 + "@types/node": 16.11.12 dev: true /@types/js-yaml/4.0.5: @@ -542,16 +542,16 @@ packages: resolution: {integrity: sha512-MIbeMy5qfLqtgs1hWd088k1hOuRsN9JrHUPwVVKCD99EOUqScd7SrwoZl4Gso05EAP9w1kvLWUVGJOVpRPkDPA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - '@typescript-eslint/parser': ^5.0.0 + "@typescript-eslint/parser": ^5.0.0 eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - typescript: '*' + typescript: "*" peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/experimental-utils': 5.6.0_eslint@8.4.1+typescript@4.5.2 - '@typescript-eslint/parser': 5.6.0_eslint@8.4.1+typescript@4.5.2 - '@typescript-eslint/scope-manager': 5.6.0 + "@typescript-eslint/experimental-utils": 5.6.0_eslint@8.4.1+typescript@4.5.2 + "@typescript-eslint/parser": 5.6.0_eslint@8.4.1+typescript@4.5.2 + "@typescript-eslint/scope-manager": 5.6.0 debug: 4.3.3 eslint: 8.4.1 functional-red-black-tree: 1.0.1 @@ -568,12 +568,12 @@ packages: resolution: {integrity: sha512-VDoRf3Qj7+W3sS/ZBXZh3LBzp0snDLEgvp6qj0vOAIiAPM07bd5ojQ3CTzF/QFl5AKh7Bh1ycgj6lFBJHUt/DA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - eslint: '*' + eslint: "*" dependencies: - '@types/json-schema': 7.0.9 - '@typescript-eslint/scope-manager': 5.6.0 - '@typescript-eslint/types': 5.6.0 - '@typescript-eslint/typescript-estree': 5.6.0_typescript@4.5.2 + "@types/json-schema": 7.0.9 + "@typescript-eslint/scope-manager": 5.6.0 + "@typescript-eslint/types": 5.6.0 + "@typescript-eslint/typescript-estree": 5.6.0_typescript@4.5.2 eslint: 8.4.1 eslint-scope: 5.1.1 eslint-utils: 3.0.0_eslint@8.4.1 @@ -587,14 +587,14 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - typescript: '*' + typescript: "*" peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.6.0 - '@typescript-eslint/types': 5.6.0 - '@typescript-eslint/typescript-estree': 5.6.0_typescript@4.5.2 + "@typescript-eslint/scope-manager": 5.6.0 + "@typescript-eslint/types": 5.6.0 + "@typescript-eslint/typescript-estree": 5.6.0_typescript@4.5.2 debug: 4.3.3 eslint: 8.4.1 typescript: 4.5.2 @@ -606,8 +606,8 @@ packages: resolution: {integrity: sha512-1U1G77Hw2jsGWVsO2w6eVCbOg0HZ5WxL/cozVSTfqnL/eB9muhb8THsP0G3w+BB5xAHv9KptwdfYFAUfzcIh4A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.6.0 - '@typescript-eslint/visitor-keys': 5.6.0 + "@typescript-eslint/types": 5.6.0 + "@typescript-eslint/visitor-keys": 5.6.0 dev: true /@typescript-eslint/types/5.6.0: @@ -619,13 +619,13 @@ packages: resolution: {integrity: sha512-92vK5tQaE81rK7fOmuWMrSQtK1IMonESR+RJR2Tlc7w4o0MeEdjgidY/uO2Gobh7z4Q1hhS94Cr7r021fMVEeA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - typescript: '*' + typescript: "*" peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.6.0 - '@typescript-eslint/visitor-keys': 5.6.0 + "@typescript-eslint/types": 5.6.0 + "@typescript-eslint/visitor-keys": 5.6.0 debug: 4.3.3 globby: 11.0.4 is-glob: 4.0.3 @@ -640,7 +640,7 @@ packages: resolution: {integrity: sha512-1p7hDp5cpRFUyE3+lvA74egs+RWSgumrBpzBCDzfTFv0aQ7lIeay80yU0hIxgAhwQ6PcasW35kaOCyDOv6O/Ng==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.6.0 + "@typescript-eslint/types": 5.6.0 eslint-visitor-keys: 3.1.0 dev: true @@ -666,20 +666,20 @@ packages: /acorn/8.6.0: resolution: {integrity: sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw==} - engines: {node: '>=0.4.0'} + engines: {node: ">=0.4.0"} hasBin: true dev: true /agent-base/4.3.0: resolution: {integrity: sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==} - engines: {node: '>= 4.0.0'} + engines: {node: ">= 4.0.0"} dependencies: es6-promisify: 5.0.0 dev: false /agent-base/6.0.2: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} - engines: {node: '>= 6.0.0'} + engines: {node: ">= 6.0.0"} dependencies: debug: 4.1.1 dev: false @@ -696,32 +696,32 @@ packages: /ansi-colors/4.1.1: resolution: {integrity: sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==} - engines: {node: '>=6'} + engines: {node: ">=6"} dev: true /ansi-regex/2.1.1: resolution: {integrity: sha1-w7M6te42DYbg5ijwRorn7yfWVN8=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: false optional: true /ansi-regex/5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: true /ansi-styles/3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} - engines: {node: '>=4'} + engines: {node: ">=4"} dependencies: color-convert: 1.9.3 dev: true /ansi-styles/4.2.1: resolution: {integrity: sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: - '@types/color-name': 1.1.1 + "@types/color-name": 1.1.1 color-convert: 2.0.1 dev: true @@ -743,7 +743,7 @@ packages: /array-includes/3.1.4: resolution: {integrity: sha512-ZTNSQkmWumEbiHO2GF4GmWxYVTiQyJy2XOTa15sdQSrvKn7l+180egQMqlrMOUMCyLMD7pmyQe4mMDUT6Behrw==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: call-bind: 1.0.2 define-properties: 1.1.3 @@ -754,12 +754,12 @@ packages: /array-union/2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: true /array.prototype.flat/1.2.5: resolution: {integrity: sha512-KaYU+S+ndVqyUnignHftkwc58o3uVU1jzczILJ1tN2YaIZpFIKBiP/x/j97E5MVPsaCloPbqWLB/8qCTVvT2qg==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: call-bind: 1.0.2 define-properties: 1.1.3 @@ -768,7 +768,7 @@ packages: /at-least-node/1.0.0: resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==} - engines: {node: '>= 4.0.0'} + engines: {node: ">= 4.0.0"} dev: false /axios-https-proxy-fix/0.17.1: @@ -794,7 +794,7 @@ packages: /braces/3.0.2: resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: fill-range: 7.0.1 @@ -812,7 +812,7 @@ packages: /builtin-modules/3.2.0: resolution: {integrity: sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==} - engines: {node: '>=6'} + engines: {node: ">=6"} dev: true /builtins/4.0.0: @@ -834,7 +834,7 @@ packages: /callsites/3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} + engines: {node: ">=6"} dev: true /caniuse-lite/1.0.30001220: @@ -843,12 +843,12 @@ packages: /capture-stack-trace/1.0.1: resolution: {integrity: sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw==} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: false /chalk/2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} - engines: {node: '>=4'} + engines: {node: ">=4"} dependencies: ansi-styles: 3.2.1 escape-string-regexp: 1.0.5 @@ -857,7 +857,7 @@ packages: /chalk/4.1.0: resolution: {integrity: sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==} - engines: {node: '>=10'} + engines: {node: ">=10"} dependencies: ansi-styles: 4.2.1 supports-color: 7.1.0 @@ -865,7 +865,7 @@ packages: /chownr/2.0.0: resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} - engines: {node: '>=10'} + engines: {node: ">=10"} dev: false optional: true @@ -875,14 +875,14 @@ packages: /clean-regexp/1.0.0: resolution: {integrity: sha1-jffHquUf02h06PjQW5GAvBGj/tc=} - engines: {node: '>=4'} + engines: {node: ">=4"} dependencies: escape-string-regexp: 1.0.5 dev: true /code-point-at/1.1.0: resolution: {integrity: sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: false optional: true @@ -894,7 +894,7 @@ packages: /color-convert/2.0.1: resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} - engines: {node: '>=7.0.0'} + engines: {node: ">=7.0.0"} dependencies: color-name: 1.1.4 dev: true @@ -913,7 +913,7 @@ packages: /commander/1.1.1: resolution: {integrity: sha1-UNFlGGiuYOzP8KLZ80WVN2vGsEE=} - engines: {node: '>= 0.6.x'} + engines: {node: ">= 0.6.x"} dependencies: keypress: 0.1.0 dev: false @@ -923,7 +923,7 @@ packages: /configstore/5.0.1: resolution: {integrity: sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: dot-prop: 5.2.0 graceful-fs: 4.2.4 @@ -951,14 +951,14 @@ packages: /create-error-class/3.0.2: resolution: {integrity: sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dependencies: capture-stack-trace: 1.0.1 dev: false /cross-spawn/7.0.3: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} - engines: {node: '>= 8'} + engines: {node: ">= 8"} dependencies: path-key: 3.1.1 shebang-command: 2.0.0 @@ -966,7 +966,7 @@ packages: /crypto-random-string/2.0.0: resolution: {integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: false /debug/2.6.9: @@ -997,9 +997,9 @@ packages: /debug/4.3.3: resolution: {integrity: sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==} - engines: {node: '>=6.0'} + engines: {node: ">=6.0"} peerDependencies: - supports-color: '*' + supports-color: "*" peerDependenciesMeta: supports-color: optional: true @@ -1013,7 +1013,7 @@ packages: /define-properties/1.1.3: resolution: {integrity: sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: object-keys: 1.1.1 dev: true @@ -1029,28 +1029,28 @@ packages: /detect-libc/1.0.3: resolution: {integrity: sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=} - engines: {node: '>=0.10'} + engines: {node: ">=0.10"} hasBin: true dev: false optional: true /dir-glob/3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: path-type: 4.0.0 dev: true /doctrine/2.1.0: resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dependencies: esutils: 2.0.3 dev: true /doctrine/3.0.0: resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} - engines: {node: '>=6.0.0'} + engines: {node: ">=6.0.0"} dependencies: esutils: 2.0.3 dev: true @@ -1069,14 +1069,14 @@ packages: /domhandler/3.3.0: resolution: {integrity: sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==} - engines: {node: '>= 4'} + engines: {node: ">= 4"} dependencies: domelementtype: 2.2.0 dev: true /domhandler/4.3.0: resolution: {integrity: sha512-fC0aXNQXqKSFTr2wDNZDhsEYjCiYsDWl3D01kwt25hm1YIPyDGHvvi3rw+PLqHAl/m71MaiF7d5zvBr0p5UB2g==} - engines: {node: '>= 4'} + engines: {node: ">= 4"} dependencies: domelementtype: 2.2.0 dev: true @@ -1091,7 +1091,7 @@ packages: /dot-prop/5.2.0: resolution: {integrity: sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: is-obj: 2.0.0 dev: false @@ -1106,7 +1106,7 @@ packages: /enquirer/2.3.6: resolution: {integrity: sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==} - engines: {node: '>=8.6'} + engines: {node: ">=8.6"} dependencies: ansi-colors: 4.1.1 dev: true @@ -1117,7 +1117,7 @@ packages: /entities/3.0.1: resolution: {integrity: sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==} - engines: {node: '>=0.12'} + engines: {node: ">=0.12"} dev: true /error-ex/1.3.2: @@ -1128,7 +1128,7 @@ packages: /es-abstract/1.19.1: resolution: {integrity: sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: call-bind: 1.0.2 es-to-primitive: 1.2.1 @@ -1154,7 +1154,7 @@ packages: /es-to-primitive/1.2.1: resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: is-callable: 1.2.4 is-date-object: 1.0.2 @@ -1294,7 +1294,7 @@ packages: /esbuild-register/3.2.0_esbuild@0.13.15: resolution: {integrity: sha512-i1sYwESrRHJz15Cl1u2OgLjBBp/bWtGoDdFXVLL1clsp+pFdqIpRfHIQGkgvQAlAecP5IC/bObYrKCyx/lE50Q==} peerDependencies: - esbuild: '>=0.12 <1' + esbuild: ">=0.12 <1" dependencies: esbuild: 0.13.15 jsonc-parser: 3.0.0 @@ -1370,17 +1370,17 @@ packages: /escalade/3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} - engines: {node: '>=6'} + engines: {node: ">=6"} dev: true /escape-string-regexp/1.0.5: resolution: {integrity: sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=} - engines: {node: '>=0.8.0'} + engines: {node: ">=0.8.0"} dev: true /escape-string-regexp/4.0.0: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} - engines: {node: '>=10'} + engines: {node: ">=10"} dev: true /eslint-config-standard/16.0.3_79a23b4ffc45aed4cdeb891cd82eaee3: @@ -1406,7 +1406,7 @@ packages: /eslint-module-utils/2.7.1: resolution: {integrity: sha512-fjoetBXQZq2tSTWZ9yWVl2KuFrTZZH3V+9iD1V1RfpDgxzJR+mPd/KZmMiA8gbPqdBzpNiEHOuT7IYEWxrH0zQ==} - engines: {node: '>=4'} + engines: {node: ">=4"} dependencies: debug: 3.2.7 find-up: 2.1.0 @@ -1415,9 +1415,9 @@ packages: /eslint-plugin-es/3.0.1_eslint@8.4.1: resolution: {integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==} - engines: {node: '>=8.10.0'} + engines: {node: ">=8.10.0"} peerDependencies: - eslint: '>=4.19.1' + eslint: ">=4.19.1" dependencies: eslint: 8.4.1 eslint-utils: 2.1.0 @@ -1426,9 +1426,9 @@ packages: /eslint-plugin-eslint-comments/3.2.0_eslint@8.4.1: resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} - engines: {node: '>=6.5.0'} + engines: {node: ">=6.5.0"} peerDependencies: - eslint: '>=4.19.1' + eslint: ">=4.19.1" dependencies: escape-string-regexp: 1.0.5 eslint: 8.4.1 @@ -1443,7 +1443,7 @@ packages: /eslint-plugin-import/2.25.3_eslint@8.4.1: resolution: {integrity: sha512-RzAVbby+72IB3iOEL8clzPLzL3wpDrlwjsTBAQXgyp5SeTqqY+0bFubwuo+y/HLhNZcXV4XqTBO4LGsfyHIDXg==} - engines: {node: '>=4'} + engines: {node: ">=4"} peerDependencies: eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 dependencies: @@ -1467,7 +1467,7 @@ packages: resolution: {integrity: sha512-5UbUUvx4gUVeF9hJ+SHDW9a4OPQ8vJWu12rttQ76qGO2tlH17OC103CLq+vrmjo5VQULeVzSJ0u4s+jUATJyWQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - eslint: '>=6.0.0' + eslint: ">=6.0.0" dependencies: eslint: 8.4.1 eslint-utils: 3.0.0_eslint@8.4.1 @@ -1477,9 +1477,9 @@ packages: /eslint-plugin-node/11.1.0_eslint@8.4.1: resolution: {integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==} - engines: {node: '>=8.10.0'} + engines: {node: ">=8.10.0"} peerDependencies: - eslint: '>=5.16.0' + eslint: ">=5.16.0" dependencies: eslint: 8.4.1 eslint-plugin-es: 3.0.1_eslint@8.4.1 @@ -1501,11 +1501,11 @@ packages: /eslint-plugin-unicorn/39.0.0_eslint@8.4.1: resolution: {integrity: sha512-fd5RK2FtYjGcIx3wra7csIE/wkkmBo22T1gZtRTsLr1Mb+KsFKJ+JOdSqhHXQUrI/JTs/Mon64cEYzTgSCbltw==} - engines: {node: '>=12'} + engines: {node: ">=12"} peerDependencies: - eslint: '>=7.32.0' + eslint: ">=7.32.0" dependencies: - '@babel/helper-validator-identifier': 7.15.7 + "@babel/helper-validator-identifier": 7.15.7 ci-info: 3.3.0 clean-regexp: 1.0.0 eslint: 8.4.1 @@ -1529,7 +1529,7 @@ packages: resolution: {integrity: sha512-aS82M+diohZTusadiByzh/bKDrfi+Y6VBQkD3ym/7JH+KF9WUB9qKCizLfTaCACwtRrHpqaLz3G8GKmslshyiw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - eslint: '>=6.0.0' + eslint: ">=6.0.0" dependencies: debug: 4.3.3 eslint: 8.4.1 @@ -1542,7 +1542,7 @@ packages: /eslint-scope/5.1.1: resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} - engines: {node: '>=8.0.0'} + engines: {node: ">=8.0.0"} dependencies: esrecurse: 4.3.0 estraverse: 4.3.0 @@ -1559,10 +1559,10 @@ packages: /eslint-template-visitor/2.3.2_eslint@8.4.1: resolution: {integrity: sha512-3ydhqFpuV7x1M9EK52BPNj6V0Kwu0KKkcIAfpUhwHbR8ocRln/oUHgfxQupY8O1h4Qv/POHDumb/BwwNfxbtnA==} peerDependencies: - eslint: '>=7.0.0' + eslint: ">=7.0.0" dependencies: - '@babel/core': 7.14.0 - '@babel/eslint-parser': 7.13.14_@babel+core@7.14.0+eslint@8.4.1 + "@babel/core": 7.14.0 + "@babel/eslint-parser": 7.13.14_@babel+core@7.14.0+eslint@8.4.1 eslint: 8.4.1 eslint-visitor-keys: 2.0.0 esquery: 1.4.0 @@ -1573,7 +1573,7 @@ packages: /eslint-utils/2.1.0: resolution: {integrity: sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==} - engines: {node: '>=6'} + engines: {node: ">=6"} dependencies: eslint-visitor-keys: 1.3.0 dev: true @@ -1582,7 +1582,7 @@ packages: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: - eslint: '>=5' + eslint: ">=5" dependencies: eslint: 8.4.1 eslint-visitor-keys: 2.0.0 @@ -1590,12 +1590,12 @@ packages: /eslint-visitor-keys/1.3.0: resolution: {integrity: sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==} - engines: {node: '>=4'} + engines: {node: ">=4"} dev: true /eslint-visitor-keys/2.0.0: resolution: {integrity: sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==} - engines: {node: '>=10'} + engines: {node: ">=10"} dev: true /eslint-visitor-keys/3.1.0: @@ -1608,8 +1608,8 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint/eslintrc': 1.0.5 - '@humanwhocodes/config-array': 0.9.2 + "@eslint/eslintrc": 1.0.5 + "@humanwhocodes/config-array": 0.9.2 ajv: 6.12.4 chalk: 4.1.0 cross-spawn: 7.0.3 @@ -1682,31 +1682,31 @@ packages: /esquery/1.4.0: resolution: {integrity: sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==} - engines: {node: '>=0.10'} + engines: {node: ">=0.10"} dependencies: estraverse: 5.2.0 dev: true /esrecurse/4.3.0: resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} - engines: {node: '>=4.0'} + engines: {node: ">=4.0"} dependencies: estraverse: 5.2.0 dev: true /estraverse/4.3.0: resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} - engines: {node: '>=4.0'} + engines: {node: ">=4.0"} dev: true /estraverse/5.2.0: resolution: {integrity: sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==} - engines: {node: '>=4.0'} + engines: {node: ">=4.0"} dev: true /esutils/2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: true /fast-deep-equal/3.1.3: @@ -1715,10 +1715,10 @@ packages: /fast-glob/3.2.7: resolution: {integrity: sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: - '@nodelib/fs.stat': 2.0.3 - '@nodelib/fs.walk': 1.2.4 + "@nodelib/fs.stat": 2.0.3 + "@nodelib/fs.walk": 1.2.4 glob-parent: 5.1.2 merge2: 1.4.1 micromatch: 4.0.4 @@ -1745,20 +1745,20 @@ packages: /fill-range/7.0.1: resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: to-regex-range: 5.0.1 /find-up/2.1.0: resolution: {integrity: sha1-RdG35QbHF93UgndaK3eSCjwMV6c=} - engines: {node: '>=4'} + engines: {node: ">=4"} dependencies: locate-path: 2.0.0 dev: true /find-up/4.1.0: resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: locate-path: 5.0.0 path-exists: 4.0.0 @@ -1778,12 +1778,12 @@ packages: /follow-redirects/1.13.0: resolution: {integrity: sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA==} - engines: {node: '>=4.0'} + engines: {node: ">=4.0"} dev: false /fs-extra/10.0.0: resolution: {integrity: sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==} - engines: {node: '>=12'} + engines: {node: ">=12"} dependencies: graceful-fs: 4.2.4 jsonfile: 6.0.1 @@ -1792,7 +1792,7 @@ packages: /fs-extra/9.1.0: resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==} - engines: {node: '>=10'} + engines: {node: ">=10"} dependencies: at-least-node: 1.0.0 graceful-fs: 4.2.4 @@ -1802,7 +1802,7 @@ packages: /fs-minipass/2.1.0: resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==} - engines: {node: '>= 8'} + engines: {node: ">= 8"} dependencies: minipass: 3.1.3 dev: false @@ -1835,7 +1835,7 @@ packages: /gensync/1.0.0-beta.2: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} - engines: {node: '>=6.9.0'} + engines: {node: ">=6.9.0"} dev: true /get-intrinsic/1.1.1: @@ -1848,12 +1848,12 @@ packages: /get-stream/3.0.0: resolution: {integrity: sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=} - engines: {node: '>=4'} + engines: {node: ">=4"} dev: false /get-symbol-description/1.0.0: resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: call-bind: 1.0.2 get-intrinsic: 1.1.1 @@ -1861,13 +1861,13 @@ packages: /glob-parent/5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} - engines: {node: '>= 6'} + engines: {node: ">= 6"} dependencies: is-glob: 4.0.3 /glob-parent/6.0.2: resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} - engines: {node: '>=10.13.0'} + engines: {node: ">=10.13.0"} dependencies: is-glob: 4.0.3 dev: true @@ -1884,26 +1884,26 @@ packages: /globals/11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} - engines: {node: '>=4'} + engines: {node: ">=4"} dev: true /globals/13.12.0: resolution: {integrity: sha512-uS8X6lSKN2JumVoXrbUz+uG4BYG+eiawqm3qFcT7ammfbUHeCBoJMlHcec/S3krSk73/AE/f0szYFmgAA3kYZg==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: type-fest: 0.20.2 dev: true /globals/13.8.0: resolution: {integrity: sha512-rHtdA6+PDBIjeEvA91rpqzEvk/k3/i7EeNQiryiWuJH0Hw9cpyJMAt2jtbAwUaRdhD+573X4vWw6IcjKPasi9Q==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: type-fest: 0.20.2 dev: true /globby/11.0.4: resolution: {integrity: sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==} - engines: {node: '>=10'} + engines: {node: ">=10"} dependencies: array-union: 2.1.0 dir-glob: 3.0.1 @@ -1916,13 +1916,13 @@ packages: /google-translate-open-api/1.3.7: resolution: {integrity: sha512-eLFovCNaauuUb9xCqNuFCGZ5AaNnwO1td0M9YIvkt//rENRBRewRtVIdzH7ZXPbEAe8aH9k7PdkS2M6LFUe6Cw==} dependencies: - '@vitalets/google-translate-token': 1.2.0 + "@vitalets/google-translate-token": 1.2.0 axios-https-proxy-fix: 0.17.1 dev: false /got/6.7.1: resolution: {integrity: sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA=} - engines: {node: '>=4'} + engines: {node: ">=4"} dependencies: create-error-class: 3.0.2 duplexer3: 0.1.4 @@ -1947,27 +1947,27 @@ packages: /has-flag/3.0.0: resolution: {integrity: sha1-tdRU3CGZriJWmfNGfloH87lVuv0=} - engines: {node: '>=4'} + engines: {node: ">=4"} dev: true /has-flag/4.0.0: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: true /has-symbols/1.0.1: resolution: {integrity: sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dev: true /has-symbols/1.0.2: resolution: {integrity: sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dev: true /has-tostringtag/1.0.0: resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: has-symbols: 1.0.2 dev: true @@ -1979,14 +1979,14 @@ packages: /has/1.0.3: resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} - engines: {node: '>= 0.4.0'} + engines: {node: ">= 0.4.0"} dependencies: function-bind: 1.1.1 dev: true /hepburn/1.2.0: resolution: {integrity: sha512-xWjHb03dN/ivNcqG2vqA//sHQ0oapYGZ9QV/2TR7m2+cggxzoVpbDxZn9s/Zm1tF88/7a1IpdZyn00tNP5oABA==} - engines: {node: '>=4'} + engines: {node: ">=4"} dependencies: bulk-replace: 0.0.1 dev: false @@ -2006,7 +2006,7 @@ packages: /https-proxy-agent/2.2.4: resolution: {integrity: sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==} - engines: {node: '>= 4.5.0'} + engines: {node: ">= 4.5.0"} dependencies: agent-base: 4.3.0 debug: 3.2.6 @@ -2014,7 +2014,7 @@ packages: /https-proxy-agent/5.0.0: resolution: {integrity: sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==} - engines: {node: '>= 6'} + engines: {node: ">= 6"} dependencies: agent-base: 6.0.2 debug: 4.1.1 @@ -2023,17 +2023,17 @@ packages: /ignore/4.0.6: resolution: {integrity: sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==} - engines: {node: '>= 4'} + engines: {node: ">= 4"} dev: true /ignore/5.1.8: resolution: {integrity: sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==} - engines: {node: '>= 4'} + engines: {node: ">= 4"} dev: true /import-fresh/3.2.1: resolution: {integrity: sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==} - engines: {node: '>=6'} + engines: {node: ">=6"} dependencies: parent-module: 1.0.1 resolve-from: 4.0.0 @@ -2047,11 +2047,11 @@ packages: /imurmurhash/0.1.4: resolution: {integrity: sha1-khi5srkoojixPcT7a21XbyMUU+o=} - engines: {node: '>=0.8.19'} + engines: {node: ">=0.8.19"} /indent-string/4.0.0: resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: true /inflight/1.0.6: @@ -2065,7 +2065,7 @@ packages: /internal-slot/1.0.3: resolution: {integrity: sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: get-intrinsic: 1.1.1 has: 1.0.3 @@ -2084,7 +2084,7 @@ packages: /is-boolean-object/1.1.2: resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: call-bind: 1.0.2 has-tostringtag: 1.0.0 @@ -2096,14 +2096,14 @@ packages: /is-builtin-module/3.1.0: resolution: {integrity: sha512-OV7JjAgOTfAFJmHZLvpSTb4qi0nIILDV1gWPYDnDJUTNFM5aGlRAhk4QcT8i7TuAleeEV5Fdkqn3t4mS+Q11fg==} - engines: {node: '>=6'} + engines: {node: ">=6"} dependencies: builtin-modules: 3.2.0 dev: true /is-callable/1.2.4: resolution: {integrity: sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dev: true /is-core-module/2.8.0: @@ -2114,16 +2114,16 @@ packages: /is-date-object/1.0.2: resolution: {integrity: sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dev: true /is-extglob/2.1.1: resolution: {integrity: sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} /is-fullwidth-code-point/1.0.0: resolution: {integrity: sha1-754xOG8DGn8NZDr4L95QxFfvAMs=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dependencies: number-is-nan: 1.0.1 dev: false @@ -2131,44 +2131,44 @@ packages: /is-glob/4.0.3: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dependencies: is-extglob: 2.1.1 /is-negative-zero/2.0.1: resolution: {integrity: sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dev: true /is-number-object/1.0.6: resolution: {integrity: sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: has-tostringtag: 1.0.0 dev: true /is-number/7.0.0: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} - engines: {node: '>=0.12.0'} + engines: {node: ">=0.12.0"} /is-obj/2.0.0: resolution: {integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: false /is-plain-object/4.1.1: resolution: {integrity: sha512-5Aw8LLVsDlZsETVMhoMXzqsXwQqr/0vlnBYzIXJbYo2F4yYlhLHs+Ez7Bod7IIQKWkJbJfxrWD7pA1Dw1TKrwA==} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: false /is-redirect/1.0.0: resolution: {integrity: sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: false /is-regex/1.1.4: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: call-bind: 1.0.2 has-tostringtag: 1.0.0 @@ -2176,7 +2176,7 @@ packages: /is-retry-allowed/1.2.0: resolution: {integrity: sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: false /is-shared-array-buffer/1.0.1: @@ -2185,19 +2185,19 @@ packages: /is-stream/1.1.0: resolution: {integrity: sha1-EtSj3U5o4Lec6428hBc66A2RykQ=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: false /is-string/1.0.7: resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: has-tostringtag: 1.0.0 dev: true /is-symbol/1.0.3: resolution: {integrity: sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: has-symbols: 1.0.2 dev: true @@ -2232,7 +2232,7 @@ packages: /jsesc/2.5.2: resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} - engines: {node: '>=4'} + engines: {node: ">=4"} hasBin: true dev: true @@ -2257,7 +2257,7 @@ packages: /json5/2.2.0: resolution: {integrity: sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==} - engines: {node: '>=6'} + engines: {node: ">=6"} hasBin: true dependencies: minimist: 1.2.5 @@ -2294,7 +2294,7 @@ packages: /levn/0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} - engines: {node: '>= 0.8.0'} + engines: {node: ">= 0.8.0"} dependencies: prelude-ls: 1.2.1 type-check: 0.4.0 @@ -2302,7 +2302,7 @@ packages: /limax/2.1.0: resolution: {integrity: sha512-OQdMI5PlkGb/UYQz/AiF7C8ybx7JV2LV3FubzIHRB/amFuzuM+//wxGyUrdG6eutIfDTsD7C9hLDFMuB8+HG5Q==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: hepburn: 1.2.0 pinyin: 2.10.2 @@ -2315,7 +2315,7 @@ packages: /locate-path/2.0.0: resolution: {integrity: sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=} - engines: {node: '>=4'} + engines: {node: ">=4"} dependencies: p-locate: 2.0.0 path-exists: 3.0.0 @@ -2323,7 +2323,7 @@ packages: /locate-path/5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: p-locate: 4.1.0 dev: true @@ -2338,12 +2338,12 @@ packages: /lowercase-keys/1.0.1: resolution: {integrity: sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: false /lru-cache/6.0.0: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} - engines: {node: '>=10'} + engines: {node: ">=10"} dependencies: yallist: 4.0.0 @@ -2354,25 +2354,25 @@ packages: /make-dir/3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: semver: 6.3.0 dev: false /merge2/1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} + engines: {node: ">= 8"} /micromatch/4.0.4: resolution: {integrity: sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==} - engines: {node: '>=8.6'} + engines: {node: ">=8.6"} dependencies: braces: 3.0.2 picomatch: 2.3.0 /min-indent/1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} - engines: {node: '>=4'} + engines: {node: ">=4"} dev: true /minimatch/3.0.4: @@ -2386,7 +2386,7 @@ packages: /minipass/3.1.3: resolution: {integrity: sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: yallist: 4.0.0 dev: false @@ -2394,7 +2394,7 @@ packages: /minizlib/2.1.2: resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==} - engines: {node: '>= 8'} + engines: {node: ">= 8"} dependencies: minipass: 3.1.3 yallist: 4.0.0 @@ -2403,7 +2403,7 @@ packages: /mkdirp/1.0.4: resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} - engines: {node: '>=10'} + engines: {node: ">=10"} hasBin: true dev: false optional: true @@ -2445,17 +2445,17 @@ packages: /nodejieba/2.5.2: resolution: {integrity: sha512-ByskJvaBrQ2eV+5M0OeD80S5NKoGaHc9zi3Z/PTKl/95eac2YF8RmWduq9AknLpkQLrLAIcqurrtC6BzjpKwwg==} - engines: {node: '>= 10.20.0'} + engines: {node: ">= 10.20.0"} requiresBuild: true dependencies: - '@mapbox/node-pre-gyp': 1.0.4 + "@mapbox/node-pre-gyp": 1.0.4 node-addon-api: 3.1.0 dev: false optional: true /nopt/5.0.0: resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==} - engines: {node: '>=6'} + engines: {node: ">=6"} hasBin: true dependencies: abbrev: 1.1.1 @@ -2483,13 +2483,13 @@ packages: /number-is-nan/1.0.1: resolution: {integrity: sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: false optional: true /object-assign/4.1.1: resolution: {integrity: sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: false /object-inspect/1.11.1: @@ -2498,12 +2498,12 @@ packages: /object-keys/1.1.1: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dev: true /object.assign/4.1.2: resolution: {integrity: sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: call-bind: 1.0.2 define-properties: 1.1.3 @@ -2513,7 +2513,7 @@ packages: /object.values/1.1.5: resolution: {integrity: sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==} - engines: {node: '>= 0.4'} + engines: {node: ">= 0.4"} dependencies: call-bind: 1.0.2 define-properties: 1.1.3 @@ -2527,7 +2527,7 @@ packages: /optionator/0.9.1: resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==} - engines: {node: '>= 0.8.0'} + engines: {node: ">= 0.8.0"} dependencies: deep-is: 0.1.3 fast-levenshtein: 2.0.6 @@ -2539,54 +2539,54 @@ packages: /p-limit/1.3.0: resolution: {integrity: sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==} - engines: {node: '>=4'} + engines: {node: ">=4"} dependencies: p-try: 1.0.0 dev: true /p-limit/2.3.0: resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} - engines: {node: '>=6'} + engines: {node: ">=6"} dependencies: p-try: 2.2.0 dev: true /p-locate/2.0.0: resolution: {integrity: sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=} - engines: {node: '>=4'} + engines: {node: ">=4"} dependencies: p-limit: 1.3.0 dev: true /p-locate/4.1.0: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: p-limit: 2.3.0 dev: true /p-try/1.0.0: resolution: {integrity: sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=} - engines: {node: '>=4'} + engines: {node: ">=4"} dev: true /p-try/2.2.0: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} - engines: {node: '>=6'} + engines: {node: ">=6"} dev: true /parent-module/1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} + engines: {node: ">=6"} dependencies: callsites: 3.1.0 dev: true /parse-json/5.0.0: resolution: {integrity: sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: - '@babel/code-frame': 7.12.13 + "@babel/code-frame": 7.12.13 error-ex: 1.3.2 json-parse-better-errors: 1.0.2 lines-and-columns: 1.1.6 @@ -2594,21 +2594,21 @@ packages: /path-exists/3.0.0: resolution: {integrity: sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=} - engines: {node: '>=4'} + engines: {node: ">=4"} dev: true /path-exists/4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: true /path-is-absolute/1.0.1: resolution: {integrity: sha1-F0uSaHNVNP+8es5r9TpanhtcX18=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} /path-key/3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} - engines: {node: '>=8'} + engines: {node: ">=8"} /path-parse/1.0.6: resolution: {integrity: sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==} @@ -2616,12 +2616,12 @@ packages: /path-type/4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: true /picomatch/2.3.0: resolution: {integrity: sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==} - engines: {node: '>=8.6'} + engines: {node: ">=8.6"} /pinyin/2.10.2: resolution: {integrity: sha512-qAcp7+2vnjm6sAd0B9pp5JpyvHbYoQO1v9zCeJQMEgyw2VeRi02l0gR22ZBgfjjvZ1c2EGoVjJHJ1h0rwr34Ug==} @@ -2635,24 +2635,24 @@ packages: /pkg-dir/2.0.0: resolution: {integrity: sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=} - engines: {node: '>=4'} + engines: {node: ">=4"} dependencies: find-up: 2.1.0 dev: true /pluralize/8.0.0: resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} - engines: {node: '>=4'} + engines: {node: ">=4"} dev: true /prelude-ls/1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} - engines: {node: '>= 0.8.0'} + engines: {node: ">= 0.8.0"} dev: true /prepend-http/1.0.4: resolution: {integrity: sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: false /process-nextick-args/2.0.1: @@ -2662,17 +2662,17 @@ packages: /progress/2.0.3: resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} - engines: {node: '>=0.4.0'} + engines: {node: ">=0.4.0"} dev: true /punycode/2.1.1: resolution: {integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==} - engines: {node: '>=6'} + engines: {node: ">=6"} dev: true /read-pkg-up/7.0.1: resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: find-up: 4.1.0 read-pkg: 5.2.0 @@ -2681,9 +2681,9 @@ packages: /read-pkg/5.2.0: resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: - '@types/normalize-package-data': 2.4.0 + "@types/normalize-package-data": 2.4.0 normalize-package-data: 2.5.0 parse-json: 5.0.0 type-fest: 0.6.0 @@ -2709,12 +2709,12 @@ packages: /regexpp/3.2.0: resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: true /resolve-from/4.0.0: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} + engines: {node: ">=4"} dev: true /resolve/1.17.0: @@ -2732,7 +2732,7 @@ packages: /reusify/1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + engines: {iojs: ">=1.0.0", node: ">=0.10.0"} /rimraf/3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} @@ -2767,7 +2767,7 @@ packages: /semver/7.3.5: resolution: {integrity: sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==} - engines: {node: '>=10'} + engines: {node: ">=10"} hasBin: true dependencies: lru-cache: 6.0.0 @@ -2779,13 +2779,13 @@ packages: /shebang-command/2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: shebang-regex: 3.0.0 /shebang-regex/3.0.0: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} - engines: {node: '>=8'} + engines: {node: ">=8"} /side-channel/1.0.4: resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} @@ -2801,12 +2801,12 @@ packages: /slash/3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: true /source-map/0.5.7: resolution: {integrity: sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: true /spdx-correct/3.1.1: @@ -2833,12 +2833,12 @@ packages: /speakingurl/14.0.1: resolution: {integrity: sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: false /string-width/1.0.2: resolution: {integrity: sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dependencies: code-point-at: 1.1.0 is-fullwidth-code-point: 1.0.0 @@ -2869,7 +2869,7 @@ packages: /strip-ansi/3.0.1: resolution: {integrity: sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dependencies: ansi-regex: 2.1.1 dev: false @@ -2877,45 +2877,45 @@ packages: /strip-ansi/6.0.1: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: ansi-regex: 5.0.1 dev: true /strip-bom/3.0.0: resolution: {integrity: sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=} - engines: {node: '>=4'} + engines: {node: ">=4"} dev: true /strip-indent/3.0.0: resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: min-indent: 1.0.1 dev: true /strip-json-comments/3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: true /supports-color/5.5.0: resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} - engines: {node: '>=4'} + engines: {node: ">=4"} dependencies: has-flag: 3.0.0 dev: true /supports-color/7.1.0: resolution: {integrity: sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: has-flag: 4.0.0 dev: true /tar/6.1.0: resolution: {integrity: sha512-DUCttfhsnLCjwoDoFcI+B2iJgYa93vBnDUATYEeRx6sntCTdN01VnqsIuTlALXla/LWooNg0yEGeB+Y8WdFxGA==} - engines: {node: '>= 10'} + engines: {node: ">= 10"} dependencies: chownr: 2.0.0 fs-minipass: 2.1.0 @@ -2932,24 +2932,24 @@ packages: /timed-out/4.0.1: resolution: {integrity: sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: false /to-fast-properties/2.0.0: resolution: {integrity: sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=} - engines: {node: '>=4'} + engines: {node: ">=4"} dev: true /to-regex-range/5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} - engines: {node: '>=8.0'} + engines: {node: ">=8.0"} dependencies: is-number: 7.0.0 /tsconfig-paths/3.12.0: resolution: {integrity: sha512-e5adrnOYT6zqVnWqZu7i/BQ3BnhzvGbjEjejFXO20lKIKpwTaupkCPgEfv4GZK1IBciJUEhYs3J3p75FdaTFVg==} dependencies: - '@types/json5': 0.0.29 + "@types/json5": 0.0.29 json5: 1.0.1 minimist: 1.2.5 strip-bom: 3.0.0 @@ -2961,9 +2961,9 @@ packages: /tsutils/3.21.0_typescript@4.5.2: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} - engines: {node: '>= 6'} + engines: {node: ">= 6"} peerDependencies: - typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' + typescript: ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" dependencies: tslib: 1.13.0 typescript: 4.5.2 @@ -2971,29 +2971,29 @@ packages: /tunnel/0.0.6: resolution: {integrity: sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==} - engines: {node: '>=0.6.11 <=0.7.0 || >=0.7.3'} + engines: {node: ">=0.6.11 <=0.7.0 || >=0.7.3"} dev: false /type-check/0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} - engines: {node: '>= 0.8.0'} + engines: {node: ">= 0.8.0"} dependencies: prelude-ls: 1.2.1 dev: true /type-fest/0.20.2: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} + engines: {node: ">=10"} dev: true /type-fest/0.6.0: resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: true /type-fest/0.8.1: resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: true /typedarray-to-buffer/3.1.5: @@ -3004,7 +3004,7 @@ packages: /typescript/4.5.2: resolution: {integrity: sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==} - engines: {node: '>=4.2.0'} + engines: {node: ">=4.2.0"} hasBin: true dev: true @@ -3019,7 +3019,7 @@ packages: /unique-string/2.0.0: resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==} - engines: {node: '>=8'} + engines: {node: ">=8"} dependencies: crypto-random-string: 2.0.0 dev: false @@ -3030,17 +3030,17 @@ packages: /universalify/1.0.0: resolution: {integrity: sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==} - engines: {node: '>= 10.0.0'} + engines: {node: ">= 10.0.0"} dev: false /universalify/2.0.0: resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==} - engines: {node: '>= 10.0.0'} + engines: {node: ">= 10.0.0"} dev: false /unzip-response/2.0.1: resolution: {integrity: sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c=} - engines: {node: '>=4'} + engines: {node: ">=4"} dev: false /uri-js/4.2.2: @@ -3051,7 +3051,7 @@ packages: /url-parse-lax/1.0.0: resolution: {integrity: sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dependencies: prepend-http: 1.0.4 dev: false @@ -3063,7 +3063,7 @@ packages: /utility-types/3.10.0: resolution: {integrity: sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==} - engines: {node: '>= 4'} + engines: {node: ">= 4"} dev: true /v8-compile-cache/2.1.1: @@ -3089,7 +3089,7 @@ packages: /which/2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} - engines: {node: '>= 8'} + engines: {node: ">= 8"} hasBin: true dependencies: isexe: 2.0.0 @@ -3103,7 +3103,7 @@ packages: /word-wrap/1.2.3: resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} - engines: {node: '>=0.10.0'} + engines: {node: ">=0.10.0"} dev: true /wrappy/1.0.2: @@ -3120,7 +3120,7 @@ packages: /xdg-basedir/4.0.0: resolution: {integrity: sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==} - engines: {node: '>=8'} + engines: {node: ">=8"} dev: false /yallist/4.0.0: @@ -3137,5 +3137,5 @@ packages: /yaml/1.10.2: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} - engines: {node: '>= 6'} + engines: {node: ">= 6"} dev: true diff --git a/questions/10-medium-tuple-to-union/info.yml b/questions/10-medium-tuple-to-union/info.yml index af75ef203..ce8c0490a 100644 --- a/questions/10-medium-tuple-to-union/info.yml +++ b/questions/10-medium-tuple-to-union/info.yml @@ -7,4 +7,4 @@ author: tags: infer, tuple, union -related: 11, 472, 730, 3188 \ No newline at end of file +related: 11, 472, 730, 3188 diff --git a/questions/10-medium-tuple-to-union/info.zh-CN.yml b/questions/10-medium-tuple-to-union/info.zh-CN.yml index fd41643c2..305803871 100644 --- a/questions/10-medium-tuple-to-union/info.zh-CN.yml +++ b/questions/10-medium-tuple-to-union/info.zh-CN.yml @@ -1 +1 @@ -title: 元组转合集 \ No newline at end of file +title: 元组转合集 diff --git a/questions/1042-medium-isnever/info.yml b/questions/1042-medium-isnever/info.yml index d84b5552b..74429592f 100644 --- a/questions/1042-medium-isnever/info.yml +++ b/questions/1042-medium-isnever/info.yml @@ -5,4 +5,4 @@ author: github: hiroyaiizuka name: hiroya iizuka -related: 1097, 223, 4484 \ No newline at end of file +related: 1097, 223, 4484 diff --git a/questions/1042-medium-isnever/test-cases.ts b/questions/1042-medium-isnever/test-cases.ts index bae52753d..1b0bfd7de 100644 --- a/questions/1042-medium-isnever/test-cases.ts +++ b/questions/1042-medium-isnever/test-cases.ts @@ -3,7 +3,7 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ Expect, true>>, Expect, false>>, - Expect, false>>, + Expect, false>>, Expect, false>>, Expect, false>>, Expect, false>>, diff --git a/questions/106-medium-trimleft/info.yml b/questions/106-medium-trimleft/info.yml index e2d055028..34b831981 100644 --- a/questions/106-medium-trimleft/info.yml +++ b/questions/106-medium-trimleft/info.yml @@ -5,4 +5,4 @@ author: github: antfu name: Anthony Fu -related: 108, 4803 \ No newline at end of file +related: 108, 4803 diff --git a/questions/108-medium-trim/info.yml b/questions/108-medium-trim/info.yml index 1a03a0180..360841522 100644 --- a/questions/108-medium-trim/info.yml +++ b/questions/108-medium-trim/info.yml @@ -5,4 +5,4 @@ author: github: antfu name: Anthony Fu -related: 106, 4803 \ No newline at end of file +related: 106, 4803 diff --git a/questions/1097-medium-isunion/info.yml b/questions/1097-medium-isunion/info.yml index fa54fee4d..544a16387 100644 --- a/questions/1097-medium-isunion/info.yml +++ b/questions/1097-medium-isunion/info.yml @@ -4,4 +4,4 @@ author: github: bencor name: null -related: 1042, 223, 4484 \ No newline at end of file +related: 1042, 223, 4484 diff --git a/questions/110-medium-capitalize/info.yml b/questions/110-medium-capitalize/info.yml index a97e33f5e..39d92e23b 100644 --- a/questions/110-medium-capitalize/info.yml +++ b/questions/110-medium-capitalize/info.yml @@ -4,4 +4,3 @@ tags: template-literal author: github: antfu name: Anthony Fu - diff --git a/questions/112-hard-capitalizewords/info.yml b/questions/112-hard-capitalizewords/info.yml index e8c604338..f5d703adc 100644 --- a/questions/112-hard-capitalizewords/info.yml +++ b/questions/112-hard-capitalizewords/info.yml @@ -4,4 +4,3 @@ tags: template-literal author: github: antfu name: Anthony Fu - diff --git a/questions/1130-medium-replacekeys/info.yml b/questions/1130-medium-replacekeys/info.yml index 64a513558..a547e00ea 100644 --- a/questions/1130-medium-replacekeys/info.yml +++ b/questions/1130-medium-replacekeys/info.yml @@ -3,4 +3,3 @@ title: ReplaceKeys author: github: lullabyjune name: 贱贱 - diff --git a/questions/116-medium-replace/info.yml b/questions/116-medium-replace/info.yml index fb2366d9f..d36f729f9 100644 --- a/questions/116-medium-replace/info.yml +++ b/questions/116-medium-replace/info.yml @@ -4,4 +4,3 @@ tags: template-literal author: github: antfu name: Anthony Fu - diff --git a/questions/119-medium-replaceall/info.yml b/questions/119-medium-replaceall/info.yml index 6fb360884..8cb7183e2 100644 --- a/questions/119-medium-replaceall/info.yml +++ b/questions/119-medium-replaceall/info.yml @@ -4,4 +4,3 @@ tags: template-literal author: github: antfu name: Anthony Fu - diff --git a/questions/12-medium-chainable-options/info.yml b/questions/12-medium-chainable-options/info.yml index 2ff6b7aeb..9d9a365de 100644 --- a/questions/12-medium-chainable-options/info.yml +++ b/questions/12-medium-chainable-options/info.yml @@ -5,4 +5,4 @@ author: email: hi@antfu.me github: antfu -tags: application \ No newline at end of file +tags: application diff --git a/questions/12-medium-chainable-options/info.zh-CN.yml b/questions/12-medium-chainable-options/info.zh-CN.yml index 37f171602..f60e5c8c9 100644 --- a/questions/12-medium-chainable-options/info.zh-CN.yml +++ b/questions/12-medium-chainable-options/info.zh-CN.yml @@ -1 +1 @@ -title: 可串联构造器 \ No newline at end of file +title: 可串联构造器 diff --git a/questions/1290-hard-pinia/info.yml b/questions/1290-hard-pinia/info.yml index dbbf9ecce..e493520a0 100644 --- a/questions/1290-hard-pinia/info.yml +++ b/questions/1290-hard-pinia/info.yml @@ -4,4 +4,3 @@ tags: this, vue author: github: g-plane name: Pig Fang - diff --git a/questions/13-warm-hello-world/info.yml b/questions/13-warm-hello-world/info.yml index c09756115..9fa13c083 100644 --- a/questions/13-warm-hello-world/info.yml +++ b/questions/13-warm-hello-world/info.yml @@ -3,4 +3,4 @@ title: Hello World author: name: Anthony Fu email: hi@antfu.me - github: antfu \ No newline at end of file + github: antfu diff --git a/questions/1367-medium-remove-index-signature/info.yml b/questions/1367-medium-remove-index-signature/info.yml index 472ba40be..95dbd0c34 100644 --- a/questions/1367-medium-remove-index-signature/info.yml +++ b/questions/1367-medium-remove-index-signature/info.yml @@ -3,4 +3,3 @@ title: Remove Index Signature author: github: hiroyaiizuka name: hiroya iizuka - diff --git a/questions/1367-medium-remove-index-signature/test-cases.ts b/questions/1367-medium-remove-index-signature/test-cases.ts index 634fa8d0b..0cd9fdf99 100644 --- a/questions/1367-medium-remove-index-signature/test-cases.ts +++ b/questions/1367-medium-remove-index-signature/test-cases.ts @@ -1,25 +1,22 @@ import { Equal, Expect } from '@type-challenges/utils' - type Foo = { - [key: string]: any; - foo(): void; + [key: string]: any + foo(): void } - type Bar = { - [key: number]: any; - bar(): void; + [key: number]: any + bar(): void } type Baz = { - bar(): void; + bar(): void baz: string } - type cases = [ Expect, { foo(): void }>>, Expect, { bar(): void }>>, - Expect, { bar(): void, baz: string }>> + Expect, { bar(): void; baz: string }>> ] diff --git a/questions/1383-hard-camelize/info.yml b/questions/1383-hard-camelize/info.yml index cab60ae2c..98fe3770b 100644 --- a/questions/1383-hard-camelize/info.yml +++ b/questions/1383-hard-camelize/info.yml @@ -4,4 +4,3 @@ tags: union, recursion author: github: denchiklut name: Denis - diff --git a/questions/1383-hard-camelize/test-cases.ts b/questions/1383-hard-camelize/test-cases.ts index d0981431a..10ac0d614 100644 --- a/questions/1383-hard-camelize/test-cases.ts +++ b/questions/1383-hard-camelize/test-cases.ts @@ -3,13 +3,13 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ Expect, { - someProp: string, - prop: { anotherProp: string }, + someProp: string + prop: { anotherProp: string } array: [{ snakeCase: string }] } >> diff --git a/questions/14-easy-first/info.zh-CN.yml b/questions/14-easy-first/info.zh-CN.yml index 2926ea239..211fdd7dd 100644 --- a/questions/14-easy-first/info.zh-CN.yml +++ b/questions/14-easy-first/info.zh-CN.yml @@ -1 +1 @@ -title: 第一个元素 \ No newline at end of file +title: 第一个元素 diff --git a/questions/147-hard-c-printf-parser/info.yml b/questions/147-hard-c-printf-parser/info.yml index 7aeddfe46..270f554a8 100644 --- a/questions/147-hard-c-printf-parser/info.yml +++ b/questions/147-hard-c-printf-parser/info.yml @@ -4,4 +4,3 @@ tags: template-literal author: github: g-plane name: Pig Fang - diff --git a/questions/147-hard-c-printf-parser/template.ts b/questions/147-hard-c-printf-parser/template.ts index 4d2277084..20af73b84 100644 --- a/questions/147-hard-c-printf-parser/template.ts +++ b/questions/147-hard-c-printf-parser/template.ts @@ -1,11 +1,11 @@ type ControlsMap = { - c: 'char', - s: 'string', - d: 'dec', - o: 'oct', - h: 'hex', - f: 'float', - p: 'pointer', + c: 'char' + s: 'string' + d: 'dec' + o: 'oct' + h: 'hex' + f: 'float' + p: 'pointer' } type ParsePrintFormat = any diff --git a/questions/15-medium-last/info.zh-CN.yml b/questions/15-medium-last/info.zh-CN.yml index 2136f09b8..242616c04 100644 --- a/questions/15-medium-last/info.zh-CN.yml +++ b/questions/15-medium-last/info.zh-CN.yml @@ -1 +1 @@ -title: 最后一个元素 \ No newline at end of file +title: 最后一个元素 diff --git a/questions/151-extreme-query-string-parser/info.yml b/questions/151-extreme-query-string-parser/info.yml index d803a1409..78efa5163 100644 --- a/questions/151-extreme-query-string-parser/info.yml +++ b/questions/151-extreme-query-string-parser/info.yml @@ -4,4 +4,3 @@ tags: template-literal author: github: g-plane name: Pig Fang - diff --git a/questions/151-extreme-query-string-parser/test-cases.ts b/questions/151-extreme-query-string-parser/test-cases.ts index 1bc483cad..7ff876a48 100644 --- a/questions/151-extreme-query-string-parser/test-cases.ts +++ b/questions/151-extreme-query-string-parser/test-cases.ts @@ -4,11 +4,11 @@ type cases = [ Expect, {}>>, Expect, { k1: true }>>, Expect, { k1: true }>>, - Expect, { k1: true, k2: true }>>, + Expect, { k1: true; k2: true }>>, Expect, { k1: 'v1' }>>, Expect, { k1: ['v1', 'v2'] }>>, - Expect, { k1: 'v1', k2: 'v2' }>>, - Expect, { k1: ['v1', 'v2'], k2: 'v2' }>>, - Expect, { k1: 'v1', k2: true }>>, + Expect, { k1: 'v1'; k2: 'v2' }>>, + Expect, { k1: ['v1', 'v2']; k2: 'v2' }>>, + Expect, { k1: 'v1'; k2: true }>>, Expect, { k1: 'v1' }>> ] diff --git a/questions/16-medium-pop/info.zh-CN.yml b/questions/16-medium-pop/info.zh-CN.yml index 812d7414d..71707b8fa 100644 --- a/questions/16-medium-pop/info.zh-CN.yml +++ b/questions/16-medium-pop/info.zh-CN.yml @@ -1 +1 @@ -title: 出堆 \ No newline at end of file +title: 出堆 diff --git a/questions/17-hard-currying-1/info.zh-CN.yml b/questions/17-hard-currying-1/info.zh-CN.yml index c6a688972..5bd61908c 100644 --- a/questions/17-hard-currying-1/info.zh-CN.yml +++ b/questions/17-hard-currying-1/info.zh-CN.yml @@ -1 +1 @@ -title: 柯里化 1 \ No newline at end of file +title: 柯里化 1 diff --git a/questions/18-easy-tuple-length/template.ts b/questions/18-easy-tuple-length/template.ts index 90316925a..a91ef4a33 100644 --- a/questions/18-easy-tuple-length/template.ts +++ b/questions/18-easy-tuple-length/template.ts @@ -1 +1 @@ -type Length = any +type Length = any diff --git a/questions/191-medium-append-argument/info.yml b/questions/191-medium-append-argument/info.yml index e296ca8dc..a4b222b49 100644 --- a/questions/191-medium-append-argument/info.yml +++ b/questions/191-medium-append-argument/info.yml @@ -7,4 +7,3 @@ author: github: maciejsikora name: Maciej Sikora tags: arguments - diff --git a/questions/1978-medium-percentage-parser/info.yml b/questions/1978-medium-percentage-parser/info.yml index 4dfce74b0..0983b21c7 100644 --- a/questions/1978-medium-percentage-parser/info.yml +++ b/questions/1978-medium-percentage-parser/info.yml @@ -3,4 +3,3 @@ title: Percentage Parser author: github: SSShuai1999 name: SSShuai1999 - diff --git a/questions/1978-medium-percentage-parser/test-cases.ts b/questions/1978-medium-percentage-parser/test-cases.ts index da3fdf464..33a71e917 100644 --- a/questions/1978-medium-percentage-parser/test-cases.ts +++ b/questions/1978-medium-percentage-parser/test-cases.ts @@ -8,10 +8,10 @@ type Case5 = ['', '10', '%'] type Case6 = ['-', '99', '%'] type cases = [ - Expect, Case1>>, - Expect, Case2>>, - Expect, Case3>>, - Expect, Case4>>, - Expect, Case5>>, - Expect, Case6>>, + Expect, Case1>>, + Expect, Case2>>, + Expect, Case3>>, + Expect, Case4>>, + Expect, Case5>>, + Expect, Case6>>, ] diff --git a/questions/2-medium-return-type/info.yml b/questions/2-medium-return-type/info.yml index 375bcf997..dbb30aecc 100644 --- a/questions/2-medium-return-type/info.yml +++ b/questions/2-medium-return-type/info.yml @@ -10,4 +10,4 @@ tags: infer, built-in tsconfig: null original_issues: null -recommended_solutions: null \ No newline at end of file +recommended_solutions: null diff --git a/questions/2-medium-return-type/info.zh-CN.yml b/questions/2-medium-return-type/info.zh-CN.yml index 6d49d040a..66cf88db2 100644 --- a/questions/2-medium-return-type/info.zh-CN.yml +++ b/questions/2-medium-return-type/info.zh-CN.yml @@ -1 +1 @@ -title: 获取函数返回类型 \ No newline at end of file +title: 获取函数返回类型 diff --git a/questions/20-medium-promise-all/info.yml b/questions/20-medium-promise-all/info.yml index d2ca10f48..e8b79982a 100644 --- a/questions/20-medium-promise-all/info.yml +++ b/questions/20-medium-promise-all/info.yml @@ -1,7 +1,6 @@ difficulty: medium title: Promise.all -tags: 'array, built-in' +tags: "array, built-in" author: github: antfu name: Anthony Fu - diff --git a/questions/2070-medium-drop-char/test-cases.ts b/questions/2070-medium-drop-char/test-cases.ts index 729839b33..567643476 100644 --- a/questions/2070-medium-drop-char/test-cases.ts +++ b/questions/2070-medium-drop-char/test-cases.ts @@ -1,4 +1,4 @@ -import { Equal, Expect } from '@type-challenges/utils'; +import { Equal, Expect } from '@type-challenges/utils' type cases = [ // @ts-expect-error diff --git a/questions/213-hard-vue-basic-props/info.yml b/questions/213-hard-vue-basic-props/info.yml index 640a3489e..6a55f0815 100644 --- a/questions/213-hard-vue-basic-props/info.yml +++ b/questions/213-hard-vue-basic-props/info.yml @@ -1,8 +1,7 @@ difficulty: hard title: Vue Basic Props -tags: 'vue, application' +tags: "vue, application" related: 6 author: github: antfu name: Anthony Fu - diff --git a/questions/213-hard-vue-basic-props/test-cases.ts b/questions/213-hard-vue-basic-props/test-cases.ts index f127d5f21..e164fbbf8 100644 --- a/questions/213-hard-vue-basic-props/test-cases.ts +++ b/questions/213-hard-vue-basic-props/test-cases.ts @@ -28,7 +28,7 @@ VueBasicProps({ this.getRandom() // @ts-expect-error this.data() - + return { firstname: 'Type', lastname: 'Challenges', diff --git a/questions/216-extreme-slice/info.yml b/questions/216-extreme-slice/info.yml index ce7e7ce78..a011ea4b2 100644 --- a/questions/216-extreme-slice/info.yml +++ b/questions/216-extreme-slice/info.yml @@ -4,4 +4,3 @@ tags: array author: github: antfu name: Anthony Fu - diff --git a/questions/216-extreme-slice/test-cases.ts b/questions/216-extreme-slice/test-cases.ts index 2705af4db..e2619cf5c 100644 --- a/questions/216-extreme-slice/test-cases.ts +++ b/questions/216-extreme-slice/test-cases.ts @@ -15,8 +15,8 @@ type cases = [ Expect, [3, 4, 5]>>, // negative index - Expect, [1,2,3,4]>>, - Expect, [3,4]>>, + Expect, [1, 2, 3, 4]>>, + Expect, [3, 4]>>, // invalid Expect, []>>, diff --git a/questions/223-hard-isany/info.yml b/questions/223-hard-isany/info.yml index 888bc1c72..dc55382bc 100644 --- a/questions/223-hard-isany/info.yml +++ b/questions/223-hard-isany/info.yml @@ -5,4 +5,4 @@ author: github: pashutk name: Pavel Glushkov -related: 1042, 1097, 4484 \ No newline at end of file +related: 1042, 1097, 4484 diff --git a/questions/223-hard-isany/test-cases.ts b/questions/223-hard-isany/test-cases.ts index 801cc5a78..1a0574ac7 100644 --- a/questions/223-hard-isany/test-cases.ts +++ b/questions/223-hard-isany/test-cases.ts @@ -2,7 +2,7 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ Expect, true>>, - + Expect, false>>, Expect, false>>, Expect, false>>, diff --git a/questions/2257-medium-minusone/info.yml b/questions/2257-medium-minusone/info.yml index 234354ebc..72f03ec48 100644 --- a/questions/2257-medium-minusone/info.yml +++ b/questions/2257-medium-minusone/info.yml @@ -4,4 +4,3 @@ tags: math author: github: fayzzzm name: Mustafo Faiz - diff --git a/questions/268-easy-if/info.yml b/questions/268-easy-if/info.yml index 369a0fa93..5c756a8d7 100644 --- a/questions/268-easy-if/info.yml +++ b/questions/268-easy-if/info.yml @@ -4,4 +4,3 @@ tags: utils author: github: pashutk name: Pavel Glushkov - diff --git a/questions/270-hard-typed-get/info.yml b/questions/270-hard-typed-get/info.yml index ecc0b8ade..37ee8505a 100644 --- a/questions/270-hard-typed-get/info.yml +++ b/questions/270-hard-typed-get/info.yml @@ -1,7 +1,6 @@ difficulty: hard title: Typed Get -tags: 'utils, template-literal' +tags: "utils, template-literal" author: github: antfu name: Anthony Fu - diff --git a/questions/270-hard-typed-get/test-cases.ts b/questions/270-hard-typed-get/test-cases.ts index 6930648cd..c28190df2 100644 --- a/questions/270-hard-typed-get/test-cases.ts +++ b/questions/270-hard-typed-get/test-cases.ts @@ -3,7 +3,7 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ Expect, 'world'>>, Expect, 6>>, - Expect, { value: 'foobar', count: 6 }>>, + Expect, { value: 'foobar'; count: 6 }>>, Expect, never>>, ] @@ -11,10 +11,10 @@ type cases = [ type Data = { foo: { bar: { - value: 'foobar', - count: 6, - }, - included: true, - }, + value: 'foobar' + count: 6 + } + included: true + } hello: 'world' } diff --git a/questions/274-extreme-integers-comparator/info.yml b/questions/274-extreme-integers-comparator/info.yml index 7a69cc5b3..83efe92ad 100644 --- a/questions/274-extreme-integers-comparator/info.yml +++ b/questions/274-extreme-integers-comparator/info.yml @@ -4,4 +4,3 @@ tags: template-literal, math author: github: g-plane name: Pig Fang - diff --git a/questions/2757-medium-partialbykeys/info.yml b/questions/2757-medium-partialbykeys/info.yml index 855ee3821..d67ffbedd 100644 --- a/questions/2757-medium-partialbykeys/info.yml +++ b/questions/2757-medium-partialbykeys/info.yml @@ -4,4 +4,3 @@ tags: object author: github: jiangshanmeta name: jiangshan - diff --git a/questions/2757-medium-partialbykeys/template.ts b/questions/2757-medium-partialbykeys/template.ts index 17525cd2b..82c342de3 100644 --- a/questions/2757-medium-partialbykeys/template.ts +++ b/questions/2757-medium-partialbykeys/template.ts @@ -1 +1 @@ -type PartialByKeys = any +type PartialByKeys = any diff --git a/questions/2757-medium-partialbykeys/test-cases.ts b/questions/2757-medium-partialbykeys/test-cases.ts index 005626469..64ab601c5 100644 --- a/questions/2757-medium-partialbykeys/test-cases.ts +++ b/questions/2757-medium-partialbykeys/test-cases.ts @@ -9,13 +9,13 @@ interface User { interface UserPartialName { name?: string age: number - address: string + address: string } interface UserPartialNameAndAge { name?: string age?: number - address: string + address: string } type cases = [ diff --git a/questions/2759-medium-requiredbykeys/info.yml b/questions/2759-medium-requiredbykeys/info.yml index dfa723dd3..5316764b4 100644 --- a/questions/2759-medium-requiredbykeys/info.yml +++ b/questions/2759-medium-requiredbykeys/info.yml @@ -4,4 +4,3 @@ tags: object author: github: jiangshanmeta name: jiangshan - diff --git a/questions/2759-medium-requiredbykeys/template.ts b/questions/2759-medium-requiredbykeys/template.ts index 5cc68ee55..0691016e3 100644 --- a/questions/2759-medium-requiredbykeys/template.ts +++ b/questions/2759-medium-requiredbykeys/template.ts @@ -1 +1 @@ -type RequiredByKeys = any +type RequiredByKeys = any diff --git a/questions/2759-medium-requiredbykeys/test-cases.ts b/questions/2759-medium-requiredbykeys/test-cases.ts index 0102b8b84..5505bbc63 100644 --- a/questions/2759-medium-requiredbykeys/test-cases.ts +++ b/questions/2759-medium-requiredbykeys/test-cases.ts @@ -9,13 +9,13 @@ interface User { interface UserRequiredName { name: string age?: number - address?: string + address?: string } interface UserRequiredNameAndAge { name: string age: number - address?: string + address?: string } type cases = [ diff --git a/questions/2793-medium-mutable/info.yml b/questions/2793-medium-mutable/info.yml index 39769b658..fda22fd8f 100644 --- a/questions/2793-medium-mutable/info.yml +++ b/questions/2793-medium-mutable/info.yml @@ -4,4 +4,3 @@ tags: readonly, object-keys author: github: jiangshanmeta name: jiangshan - diff --git a/questions/2822-hard-split/info.yml b/questions/2822-hard-split/info.yml index dcc66229e..acfdd2c17 100644 --- a/questions/2822-hard-split/info.yml +++ b/questions/2822-hard-split/info.yml @@ -4,4 +4,3 @@ tags: string,split,array,tuple author: github: jfet97 name: Andrea Simone Costa - diff --git a/questions/2828-hard-classpublickeys/info.yml b/questions/2828-hard-classpublickeys/info.yml index cfdbf840d..865d5f76a 100644 --- a/questions/2828-hard-classpublickeys/info.yml +++ b/questions/2828-hard-classpublickeys/info.yml @@ -4,4 +4,3 @@ tags: utils author: github: jiangshanmeta name: jiangshan - diff --git a/questions/2828-hard-classpublickeys/test-cases.ts b/questions/2828-hard-classpublickeys/test-cases.ts index 3c10bb241..e1eec9c2c 100644 --- a/questions/2828-hard-classpublickeys/test-cases.ts +++ b/questions/2828-hard-classpublickeys/test-cases.ts @@ -8,7 +8,8 @@ class A { this.str = 'naive' this.num = 19260917 this.bool = true - } + } + getNum() { return Math.random() } diff --git a/questions/2857-hard-isrequiredkey/info.yml b/questions/2857-hard-isrequiredkey/info.yml index c0c868387..4617b48fa 100644 --- a/questions/2857-hard-isrequiredkey/info.yml +++ b/questions/2857-hard-isrequiredkey/info.yml @@ -4,4 +4,3 @@ tags: utils author: github: jiangshanmeta name: jiangshan - diff --git a/questions/2857-hard-isrequiredkey/test-cases.ts b/questions/2857-hard-isrequiredkey/test-cases.ts index 14f1e56ad..057f94b0c 100644 --- a/questions/2857-hard-isrequiredkey/test-cases.ts +++ b/questions/2857-hard-isrequiredkey/test-cases.ts @@ -1,7 +1,7 @@ import { Equal, Expect, ExpectFalse, NotEqual } from '@type-challenges/utils' type cases = [ - Expect, true>>, - Expect, false>>, - Expect, false>>, + Expect, true>>, + Expect, false>>, + Expect, false>>, ] diff --git a/questions/2946-medium-objectentries/info.yml b/questions/2946-medium-objectentries/info.yml index 2fc4ae29a..93b65c5ab 100644 --- a/questions/2946-medium-objectentries/info.yml +++ b/questions/2946-medium-objectentries/info.yml @@ -4,4 +4,3 @@ tags: object author: github: jiangshanmeta name: jiangshan - diff --git a/questions/2946-medium-objectentries/test-cases.ts b/questions/2946-medium-objectentries/test-cases.ts index acf691d13..9c0894949 100644 --- a/questions/2946-medium-objectentries/test-cases.ts +++ b/questions/2946-medium-objectentries/test-cases.ts @@ -1,18 +1,16 @@ import { Equal, Expect, ExpectFalse, NotEqual } from '@type-challenges/utils' interface Model { - name: string; - age: number; - locations: string[] | null; + name: string + age: number + locations: string[] | null } -type ModelEntries = ['name', string] | ['age', number] | ['locations', string[] | null]; - - +type ModelEntries = ['name', string] | ['age', number] | ['locations', string[] | null] type cases = [ - Expect,ModelEntries>>, - Expect>,ModelEntries>>, + Expect, ModelEntries>>, + Expect>, ModelEntries>>, Expect, ['key', undefined]>>, Expect, ['key', undefined]>> ] diff --git a/questions/2949-hard-objectfromentries/test-cases.ts b/questions/2949-hard-objectfromentries/test-cases.ts index a9856482a..e22be5460 100644 --- a/questions/2949-hard-objectfromentries/test-cases.ts +++ b/questions/2949-hard-objectfromentries/test-cases.ts @@ -1,14 +1,13 @@ import { Equal, Expect, ExpectFalse, NotEqual } from '@type-challenges/utils' interface Model { - name: string; - age: number; - locations: string[] | null; + name: string + age: number + locations: string[] | null } -type ModelEntries = ['name', string] | ['age', number] | ['locations', string[] | null]; - +type ModelEntries = ['name', string] | ['age', number] | ['locations', string[] | null] type cases = [ - Expect,Model>>, + Expect, Model>>, ] diff --git a/questions/296-medium-permutation/info.yml b/questions/296-medium-permutation/info.yml index 52cfd95d3..c39316ca1 100644 --- a/questions/296-medium-permutation/info.yml +++ b/questions/296-medium-permutation/info.yml @@ -4,4 +4,3 @@ tags: union author: github: pandanoir name: Naoto Ikuno - diff --git a/questions/298-medium-length-of-string/info.yml b/questions/298-medium-length-of-string/info.yml index 00b56e0c5..1511f8730 100644 --- a/questions/298-medium-length-of-string/info.yml +++ b/questions/298-medium-length-of-string/info.yml @@ -4,4 +4,3 @@ tags: template-literal author: github: g-plane name: Pig Fang - diff --git a/questions/300-hard-string-to-number/info.yml b/questions/300-hard-string-to-number/info.yml index 69e09c5b7..847bf2db8 100644 --- a/questions/300-hard-string-to-number/info.yml +++ b/questions/300-hard-string-to-number/info.yml @@ -4,4 +4,3 @@ tags: template-literal author: github: g-plane name: Pig Fang - diff --git a/questions/3060-easy-unshift/test-cases.ts b/questions/3060-easy-unshift/test-cases.ts index 2932dbb9e..175ca6aa5 100644 --- a/questions/3060-easy-unshift/test-cases.ts +++ b/questions/3060-easy-unshift/test-cases.ts @@ -2,6 +2,6 @@ import { Equal, Expect, ExpectFalse, NotEqual } from '@type-challenges/utils' type cases = [ Expect, [1]>>, - Expect, [0, 1, 2,]>>, - Expect, [boolean, '1', 2, '3']>>, + Expect, [0, 1, 2, ]>>, + Expect, [boolean, '1', 2, '3']>>, ] diff --git a/questions/3188-medium-tuple-to-nested-object/info.yml b/questions/3188-medium-tuple-to-nested-object/info.yml index 5e8a0eaac..8d46159bd 100644 --- a/questions/3188-medium-tuple-to-nested-object/info.yml +++ b/questions/3188-medium-tuple-to-nested-object/info.yml @@ -5,4 +5,4 @@ author: github: jiangshanmeta name: jiangshan -related: 10, 11, 472, 730 \ No newline at end of file +related: 10, 11, 472, 730 diff --git a/questions/3192-medium-reverse/info.yml b/questions/3192-medium-reverse/info.yml index 3e77df94a..f5ea90eb6 100644 --- a/questions/3192-medium-reverse/info.yml +++ b/questions/3192-medium-reverse/info.yml @@ -4,4 +4,3 @@ tags: tuple author: github: jiangshanmeta name: jiangshan - diff --git a/questions/3312-easy-parameters/info.yml b/questions/3312-easy-parameters/info.yml index 717c13ca0..f9e4ba2eb 100644 --- a/questions/3312-easy-parameters/info.yml +++ b/questions/3312-easy-parameters/info.yml @@ -4,4 +4,3 @@ tags: infer, tuple, built-in author: github: midorizemi name: midorizemi - diff --git a/questions/3326-medium-bem-style-string/info.yml b/questions/3326-medium-bem-style-string/info.yml index 47d13365a..330a97f09 100644 --- a/questions/3326-medium-bem-style-string/info.yml +++ b/questions/3326-medium-bem-style-string/info.yml @@ -4,4 +4,3 @@ tags: template-literal, union, tuple author: github: songhn233 name: Songhn - diff --git a/questions/3376-medium-inordertraversal/info.yml b/questions/3376-medium-inordertraversal/info.yml index de4583f10..a8ebc20e1 100644 --- a/questions/3376-medium-inordertraversal/info.yml +++ b/questions/3376-medium-inordertraversal/info.yml @@ -1,7 +1,6 @@ -difficulty: hard +difficulty: hard title: InorderTraversal tags: object author: github: jiangshanmeta name: jiangshan - diff --git a/questions/3376-medium-inordertraversal/template.ts b/questions/3376-medium-inordertraversal/template.ts index f4e924540..e7211bd5d 100644 --- a/questions/3376-medium-inordertraversal/template.ts +++ b/questions/3376-medium-inordertraversal/template.ts @@ -1,6 +1,6 @@ interface TreeNode { - val: number; - left: TreeNode | null; - right: TreeNode | null; + val: number + left: TreeNode | null + right: TreeNode | null } type InorderTraversal = any diff --git a/questions/3376-medium-inordertraversal/test-cases.ts b/questions/3376-medium-inordertraversal/test-cases.ts index 01a86a55b..4df770bf8 100644 --- a/questions/3376-medium-inordertraversal/test-cases.ts +++ b/questions/3376-medium-inordertraversal/test-cases.ts @@ -36,8 +36,8 @@ const tree4 = { right: { val: 2, left: null, - right: null - } + right: null, + }, } as const type cases = [ diff --git a/questions/399-hard-tuple-filter/info.yml b/questions/399-hard-tuple-filter/info.yml index 9163e6b5f..a2ea76546 100644 --- a/questions/399-hard-tuple-filter/info.yml +++ b/questions/399-hard-tuple-filter/info.yml @@ -1,7 +1,6 @@ difficulty: hard title: Tuple Filter -tags: 'tuple, infer' +tags: "tuple, infer" author: github: softoika name: Ryo Hanafusa - diff --git a/questions/4037-hard-ispalindrome/info.yml b/questions/4037-hard-ispalindrome/info.yml index 8766175ff..4000e5ee8 100644 --- a/questions/4037-hard-ispalindrome/info.yml +++ b/questions/4037-hard-ispalindrome/info.yml @@ -4,4 +4,3 @@ tags: string author: github: jiangshanmeta name: jiangshan - diff --git a/questions/4179-medium-flip/info.yml b/questions/4179-medium-flip/info.yml index 8826126c4..1ad659813 100644 --- a/questions/4179-medium-flip/info.yml +++ b/questions/4179-medium-flip/info.yml @@ -4,4 +4,3 @@ tags: object author: github: kathawala name: Farhan Kathawala - diff --git a/questions/4179-medium-flip/test-cases.ts b/questions/4179-medium-flip/test-cases.ts index 4a6ef7d0d..193c5aedf 100644 --- a/questions/4179-medium-flip/test-cases.ts +++ b/questions/4179-medium-flip/test-cases.ts @@ -3,6 +3,6 @@ import { Equal, Expect, NotEqual } from '@type-challenges/utils' type cases = [ Expect>>, Expect>>, - Expect>>, - Expect>>, + Expect>>, + Expect>>, ] diff --git a/questions/43-easy-exclude/test-cases.ts b/questions/43-easy-exclude/test-cases.ts index 620df743d..1c60565d8 100644 --- a/questions/43-easy-exclude/test-cases.ts +++ b/questions/43-easy-exclude/test-cases.ts @@ -1,7 +1,7 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ - Expect, Exclude<"a" | "b" | "c", "a">>>, - Expect, Exclude<"a" | "b" | "c", "a" | "b">>>, - Expect void), Function>, Exclude void), Function>>>, + Expect, Exclude<'a' | 'b' | 'c', 'a'>>>, + Expect, Exclude<'a' | 'b' | 'c', 'a' | 'b'>>>, + Expect void), Function>, Exclude void), Function>>>, ] diff --git a/questions/4425-medium-greater-than/info.yml b/questions/4425-medium-greater-than/info.yml index 8d898620a..7837ef84c 100644 --- a/questions/4425-medium-greater-than/info.yml +++ b/questions/4425-medium-greater-than/info.yml @@ -4,4 +4,3 @@ tags: array author: github: ch3cknull name: ch3cknull - diff --git a/questions/4471-medium-zip/info.yml b/questions/4471-medium-zip/info.yml index 203e87a6a..459c86bfc 100644 --- a/questions/4471-medium-zip/info.yml +++ b/questions/4471-medium-zip/info.yml @@ -4,4 +4,3 @@ tags: tuple author: github: qianxi0410 name: キリサメ qianxi - diff --git a/questions/4484-medium-istuple/info.yml b/questions/4484-medium-istuple/info.yml index 3daeceeb3..b598c32e5 100644 --- a/questions/4484-medium-istuple/info.yml +++ b/questions/4484-medium-istuple/info.yml @@ -5,4 +5,4 @@ author: github: jiangshanmeta name: jiangshan -related: 1042, 1097, 223 \ No newline at end of file +related: 1042, 1097, 223 diff --git a/questions/4499-medium-chunk/info.yml b/questions/4499-medium-chunk/info.yml index 167b6441d..edf8c362e 100644 --- a/questions/4499-medium-chunk/info.yml +++ b/questions/4499-medium-chunk/info.yml @@ -4,4 +4,3 @@ tags: tuple author: github: qianxi0410 name: キリサメ qianxi - diff --git a/questions/4518-medium-fill/info.yml b/questions/4518-medium-fill/info.yml index 331d38cd4..000a888ed 100644 --- a/questions/4518-medium-fill/info.yml +++ b/questions/4518-medium-fill/info.yml @@ -4,4 +4,3 @@ tags: tuple author: github: qianxi0410 name: キリサメ qianxi - diff --git a/questions/459-medium-flatten/info.yml b/questions/459-medium-flatten/info.yml index b79bace62..7c9b8c994 100644 --- a/questions/459-medium-flatten/info.yml +++ b/questions/459-medium-flatten/info.yml @@ -4,4 +4,3 @@ tags: array author: github: chbro name: zhouyiming - diff --git a/questions/472-hard-tuple-to-enum-object/info.yml b/questions/472-hard-tuple-to-enum-object/info.yml index d32118b61..e0b83eb63 100644 --- a/questions/472-hard-tuple-to-enum-object/info.yml +++ b/questions/472-hard-tuple-to-enum-object/info.yml @@ -1,6 +1,6 @@ difficulty: hard title: Tuple to Enum Object -tags: 'tuple, template-literal' +tags: "tuple, template-literal" author: github: softoika name: Ryo Hanafusa diff --git a/questions/476-extreme-sum/info.yml b/questions/476-extreme-sum/info.yml index 924935f3e..856712474 100644 --- a/questions/476-extreme-sum/info.yml +++ b/questions/476-extreme-sum/info.yml @@ -1,7 +1,6 @@ difficulty: extreme title: Sum -tags: 'math, template-literal' +tags: "math, template-literal" author: github: uid11 name: null - diff --git a/questions/4803-medium-trim-right/info.yml b/questions/4803-medium-trim-right/info.yml index 15e51c45d..960662323 100644 --- a/questions/4803-medium-trim-right/info.yml +++ b/questions/4803-medium-trim-right/info.yml @@ -4,4 +4,4 @@ author: github: Talljack name: Yugang Cao -related: 106, 108 \ No newline at end of file +related: 106, 108 diff --git a/questions/5-extreme-readonly-keys/info.zh-CN.yml b/questions/5-extreme-readonly-keys/info.zh-CN.yml index 308c11e74..574363414 100644 --- a/questions/5-extreme-readonly-keys/info.zh-CN.yml +++ b/questions/5-extreme-readonly-keys/info.zh-CN.yml @@ -1 +1 @@ -title: 获取只读字段 \ No newline at end of file +title: 获取只读字段 diff --git a/questions/5117-medium-without/info.yml b/questions/5117-medium-without/info.yml index 100497e98..c96fa488f 100644 --- a/questions/5117-medium-without/info.yml +++ b/questions/5117-medium-without/info.yml @@ -4,4 +4,3 @@ tags: union, array author: github: Pineapple0919 name: Pineapple - diff --git a/questions/5140-medium-trunc/info.yml b/questions/5140-medium-trunc/info.yml index ca63e286f..484bb974a 100644 --- a/questions/5140-medium-trunc/info.yml +++ b/questions/5140-medium-trunc/info.yml @@ -4,4 +4,3 @@ tags: template-literal author: github: jiangshanmeta name: jiangshan - diff --git a/questions/5153-medium-indexof/info.yml b/questions/5153-medium-indexof/info.yml index cd6d88a2a..d55f08d37 100644 --- a/questions/5153-medium-indexof/info.yml +++ b/questions/5153-medium-indexof/info.yml @@ -4,4 +4,3 @@ tags: array author: github: Pineapple0919 name: Pineapple - diff --git a/questions/517-extreme-multiply/info.yml b/questions/517-extreme-multiply/info.yml index e99c89ceb..0e4ceaa41 100644 --- a/questions/517-extreme-multiply/info.yml +++ b/questions/517-extreme-multiply/info.yml @@ -1,8 +1,7 @@ difficulty: extreme title: Multiply -tags: 'math, template-literal' +tags: "math, template-literal" related: 476 author: github: uid11 name: null - diff --git a/questions/5181-hard-mutable-keys/info.yml b/questions/5181-hard-mutable-keys/info.yml index 975263b53..ec7c5f4d0 100644 --- a/questions/5181-hard-mutable-keys/info.yml +++ b/questions/5181-hard-mutable-keys/info.yml @@ -1,8 +1,7 @@ difficulty: hard title: Mutable Keys tags: utils -related: '2793' +related: "2793" author: github: Talljack name: Yugang Cao - diff --git a/questions/5181-hard-mutable-keys/test-cases.ts b/questions/5181-hard-mutable-keys/test-cases.ts index 037142808..c9b1928d6 100644 --- a/questions/5181-hard-mutable-keys/test-cases.ts +++ b/questions/5181-hard-mutable-keys/test-cases.ts @@ -1,8 +1,8 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ - Expect, "a">>, - Expect, "a">>, - Expect, "a" | "c" | "d">>, - Expect, never>> + Expect, 'a'>>, + Expect, 'a'>>, + Expect, 'a' | 'c' | 'd'>>, + Expect, never>> ] diff --git a/questions/527-medium-append-to-object/info.yml b/questions/527-medium-append-to-object/info.yml index 7d1de6656..91f01353a 100644 --- a/questions/527-medium-append-to-object/info.yml +++ b/questions/527-medium-append-to-object/info.yml @@ -4,4 +4,3 @@ tags: object-keys author: github: bre30kra69cs name: Andrey Krasovsky - diff --git a/questions/529-medium-absolute/info.yml b/questions/529-medium-absolute/info.yml index c7f7deab7..da28486db 100644 --- a/questions/529-medium-absolute/info.yml +++ b/questions/529-medium-absolute/info.yml @@ -1,7 +1,6 @@ difficulty: medium title: Absolute -tags: 'math, template-literal' +tags: "math, template-literal" author: github: bre30kra69cs name: Andrey Krasovsky - diff --git a/questions/531-medium-string-to-union/info.yml b/questions/531-medium-string-to-union/info.yml index bb3246674..141621ae5 100644 --- a/questions/531-medium-string-to-union/info.yml +++ b/questions/531-medium-string-to-union/info.yml @@ -1,7 +1,6 @@ difficulty: medium title: String to Union -tags: 'union, string' +tags: "union, string" author: github: bre30kra69cs name: Andrey Krasovsky - diff --git a/questions/531-medium-string-to-union/test-cases.ts b/questions/531-medium-string-to-union/test-cases.ts index 897708194..9346b00cd 100644 --- a/questions/531-medium-string-to-union/test-cases.ts +++ b/questions/531-medium-string-to-union/test-cases.ts @@ -1,8 +1,8 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ - Expect, never>>, - Expect, "t">>, - Expect, "h" | "e" | "l" | "l" | "o">>, - Expect, "c" | "o" | "r" | "o" | "n" | "a" | "v" | "i" | "r" | "u" | "s">>, + Expect, never>>, + Expect, 't'>>, + Expect, 'h' | 'e' | 'l' | 'l' | 'o'>>, + Expect, 'c' | 'o' | 'r' | 'o' | 'n' | 'a' | 'v' | 'i' | 'r' | 'u' | 's'>>, ] diff --git a/questions/5310-medium-join/info.yml b/questions/5310-medium-join/info.yml index 583db0ea7..8d89b84fe 100644 --- a/questions/5310-medium-join/info.yml +++ b/questions/5310-medium-join/info.yml @@ -4,4 +4,3 @@ tags: array author: github: Pineapple0919 name: Pineapple - diff --git a/questions/5310-medium-join/test-cases.ts b/questions/5310-medium-join/test-cases.ts index 0ae9f1830..d0fa4c867 100644 --- a/questions/5310-medium-join/test-cases.ts +++ b/questions/5310-medium-join/test-cases.ts @@ -1,8 +1,8 @@ import { Equal, Expect, ExpectFalse, NotEqual } from '@type-challenges/utils' type cases = [ - Expect, "a-p-p-l-e">>, - Expect, "Hello World">>, - Expect, "21212">>, - Expect, "o">> + Expect, 'a-p-p-l-e'>>, + Expect, 'Hello World'>>, + Expect, '21212'>>, + Expect, 'o'>> ] diff --git a/questions/5317-medium-lastindexof/info.yml b/questions/5317-medium-lastindexof/info.yml index ac8648bfe..2a7b1ee02 100644 --- a/questions/5317-medium-lastindexof/info.yml +++ b/questions/5317-medium-lastindexof/info.yml @@ -4,4 +4,3 @@ tags: array author: github: jiangshanmeta name: jiangshan - diff --git a/questions/5360-medium-unique/info.yml b/questions/5360-medium-unique/info.yml index 927991f7a..ef4413010 100644 --- a/questions/5360-medium-unique/info.yml +++ b/questions/5360-medium-unique/info.yml @@ -4,4 +4,3 @@ tags: array author: github: Pineapple0919 name: Pineapple - diff --git a/questions/5360-medium-unique/test-cases.ts b/questions/5360-medium-unique/test-cases.ts index 422bea973..de740662c 100644 --- a/questions/5360-medium-unique/test-cases.ts +++ b/questions/5360-medium-unique/test-cases.ts @@ -3,7 +3,7 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ Expect, [1, 2, 3]>>, Expect, [1, 2, 3, 4, 5, 6, 7]>>, - Expect, [1, "a", 2, "b"]>>, - Expect, [string, number, 1, "a", 2, "b"]>>, + Expect, [1, 'a', 2, 'b']>>, + Expect, [string, number, 1, 'a', 2, 'b']>>, Expect, [unknown, any, never]>> ] diff --git a/questions/5423-hard-intersection/info.yml b/questions/5423-hard-intersection/info.yml index ecdcffad0..a8f97cdf8 100644 --- a/questions/5423-hard-intersection/info.yml +++ b/questions/5423-hard-intersection/info.yml @@ -4,4 +4,3 @@ tags: union, array author: github: Pineapple0919 name: Pineapple - diff --git a/questions/545-hard-printf/info.yml b/questions/545-hard-printf/info.yml index 32300ca8b..474c5e07a 100644 --- a/questions/545-hard-printf/info.yml +++ b/questions/545-hard-printf/info.yml @@ -4,4 +4,3 @@ tags: template-literal author: github: BestMaster-YS name: null - diff --git a/questions/55-hard-union-to-intersection/info.yml b/questions/55-hard-union-to-intersection/info.yml index d5e5c0b0e..ce7000a57 100644 --- a/questions/55-hard-union-to-intersection/info.yml +++ b/questions/55-hard-union-to-intersection/info.yml @@ -1,7 +1,6 @@ difficulty: hard title: Union to Intersection -tags: 'utils, infer' +tags: "utils, infer" author: github: zheeeng name: Zheeeng - diff --git a/questions/55-hard-union-to-intersection/test-cases.ts b/questions/55-hard-union-to-intersection/test-cases.ts index 150cc7375..3e88ca873 100644 --- a/questions/55-hard-union-to-intersection/test-cases.ts +++ b/questions/55-hard-union-to-intersection/test-cases.ts @@ -1,6 +1,6 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ - Expect, 'foo' & 42 & true>>, - Expect 'foo') | ((i: 42) => true)>, (() => 'foo') & ((i: 42) => true)>>, + Expect, 'foo' & 42 & true>>, + Expect 'foo') | ((i: 42) => true)>, (() => 'foo') & ((i: 42) => true)>>, ] diff --git a/questions/553-hard-deep-object-to-unique/info.yml b/questions/553-hard-deep-object-to-unique/info.yml index 13ea4fc9b..14fde15a3 100644 --- a/questions/553-hard-deep-object-to-unique/info.yml +++ b/questions/553-hard-deep-object-to-unique/info.yml @@ -4,4 +4,3 @@ tags: deep author: github: uid11 name: null - diff --git a/questions/553-hard-deep-object-to-unique/test-cases.ts b/questions/553-hard-deep-object-to-unique/test-cases.ts index 79505171c..007f814a5 100644 --- a/questions/553-hard-deep-object-to-unique/test-cases.ts +++ b/questions/553-hard-deep-object-to-unique/test-cases.ts @@ -1,4 +1,4 @@ -import { Equal, IsTrue, IsFalse } from "@type-challenges/utils" +import { Equal, IsTrue, IsFalse } from '@type-challenges/utils' type Quz = { quz: 4 } @@ -16,10 +16,10 @@ foo = uniqFoo type cases = [ IsFalse>, - IsTrue>, - IsTrue>, - IsFalse>, - IsFalse>, - IsTrue>, + IsTrue>, + IsTrue>, + IsFalse>, + IsFalse>, + IsTrue>, IsTrue> -]; +] diff --git a/questions/57-hard-get-required/info.yml b/questions/57-hard-get-required/info.yml index 2f8f2813c..00ebc2ed9 100644 --- a/questions/57-hard-get-required/info.yml +++ b/questions/57-hard-get-required/info.yml @@ -5,4 +5,4 @@ author: github: zheeeng name: Zheeeng -related: 59 \ No newline at end of file +related: 59 diff --git a/questions/57-hard-get-required/test-cases.ts b/questions/57-hard-get-required/test-cases.ts index b3959151b..a46e1f6be 100644 --- a/questions/57-hard-get-required/test-cases.ts +++ b/questions/57-hard-get-required/test-cases.ts @@ -1,6 +1,6 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ - Expect, { foo: number }>>, - Expect, { foo: undefined }>>, + Expect, { foo: number }>>, + Expect, { foo: undefined }>>, ] diff --git a/questions/5821-medium-maptypes/info.yml b/questions/5821-medium-maptypes/info.yml index 3d3d25316..c0fbd3f86 100644 --- a/questions/5821-medium-maptypes/info.yml +++ b/questions/5821-medium-maptypes/info.yml @@ -4,4 +4,3 @@ tags: map, object, utils author: github: wokayme name: Krzysztof "Wokay" Łokaj - diff --git a/questions/5821-medium-maptypes/test-cases.ts b/questions/5821-medium-maptypes/test-cases.ts index 79833e110..1daae7806 100644 --- a/questions/5821-medium-maptypes/test-cases.ts +++ b/questions/5821-medium-maptypes/test-cases.ts @@ -1,12 +1,12 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ - Expect, { stringToArray: [];}>>, -Expect, { stringToNumber: number;}>>, -Expect, { stringToNumber: number; skipParsingMe: boolean;}>>, -Expect, {date: null | Date}>>, -Expect, {date: null | Date}>>, -Expect}, {mapFrom: Record; mapTo: string[];}>, { fields: string[];}>>, -Expect, { name: string;}>>, -Expect, {name: boolean; date: string;}>>, + Expect, { stringToArray: []}>>, + Expect, { stringToNumber: number}>>, + Expect, { stringToNumber: number; skipParsingMe: boolean}>>, + Expect, {date: null | Date}>>, + Expect, {date: null | Date}>>, + Expect}, {mapFrom: Record; mapTo: string[]}>, { fields: string[]}>>, + Expect, { name: string}>>, + Expect, {name: boolean; date: string}>>, ] diff --git a/questions/59-hard-get-optional/info.yml b/questions/59-hard-get-optional/info.yml index 6061e31a0..ae80e3bc8 100644 --- a/questions/59-hard-get-optional/info.yml +++ b/questions/59-hard-get-optional/info.yml @@ -5,4 +5,4 @@ author: github: zheeeng name: Zheeeng -related: 57 \ No newline at end of file +related: 57 diff --git a/questions/59-hard-get-optional/test-cases.ts b/questions/59-hard-get-optional/test-cases.ts index 772402582..895b82cee 100644 --- a/questions/59-hard-get-optional/test-cases.ts +++ b/questions/59-hard-get-optional/test-cases.ts @@ -1,6 +1,6 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ - Expect, { bar?: string }>>, - Expect, { bar?: undefined }>>, -] \ No newline at end of file + Expect, { bar?: string }>>, + Expect, { bar?: undefined }>>, +] diff --git a/questions/599-medium-merge/info.yml b/questions/599-medium-merge/info.yml index 54d46aa2c..6e34db1cf 100644 --- a/questions/599-medium-merge/info.yml +++ b/questions/599-medium-merge/info.yml @@ -4,4 +4,3 @@ tags: object author: github: ZYSzys name: ZYSzys - diff --git a/questions/599-medium-merge/template.ts b/questions/599-medium-merge/template.ts index 4c844c0ed..d674361ee 100644 --- a/questions/599-medium-merge/template.ts +++ b/questions/599-medium-merge/template.ts @@ -1 +1 @@ -type Merge = any; +type Merge = any diff --git a/questions/599-medium-merge/test-cases.ts b/questions/599-medium-merge/test-cases.ts index f9aa75df6..be6303482 100644 --- a/questions/599-medium-merge/test-cases.ts +++ b/questions/599-medium-merge/test-cases.ts @@ -1,18 +1,18 @@ import { Equal, Expect } from '@type-challenges/utils' type Foo = { - a: number; - b: string; -}; + a: number + b: string +} type Bar = { - b: number; - c: boolean; -}; + b: number + c: boolean +} type cases = [ Expect, { - a: number; - b: number; - c: boolean; + a: number + b: number + c: boolean }>> ] diff --git a/questions/6-hard-simple-vue/info.zh-CN.yml b/questions/6-hard-simple-vue/info.zh-CN.yml index 74dcf103a..08da5fbb9 100644 --- a/questions/6-hard-simple-vue/info.zh-CN.yml +++ b/questions/6-hard-simple-vue/info.zh-CN.yml @@ -1 +1 @@ -title: 简单的 Vue 类型 \ No newline at end of file +title: 简单的 Vue 类型 diff --git a/questions/610-medium-camelcase/info.yml b/questions/610-medium-camelcase/info.yml index d98510302..f7dc1d1c6 100644 --- a/questions/610-medium-camelcase/info.yml +++ b/questions/610-medium-camelcase/info.yml @@ -5,4 +5,4 @@ author: github: johnsoncodehk name: Johnson Chu -related: 612, 114 \ No newline at end of file +related: 612, 114 diff --git a/questions/610-medium-camelcase/template.ts b/questions/610-medium-camelcase/template.ts index f10bc4934..b43a02f53 100644 --- a/questions/610-medium-camelcase/template.ts +++ b/questions/610-medium-camelcase/template.ts @@ -1 +1 @@ -type CamelCase = any; +type CamelCase = any diff --git a/questions/612-medium-kebabcase/info.yml b/questions/612-medium-kebabcase/info.yml index 5eb7ece7c..e51692746 100644 --- a/questions/612-medium-kebabcase/info.yml +++ b/questions/612-medium-kebabcase/info.yml @@ -5,4 +5,4 @@ author: github: johnsoncodehk name: Johnson Chu -related: 610, 114 \ No newline at end of file +related: 610, 114 diff --git a/questions/612-medium-kebabcase/template.ts b/questions/612-medium-kebabcase/template.ts index 8aea01a88..420012c9a 100644 --- a/questions/612-medium-kebabcase/template.ts +++ b/questions/612-medium-kebabcase/template.ts @@ -1 +1 @@ -type KebabCase = any; +type KebabCase = any diff --git a/questions/6141-hard-binary-to-decimal/info.yml b/questions/6141-hard-binary-to-decimal/info.yml index 7fdf014ac..d79dc51d5 100644 --- a/questions/6141-hard-binary-to-decimal/info.yml +++ b/questions/6141-hard-binary-to-decimal/info.yml @@ -4,4 +4,3 @@ tags: math author: github: wotsushi name: wotsushi - diff --git a/questions/62-medium-type-lookup/info.yml b/questions/62-medium-type-lookup/info.yml index 3c2b7bc08..e776c76e6 100644 --- a/questions/62-medium-type-lookup/info.yml +++ b/questions/62-medium-type-lookup/info.yml @@ -1,7 +1,6 @@ difficulty: medium title: Type Lookup -tags: 'union, map' +tags: "union, map" author: github: antfu name: Anthony Fu - diff --git a/questions/6228-extreme-json-parser/info.yml b/questions/6228-extreme-json-parser/info.yml index 5ac00affa..cbee70f09 100644 --- a/questions/6228-extreme-json-parser/info.yml +++ b/questions/6228-extreme-json-parser/info.yml @@ -1,9 +1,8 @@ difficulty: extreme title: JSON Parser -tags: +tags: - template-literal - json author: github: hyroge name: Hydrogen - diff --git a/questions/6228-extreme-json-parser/template.ts b/questions/6228-extreme-json-parser/template.ts index d7d2ef92e..6130529b0 100644 --- a/questions/6228-extreme-json-parser/template.ts +++ b/questions/6228-extreme-json-parser/template.ts @@ -1,8 +1,8 @@ type Pure = { - [P in keyof T] : T[P] extends object ? Pure : T[P] + [P in keyof T]: T[P] extends object ? Pure : T[P] } -type SetProperty = { +type SetProperty = { [P in (keyof T) | K]: P extends K ? V : P extends keyof T ? T[P] : never } diff --git a/questions/6228-extreme-json-parser/test-cases.ts b/questions/6228-extreme-json-parser/test-cases.ts index bf54e5f63..2386487d2 100644 --- a/questions/6228-extreme-json-parser/test-cases.ts +++ b/questions/6228-extreme-json-parser/test-cases.ts @@ -15,43 +15,43 @@ type cases = [ `> ), ( { - nil: null; - c: [true, false, "hello", { - a: "b", + nil: null + c: [true, false, 'hello', { + a: 'b' b: false - }]; - b: false; - a: "b"; + }] + b: false + a: 'b' } )>>, - Expect, {}>>, + Expect, {}>>, - Expect, []>>, + Expect, []>>, - Expect, never>>, + Expect, never>>, - Expect, true>>, + Expect, true>>, Expect, - ["Hello", true, false, null] + Parse<'["Hello", true, false, null]'>, + ['Hello', true, false, null] >>, Expect - ), ( - { - "hello\r\n\b\f": "world" - } - ) + ), ( + { + 'hello\r\n\b\f': 'world' + } + ) >>, - Expect, never>>, + Expect, never>>, Expect, { gender: number }>>, - Expect, { gender: number }>>, - Expect, { age: string, gender: number }>>, - Expect, { age: string, gender: number }>>, + Expect, { gender: number }>>, + Expect, { age: string; gender: number }>>, + Expect, { age: string; gender: number }>>, ] diff --git a/questions/651-hard-length-of-string-2/info.yml b/questions/651-hard-length-of-string-2/info.yml index 33641a770..a314de593 100644 --- a/questions/651-hard-length-of-string-2/info.yml +++ b/questions/651-hard-length-of-string-2/info.yml @@ -5,4 +5,3 @@ related: 298 author: github: uid11 name: null - diff --git a/questions/651-hard-length-of-string-2/test-cases.ts b/questions/651-hard-length-of-string-2/test-cases.ts index ce3487fb1..9a9cf863e 100644 --- a/questions/651-hard-length-of-string-2/test-cases.ts +++ b/questions/651-hard-length-of-string-2/test-cases.ts @@ -1,29 +1,29 @@ import { Equal, IsTrue } from '@type-challenges/utils' type cases = [ - IsTrue, 0>>, - IsTrue, 1>>, - IsTrue, 2>>, - IsTrue, 3>>, - IsTrue, 4>>, - IsTrue, 5>>, - IsTrue, 6>>, - IsTrue, 7>>, - IsTrue, 8>>, - IsTrue, 9>>, - IsTrue, 10>>, - IsTrue, 11>>, - IsTrue, 12>>, - IsTrue, 13>>, - IsTrue, 14>>, - IsTrue, 15>>, - IsTrue, 16>>, - IsTrue, 17>>, - IsTrue, 18>>, - IsTrue, 19>>, - IsTrue, 20>>, - IsTrue, 21>>, - IsTrue, 22>>, - IsTrue, 23>>, - IsTrue, 272>>, -]; + IsTrue, 0>>, + IsTrue, 1>>, + IsTrue, 2>>, + IsTrue, 3>>, + IsTrue, 4>>, + IsTrue, 5>>, + IsTrue, 6>>, + IsTrue, 7>>, + IsTrue, 8>>, + IsTrue, 9>>, + IsTrue, 10>>, + IsTrue, 11>>, + IsTrue, 12>>, + IsTrue, 13>>, + IsTrue, 14>>, + IsTrue, 15>>, + IsTrue, 16>>, + IsTrue, 17>>, + IsTrue, 18>>, + IsTrue, 19>>, + IsTrue, 20>>, + IsTrue, 21>>, + IsTrue, 22>>, + IsTrue, 23>>, + IsTrue, 272>>, +] diff --git a/questions/697-extreme-tag/info.yml b/questions/697-extreme-tag/info.yml index 144f00500..27c67b346 100644 --- a/questions/697-extreme-tag/info.yml +++ b/questions/697-extreme-tag/info.yml @@ -3,4 +3,3 @@ title: Tag author: github: uid11 name: null - diff --git a/questions/697-extreme-tag/test-cases.ts b/questions/697-extreme-tag/test-cases.ts index 64f28b4f5..aa54b9a1f 100644 --- a/questions/697-extreme-tag/test-cases.ts +++ b/questions/697-extreme-tag/test-cases.ts @@ -1,65 +1,65 @@ -import { IsTrue, Expect, Equal } from "@type-challenges/utils"; +import { IsTrue, Expect, Equal } from '@type-challenges/utils' /** * Tests of assignable of tagged variables. */ interface I { - foo: string; + foo: string } -declare let x0: I; -declare let x1: Tag; -declare let x2: Tag; -declare let x3: Tag, "b">; -declare let x4: Tag, "a">; -declare let x5: Tag, "a">; -declare let x6: Tag, "b">; -declare let x7: UnTag, "b">>; +declare let x0: I +declare let x1: Tag +declare let x2: Tag +declare let x3: Tag, 'b'> +declare let x4: Tag, 'a'> +declare let x5: Tag, 'a'> +declare let x6: Tag, 'b'> +declare let x7: UnTag, 'b'>> -x0 = x1 = x0 = x2 = x0 = x3 = x0 = x4 = x0 = x5 = x0 = x6 = x0 = x7 = x0; -x1 = x2 = x1 = x3 = x1 = x4 = x1 = x5 = x1 = x6 = x1 = x7 = x1; -x2 = x3 = x2 = x4 = x2 = x5 = x2 = x6 = x2 = x6 = x2; -x3 = x4 = x4 = x5 = x3 = x6 = x3 = x7 = x3; -x4 = x5 = x5 = x6 = x4 = x7 = x4; -x5 = x6 = x5 = x7 = x5; -x6 = x7 = x6; +x0 = x1 = x0 = x2 = x0 = x3 = x0 = x4 = x0 = x5 = x0 = x6 = x0 = x7 = x0 +x1 = x2 = x1 = x3 = x1 = x4 = x1 = x5 = x1 = x6 = x1 = x7 = x1 +x2 = x3 = x2 = x4 = x2 = x5 = x2 = x6 = x2 = x6 = x2 +x3 = x4 = x4 = x5 = x3 = x6 = x3 = x7 = x3 +x4 = x5 = x5 = x6 = x4 = x7 = x4 +x5 = x6 = x5 = x7 = x5 +x6 = x7 = x6 -declare let y0: string; -declare let y1: Tag; -declare let y2: Tag; -declare let y3: Tag, "b">; -declare let y4: Tag, "a">; -declare let y5: Tag, "a">; -declare let y6: Tag, "b">; -declare let y7: UnTag, "b">>; +declare let y0: string +declare let y1: Tag +declare let y2: Tag +declare let y3: Tag, 'b'> +declare let y4: Tag, 'a'> +declare let y5: Tag, 'a'> +declare let y6: Tag, 'b'> +declare let y7: UnTag, 'b'>> -y0 = y1 = y0 = y2 = y0 = y3 = y0 = y4 = y0 = y5 = y0 = y6 = y0 = y7 = y0; -y1 = y2 = y1 = y3 = y1 = y4 = y1 = y5 = y1 = y6 = y1 = y7 = y1; -y2 = y3 = y2 = y4 = y2 = y5 = y2 = y6 = y2 = y7 = y2; -y3 = y4 = y4 = y5 = y3 = y6 = y3 = y7 = y3; -y4 = y5 = y5 = y6 = y4 = y7 = y4; -y5 = y6 = y5 = y7 = y5; -y6 = y7 = y6; +y0 = y1 = y0 = y2 = y0 = y3 = y0 = y4 = y0 = y5 = y0 = y6 = y0 = y7 = y0 +y1 = y2 = y1 = y3 = y1 = y4 = y1 = y5 = y1 = y6 = y1 = y7 = y1 +y2 = y3 = y2 = y4 = y2 = y5 = y2 = y6 = y2 = y7 = y2 +y3 = y4 = y4 = y5 = y3 = y6 = y3 = y7 = y3 +y4 = y5 = y5 = y6 = y4 = y7 = y4 +y5 = y6 = y5 = y7 = y5 +y6 = y7 = y6 // @ts-expect-error -x0 = y0; +x0 = y0 // @ts-expect-error -x1 = y1; +x1 = y1 // @ts-expect-error -x2 = y2; +x2 = y2 // @ts-expect-error -x3 = y3; +x3 = y3 // @ts-expect-error -x4 = y4; +x4 = y4 // @ts-expect-error -x5 = y5; +x5 = y5 // @ts-expect-error -x6 = y6; +x6 = y6 // @ts-expect-error -x7 = y7; +x7 = y7 -declare const UNIQUE_SYMBOL: unique symbol; -type US = typeof UNIQUE_SYMBOL; +declare const UNIQUE_SYMBOL: unique symbol +type US = typeof UNIQUE_SYMBOL /** * Tests of API (Tag, GetTags, Untag, HasTag, HasTags, HasExactTags). @@ -68,9 +68,9 @@ type cases = [ /** * Tag. */ - IsTrue, null>>, - IsTrue, undefined>>, - IsTrue & string>>, + IsTrue, null>>, + IsTrue, undefined>>, + IsTrue & string>>, /** * GetTags. @@ -78,18 +78,18 @@ type cases = [ IsTrue, []>>, IsTrue, []>>, IsTrue, []>>, - IsTrue>, ["foo"]>>, - IsTrue>, ["foo"]>>, - IsTrue | 1>, []>>, - IsTrue | Tag<1, "foo">>, ["foo"]>>, - IsTrue>, ["foo"]>>, - IsTrue>, ["foo"]>>, - IsTrue, "bar">>, ["foo", "bar"]>>, + IsTrue>, ['foo']>>, + IsTrue>, ['foo']>>, + IsTrue | 1>, []>>, + IsTrue | Tag<1, 'foo'>>, ['foo']>>, + IsTrue>, ['foo']>>, + IsTrue>, ['foo']>>, + IsTrue, 'bar'>>, ['foo', 'bar']>>, IsTrue< - Equal< - GetTags, "bar">, "baz">>, - ["foo", "bar", "baz"] - > + Equal< + GetTags, 'bar'>, 'baz'>>, + ['foo', 'bar', 'baz'] + > >, /** @@ -97,51 +97,51 @@ type cases = [ */ IsTrue, null>>, IsTrue, undefined>>, - IsTrue>, {}>>, - IsTrue, "bar">>, { x: 0 }>>, - IsTrue, "bar">>, keyof number>>, + IsTrue>, {}>>, + IsTrue, 'bar'>>, { x: 0 }>>, + IsTrue, 'bar'>>, keyof number>>, /** * HasTag. */ - Expect, false>>, - Expect, false>>, - Expect, "foo">, true>>, - Expect | {}, "foo">, false>>, - Expect, "foo">, true>>, - Expect | Tag<1, "foo">, "foo">, true>>, - Expect | Tag<1, "bar">, "foo">, false>>, - Expect, "bar">, "foo">, true>>, - Expect, "foo">, "foo">, true>>, - Expect, "baz">, "foo">, false>>, - Expect, "foo">, true>>, - Expect, "foo">, false>>, - Expect, "bar">, "bar">, false>>, - Expect, "bar">, "foo">, true>>, - Expect, "foo">, "foo">, true>>, - Expect, "foo">, true>>, - Expect, "bar">, false>>, - Expect, false>>, + Expect, false>>, + Expect, false>>, + Expect, 'foo'>, true>>, + Expect | {}, 'foo'>, false>>, + Expect, 'foo'>, true>>, + Expect | Tag<1, 'foo'>, 'foo'>, true>>, + Expect | Tag<1, 'bar'>, 'foo'>, false>>, + Expect, 'bar'>, 'foo'>, true>>, + Expect, 'foo'>, 'foo'>, true>>, + Expect, 'baz'>, 'foo'>, false>>, + Expect, 'foo'>, true>>, + Expect, 'foo'>, false>>, + Expect, 'bar'>, 'bar'>, false>>, + Expect, 'bar'>, 'foo'>, true>>, + Expect, 'foo'>, 'foo'>, true>>, + Expect, 'foo'>, true>>, + Expect, 'bar'>, false>>, + Expect, false>>, /** * HasTags. */ - Expect, false>>, - Expect, false>>, - Expect, ["foo"]>, false>>, - Expect, ["foo"]>, false>>, - Expect, ["foo"]>, true>>, - Expect, ["foo"]>, true>>, - Expect, ["foo"]>, true>>, - Expect, "bar">, ["foo", "bar"]>, true>>, - Expect, "bar">, ["foo", "bar"]>, true>>, - Expect, "foo">, ["foo", "bar"]>, false>>, - Expect, "foo">, "bar">, ["foo", "bar"]>, true>>, - Expect, "foo">, "bar">, ["foo", "bar"]>, true>>, - Expect, "bar">, "baz">, ["foo", "bar"]>, true>>, - Expect, "bar">, "baz">, ["foo", "bar"]>, true>>, - Expect, "baz">, "bar">, ["foo", "bar"]>, false>>, - Expect, "bar">, ["foo", "bar"]>, true>>, + Expect, false>>, + Expect, false>>, + Expect, ['foo']>, false>>, + Expect, ['foo']>, false>>, + Expect, ['foo']>, true>>, + Expect, ['foo']>, true>>, + Expect, ['foo']>, true>>, + Expect, 'bar'>, ['foo', 'bar']>, true>>, + Expect, 'bar'>, ['foo', 'bar']>, true>>, + Expect, 'foo'>, ['foo', 'bar']>, false>>, + Expect, 'foo'>, 'bar'>, ['foo', 'bar']>, true>>, + Expect, 'foo'>, 'bar'>, ['foo', 'bar']>, true>>, + Expect, 'bar'>, 'baz'>, ['foo', 'bar']>, true>>, + Expect, 'bar'>, 'baz'>, ['foo', 'bar']>, true>>, + Expect, 'baz'>, 'bar'>, ['foo', 'bar']>, false>>, + Expect, 'bar'>, ['foo', 'bar']>, true>>, /** * HasExactTags. @@ -149,13 +149,13 @@ type cases = [ Expect, true>>, Expect, true>>, Expect, true>>, - Expect, ["foo"]>, true>>, - Expect, ["bar"]>, false>>, - Expect, "bar">, ["foo", "bar"]>, true>>, - Expect, ["foo"]>, true>>, - Expect, ["foo"]>, true>>, - Expect, ["bar"]>, false>>, - Expect, "bar">, "baz">, ["foo", "bar"]>, false>>, - Expect, "bar">, "baz">, ["foo", "bar", "baz"]>, true>>, - Expect, "bar">, ["foo", "bar"]>, true>>, -]; + Expect, ['foo']>, true>>, + Expect, ['bar']>, false>>, + Expect, 'bar'>, ['foo', 'bar']>, true>>, + Expect, ['foo']>, true>>, + Expect, ['foo']>, true>>, + Expect, ['bar']>, false>>, + Expect, 'bar'>, 'baz'>, ['foo', 'bar']>, false>>, + Expect, 'bar'>, 'baz'>, ['foo', 'bar', 'baz']>, true>>, + Expect, 'bar'>, ['foo', 'bar']>, true>>, +] diff --git a/questions/7258-hard-object-key-paths/info.yml b/questions/7258-hard-object-key-paths/info.yml index fe6ec4e17..4bc10962e 100644 --- a/questions/7258-hard-object-key-paths/info.yml +++ b/questions/7258-hard-object-key-paths/info.yml @@ -4,4 +4,3 @@ tags: object-keys author: github: ChenKS12138 name: CattChen - diff --git a/questions/7258-hard-object-key-paths/template.ts b/questions/7258-hard-object-key-paths/template.ts index 2e5735330..a8fb613e1 100644 --- a/questions/7258-hard-object-key-paths/template.ts +++ b/questions/7258-hard-object-key-paths/template.ts @@ -1 +1 @@ -type ObjectKeyPaths = any; +type ObjectKeyPaths = any diff --git a/questions/7258-hard-object-key-paths/test-cases.ts b/questions/7258-hard-object-key-paths/test-cases.ts index 71eda060a..04b25853f 100644 --- a/questions/7258-hard-object-key-paths/test-cases.ts +++ b/questions/7258-hard-object-key-paths/test-cases.ts @@ -1,40 +1,40 @@ -import { Equal, Expect, ExpectExtends } from "@type-challenges/utils"; +import { Equal, Expect, ExpectExtends } from '@type-challenges/utils' const ref = { count: 1, person: { - name: "cattchen", + name: 'cattchen', age: 22, - books: ["book1", "book2"], + books: ['book1', 'book2'], pets: [ { - type: "cat", + type: 'cat', }, ], }, -}; +} type cases = [ - Expect, "name" | "age">>, + Expect, 'name' | 'age'>>, Expect< - Equal< - ObjectKeyPaths<{ - refCount: number; - person: { name: string; age: number }; - }>, - "refCount" | "person" | "person.name" | "person.age" - > + Equal< + ObjectKeyPaths<{ + refCount: number + person: { name: string; age: number } + }>, + 'refCount' | 'person' | 'person.name' | 'person.age' + > >, - Expect, "count">>, - Expect, "person">>, - Expect, "person.name">>, - Expect, "person.age">>, - Expect, "person.books">>, - Expect, "person.pets">>, - Expect, "person.books.0">>, - Expect, "person.books.1">>, - Expect, "person.books[0]">>, - Expect, "person.books.[0]">>, - Expect, "person.pets.0.type">>, - Expect, "notExist">, false>> -]; + Expect, 'count'>>, + Expect, 'person'>>, + Expect, 'person.name'>>, + Expect, 'person.age'>>, + Expect, 'person.books'>>, + Expect, 'person.pets'>>, + Expect, 'person.books.0'>>, + Expect, 'person.books.1'>>, + Expect, 'person.books[0]'>>, + Expect, 'person.books.[0]'>>, + Expect, 'person.pets.0.type'>>, + Expect, 'notExist'>, false>> +] diff --git a/questions/7258-medium-objectkeypaths/info.yml b/questions/7258-medium-objectkeypaths/info.yml index 366d8dbb6..303ae8856 100644 --- a/questions/7258-medium-objectkeypaths/info.yml +++ b/questions/7258-medium-objectkeypaths/info.yml @@ -4,4 +4,3 @@ tags: object-keys author: github: ChenKS12138 name: CattChen - diff --git a/questions/7258-medium-objectkeypaths/template.ts b/questions/7258-medium-objectkeypaths/template.ts index 2e5735330..a8fb613e1 100644 --- a/questions/7258-medium-objectkeypaths/template.ts +++ b/questions/7258-medium-objectkeypaths/template.ts @@ -1 +1 @@ -type ObjectKeyPaths = any; +type ObjectKeyPaths = any diff --git a/questions/7258-medium-objectkeypaths/test-cases.ts b/questions/7258-medium-objectkeypaths/test-cases.ts index 71eda060a..04b25853f 100644 --- a/questions/7258-medium-objectkeypaths/test-cases.ts +++ b/questions/7258-medium-objectkeypaths/test-cases.ts @@ -1,40 +1,40 @@ -import { Equal, Expect, ExpectExtends } from "@type-challenges/utils"; +import { Equal, Expect, ExpectExtends } from '@type-challenges/utils' const ref = { count: 1, person: { - name: "cattchen", + name: 'cattchen', age: 22, - books: ["book1", "book2"], + books: ['book1', 'book2'], pets: [ { - type: "cat", + type: 'cat', }, ], }, -}; +} type cases = [ - Expect, "name" | "age">>, + Expect, 'name' | 'age'>>, Expect< - Equal< - ObjectKeyPaths<{ - refCount: number; - person: { name: string; age: number }; - }>, - "refCount" | "person" | "person.name" | "person.age" - > + Equal< + ObjectKeyPaths<{ + refCount: number + person: { name: string; age: number } + }>, + 'refCount' | 'person' | 'person.name' | 'person.age' + > >, - Expect, "count">>, - Expect, "person">>, - Expect, "person.name">>, - Expect, "person.age">>, - Expect, "person.books">>, - Expect, "person.pets">>, - Expect, "person.books.0">>, - Expect, "person.books.1">>, - Expect, "person.books[0]">>, - Expect, "person.books.[0]">>, - Expect, "person.pets.0.type">>, - Expect, "notExist">, false>> -]; + Expect, 'count'>>, + Expect, 'person'>>, + Expect, 'person.name'>>, + Expect, 'person.age'>>, + Expect, 'person.books'>>, + Expect, 'person.pets'>>, + Expect, 'person.books.0'>>, + Expect, 'person.books.1'>>, + Expect, 'person.books[0]'>>, + Expect, 'person.books.[0]'>>, + Expect, 'person.pets.0.type'>>, + Expect, 'notExist'>, false>> +] diff --git a/questions/730-hard-union-to-tuple/info.yml b/questions/730-hard-union-to-tuple/info.yml index 2533cff15..4bd2bf6a8 100644 --- a/questions/730-hard-union-to-tuple/info.yml +++ b/questions/730-hard-union-to-tuple/info.yml @@ -5,4 +5,4 @@ author: github: suica name: Sg -related: 10, 11, 55, 472, 3188 \ No newline at end of file +related: 10, 11, 55, 472, 3188 diff --git a/questions/730-hard-union-to-tuple/test-cases.ts b/questions/730-hard-union-to-tuple/test-cases.ts index 343417f0b..74e8eef2a 100644 --- a/questions/730-hard-union-to-tuple/test-cases.ts +++ b/questions/730-hard-union-to-tuple/test-cases.ts @@ -1,17 +1,17 @@ -import {Equal, Expect} from '@type-challenges/utils' +import { Equal, Expect } from '@type-challenges/utils' type ExtractValuesOfTuple = T[keyof T & number] type cases = [ - Expect['length'], 2>>, - Expect>, 'a' | 'b'>>, - Expect>, 'a'>>, - Expect>, any>>, - Expect>, void | 1>>, - Expect>, any | 1>>, - Expect>, any>>, - Expect>, 'f' | 'd' | 1>>, - Expect>, [{ a: 1 }] | 1>>, - Expect>, never>>, - Expect>, 'f' | 'e' | 1 | 2 | 'g' | 'c' | 'd' | 'a' | 'b'>>, + Expect['length'], 2>>, + Expect>, 'a' | 'b'>>, + Expect>, 'a'>>, + Expect>, any>>, + Expect>, void | 1>>, + Expect>, any | 1>>, + Expect>, any>>, + Expect>, 'f' | 'd' | 1>>, + Expect>, [{ a: 1 }] | 1>>, + Expect>, never>>, + Expect>, 'f' | 'e' | 1 | 2 | 'g' | 'c' | 'd' | 'a' | 'b'>>, ] diff --git a/questions/734-extreme-inclusive-range/info.yml b/questions/734-extreme-inclusive-range/info.yml index 05a9ff7b4..3dae5a198 100644 --- a/questions/734-extreme-inclusive-range/info.yml +++ b/questions/734-extreme-inclusive-range/info.yml @@ -4,4 +4,3 @@ tags: infer, array author: github: suica name: Sg - diff --git a/questions/734-extreme-inclusive-range/template.ts b/questions/734-extreme-inclusive-range/template.ts index 2c9ac94db..e1e6e50cb 100644 --- a/questions/734-extreme-inclusive-range/template.ts +++ b/questions/734-extreme-inclusive-range/template.ts @@ -1 +1 @@ -type InclusiveRange = any +type InclusiveRange = any diff --git a/questions/734-extreme-inclusive-range/test-cases.ts b/questions/734-extreme-inclusive-range/test-cases.ts index 3cfd85da1..948c036e0 100644 --- a/questions/734-extreme-inclusive-range/test-cases.ts +++ b/questions/734-extreme-inclusive-range/test-cases.ts @@ -4,7 +4,7 @@ type cases = [ Expect, []>>, Expect, []>>, Expect, [5]>>, - Expect, [0,1,2,3,4,5,6,7,8,9,10]>>, - Expect, [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200]>>, - Expect,[22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146]>> + Expect, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]>>, + Expect, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200]>>, + Expect, [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146]>> ] diff --git a/questions/741-extreme-sort/info.yml b/questions/741-extreme-sort/info.yml index 2e80c6c71..1195fffab 100644 --- a/questions/741-extreme-sort/info.yml +++ b/questions/741-extreme-sort/info.yml @@ -4,4 +4,3 @@ tags: infer, array author: github: suica name: Sg - diff --git a/questions/741-extreme-sort/test-cases.ts b/questions/741-extreme-sort/test-cases.ts index 4807ddd40..d96c532e4 100644 --- a/questions/741-extreme-sort/test-cases.ts +++ b/questions/741-extreme-sort/test-cases.ts @@ -1,23 +1,23 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ - Expect, []>>, - Expect, [1]>>, - Expect, [1, 2]>>, - Expect, [0, 0, 0]>>, - Expect, [1, 2, 3]>>, - Expect, [1, 2, 3]>>, - Expect, [1, 2, 2, 3]>>, - Expect, [0, 0, 0, 0, 1, 2, 3]>>, - Expect, [2, 4, 5, 6, 6, 6, 7, 8, 9]>>, - Expect, [1, 1, 1, 1, 1, 1, 1, 1, 2]>>, - Expect, []>>, - Expect, [1]>>, - Expect, [2, 1]>>, - Expect, [0, 0, 0]>>, - Expect, [3, 2, 1]>>, - Expect, [3, 2, 1]>>, - Expect, [3, 2, 2, 1]>>, - Expect, [3, 2, 1, 0, 0, 0, 0]>>, - Expect, [9, 8, 7, 6, 6, 6, 5, 4, 2]>> + Expect, []>>, + Expect, [1]>>, + Expect, [1, 2]>>, + Expect, [0, 0, 0]>>, + Expect, [1, 2, 3]>>, + Expect, [1, 2, 3]>>, + Expect, [1, 2, 2, 3]>>, + Expect, [0, 0, 0, 0, 1, 2, 3]>>, + Expect, [2, 4, 5, 6, 6, 6, 7, 8, 9]>>, + Expect, [1, 1, 1, 1, 1, 1, 1, 1, 2]>>, + Expect, []>>, + Expect, [1]>>, + Expect, [2, 1]>>, + Expect, [0, 0, 0]>>, + Expect, [3, 2, 1]>>, + Expect, [3, 2, 1]>>, + Expect, [3, 2, 2, 1]>>, + Expect, [3, 2, 1, 0, 0, 0, 0]>>, + Expect, [9, 8, 7, 6, 6, 6, 5, 4, 2]>> ] diff --git a/questions/7544-medium-construct-tuple/info.yml b/questions/7544-medium-construct-tuple/info.yml index aec650602..bf98fb7b6 100644 --- a/questions/7544-medium-construct-tuple/info.yml +++ b/questions/7544-medium-construct-tuple/info.yml @@ -4,4 +4,3 @@ tags: tuple author: github: LoTwT name: Lo - diff --git a/questions/7544-medium-construct-tuple/test-cases.ts b/questions/7544-medium-construct-tuple/test-cases.ts index 3f8387528..91474134f 100644 --- a/questions/7544-medium-construct-tuple/test-cases.ts +++ b/questions/7544-medium-construct-tuple/test-cases.ts @@ -3,7 +3,7 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ Expect, []>>, Expect, [unknown, unknown]>>, - Expect["length"], 999>>, + Expect['length'], 999>>, // @ts-expect-error - Expect["length"], 1000>>, + Expect['length'], 1000>>, ] diff --git a/questions/7561-extreme-subtract/info.yml b/questions/7561-extreme-subtract/info.yml index 45db42649..4546bc5ac 100644 --- a/questions/7561-extreme-subtract/info.yml +++ b/questions/7561-extreme-subtract/info.yml @@ -4,4 +4,3 @@ tags: tuple author: github: LoTwT name: Lo - diff --git a/questions/8-medium-readonly-2/info.zh-CN.yml b/questions/8-medium-readonly-2/info.zh-CN.yml index 21087c3aa..e314ed2ee 100644 --- a/questions/8-medium-readonly-2/info.zh-CN.yml +++ b/questions/8-medium-readonly-2/info.zh-CN.yml @@ -1 +1 @@ -title: Readonly 2 \ No newline at end of file +title: Readonly 2 diff --git a/questions/847-hard-string-join/info.yml b/questions/847-hard-string-join/info.yml index c18bf5c19..7aa7a081b 100644 --- a/questions/847-hard-string-join/info.yml +++ b/questions/847-hard-string-join/info.yml @@ -3,4 +3,3 @@ title: String Join author: github: tl-matt-davis name: Matt Davis - diff --git a/questions/847-hard-string-join/template.ts b/questions/847-hard-string-join/template.ts index ffdcc9695..279168eec 100644 --- a/questions/847-hard-string-join/template.ts +++ b/questions/847-hard-string-join/template.ts @@ -1 +1 @@ -declare function join(delimiter: any): (...parts: any[]) => any; +declare function join(delimiter: any): (...parts: any[]) => any diff --git a/questions/847-hard-string-join/test-cases.ts b/questions/847-hard-string-join/test-cases.ts index 70a4131fc..0d2d40dfe 100644 --- a/questions/847-hard-string-join/test-cases.ts +++ b/questions/847-hard-string-join/test-cases.ts @@ -1,22 +1,22 @@ import { Equal, Expect } from '@type-challenges/utils' // Edge cases -const noCharsOutput = join('-')(); -const oneCharOutput = join('-')('a'); -const noDelimiterOutput = join('')('a', 'b', 'c'); +const noCharsOutput = join('-')() +const oneCharOutput = join('-')('a') +const noDelimiterOutput = join('')('a', 'b', 'c') // Regular cases -const hyphenOutput = join('-')('a', 'b', 'c'); -const hashOutput = join('#')('a', 'b', 'c'); -const twoCharOutput = join('-')('a', 'b'); -const longOutput = join('-')('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'); +const hyphenOutput = join('-')('a', 'b', 'c') +const hashOutput = join('#')('a', 'b', 'c') +const twoCharOutput = join('-')('a', 'b') +const longOutput = join('-')('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h') type cases = [ - Expect>, - Expect>, - Expect>, - Expect>, - Expect>, - Expect>, - Expect>, + Expect>, + Expect>, + Expect>, + Expect>, + Expect>, + Expect>, + Expect>, ] diff --git a/questions/869-extreme-distributeunions/info.yml b/questions/869-extreme-distributeunions/info.yml index 344c76df5..c1f830e29 100644 --- a/questions/869-extreme-distributeunions/info.yml +++ b/questions/869-extreme-distributeunions/info.yml @@ -3,4 +3,3 @@ title: DistributeUnions author: github: gvergnaud name: Gabriel Vergnaud - diff --git a/questions/869-extreme-distributeunions/test-cases.ts b/questions/869-extreme-distributeunions/test-cases.ts index eb069052c..c9f10abd9 100644 --- a/questions/869-extreme-distributeunions/test-cases.ts +++ b/questions/869-extreme-distributeunions/test-cases.ts @@ -1,82 +1,82 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ - // Already distributed unions should stay the same: - Expect, 1>>, - Expect, string>>, - Expect, 1 | 2>>, - Expect, 'b' | { type: 'a' } | [1]>>, - // tuples: - Expect, [1, 3] | [2, 3]>>, - Expect, [1, 'a'] | [1, 'b'] | [2, 'a'] | [2, 'b']>>, - Expect< - Equal< - DistributeUnions<[1 | 2, 'a' | 'b', false | true]>, - | [1, 'a', false] - | [1, 'a', true] - | [1, 'b', false] - | [1, 'b', true] - | [2, 'a', false] - | [2, 'a', true] - | [2, 'b', false] - | [2, 'b', true] - > - >, - // objects - Expect< - Equal< - DistributeUnions<{ x: 'a' | 'b'; y: 'c' | 'd' }>, - { x: 'a'; y: 'c' } | { x: 'a'; y: 'd' } | { x: 'b'; y: 'c' } | { x: 'b'; y: 'd' } - > - >, - Expect< - Equal< - DistributeUnions<{ type: 'a'; value: number | string } | { type: 'b'; value: boolean }>, - | { type: 'a'; value: string } - | { type: 'a'; value: number } - | { type: 'b'; value: false } - | { type: 'b'; value: true } - > - >, - Expect< - Equal< - DistributeUnions< - | { - type: 'a'; - option: { kind: 'none' } | { kind: 'some'; value: 'x' | 'y' }; - } - | { type: 'b'; msg: string } - >, - | { type: 'b'; msg: string } - | { type: 'a'; option: { kind: 'none' } } - | { type: 'a'; option: { kind: 'some'; value: 'x' } } - | { type: 'a'; option: { kind: 'some'; value: 'y' } } - > - >, - // mixed structures: - Expect< - Equal< - DistributeUnions<[false | true, { value: 'a' | 'b' }, { x: { y: 2 | 3 } }]>, - | [false, { value: 'a' }, { x: { y: 2 } }] - | [false, { value: 'a' }, { x: { y: 3 } }] - | [false, { value: 'b' }, { x: { y: 2 } }] - | [false, { value: 'b' }, { x: { y: 3 } }] - | [true, { value: 'a' }, { x: { y: 2 } }] - | [true, { value: 'a' }, { x: { y: 3 } }] - | [true, { value: 'b' }, { x: { y: 2 } }] - | [true, { value: 'b' }, { x: { y: 3 } }] - > - >, - Expect< - Equal< - DistributeUnions<17 | [10 | { value: 'a' | 'b' }, { x: { y: 2 | 3 } }]>, - | 17 - | [10, { x: { y: 2 } }] - | [10, { x: { y: 3 } }] - | [{ value: 'a' }, { x: { y: 2 } }] - | [{ value: 'a' }, { x: { y: 3 } }] - | [{ value: 'b' }, { x: { y: 2 } }] - | [{ value: 'b' }, { x: { y: 3 } }] - > - >, -]; + // Already distributed unions should stay the same: + Expect, 1>>, + Expect, string>>, + Expect, 1 | 2>>, + Expect, 'b' | { type: 'a' } | [1]>>, + // tuples: + Expect, [1, 3] | [2, 3]>>, + Expect, [1, 'a'] | [1, 'b'] | [2, 'a'] | [2, 'b']>>, + Expect< + Equal< + DistributeUnions<[1 | 2, 'a' | 'b', false | true]>, + | [1, 'a', false] + | [1, 'a', true] + | [1, 'b', false] + | [1, 'b', true] + | [2, 'a', false] + | [2, 'a', true] + | [2, 'b', false] + | [2, 'b', true] + > + >, + // objects + Expect< + Equal< + DistributeUnions<{ x: 'a' | 'b'; y: 'c' | 'd' }>, + { x: 'a'; y: 'c' } | { x: 'a'; y: 'd' } | { x: 'b'; y: 'c' } | { x: 'b'; y: 'd' } + > + >, + Expect< + Equal< + DistributeUnions<{ type: 'a'; value: number | string } | { type: 'b'; value: boolean }>, + | { type: 'a'; value: string } + | { type: 'a'; value: number } + | { type: 'b'; value: false } + | { type: 'b'; value: true } + > + >, + Expect< + Equal< + DistributeUnions< + | { + type: 'a' + option: { kind: 'none' } | { kind: 'some'; value: 'x' | 'y' } + } + | { type: 'b'; msg: string } + >, + | { type: 'b'; msg: string } + | { type: 'a'; option: { kind: 'none' } } + | { type: 'a'; option: { kind: 'some'; value: 'x' } } + | { type: 'a'; option: { kind: 'some'; value: 'y' } } + > + >, + // mixed structures: + Expect< + Equal< + DistributeUnions<[false | true, { value: 'a' | 'b' }, { x: { y: 2 | 3 } }]>, + | [false, { value: 'a' }, { x: { y: 2 } }] + | [false, { value: 'a' }, { x: { y: 3 } }] + | [false, { value: 'b' }, { x: { y: 2 } }] + | [false, { value: 'b' }, { x: { y: 3 } }] + | [true, { value: 'a' }, { x: { y: 2 } }] + | [true, { value: 'a' }, { x: { y: 3 } }] + | [true, { value: 'b' }, { x: { y: 2 } }] + | [true, { value: 'b' }, { x: { y: 3 } }] + > + >, + Expect< + Equal< + DistributeUnions<17 | [10 | { value: 'a' | 'b' }, { x: { y: 2 | 3 } }]>, + | 17 + | [10, { x: { y: 2 } }] + | [10, { x: { y: 3 } }] + | [{ value: 'a' }, { x: { y: 2 } }] + | [{ value: 'a' }, { x: { y: 3 } }] + | [{ value: 'b' }, { x: { y: 2 } }] + | [{ value: 'b' }, { x: { y: 3 } }] + > + >, +] diff --git a/questions/8767-meduim-permuatation-and-combination/info.yml b/questions/8767-meduim-permuatation-and-combination/info.yml index 5ccf56c9f..2926909d5 100644 --- a/questions/8767-meduim-permuatation-and-combination/info.yml +++ b/questions/8767-meduim-permuatation-and-combination/info.yml @@ -4,4 +4,3 @@ tags: array, application, string author: github: HomyeeKing name: Homyee King - diff --git a/questions/89-hard-required-keys/info.yml b/questions/89-hard-required-keys/info.yml index f9835764f..23a4072b6 100644 --- a/questions/89-hard-required-keys/info.yml +++ b/questions/89-hard-required-keys/info.yml @@ -5,4 +5,3 @@ related: 5 author: github: yi-tuan name: yituan - diff --git a/questions/89-hard-required-keys/test-cases.ts b/questions/89-hard-required-keys/test-cases.ts index 20c0e0753..733ea6151 100644 --- a/questions/89-hard-required-keys/test-cases.ts +++ b/questions/89-hard-required-keys/test-cases.ts @@ -1,8 +1,8 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ - Expect, "a">>, - Expect, "a">>, - Expect, "a" | "c" | "d">>, - Expect, never>> + Expect, 'a'>>, + Expect, 'a'>>, + Expect, 'a' | 'c' | 'd'>>, + Expect, never>> ] diff --git a/questions/898-easy-includes/info.yml b/questions/898-easy-includes/info.yml index f244b051e..e4d28f87f 100644 --- a/questions/898-easy-includes/info.yml +++ b/questions/898-easy-includes/info.yml @@ -4,4 +4,3 @@ tags: array author: github: kynefuk name: null - diff --git a/questions/898-easy-includes/template.ts b/questions/898-easy-includes/template.ts index b2d1ae026..0adbdc549 100644 --- a/questions/898-easy-includes/template.ts +++ b/questions/898-easy-includes/template.ts @@ -1 +1 @@ -type Includes = any; +type Includes = any diff --git a/questions/9-medium-deep-readonly/info.zh-CN.yml b/questions/9-medium-deep-readonly/info.zh-CN.yml index 9f77bdb7b..ba0309f00 100644 --- a/questions/9-medium-deep-readonly/info.zh-CN.yml +++ b/questions/9-medium-deep-readonly/info.zh-CN.yml @@ -1 +1 @@ -title: 深度 Readonly \ No newline at end of file +title: 深度 Readonly diff --git a/questions/90-hard-optional-keys/info.yml b/questions/90-hard-optional-keys/info.yml index b7e26ebaa..c49bef918 100644 --- a/questions/90-hard-optional-keys/info.yml +++ b/questions/90-hard-optional-keys/info.yml @@ -1,8 +1,7 @@ difficulty: hard title: Optional Keys tags: utils -related: '89, 5' +related: "89, 5" author: github: yi-tuan name: yituan - diff --git a/questions/90-hard-optional-keys/test-cases.ts b/questions/90-hard-optional-keys/test-cases.ts index d887581c0..ee39edabe 100644 --- a/questions/90-hard-optional-keys/test-cases.ts +++ b/questions/90-hard-optional-keys/test-cases.ts @@ -1,8 +1,8 @@ import { Equal, Expect } from '@type-challenges/utils' type cases = [ - Expect, "b">>, - Expect, "b">>, - Expect, "b" | "c" | "d">>, - Expect, never>> + Expect, 'b'>>, + Expect, 'b'>>, + Expect, 'b' | 'c' | 'd'>>, + Expect, never>> ] diff --git a/questions/925-extreme-assert-array-index/info.yml b/questions/925-extreme-assert-array-index/info.yml index aa9076128..14a12ff2f 100644 --- a/questions/925-extreme-assert-array-index/info.yml +++ b/questions/925-extreme-assert-array-index/info.yml @@ -6,4 +6,3 @@ tsconfig: author: github: uid11 name: null - diff --git a/questions/925-extreme-assert-array-index/test-cases.ts b/questions/925-extreme-assert-array-index/test-cases.ts index ebff3294a..bd0a9608e 100644 --- a/questions/925-extreme-assert-array-index/test-cases.ts +++ b/questions/925-extreme-assert-array-index/test-cases.ts @@ -1,100 +1,100 @@ const matrix = [ - [3, 4], - [5, 6], - [7, 8], -]; + [3, 4], + [5, 6], + [7, 8], +] -assertArrayIndex(matrix, 'rows'); +assertArrayIndex(matrix, 'rows') -let sum = 0; +let sum = 0 for (let i = 0 as Index; i < matrix.length; i += 1) { - const columns: number[] = matrix[i]; + const columns: number[] = matrix[i] - // @ts-expect-error: number | undefined in not assignable to number - const x: number[] = matrix[0]; + // @ts-expect-error: number | undefined in not assignable to number + const x: number[] = matrix[0] - assertArrayIndex(columns, 'columns'); + assertArrayIndex(columns, 'columns') - for (let j = 0 as Index; j < columns.length; j += 1) { - sum += columns[j]; + for (let j = 0 as Index; j < columns.length; j += 1) { + sum += columns[j] - // @ts-expect-error: number | undefined in not assignable to number - const y: number = columns[i]; + // @ts-expect-error: number | undefined in not assignable to number + const y: number = columns[i] - // @ts-expect-error: number | undefined in not assignable to number - const z: number = columns[0]; + // @ts-expect-error: number | undefined in not assignable to number + const z: number = columns[0] - // @ts-expect-error: number[] | undefined in not assignable to number[] - const u: number[] = matrix[j]; - } + // @ts-expect-error: number[] | undefined in not assignable to number[] + const u: number[] = matrix[j] + } } -const a: string[] = []; +const a: string[] = [] -assertArrayIndex(a, 'a'); +assertArrayIndex(a, 'a') for (let p = 0 as Index; p < a.length; p += 1) { - const value: string = a[p]; + const value: string = a[p] - // @ts-expect-error: string | undefined is not assignable to string - const z: string = a[2]; + // @ts-expect-error: string | undefined is not assignable to string + const z: string = a[2] } -a.push('qux'); +a.push('qux') // @ts-expect-error: number is not assignable to string -a.push(3); +a.push(3) for (const value of a) { - const other: string = value; + const other: string = value } -const b: number[] = []; +const b: number[] = [] -assertArrayIndex(b, 'b'); +assertArrayIndex(b, 'b') for (let p = 0 as Index; p < b.length; p += 1) { - // @ts-expect-error: number | undefined is not assignable to string - const value: string = b[p]; + // @ts-expect-error: number | undefined is not assignable to string + const value: string = b[p] } -const c: string[] = []; +const c: string[] = [] -assertArrayIndex(c, 'c'); +assertArrayIndex(c, 'c') for (let p = 0; p < c.length; p += 1) { - // @ts-expect-error: string | undefined is not assignable to string - let value: string = c[p]; + // @ts-expect-error: string | undefined is not assignable to string + let value: string = c[p] - // @ts-expect-error: string | undefined is not assignable to string - value = c[0 as Index]; + // @ts-expect-error: string | undefined is not assignable to string + value = c[0 as Index] } -const d: readonly number[] = []; +const d: readonly number[] = [] -assertArrayIndex(d, 'd'); +assertArrayIndex(d, 'd') for (let p = 0 as Index; p < d.length; p += 1) { - const value: number = d[p]; + const value: number = d[p] - // @ts-expect-error: only permits reading - d[2] = 3; + // @ts-expect-error: only permits reading + d[2] = 3 } // @ts-expect-error: push does not exist on readonly -d.push(3); +d.push(3) -const e: [number] = [0]; +const e: [number] = [0] // @ts-expect-error: [number] is not assignable to never -assertArrayIndex(e, 'e'); +assertArrayIndex(e, 'e') -const f: readonly [boolean] = [false]; +const f: readonly [boolean] = [false] // @ts-expect-error: [boolean] is not assignable to never -assertArrayIndex(f, 'f'); +assertArrayIndex(f, 'f') -const tuple = [5, 7] as const; +const tuple = [5, 7] as const // @ts-expect-error: readonly [5, 7] is not assignable to never -assertArrayIndex(tuple, 'tuple'); +assertArrayIndex(tuple, 'tuple') diff --git a/questions/949-medium-anyof/info.yml b/questions/949-medium-anyof/info.yml index ae2feebcd..3ff81bd39 100644 --- a/questions/949-medium-anyof/info.yml +++ b/questions/949-medium-anyof/info.yml @@ -4,4 +4,3 @@ tags: array author: github: kynefuk name: null - diff --git a/questions/949-medium-anyof/template.ts b/questions/949-medium-anyof/template.ts index 8eabc01cd..111d54552 100644 --- a/questions/949-medium-anyof/template.ts +++ b/questions/949-medium-anyof/template.ts @@ -1 +1 @@ -type AnyOf = any; +type AnyOf = any diff --git a/questions/956-hard-deeppick/info.yml b/questions/956-hard-deeppick/info.yml index fef5d80f0..aa599ae74 100644 --- a/questions/956-hard-deeppick/info.yml +++ b/questions/956-hard-deeppick/info.yml @@ -4,4 +4,3 @@ tags: deep author: github: hiroyaiizuka name: hiroya iizuka - diff --git a/questions/956-hard-deeppick/test-cases.ts b/questions/956-hard-deeppick/test-cases.ts index 25bffbdc5..910c4ad6b 100644 --- a/questions/956-hard-deeppick/test-cases.ts +++ b/questions/956-hard-deeppick/test-cases.ts @@ -1,23 +1,23 @@ import { Equal, Expect } from '@type-challenges/utils' type Obj = { - a: number, - b: string, - c: boolean, + a: number + b: string + c: boolean obj: { - d: number, - e: string, - f: boolean, + d: number + e: string + f: boolean obj2: { - g: number, - h: string, - i: boolean, + g: number + h: string + i: boolean } - }, + } obj3: { - j: number, - k: string, - l: boolean, + j: number + k: string + l: boolean } } diff --git a/scripts/actions/issue-pr.ts b/scripts/actions/issue-pr.ts index e99f050d7..e2aeafbaa 100644 --- a/scripts/actions/issue-pr.ts +++ b/scripts/actions/issue-pr.ts @@ -9,7 +9,7 @@ import { resolveFilePath } from '../utils/resolve' import { formatToCode } from './utils/formatToCode' const Messages = { - en: { + 'en': { info: 'Info', template: 'Template', tests: 'Test Cases', diff --git a/scripts/actions/loader.ts b/scripts/actions/loader.ts index 2a8f9119d..18a965728 100644 --- a/scripts/actions/loader.ts +++ b/scripts/actions/loader.ts @@ -10,6 +10,7 @@ async function main(): Promise { const fnName = process.argv[3] const github = getOctokit(token) + // eslint-disable-next-line @typescript-eslint/no-var-requires const fn = require(`./${fnName}.ts`) fn.default(github, context, core, io) } diff --git a/scripts/locales.ts b/scripts/locales.ts index dbecb0b27..5df28a369 100644 --- a/scripts/locales.ts +++ b/scripts/locales.ts @@ -3,16 +3,19 @@ export const defaultLocale = 'en' export const supportedLocales = ['en', 'zh-CN', 'ja', 'ko'] as const export const messages = { - en: require('./locales/en.json'), + 'en': require('./locales/en.json'), 'zh-CN': require('./locales/zh-CN.json'), - ja: require('./locales/ja.json'), - ko: require('./locales/ko.json'), + 'ja': require('./locales/ja.json'), + 'ko': require('./locales/ko.json'), } export type SupportedLocale = keyof typeof messages export function t(locale: SupportedLocale, key: string): string { - return (messages[locale] && messages[locale][key]) || messages[defaultLocale][key] + const result = (messages[locale] && messages[locale][key]) || messages[defaultLocale][key] + if (!result) + throw new Error(`Missing message for key "${key}"`) + return result } export function f(name: string, locale: string, ext: string) { diff --git a/scripts/package.json b/scripts/package.json index 801cab239..64ec0b61e 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -4,15 +4,15 @@ "version": "1.0.0", "dependencies": { "@actions/core": "^1.6.0", - "@actions/github": "^4.0.0", - "@actions/io": "^1.1.1", + "@actions/github": "^5.0.1", + "@actions/io": "^1.1.2", "@type-challenges/octokit-create-pull-request": "^0.1.8", - "esno": "^0.5.0", - "fast-glob": "^3.2.7", - "fs-extra": "^9.1.0", + "esno": "^0.14.1", + "fast-glob": "^3.2.11", + "fs-extra": "^10.0.1", "google-translate-open-api": "^1.3.7", "js-yaml": "^4.1.0", - "limax": "^2.1.0", + "limax": "^3.0.0", "lz-string": "^1.4.4" }, "devDependencies": { diff --git a/tsconfig.json b/tsconfig.json index 05f824899..05d1a51e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,4 +3,4 @@ "compilerOptions": { "module": "commonjs" } -} \ No newline at end of file +} diff --git a/utils/package.json b/utils/package.json index 16b2639e9..99adc0850 100644 --- a/utils/package.json +++ b/utils/package.json @@ -10,6 +10,6 @@ "release": "pnpx bumpp --commit --tag && pnpm publish" }, "devDependencies": { - "typescript": "^4.5.2" + "typescript": "^4.6.3" } } diff --git a/utils/tsconfig.json b/utils/tsconfig.json index 8e8705b08..6ae022f65 100644 --- a/utils/tsconfig.json +++ b/utils/tsconfig.json @@ -1,3 +1,3 @@ { "extends": "../tsconfig.base.json", -} \ No newline at end of file +}