diff --git a/package.json b/package.json index 24e3e4673486..97c1225bcd17 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "@types/babel__template": "^7.0.0", "@types/jest": "24.0.2", "@types/node": "*", - "@typescript-eslint/eslint-plugin": "^1.4.2", - "@typescript-eslint/parser": "^1.4.2", + "@typescript-eslint/eslint-plugin": "^1.5.0", + "@typescript-eslint/parser": "^1.5.0", "ansi-regex": "^4.0.0", "ansi-styles": "^3.2.0", "babel-eslint": "^9.0.0", @@ -69,7 +69,7 @@ "slash": "^2.0.0", "string-length": "^2.0.0", "strip-ansi": "^5.0.0", - "typescript": "next", + "typescript": "^3.4.1", "webpack": "^4.28.4" }, "scripts": { diff --git a/packages/babel-plugin-jest-hoist/src/index.ts b/packages/babel-plugin-jest-hoist/src/index.ts index f99fa9675691..dd165c7363ca 100644 --- a/packages/babel-plugin-jest-hoist/src/index.ts +++ b/packages/babel-plugin-jest-hoist/src/index.ts @@ -161,6 +161,7 @@ export = () => { } const callee = expr.get('callee'); + const expressionArguments = expr.get('arguments'); // TODO: avoid type casts - the types can be arrays (is it possible to ignore that without casting?) const object = callee.get('object') as NodePath; const property = callee.get('property') as NodePath; @@ -169,7 +170,7 @@ export = () => { FUNCTIONS[property.node.name] && (object.isIdentifier(JEST_GLOBAL) || (callee.isMemberExpression() && shouldHoistExpression(object))) && - FUNCTIONS[property.node.name](expr.get('arguments')) + FUNCTIONS[property.node.name](expressionArguments) ); }; diff --git a/packages/expect/src/toThrowMatchers.ts b/packages/expect/src/toThrowMatchers.ts index 4ad89aee7c81..ca45aefd1800 100644 --- a/packages/expect/src/toThrowMatchers.ts +++ b/packages/expect/src/toThrowMatchers.ts @@ -392,8 +392,7 @@ const formatStack = (thrown: Thrown | null) => thrown === null || !thrown.isError ? '' : formatStackTrace( - // @ts-ignore - separateMessageFromStack(thrown.value.stack).stack, + separateMessageFromStack(thrown.value.stack!).stack, { rootDir: process.cwd(), testMatch: [], diff --git a/packages/jest-circus/src/__mocks__/testUtils.ts b/packages/jest-circus/src/__mocks__/testUtils.ts index 1865256a50b7..1353fcd09fda 100644 --- a/packages/jest-circus/src/__mocks__/testUtils.ts +++ b/packages/jest-circus/src/__mocks__/testUtils.ts @@ -11,7 +11,6 @@ import os from 'os'; import path from 'path'; import crypto from 'crypto'; import {sync as spawnSync, ExecaReturns} from 'execa'; -// @ts-ignore import {skipSuiteOnWindows} from '@jest/test-utils'; const CIRCUS_PATH = require.resolve('../../build'); diff --git a/packages/jest-circus/tsconfig.json b/packages/jest-circus/tsconfig.json index 31de3b50f0a3..10a995ffa2ba 100644 --- a/packages/jest-circus/tsconfig.json +++ b/packages/jest-circus/tsconfig.json @@ -14,6 +14,7 @@ {"path": "../jest-test-result"}, {"path": "../jest-types"}, {"path": "../jest-util"}, - {"path": "../pretty-format"} + {"path": "../pretty-format"}, + {"path": "../test-utils"} ] } diff --git a/packages/jest-reporters/istanbul-lib-coverage.d.ts b/packages/jest-reporters/istanbul-lib-coverage.d.ts deleted file mode 100644 index 360455ca42b5..000000000000 --- a/packages/jest-reporters/istanbul-lib-coverage.d.ts +++ /dev/null @@ -1,128 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -declare module 'istanbul-lib-coverage' { - export interface CoverageSummaryData { - lines: Totals; - statements: Totals; - branches: Totals; - functions: Totals; - } - - export class CoverageSummary { - constructor(data: CoverageSummary | CoverageSummaryData); - merge(obj: CoverageSummary): CoverageSummary; - toJSON(): CoverageSummaryData; - isEmpty(): boolean; - data: CoverageSummaryData; - lines: Totals; - statements: Totals; - branches: Totals; - functions: Totals; - } - - export interface CoverageMapData { - [key: string]: FileCoverage; - } - - export class CoverageMap { - constructor(data: CoverageMapData | CoverageMap); - addFileCoverage( - pathOrObject: string | FileCoverage | FileCoverageData, - ): void; - files(): Array; - fileCoverageFor(filename: string): FileCoverage; - filter(callback: (key: string) => boolean): void; - getCoverageSummary(): CoverageSummary; - merge(data: CoverageMapData | CoverageMap): void; - toJSON(): CoverageMapData; - data: CoverageMapData; - } - - export interface Location { - line: number; - column: number; - } - - export interface Range { - start: Location; - end: Location; - } - - export interface BranchMapping { - loc: Range; - type: string; - locations: Array; - line: number; - } - - export interface FunctionMapping { - name: string; - decl: Range; - loc: Range; - line: number; - } - - export interface FileCoverageData { - path: string; - statementMap: {[key: string]: Range}; - fnMap: {[key: string]: FunctionMapping}; - branchMap: {[key: string]: BranchMapping}; - s: {[key: string]: number}; - f: {[key: string]: number}; - b: {[key: string]: Array}; - } - - export interface Totals { - total: number; - covered: number; - skipped: number; - pct: number; - } - - export interface Coverage { - covered: number; - total: number; - coverage: number; - } - - export class FileCoverage implements FileCoverageData { - constructor(data: string | FileCoverage | FileCoverageData); - merge(other: FileCoverageData): void; - getBranchCoverageByLine(): {[line: number]: Coverage}; - getLineCoverage(): {[line: number]: number}; - getUncoveredLines(): Array; - resetHits(): void; - computeBranchTotals(): Totals; - computeSimpleTotals(): Totals; - toSummary(): CoverageSummary; - toJSON(): object; - - data: FileCoverageData; - path: string; - statementMap: {[key: string]: Range}; - fnMap: {[key: string]: FunctionMapping}; - branchMap: {[key: string]: BranchMapping}; - s: {[key: string]: number}; - f: {[key: string]: number}; - b: {[key: string]: Array}; - } - - export const classes: { - FileCoverage: typeof FileCoverage; - }; - - export function createCoverageMap( - data?: CoverageMap | CoverageMapData, - ): CoverageMap; - export function createCoverageSummary( - obj?: CoverageSummary | CoverageSummaryData, - ): CoverageSummary; - export function createFileCoverage( - pathOrObject: string | FileCoverage | FileCoverageData, - ): FileCoverage; -} diff --git a/packages/jest-reporters/node-notifier.d.ts b/packages/jest-reporters/node-notifier.d.ts deleted file mode 100644 index 27a27e1211dd..000000000000 --- a/packages/jest-reporters/node-notifier.d.ts +++ /dev/null @@ -1,255 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -/// - -// TODO: Replace with @types/node-notifier -declare module 'node-notifier' { - import NotificationCenter = require('node-notifier/notifiers/notificationcenter'); - import NotifySend = require('node-notifier/notifiers/notifysend'); - import WindowsToaster = require('node-notifier/notifiers/toaster'); - import WindowsBalloon = require('node-notifier/notifiers/balloon'); - import Growl = require('node-notifier/notifiers/growl'); - - namespace nodeNotifier { - interface NodeNotifier extends NodeJS.EventEmitter { - notify( - notification?: NotificationCenter.Notification, - callback?: NotificationCallback, - ): NotificationCenter; - notify( - notification?: WindowsToaster.Notification, - callback?: NotificationCallback, - ): WindowsToaster; - notify( - notification?: WindowsBalloon.Notification, - callback?: NotificationCallback, - ): WindowsBalloon; - notify( - notification?: NotifySend.Notification, - callback?: NotificationCallback, - ): NotifySend; - notify( - notification?: Growl.Notification, - callback?: NotificationCallback, - ): Growl; - notify( - notification?: Notification, - callback?: NotificationCallback, - ): NodeNotifier; - notify( - notification?: string, - callback?: NotificationCallback, - ): NodeNotifier; - NotificationCenter: typeof NotificationCenter; - NotifySend: typeof NotifySend; - WindowsToaster: typeof WindowsToaster; - WindowsBalloon: typeof WindowsBalloon; - Growl: typeof Growl; - } - - interface Notification { - title?: string; - message?: string; - /** Absolute path (not balloons) */ - icon?: string; - /** Wait with callback until user action is taken on notification */ - wait?: boolean; - } - - interface NotificationMetadata { - activationType?: string; - activationAt?: string; - deliveredAt?: string; - activationValue?: string; - activationValueIndex?: string; - } - - interface NotificationCallback { - ( - err: Error | null, - response: string, - metadata?: NotificationMetadata, - ): void; - } - - interface Option { - withFallback?: boolean; - customPath?: string; - } - } - - const nodeNotifier: nodeNotifier.NodeNotifier; - - export = nodeNotifier; -} - -declare module 'node-notifier/notifiers/notificationcenter' { - import notifier = require('node-notifier'); - - class NotificationCenter { - constructor(option?: notifier.Option); - notify( - notification?: NotificationCenter.Notification, - callback?: notifier.NotificationCallback, - ): NotificationCenter; - } - - namespace NotificationCenter { - interface Notification extends notifier.Notification { - /** - * Case Sensitive string for location of sound file, or use one of macOS' native sounds. - */ - sound?: boolean | string; - subtitle?: string; - /** Attach image? (Absolute path) */ - contentImage?: string; - /** URL to open on click */ - open?: string; - /** - * The amount of seconds before the notification closes. - * Takes precedence over wait if both are defined. - */ - timeout?: number; - /** Label for cancel button */ - closeLabel?: string; - /** Action label or list of labels in case of dropdown. */ - actions?: string | Array; - /** Label to be used if there are multiple actions */ - dropdownLabel?: string; - /** - * If notification should take input. - * Value passed as third argument in callback and event emitter. - */ - reply?: boolean; - } - } - - export = NotificationCenter; -} - -declare module 'node-notifier/notifiers/notifysend' { - import notifier = require('node-notifier'); - - class NotifySend { - constructor(option?: notifier.Option); - notify( - notification?: NotifySend.Notification, - callback?: notifier.NotificationCallback, - ): NotifySend; - } - - namespace NotifySend { - interface Notification { - title?: string; - message?: string; - icon?: string; - /** Specifies the urgency level (low, normal, critical). */ - urgency?: string; - /** Specifies the timeout in milliseconds at which to expire the notification */ - time?: number; - /** Specifies the notification category */ - category?: string; - /** Specifies basic extra data to pass. Valid types are int, double, string and byte. */ - hint?: string; - } - } - - export = NotifySend; -} - -declare module 'node-notifier/notifiers/toaster' { - import notifier = require('node-notifier'); - - class WindowsToaster { - constructor(option?: notifier.Option); - notify( - notification?: WindowsToaster.Notification, - callback?: notifier.NotificationCallback, - ): WindowsToaster; - } - - namespace WindowsToaster { - interface Notification extends notifier.Notification { - /** - * Defined by http://msdn.microsoft.com/en-us/library/windows/apps/hh761492.aspx - */ - sound?: boolean | string; - /** ID to use for closing notification. */ - id?: number; - /** App.ID and app Name. Defaults to no value, causing SnoreToast text to be visible. */ - appID?: string; - /** Refer to previously created notification to close. */ - remove?: number; - /** - * Creates a shortcut in the start menu which point to the - * executable , appID used for the notifications. - */ - install?: string; - } - } - - export = WindowsToaster; -} - -declare module 'node-notifier/notifiers/growl' { - import notifier = require('node-notifier'); - - class Growl { - constructor(option?: Growl.Option); - notify( - notification?: Growl.Notification, - callback?: notifier.NotificationCallback, - ): Growl; - } - - namespace Growl { - interface Option { - name?: string; - host?: string; - port?: number; - } - - interface Notification extends notifier.Notification { - /** whether or not to sticky the notification (defaults to false) */ - sticky?: boolean; - /** type of notification to use (defaults to the first registered type) */ - label?: string; - /** the priority of the notification from lowest (-2) to highest (2) */ - priority?: number; - } - } - - export = Growl; -} - -declare module 'node-notifier/notifiers/balloon' { - import notifier = require('node-notifier'); - - class WindowsBalloon { - constructor(option?: notifier.Option); - notify( - notification?: WindowsBalloon.Notification, - callback?: notifier.NotificationCallback, - ): WindowsBalloon; - } - - namespace WindowsBalloon { - interface Notification { - title?: string; - message?: string; - /** How long to show balloons in ms */ - time?: number; - /** Wait with callback until user action is taken on notification */ - wait?: boolean; - /** The notification type */ - type?: 'info' | 'warn' | 'error'; - } - } - - export = WindowsBalloon; -} diff --git a/packages/jest-reporters/package.json b/packages/jest-reporters/package.json index 1d7a5a519dbe..c63cf1a7e4f8 100644 --- a/packages/jest-reporters/package.json +++ b/packages/jest-reporters/package.json @@ -29,8 +29,10 @@ "devDependencies": { "@types/exit": "^0.1.30", "@types/glob": "^7.1.1", + "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-lib-instrument": "^1.7.2", "@types/istanbul-lib-source-maps": "^1.2.1", + "@types/node-notifier": "^5.4.0", "@types/slash": "^2.0.0", "@types/string-length": "^2.0.0", "strip-ansi": "^5.0.0" diff --git a/packages/jest-reporters/src/coverage_reporter.ts b/packages/jest-reporters/src/coverage_reporter.ts index c0832f4daab6..e53f9fff894e 100644 --- a/packages/jest-reporters/src/coverage_reporter.ts +++ b/packages/jest-reporters/src/coverage_reporter.ts @@ -6,7 +6,6 @@ */ // TODO: Remove this -/// /// import path from 'path'; diff --git a/packages/jest-reporters/src/generateEmptyCoverage.ts b/packages/jest-reporters/src/generateEmptyCoverage.ts index 763bb119f42d..ba0b0c7f1a8e 100644 --- a/packages/jest-reporters/src/generateEmptyCoverage.ts +++ b/packages/jest-reporters/src/generateEmptyCoverage.ts @@ -5,16 +5,11 @@ * LICENSE file in the root directory of this source tree. */ -// TODO: Remove this -/// - import {Config} from '@jest/types'; import {readInitialCoverage} from 'istanbul-lib-instrument'; -import {classes} from 'istanbul-lib-coverage'; +import {createFileCoverage} from 'istanbul-lib-coverage'; import {shouldInstrument, ScriptTransformer} from '@jest/transform'; -const FileCoverage = classes.FileCoverage; - export type CoverageWorkerResult = { coverage: any; sourceMapPath?: string | null; @@ -43,7 +38,7 @@ export default function( // Check extracted initial coverage is not null, this can happen when using /* istanbul ignore file */ if (extracted) { coverageWorkerResult = { - coverage: new FileCoverage(extracted.coverageData), + coverage: createFileCoverage(extracted.coverageData), sourceMapPath: mapCoverage ? sourceMapPath : null, }; } diff --git a/packages/jest-reporters/src/notify_reporter.ts b/packages/jest-reporters/src/notify_reporter.ts index 9022eed40870..13659ddda373 100644 --- a/packages/jest-reporters/src/notify_reporter.ts +++ b/packages/jest-reporters/src/notify_reporter.ts @@ -5,9 +5,6 @@ * LICENSE file in the root directory of this source tree. */ -// TODO: Remove this -/// - import path from 'path'; import util from 'util'; import exit from 'exit'; diff --git a/packages/jest-runner/package.json b/packages/jest-runner/package.json index 377e5fd9a159..12ff0a65aa07 100644 --- a/packages/jest-runner/package.json +++ b/packages/jest-runner/package.json @@ -33,7 +33,7 @@ "devDependencies": { "@types/exit": "^0.1.30", "@types/graceful-fs": "^4.1.2", - "@types/source-map-support": "^0.4.1" + "@types/source-map-support": "^0.5.0" }, "engines": { "node": ">= 6" diff --git a/packages/jest-runner/src/runTest.ts b/packages/jest-runner/src/runTest.ts index 18da0d5de17b..49bcb0646b5c 100644 --- a/packages/jest-runner/src/runTest.ts +++ b/packages/jest-runner/src/runTest.ts @@ -280,7 +280,6 @@ async function runTestInternal( } finally { await environment.teardown(); - // @ts-ignore: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/33351 sourcemapSupport.resetRetrieveHandlers(); } } diff --git a/packages/jest-test-result/package.json b/packages/jest-test-result/package.json index b3e688557d2a..08b6d05b8d84 100644 --- a/packages/jest-test-result/package.json +++ b/packages/jest-test-result/package.json @@ -12,7 +12,7 @@ "dependencies": { "@jest/console": "^24.3.0", "@jest/types": "^24.5.0", - "@types/istanbul-lib-coverage": "^1.1.0" + "@types/istanbul-lib-coverage": "^2.0.0" }, "engines": { "node": ">= 6" diff --git a/packages/jest-types/package.json b/packages/jest-types/package.json index 41b3499fe015..3b95e1f1bc56 100644 --- a/packages/jest-types/package.json +++ b/packages/jest-types/package.json @@ -13,7 +13,7 @@ "main": "build/index.js", "types": "build/index.d.ts", "dependencies": { - "@types/istanbul-lib-coverage": "^1.1.0", + "@types/istanbul-lib-coverage": "^2.0.0", "@types/yargs": "^12.0.9" }, "publishConfig": { diff --git a/yarn.lock b/yarn.lock index 93b6c8ef0001..693c7dbd5c4b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1723,10 +1723,10 @@ resolved "https://registry.yarnpkg.com/@types/is-ci/-/is-ci-1.1.0.tgz#583c5fbfcc461be9971106b9558930d67df49227" integrity sha512-NbyqP5D4hwl5UWnnW4Cz0gIRjhecgx/9OApcCIpp4+tjqjROGf/NBcKKDfbI3YFBTTkD3JBshiNSv5V7VoVJJg== -"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.0.tgz#2cc2ca41051498382b43157c8227fea60363f94a" - integrity sha512-ohkhb9LehJy+PA40rDtGAji61NCgdtKLAlFoYp4cnuuQEswwdK3vz9SOIkkyc3wrk8dzjphQApNs56yyXLStaQ== +"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.0.tgz#1eb8c033e98cf4e1a4cedcaf8bcafe8cb7591e85" + integrity sha512-eAtOAFZefEnfJiRFQBGw1eYqa5GTLCZ1y86N0XSI/D6EB+E8z6VPV/UL7Gi5UEclFqoQk+6NRqEDsfmDLXn8sg== "@types/istanbul-lib-instrument@^1.7.2": version "1.7.2" @@ -1801,6 +1801,13 @@ resolved "https://registry.yarnpkg.com/@types/natural-compare/-/natural-compare-1.4.0.tgz#b3c54f7edc339758d573c5dcac7808c58cf8c31e" integrity sha512-bNtBj6AF1F90jp54KRPOrYfilGNfPr2kpaUN7rMJjauAtfGBXzT/T/REZN6jb4qUs9FTxU37kir3Nrn5WsTUDw== +"@types/node-notifier@^5.4.0": + version "5.4.0" + resolved "https://registry.yarnpkg.com/@types/node-notifier/-/node-notifier-5.4.0.tgz#4e66c85eb41cce8387b4cd9c6c67852be41a99db" + integrity sha512-M1XvCG6Rwej6+W0+kWultE46YS7erOy+W7suRmXtKwLGT3ytj6YEe9lqo47nRfL1xILzg9xJpKeNczIsWR8ymw== + dependencies: + "@types/node" "*" + "@types/node@*": version "11.10.4" resolved "https://registry.yarnpkg.com/@types/node/-/node-11.10.4.tgz#3f5fc4f0f322805f009e00ab35a2ff3d6b778e42" @@ -1885,10 +1892,10 @@ resolved "https://registry.yarnpkg.com/@types/slash/-/slash-2.0.0.tgz#2c37c08f5d2e0dad20aed808de79459e0a35ef9d" integrity sha512-LTVXHQ+ij5F973ulc7aJEFteAtUvCflhzI3oOdV8VhWUmjy4na4LnK2bZaH8hDBq9eFX+Nb9DT3HVctqLoTy+g== -"@types/source-map-support@^0.4.1": - version "0.4.2" - resolved "https://registry.yarnpkg.com/@types/source-map-support/-/source-map-support-0.4.2.tgz#5b9f4502183430511bb90e84a6e4bf4214e55a67" - integrity sha512-GbGWx39O8NdUHSChdrU0XeigBAgu1Teg3llwE0slSVcH2qISaQT70ftAiH+h4HIt3VIObFU34PSpXIKJuXCybQ== +"@types/source-map-support@^0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@types/source-map-support/-/source-map-support-0.5.0.tgz#40f47e68bc0bdf54d19dddad4550f521cdb9968c" + integrity sha512-OrnAz5K5dXDgMdeRRoXIjDAvkodQ9ESvVJCyzrhzUJKmCkXgmYx/KLUBcVFe5eS4FiohfcY7YPxsdkmSwJz9wA== dependencies: "@types/node" "*" @@ -1941,29 +1948,29 @@ resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-12.0.9.tgz#693e76a52f61a2f1e7fb48c0eef167b95ea4ffd0" integrity sha512-sCZy4SxP9rN2w30Hlmg5dtdRwgYQfYRiLo9usw8X9cxlf+H4FqM1xX7+sNH7NNKVdbXMJWqva7iyy+fxh/V7fA== -"@typescript-eslint/eslint-plugin@^1.4.2": - version "1.4.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.4.2.tgz#370bc32022d1cc884a5dcf62624ef2024182769d" - integrity sha512-6WInypy/cK4rM1dirKbD5p7iFW28DbSRKT/+PGn+DYzBWEvHq5KnZAqQ5cX25JBc0qMkFxJNxNfBbFXJyyzVcw== +"@typescript-eslint/eslint-plugin@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.5.0.tgz#85c509bcfc2eb35f37958fa677379c80b7a8f66f" + integrity sha512-TZ5HRDFz6CswqBUviPX8EfS+iOoGbclYroZKT3GWGYiGScX0qo6QjHc5uuM7JN920voP2zgCkHgF5SDEVlCtjQ== dependencies: - "@typescript-eslint/parser" "1.4.2" - "@typescript-eslint/typescript-estree" "1.4.2" + "@typescript-eslint/parser" "1.5.0" + "@typescript-eslint/typescript-estree" "1.5.0" requireindex "^1.2.0" tsutils "^3.7.0" -"@typescript-eslint/parser@1.4.2", "@typescript-eslint/parser@^1.4.2": - version "1.4.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-1.4.2.tgz#acfdee2019958a41d308d768e53ded975ef90ce8" - integrity sha512-OqLkY9295DXXaWToItUv3olO2//rmzh6Th6Sc7YjFFEpEuennsm5zhygLLvHZjPxPlzrQgE8UDaOPurDylaUuw== +"@typescript-eslint/parser@1.5.0", "@typescript-eslint/parser@^1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-1.5.0.tgz#a96114d195dff2a49534e4c4850fb676f905a072" + integrity sha512-pRWTnJrnxuT0ragdY26hZL+bxqDd4liMlftpH2CBlMPryOIOb1J+MdZuw6R4tIu6bWVdwbHKPTs+Q34LuGvfGw== dependencies: - "@typescript-eslint/typescript-estree" "1.4.2" + "@typescript-eslint/typescript-estree" "1.5.0" eslint-scope "^4.0.0" eslint-visitor-keys "^1.0.0" -"@typescript-eslint/typescript-estree@1.4.2": - version "1.4.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-1.4.2.tgz#b16bc36c9a4748a7fca92cba4c2d73c5325c8a85" - integrity sha512-wKgi/w6k1v3R4b6oDc20cRWro2gBzp0wn6CAeYC8ExJMfvXMfiaXzw2tT9ilxdONaVWMCk7B9fMdjos7bF/CWw== +"@typescript-eslint/typescript-estree@1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-1.5.0.tgz#986b356ecdf5a0c3bc9889d221802149cf5dbd4e" + integrity sha512-XqR14d4BcYgxcrpxIwcee7UEjncl9emKc/MgkeUfIk2u85KlsGYyaxC7Zxjmb17JtWERk/NaO+KnBsqgpIXzwA== dependencies: lodash.unescape "4.0.1" semver "5.5.0" @@ -12818,15 +12825,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@*: - version "3.3.3333" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.3.3333.tgz#171b2c5af66c59e9431199117a3bcadc66fdcfd6" - integrity sha512-JjSKsAfuHBE/fB2oZ8NxtRTk5iGcg6hkYXMnZ3Wc+b2RSqejEqTaem11mHASMnFilHrax3sLK0GDzcJrekZYLw== - -typescript@next: - version "3.4.0-dev.20190319" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.0-dev.20190319.tgz#7b57c2e975aea2216e172993dbd51bf9f749a4e5" - integrity sha512-07xlAz0ntyntHs8sDMqy3JMjTV/yfWhOuPcmJWCQCQehDWBD/YyrBDOOvHgACTBuiE+bIjkTaT7J14nz32dkZw== +typescript@*, typescript@^3.4.1: + version "3.4.1" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.1.tgz#b6691be11a881ffa9a05765a205cb7383f3b63c6" + integrity sha512-3NSMb2VzDQm8oBTLH6Nj55VVtUEpe/rgkIzMir0qVoLyjDZlnMBva0U6vDiV3IH+sl/Yu6oP5QwsAQtHPmDd2Q== ua-parser-js@^0.7.18: version "0.7.19"