chore(typescript): upgrade typescript-eslint-parser to 992f1fa (fixes #1769) (#1785)

master
Lucas Azzola 2017-05-29 01:05:33 +10:00 committed by Christopher Chedeau
parent 2f840f940f
commit e270032d37
6 changed files with 48 additions and 3 deletions

View File

@ -41,7 +41,7 @@
"rollup-plugin-node-globals": "1.1.0",
"rollup-plugin-node-resolve": "2.0.0",
"typescript": "2.3.2",
"typescript-eslint-parser": "git://github.com/eslint/typescript-eslint-parser.git#31ad3c4c3e59ad3290aeb1a04d8f2683de55fbde"
"typescript-eslint-parser": "git://github.com/eslint/typescript-eslint-parser.git#992f1fa940c5679c8a509059665146f717da58cb"
},
"scripts": {
"test": "jest",

View File

@ -1,5 +1,29 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`async-iteration.js 1`] = `
async function * a() {
yield* b();
}
class X {
async * b() {
yield* a();
}
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
async function* a() {
yield* b();
}
class X {
async *b() {
yield* a();
}
}
`;
exports[`await_parse.js 1`] = `
async function f() { (await f()).length }
async function g() {

View File

@ -0,0 +1,10 @@
async function * a() {
yield* b();
}
class X {
async * b() {
yield* a();
}
}

View File

@ -1,5 +1,14 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`dunder.ts 1`] = `
// eslint/typescript-eslint-parser#296
class F<__T> {}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// eslint/typescript-eslint-parser#296
class F<__T> {}
`;
exports[`generics.ts 1`] = `
class<T> implements Map<T> {}

View File

@ -0,0 +1,2 @@
// eslint/typescript-eslint-parser#296
class F<__T> {}

View File

@ -2808,9 +2808,9 @@ typedarray@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
"typescript-eslint-parser@git://github.com/eslint/typescript-eslint-parser.git#31ad3c4c3e59ad3290aeb1a04d8f2683de55fbde":
"typescript-eslint-parser@git://github.com/eslint/typescript-eslint-parser.git#992f1fa940c5679c8a509059665146f717da58cb":
version "3.0.0"
resolved "git://github.com/eslint/typescript-eslint-parser.git#31ad3c4c3e59ad3290aeb1a04d8f2683de55fbde"
resolved "git://github.com/eslint/typescript-eslint-parser.git#992f1fa940c5679c8a509059665146f717da58cb"
dependencies:
lodash.unescape "4.0.1"
semver "5.3.0"