Skip to content

Commit

Permalink
chore: upgrade to typescript@4 (#650)
Browse files Browse the repository at this point in the history
Closes #646
  • Loading branch information
G-Rath authored and SimenB committed Sep 4, 2020
1 parent 40cd89d commit 5e3ba0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -120,7 +120,7 @@
"rimraf": "^3.0.0",
"semantic-release": "^17.0.7",
"ts-node": "^9.0.0",
"typescript": "^3.5.3"
"typescript": "^4.0.0"
},
"peerDependencies": {
"eslint": ">=5"
Expand Down
1 change: 1 addition & 0 deletions src/rules/no-focused-tests.ts
Expand Up @@ -30,6 +30,7 @@ const isConcurrentExpression = (

const matchesTestFunction = (object: TSESTree.LeftHandSideExpression) =>
'name' in object &&
typeof object.name === 'string' &&
(object.name in TestCaseName || object.name in DescribeAlias);

const isCallToFocusedTestFunction = (object: TSESTree.Identifier) =>
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -8538,10 +8538,10 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=

typescript@^3.5.3:
version "3.9.7"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa"
integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==
typescript@^4.0.0:
version "4.0.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.2.tgz#7ea7c88777c723c681e33bf7988be5d008d05ac2"
integrity sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==

uglify-js@^3.1.4:
version "3.10.3"
Expand Down

0 comments on commit 5e3ba0e

Please sign in to comment.