From eb3b412095f6b7791d21a5fa6c9273f2531cc3fd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 15 Jan 2021 07:42:48 -0500 Subject: [PATCH] chore(deps): update devdependencies (#203) * chore(deps): update devdependencies * build(rush): config changes from rush update * chore: change files * Fix lint errors * chore: change files Co-authored-by: Renovate Bot Co-authored-by: renovate[bot] Co-authored-by: mmkal --- .eslintrc.js | 1 - .eslintrc.js.txt | 3 + .../renovate-devdependencies_pr-203.json | 11 + .../renovate-devdependencies_pr-203.json | 11 + .../renovate-devdependencies_pr-203.json | 11 + .../renovate-devdependencies_pr-203.json | 11 + common/config/rush/pnpm-lock.yaml | 589 +++++++----------- packages/eslint-plugin-codegen/package.json | 8 +- .../src/__tests__/rule.test.ts | 7 +- packages/eslint-plugin-codegen/src/index.ts | 14 +- .../expect-type/src/__tests__/types.test.ts | 3 +- packages/io-ts-extra/package.json | 4 +- packages/io-ts-extra/src/combinators.ts | 1 + packages/io-ts-extra/src/shorthand.ts | 2 +- packages/memorable-moniker/package.json | 2 +- tools/rig/.eslintrc.js | 3 + tools/rig/package.json | 42 +- tools/rig/src/rush.ts | 2 +- 18 files changed, 321 insertions(+), 404 deletions(-) delete mode 100644 .eslintrc.js create mode 100644 .eslintrc.js.txt create mode 100644 common/changes/eslint-plugin-codegen/renovate-devdependencies_pr-203.json create mode 100644 common/changes/expect-type/renovate-devdependencies_pr-203.json create mode 100644 common/changes/io-ts-extra/renovate-devdependencies_pr-203.json create mode 100644 common/changes/memorable-moniker/renovate-devdependencies_pr-203.json diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index d413c376..00000000 --- a/.eslintrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./tools/rig/.eslintrc') diff --git a/.eslintrc.js.txt b/.eslintrc.js.txt new file mode 100644 index 00000000..cd2c7509 --- /dev/null +++ b/.eslintrc.js.txt @@ -0,0 +1,3 @@ +// todo: make this not a .txt file. VSCode can't really handle linting the whole project though. +// Probably not worth fixing before https://github.com/eslint/rfcs/9 is implemented though. +module.exports = require('./tools/rig/.eslintrc') diff --git a/common/changes/eslint-plugin-codegen/renovate-devdependencies_pr-203.json b/common/changes/eslint-plugin-codegen/renovate-devdependencies_pr-203.json new file mode 100644 index 00000000..4b90e205 --- /dev/null +++ b/common/changes/eslint-plugin-codegen/renovate-devdependencies_pr-203.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "chore(deps): update devdependencies (#203) - @renovate[bot]", + "type": "patch", + "packageName": "eslint-plugin-codegen" + } + ], + "packageName": "eslint-plugin-codegen", + "email": "renovate[bot]@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/expect-type/renovate-devdependencies_pr-203.json b/common/changes/expect-type/renovate-devdependencies_pr-203.json new file mode 100644 index 00000000..02fe168b --- /dev/null +++ b/common/changes/expect-type/renovate-devdependencies_pr-203.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "chore(deps): update devdependencies (#203) - @renovate[bot]", + "type": "patch", + "packageName": "expect-type" + } + ], + "packageName": "expect-type", + "email": "renovate[bot]@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/io-ts-extra/renovate-devdependencies_pr-203.json b/common/changes/io-ts-extra/renovate-devdependencies_pr-203.json new file mode 100644 index 00000000..90a70140 --- /dev/null +++ b/common/changes/io-ts-extra/renovate-devdependencies_pr-203.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "chore(deps): update devdependencies (#203) - @renovate[bot]", + "type": "patch", + "packageName": "io-ts-extra" + } + ], + "packageName": "io-ts-extra", + "email": "renovate[bot]@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/changes/memorable-moniker/renovate-devdependencies_pr-203.json b/common/changes/memorable-moniker/renovate-devdependencies_pr-203.json new file mode 100644 index 00000000..d0bd6fd8 --- /dev/null +++ b/common/changes/memorable-moniker/renovate-devdependencies_pr-203.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "chore(deps): update devdependencies (#203) - @renovate[bot]", + "type": "patch", + "packageName": "memorable-moniker" + } + ], + "packageName": "memorable-moniker", + "email": "renovate[bot]@users.noreply.github.com" +} \ No newline at end of file diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 39c29d5e..2fe7b323 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -21,15 +21,15 @@ importers: lodash: 4.17.20 string.prototype.matchall: 4.0.3 devDependencies: - '@babel/types': 7.11.5 + '@babel/types': 7.12.11 '@mmkal/rig': 'link:../../tools/rig' '@types/babel__generator': 7.6.2 - '@types/babel__traverse': 7.0.15 + '@types/babel__traverse': 7.11.0 '@types/dedent': 0.7.0 - '@types/eslint': 7.2.4 + '@types/eslint': 7.2.6 '@types/glob': 7.1.3 '@types/js-yaml': 3.12.5 - '@types/lodash': 4.14.161 + '@types/lodash': 4.14.165 '@types/minimatch': 3.0.3 dedent: 0.7.0 eslint: 7.15.0 @@ -42,15 +42,15 @@ importers: '@babel/generator': ~7.12.0 '@babel/parser': ^7.11.5 '@babel/traverse': ^7.11.5 - '@babel/types': 7.11.5 + '@babel/types': 7.12.11 '@mmkal/rig': 'workspace:*' '@types/babel__generator': 7.6.2 - '@types/babel__traverse': 7.0.15 + '@types/babel__traverse': 7.11.0 '@types/dedent': 0.7.0 - '@types/eslint': 7.2.4 + '@types/eslint': 7.2.6 '@types/glob': 7.1.3 '@types/js-yaml': 3.12.5 - '@types/lodash': 4.14.161 + '@types/lodash': 4.14.165 '@types/minimatch': 3.0.3 dedent: 0.7.0 eslint: 7.15.0 @@ -65,7 +65,7 @@ importers: minimatch: 3.0.4 read-pkg-up: 7.0.1 string.prototype.matchall: ^4.0.2 - ts-node: ~9.1.1 + ts-node: 9.1.1 ../../packages/expect-type: devDependencies: '@mmkal/rig': 'link:../../tools/rig' @@ -85,31 +85,31 @@ importers: devDependencies: '@mmkal/rig': 'link:../../tools/rig' '@types/js-yaml': 3.12.5 - '@types/lodash': 4.14.161 + '@types/lodash': 4.14.165 expect-type: 'link:../expect-type' - js-yaml: 3.14.0 + js-yaml: 3.14.1 lodash: 4.17.20 specifiers: '@mmkal/rig': 'workspace:*' '@types/js-yaml': 3.12.5 - '@types/lodash': 4.14.161 + '@types/lodash': 4.14.165 expect-type: 'workspace:*' fp-ts: ^2.1.0 io-ts: ^2.2.4 - js-yaml: 3.14.0 + js-yaml: 3.14.1 lodash: 4.17.20 ../../packages/memorable-moniker: dependencies: seedrandom: 3.0.5 devDependencies: '@mmkal/rig': 'link:../../tools/rig' - '@types/lodash': 4.14.161 + '@types/lodash': 4.14.165 '@types/seedrandom': 2.4.28 expect-type: 'link:../expect-type' lodash: 4.17.20 specifiers: '@mmkal/rig': 'workspace:*' - '@types/lodash': 4.14.161 + '@types/lodash': 4.14.165 '@types/seedrandom': 2.4.28 expect-type: 'workspace:*' lodash: 4.17.20 @@ -117,69 +117,69 @@ importers: ../../tools/rig: dependencies: '@actions/github': 4.0.0 - '@types/jest': 26.0.15 + '@types/jest': 26.0.19 '@types/js-yaml': 3.12.5 - '@types/node': 14.14.5 - '@typescript-eslint/eslint-plugin': 4.1.1_b3c54f9f3df6332df925e4ae2b80e373 - '@typescript-eslint/parser': 4.1.1_typescript@4.0.5 - check-clean: 0.2.5 + '@types/node': 14.14.14 + '@typescript-eslint/eslint-plugin': 4.10.0_ab77bf2d07117e459f05845d073cee22 + '@typescript-eslint/parser': 4.10.0_typescript@4.1.3 + check-clean: 0.3.0 concurrently: 5.3.0 - eslint: 7.9.0 - eslint-config-xo: 0.32.1 - eslint-config-xo-typescript: 0.33.0_4bb63a009d8ce2d3e3c027a68b014e28 - eslint-plugin-codegen: 0.13.3 + eslint: 7.15.0 + eslint-config-xo: 0.33.1 + eslint-config-xo-typescript: 0.37.0_dfce2dcd4ef73a0848b329174998ccba + eslint-plugin-codegen: 0.14.4 eslint-plugin-import: 2.22.1 - eslint-plugin-jest: 24.1.0_typescript@4.0.5 - eslint-plugin-prettier: 3.1.4_prettier@2.1.2 + eslint-plugin-jest: 24.1.3_typescript@4.1.3 + eslint-plugin-prettier: 3.3.0_df2182b51045a8e841f8fe174eaa3122 eslint-plugin-unicorn: 21.0.0 eson-parser: 0.0.5 find-up: 5.0.0 - jest: 26.4.2 - js-yaml: 3.14.0 + jest: 26.6.3 + js-yaml: 3.14.1 lodash: 4.17.20 - prettier: 2.1.2 + prettier: 2.2.1 rimraf: 3.0.2 - sort-package-json: 1.46.1 - ts-jest: 26.3.0_jest@26.4.2+typescript@4.0.5 - ts-loader: 8.0.7_typescript@4.0.5 - typescript: 4.0.5 + sort-package-json: 1.48.0 + ts-jest: 26.4.4_jest@26.6.3+typescript@4.1.3 + ts-loader: 8.0.12_typescript@4.1.3+webpack@4.44.2 + typescript: 4.1.3 webpack: 4.44.2_93ca2875a658e9d1552850624e6b91c7 webpack-cli: 3.3.12_webpack@4.44.2 devDependencies: - '@microsoft/rush-lib': 5.34.3 - '@types/eslint': 7.2.4 - '@types/lodash': 4.14.161 + '@microsoft/rush-lib': 5.35.2 + '@types/eslint': 7.2.6 + '@types/lodash': 4.14.165 specifiers: '@actions/github': 4.0.0 - '@microsoft/rush-lib': 5.34.3 - '@types/eslint': 7.2.4 - '@types/jest': 26.0.15 + '@microsoft/rush-lib': 5.35.2 + '@types/eslint': 7.2.6 + '@types/jest': 26.0.19 '@types/js-yaml': 3.12.5 - '@types/lodash': 4.14.161 - '@types/node': 14.14.5 - '@typescript-eslint/eslint-plugin': 4.1.1 - '@typescript-eslint/parser': 4.1.1 - check-clean: 0.2.5 + '@types/lodash': 4.14.165 + '@types/node': 14.14.14 + '@typescript-eslint/eslint-plugin': 4.10.0 + '@typescript-eslint/parser': 4.10.0 + check-clean: 0.3.0 concurrently: 5.3.0 - eslint: 7.9.0 - eslint-config-xo: 0.32.1 - eslint-config-xo-typescript: 0.33.0 - eslint-plugin-codegen: 0.13.3 + eslint: 7.15.0 + eslint-config-xo: 0.33.1 + eslint-config-xo-typescript: 0.37.0 + eslint-plugin-codegen: 0.14.4 eslint-plugin-import: 2.22.1 - eslint-plugin-jest: 24.1.0 - eslint-plugin-prettier: 3.1.4 + eslint-plugin-jest: 24.1.3 + eslint-plugin-prettier: 3.3.0 eslint-plugin-unicorn: 21.0.0 eson-parser: 0.0.5 find-up: 5.0.0 - jest: 26.4.2 - js-yaml: 3.14.0 + jest: 26.6.3 + js-yaml: 3.14.1 lodash: 4.17.20 - prettier: 2.1.2 + prettier: 2.2.1 rimraf: 3.0.2 - sort-package-json: 1.46.1 - ts-jest: 26.3.0 - ts-loader: 8.0.7 - typescript: 4.0.5 + sort-package-json: 1.48.0 + ts-jest: 26.4.4 + ts-loader: 8.0.12 + typescript: 4.1.3 webpack: 4.44.2 webpack-cli: 3.3.12 lockfileVersion: 5.1 @@ -227,14 +227,6 @@ packages: node: '>=6.9.0' resolution: integrity: sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ== - /@babel/generator/7.11.6: - dependencies: - '@babel/types': 7.11.5 - jsesc: 2.5.2 - source-map: 0.5.7 - dev: false - resolution: - integrity: sha512-DWtQ1PV3r+cLbySoHrwn9RWEgKMBLLma4OBQloPRyDYvc5msJM9kvTLo1YnlJd1P/ZuKbdli3ijr5q3FvAF3uA== /@babel/generator/7.12.5: dependencies: '@babel/types': 7.12.7 @@ -317,6 +309,9 @@ packages: /@babel/helper-validator-identifier/7.10.4: resolution: integrity: sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw== + /@babel/helper-validator-identifier/7.12.11: + resolution: + integrity: sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw== /@babel/helpers/7.12.5: dependencies: '@babel/template': 7.12.7 @@ -476,6 +471,13 @@ packages: to-fast-properties: 2.0.0 resolution: integrity: sha512-bvM7Qz6eKnJVFIn+1LPtjlBFPVN5jNDc1XmN15vWe7Q3DPBufWWsLiIvUu7xW87uTG6QoggpIDnUgLQvPheU+Q== + /@babel/types/7.12.11: + dependencies: + '@babel/helper-validator-identifier': 7.12.11 + lodash: 4.17.20 + to-fast-properties: 2.0.0 + resolution: + integrity: sha512-ukA9SQtKThINm++CX1CwmliMrE54J6nIYB5XTwL5f/CLFW9owfls+YSU8tVW15RQ2w+a3fSbPjC6HdQNtWZkiA== /@babel/types/7.12.7: dependencies: '@babel/helper-validator-identifier': 7.10.4 @@ -498,23 +500,6 @@ packages: hasBin: true resolution: integrity: sha512-v9kIhKwjeZThiWrLmj0y17CWoyddASLj9O2yvbZkbvw/N3rWOYy9zkV66ursAoVr0mV15bL8g0c4QZUE6cdDoQ== - /@eslint/eslintrc/0.1.3: - dependencies: - ajv: 6.12.6 - debug: 4.3.1 - espree: 7.3.0 - globals: 12.4.0 - ignore: 4.0.6 - import-fresh: 3.2.2 - js-yaml: 3.14.0 - lodash: 4.17.20 - minimatch: 3.0.4 - strip-json-comments: 3.1.1 - dev: false - engines: - node: ^10.12.0 || >=12.0.0 - resolution: - integrity: sha512-4YVwPkANLeNtRjMekzux1ci8hIaH5eGKktGqR0d3LWsKNn5B2X/1Z6Trxy7jQXl9EBGE6Yj02O+t09FMeRllaA== /@eslint/eslintrc/0.2.2: dependencies: ajv: 6.12.6 @@ -523,11 +508,10 @@ packages: globals: 12.4.0 ignore: 4.0.6 import-fresh: 3.2.2 - js-yaml: 3.14.0 + js-yaml: 3.14.1 lodash: 4.17.20 minimatch: 3.0.4 strip-json-comments: 3.1.1 - dev: true engines: node: ^10.12.0 || >=12.0.0 resolution: @@ -537,7 +521,7 @@ packages: camelcase: 5.3.1 find-up: 4.1.0 get-package-type: 0.1.0 - js-yaml: 3.14.0 + js-yaml: 3.14.1 resolve-from: 5.0.0 dev: false engines: @@ -553,7 +537,7 @@ packages: /@jest/console/26.6.2: dependencies: '@jest/types': 26.6.2 - '@types/node': 14.14.5 + '@types/node': 14.14.14 chalk: 4.1.0 jest-message-util: 26.6.2 jest-util: 26.6.2 @@ -570,7 +554,7 @@ packages: '@jest/test-result': 26.6.2 '@jest/transform': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 14.14.5 + '@types/node': 14.14.14 ansi-escapes: 4.3.1 chalk: 4.1.0 exit: 0.1.2 @@ -602,7 +586,7 @@ packages: dependencies: '@jest/fake-timers': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 14.14.5 + '@types/node': 14.14.14 jest-mock: 26.6.2 dev: false engines: @@ -613,7 +597,7 @@ packages: dependencies: '@jest/types': 26.6.2 '@sinonjs/fake-timers': 6.0.1 - '@types/node': 14.14.5 + '@types/node': 14.14.14 jest-message-util: 26.6.2 jest-mock: 26.6.2 jest-util: 26.6.2 @@ -732,14 +716,14 @@ packages: node: '>= 10.14.2' resolution: integrity: sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ== - /@microsoft/rush-lib/5.34.3: + /@microsoft/rush-lib/5.35.2: dependencies: '@pnpm/link-bins': 5.3.20 - '@rushstack/node-core-library': 3.34.1 - '@rushstack/package-deps-hash': 2.4.70 - '@rushstack/stream-collator': 4.0.14 - '@rushstack/terminal': 0.1.13 - '@rushstack/ts-command-line': 4.7.1 + '@rushstack/node-core-library': 3.34.7 + '@rushstack/package-deps-hash': 2.4.93 + '@rushstack/stream-collator': 4.0.37 + '@rushstack/terminal': 0.1.36 + '@rushstack/ts-command-line': 4.7.6 '@yarnpkg/lockfile': 1.0.2 builtin-modules: 3.1.0 cli-table: 0.3.1 @@ -770,7 +754,7 @@ packages: engines: node: '>=5.6.0' resolution: - integrity: sha512-D3t7Y6qqFnw0aqaaPFkccUzesu7zp/c4ll1wAtwMWXNdADGb0t4lFc+W/6a9FUUUfEhpy6V8UHxcst7cMu0BvA== + integrity: sha512-xt+Ek1QAx7O983A8MqSDa1KjCwF5nPonjWJiOmskLV1LI6d9aoicdV5wuMax4ynZFC06wztUXxjsmfyuQlM+zA== /@nodelib/fs.scandir/2.1.3: dependencies: '@nodelib/fs.stat': 2.0.3 @@ -963,7 +947,7 @@ packages: node: '>=10.16' resolution: integrity: sha512-p8y4zIrG4sx3hJgEUob7w9TnaE1QCC25+JrP8hXrkb7gz1Vga/WGnNACSVWRWIDxjJejRCrqzewjfKM4ee2lBg== - /@rushstack/node-core-library/3.34.1: + /@rushstack/node-core-library/3.34.7: dependencies: '@types/node': 10.17.13 colors: 1.2.5 @@ -976,28 +960,28 @@ packages: z-schema: 3.18.4 dev: true resolution: - integrity: sha512-DX1xB9E2Xmi5auFxacftUXVuI2DUUyKrlGaecjesiS2YmV6pBnKzHHAaxWOQF2ajFNhXY2I1cGvDp45z3aJv5g== - /@rushstack/package-deps-hash/2.4.70: + integrity: sha512-7FwJ0jmZsh7bDIZ1IqDNphY9Kc6aAi1D2K8jiq+da4flMyL84HNeq2KxvwFLzjLwu3eMr88X+oBpgxCTD5Y57Q== + /@rushstack/package-deps-hash/2.4.93: dependencies: - '@rushstack/node-core-library': 3.34.1 + '@rushstack/node-core-library': 3.34.7 dev: true resolution: - integrity: sha512-NeyjGQlrdiVym22GvF7B7+9BhzKCyaMUztq1CVXYeTCI41G8PQhxGnFyWQ96wdGSjItZ1eO2QuTR+S5v3MDlhw== - /@rushstack/stream-collator/4.0.14: + integrity: sha512-eMCSwcf0XFGzp1tjGPKrEICCfEjSZj9OYwTQYh+6cOQ30l+NHWukdfoorfzyZontJDQX3JGDrv8y3oZQp4id7Q== + /@rushstack/stream-collator/4.0.37: dependencies: - '@rushstack/node-core-library': 3.34.1 - '@rushstack/terminal': 0.1.13 + '@rushstack/node-core-library': 3.34.7 + '@rushstack/terminal': 0.1.36 dev: true resolution: - integrity: sha512-xlsf+GYOQ5TUcluwjTqXpdk+pOI/IGOkrrjsbILc79uIxNVxO9WtVubIfbKVu1/hZ53uGNLGFNPJgm1nZAywsA== - /@rushstack/terminal/0.1.13: + integrity: sha512-EGOuIOk6YYwbgM473Oq5/DYD13ptKH0ZX0W+FGXAGcHR8aKYS+mZpZDpBs95JMLJK22DoQ/IYKrp8e2ttBdssQ== + /@rushstack/terminal/0.1.36: dependencies: - '@rushstack/node-core-library': 3.34.1 + '@rushstack/node-core-library': 3.34.7 '@types/node': 10.17.13 dev: true resolution: - integrity: sha512-gzDgllASiP4P+4rHSYOvbBmQn5ge2iVX6DP05+rpIvBJ92LHe++Ufpoj+gZcc5Sc819CshHg7282dAC+wOJbQg== - /@rushstack/ts-command-line/4.7.1: + integrity: sha512-VOEpV1MmGvyNsUO5xT+I/RaaeBykS+8wDH6A9SlDu0Y3rEX+6TujPPBOg5VgtqIDpqebwLGYjnGgjT2j2Tnmpg== + /@rushstack/ts-command-line/4.7.6: dependencies: '@types/argparse': 1.0.38 argparse: 1.0.10 @@ -1005,7 +989,7 @@ packages: string-argv: 0.3.1 dev: true resolution: - integrity: sha512-bpBByIKH1t3g2uCXspr5wsA2/XGA9qAaKVYkUnSVheAyH9OmAiUzgpcVswTnYrM3zEhIxGmo9Giqx/FCKubW0g== + integrity: sha512-falJVNfpJtsL3gJaY77JXXycfzhzB9VkKhqEfjRWD69/f6ezMUorPR6Nc90MnIaWgePTcdTJPZibxOQrNpu1Uw== /@sinonjs/commons/1.8.1: dependencies: type-detect: 4.0.8 @@ -1025,10 +1009,10 @@ packages: /@types/babel__core/7.1.12: dependencies: '@babel/parser': 7.12.7 - '@babel/types': 7.11.5 + '@babel/types': 7.12.11 '@types/babel__generator': 7.6.2 '@types/babel__template': 7.4.0 - '@types/babel__traverse': 7.0.15 + '@types/babel__traverse': 7.11.0 dev: false resolution: integrity: sha512-wMTHiiTiBAAPebqaPiPDLFA4LYPKr6Ph0Xq/6rq1Ur3v66HXyG+clfR9CNETkD7MQS8ZHvpQOtA53DLws5WAEQ== @@ -1040,26 +1024,26 @@ packages: /@types/babel__template/7.4.0: dependencies: '@babel/parser': 7.12.7 - '@babel/types': 7.11.5 + '@babel/types': 7.12.11 dev: false resolution: integrity: sha512-NTPErx4/FiPCGScH7foPyr+/1Dkzkni+rHiYHHoTjvwou7AQzJkNeD60A9CXRy+ZEN2B1bggmkTMCDb+Mv5k+A== - /@types/babel__traverse/7.0.15: + /@types/babel__traverse/7.11.0: dependencies: - '@babel/types': 7.11.5 + '@babel/types': 7.12.11 resolution: - integrity: sha512-Pzh9O3sTK8V6I1olsXpCfj2k/ygO2q1X0vhhnDrEQyYLHZesWz+zMZMVcwXLCYf0U36EtmyYaFGPfXlTtDHe3A== + integrity: sha512-kSjgDMZONiIfSH1Nxcr5JIRMwUetDki63FSQfpTCz8ogF3Ulqm8+mr5f78dUYs6vMiB6gBusQqfQmBvHZj/lwg== /@types/dedent/0.7.0: dev: true resolution: integrity: sha512-EGlKlgMhnLt/cM4DbUSafFdrkeJoC9Mvnj0PUCU7tFmTjMjNRT957kXCx0wYm3JuEq4o4ZsS5vG+NlkM2DMd2A== - /@types/eslint/7.2.4: + /@types/eslint/7.2.6: dependencies: '@types/estree': 0.0.45 '@types/json-schema': 7.0.6 dev: true resolution: - integrity: sha512-YCY4kzHMsHoyKspQH+nwSe+70Kep7Vjt2X+dZe5Vs2vkRudqtoFoUIv1RlJmZB8Hbp7McneupoZij4PadxsK5Q== + integrity: sha512-I+1sYH+NPQ3/tVqCeUSBwTE/0heyvtXqpIopUUArlBm0Kpocb8FbMa3AZ/ASKIFpN3rnEx932TTXDbt9OXsNDw== /@types/estree/0.0.45: dev: true resolution: @@ -1072,7 +1056,7 @@ packages: integrity: sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w== /@types/graceful-fs/4.1.4: dependencies: - '@types/node': 14.14.5 + '@types/node': 14.14.14 dev: false resolution: integrity: sha512-mWA/4zFQhfvOA8zWkXobwJvBD7vzcxgrOQ0J5CH1votGqdq9m7+FwtGaqyCZqC3NyyBkc9z4m+iry4LlqcMWJg== @@ -1092,13 +1076,13 @@ packages: dev: false resolution: integrity: sha512-nwKNbvnwJ2/mndE9ItP/zc2TCzw6uuodnF4EHYWD+gCQDVBuRQL5UzbZD0/ezy1iKsFU2ZQiDqg4M9dN4+wZgA== - /@types/jest/26.0.15: + /@types/jest/26.0.19: dependencies: jest-diff: 26.6.2 pretty-format: 26.6.2 dev: false resolution: - integrity: sha512-s2VMReFXRg9XXxV+CW9e5Nz8fH2K1aEhwgjUqPPbQd7g95T0laAcvLv032EhFHIa5GHsZ8W7iJEQVaJq6k3Gog== + integrity: sha512-jqHoirTG61fee6v6rwbnEuKhpSKih0tuhqeFbCmMmErhtu3BYlOZaXWjffgOstMM4S/3iQD31lI5bGLTrs97yQ== /@types/js-yaml/3.12.5: resolution: integrity: sha512-JCcp6J0GV66Y4ZMDAQCXot4xprYB+Zfd3meK9+INSJeVZwJmHAW30BBEEkPzXswMXuiyReUGOP3GxrADc9wPww== @@ -1109,10 +1093,10 @@ packages: dev: false resolution: integrity: sha1-7ihweulOEdK4J7y+UnC86n8+ce4= - /@types/lodash/4.14.161: + /@types/lodash/4.14.165: dev: true resolution: - integrity: sha512-EP6O3Jkr7bXvZZSZYlsgt5DIjiGr0dXP1/jVEwVLTFgg0d+3lWVQkRavYVQszV7dYUwvg0B8R0MBDpcmXg7XIA== + integrity: sha512-tjSSOTHhI5mCHTy/OOXYIhi2Wt1qcbHmuXD1Ha7q70CgI/I71afO4XtLb/cVexki1oVYchpul/TOuu3Arcdxrg== /@types/minimatch/3.0.3: resolution: integrity: sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== @@ -1120,6 +1104,10 @@ packages: dev: true resolution: integrity: sha512-pMCcqU2zT4TjqYFrWtYHKal7Sl30Ims6ulZ4UFXxI4xbtQqK/qqKwkDoBFCfooRqqmRu9vY3xaJRwxSh673aYg== + /@types/node/14.14.14: + dev: false + resolution: + integrity: sha512-UHnOPWVWV1z+VV8k6L1HhG7UbGBgIdghqF3l9Ny9ApPghbjICXkUJSd/b9gOgQfjM1r+37cipdw/HJ3F6ICEnQ== /@types/node/14.14.5: resolution: integrity: sha512-H5Wn24s/ZOukBmDn03nnGTp18A60ny9AmCwnEcgJiTgSGsCO7k+NWP7zjCCbhlcnVCoI+co52dUAt9GMhOSULw== @@ -1148,17 +1136,17 @@ packages: dev: false resolution: integrity: sha512-z8PNtlhrj7eJNLmrAivM7rjBESG6JwC5xP3RVk12i/8HVP7Xnx/sEmERnRImyEuUaJfO942X0qMOYsoupaJbZQ== - /@typescript-eslint/eslint-plugin/4.1.1_b3c54f9f3df6332df925e4ae2b80e373: + /@typescript-eslint/eslint-plugin/4.10.0_ab77bf2d07117e459f05845d073cee22: dependencies: - '@typescript-eslint/experimental-utils': 4.1.1_typescript@4.0.5 - '@typescript-eslint/parser': 4.1.1_typescript@4.0.5 - '@typescript-eslint/scope-manager': 4.1.1 + '@typescript-eslint/experimental-utils': 4.10.0_typescript@4.1.3 + '@typescript-eslint/parser': 4.10.0_typescript@4.1.3 + '@typescript-eslint/scope-manager': 4.10.0 debug: 4.3.1 functional-red-black-tree: 1.0.1 regexpp: 3.1.0 semver: 7.3.2 - tsutils: 3.17.1_typescript@4.0.5 - typescript: 4.0.5 + tsutils: 3.17.1_typescript@4.1.3 + typescript: 4.1.3 dev: false engines: node: ^10.12.0 || >=12.0.0 @@ -1169,13 +1157,13 @@ packages: typescript: optional: true resolution: - integrity: sha512-Hoxyt99EA9LMmqo/5PuWWPeWeB3mKyvibfJ1Hy5SfiUpjE8Nqp+5QNd9fOkzL66+fqvIWSIE+Ett16LGMzCGnQ== - /@typescript-eslint/experimental-utils/4.1.1_typescript@4.0.5: + integrity: sha512-h6/V46o6aXpKRlarP1AiJEXuCJ7cMQdlpfMDrcllIgX3dFkLwEBTXAoNP98ZoOmqd1xvymMVRAI4e7yVvlzWEg== + /@typescript-eslint/experimental-utils/4.10.0_typescript@4.1.3: dependencies: '@types/json-schema': 7.0.6 - '@typescript-eslint/scope-manager': 4.1.1 - '@typescript-eslint/types': 4.1.1 - '@typescript-eslint/typescript-estree': 4.1.1_typescript@4.0.5 + '@typescript-eslint/scope-manager': 4.10.0 + '@typescript-eslint/types': 4.10.0 + '@typescript-eslint/typescript-estree': 4.10.0_typescript@4.1.3 eslint-scope: 5.1.1 eslint-utils: 2.1.0 dev: false @@ -1184,29 +1172,14 @@ packages: peerDependencies: typescript: '*' resolution: - integrity: sha512-jzYsNciHoa4Z3c1URtmeT/bamYm8Dwfw6vuN3WHIE/BXb1iC4KveAnXDErTAZtPVxTYBaYn3n2gbt6F6D2rm1A== - /@typescript-eslint/experimental-utils/4.8.2_typescript@4.0.5: + integrity: sha512-opX+7ai1sdWBOIoBgpVJrH5e89ra1KoLrJTz0UtWAa4IekkKmqDosk5r6xqRaNJfCXEfteW4HXQAwMdx+jjEmw== + /@typescript-eslint/parser/4.10.0_typescript@4.1.3: dependencies: - '@types/json-schema': 7.0.6 - '@typescript-eslint/scope-manager': 4.8.2 - '@typescript-eslint/types': 4.8.2 - '@typescript-eslint/typescript-estree': 4.8.2_typescript@4.0.5 - eslint-scope: 5.1.1 - eslint-utils: 2.1.0 - dev: false - engines: - node: ^10.12.0 || >=12.0.0 - peerDependencies: - typescript: '*' - resolution: - integrity: sha512-hpTw6o6IhBZEsQsjuw/4RWmceRyESfAiEzAEnXHKG1X7S5DXFaZ4IO1JO7CW1aQ604leQBzjZmuMI9QBCAJX8Q== - /@typescript-eslint/parser/4.1.1_typescript@4.0.5: - dependencies: - '@typescript-eslint/scope-manager': 4.1.1 - '@typescript-eslint/types': 4.1.1 - '@typescript-eslint/typescript-estree': 4.1.1_typescript@4.0.5 + '@typescript-eslint/scope-manager': 4.10.0 + '@typescript-eslint/types': 4.10.0 + '@typescript-eslint/typescript-estree': 4.10.0_typescript@4.1.3 debug: 4.3.1 - typescript: 4.0.5 + typescript: 4.1.3 dev: false engines: node: ^10.12.0 || >=12.0.0 @@ -1216,48 +1189,33 @@ packages: typescript: optional: true resolution: - integrity: sha512-NLIhmicpKGfJbdXyQBz9j48PA6hq6e+SDOoXy7Ak6bq1ebGqbgG+fR1UIDAuay6OjQdot69c/URu2uLlsP8GQQ== - /@typescript-eslint/scope-manager/4.1.1: + integrity: sha512-amBvUUGBMadzCW6c/qaZmfr3t9PyevcSWw7hY2FuevdZVp5QPw/K76VSQ5Sw3BxlgYCHZcK6DjIhSZK0PQNsQg== + /@typescript-eslint/scope-manager/4.10.0: dependencies: - '@typescript-eslint/types': 4.1.1 - '@typescript-eslint/visitor-keys': 4.1.1 + '@typescript-eslint/types': 4.10.0 + '@typescript-eslint/visitor-keys': 4.10.0 dev: false engines: node: ^8.10.0 || ^10.13.0 || >=11.10.1 resolution: - integrity: sha512-0W8TTobCvIIQ2FsrYTffyZGAAFUyIbEHq5EYJb1m7Rpd005jrnOvKOo8ywCLhs/Bm17C+KsrUboBvBAARQVvyA== - /@typescript-eslint/scope-manager/4.8.2: - dependencies: - '@typescript-eslint/types': 4.8.2 - '@typescript-eslint/visitor-keys': 4.8.2 + integrity: sha512-WAPVw35P+fcnOa8DEic0tQUhoJJsgt+g6DEcz257G7vHFMwmag58EfowdVbiNcdfcV27EFR0tUBVXkDoIvfisQ== + /@typescript-eslint/types/4.10.0: dev: false engines: node: ^8.10.0 || ^10.13.0 || >=11.10.1 resolution: - integrity: sha512-qHQ8ODi7mMin4Sq2eh/6eu03uVzsf5TX+J43xRmiq8ujng7ViQSHNPLOHGw/Wr5dFEoxq/ubKhzClIIdQy5q3g== - /@typescript-eslint/types/4.1.1: - dev: false - engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 - resolution: - integrity: sha512-zrBiqOKYerMTllKcn+BP+i1b7LW/EbMMYytroXMxUTvFPn1smkCu0D7lSAx29fTUO4jnwV0ljSvYQtn2vNrNxA== - /@typescript-eslint/types/4.8.2: - dev: false - engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 - resolution: - integrity: sha512-z1/AVcVF8ju5ObaHe2fOpZYEQrwHyZ7PTOlmjd3EoFeX9sv7UekQhfrCmgUO7PruLNfSHrJGQvrW3Q7xQ8EoAw== - /@typescript-eslint/typescript-estree/4.1.1_typescript@4.0.5: + integrity: sha512-+dt5w1+Lqyd7wIPMa4XhJxUuE8+YF+vxQ6zxHyhLGHJjHiunPf0wSV8LtQwkpmAsRi1lEOoOIR30FG5S2HS33g== + /@typescript-eslint/typescript-estree/4.10.0_typescript@4.1.3: dependencies: - '@typescript-eslint/types': 4.1.1 - '@typescript-eslint/visitor-keys': 4.1.1 + '@typescript-eslint/types': 4.10.0 + '@typescript-eslint/visitor-keys': 4.10.0 debug: 4.3.1 globby: 11.0.1 is-glob: 4.0.1 lodash: 4.17.20 semver: 7.3.2 - tsutils: 3.17.1_typescript@4.0.5 - typescript: 4.0.5 + tsutils: 3.17.1_typescript@4.1.3 + typescript: 4.1.3 dev: false engines: node: ^10.12.0 || >=12.0.0 @@ -1267,46 +1225,16 @@ packages: typescript: optional: true resolution: - integrity: sha512-2AUg5v0liVBsqbGxBphbJ0QbGqSRVaF5qPoTPWcxop+66vMdU1h4CCvHxTC47+Qb+Pr4l2RhXDd41JNpwcQEKw== - /@typescript-eslint/typescript-estree/4.8.2_typescript@4.0.5: + integrity: sha512-mGK0YRp9TOk6ZqZ98F++bW6X5kMTzCRROJkGXH62d2azhghmq+1LNLylkGe6uGUOQzD452NOAEth5VAF6PDo5g== + /@typescript-eslint/visitor-keys/4.10.0: dependencies: - '@typescript-eslint/types': 4.8.2 - '@typescript-eslint/visitor-keys': 4.8.2 - debug: 4.3.1 - globby: 11.0.1 - is-glob: 4.0.1 - lodash: 4.17.20 - semver: 7.3.2 - tsutils: 3.17.1_typescript@4.0.5 - typescript: 4.0.5 - dev: false - engines: - node: ^10.12.0 || >=12.0.0 - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - resolution: - integrity: sha512-HToGNwI6fekH0dOw3XEVESUm71Onfam0AKin6f26S2FtUmO7o3cLlWgrIaT1q3vjB3wCTdww3Dx2iGq5wtUOCg== - /@typescript-eslint/visitor-keys/4.1.1: - dependencies: - '@typescript-eslint/types': 4.1.1 - eslint-visitor-keys: 2.0.0 - dev: false - engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 - resolution: - integrity: sha512-/EOOXbA2ferGLG6RmCHEQ0lTTLkOlXYDgblCmQk3tIU7mTPLm4gKhFMeeUSe+bcchTUsKeCk8xcpbop5Zr/8Rw== - /@typescript-eslint/visitor-keys/4.8.2: - dependencies: - '@typescript-eslint/types': 4.8.2 + '@typescript-eslint/types': 4.10.0 eslint-visitor-keys: 2.0.0 dev: false engines: node: ^8.10.0 || ^10.13.0 || >=11.10.1 resolution: - integrity: sha512-Vg+/SJTMZJEKKGHW7YC21QxgKJrSbxoYYd3MEUGtW7zuytHuEcksewq0DUmo4eh/CTNrVJGSdIY9AtRb6riWFw== + integrity: sha512-hPyz5qmDMuZWFtHZkjcCpkAKHX8vdu1G3YsCLEd25ryZgnJfj6FQuJ5/O7R+dB1ueszilJmAFMtlU4CA6se3Jg== /@webassemblyjs/ast/1.9.0: dependencies: '@webassemblyjs/helper-module-context': 1.9.0 @@ -1770,9 +1698,9 @@ packages: /babel-plugin-jest-hoist/26.6.2: dependencies: '@babel/template': 7.12.7 - '@babel/types': 7.11.5 + '@babel/types': 7.12.11 '@types/babel__core': 7.1.12 - '@types/babel__traverse': 7.0.15 + '@types/babel__traverse': 7.11.0 dev: false engines: node: '>= 10.14.2' @@ -2122,11 +2050,11 @@ packages: dev: true resolution: integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== - /check-clean/0.2.5: + /check-clean/0.3.0: dev: false hasBin: true resolution: - integrity: sha512-gOThm3OmodIShFd8GPvkCd2SZA+ErrBzHbTmZ9Df0eN35Lhhf20MKNAxo02c1wvlAZ4ewneEBPNLQIcibYqQjw== + integrity: sha512-ltyxoKsAp2QXXqZDjXO6U1FBH6NOYN8J3aWxl92o/yUsePp7mAn5NR4ney9363LiYTh9rnnjaFDgJxsTgmX+yw== /chokidar/2.1.8: dependencies: anymatch: 2.0.0 @@ -2865,26 +2793,26 @@ packages: node: '>=4' resolution: integrity: sha512-otzzTim2/1+lVrlH19EfQQJEhVJSu0zOb9ygb3iapN6UlyaDtyRq4b5U1FuW0v1lRa9Fp/GJyHkSwm6NqABgCA== - /eslint-config-xo-typescript/0.33.0_4bb63a009d8ce2d3e3c027a68b014e28: + /eslint-config-xo-typescript/0.37.0_dfce2dcd4ef73a0848b329174998ccba: dependencies: - '@typescript-eslint/eslint-plugin': 4.1.1_b3c54f9f3df6332df925e4ae2b80e373 - typescript: 4.0.5 + '@typescript-eslint/eslint-plugin': 4.10.0_ab77bf2d07117e459f05845d073cee22 + typescript: 4.1.3 dev: false engines: node: '>=10' peerDependencies: - '@typescript-eslint/eslint-plugin': '>=4.2.0' + '@typescript-eslint/eslint-plugin': '>=4.10.0' typescript: '>=3.6.0' resolution: - integrity: sha512-MCAP26EX+o+hoNPPmi/GHUznQHBUaN5taKUQznMy7RjqjPPJMlOzsiZLGNEQeDfuoYZE0O4x0vZWRduggyVQMg== - /eslint-config-xo/0.32.1: + integrity: sha512-eFRj4xMhiMExCb+H/wyXC1OwTKJiOQ+Qd9myoZLWdyR0X8PAjtzPRfxSOyh2fkBnZvFCDY0DuqcLkPSDSe4Ybg== + /eslint-config-xo/0.33.1: dependencies: confusing-browser-globals: 1.0.9 dev: false engines: node: '>=10' resolution: - integrity: sha512-achnYLilUTtljR1CGRikVj9HRAf5GplJeGgeyQMvph7mKo+AqTkNuig4EO/IrNOChcjoazgw9YT4cW/3+69i3Q== + integrity: sha512-ZdnT4Q/m3CLCX0o3nKKW3Q8CfNiRy/ojkeffLtz8f0EQJMHP/9fJyncIvI0mik1wE61EI6PHrXdLeAbeb62cZw== /eslint-import-resolver-node/0.3.4: dependencies: debug: 2.6.9 @@ -2901,23 +2829,23 @@ packages: node: '>=4' resolution: integrity: sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA== - /eslint-plugin-codegen/0.13.3: + /eslint-plugin-codegen/0.14.4: dependencies: '@babel/core': 7.12.9 - '@babel/generator': 7.11.6 + '@babel/generator': 7.12.5 '@babel/parser': 7.12.7 '@babel/traverse': 7.12.9 expect: 26.6.2 fp-ts: 2.9.0 glob: 7.1.6 io-ts: 2.2.13_fp-ts@2.9.0 - io-ts-extra: 0.10.10 - js-yaml: 3.14.0 + io-ts-extra: 0.11.4 + js-yaml: 3.14.1 lodash: 4.17.20 string.prototype.matchall: 4.0.3 dev: false resolution: - integrity: sha512-kRdPNMyOksPFJ18po7N2Cgls6BkfltYCJTxEij1PdxAGaAIblUe/voVcg8k7fVf8SpGv5gXPcFZO1Qha/HfVaQ== + integrity: sha512-MoPXnbREvdqCadI9/vB5sjHq8DVCC1IOPKhUAOLlbHBrCahTusamsHJAzoOFZEoFwpvX7oZC4EwGEdgSZdfEaA== /eslint-plugin-import/2.22.1: dependencies: array-includes: 3.1.2 @@ -2938,27 +2866,32 @@ packages: node: '>=4' resolution: integrity: sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw== - /eslint-plugin-jest/24.1.0_typescript@4.0.5: + /eslint-plugin-jest/24.1.3_typescript@4.1.3: dependencies: - '@typescript-eslint/experimental-utils': 4.8.2_typescript@4.0.5 + '@typescript-eslint/experimental-utils': 4.10.0_typescript@4.1.3 dev: false engines: node: '>=10' peerDependencies: typescript: '*' resolution: - integrity: sha512-827YJ+E8B9PvXu/0eiVSNFfxxndbKv+qE/3GSMhdorCaeaOehtqHGX2YDW9B85TEOre9n/zscledkFW/KbnyGg== - /eslint-plugin-prettier/3.1.4_prettier@2.1.2: + integrity: sha512-dNGGjzuEzCE3d5EPZQ/QGtmlMotqnYWD/QpCZ1UuZlrMAdhG5rldh0N0haCvhGnUkSeuORS5VNROwF9Hrgn3Lg== + /eslint-plugin-prettier/3.3.0_df2182b51045a8e841f8fe174eaa3122: dependencies: - prettier: 2.1.2 + eslint-plugin-prettier: 3.3.0_df2182b51045a8e841f8fe174eaa3122 + prettier: 2.2.1 prettier-linter-helpers: 1.0.0 dev: false engines: node: '>=6.0.0' peerDependencies: + eslint-plugin-prettier: '*' prettier: '>=1.13.0' + peerDependenciesMeta: + eslint-plugin-prettier: + optional: true resolution: - integrity: sha512-jZDa8z76klRqo+TdGDTFJSavwbnWK2ZpqGKNZ+VvweMW516pDUMmQ2koXvxEE4JhzNvTv+radye/bWGBmA6jmg== + integrity: sha512-tMTwO8iUWlSRZIwS9k7/E4vrTsfvsrcM5p1eftyuqWH25nKsz/o6/54I7jwQ/3zobISyC7wMy9ZsFwgTxOcOpQ== /eslint-plugin-unicorn/21.0.0: dependencies: ci-info: 2.0.0 @@ -3046,7 +2979,7 @@ packages: import-fresh: 3.2.2 imurmurhash: 0.1.4 is-glob: 4.0.1 - js-yaml: 3.14.0 + js-yaml: 3.14.1 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 lodash: 4.17.20 @@ -3061,57 +2994,11 @@ packages: table: 5.4.6 text-table: 0.2.0 v8-compile-cache: 2.2.0 - dev: true engines: node: ^10.12.0 || >=12.0.0 hasBin: true resolution: integrity: sha512-Vr64xFDT8w30wFll643e7cGrIkPEU50yIiI36OdSIDoSGguIeaLzBo0vpGvzo9RECUqq7htURfwEtKqwytkqzA== - /eslint/7.9.0: - dependencies: - '@babel/code-frame': 7.10.4 - '@eslint/eslintrc': 0.1.3 - ajv: 6.12.6 - chalk: 4.1.0 - cross-spawn: 7.0.3 - debug: 4.3.1 - doctrine: 3.0.0 - enquirer: 2.3.6 - eslint-scope: 5.1.1 - eslint-utils: 2.1.0 - eslint-visitor-keys: 1.3.0 - espree: 7.3.0 - esquery: 1.3.1 - esutils: 2.0.3 - file-entry-cache: 5.0.1 - functional-red-black-tree: 1.0.1 - glob-parent: 5.1.1 - globals: 12.4.0 - ignore: 4.0.6 - import-fresh: 3.2.2 - imurmurhash: 0.1.4 - is-glob: 4.0.1 - js-yaml: 3.14.0 - json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 - lodash: 4.17.20 - minimatch: 3.0.4 - natural-compare: 1.4.0 - optionator: 0.9.1 - progress: 2.0.3 - regexpp: 3.1.0 - semver: 7.3.2 - strip-ansi: 6.0.0 - strip-json-comments: 3.1.1 - table: 5.4.6 - text-table: 0.2.0 - v8-compile-cache: 2.2.0 - dev: false - engines: - node: ^10.12.0 || >=12.0.0 - hasBin: true - resolution: - integrity: sha512-V6QyhX21+uXp4T+3nrNfI3hQNBDa/P8ga7LoQOenwrlEFXrEnUEE+ok1dMtaS3b6rmLXhT1TkTIsG75HMLbknA== /eson-parser/0.0.5: dependencies: minimist: 1.2.5 @@ -3121,22 +3008,11 @@ packages: hasBin: true resolution: integrity: sha512-P8LnP8+k6QxpiPJY8f29BITpj443oZnV3IEjbRM6bW4ny8Aa+stKHSMTf6QuHs3KW+C6XAMUmxEurB0ozpSDcg== - /espree/7.3.0: - dependencies: - acorn: 7.4.1 - acorn-jsx: 5.3.1_acorn@7.4.1 - eslint-visitor-keys: 1.3.0 - dev: false - engines: - node: ^10.12.0 || >=12.0.0 - resolution: - integrity: sha512-dksIWsvKCixn1yrEXO8UosNSxaDoSYpq9reEjZSbHLpT5hpaCAKTLBwq0RHtLrIr+c0ByiYzWT8KTMRzoRCNlw== /espree/7.3.1: dependencies: acorn: 7.4.1 acorn-jsx: 5.3.1_acorn@7.4.1 eslint-visitor-keys: 1.3.0 - dev: true engines: node: ^10.12.0 || >=12.0.0 resolution: @@ -3366,18 +3242,9 @@ packages: node: '>=4' resolution: integrity: sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI= - /file-entry-cache/5.0.1: - dependencies: - flat-cache: 2.0.1 - dev: false - engines: - node: '>=4' - resolution: - integrity: sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g== /file-entry-cache/6.0.0: dependencies: flat-cache: 3.0.4 - dev: true engines: node: ^10.12.0 || >=12.0.0 resolution: @@ -3460,31 +3327,15 @@ packages: node: '>= 0.10' resolution: integrity: sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg== - /flat-cache/2.0.1: - dependencies: - flatted: 2.0.2 - rimraf: 2.6.3 - write: 1.0.3 - dev: false - engines: - node: '>=4' - resolution: - integrity: sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA== /flat-cache/3.0.4: dependencies: flatted: 3.1.0 rimraf: 3.0.2 - dev: true engines: node: ^10.12.0 || >=12.0.0 resolution: integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== - /flatted/2.0.2: - dev: false - resolution: - integrity: sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA== /flatted/3.1.0: - dev: true resolution: integrity: sha512-tW+UkmtNg/jv9CSofAKvgVcO7c2URjhTdW1ZTkcAritblu8tajiYy7YisnIflEwtKssCtOxpnBRoCB7iap0/TA== /flush-write-stream/1.1.1: @@ -4097,13 +3948,13 @@ packages: node: '>= 0.10' resolution: integrity: sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== - /io-ts-extra/0.10.10: + /io-ts-extra/0.11.4: dependencies: fp-ts: 2.9.0 io-ts: 2.2.13_fp-ts@2.9.0 dev: false resolution: - integrity: sha512-FnO5GLthChTyfqnn/im3xSJJ+rT18rmdPN/NavbAh+5APYDRUD7bMAVq2747zXDiSQZ/jyBDDrCufdfVFz4JfQ== + integrity: sha512-XrvZluS4RPnj0/w8i0Vl9L9m7ajF1Spx039b8exDybF6z9speQJleBP0ujmJ3uu3eelpredYywlec2ZF9ZtH7g== /io-ts/2.2.13_fp-ts@2.9.0: dependencies: fp-ts: 2.9.0 @@ -4554,7 +4405,7 @@ packages: '@jest/environment': 26.6.2 '@jest/fake-timers': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 14.14.5 + '@types/node': 14.14.14 jest-mock: 26.6.2 jest-util: 26.6.2 jsdom: 16.4.0 @@ -4568,7 +4419,7 @@ packages: '@jest/environment': 26.6.2 '@jest/fake-timers': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 14.14.5 + '@types/node': 14.14.14 jest-mock: 26.6.2 jest-util: 26.6.2 dev: false @@ -4586,7 +4437,7 @@ packages: dependencies: '@jest/types': 26.6.2 '@types/graceful-fs': 4.1.4 - '@types/node': 14.14.5 + '@types/node': 14.14.14 anymatch: 3.1.1 fb-watchman: 2.0.1 graceful-fs: 4.2.4 @@ -4611,7 +4462,7 @@ packages: '@jest/source-map': 26.6.2 '@jest/test-result': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 14.14.5 + '@types/node': 14.14.14 chalk: 4.1.0 co: 4.6.0 expect: 26.6.2 @@ -4668,7 +4519,7 @@ packages: /jest-mock/26.6.2: dependencies: '@jest/types': 26.6.2 - '@types/node': 14.14.5 + '@types/node': 14.14.14 dev: false engines: node: '>= 10.14.2' @@ -4726,7 +4577,7 @@ packages: '@jest/environment': 26.6.2 '@jest/test-result': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 14.14.5 + '@types/node': 14.14.14 chalk: 4.1.0 emittery: 0.7.2 exit: 0.1.2 @@ -4784,7 +4635,7 @@ packages: integrity: sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw== /jest-serializer/26.6.2: dependencies: - '@types/node': 14.14.5 + '@types/node': 14.14.14 graceful-fs: 4.2.4 dev: false engines: @@ -4793,9 +4644,9 @@ packages: integrity: sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g== /jest-snapshot/26.6.2: dependencies: - '@babel/types': 7.11.5 + '@babel/types': 7.12.11 '@jest/types': 26.6.2 - '@types/babel__traverse': 7.0.15 + '@types/babel__traverse': 7.11.0 '@types/prettier': 2.1.5 chalk: 4.1.0 expect: 26.6.2 @@ -4817,7 +4668,7 @@ packages: /jest-util/26.6.2: dependencies: '@jest/types': 26.6.2 - '@types/node': 14.14.5 + '@types/node': 14.14.14 chalk: 4.1.0 graceful-fs: 4.2.4 is-ci: 2.0.0 @@ -4844,7 +4695,7 @@ packages: dependencies: '@jest/test-result': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 14.14.5 + '@types/node': 14.14.14 ansi-escapes: 4.3.1 chalk: 4.1.0 jest-util: 26.6.2 @@ -4856,7 +4707,7 @@ packages: integrity: sha512-WKJob0P/Em2csiVthsI68p6aGKTIcsfjH9Gsx1f0A3Italz43e3ho0geSAVsmj09RWOELP1AZ/DXyJgOgDKxXQ== /jest-worker/26.6.2: dependencies: - '@types/node': 14.14.5 + '@types/node': 14.14.14 merge-stream: 2.0.0 supports-color: 7.2.0 dev: false @@ -4864,7 +4715,7 @@ packages: node: '>= 10.13.0' resolution: integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ== - /jest/26.4.2: + /jest/26.6.3: dependencies: '@jest/core': 26.6.3 import-local: 3.0.2 @@ -4874,7 +4725,7 @@ packages: node: '>= 10.14.2' hasBin: true resolution: - integrity: sha512-LLCjPrUh98Ik8CzW8LLVnSCfLaiY+wbK53U7VxnFSX7Q+kWC4noVeDvGWIFw0Amfq1lq2VfGm7YHWSLBV62MJw== + integrity: sha512-lGS5PXGAzR4RF7V5+XObhqz2KZIDUA1yD0DG6pBVmy10eh0ZIXQImRuzocsI/N2XZ1GrLFwTS27In2i2jlpq1Q== /jju/1.4.0: dev: true resolution: @@ -4894,9 +4745,17 @@ packages: dependencies: argparse: 1.0.10 esprima: 4.0.1 + dev: false hasBin: true resolution: integrity: sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A== + /js-yaml/3.14.1: + dependencies: + argparse: 1.0.10 + esprima: 4.0.1 + hasBin: true + resolution: + integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== /jsbn/0.1.1: dev: false resolution: @@ -5513,7 +5372,7 @@ packages: /normalize-package-data/3.0.0: dependencies: hosted-git-info: 3.0.7 - resolve: 1.17.0 + resolve: 1.19.0 semver: 7.3.2 validate-npm-package-license: 3.0.4 dev: true @@ -6060,13 +5919,13 @@ packages: node: '>=6.0.0' resolution: integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== - /prettier/2.1.2: + /prettier/2.2.1: dev: false engines: node: '>=10.13.0' hasBin: true resolution: - integrity: sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg== + integrity: sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q== /pretty-format/26.6.2: dependencies: '@jest/types': 26.6.2 @@ -6279,7 +6138,7 @@ packages: /read-yaml-file/2.0.0: dependencies: graceful-fs: 4.2.4 - js-yaml: 3.14.0 + js-yaml: 3.14.1 pify: 5.0.0 strip-bom: 4.0.0 dev: true @@ -6798,7 +6657,7 @@ packages: dev: false resolution: integrity: sha512-855pvK+VkU7PaKYPc+Jjnmt4EzejQHyhhF33q31qG8x7maDzkeFhAAThdCYay11CISO+qAMwjOBP+fPZe0IPyg== - /sort-package-json/1.46.1: + /sort-package-json/1.48.0: dependencies: detect-indent: 6.0.0 detect-newline: 3.1.0 @@ -6809,7 +6668,7 @@ packages: dev: false hasBin: true resolution: - integrity: sha512-jUkuCxcXCZD31eIJ/Zza62LRP0lzd4LNkY0z0q1kDSvfBfCmPotrHPXVrz6WTppbGeM2JzNyyARQLUEnK4dUyg== + integrity: sha512-VAC5THvyGFQFeVLbKcGNPzny5u/heOwks9tzTTLvL8nX9v7zZjpx36/itcJtqp8gI+r57Rw1RVYT6Ecy+3N6+Q== /source-list-map/2.0.1: dev: false resolution: @@ -7352,21 +7211,21 @@ packages: dev: true resolution: integrity: sha512-0z3j8R7MCjy10kc/g+qg7Ln3alJTodw9aDuVWZa3uiWqfuBMKeAeP2ocWcxoyM3D73yz3Jt/Pu4qPr4wHSdB/Q== - /ts-jest/26.3.0_jest@26.4.2+typescript@4.0.5: + /ts-jest/26.4.4_jest@26.6.3+typescript@4.1.3: dependencies: - '@types/jest': 26.0.15 + '@types/jest': 26.0.19 bs-logger: 0.2.6 buffer-from: 1.1.1 fast-json-stable-stringify: 2.1.0 - jest: 26.4.2 + jest: 26.6.3 jest-util: 26.6.2 json5: 2.1.3 lodash.memoize: 4.1.2 make-error: 1.3.6 mkdirp: 1.0.4 semver: 7.3.2 - typescript: 4.0.5 - yargs-parser: 18.1.3 + typescript: 4.1.3 + yargs-parser: 20.2.4 dev: false engines: node: '>= 10' @@ -7375,22 +7234,24 @@ packages: jest: '>=26 <27' typescript: '>=3.8 <5.0' resolution: - integrity: sha512-Jq2uKfx6bPd9+JDpZNMBJMdMQUC3sJ08acISj8NXlVgR2d5OqslEHOR2KHMgwymu8h50+lKIm0m0xj/ioYdW2Q== - /ts-loader/8.0.7_typescript@4.0.5: + integrity: sha512-3lFWKbLxJm34QxyVNNCgXX1u4o/RV0myvA2y2Bxm46iGIjKlaY0own9gIckbjZJPn+WaJEnfPPJ20HHGpoq4yg== + /ts-loader/8.0.12_typescript@4.1.3+webpack@4.44.2: dependencies: chalk: 2.4.2 enhanced-resolve: 4.3.0 loader-utils: 1.4.0 micromatch: 4.0.2 semver: 6.3.0 - typescript: 4.0.5 + typescript: 4.1.3 + webpack: 4.44.2_93ca2875a658e9d1552850624e6b91c7 dev: false engines: node: '>=10.0.0' peerDependencies: typescript: '*' + webpack: '*' resolution: - integrity: sha512-ooa4wxlZ9TOXaJ/iVyZlWsim79Ul4KyifSwyT2hOrbQA6NZJypsLOE198o8Ko+JV+ZHnMArvWcl4AnRqpCU/Mw== + integrity: sha512-UIivVfGVJDdwwjgSrbtcL9Nf10c1BWnL1mxAQUVcnhNIn/P9W3nP5v60Z0aBMtc7ZrE11lMmU6+5jSgAXmGaYw== /ts-node/9.1.1: dependencies: arg: 4.1.3 @@ -7419,10 +7280,10 @@ packages: /tslib/1.14.1: resolution: integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== - /tsutils/3.17.1_typescript@4.0.5: + /tsutils/3.17.1_typescript@4.1.3: dependencies: tslib: 1.14.1 - typescript: 4.0.5 + typescript: 4.1.3 dev: false engines: node: '>= 6' @@ -7496,13 +7357,13 @@ packages: dev: false resolution: integrity: sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= - /typescript/4.0.5: + /typescript/4.1.3: dev: false engines: node: '>=4.2.0' hasBin: true resolution: - integrity: sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ== + integrity: sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg== /union-value/1.0.1: dependencies: arr-union: 3.1.0 @@ -7853,21 +7714,13 @@ packages: /write-yaml-file/4.1.1: dependencies: graceful-fs: 4.2.4 - js-yaml: 3.14.0 + js-yaml: 3.14.1 write-file-atomic: 3.0.3 dev: true engines: node: '>=10.13' resolution: integrity: sha512-DrZlCt+PTsT/U6v0CszHJ+S0lTUhd1aLt2Vx7RDFE/J0Px5erwNoTXoQTse+zkPdwNo8fNtnJnzb3hT7ltd9EA== - /write/1.0.3: - dependencies: - mkdirp: 0.5.5 - dev: false - engines: - node: '>=4' - resolution: - integrity: sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig== /ws/7.4.0: dev: false engines: @@ -7924,6 +7777,12 @@ packages: node: '>=6' resolution: integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== + /yargs-parser/20.2.4: + dev: false + engines: + node: '>=10' + resolution: + integrity: sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== /yargs/13.3.2: dependencies: cliui: 5.0.0 diff --git a/packages/eslint-plugin-codegen/package.json b/packages/eslint-plugin-codegen/package.json index d1471dc2..fdd73777 100644 --- a/packages/eslint-plugin-codegen/package.json +++ b/packages/eslint-plugin-codegen/package.json @@ -48,15 +48,15 @@ "string.prototype.matchall": "^4.0.2" }, "devDependencies": { - "@babel/types": "7.11.5", + "@babel/types": "7.12.11", "@mmkal/rig": "workspace:*", "@types/babel__generator": "7.6.2", - "@types/babel__traverse": "7.0.15", + "@types/babel__traverse": "7.11.0", "@types/dedent": "0.7.0", - "@types/eslint": "7.2.4", + "@types/eslint": "7.2.6", "@types/glob": "7.1.3", "@types/js-yaml": "3.12.5", - "@types/lodash": "4.14.161", + "@types/lodash": "4.14.165", "@types/minimatch": "3.0.3", "dedent": "0.7.0", "expect-type": "workspace:*", diff --git a/packages/eslint-plugin-codegen/src/__tests__/rule.test.ts b/packages/eslint-plugin-codegen/src/__tests__/rule.test.ts index b589cd0b..b0c11477 100644 --- a/packages/eslint-plugin-codegen/src/__tests__/rule.test.ts +++ b/packages/eslint-plugin-codegen/src/__tests__/rule.test.ts @@ -14,8 +14,11 @@ const dedent = (...args: Parameters) => { } Object.assign(RuleTester, { - // eslint-disable-next-line jest/expect-expect, jest/valid-title - it: (name: string, fn: any) => test(name.replace(/\r?\n/g, ' \\n ').trim(), fn), + /* eslint-disable jest/expect-expect, jest/valid-title */ + it: (name: string, fn: any) => { + test(name.replace(/\r?\n/g, ' \\n ').trim(), fn) + }, + /* eslint-enable jest/expect-expect, jest/valid-title */ }) const tester = new RuleTester() diff --git a/packages/eslint-plugin-codegen/src/index.ts b/packages/eslint-plugin-codegen/src/index.ts index 947fa263..0f21acd4 100644 --- a/packages/eslint-plugin-codegen/src/index.ts +++ b/packages/eslint-plugin-codegen/src/index.ts @@ -91,7 +91,7 @@ const codegen: eslint.Rule.RuleModule = { ) if (!endMatch) { const afterStartMatch = startIndex + startMatch[0].length - return context.report({ + context.report({ message: `couldn't find end marker (expected regex ${markers.end})`, loc: startMarkerLoc, fix: fixer => @@ -100,13 +100,15 @@ const codegen: eslint.Rule.RuleModule = { os.EOL + markers.end.source.replace(/\\/g, '') ), }) + return } const maybeOptions = tryCatch( () => jsYaml.safeLoad(startMatch[1]) as Record, err => err ) if (maybeOptions._tag === 'Left') { - return context.report({message: `Error parsing options. ${maybeOptions.left}`, loc: startMarkerLoc}) + context.report({message: `Error parsing options. ${maybeOptions.left}`, loc: startMarkerLoc}) + return } const opts = maybeOptions.right || {} const presets: Record | undefined> = { @@ -115,10 +117,11 @@ const codegen: eslint.Rule.RuleModule = { } const preset = typeof opts?.preset === 'string' && presets[opts.preset] if (typeof preset !== 'function') { - return context.report({ + context.report({ message: `unknown preset ${opts.preset}. Available presets: ${Object.keys(presets).join(', ')}`, loc: startMarkerLoc, }) + return } const range: eslint.AST.Range = [startIndex + startMatch[0].length + os.EOL.length, endMatch.index!] @@ -134,14 +137,15 @@ const codegen: eslint.Rule.RuleModule = { ) if (result._tag === 'Left') { - return context.report({message: result.left, loc: startMarkerLoc}) + context.report({message: result.left, loc: startMarkerLoc}) + return } const expected = result.right try { expect(normalise(existingContent)).toBe(normalise(expected)) } catch (e: unknown) { const loc = {start: position(range[0]), end: position(range[1])} - return context.report({ + context.report({ message: `content doesn't match: ${e}`, loc, fix: fixer => fixer.replaceTextRange(range, normalise(expected) + os.EOL), diff --git a/packages/expect-type/src/__tests__/types.test.ts b/packages/expect-type/src/__tests__/types.test.ts index 06b3acb8..94a96a4b 100644 --- a/packages/expect-type/src/__tests__/types.test.ts +++ b/packages/expect-type/src/__tests__/types.test.ts @@ -1,5 +1,6 @@ import * as a from '..' -import {expectTypeOf} from '..' + +const {expectTypeOf} = a test('boolean type logic', () => { expectTypeOf>().toEqualTypeOf() diff --git a/packages/io-ts-extra/package.json b/packages/io-ts-extra/package.json index 7b0eac3d..1f1dc2ec 100644 --- a/packages/io-ts-extra/package.json +++ b/packages/io-ts-extra/package.json @@ -36,9 +36,9 @@ "devDependencies": { "@mmkal/rig": "workspace:*", "@types/js-yaml": "3.12.5", - "@types/lodash": "4.14.161", + "@types/lodash": "4.14.165", "expect-type": "workspace:*", - "js-yaml": "3.14.0", + "js-yaml": "3.14.1", "lodash": "4.17.20" } } diff --git a/packages/io-ts-extra/src/combinators.ts b/packages/io-ts-extra/src/combinators.ts index a68ee981..d505333d 100644 --- a/packages/io-ts-extra/src/combinators.ts +++ b/packages/io-ts-extra/src/combinators.ts @@ -1,4 +1,5 @@ import {Type, union, Props, nullType, undefined as undefinedType, intersection, partial, type, mixed} from 'io-ts' +// eslint-disable-next-line @typescript-eslint/no-duplicate-imports import * as t from 'io-ts' import {pipe} from 'fp-ts/lib/function' import * as E from 'fp-ts/lib/Either' diff --git a/packages/io-ts-extra/src/shorthand.ts b/packages/io-ts-extra/src/shorthand.ts index 01c5fba6..43831c40 100644 --- a/packages/io-ts-extra/src/shorthand.ts +++ b/packages/io-ts-extra/src/shorthand.ts @@ -47,7 +47,7 @@ export type Shorthand = V extends string | number | bo ? t.TupleC<[Shorthand, Shorthand, Shorthand, Shorthand]> : V extends t.Type ? V - : V extends {[K: string]: any} + : V extends Record ? t.TypeC<{[K in keyof V]: Shorthand}> : never diff --git a/packages/memorable-moniker/package.json b/packages/memorable-moniker/package.json index 5162d31f..2fa460fc 100644 --- a/packages/memorable-moniker/package.json +++ b/packages/memorable-moniker/package.json @@ -40,7 +40,7 @@ }, "devDependencies": { "@mmkal/rig": "workspace:*", - "@types/lodash": "4.14.161", + "@types/lodash": "4.14.165", "@types/seedrandom": "2.4.28", "expect-type": "workspace:*", "lodash": "4.17.20" diff --git a/tools/rig/.eslintrc.js b/tools/rig/.eslintrc.js index e71a9671..3636cbea 100644 --- a/tools/rig/.eslintrc.js +++ b/tools/rig/.eslintrc.js @@ -51,6 +51,8 @@ module.exports = { '@typescript-eslint/no-unsafe-call': 'off', '@typescript-eslint/unified-signatures': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', + '@typescript-eslint/no-confusing-void-expression': 'off', + '@typescript-eslint/non-nullable-type-assertion-style': 'off', '@typescript-eslint/no-unused-vars': [ 'off', @@ -146,6 +148,7 @@ module.exports = { files: ['**/*.md'], rules: { 'unicorn/filename-case': 'off', + 'prettier/prettier': 'off', }, }, ], diff --git a/tools/rig/package.json b/tools/rig/package.json index 528443ee..069ef5a1 100644 --- a/tools/rig/package.json +++ b/tools/rig/package.json @@ -23,38 +23,38 @@ }, "dependencies": { "@actions/github": "4.0.0", - "@types/jest": "26.0.15", + "@types/jest": "26.0.19", "@types/js-yaml": "3.12.5", - "@types/node": "14.14.5", - "@typescript-eslint/eslint-plugin": "4.1.1", - "@typescript-eslint/parser": "4.1.1", - "check-clean": "0.2.5", + "@types/node": "14.14.14", + "@typescript-eslint/eslint-plugin": "4.10.0", + "@typescript-eslint/parser": "4.10.0", + "check-clean": "0.3.0", "concurrently": "5.3.0", - "eslint": "7.9.0", - "eslint-config-xo": "0.32.1", - "eslint-config-xo-typescript": "0.33.0", - "eslint-plugin-codegen": "0.13.3", + "eslint": "7.15.0", + "eslint-config-xo": "0.33.1", + "eslint-config-xo-typescript": "0.37.0", + "eslint-plugin-codegen": "0.14.4", "eslint-plugin-import": "2.22.1", - "eslint-plugin-jest": "24.1.0", - "eslint-plugin-prettier": "3.1.4", + "eslint-plugin-jest": "24.1.3", + "eslint-plugin-prettier": "3.3.0", "eslint-plugin-unicorn": "21.0.0", "eson-parser": "0.0.5", "find-up": "5.0.0", - "jest": "26.4.2", - "js-yaml": "3.14.0", + "jest": "26.6.3", + "js-yaml": "3.14.1", "lodash": "4.17.20", - "prettier": "2.1.2", + "prettier": "2.2.1", "rimraf": "3.0.2", - "sort-package-json": "1.46.1", - "ts-jest": "26.3.0", - "ts-loader": "8.0.7", - "typescript": "4.0.5", + "sort-package-json": "1.48.0", + "ts-jest": "26.4.4", + "ts-loader": "8.0.12", + "typescript": "4.1.3", "webpack": "4.44.2", "webpack-cli": "3.3.12" }, "devDependencies": { - "@microsoft/rush-lib": "5.34.3", - "@types/eslint": "7.2.4", - "@types/lodash": "4.14.161" + "@microsoft/rush-lib": "5.35.2", + "@types/eslint": "7.2.6", + "@types/lodash": "4.14.165" } } diff --git a/tools/rig/src/rush.ts b/tools/rig/src/rush.ts index f203e3c1..3ff85125 100644 --- a/tools/rig/src/rush.ts +++ b/tools/rig/src/rush.ts @@ -17,7 +17,7 @@ export interface RushJson { } export const getRushJson = (): {directory: string; rush: RushJson} => { - const rushJsonPath = findUp.sync('rush.json') as string + const rushJsonPath = findUp.sync('rush.json')! return { directory: path.dirname(rushJsonPath), rush: ESON.parse(fs.readFileSync(rushJsonPath).toString()),