From 3d97456efc4c896deb8696ad83e94b323f2e2e11 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 15 Sep 2020 00:26:56 +0200 Subject: [PATCH 1/2] chore: bump deps --- packages/jest-cli/package.json | 2 +- packages/jest-repl/package.json | 2 +- packages/jest-runtime/package.json | 2 +- .../jest-snapshot/src/inline_snapshots.ts | 6 +- yarn.lock | 318 +++++++++--------- 5 files changed, 164 insertions(+), 166 deletions(-) diff --git a/packages/jest-cli/package.json b/packages/jest-cli/package.json index a978b3adac66..c006819d61d6 100644 --- a/packages/jest-cli/package.json +++ b/packages/jest-cli/package.json @@ -17,7 +17,7 @@ "jest-util": "^26.3.0", "jest-validate": "^26.4.2", "prompts": "^2.0.1", - "yargs": "^16.0.1" + "yargs": "^16.0.3" }, "devDependencies": { "@jest/test-utils": "^26.3.0", diff --git a/packages/jest-repl/package.json b/packages/jest-repl/package.json index d2fc6a41f8df..fe81f9378e10 100644 --- a/packages/jest-repl/package.json +++ b/packages/jest-repl/package.json @@ -16,7 +16,7 @@ "jest-runtime": "^26.4.2", "jest-validate": "^26.4.2", "repl": "^0.1.3", - "yargs": "^16.0.1" + "yargs": "^16.0.3" }, "devDependencies": { "@jest/test-utils": "^26.3.0", diff --git a/packages/jest-runtime/package.json b/packages/jest-runtime/package.json index 85a6c69ac30d..5bd2f5080cc4 100644 --- a/packages/jest-runtime/package.json +++ b/packages/jest-runtime/package.json @@ -35,7 +35,7 @@ "jest-validate": "^26.4.2", "slash": "^3.0.0", "strip-bom": "^4.0.0", - "yargs": "^16.0.1" + "yargs": "^16.0.3" }, "devDependencies": { "@jest/test-utils": "^26.3.0", diff --git a/packages/jest-snapshot/src/inline_snapshots.ts b/packages/jest-snapshot/src/inline_snapshots.ts index 260ad1eb54b3..77a8cf6cbc00 100644 --- a/packages/jest-snapshot/src/inline_snapshots.ts +++ b/packages/jest-snapshot/src/inline_snapshots.ts @@ -11,16 +11,14 @@ import semver = require('semver'); import {file, templateElement, templateLiteral} from '@babel/types'; import type {Frame} from 'jest-message-util'; import type { + BuiltInParsers as PrettierBuiltInParsers, CustomParser as PrettierCustomParser, - BuiltInParser as PrettierParser, BuiltInParserName as PrettierParserName, } from 'prettier'; import type {Config} from '@jest/types'; import type {BabelTraverse, Prettier} from './types'; import {escapeBacktickString} from './utils'; -type PrettierParserMap = Record; - export type InlineSnapshot = { snapshot: string; frame: Frame; @@ -164,7 +162,7 @@ const indent = (snapshot: string, numIndents: number, indentation: string) => { }; const getAst = ( - parsers: PrettierParserMap, + parsers: PrettierBuiltInParsers, inferredParser: PrettierParserName, text: string, ) => { diff --git a/yarn.lock b/yarn.lock index 6f01c9063374..d39891853c33 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6,79 +6,79 @@ __metadata: cacheKey: 6 "@angular/common@npm:^10.0.2": - version: 10.1.0 - resolution: "@angular/common@npm:10.1.0" + version: 10.1.1 + resolution: "@angular/common@npm:10.1.1" dependencies: tslib: ^2.0.0 peerDependencies: - "@angular/core": 10.1.0 + "@angular/core": 10.1.1 rxjs: ^6.5.3 - checksum: 818afd882c772488f7ca1fc77bad2eaa7ef93f1c6c19d9b2659b529d4e79f7efe3cd5b78a96aea76a2565f53f7e8b779eeb6b84524b7ae42d12a7319a54e173a + checksum: 56205fe9c62fa14c818aa7ff5eb744ae21df57bb6bd9bc7075b4114a9733821d9c080b1b8c37f7a9efd4af424857f40da16464071de0a9b0071200bb1e184f8d languageName: node linkType: hard "@angular/compiler@npm:^10.0.2": - version: 10.1.0 - resolution: "@angular/compiler@npm:10.1.0" + version: 10.1.1 + resolution: "@angular/compiler@npm:10.1.1" dependencies: tslib: ^2.0.0 - checksum: 7c2a7e874170aa11c872f74b13d6148be23252a1da5be9f1ba648892aabda3a0f8a16189128c147ec2f071d69698cf3246cb301486a6ca24d37650ae82fb9bd2 + checksum: 826ed51f482c0bc68ecbc0e7816e8033a5a0f28f34a4aabad9a07a1b4e4e135fbee510a926d674c4595a741510bf17212f59db2e6531e19688f2efe26d69e519 languageName: node linkType: hard "@angular/core@npm:^10.0.2": - version: 10.1.0 - resolution: "@angular/core@npm:10.1.0" + version: 10.1.1 + resolution: "@angular/core@npm:10.1.1" dependencies: tslib: ^2.0.0 peerDependencies: rxjs: ^6.5.3 zone.js: ~0.10.3 - checksum: 3ee26b668d3b9a01aef5b6367d684c47e67ccd6983b80bbfe59bdafa7a1c6415dc693e9a4d465fa6ea42f820ea7c629f4c178b52aaadf35c63569c1445914ddd + checksum: 1ab5e1df66ad64857f912053e3204a699a4e140ccb020c56ea92fbd66d8118261846e32bdd50efb7add7eb1647c3334a9dcbd89aedbff26e371a1d5b3b4c70c0 languageName: node linkType: hard "@angular/forms@npm:^10.0.2": - version: 10.1.0 - resolution: "@angular/forms@npm:10.1.0" + version: 10.1.1 + resolution: "@angular/forms@npm:10.1.1" dependencies: tslib: ^2.0.0 peerDependencies: - "@angular/common": 10.1.0 - "@angular/core": 10.1.0 - "@angular/platform-browser": 10.1.0 + "@angular/common": 10.1.1 + "@angular/core": 10.1.1 + "@angular/platform-browser": 10.1.1 rxjs: ^6.5.3 - checksum: 533782d4eab7ba4db609b3726f6cd894bba7edc4940f1a60c3aea0ed8d0a5387c7d6f2b66546b8ad142e5c7c1e3de94d08d86bfca5629d3c8f0500535ea4811a + checksum: c1577512bf4f9e51ab9016498bded831198d02bd501ce5ee57b0c28fd51bc605f2582ba7c40721ac94fa30af1b35484eb3441b504984ff474df289abb4076c2f languageName: node linkType: hard "@angular/platform-browser-dynamic@npm:^10.0.2": - version: 10.1.0 - resolution: "@angular/platform-browser-dynamic@npm:10.1.0" + version: 10.1.1 + resolution: "@angular/platform-browser-dynamic@npm:10.1.1" dependencies: tslib: ^2.0.0 peerDependencies: - "@angular/common": 10.1.0 - "@angular/compiler": 10.1.0 - "@angular/core": 10.1.0 - "@angular/platform-browser": 10.1.0 - checksum: 27977c2043d5be231c6a79b462c8eb236ac0b273511f87cbfee673d9b737a171d7af95b3b923b7b777a0e6c2b0febbfee8a5b6668cbb109af0781a9f530cded9 + "@angular/common": 10.1.1 + "@angular/compiler": 10.1.1 + "@angular/core": 10.1.1 + "@angular/platform-browser": 10.1.1 + checksum: 82a4ae398d0f447551247cc5fa2de282d5f2f61d7a814b82e1cfd4360f7f869de5d27191592af0f962ab20dc3cca183952f680780ffe867eab5a2f976a408c2a languageName: node linkType: hard "@angular/platform-browser@npm:^10.0.2": - version: 10.1.0 - resolution: "@angular/platform-browser@npm:10.1.0" + version: 10.1.1 + resolution: "@angular/platform-browser@npm:10.1.1" dependencies: tslib: ^2.0.0 peerDependencies: - "@angular/animations": 10.1.0 - "@angular/common": 10.1.0 - "@angular/core": 10.1.0 + "@angular/animations": 10.1.1 + "@angular/common": 10.1.1 + "@angular/core": 10.1.1 peerDependenciesMeta: "@angular/animations": optional: true - checksum: 6f2fcf71148ca008671d4d348dbfe8f9e6363643b807a41d7bd60046d7735f1dd68ab0901fea4f863d4cfdcfb2b61dca223dd19ed6171a3969864fe57f04fa1c + checksum: ca3e06699de920f98b190735969ad6787c9529e49948b70f63ecb079a61df415d1a1a4232fe63b26a0cfc1cffb0ef03e48602b6fd55bb01fa515ba9d83a1961f languageName: node linkType: hard @@ -2892,13 +2892,13 @@ __metadata: linkType: hard "@octokit/endpoint@npm:^6.0.1": - version: 6.0.5 - resolution: "@octokit/endpoint@npm:6.0.5" + version: 6.0.6 + resolution: "@octokit/endpoint@npm:6.0.6" dependencies: "@octokit/types": ^5.0.0 - is-plain-object: ^4.0.0 + is-plain-object: ^5.0.0 universal-user-agent: ^6.0.0 - checksum: 2d637ef3a338509d899c08d10074f9313e0fe6ebde39ed390eb10c5aa6da19dee22fcaf4235da4726e8a3a1244744b3d2c4900890d15aefe7cf4a945900c43dc + checksum: ccb8d25f7bd2ec86a2832934473769d10531b4d5445c5f80ebccc8110620fa52ff0e7bd1f7c4e9ef2970b44d2340c452c23c716cb862efe2420e3757408541e0 languageName: node linkType: hard @@ -2958,18 +2958,18 @@ __metadata: linkType: hard "@octokit/request@npm:^5.2.0": - version: 5.4.7 - resolution: "@octokit/request@npm:5.4.7" + version: 5.4.9 + resolution: "@octokit/request@npm:5.4.9" dependencies: "@octokit/endpoint": ^6.0.1 "@octokit/request-error": ^2.0.0 "@octokit/types": ^5.0.0 deprecation: ^2.0.0 - is-plain-object: ^4.0.0 - node-fetch: ^2.3.0 + is-plain-object: ^5.0.0 + node-fetch: ^2.6.1 once: ^1.4.0 universal-user-agent: ^6.0.0 - checksum: 1f4e8b49f6d8fa2e37ffa04900cc2571a4d77760869dc3d5cae26786e503ae2d507de81fabb031743e8ea3bc391a62be1fc558b1c23c81c77ad76acf7ee83169 + checksum: 0c62dac92368d49d22f96ea3e7d1ff5a1b75fa7b42b0cfe7273faee0371119a37e22b1fdca5d7dfff21e547cd908a22c46d234d01571eb9599e61ebe703c51bd languageName: node linkType: hard @@ -3007,11 +3007,11 @@ __metadata: linkType: hard "@octokit/types@npm:^5.0.0, @octokit/types@npm:^5.0.1": - version: 5.4.1 - resolution: "@octokit/types@npm:5.4.1" + version: 5.5.0 + resolution: "@octokit/types@npm:5.5.0" dependencies: "@types/node": ">= 8" - checksum: 3dda743b7f8dd572b3592dcf938542147133a5229ae04242a83d80579daad28dc493bd83f84e9b682eb8864457ca69ebe95ab787241c1fe9ef5cf328648c0bb0 + checksum: ef5429c90b6d8d4a8816611f39ae469f238f0de76085818081b6185c9a53c9dd8e1e024000c633f935920bdb8075c18cea6475bb2c1fc67aa5d0f50c8e104a12 languageName: node linkType: hard @@ -3195,9 +3195,9 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^7.23.0": - version: 7.24.1 - resolution: "@testing-library/dom@npm:7.24.1" +"@testing-library/dom@npm:^7.24.2": + version: 7.24.2 + resolution: "@testing-library/dom@npm:7.24.2" dependencies: "@babel/code-frame": ^7.10.4 "@babel/runtime": ^7.10.3 @@ -3206,20 +3206,20 @@ __metadata: chalk: ^4.1.0 dom-accessibility-api: ^0.5.1 pretty-format: ^26.4.2 - checksum: e5ebd9a27e48f48012b77888e6c2bb16b6e36c2fe4db299ea17fb25d427491afea28cb3bf33379a4ea8d1f4fc76ef294964027747f58c102c69086ed1a1dbe50 + checksum: 544dff249c20543ca3aad6a9bef03bbb8b920c6724f41e89c874d78c23da0a226703f4c8a9264b875c913f05e4fc5b312ef2dae01f0ea865a9552c92541076ba languageName: node linkType: hard "@testing-library/react@npm:*": - version: 11.0.2 - resolution: "@testing-library/react@npm:11.0.2" + version: 11.0.4 + resolution: "@testing-library/react@npm:11.0.4" dependencies: "@babel/runtime": ^7.11.2 - "@testing-library/dom": ^7.23.0 + "@testing-library/dom": ^7.24.2 peerDependencies: react: "*" react-dom: "*" - checksum: 664dfbafb36dcad0fb232a48824e63d58db4594f6ada073bea9fe322c4a9fc717aa95a0d2f196fbaa40b0cc3c78683967b8571405a6ceb755f7eb9c3dd916cd6 + checksum: 3662df0d284b4ad0701aa86ec396652280357cccf22935c6bde02fbb9a08125c216a43c4960b188e6403f053bfa68a680d934a9ea90ff92312e16e57d6eaa986 languageName: node linkType: hard @@ -3618,9 +3618,9 @@ __metadata: linkType: hard "@types/node@npm:>= 8, @types/node@npm:^14.0.27": - version: 14.6.4 - resolution: "@types/node@npm:14.6.4" - checksum: bff274e362080628c96e51b1948be668b68117e35d6353691c753052e490efc0934a0c0a3ba5d2739ac70e745932a9f6b049b7d01a1d96c9ae0c93c3b1b88ed0 + version: 14.10.1 + resolution: "@types/node@npm:14.10.1" + checksum: 086b4baffc1f13eee84fb4ff072d685b3fecad59f4166c4367f1ab0db6aa30fc81cf67e6469775072b51126c52bcfec40bae6fafef4e4dc8f4c42f94211e28f4 languageName: node linkType: hard @@ -3639,9 +3639,9 @@ __metadata: linkType: hard "@types/prettier@npm:^2.0.0": - version: 2.1.0 - resolution: "@types/prettier@npm:2.1.0" - checksum: 607790eae3a61d2b42afff7fbce119cc556f978f178075d8a5c3fe188b9a54ab90dec2d335dd01af828ef1a66719f4d4632c392591b77ca0e6a1d122e8af1b8e + version: 2.1.1 + resolution: "@types/prettier@npm:2.1.1" + checksum: 3671bedc845a0e61bb8eb698746e1f6d1201ac784f95c536cd653c1406a51c0e9c338ecbbc73f1b5fd5fe0b0af98edf7e85428810357d959355ab46b3a63ebe6 languageName: node linkType: hard @@ -3732,9 +3732,9 @@ __metadata: linkType: hard "@types/semver@npm:^7.1.0": - version: 7.3.3 - resolution: "@types/semver@npm:7.3.3" - checksum: 6dd845385b97eca6c93bca42de075ebbd5057804d2fefcd8f86cdfb02217a8b15ac17b85575615b7186d84877c2faf99bd8274f4346f9953f37ec3101992c6a5 + version: 7.3.4 + resolution: "@types/semver@npm:7.3.4" + checksum: 7e8588aa55ecb344eda6954674b83a3c568d97d478e70e4617bd3ab22902590ac416ccf2cea48b58fb2f0fbd80f9ad1896332c9b3c3189ffd24e4350ff22094a languageName: node linkType: hard @@ -3840,11 +3840,11 @@ __metadata: linkType: hard "@typescript-eslint/eslint-plugin@npm:^4.1.0": - version: 4.1.0 - resolution: "@typescript-eslint/eslint-plugin@npm:4.1.0" + version: 4.1.1 + resolution: "@typescript-eslint/eslint-plugin@npm:4.1.1" dependencies: - "@typescript-eslint/experimental-utils": 4.1.0 - "@typescript-eslint/scope-manager": 4.1.0 + "@typescript-eslint/experimental-utils": 4.1.1 + "@typescript-eslint/scope-manager": 4.1.1 debug: ^4.1.1 functional-red-black-tree: ^1.0.1 regexpp: ^3.0.0 @@ -3856,66 +3856,66 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: be6761b7331d73b0f2d6eba83305a70a63e986e0210c88987934ddfe7459c69bbb1f3563df2eb8205e876c8c891f3232b8e4faaad316e4a4f32dad1917667fc8 + checksum: 371ed9fb3091b8f7bdc7e8b06273eca9fcd5c5f6cb82f04a06ce5126949a76e2e7764b97fea4ca6c18c25be24d27dc8afc84f5a63b76cb342a314ccb0dfff8e5 languageName: node linkType: hard -"@typescript-eslint/experimental-utils@npm:4.1.0, @typescript-eslint/experimental-utils@npm:^4.0.1": - version: 4.1.0 - resolution: "@typescript-eslint/experimental-utils@npm:4.1.0" +"@typescript-eslint/experimental-utils@npm:4.1.1, @typescript-eslint/experimental-utils@npm:^4.0.1": + version: 4.1.1 + resolution: "@typescript-eslint/experimental-utils@npm:4.1.1" dependencies: "@types/json-schema": ^7.0.3 - "@typescript-eslint/scope-manager": 4.1.0 - "@typescript-eslint/types": 4.1.0 - "@typescript-eslint/typescript-estree": 4.1.0 + "@typescript-eslint/scope-manager": 4.1.1 + "@typescript-eslint/types": 4.1.1 + "@typescript-eslint/typescript-estree": 4.1.1 eslint-scope: ^5.0.0 eslint-utils: ^2.0.0 peerDependencies: eslint: "*" - checksum: 8e032ffc11eb92d3306a34593a61e67469bd83051ea134c52e2942c9e74ee5c23394ab381f9e9119933061e268b609855a5cc605b20e777f6fc8f0f15fe0e60e + checksum: 49866a6695109866aba60f260a99ec776389a5ea3e6d973b5a36a65ff1e7d65bf04ee07be190a2f16bd2c20b628c3b022a7f3fe1e148602c7c0c752d626dd9ad languageName: node linkType: hard "@typescript-eslint/parser@npm:^4.1.0": - version: 4.1.0 - resolution: "@typescript-eslint/parser@npm:4.1.0" + version: 4.1.1 + resolution: "@typescript-eslint/parser@npm:4.1.1" dependencies: - "@typescript-eslint/scope-manager": 4.1.0 - "@typescript-eslint/types": 4.1.0 - "@typescript-eslint/typescript-estree": 4.1.0 + "@typescript-eslint/scope-manager": 4.1.1 + "@typescript-eslint/types": 4.1.1 + "@typescript-eslint/typescript-estree": 4.1.1 debug: ^4.1.1 peerDependencies: eslint: ^5.0.0 || ^6.0.0 || ^7.0.0 peerDependenciesMeta: typescript: optional: true - checksum: aa7f277d2237a02060e8e08e414b6b8e7cd90eaf1c9da3b1acb1d275e2565c954f55970e3555a08037f312802fe402b03f0f83daeff88daac30a7b58ace77140 + checksum: a80faee257b9bedc14c7580b1a9a3e0ff07b9bbe9fcced0b7517f7cc3e7738bc6026abc7ad81696eab90da6e305118c4ffaea109049fe4cc7f71e22966be636b languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:4.1.0": - version: 4.1.0 - resolution: "@typescript-eslint/scope-manager@npm:4.1.0" +"@typescript-eslint/scope-manager@npm:4.1.1": + version: 4.1.1 + resolution: "@typescript-eslint/scope-manager@npm:4.1.1" dependencies: - "@typescript-eslint/types": 4.1.0 - "@typescript-eslint/visitor-keys": 4.1.0 - checksum: 2b04497a309e47db2d35f164602f1937086505c379a148e14ec2c804a853412909810b0fb1651c4971bca40f9c54ad84cb39abfb3315ed22813bf5440dd0c490 + "@typescript-eslint/types": 4.1.1 + "@typescript-eslint/visitor-keys": 4.1.1 + checksum: 48d3b5dc0b77a2ba8c6cb3f1be5e7e0e025540348aac6b2fd43bd9a1d8dc1dec8782f32a19911cb11b3432c55b2bfdf2fc5029ba006f595d6d4626d6a9947986 languageName: node linkType: hard -"@typescript-eslint/types@npm:4.1.0": - version: 4.1.0 - resolution: "@typescript-eslint/types@npm:4.1.0" - checksum: a03203c760ed3a6233ea75db9588b10cd2711b0e09b48e68f21ae8191717589e05a9ab47e7c8210c648b93efaa12560fdd6e1a4ab9f83aee7e1ad4c8abc00f4a +"@typescript-eslint/types@npm:4.1.1": + version: 4.1.1 + resolution: "@typescript-eslint/types@npm:4.1.1" + checksum: 355428839e5749f9df162147ad6665b297e3a0872a966a113222917e1e48244b5d4160f53998c92e10f1b6997c64860cf536163dfb8014ad37d8ba2c011f971b languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:4.1.0": - version: 4.1.0 - resolution: "@typescript-eslint/typescript-estree@npm:4.1.0" +"@typescript-eslint/typescript-estree@npm:4.1.1": + version: 4.1.1 + resolution: "@typescript-eslint/typescript-estree@npm:4.1.1" dependencies: - "@typescript-eslint/types": 4.1.0 - "@typescript-eslint/visitor-keys": 4.1.0 + "@typescript-eslint/types": 4.1.1 + "@typescript-eslint/visitor-keys": 4.1.1 debug: ^4.1.1 globby: ^11.0.1 is-glob: ^4.0.1 @@ -3925,17 +3925,17 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: afeac4b1f0a0a0ffe443d4908ad10758382c222635397b46699c3c0000a77cdc634d48698ace47cd105f8a5bb1198a16e52fae62eedacf6d431481a262402c37 + checksum: b7c101189ac7bad4a81f6fba8557ac2b01b0cd4f5764af3df5b93c9e714936bdf9faae21c64c4a3fbed57207fac867c1823aaf379a23919a78200770efeb8b96 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:4.1.0": - version: 4.1.0 - resolution: "@typescript-eslint/visitor-keys@npm:4.1.0" +"@typescript-eslint/visitor-keys@npm:4.1.1": + version: 4.1.1 + resolution: "@typescript-eslint/visitor-keys@npm:4.1.1" dependencies: - "@typescript-eslint/types": 4.1.0 + "@typescript-eslint/types": 4.1.1 eslint-visitor-keys: ^2.0.0 - checksum: ed574594bae895dd7e83192facdfa40ebb1485455d0067e1580fdf4d2b5736349ae45d9e48ee0ca14691c1d9046da95e484b38fa716d107d3963f1d6129e1479 + checksum: 0cf9f0f068459fbc683f38f2dd3b47a5b16da00812b46c589ae18fe0f8ff97715064cb0b5577ac32e882d510e12f887db9ef08b87c499c6dd2db264ceb6aa569 languageName: node linkType: hard @@ -3963,9 +3963,9 @@ __metadata: linkType: hard "abab@npm:^2.0.3": - version: 2.0.4 - resolution: "abab@npm:2.0.4" - checksum: 764470a74d3cdf4abd76cae594106cdeb557911f133c3b5e558e2b2c8a2a081aa60b614e04491df01c38920f99c89f85bfe406115a749e7552f1b08bf3ed6a6b + version: 2.0.5 + resolution: "abab@npm:2.0.5" + checksum: a42b91bd9dd2451a3fc6996bc8953139904ff7b1a793719205041148da892337afc97ed0589ef2c44765c4da3d688eed145781db1623b611621d805294c367a3 languageName: node linkType: hard @@ -4107,14 +4107,14 @@ __metadata: linkType: hard "ajv@npm:^6.10.0, ajv@npm:^6.10.2, ajv@npm:^6.12.3, ajv@npm:^6.12.4": - version: 6.12.4 - resolution: "ajv@npm:6.12.4" + version: 6.12.5 + resolution: "ajv@npm:6.12.5" dependencies: fast-deep-equal: ^3.1.1 fast-json-stable-stringify: ^2.0.0 json-schema-traverse: ^0.4.1 uri-js: ^4.2.2 - checksum: 50d72b0a10326732072f5481b1b6bd5a43f8d770878b8f88ba5bb232abb745cefbf7f87a0e64679bd477d4a8bba0b3aea084675bd34943db5279c15907ee658f + checksum: d9ec559bd71be2479b91d293a5b14c96d60ba89f471d8b3369443830b6c72954bdc38f480194413f45f46fc250c8bd769275584ffde033aeb3c56cc218868d95 languageName: node linkType: hard @@ -5087,7 +5087,7 @@ __metadata: languageName: node linkType: hard -"bl@npm:^4.0.1": +"bl@npm:^4.0.3": version: 4.0.3 resolution: "bl@npm:4.0.3" dependencies: @@ -5234,16 +5234,16 @@ __metadata: linkType: hard "browserslist@npm:^4.0.0, browserslist@npm:^4.12.0, browserslist@npm:^4.8.5": - version: 4.14.1 - resolution: "browserslist@npm:4.14.1" + version: 4.14.2 + resolution: "browserslist@npm:4.14.2" dependencies: - caniuse-lite: ^1.0.30001124 - electron-to-chromium: ^1.3.562 + caniuse-lite: ^1.0.30001125 + electron-to-chromium: ^1.3.564 escalade: ^3.0.2 - node-releases: ^1.1.60 + node-releases: ^1.1.61 bin: browserslist: cli.js - checksum: ec790844a1d72b448b7ea2389a4159a06a6b938d4fcd64ef1870f9320e2b890d84ac98c62236369e176aa2940eeea8c0d9359df75fe6babf9cfa50237a9a30dd + checksum: e321c3c14f4eec04b458bd43fbbd457910dd7e905cd47910c1ecc94d65186670b951f6fc223453985f9c83d6ac09c35fcaa47552c0352123b8e8d4b0f5dbfed7 languageName: node linkType: hard @@ -5541,10 +5541,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30000989, caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001124": - version: 1.0.30001125 - resolution: "caniuse-lite@npm:1.0.30001125" - checksum: 1253f4fa1996d51c6fe4ccd659ae36a400476e9edb1427f956296f60265217b27e078f51d8820c40a8a6d7993d9530357f49ebd97be52c68ec44173814ba35fb +"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30000989, caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001125": + version: 1.0.30001129 + resolution: "caniuse-lite@npm:1.0.30001129" + checksum: 06c79bdff83922e1f805a59e801df92450360c4f1e3f99d25581b6fb6b01396f1b8bd2698cdd654b39e11dbffeb971257888ceadc34cbb25c6f5525d4aff51e3 languageName: node linkType: hard @@ -7007,7 +7007,7 @@ __metadata: languageName: node linkType: hard -"define-properties@npm:^1.1.2, define-properties@npm:^1.1.3": +"define-properties@npm:^1.1.3": version: 1.1.3 resolution: "define-properties@npm:1.1.3" dependencies: @@ -7448,10 +7448,10 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.3.247, electron-to-chromium@npm:^1.3.562": - version: 1.3.564 - resolution: "electron-to-chromium@npm:1.3.564" - checksum: 36915ddd4e2ed80c113abf5adc9d0ca962cdd966a110cfac9c90c8368f93f728d09da44765803ab3bad67894f61d756c427f75434e9eaa0371879e51c8f07f26 +"electron-to-chromium@npm:^1.3.247, electron-to-chromium@npm:^1.3.564": + version: 1.3.567 + resolution: "electron-to-chromium@npm:1.3.567" + checksum: ee7f91abe9b6acfdfc014295c33a4fa308848a3e82301db47bf5ef144bbe904cdbf04e79d77b20922148e14edd837286ed2234755f849382f17bb2789a9730ad languageName: node linkType: hard @@ -7744,9 +7744,9 @@ __metadata: linkType: hard "escalade@npm:^3.0.2": - version: 3.0.2 - resolution: "escalade@npm:3.0.2" - checksum: 30f45cb4dbc35e41dd53910c016313733219bdd06c49751fd30ef241509ef4f1c8b21b65313949aaaf1edd58ab1ac84bf71b4a70465c7be46f7e5eaf51d737bb + version: 3.1.0 + resolution: "escalade@npm:3.1.0" + checksum: 437c5b2619a412c0b075fb33e590e3516f187f7da8b20035685e08f346e27842722e5740a3398535d7d590ae4fb70068374ed59190d4eb4f9bb06d052e2fc92f languageName: node linkType: hard @@ -9918,7 +9918,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"has-symbols@npm:^1.0.0, has-symbols@npm:^1.0.1": +"has-symbols@npm:^1.0.1": version: 1.0.1 resolution: "has-symbols@npm:1.0.1" checksum: 84e2a03ada6f530f0c1ebea64df5932556ac20a4b78998f1f2b5dd0cf736843e8082c488b0ea7f08b9aec72fb6d8b736beed2fd62fac60dcaebfdc0b8d2aa7ac @@ -10713,9 +10713,9 @@ fsevents@^1.2.7: linkType: hard "is-callable@npm:^1.1.4, is-callable@npm:^1.1.5, is-callable@npm:^1.2.0": - version: 1.2.0 - resolution: "is-callable@npm:1.2.0" - checksum: 8a5e68b7c3a95159c98595789015da72e71432e638c4bc0aad4722ea6a1ffeca178838cfb6012f5b9cc1a8c61b737704bd658d8f588959a46a899961667e99f5 + version: 1.2.1 + resolution: "is-callable@npm:1.2.1" + checksum: ef2dd2e158b9feeb6243f9c946cb536c7537aceff02a66aad0f38138982a5f775bbb53b2957e85ad3a93c13b4a8b226096d5942224c18c10ca7a7f5cb06fda1c languageName: node linkType: hard @@ -11029,10 +11029,10 @@ fsevents@^1.2.7: languageName: node linkType: hard -"is-plain-object@npm:^4.0.0": - version: 4.1.1 - resolution: "is-plain-object@npm:4.1.1" - checksum: c63fb5bf602956ab72ca6accb0d005e8bdc5edea68fb53461c9ebbfc9ce365a339a61f2c94f6a889b66c852c91232c652cc01cb81740d2d2b7f23a92ce46e479 +"is-plain-object@npm:^5.0.0": + version: 5.0.0 + resolution: "is-plain-object@npm:5.0.0" + checksum: 92bd87f095036fb6ef21fcba4e66734bba1457fc4abece5873bd1fba130c44fa8a4df64a2ef7841da638680af18e1ad2e5fac1095bed3578d0da0afc1f04bcf3 languageName: node linkType: hard @@ -11413,7 +11413,7 @@ fsevents@^1.2.7: jest-util: ^26.3.0 jest-validate: ^26.4.2 prompts: ^2.0.1 - yargs: ^16.0.1 + yargs: ^16.0.3 bin: jest: ./bin/jest.js languageName: unknown @@ -11731,7 +11731,7 @@ fsevents@^1.2.7: jest-runtime: ^26.4.2 jest-validate: ^26.4.2 repl: ^0.1.3 - yargs: ^16.0.1 + yargs: ^16.0.3 bin: jest-repl: ./bin/jest-repl.js languageName: unknown @@ -11847,7 +11847,7 @@ fsevents@^1.2.7: jest-validate: ^26.4.2 slash: ^3.0.0 strip-bom: ^4.0.0 - yargs: ^16.0.1 + yargs: ^16.0.3 bin: jest-runtime: ./bin/jest-runtime.js languageName: unknown @@ -14165,7 +14165,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"node-fetch@npm:^2.2.0, node-fetch@npm:^2.3.0, node-fetch@npm:^2.5.0, node-fetch@npm:^2.6.0": +"node-fetch@npm:^2.2.0, node-fetch@npm:^2.5.0, node-fetch@npm:^2.6.0, node-fetch@npm:^2.6.1": version: 2.6.1 resolution: "node-fetch@npm:2.6.1" checksum: cbb171635e538162b977eac5dfe7a1e07a9a02e991924377a6435502291e2f823d306b95aabc455caebf4a118ccf836868462bc70ccc3095af02bb9da61fda37 @@ -14252,7 +14252,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"node-releases@npm:^1.1.29, node-releases@npm:^1.1.60": +"node-releases@npm:^1.1.29, node-releases@npm:^1.1.61": version: 1.1.61 resolution: "node-releases@npm:1.1.61" checksum: 3aab2b13f55e7a5fdabc9d3d7f211b3d4b614e50b50467d01a2554f609cabe3f655e37a04b52da05aeec2d2001e92bf10821f70b821145ffc2e11a3abd7b457e @@ -14537,7 +14537,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"object-keys@npm:^1.0.11, object-keys@npm:^1.0.12, object-keys@npm:^1.1.1": +"object-keys@npm:^1.0.12, object-keys@npm:^1.1.1": version: 1.1.1 resolution: "object-keys@npm:1.1.1" checksum: 30d72d768b7f3f42144cee517b80e70c40cf39bb76f100557ffac42779613c591780135c54d8133894a78d2c0ae817e24a5891484722c6019a5cd5b58c745c66 @@ -14554,14 +14554,14 @@ fsevents@^1.2.7: linkType: hard "object.assign@npm:^4.1.0": - version: 4.1.0 - resolution: "object.assign@npm:4.1.0" + version: 4.1.1 + resolution: "object.assign@npm:4.1.1" dependencies: - define-properties: ^1.1.2 - function-bind: ^1.1.1 - has-symbols: ^1.0.0 - object-keys: ^1.0.11 - checksum: 92e20891ddf04d9974f7b178ae70d198727dcd638c8a5a422f07f730f40140c4fe02451cdc9c37e9f22392e5487b9162975003a9f20b16a87b9d13fe150cf62d + define-properties: ^1.1.3 + es-abstract: ^1.18.0-next.0 + has-symbols: ^1.0.1 + object-keys: ^1.1.1 + checksum: 2038905bbf7c07313df831e83e40fc4eba783d2d680533ec47c546e562e939902db69c83fea9bd836204aa3e01e8db0faa412d4f649c9825235cc8e5c1166dd1 languageName: node linkType: hard @@ -18422,15 +18422,15 @@ fsevents@^1.2.7: linkType: hard "tar-stream@npm:^2.1.3": - version: 2.1.3 - resolution: "tar-stream@npm:2.1.3" + version: 2.1.4 + resolution: "tar-stream@npm:2.1.4" dependencies: - bl: ^4.0.1 + bl: ^4.0.3 end-of-stream: ^1.4.1 fs-constants: ^1.0.0 inherits: ^2.0.3 readable-stream: ^3.1.1 - checksum: 57d2284615ee76ae5e41bcb8a1cb61c00b9ba514a1b8b86168d53967ea0f45581a3f00c8bdf7653fbd208490edea69ff39caaa845d7e04420cdddd56bea17e92 + checksum: d0414b07c267d6734bc2c7b689ae13de0216668c8202b883109b5d54e02811f6536bab80c9329f758d098207e1c24375443a89c3bf70199bd3ba5c4692cac193 languageName: node linkType: hard @@ -19082,9 +19082,9 @@ fsevents@^1.2.7: linkType: hard "ua-parser-js@npm:^0.7.18": - version: 0.7.21 - resolution: "ua-parser-js@npm:0.7.21" - checksum: 5bd2d949e2f0befebf1e7fabde12978ea619e604e1d43a4f165c51543caf9cea5f40512734f224435e248101beffcba1153d38cfb9dc88152f13bf79e9a106ee + version: 0.7.22 + resolution: "ua-parser-js@npm:0.7.22" + checksum: c14272a0261bacd6d9daecc8bd2d48d6e5c68d27d5978e10fb27cbbeb07ee0d427786436e4db8ca7ce92ba4bf0399dda647c1f98fbb77ee2fec8f3b7b8244999 languageName: node linkType: hard @@ -20138,10 +20138,10 @@ fsevents@^1.2.7: languageName: node linkType: hard -"yargs-parser@npm:^19.0.4": - version: 19.0.4 - resolution: "yargs-parser@npm:19.0.4" - checksum: 69ed686f9f215b1aeccf767e6fa264e1d37b2ac9c5cf78cd55cab1afb994aa3cb8888c4e3d51c214050cdeefe133d61f4079c87f6621c13d0b7a6349b0677cb7 +"yargs-parser@npm:^20.0.0": + version: 20.0.0 + resolution: "yargs-parser@npm:20.0.0" + checksum: ddd40e7c1a23416f46b08fd5b07b9ac87b56682cbeb164dd56c7bd14a5a2274be2450a1ac8e2c320bf3b558c9b69fd20dd14d03481c75664662838275250cdfa languageName: node linkType: hard @@ -20183,9 +20183,9 @@ fsevents@^1.2.7: languageName: node linkType: hard -"yargs@npm:^16.0.1": - version: 16.0.1 - resolution: "yargs@npm:16.0.1" +"yargs@npm:^16.0.3": + version: 16.0.3 + resolution: "yargs@npm:16.0.3" dependencies: cliui: ^7.0.0 escalade: ^3.0.2 @@ -20193,8 +20193,8 @@ fsevents@^1.2.7: require-directory: ^2.1.1 string-width: ^4.2.0 y18n: ^5.0.1 - yargs-parser: ^19.0.4 - checksum: c38d02557ddcc40519bb80474f8131f5a5b791a8aaddcdbfbe7c30c6aa6738d2de0281b59b913e9343c95b5794060c8da7e8c8bd4aba1e4d1bcf27b9a97f0c5a + yargs-parser: ^20.0.0 + checksum: 39490963e02bceb73ffff285cd9b241e5b019acbedef456586c97027cc18d0cadb743ad1340ccdc9340d0a21e18176c63b9f8bd90eee64c7e1f512c147aab1c2 languageName: node linkType: hard From 18068210157be7870bdcf913c90a41762db3b327 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 15 Sep 2020 07:16:44 +0200 Subject: [PATCH 2/2] remove unused disables --- packages/jest-circus/src/types.ts | 3 --- packages/jest-jasmine2/src/types.ts | 3 --- packages/jest-resolve/src/defaultResolver.ts | 2 -- packages/pretty-format/src/__tests__/setPrettyPrint.ts | 3 --- 4 files changed, 11 deletions(-) diff --git a/packages/jest-circus/src/types.ts b/packages/jest-circus/src/types.ts index f8cf295f4af0..78fc35ccc8da 100644 --- a/packages/jest-circus/src/types.ts +++ b/packages/jest-circus/src/types.ts @@ -20,11 +20,8 @@ export const TEST_TIMEOUT_SYMBOL = (Symbol.for( 'TEST_TIMEOUT_SYMBOL', ) as unknown) as 'TEST_TIMEOUT_SYMBOL'; -// https://github.com/typescript-eslint/typescript-eslint/issues/2523 -// eslint-disable-next-line @typescript-eslint/no-unused-vars declare global { module NodeJS { - // eslint-disable-next-line @typescript-eslint/no-unused-vars interface Global { STATE_SYM_SYMBOL: Circus.State; RETRY_TIMES_SYMBOL: string; diff --git a/packages/jest-jasmine2/src/types.ts b/packages/jest-jasmine2/src/types.ts index 1a4416853b81..616e6105da7b 100644 --- a/packages/jest-jasmine2/src/types.ts +++ b/packages/jest-jasmine2/src/types.ts @@ -95,11 +95,8 @@ export type Jasmine = { } & typeof expect & NodeJS.Global; -// https://github.com/typescript-eslint/typescript-eslint/issues/2523 -// eslint-disable-next-line @typescript-eslint/no-unused-vars declare global { module NodeJS { - // eslint-disable-next-line @typescript-eslint/no-unused-vars interface Global { expect: typeof expect; } diff --git a/packages/jest-resolve/src/defaultResolver.ts b/packages/jest-resolve/src/defaultResolver.ts index 8b11260535ac..c925ae8fe3b0 100644 --- a/packages/jest-resolve/src/defaultResolver.ts +++ b/packages/jest-resolve/src/defaultResolver.ts @@ -23,8 +23,6 @@ type ResolverOptions = { packageFilter?: ResolveOpts['packageFilter']; }; -// https://github.com/typescript-eslint/typescript-eslint/issues/2523 -// eslint-disable-next-line @typescript-eslint/no-unused-vars declare global { namespace NodeJS { export interface ProcessVersions { diff --git a/packages/pretty-format/src/__tests__/setPrettyPrint.ts b/packages/pretty-format/src/__tests__/setPrettyPrint.ts index c7d2e65f28b5..f36e542450ec 100644 --- a/packages/pretty-format/src/__tests__/setPrettyPrint.ts +++ b/packages/pretty-format/src/__tests__/setPrettyPrint.ts @@ -8,11 +8,8 @@ import prettyFormat from '../'; import type {OptionsReceived, Plugins} from '../types'; -// https://github.com/typescript-eslint/typescript-eslint/issues/2523 -// eslint-disable-next-line @typescript-eslint/no-unused-vars declare global { namespace jest { - // eslint-disable-next-line @typescript-eslint/no-unused-vars interface Matchers { toPrettyPrintTo(expected: unknown, options?: OptionsReceived): R; }