Chore: update packages & bugfix new versions (#1487)

* chore(package): yarn upgrade

Updates all packages within version range.

* Bugfix update stacktrace matching code

The stacktrace has changed, most likely due to
a babel plugin updating. It now seems based on
the name of the `handlingErrors` argument
instead of the variable name storing the
anonymous function.

* Bugfix update react-router patch version

By updating the react packages, warnings were
logged about unsafe componentWillMount usage.
These warnings tripped a unit test.
react-router was the cause of these, so this
update avoids getting the warnings.
This commit is contained in:
Robin van Boven 2019-12-10 20:52:55 +01:00 committed by GitHub
parent a41eb71949
commit f35d7e088f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1749 additions and 1675 deletions

View File

@ -32,7 +32,7 @@
"react-dom": "^16.4.1", "react-dom": "^16.4.1",
"react-icons": "^3.7.0", "react-icons": "^3.7.0",
"react-markdown": "^4.0.8", "react-markdown": "^4.0.8",
"react-router": "3.2.1", "react-router": "^3.2.1",
"recharts": "^1.6.2", "recharts": "^1.6.2",
"remove-markdown": "^0.3.0", "remove-markdown": "^0.3.0",
"retry": "^0.12.0", "retry": "^0.12.0",

View File

@ -37,7 +37,7 @@ describe("cli/command", () => {
expect(stdio.out).toHaveBeenCalledTimes(0); expect(stdio.out).toHaveBeenCalledTimes(0);
expect(stdio.err).toHaveBeenCalledTimes(1); expect(stdio.err).toHaveBeenCalledTimes(1);
expect(stdio.err.mock.calls[0]).toHaveLength(1); expect(stdio.err.mock.calls[0]).toHaveLength(1);
expect(stdio.err.mock.calls[0][0]).toMatch(/^Error: wat\n *at cmd/); expect(stdio.err.mock.calls[0][0]).toMatch(/^Error: wat\n *at command/);
}); });
it("handles a thrown string", async () => { it("handles a thrown string", async () => {
@ -62,7 +62,7 @@ describe("cli/command", () => {
expect(stdio.out).toHaveBeenCalledTimes(0); expect(stdio.out).toHaveBeenCalledTimes(0);
expect(stdio.err).toHaveBeenCalledTimes(1); expect(stdio.err).toHaveBeenCalledTimes(1);
expect(stdio.err.mock.calls[0]).toHaveLength(1); expect(stdio.err.mock.calls[0]).toHaveLength(1);
expect(stdio.err.mock.calls[0][0]).toMatch(/^Error: wat\n *at cmd/); expect(stdio.err.mock.calls[0][0]).toMatch(/^Error: wat\n *at command/);
}); });
it("handles rejection with a string", async () => { it("handles rejection with a string", async () => {

View File

@ -53,7 +53,7 @@ describe("cli/testUtil", () => {
stdout: ["???"], stdout: ["???"],
stderr: [ stderr: [
"what is going on", "what is going on",
expect.stringMatching(/^Error: throw\n *at testCommand/), expect.stringMatching(/^Error: throw\n *at command/),
], ],
}); });
}); });

3416
yarn.lock

File diff suppressed because it is too large Load Diff