Bump typescript from 3.8.3 to 3.9.2 (#8293)

* Bump typescript from 3.8.3 to 3.9.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.8.3 to 3.9.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.8.3...v3.9.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Add Invalid JSX test

* More tests

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
dependabot-preview[bot]andfisker authored and GitHub committed 2020-05-14 00:12:37 +03:00
1 parent d82c3a2752
commit b5f39481aa
5 files changed
+68 -5

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@
"srcset": "2.0.1",
"string-width": "4.2.0",
"tslib": "1.12.0",
"typescript": "3.8.3",
"typescript": "3.9.2",
"unicode-regex": "3.0.0",
"unified": "9.0.0",
"vnopts": "1.0.2",
@@ -0,0 +1,46 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`invalid-jsx-1.ts error test 1`] = `
"Unexpected token. Did you mean \`{'>'}\` or \`&gt;\`? (3:45)
1 | // https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-9.html#-and--are-now-invalid-jsx-text-characters
2 |
> 3 | let directions = <div>Navigate to: Menu Bar > Tools > Options</div>
| ^
4 | "
`;
exports[`snippet: #0 error test 1`] = `
"Unexpected token. Did you mean \`{'}'}\` or \`&rbrace;\`? (1:15)
> 1 | let x1 = <div>}</div>;
| ^"
`;
exports[`snippet: #1 error test 1`] = `
"Unexpected token. Did you mean \`{'>'}\` or \`&gt;\`? (1:15)
> 1 | let x2 = <div>></div>;
| ^"
`;
exports[`snippet: #2 error test 1`] = `
"':' expected. (1:21)
> 1 | let x3 = <div>{\\"foo\\"}}</div>;
| ^"
`;
exports[`snippet: #3 error test 1`] = `
"':' expected. (1:21)
> 1 | let x4 = <div>{\\"foo\\"}></div>;
| ^"
`;
exports[`snippet: #4 error test 1`] = `
"Expression expected. (1:15)
> 1 | let x5 = <div>}{\\"foo\\"}</div>;
| ^"
`;
exports[`snippet: #5 error test 1`] = `
"Expression expected. (1:15)
> 1 | let x6 = <div>>{\\"foo\\"}</div>;
| ^"
`;
@@ -0,0 +1,3 @@
// https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-9.html#-and--are-now-invalid-jsx-text-characters
let directions = <div>Navigate to: Menu Bar > Tools > Options</div>
@@ -0,0 +1,14 @@
run_spec(
{
dirname: __dirname,
snippets: [
"let x1 = <div>}</div>;",
"let x2 = <div>></div>;",
'let x3 = <div>{"foo"}}</div>;',
'let x4 = <div>{"foo"}></div>;',
'let x5 = <div>}{"foo"}</div>;',
'let x6 = <div>>{"foo"}</div>;',
],
},
["typescript"]
);
+4 -4
View File
@@ -7527,10 +7527,10 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
typescript@3.8.3:
version "3.8.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==
typescript@3.9.2:
version "3.9.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.2.tgz#64e9c8e9be6ea583c54607677dd4680a1cf35db9"
integrity sha512-q2ktq4n/uLuNNShyayit+DTobV2ApPEo/6so68JaD5ojvc/6GClBipedB9zNWYxRSAlZXAe405Rlijzl6qDiSw==
uglify-js@^3.1.4:
version "3.7.6"