From a36f82d167864aec8f1aca7c4d1c70cb53525a0f Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 15 Jul 2019 15:33:43 +0200 Subject: [PATCH] chore: bump dated deps (#8693) --- .../consoleAfterTeardown.test.ts.snap | 14 +- .../__tests__/console.test.js | 3 +- package.json | 11 +- packages/eslint-config-fb-strict/package.json | 5 +- .../__snapshots__/spyMatchers.test.js.snap | 192 +++++----- .../expect/src/__tests__/spyMatchers.test.js | 332 ++++++++--------- packages/jest-cli/package.json | 8 +- packages/jest-repl/package.json | 4 +- packages/jest-runtime/package.json | 4 +- .../src/__tests__/index.test.ts | 3 +- packages/jest-snapshot/package.json | 4 +- packages/jest-types/package.json | 2 +- packages/jest-util/package.json | 2 +- packages/jest-validate/package.json | 8 +- packages/jest-watcher/package.json | 2 +- packages/jest-worker/package.json | 2 +- .../src/__tests__/react.test.tsx | 2 +- yarn.lock | 338 ++++++++---------- 18 files changed, 457 insertions(+), 479 deletions(-) diff --git a/e2e/__tests__/__snapshots__/consoleAfterTeardown.test.ts.snap b/e2e/__tests__/__snapshots__/consoleAfterTeardown.test.ts.snap index 4f6b6acbdace..80308c7d489c 100644 --- a/e2e/__tests__/__snapshots__/consoleAfterTeardown.test.ts.snap +++ b/e2e/__tests__/__snapshots__/consoleAfterTeardown.test.ts.snap @@ -7,14 +7,14 @@ PASS __tests__/console.test.js ● Cannot log after tests are done. Did you forget to wait for something async in your test? Attempted to log "hello!". - 11 | // eslint-disable-next-line prefer-arrow-callback - 12 | new Promise(resolve => setTimeout(resolve, 500)).then(function log() { - > 13 | console.log('hello!'); + 10 | // Named function to have the function be named the same in jasmine and circus + 11 | new Promise(resolve => setTimeout(resolve, 500)).then(function log() { + > 12 | console.log('hello!'); | ^ - 14 | }); - 15 | }); - 16 | + 13 | }); + 14 | }); + 15 | at BufferedConsole.log (../../packages/jest-console/build/BufferedConsole.js:199:10) - at log (__tests__/console.test.js:13:13) + at log (__tests__/console.test.js:12:13) `; diff --git a/e2e/console-after-teardown/__tests__/console.test.js b/e2e/console-after-teardown/__tests__/console.test.js index 6e565ec4ee2d..138fc4063980 100644 --- a/e2e/console-after-teardown/__tests__/console.test.js +++ b/e2e/console-after-teardown/__tests__/console.test.js @@ -7,8 +7,7 @@ 'use strict'; test('throws error', () => { - // To have the function be named the same in jasmine and circus - // eslint-disable-next-line prefer-arrow-callback + // Named function to have the function be named the same in jasmine and circus new Promise(resolve => setTimeout(resolve, 500)).then(function log() { console.log('hello!'); }); diff --git a/package.json b/package.json index 41ea9657c6bb..e617caf357b7 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@typescript-eslint/parser": "^1.10.2", "ansi-regex": "^4.0.0", "ansi-styles": "^3.2.0", - "babel-eslint": "^9.0.0", + "babel-eslint": "^10.0.2", "babel-loader": "^8.0.5", "babel-plugin-typescript-strip-namespaces": "^1.1.1", "camelcase": "^5.0.0", @@ -27,17 +27,16 @@ "codecov": "^3.0.0", "debug": "^4.0.1", "eslint": "^5.6.0", - "eslint-config-prettier": "^3.1.0", + "eslint-config-prettier": "^5.0.0", "eslint-import-resolver-typescript": "^1.1.1", "eslint-plugin-babel": "^5.1.0", "eslint-plugin-flowtype": "^2.35.0", "eslint-plugin-import": "^2.6.0", "eslint-plugin-jest": "^22.0.0", "eslint-plugin-jsx-a11y": "^6.0.2", - "eslint-plugin-markdown": "^1.0.0-beta.6", + "eslint-plugin-markdown": "^1.0.0", "eslint-plugin-prettier": "^3.0.1", "eslint-plugin-react": "^7.1.0", - "eslint-plugin-relay": "~0.0.19", "execa": "^1.0.0", "fast-check": "^1.13.0", "glob": "^7.1.1", @@ -49,10 +48,10 @@ "jest-junit": "^6.2.1", "jest-silent-reporter": "^0.1.2", "jest-snapshot-serializer-raw": "^1.1.0", - "jest-watch-typeahead": "^0.2.2-0", + "jest-watch-typeahead": "^0.3.1", "jquery": "^3.2.1", "karma": "^4.0.1", - "karma-chrome-launcher": "^2.1.1", + "karma-chrome-launcher": "^3.0.0", "karma-mocha": "^1.3.0", "karma-webpack": "4.0.0-rc.5", "left-pad": "^1.1.1", diff --git a/packages/eslint-config-fb-strict/package.json b/packages/eslint-config-fb-strict/package.json index 10abc4947b44..923eac03cc5d 100644 --- a/packages/eslint-config-fb-strict/package.json +++ b/packages/eslint-config-fb-strict/package.json @@ -8,7 +8,7 @@ }, "license": "MIT", "dependencies": { - "eslint-config-fbjs": "^2.1.0" + "eslint-config-fbjs": "^3.1.0" }, "peerDependencies": { "babel-eslint": "^9.0.0 || ^10.0.0", @@ -17,8 +17,7 @@ "eslint-plugin-flowtype": "^2.35.0 || ^3.0.0", "eslint-plugin-jest": "^21.0.0 || ^22.0.0", "eslint-plugin-jsx-a11y": "^6.0.2", - "eslint-plugin-react": "^7.1.0", - "eslint-plugin-relay": "~0.0.8 || ^1.0.0" + "eslint-plugin-react": "^7.1.0" }, "engines": { "node": ">= 6" diff --git a/packages/expect/src/__tests__/__snapshots__/spyMatchers.test.js.snap b/packages/expect/src/__tests__/__snapshots__/spyMatchers.test.js.snap index 963c808e88c7..aa1a83273eb0 100644 --- a/packages/expect/src/__tests__/__snapshots__/spyMatchers.test.js.snap +++ b/packages/expect/src/__tests__/__snapshots__/spyMatchers.test.js.snap @@ -150,7 +150,7 @@ Expected mock function \\"named-mock\\" to have last returned: But it was not called" `; -exports[`lastReturnedWith incomplete recursive calls are handled properly 1`] = ` +exports[`lastReturnedWith lastReturnedWith incomplete recursive calls are handled properly 1`] = ` "expect(jest.fn()).lastReturnedWith(expected) Expected mock function to have last returned: @@ -158,6 +158,15 @@ Expected mock function to have last returned: But the last call has not returned yet" `; +exports[`lastReturnedWith lastReturnedWith works with three calls 1`] = ` +"expect(jest.fn()).not.lastReturnedWith(expected) + +Expected mock function to not have last returned: + \\"foo3\\" +But it last returned exactly: + \\"foo3\\"" +`; + exports[`lastReturnedWith works only on spies or jest.fn 1`] = ` "expect(received).lastReturnedWith(expected) @@ -247,15 +256,6 @@ But the last call returned: \\"foo\\"" `; -exports[`lastReturnedWith works with three calls 1`] = ` -"expect(jest.fn()).not.lastReturnedWith(expected) - -Expected mock function to not have last returned: - \\"foo3\\" -But it last returned exactly: - \\"foo3\\"" -`; - exports[`lastReturnedWith works with undefined 1`] = ` "expect(jest.fn()).not.lastReturnedWith(expected) @@ -426,7 +426,7 @@ Expected mock function \\"named-mock\\" first call to have returned with: But it was not called" `; -exports[`nthReturnedWith incomplete recursive calls are handled properly 1`] = ` +exports[`nthReturnedWith nthReturnedWith incomplete recursive calls are handled properly 1`] = ` "expect(jest.fn()).nthReturnedWith(expected) Expected mock function first call to have returned with: @@ -434,7 +434,7 @@ Expected mock function first call to have returned with: But the first call has not returned yet" `; -exports[`nthReturnedWith incomplete recursive calls are handled properly 2`] = ` +exports[`nthReturnedWith nthReturnedWith incomplete recursive calls are handled properly 2`] = ` "expect(jest.fn()).nthReturnedWith(expected) Expected mock function second call to have returned with: @@ -442,7 +442,7 @@ Expected mock function second call to have returned with: But the second call has not returned yet" `; -exports[`nthReturnedWith incomplete recursive calls are handled properly 3`] = ` +exports[`nthReturnedWith nthReturnedWith incomplete recursive calls are handled properly 3`] = ` "expect(jest.fn()).not.nthReturnedWith(expected) Expected mock function third call to not have returned with: @@ -451,7 +451,7 @@ But the third call returned exactly: 1" `; -exports[`nthReturnedWith incomplete recursive calls are handled properly 4`] = ` +exports[`nthReturnedWith nthReturnedWith incomplete recursive calls are handled properly 4`] = ` "expect(jest.fn()).not.nthReturnedWith(expected) Expected mock function 4th call to not have returned with: @@ -460,9 +460,9 @@ But the 4th call returned exactly: 0" `; -exports[`nthReturnedWith should reject non integer nth value 1`] = `"nth value 0.1 must be a positive integer greater than 0"`; +exports[`nthReturnedWith nthReturnedWith should reject non integer nth value 1`] = `"nth value 0.1 must be a positive integer greater than 0"`; -exports[`nthReturnedWith should reject nth value greater than number of calls 1`] = ` +exports[`nthReturnedWith nthReturnedWith should reject nth value greater than number of calls 1`] = ` "expect(jest.fn()).nthReturnedWith(expected) Expected mock function 4th call to have returned with: @@ -470,9 +470,9 @@ Expected mock function 4th call to have returned with: But it was only called 3 times" `; -exports[`nthReturnedWith should reject nth value smaller than 1 1`] = `"nth value 0 must be a positive integer greater than 0"`; +exports[`nthReturnedWith nthReturnedWith should reject nth value smaller than 1 1`] = `"nth value 0 must be a positive integer greater than 0"`; -exports[`nthReturnedWith should replace 1st, 2nd, 3rd with first, second, third 1`] = ` +exports[`nthReturnedWith nthReturnedWith should replace 1st, 2nd, 3rd with first, second, third 1`] = ` "expect(jest.fn()).nthReturnedWith(expected) Expected mock function first call to have returned with: @@ -481,7 +481,16 @@ But the first call returned with: \\"foo1\\"" `; -exports[`nthReturnedWith should replace 1st, 2nd, 3rd with first, second, third 2`] = ` +exports[`nthReturnedWith nthReturnedWith should replace 1st, 2nd, 3rd with first, second, third 2`] = ` +"expect(jest.fn()).not.nthReturnedWith(expected) + +Expected mock function first call to not have returned with: + \\"foo1\\" +But the first call returned exactly: + \\"foo1\\"" +`; + +exports[`nthReturnedWith nthReturnedWith works with three calls 1`] = ` "expect(jest.fn()).not.nthReturnedWith(expected) Expected mock function first call to not have returned with: @@ -579,15 +588,6 @@ But the first call returned with: \\"foo\\"" `; -exports[`nthReturnedWith works with three calls 1`] = ` -"expect(jest.fn()).not.nthReturnedWith(expected) - -Expected mock function first call to not have returned with: - \\"foo1\\" -But the first call returned exactly: - \\"foo1\\"" -`; - exports[`nthReturnedWith works with undefined 1`] = ` "expect(jest.fn()).not.nthReturnedWith(expected) @@ -1544,7 +1544,7 @@ Expected mock function \\"named-mock\\" to have last returned: But it was not called" `; -exports[`toHaveLastReturnedWith incomplete recursive calls are handled properly 1`] = ` +exports[`toHaveLastReturnedWith lastReturnedWith incomplete recursive calls are handled properly 1`] = ` "expect(jest.fn()).toHaveLastReturnedWith(expected) Expected mock function to have last returned: @@ -1552,6 +1552,15 @@ Expected mock function to have last returned: But the last call has not returned yet" `; +exports[`toHaveLastReturnedWith lastReturnedWith works with three calls 1`] = ` +"expect(jest.fn()).not.toHaveLastReturnedWith(expected) + +Expected mock function to not have last returned: + \\"foo3\\" +But it last returned exactly: + \\"foo3\\"" +`; + exports[`toHaveLastReturnedWith works only on spies or jest.fn 1`] = ` "expect(received).toHaveLastReturnedWith(expected) @@ -1641,15 +1650,6 @@ But the last call returned: \\"foo\\"" `; -exports[`toHaveLastReturnedWith works with three calls 1`] = ` -"expect(jest.fn()).not.toHaveLastReturnedWith(expected) - -Expected mock function to not have last returned: - \\"foo3\\" -But it last returned exactly: - \\"foo3\\"" -`; - exports[`toHaveLastReturnedWith works with undefined 1`] = ` "expect(jest.fn()).not.toHaveLastReturnedWith(expected) @@ -1683,7 +1683,7 @@ Expected mock function \\"named-mock\\" first call to have returned with: But it was not called" `; -exports[`toHaveNthReturnedWith incomplete recursive calls are handled properly 1`] = ` +exports[`toHaveNthReturnedWith nthReturnedWith incomplete recursive calls are handled properly 1`] = ` "expect(jest.fn()).toHaveNthReturnedWith(expected) Expected mock function first call to have returned with: @@ -1691,7 +1691,7 @@ Expected mock function first call to have returned with: But the first call has not returned yet" `; -exports[`toHaveNthReturnedWith incomplete recursive calls are handled properly 2`] = ` +exports[`toHaveNthReturnedWith nthReturnedWith incomplete recursive calls are handled properly 2`] = ` "expect(jest.fn()).toHaveNthReturnedWith(expected) Expected mock function second call to have returned with: @@ -1699,7 +1699,7 @@ Expected mock function second call to have returned with: But the second call has not returned yet" `; -exports[`toHaveNthReturnedWith incomplete recursive calls are handled properly 3`] = ` +exports[`toHaveNthReturnedWith nthReturnedWith incomplete recursive calls are handled properly 3`] = ` "expect(jest.fn()).not.toHaveNthReturnedWith(expected) Expected mock function third call to not have returned with: @@ -1708,7 +1708,7 @@ But the third call returned exactly: 1" `; -exports[`toHaveNthReturnedWith incomplete recursive calls are handled properly 4`] = ` +exports[`toHaveNthReturnedWith nthReturnedWith incomplete recursive calls are handled properly 4`] = ` "expect(jest.fn()).not.toHaveNthReturnedWith(expected) Expected mock function 4th call to not have returned with: @@ -1717,9 +1717,9 @@ But the 4th call returned exactly: 0" `; -exports[`toHaveNthReturnedWith should reject non integer nth value 1`] = `"nth value 0.1 must be a positive integer greater than 0"`; +exports[`toHaveNthReturnedWith nthReturnedWith should reject non integer nth value 1`] = `"nth value 0.1 must be a positive integer greater than 0"`; -exports[`toHaveNthReturnedWith should reject nth value greater than number of calls 1`] = ` +exports[`toHaveNthReturnedWith nthReturnedWith should reject nth value greater than number of calls 1`] = ` "expect(jest.fn()).toHaveNthReturnedWith(expected) Expected mock function 4th call to have returned with: @@ -1727,9 +1727,9 @@ Expected mock function 4th call to have returned with: But it was only called 3 times" `; -exports[`toHaveNthReturnedWith should reject nth value smaller than 1 1`] = `"nth value 0 must be a positive integer greater than 0"`; +exports[`toHaveNthReturnedWith nthReturnedWith should reject nth value smaller than 1 1`] = `"nth value 0 must be a positive integer greater than 0"`; -exports[`toHaveNthReturnedWith should replace 1st, 2nd, 3rd with first, second, third 1`] = ` +exports[`toHaveNthReturnedWith nthReturnedWith should replace 1st, 2nd, 3rd with first, second, third 1`] = ` "expect(jest.fn()).toHaveNthReturnedWith(expected) Expected mock function first call to have returned with: @@ -1738,7 +1738,16 @@ But the first call returned with: \\"foo1\\"" `; -exports[`toHaveNthReturnedWith should replace 1st, 2nd, 3rd with first, second, third 2`] = ` +exports[`toHaveNthReturnedWith nthReturnedWith should replace 1st, 2nd, 3rd with first, second, third 2`] = ` +"expect(jest.fn()).not.toHaveNthReturnedWith(expected) + +Expected mock function first call to not have returned with: + \\"foo1\\" +But the first call returned exactly: + \\"foo1\\"" +`; + +exports[`toHaveNthReturnedWith nthReturnedWith works with three calls 1`] = ` "expect(jest.fn()).not.toHaveNthReturnedWith(expected) Expected mock function first call to not have returned with: @@ -1836,15 +1845,6 @@ But the first call returned with: \\"foo\\"" `; -exports[`toHaveNthReturnedWith works with three calls 1`] = ` -"expect(jest.fn()).not.toHaveNthReturnedWith(expected) - -Expected mock function first call to not have returned with: - \\"foo1\\" -But the first call returned exactly: - \\"foo1\\"" -`; - exports[`toHaveNthReturnedWith works with undefined 1`] = ` "expect(jest.fn()).not.toHaveNthReturnedWith(expected) @@ -2149,7 +2149,7 @@ Expected mock function \\"named-mock\\" to have returned: But it did not return." `; -exports[`toHaveReturnedWith incomplete recursive calls are handled properly 1`] = ` +exports[`toHaveReturnedWith returnedWith incomplete recursive calls are handled properly 1`] = ` "expect(jest.fn()).toHaveReturnedWith(expected) Expected mock function to have returned: @@ -2157,6 +2157,25 @@ Expected mock function to have returned: But it did not return." `; +exports[`toHaveReturnedWith returnedWith works with more calls than the limit 1`] = ` +"expect(jest.fn()).toHaveReturnedWith(expected) + +Expected mock function to have returned: + \\"bar\\" +But it returned: + \\"foo1\\" + + \\"foo2\\" + + \\"foo3\\" + + \\"foo4\\" + + \\"foo5\\" + + ...and 1 more" +`; + exports[`toHaveReturnedWith works only on spies or jest.fn 1`] = ` "expect(received).toHaveReturnedWith(expected) @@ -2246,25 +2265,6 @@ But it returned: \\"foo\\"" `; -exports[`toHaveReturnedWith works with more calls than the limit 1`] = ` -"expect(jest.fn()).toHaveReturnedWith(expected) - -Expected mock function to have returned: - \\"bar\\" -But it returned: - \\"foo1\\" - - \\"foo2\\" - - \\"foo3\\" - - \\"foo4\\" - - \\"foo5\\" - - ...and 1 more" -`; - exports[`toHaveReturnedWith works with undefined 1`] = ` "expect(jest.fn()).not.toHaveReturnedWith(expected) @@ -2569,7 +2569,7 @@ Expected mock function \\"named-mock\\" to have returned: But it did not return." `; -exports[`toReturnWith incomplete recursive calls are handled properly 1`] = ` +exports[`toReturnWith returnedWith incomplete recursive calls are handled properly 1`] = ` "expect(jest.fn()).toReturnWith(expected) Expected mock function to have returned: @@ -2577,6 +2577,25 @@ Expected mock function to have returned: But it did not return." `; +exports[`toReturnWith returnedWith works with more calls than the limit 1`] = ` +"expect(jest.fn()).toReturnWith(expected) + +Expected mock function to have returned: + \\"bar\\" +But it returned: + \\"foo1\\" + + \\"foo2\\" + + \\"foo3\\" + + \\"foo4\\" + + \\"foo5\\" + + ...and 1 more" +`; + exports[`toReturnWith works only on spies or jest.fn 1`] = ` "expect(received).toReturnWith(expected) @@ -2666,25 +2685,6 @@ But it returned: \\"foo\\"" `; -exports[`toReturnWith works with more calls than the limit 1`] = ` -"expect(jest.fn()).toReturnWith(expected) - -Expected mock function to have returned: - \\"bar\\" -But it returned: - \\"foo1\\" - - \\"foo2\\" - - \\"foo3\\" - - \\"foo4\\" - - \\"foo5\\" - - ...and 1 more" -`; - exports[`toReturnWith works with undefined 1`] = ` "expect(jest.fn()).not.toReturnWith(expected) diff --git a/packages/expect/src/__tests__/spyMatchers.test.js b/packages/expect/src/__tests__/spyMatchers.test.js index 710ef46eaf0e..3ba8bf2ceccd 100644 --- a/packages/expect/src/__tests__/spyMatchers.test.js +++ b/packages/expect/src/__tests__/spyMatchers.test.js @@ -870,197 +870,203 @@ const jestExpect = require('../'); const basicReturnedWith = ['toHaveReturnedWith', 'toReturnWith']; if (basicReturnedWith.indexOf(returnedWith) >= 0) { - test(`works with more calls than the limit`, () => { - const fn = jest.fn(); - fn.mockReturnValueOnce('foo1'); - fn.mockReturnValueOnce('foo2'); - fn.mockReturnValueOnce('foo3'); - fn.mockReturnValueOnce('foo4'); - fn.mockReturnValueOnce('foo5'); - fn.mockReturnValueOnce('foo6'); - - fn(); - fn(); - fn(); - fn(); - fn(); - fn(); - - jestExpect(fn).not[returnedWith]('bar'); + describe('returnedWith', () => { + test(`works with more calls than the limit`, () => { + const fn = jest.fn(); + fn.mockReturnValueOnce('foo1'); + fn.mockReturnValueOnce('foo2'); + fn.mockReturnValueOnce('foo3'); + fn.mockReturnValueOnce('foo4'); + fn.mockReturnValueOnce('foo5'); + fn.mockReturnValueOnce('foo6'); + + fn(); + fn(); + fn(); + fn(); + fn(); + fn(); + + jestExpect(fn).not[returnedWith]('bar'); + + expect(() => { + jestExpect(fn)[returnedWith]('bar'); + }).toThrowErrorMatchingSnapshot(); + }); - expect(() => { - jestExpect(fn)[returnedWith]('bar'); - }).toThrowErrorMatchingSnapshot(); - }); + test(`incomplete recursive calls are handled properly`, () => { + // sums up all integers from 0 -> value, using recursion + const fn = jest.fn(value => { + if (value === 0) { + // Before returning from the base case of recursion, none of the + // calls have returned yet. + // This test ensures that the incomplete calls are not incorrectly + // interpretted as have returned undefined + jestExpect(fn).not[returnedWith](undefined); + expect(() => + jestExpect(fn)[returnedWith](undefined), + ).toThrowErrorMatchingSnapshot(); - test(`incomplete recursive calls are handled properly`, () => { - // sums up all integers from 0 -> value, using recursion - const fn = jest.fn(value => { - if (value === 0) { - // Before returning from the base case of recursion, none of the - // calls have returned yet. - // This test ensures that the incomplete calls are not incorrectly - // interpretted as have returned undefined - jestExpect(fn).not[returnedWith](undefined); - expect(() => - jestExpect(fn)[returnedWith](undefined), - ).toThrowErrorMatchingSnapshot(); + return 0; + } else { + return value + fn(value - 1); + } + }); - return 0; - } else { - return value + fn(value - 1); - } + fn(3); }); - - fn(3); }); } const nthReturnedWith = ['toHaveNthReturnedWith', 'nthReturnedWith']; if (nthReturnedWith.indexOf(returnedWith) >= 0) { - test(`works with three calls`, () => { - const fn = jest.fn(); - fn.mockReturnValueOnce('foo1'); - fn.mockReturnValueOnce('foo2'); - fn.mockReturnValueOnce('foo3'); - fn(); - fn(); - fn(); - - jestExpect(fn)[returnedWith](1, 'foo1'); - jestExpect(fn)[returnedWith](2, 'foo2'); - jestExpect(fn)[returnedWith](3, 'foo3'); - - expect(() => { - jestExpect(fn).not[returnedWith](1, 'foo1'); - jestExpect(fn).not[returnedWith](2, 'foo2'); - jestExpect(fn).not[returnedWith](3, 'foo3'); - }).toThrowErrorMatchingSnapshot(); - }); - - test('should replace 1st, 2nd, 3rd with first, second, third', async () => { - const fn = jest.fn(); - fn.mockReturnValueOnce('foo1'); - fn.mockReturnValueOnce('foo2'); - fn.mockReturnValueOnce('foo3'); - fn(); - fn(); - fn(); - - expect(() => { - jestExpect(fn)[returnedWith](1, 'bar1'); - jestExpect(fn)[returnedWith](2, 'bar2'); - jestExpect(fn)[returnedWith](3, 'bar3'); - }).toThrowErrorMatchingSnapshot(); - - expect(() => { - jestExpect(fn).not[returnedWith](1, 'foo1'); - jestExpect(fn).not[returnedWith](2, 'foo2'); - jestExpect(fn).not[returnedWith](3, 'foo3'); - }).toThrowErrorMatchingSnapshot(); - }); + describe('nthReturnedWith', () => { + test(`works with three calls`, () => { + const fn = jest.fn(); + fn.mockReturnValueOnce('foo1'); + fn.mockReturnValueOnce('foo2'); + fn.mockReturnValueOnce('foo3'); + fn(); + fn(); + fn(); + + jestExpect(fn)[returnedWith](1, 'foo1'); + jestExpect(fn)[returnedWith](2, 'foo2'); + jestExpect(fn)[returnedWith](3, 'foo3'); + + expect(() => { + jestExpect(fn).not[returnedWith](1, 'foo1'); + jestExpect(fn).not[returnedWith](2, 'foo2'); + jestExpect(fn).not[returnedWith](3, 'foo3'); + }).toThrowErrorMatchingSnapshot(); + }); - test('should reject nth value smaller than 1', async () => { - const fn = jest.fn(() => 'foo'); - fn(); + test('should replace 1st, 2nd, 3rd with first, second, third', async () => { + const fn = jest.fn(); + fn.mockReturnValueOnce('foo1'); + fn.mockReturnValueOnce('foo2'); + fn.mockReturnValueOnce('foo3'); + fn(); + fn(); + fn(); + + expect(() => { + jestExpect(fn)[returnedWith](1, 'bar1'); + jestExpect(fn)[returnedWith](2, 'bar2'); + jestExpect(fn)[returnedWith](3, 'bar3'); + }).toThrowErrorMatchingSnapshot(); + + expect(() => { + jestExpect(fn).not[returnedWith](1, 'foo1'); + jestExpect(fn).not[returnedWith](2, 'foo2'); + jestExpect(fn).not[returnedWith](3, 'foo3'); + }).toThrowErrorMatchingSnapshot(); + }); - expect(() => { - jestExpect(fn)[returnedWith](0, 'foo'); - }).toThrowErrorMatchingSnapshot(); - }); + test('should reject nth value smaller than 1', async () => { + const fn = jest.fn(() => 'foo'); + fn(); - test('should reject nth value greater than number of calls', async () => { - const fn = jest.fn(() => 'foo'); - fn(); - fn(); - fn(); + expect(() => { + jestExpect(fn)[returnedWith](0, 'foo'); + }).toThrowErrorMatchingSnapshot(); + }); - expect(() => { - jestExpect(fn)[returnedWith](4, 'foo'); - }).toThrowErrorMatchingSnapshot(); - }); + test('should reject nth value greater than number of calls', async () => { + const fn = jest.fn(() => 'foo'); + fn(); + fn(); + fn(); - test('should reject non integer nth value', async () => { - const fn = jest.fn(() => 'foo'); - fn('foo'); + expect(() => { + jestExpect(fn)[returnedWith](4, 'foo'); + }).toThrowErrorMatchingSnapshot(); + }); - expect(() => { - jestExpect(fn)[returnedWith](0.1, 'foo'); - }).toThrowErrorMatchingSnapshot(); - }); + test('should reject non integer nth value', async () => { + const fn = jest.fn(() => 'foo'); + fn('foo'); - test(`incomplete recursive calls are handled properly`, () => { - // sums up all integers from 0 -> value, using recursion - const fn = jest.fn(value => { - if (value === 0) { - return 0; - } else { - const recursiveResult = fn(value - 1); - - if (value === 2) { - // Only 2 of the recursive calls have returned at this point - jestExpect(fn).not[returnedWith](1, 6); - jestExpect(fn).not[returnedWith](2, 3); - jestExpect(fn)[returnedWith](3, 1); - jestExpect(fn)[returnedWith](4, 0); + expect(() => { + jestExpect(fn)[returnedWith](0.1, 'foo'); + }).toThrowErrorMatchingSnapshot(); + }); - expect(() => - jestExpect(fn)[returnedWith](1, 6), - ).toThrowErrorMatchingSnapshot(); - expect(() => - jestExpect(fn)[returnedWith](2, 3), - ).toThrowErrorMatchingSnapshot(); - expect(() => - jestExpect(fn).not[returnedWith](3, 1), - ).toThrowErrorMatchingSnapshot(); - expect(() => - jestExpect(fn).not[returnedWith](4, 0), - ).toThrowErrorMatchingSnapshot(); + test(`incomplete recursive calls are handled properly`, () => { + // sums up all integers from 0 -> value, using recursion + const fn = jest.fn(value => { + if (value === 0) { + return 0; + } else { + const recursiveResult = fn(value - 1); + + if (value === 2) { + // Only 2 of the recursive calls have returned at this point + jestExpect(fn).not[returnedWith](1, 6); + jestExpect(fn).not[returnedWith](2, 3); + jestExpect(fn)[returnedWith](3, 1); + jestExpect(fn)[returnedWith](4, 0); + + expect(() => + jestExpect(fn)[returnedWith](1, 6), + ).toThrowErrorMatchingSnapshot(); + expect(() => + jestExpect(fn)[returnedWith](2, 3), + ).toThrowErrorMatchingSnapshot(); + expect(() => + jestExpect(fn).not[returnedWith](3, 1), + ).toThrowErrorMatchingSnapshot(); + expect(() => + jestExpect(fn).not[returnedWith](4, 0), + ).toThrowErrorMatchingSnapshot(); + } + + return value + recursiveResult; } + }); - return value + recursiveResult; - } + fn(3); }); - - fn(3); }); } const lastReturnedWith = ['toHaveLastReturnedWith', 'lastReturnedWith']; if (lastReturnedWith.indexOf(returnedWith) >= 0) { - test(`works with three calls`, () => { - const fn = jest.fn(); - fn.mockReturnValueOnce('foo1'); - fn.mockReturnValueOnce('foo2'); - fn.mockReturnValueOnce('foo3'); - fn(); - fn(); - fn(); - - jestExpect(fn)[returnedWith]('foo3'); + describe('lastReturnedWith', () => { + test(`works with three calls`, () => { + const fn = jest.fn(); + fn.mockReturnValueOnce('foo1'); + fn.mockReturnValueOnce('foo2'); + fn.mockReturnValueOnce('foo3'); + fn(); + fn(); + fn(); + + jestExpect(fn)[returnedWith]('foo3'); + + expect(() => { + jestExpect(fn).not[returnedWith]('foo3'); + }).toThrowErrorMatchingSnapshot(); + }); - expect(() => { - jestExpect(fn).not[returnedWith]('foo3'); - }).toThrowErrorMatchingSnapshot(); - }); + test(`incomplete recursive calls are handled properly`, () => { + // sums up all integers from 0 -> value, using recursion + const fn = jest.fn(value => { + if (value === 0) { + // Before returning from the base case of recursion, none of the + // calls have returned yet. + jestExpect(fn).not[returnedWith](0); + expect(() => + jestExpect(fn)[returnedWith](0), + ).toThrowErrorMatchingSnapshot(); + return 0; + } else { + return value + fn(value - 1); + } + }); - test(`incomplete recursive calls are handled properly`, () => { - // sums up all integers from 0 -> value, using recursion - const fn = jest.fn(value => { - if (value === 0) { - // Before returning from the base case of recursion, none of the - // calls have returned yet. - jestExpect(fn).not[returnedWith](0); - expect(() => - jestExpect(fn)[returnedWith](0), - ).toThrowErrorMatchingSnapshot(); - return 0; - } else { - return value + fn(value - 1); - } + fn(3); }); - - fn(3); }); } diff --git a/packages/jest-cli/package.json b/packages/jest-cli/package.json index e91061f6f07d..90a8de4be7dc 100644 --- a/packages/jest-cli/package.json +++ b/packages/jest-cli/package.json @@ -17,13 +17,13 @@ "jest-validate": "^24.8.0", "prompts": "^2.0.1", "realpath-native": "^1.1.0", - "yargs": "^12.0.2" + "yargs": "^12.0.5" }, "devDependencies": { "@types/exit": "^0.1.30", - "@types/is-ci": "^1.1.0", - "@types/prompts": "^1.2.0", - "@types/yargs": "^12.0.2" + "@types/is-ci": "^2.0.0", + "@types/prompts": "^2.0.1", + "@types/yargs": "^12.0.12" }, "bin": { "jest": "./bin/jest.js" diff --git a/packages/jest-repl/package.json b/packages/jest-repl/package.json index f44ce0dcfd1a..b06e64d73103 100644 --- a/packages/jest-repl/package.json +++ b/packages/jest-repl/package.json @@ -16,10 +16,10 @@ "jest-runtime": "^24.8.0", "jest-validate": "^24.8.0", "repl": "^0.1.3", - "yargs": "^12.0.2" + "yargs": "^12.0.5" }, "devDependencies": { - "@types/yargs": "^12.0.2" + "@types/yargs": "^12.0.12" }, "bin": { "jest-repl": "./bin/jest-repl.js" diff --git a/packages/jest-runtime/package.json b/packages/jest-runtime/package.json index 59bdfce75be7..91a3a91fb1da 100644 --- a/packages/jest-runtime/package.json +++ b/packages/jest-runtime/package.json @@ -15,7 +15,7 @@ "@jest/source-map": "^24.3.0", "@jest/transform": "^24.8.0", "@jest/types": "^24.8.0", - "@types/yargs": "^12.0.2", + "@types/yargs": "^12.0.12", "chalk": "^2.0.1", "exit": "^0.1.2", "glob": "^7.1.3", @@ -32,7 +32,7 @@ "realpath-native": "^1.1.0", "slash": "^2.0.0", "strip-bom": "^3.0.0", - "yargs": "^12.0.2" + "yargs": "^12.0.5" }, "devDependencies": { "@types/exit": "^0.1.30", diff --git a/packages/jest-serializer/src/__tests__/index.test.ts b/packages/jest-serializer/src/__tests__/index.test.ts index f23cf3651525..f7bd889a399d 100644 --- a/packages/jest-serializer/src/__tests__/index.test.ts +++ b/packages/jest-serializer/src/__tests__/index.test.ts @@ -7,12 +7,11 @@ 'use strict'; -import prettyFormat from 'pretty-format'; - import fs from 'fs'; import os from 'os'; import path from 'path'; import v8 from 'v8'; +import prettyFormat from 'pretty-format'; import serializer from '..'; diff --git a/packages/jest-snapshot/package.json b/packages/jest-snapshot/package.json index 2a300d51b6ff..15bf88fd0340 100644 --- a/packages/jest-snapshot/package.json +++ b/packages/jest-snapshot/package.json @@ -22,14 +22,14 @@ "mkdirp": "^0.5.1", "natural-compare": "^1.4.0", "pretty-format": "^24.8.0", - "semver": "^5.5.0" + "semver": "^6.2.0" }, "devDependencies": { "@babel/traverse": "^7.3.4", "@types/mkdirp": "^0.5.2", "@types/natural-compare": "^1.4.0", "@types/prettier": "^1.16.1", - "@types/semver": "^5.5.0", + "@types/semver": "^6.0.1", "jest-haste-map": "^24.8.0", "prettier": "^1.13.4" }, diff --git a/packages/jest-types/package.json b/packages/jest-types/package.json index f17e3e6b725a..cb32efea2fdd 100644 --- a/packages/jest-types/package.json +++ b/packages/jest-types/package.json @@ -15,7 +15,7 @@ "dependencies": { "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^1.1.1", - "@types/yargs": "^12.0.9" + "@types/yargs": "^12.0.12" }, "publishConfig": { "access": "public" diff --git a/packages/jest-util/package.json b/packages/jest-util/package.json index ccfb67e4b0be..3e0dc5a30c1a 100644 --- a/packages/jest-util/package.json +++ b/packages/jest-util/package.json @@ -25,7 +25,7 @@ }, "devDependencies": { "@types/graceful-fs": "^4.1.2", - "@types/is-ci": "^1.0.10", + "@types/is-ci": "^2.0.0", "@types/mkdirp": "^0.5.2", "@types/slash": "^2.0.0" }, diff --git a/packages/jest-validate/package.json b/packages/jest-validate/package.json index 1637fb22ff98..394bb462f904 100644 --- a/packages/jest-validate/package.json +++ b/packages/jest-validate/package.json @@ -11,16 +11,12 @@ "types": "build/index.d.ts", "dependencies": { "@jest/types": "^24.8.0", - "camelcase": "^5.0.0", + "camelcase": "^5.3.1", "chalk": "^2.0.1", "jest-get-type": "^24.8.0", - "leven": "^2.1.0", + "leven": "^3.1.0", "pretty-format": "^24.8.0" }, - "devDependencies": { - "@types/camelcase": "^4.1.0", - "@types/leven": "^2.1.1" - }, "engines": { "node": ">= 6" }, diff --git a/packages/jest-watcher/package.json b/packages/jest-watcher/package.json index 7a6a189a0b89..80f32de79818 100644 --- a/packages/jest-watcher/package.json +++ b/packages/jest-watcher/package.json @@ -6,7 +6,7 @@ "dependencies": { "@jest/test-result": "^24.8.0", "@jest/types": "^24.8.0", - "@types/yargs": "^12.0.9", + "@types/yargs": "^12.0.12", "ansi-escapes": "^3.0.0", "chalk": "^2.0.1", "jest-util": "^24.8.0", diff --git a/packages/jest-worker/package.json b/packages/jest-worker/package.json index 6bfc5e0f025d..5c621fa6030d 100644 --- a/packages/jest-worker/package.json +++ b/packages/jest-worker/package.json @@ -10,7 +10,7 @@ "main": "build/index.js", "types": "build/index.d.ts", "dependencies": { - "merge-stream": "^1.0.1", + "merge-stream": "^2.0.0", "supports-color": "^6.1.0" }, "devDependencies": { diff --git a/packages/pretty-format/src/__tests__/react.test.tsx b/packages/pretty-format/src/__tests__/react.test.tsx index e8711da2ea44..88a64c3f3eee 100644 --- a/packages/pretty-format/src/__tests__/react.test.tsx +++ b/packages/pretty-format/src/__tests__/react.test.tsx @@ -8,8 +8,8 @@ import React from 'react'; import renderer from 'react-test-renderer'; -import prettyFormat from '..'; import {OptionsReceived} from '../types'; +import prettyFormat from '..'; const elementSymbol = Symbol.for('react.element'); const fragmentSymbol = Symbol.for('react.fragment'); diff --git a/yarn.lock b/yarn.lock index 911b881d96d5..2fd859dd8e8f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -833,12 +833,12 @@ pirates "^4.0.0" source-map-support "^0.5.9" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.5", "@babel/runtime@^7.3.1": - version "7.3.4" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.3.4.tgz#73d12ba819e365fcf7fd152aed56d6df97d21c83" - integrity sha512-IvfvnMdSaLBateu0jfsYIpZTxAc2cKEXEMiezGGN75QcBcecDUKd3PgLAncT0oOgxKy8dd8hrJKj9MfzgfZd6g== +"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.5", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.5": + version "7.5.4" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.5.4.tgz#cb7d1ad7c6d65676e66b47186577930465b5271b" + integrity sha512-Na84uwyImZZc3FKf4aUF1tysApzwf3p2yuFBIyBfbzT5glzKTdvYI4KVW4kcgjrzoGUjC7w3YyCHcJKaRxsr2Q== dependencies: - regenerator-runtime "^0.12.0" + regenerator-runtime "^0.13.2" "@babel/template@^7.0.0", "@babel/template@^7.1.0", "@babel/template@^7.1.2", "@babel/template@^7.2.2": version "7.2.2" @@ -1643,16 +1643,16 @@ dependencies: "@types/resolve" "*" -"@types/camelcase@^4.1.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@types/camelcase/-/camelcase-4.1.0.tgz#e054f7986f31658d49936261b5cd4588ef29d1ee" - integrity sha512-nsaprOtNLvUrLyFX5+mRpE9h2Q0d5YzQRr+Lav3fxdYtc1/E/U7G+Ld861NWBDDtWY3MnwKoUOhCrE1nrVxUQA== - "@types/cheerio@^0.22.8": version "0.22.10" resolved "https://registry.yarnpkg.com/@types/cheerio/-/cheerio-0.22.10.tgz#780d552467824be4a241b29510a7873a7432c4a6" integrity sha512-fOM/Jhv51iyugY7KOBZz2ThfT1gwvsGCfWxpLpZDgkGjpEO4Le9cld07OdskikLjDUQJ43dzDaVRSFwQlpdqVg== +"@types/ci-info@*": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@types/ci-info/-/ci-info-2.0.0.tgz#51848cc0f5c30c064f4b25f7f688bf35825b3971" + integrity sha512-5R2/MHILQLDCzTuhs1j4Qqq8AaKUf7Ma4KSSkCtc12+fMs47zfa34qhto9goxpyX00tQK1zxB885VCiawZ5Qhg== + "@types/co@^4.6.0": version "4.6.0" resolved "https://registry.yarnpkg.com/@types/co/-/co-4.6.0.tgz#fd7b669f3643e366d2d2114022be0571f3ddfc68" @@ -1735,10 +1735,12 @@ resolved "https://registry.yarnpkg.com/@types/invariant/-/invariant-2.2.29.tgz#aa845204cd0a289f65d47e0de63a6a815e30cc66" integrity sha512-lRVw09gOvgviOfeUrKc/pmTiRZ7g7oDOU6OAutyuSHpm1/o2RaBQvRhgK8QEdu+FFuw/wnWb29A/iuxv9i8OpQ== -"@types/is-ci@^1.0.10", "@types/is-ci@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@types/is-ci/-/is-ci-1.1.0.tgz#583c5fbfcc461be9971106b9558930d67df49227" - integrity sha512-NbyqP5D4hwl5UWnnW4Cz0gIRjhecgx/9OApcCIpp4+tjqjROGf/NBcKKDfbI3YFBTTkD3JBshiNSv5V7VoVJJg== +"@types/is-ci@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@types/is-ci/-/is-ci-2.0.0.tgz#e2b81d0f9275861649d501dbc39a480fbf311459" + integrity sha512-J8ytIdkALbTrqcJ6OZiEv0B9skfyok/zCDj1q06GGCDa1rlHnPobUBT0BYR1vku2oZVwVEgCurtXqCASAfjCiQ== + dependencies: + "@types/ci-info" "*" "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0": version "2.0.0" @@ -1797,11 +1799,6 @@ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= -"@types/leven@^2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@types/leven/-/leven-2.1.1.tgz#7cdc02ec636f80dc0bb0a53d8ee7eff2d8e8e1d8" - integrity sha512-f74SsCQnQzm244o5LHZgSLijrwG5e9BgkMHGbDlQThfh42q5RG4c+RNzUvZ347wAlQYD9kwu64qSNylxZdKs6w== - "@types/merge-stream@^1.1.2": version "1.1.2" resolved "https://registry.yarnpkg.com/@types/merge-stream/-/merge-stream-1.1.2.tgz#a880ff66b1fbbb5eef4958d015c5947a9334dbb1" @@ -1855,10 +1852,10 @@ resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-1.16.1.tgz#328d1c9b54402e44119398bcb6a31b7bbd606d59" integrity sha512-db6pZL5QY3JrlCHBhYQzYDci0xnoDuxfseUuguLRr3JNk+bnCfpkK6p8quiUDyO8A0vbpBKkk59Fw125etrNeA== -"@types/prompts@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@types/prompts/-/prompts-1.2.0.tgz#891e73f735ad5e82e8adae3a99424128e105fb62" - integrity sha512-7JXpT2rSd4hqd2oBWU1wfEW6x6gX+qPH+gLzGEx+My3wcb67K9Rc02xNQRVn67phusmXm5Yqn4oTP2OW1G5zdQ== +"@types/prompts@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@types/prompts/-/prompts-2.0.1.tgz#afae5a8b0616a33cd31557bec74e2fd4a32f4afe" + integrity sha512-AhtMcmETelF8wFDV1ucbChKhLgsc+ytXZXkNz/nnTAMSDeqsjALknEFxi7ZtLgS/G8bV2rp90LhDW5SGACimIQ== "@types/prop-types@*": version "15.7.0" @@ -1914,10 +1911,10 @@ dependencies: "@types/node" "*" -"@types/semver@^5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-5.5.0.tgz#146c2a29ee7d3bae4bf2fcb274636e264c813c45" - integrity sha512-41qEJgBH/TWgo5NFSvBCJ1qkoi3Q6ONSF2avrHq1LVEZfYpdHmj0y9SuTK+u9ZhG1sYQKBL1AWXKyLWP4RaUoQ== +"@types/semver@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-6.0.1.tgz#a984b405c702fa5a7ec6abc56b37f2ba35ef5af6" + integrity sha512-ffCdcrEE5h8DqVxinQjo+2d1q+FV5z7iNtPofw3JsrltSoSVlOGaW0rY8XxtO9XukdTn8TaCGWmk2VFGhI70mg== "@types/slash@^2.0.0": version "2.0.0" @@ -1975,44 +1972,44 @@ dependencies: "@types/node" "*" -"@types/yargs@^12.0.2", "@types/yargs@^12.0.9": - version "12.0.9" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-12.0.9.tgz#693e76a52f61a2f1e7fb48c0eef167b95ea4ffd0" - integrity sha512-sCZy4SxP9rN2w30Hlmg5dtdRwgYQfYRiLo9usw8X9cxlf+H4FqM1xX7+sNH7NNKVdbXMJWqva7iyy+fxh/V7fA== +"@types/yargs@^12.0.12": + version "12.0.12" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-12.0.12.tgz#45dd1d0638e8c8f153e87d296907659296873916" + integrity sha512-SOhuU4wNBxhhTHxYaiG5NY4HBhDIDnJF60GU+2LqHAdKKer86//e4yg69aENCtQ04n0ovz+tq2YPME5t5yp4pw== "@typescript-eslint/eslint-plugin@^1.10.2": - version "1.10.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.10.2.tgz#552fc64cfcb19c6162190360217c945e8faa330a" - integrity sha512-7449RhjE1oLFIy5E/5rT4wG5+KsfPzakJuhvpzXJ3C46lq7xywY0/Rjo9ZBcwrfbk0nRZ5xmUHkk7DZ67tSBKw== + version "1.12.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.12.0.tgz#96b4e08b5f998a198b8414508b1a289f9e8c549a" + integrity sha512-J/ZTZF+pLNqjXBGNfq5fahsoJ4vJOkYbitWPavA05IrZ7BXUaf4XWlhUB/ic1lpOGTRpLWF+PLAePjiHp6dz8g== dependencies: - "@typescript-eslint/experimental-utils" "1.10.2" + "@typescript-eslint/experimental-utils" "1.12.0" eslint-utils "^1.3.1" functional-red-black-tree "^1.0.1" regexpp "^2.0.1" tsutils "^3.7.0" -"@typescript-eslint/experimental-utils@1.10.2": - version "1.10.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-1.10.2.tgz#cd548c03fc1a2b3ba5c136d1599001a1ede24215" - integrity sha512-Hf5lYcrnTH5Oc67SRrQUA7KuHErMvCf5RlZsyxXPIT6AXa8fKTyfFO6vaEnUmlz48RpbxO4f0fY3QtWkuHZNjg== +"@typescript-eslint/experimental-utils@1.12.0": + version "1.12.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-1.12.0.tgz#98417ee2e0c6fe8d1e50d934a6535d9c0f4277b6" + integrity sha512-s0soOTMJloytr9GbPteMLNiO2HvJ+qgQkRNplABXiVw6vq7uQRvidkby64Gqt/nA7pys74HksHwRULaB/QRVyw== dependencies: - "@typescript-eslint/typescript-estree" "1.10.2" + "@typescript-eslint/typescript-estree" "1.12.0" eslint-scope "^4.0.0" "@typescript-eslint/parser@^1.10.2": - version "1.10.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-1.10.2.tgz#36cfe8c6bf1b6c1dd81da56f88c8588f4b1a852b" - integrity sha512-xWDWPfZfV0ENU17ermIUVEVSseBBJxKfqBcRCMZ8nAjJbfA5R7NWMZmFFHYnars5MjK4fPjhu4gwQv526oZIPQ== + version "1.12.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-1.12.0.tgz#9965895ec4745578185965d63f21510f93a3f35a" + integrity sha512-0uzbaa9ZLCA5yMWJywnJJ7YVENKGWVUhJDV5UrMoldC5HoI54W5kkdPhTfmtFKpPFp93MIwmJj0/61ztvmz5Dw== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "1.10.2" - "@typescript-eslint/typescript-estree" "1.10.2" + "@typescript-eslint/experimental-utils" "1.12.0" + "@typescript-eslint/typescript-estree" "1.12.0" eslint-visitor-keys "^1.0.0" -"@typescript-eslint/typescript-estree@1.10.2": - version "1.10.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-1.10.2.tgz#8403585dd74b6cfb6f78aa98b6958de158b5897b" - integrity sha512-Kutjz0i69qraOsWeI8ETqYJ07tRLvD9URmdrMoF10bG8y8ucLmPtSxROvVejWvlJUGl2et/plnMiKRDW+rhEhw== +"@typescript-eslint/typescript-estree@1.12.0": + version "1.12.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-1.12.0.tgz#d8dd0a7cffb5e3c0c3e98714042d83e316dfc9a9" + integrity sha512-nwN6yy//XcVhFs0ZyU+teJHB8tbCm7AIA8mu6E2r5hu6MajwYBY3Uwop7+rPZWUN/IUOHpL8C+iUPMDVYUU3og== dependencies: lodash.unescape "4.0.1" semver "5.5.0" @@ -2349,10 +2346,10 @@ ansi-regex@^3.0.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= -ansi-regex@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.0.0.tgz#70de791edf021404c3fd615aa89118ae0432e5a9" - integrity sha512-iB5Dda8t/UqpPI/IjsejXu5jOGDrzn41wJyljwPH65VCIbk6+1BzFIMJGFwTNrYXT1CrD+B4l19U7awiQ8rk7w== +ansi-regex@^4.0.0, ansi-regex@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" + integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== ansi-styles@^2.2.1: version "2.2.1" @@ -2721,10 +2718,10 @@ babel-code-frame@6.26.0: esutils "^2.0.2" js-tokens "^3.0.2" -babel-eslint@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-9.0.0.tgz#7d9445f81ed9f60aff38115f838970df9f2b6220" - integrity sha512-itv1MwE3TMbY0QtNfeL7wzak1mV47Uy+n6HtSOO4Xd7rvmO+tsGQSgyOEEgo6Y2vHZKZphaoelNeSVj4vkLA1g== +babel-eslint@^10.0.2: + version "10.0.2" + resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.0.2.tgz#182d5ac204579ff0881684b040560fdcc1558456" + integrity sha512-UdsurWPtgiPgpJ06ryUnuaSXC2s0WoSZnQmEpbAH65XZSdwowgN5MvyP7e88nW07FYXv72erVtpBkxyDVKhH1Q== dependencies: "@babel/code-frame" "^7.0.0" "@babel/parser" "^7.0.0" @@ -3381,10 +3378,10 @@ camelcase@^4.1.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= -camelcase@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.1.0.tgz#29e83b9cfaf7ad478f401a187ae089cf83c257ea" - integrity sha512-WP9f9OBL/TAbwOFBJL79FoS9UKUmnp82RWnhlwTgrAJeMq7lytHhe0Jzc6/P7Zq0+2oviXJuPlvkZalWUug9gg== +camelcase@^5.0.0, camelcase@^5.3.1: + version "5.3.1" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== caniuse-api@^1.5.2: version "1.6.1" @@ -5126,15 +5123,15 @@ escodegen@^1.9.1: optionalDependencies: source-map "~0.6.1" -eslint-config-fbjs@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-config-fbjs/-/eslint-config-fbjs-2.1.0.tgz#bfe4f8c2d2282bfe515359553905d830e3a5d12f" - integrity sha512-wh7Lveo51V3/SUydWtR2VEU8wNfSHt5V7YzIUKTRkHF3kvkCwFtM6Jgsn+xBNkjxZGpfWgNJN/drk1LLx64Dww== +eslint-config-fbjs@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-fbjs/-/eslint-config-fbjs-3.1.0.tgz#d35ee27be42cbf27437d2e36de027a3aa231cd2c" + integrity sha512-YtYulNvxJFNPnOIrdrXIz8xul3dOsx/ZuFnR2fsNEeDLrDcDoFQ23bzm1jdp9ZZuQJm+k4/MDNng1eVeBX47cg== -eslint-config-prettier@^3.1.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-3.6.0.tgz#8ca3ffac4bd6eeef623a0651f9d754900e3ec217" - integrity sha512-ixJ4U3uTLXwJts4rmSVW/lMXjlGwCijhBJHk8iVqKKSifeI0qgFEfWl8L63isfc8Od7EiBALF6BX3jKLluf/jQ== +eslint-config-prettier@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-5.1.0.tgz#bf29442e7c818236a77acfe2241ec991299f9bf1" + integrity sha512-+tpiaLm3wl6fPW5nq0dDyVowQM0FT61lAdWZ+sDWgk6kKzgbOnCDwlcbwI38cyCBhq+Z3ret5Iofp6/gZpO0zw== dependencies: get-stdin "^6.0.0" @@ -5166,10 +5163,10 @@ eslint-import-resolver-typescript@^1.1.1: resolve "^1.4.0" tsconfig-paths "^3.6.0" -eslint-module-utils@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.3.0.tgz#546178dab5e046c8b562bbb50705e2456d7bda49" - integrity sha512-lmDJgeOOjk8hObTysjqH7wyMi+nsHwwvfBykwfhjR1LNdd7C2uFJBvx4OpWYpXOw4df1yE1cDEVd1yLHitk34w== +eslint-module-utils@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.4.0.tgz#8b93499e9b00eab80ccb6614e69f03678e84e09a" + integrity sha512-14tltLm38Eu3zS+mt0KvILC3q8jyIAH518MlG+HO0p+yK885Lb1UHTY/UgR91eOyGdmxAPb+OLoW4znqIT6Ndw== dependencies: debug "^2.6.8" pkg-dir "^2.0.0" @@ -5189,31 +5186,33 @@ eslint-plugin-flowtype@^2.35.0: lodash "^4.17.10" eslint-plugin-import@^2.6.0: - version "2.16.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.16.0.tgz#97ac3e75d0791c4fac0e15ef388510217be7f66f" - integrity sha512-z6oqWlf1x5GkHIFgrSvtmudnqM6Q60KM4KvpWi5ubonMjycLjndvd5+8VAZIsTlHC03djdgJuyKG6XO577px6A== + version "2.18.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.18.0.tgz#7a5ba8d32622fb35eb9c8db195c2090bd18a3678" + integrity sha512-PZpAEC4gj/6DEMMoU2Df01C5c50r7zdGIN52Yfi7CvvWaYssG7Jt5R9nFG5gmqodxNOz9vQS87xk6Izdtpdrig== dependencies: + array-includes "^3.0.3" contains-path "^0.1.0" debug "^2.6.9" doctrine "1.5.0" eslint-import-resolver-node "^0.3.2" - eslint-module-utils "^2.3.0" + eslint-module-utils "^2.4.0" has "^1.0.3" lodash "^4.17.11" minimatch "^3.0.4" read-pkg-up "^2.0.0" - resolve "^1.9.0" + resolve "^1.11.0" eslint-plugin-jest@^22.0.0: - version "22.3.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-22.3.0.tgz#a10f10dedfc92def774ec9bb5bfbd2fb8e1c96d2" - integrity sha512-P1mYVRNlOEoO5T9yTqOfucjOYf1ktmJ26NjwjH8sxpCFQa6IhBGr5TpKl3hcAAT29hOsRJVuMWmTsHoUVo9FoA== + version "22.8.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-22.8.0.tgz#242ef5459e8da25d2c41438e95eb546e03d7fae1" + integrity sha512-2VftZMfILmlhL3VMq5ptHRIuyyXb3ShDEDb1J1UjvWNzm4l+UK/YmwNuTuJcM0gv8pJuOfiR/8ZptJ8Ou68pFw== eslint-plugin-jsx-a11y@^6.0.2: - version "6.2.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.1.tgz#4ebba9f339b600ff415ae4166e3e2e008831cf0c" - integrity sha512-cjN2ObWrRz0TTw7vEcGQrx+YltMvZoOEx4hWU8eEERDnBIU00OTq7Vr+jA7DFKxiwLNv4tTh5Pq2GUNEa8b6+w== + version "6.2.3" + resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.3.tgz#b872a09d5de51af70a97db1eea7dc933043708aa" + integrity sha512-CawzfGt9w83tyuVekn0GDPU9ytYtxyxyFZ3aSWROmnRRFQFT2BiPJd7jvRdzNDi6oLWaS2asMeYSNMjWTV4eNg== dependencies: + "@babel/runtime" "^7.4.5" aria-query "^3.0.0" array-includes "^3.0.3" ast-types-flow "^0.0.7" @@ -5221,9 +5220,9 @@ eslint-plugin-jsx-a11y@^6.0.2: damerau-levenshtein "^1.0.4" emoji-regex "^7.0.2" has "^1.0.3" - jsx-ast-utils "^2.0.1" + jsx-ast-utils "^2.2.1" -eslint-plugin-markdown@^1.0.0-beta.6: +eslint-plugin-markdown@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/eslint-plugin-markdown/-/eslint-plugin-markdown-1.0.0.tgz#2d381b44fcf367f1bb53ae166eccf111cd4e1174" integrity sha512-YIrClt3yLgyGov+rInjIoC/05zMxb/c6YXQZkyI9UKuBRFLgCrL37cxthj0JYWiTYtiHq0p8O0Nt0/HrvO48iQ== @@ -5241,31 +5240,26 @@ eslint-plugin-prettier@^2.2.0: jest-docblock "^21.0.0" eslint-plugin-prettier@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.0.1.tgz#19d521e3981f69dd6d14f64aec8c6a6ac6eb0b0d" - integrity sha512-/PMttrarPAY78PLvV3xfWibMOdMDl57hmlQ2XqFeA37wd+CJ7WSxV7txqjVPHi/AAFKd2lX0ZqfsOc/i5yFCSQ== + version "3.1.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.0.tgz#8695188f95daa93b0dc54b249347ca3b79c4686d" + integrity sha512-XWX2yVuwVNLOUhQijAkXz+rMPPoCr7WFiAl8ig6I7Xn+pPVhDhzg4DxHpmbeb0iqjO9UronEA3Tb09ChnFVHHA== dependencies: prettier-linter-helpers "^1.0.0" eslint-plugin-react@^7.1.0: - version "7.12.4" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.12.4.tgz#b1ecf26479d61aee650da612e425c53a99f48c8c" - integrity sha512-1puHJkXJY+oS1t467MjbqjvX53uQ05HXwjqDgdbGBqf5j9eeydI54G3KwiJmWciQ0HTBacIKw2jgwSBSH3yfgQ== + version "7.14.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.14.2.tgz#94c193cc77a899ac0ecbb2766fbef88685b7ecc1" + integrity sha512-jZdnKe3ip7FQOdjxks9XPN0pjUKZYq48OggNMd16Sk+8VXx6JOvXmlElxROCgp7tiUsTsze3jd78s/9AFJP2mA== dependencies: array-includes "^3.0.3" doctrine "^2.1.0" has "^1.0.3" - jsx-ast-utils "^2.0.1" + jsx-ast-utils "^2.1.0" + object.entries "^1.1.0" object.fromentries "^2.0.0" - prop-types "^15.6.2" - resolve "^1.9.0" - -eslint-plugin-relay@~0.0.19: - version "0.0.28" - resolved "https://registry.yarnpkg.com/eslint-plugin-relay/-/eslint-plugin-relay-0.0.28.tgz#dd9ba7dc03fd21f3a30e053d21d90e5bf2ecff34" - integrity sha512-CvyT/WxEQmcUKE4lVqjxgioTj3zSvHnT9bvR4cISgs9j2z4J5Ojsurjcv/kWe4I6gf6L+lV6zcVuZ2LkiRIO6g== - dependencies: - graphql "^14.0.0" + object.values "^1.1.0" + prop-types "^15.7.2" + resolve "^1.10.1" eslint-rule-composer@^0.3.0: version "0.3.0" @@ -5280,10 +5274,10 @@ eslint-scope@3.7.1: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-scope@^4.0.0, eslint-scope@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.2.tgz#5f10cd6cabb1965bf479fa65745673439e21cb0e" - integrity sha512-5q1+B/ogmHl8+paxtOKx38Z8LtWkVGuNt3+GQNErqwLl6ViNp/gdJGMCjZNxZ8j/VYjDNZ2Fo+eQc1TAVPIzbg== +eslint-scope@^4.0.0, eslint-scope@^4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" + integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== dependencies: esrecurse "^4.1.0" estraverse "^4.1.1" @@ -5299,9 +5293,9 @@ eslint-visitor-keys@^1.0.0: integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== eslint@^5.6.0: - version "5.15.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.15.0.tgz#f313a2f7c7628d39adeefdba4a9c41f842012c9e" - integrity sha512-xwG7SS5JLeqkiR3iOmVgtF8Y6xPdtr6AAsN6ph7Q6R/fv+3UlKYoika8SmNzmb35qdRF+RfTY35kMEdtbi+9wg== + version "5.16.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.16.0.tgz#a1e3ac1aae4a3fbd8296fcf8f7ab7314cbb6abea" + integrity sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.9.1" @@ -5309,7 +5303,7 @@ eslint@^5.6.0: cross-spawn "^6.0.5" debug "^4.0.1" doctrine "^3.0.0" - eslint-scope "^4.0.2" + eslint-scope "^4.0.3" eslint-utils "^1.3.1" eslint-visitor-keys "^1.0.0" espree "^5.0.1" @@ -5323,7 +5317,7 @@ eslint@^5.6.0: import-fresh "^3.0.0" imurmurhash "^0.1.4" inquirer "^6.2.2" - js-yaml "^3.12.0" + js-yaml "^3.13.0" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.3.0" lodash "^4.17.11" @@ -6068,13 +6062,6 @@ from2@^2.1.0, from2@^2.1.1: inherits "^2.0.1" readable-stream "^2.0.0" -fs-access@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/fs-access/-/fs-access-1.0.1.tgz#d6a87f262271cefebec30c553407fb995da8777a" - integrity sha1-1qh/JiJxzv6+wwxVNAf7mV2od3o= - dependencies: - null-check "^1.0.0" - fs-constants@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" @@ -6498,13 +6485,6 @@ graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1. resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" integrity sha1-TK+tdrxi8C+gObL5Tpo906ORpyU= -graphql@^14.0.0: - version "14.1.1" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.1.1.tgz#d5d77df4b19ef41538d7215d1e7a28834619fac0" - integrity sha512-C5zDzLqvfPAgTtP8AUPIt9keDabrdRAqSWjj2OPRKrKxI9Fb65I36s1uCs1UUBFnSWTdO7hyHi7z1ZbwKMKF6Q== - dependencies: - iterall "^1.2.2" - gray-matter@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/gray-matter/-/gray-matter-2.1.1.tgz#3042d9adec2a1ded6a7707a9ed2380f8a17a430e" @@ -7608,11 +7588,6 @@ isurl@^1.0.0-alpha5: has-to-string-tag-x "^1.2.0" is-object "^1.0.1" -iterall@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.2.2.tgz#92d70deb8028e0c39ff3164fdbf4d8b088130cd7" - integrity sha512-yynBb1g+RFUPY64fTrFv7nsjRrENBQJaX2UL+2Szc9REFrSNm1rpSXHGzhmAy7a9uv3vlvgBlXnf9RqmPH1/DA== - jest-docblock@^21.0.0: version "21.2.0" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.2.0.tgz#51529c3b30d5fd159da60c27ceedc195faf8d414" @@ -7664,10 +7639,10 @@ jest-snapshot-serializer-raw@^1.1.0: resolved "https://registry.yarnpkg.com/jest-snapshot-serializer-raw/-/jest-snapshot-serializer-raw-1.1.0.tgz#1d7f09c02f3dbbc3ae70b5b7598fb2f45e37d6c8" integrity sha512-OL3bXRCnSn7Kur3YTGYj+A3Hwh2eyb5QL5VLQ9OSsPBOva7r3sCB0Jf1rOT/KN3ypzH42hrkDz96lpbiMo+AlQ== -jest-watch-typeahead@^0.2.2-0: - version "0.2.2-0" - resolved "https://registry.yarnpkg.com/jest-watch-typeahead/-/jest-watch-typeahead-0.2.2-0.tgz#6b3ecfc0bc174aaca94b2d127fcfd339af080b0b" - integrity sha512-Mx1Egj7A+FK/CUFs/KSlqPUGPf3cZG6VybcYvy/fJg1GTLeKV8A8Zzphw/Oa4M3uQWRp8EFL3SYvXEPCNyEMVw== +jest-watch-typeahead@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/jest-watch-typeahead/-/jest-watch-typeahead-0.3.1.tgz#47701024b64b444aa325d801b4b3a6d61ed70701" + integrity sha512-cDIko96c4Yqg/7mfye1eEYZ6Pvugo9mnOOhGQod3Es7/KptNv1b+9gFVaotzdqNqTlwbkA80BnWHtzV4dc+trA== dependencies: ansi-escapes "^3.0.0" chalk "^2.4.1" @@ -7725,10 +7700,10 @@ js-yaml@3.12.0: argparse "^1.0.7" esprima "^4.0.0" -js-yaml@^3.12.0, js-yaml@^3.8.1, js-yaml@^3.9.0: - version "3.12.2" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.2.tgz#ef1d067c5a9d9cb65bd72f285b5d8105c77f14fc" - integrity sha512-QHn/Lh/7HhZ/Twc7vJYQTkjuCa0kaCcDcjK5Zlk2rvnUpy7DxMJ23+Jc2dcyvltwQVg1nygAVlB2oRDFHoRS5Q== +js-yaml@^3.12.0, js-yaml@^3.13.0, js-yaml@^3.8.1, js-yaml@^3.9.0: + version "3.13.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" + integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== dependencies: argparse "^1.0.7" esprima "^4.0.0" @@ -7878,19 +7853,19 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.10.0" -jsx-ast-utils@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.0.1.tgz#e801b1b39985e20fffc87b40e3748080e2dcac7f" - integrity sha1-6AGxs5mF4g//yHtA43SAgOLcrH8= +jsx-ast-utils@^2.1.0, jsx-ast-utils@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.2.1.tgz#4d4973ebf8b9d2837ee91a8208cc66f3a2776cfb" + integrity sha512-v3FxCcAf20DayI+uxnCuw795+oOIkVu6EnJ1+kSzhqqTZHNkTZ7B66ZgLp4oLJ/gbA64cI0B7WRoHZMSRdyVRQ== dependencies: array-includes "^3.0.3" + object.assign "^4.1.0" -karma-chrome-launcher@^2.1.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/karma-chrome-launcher/-/karma-chrome-launcher-2.2.0.tgz#cf1b9d07136cc18fe239327d24654c3dbc368acf" - integrity sha512-uf/ZVpAabDBPvdPdveyk1EPgbnloPvFFGgmRhYLTDH7gEB4nZdSBk8yTU47w1g/drLSx5uMOkjKk7IWKfWg/+w== +karma-chrome-launcher@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/karma-chrome-launcher/-/karma-chrome-launcher-3.0.0.tgz#5c3a7f877a304e90781c28fcd9a49e334a890f42" + integrity sha512-u/PnVgDOP97AUe/gJeABlC6Wa6aQ83MZsm0JgsJQ5bGQ9XcXON/7b2aRhl59A62Zom+q3PFveBkczc7E1RT7TA== dependencies: - fs-access "^1.0.0" which "^1.2.1" karma-mocha@^1.3.0: @@ -8040,10 +8015,10 @@ lerna@3.13.1: import-local "^1.0.0" npmlog "^4.1.2" -leven@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/leven/-/leven-2.1.0.tgz#c2e7a9f772094dee9d34202ae8acce4687875580" - integrity sha1-wuep93IJTe6dNCAq6KzORoeHVYA= +leven@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" + integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== levn@^0.3.0, levn@~0.3.0: version "0.3.0" @@ -8592,6 +8567,11 @@ merge-stream@^1.0.1: dependencies: readable-stream "^2.0.1" +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + merge2@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.2.3.tgz#7ee99dbd69bb6481689253f018488a1b902b0ed5" @@ -9427,11 +9407,6 @@ nth-check@^1.0.2, nth-check@~1.0.1: dependencies: boolbase "~1.0.0" -null-check@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/null-check/-/null-check-1.0.0.tgz#977dffd7176012b9ec30d2a39db5cf72a0439edd" - integrity sha1-l33/1xdgErnsMNKjnbXPcqBDnt0= - nullthrows@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/nullthrows/-/nullthrows-1.1.1.tgz#7818258843856ae971eae4208ad7d7eb19a431b1" @@ -9508,7 +9483,7 @@ object.assign@4.1.0, object.assign@^4.1.0: has-symbols "^1.0.0" object-keys "^1.0.11" -object.entries@^1.0.4: +object.entries@^1.0.4, object.entries@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.0.tgz#2024fc6d6ba246aee38bdb0ffd5cfbcf371b7519" integrity sha512-l+H6EQ8qzGRxbkHOd5I/aHRhHDKoQXQ8g0BYt4uSweQU1/J6dZUOyWh9a2Vky35YCKjzmgxOzta2hH6kf9HuXA== @@ -10601,7 +10576,7 @@ promzard@^0.3.0: dependencies: read "1" -prop-types@^15.5.8, prop-types@^15.6.2: +prop-types@^15.5.8, prop-types@^15.6.2, prop-types@^15.7.2: version "15.7.2" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ== @@ -11233,6 +11208,11 @@ regenerator-runtime@^0.12.0: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz#fa1a71544764c036f8c49b13a08b2594c9f8a0de" integrity sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg== +regenerator-runtime@^0.13.2: + version "0.13.2" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.2.tgz#32e59c9a6fb9b1a4aff09b4930ca2d4477343447" + integrity sha512-S/TQAZJO+D3m9xeN1WTI8dLKBBiRgXBlTJvbWjCThHWZj9EvHK70Ff50/tYj2J/fvBY6JtFVwRuazHN2E7M9BA== + regenerator-transform@^0.13.4: version "0.13.4" resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.13.4.tgz#18f6763cf1382c69c36df76c6ce122cc694284fb" @@ -11447,10 +11427,10 @@ resolve@1.1.7: resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@^1.1.6, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.5.0, resolve@^1.8.1, resolve@^1.9.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.10.0.tgz#3bdaaeaf45cc07f375656dfd2e54ed0810b101ba" - integrity sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg== +resolve@^1.1.6, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.0, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.5.0, resolve@^1.8.1: + version "1.11.1" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.11.1.tgz#ea10d8110376982fef578df8fc30b9ac30a07a3e" + integrity sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw== dependencies: path-parse "^1.0.6" @@ -11678,7 +11658,7 @@ semver@5.5.0: resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" integrity sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA== -semver@^6.0.0: +semver@^6.0.0, semver@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.2.0.tgz#4d813d9590aaf8a9192693d6c85b9344de5901db" integrity sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A== @@ -12255,13 +12235,13 @@ string-width@^1.0.1: strip-ansi "^4.0.0" string-width@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.0.0.tgz#5a1690a57cc78211fffd9bf24bbe24d090604eb1" - integrity sha512-rr8CUxBbvOZDUvc5lNIJ+OC1nPVpz+Siw9VBtUjB9b6jZehZLFt0JMCZzShFHIsI8cbhm0EsNIfWJMFV3cu3Ew== + version "3.1.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" + integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== dependencies: emoji-regex "^7.0.1" is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.0.0" + strip-ansi "^5.1.0" string.prototype.trim@^1.1.2: version "1.1.2" @@ -12305,12 +12285,12 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.0.0.tgz#f78f68b5d0866c20b2c9b8c61b5298508dc8756f" - integrity sha512-Uu7gQyZI7J7gn5qLn1Np3G9vcYGTVqB+lFTytnDJv83dd8T22aGH451P3jueT2/QemInJDfxHB5Tde5OzgG1Ow== +strip-ansi@^5.0.0, strip-ansi@^5.1.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" + integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== dependencies: - ansi-regex "^4.0.0" + ansi-regex "^4.1.0" strip-bom@^2.0.0: version "2.0.0" @@ -12844,9 +12824,9 @@ typedarray@^0.0.6: integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= typescript@*, typescript@^3.5.2: - version "3.5.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.2.tgz#a09e1dc69bc9551cadf17dba10ee42cf55e5d56c" - integrity sha512-7KxJovlYhTX5RaRbUdkAXN1KUZ8PwWlTzQdHV6xNqvuFOs7+WBo10TQUqT19Q/Jz2hk5v9TQDIhyLhhJY4p5AA== + version "3.5.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977" + integrity sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g== ua-parser-js@^0.7.18: version "0.7.19" @@ -13238,9 +13218,9 @@ w3c-hr-time@^1.0.1: browser-process-hrtime "^0.1.2" wait-for-expect@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/wait-for-expect/-/wait-for-expect-1.1.0.tgz#6607375c3f79d32add35cd2c87ce13f351a3d453" - integrity sha512-vQDokqxyMyknfX3luCDn16bSaRcOyH6gGuUXMIbxBLeTo6nWuEWYqMTT9a+44FmW8c2m6TRWBdNvBBjA1hwEKg== + version "1.2.0" + resolved "https://registry.yarnpkg.com/wait-for-expect/-/wait-for-expect-1.2.0.tgz#fdab6a26e87d2039101db88bff3d8158e5c3e13f" + integrity sha512-EJhKpA+5UHixduMBEGhTFuLuVgQBKWxkFbefOdj2bbk2/OpA5Opsc4aUTGmF+qJ+v3kTGxDRNYwKaT4j6g5n8Q== walker@^1.0.7, walker@~1.0.5: version "1.0.7" @@ -13637,7 +13617,7 @@ yargs-unparser@1.5.0: lodash "^4.17.11" yargs "^12.0.5" -yargs@12.0.5, yargs@^12.0.1, yargs@^12.0.2, yargs@^12.0.5: +yargs@12.0.5, yargs@^12.0.1, yargs@^12.0.5: version "12.0.5" resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==