Skip to content

Commit 2fc9bd2

Browse files
authored
fix(typescript-estree): correct semver check range (#1109)
1 parent 088a691 commit 2fc9bd2

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@
7373
"ts-jest": "^24.0.0",
7474
"ts-node": "^8.3.0",
7575
"tslint": "^5.19.0",
76-
"typescript": ">=3.2.1 <3.8.0 >3.7.0-dev.0"
76+
"typescript": ">=3.2.1 <3.8.0 || >3.7.0-dev.0"
7777
},
7878
"collective": {
7979
"type": "opencollective",
8080
"url": "https://opencollective.com/typescript-eslint"
8181
},
8282
"resolutions": {
83-
"typescript": "^3.7.0-beta"
83+
"typescript": "^3.7.0-dev.20191018"
8484
}
8585
}

packages/typescript-estree/src/parser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { TSESTree } from './ts-estree';
1616
* This needs to be kept in sync with the top-level README.md in the
1717
* typescript-eslint monorepo
1818
*/
19-
const SUPPORTED_TYPESCRIPT_VERSIONS = '>=3.2.1 <3.8.0 >3.7.0-dev.0';
19+
const SUPPORTED_TYPESCRIPT_VERSIONS = '>=3.2.1 <3.8.0 || >3.7.0-dev.0';
2020
const ACTIVE_TYPESCRIPT_VERSION = ts.version;
2121
const isRunningSupportedTypeScriptVersion = semver.satisfies(
2222
ACTIVE_TYPESCRIPT_VERSION,

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -7715,10 +7715,10 @@ typedarray@^0.0.6:
77157715
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
77167716
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
77177717

7718-
typescript@*, "typescript@>=3.2.1 <3.8.0 >3.7.0-dev.0", typescript@^3.7.0-beta:
7719-
version "3.7.0-dev.20191015"
7720-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.0-dev.20191015.tgz#283a99aeb09c91963aa16adcf5cb2fccbea9bdc4"
7721-
integrity sha512-Cpfj1n4pEUVKL+jtS0mkZodJffyMmf3Wk/UjyZMGX4fsjK5KBPJf3NUlyXij8I8p1E2CAomdS5NPFrAR+z8pKw==
7718+
typescript@*, "typescript@>=3.2.1 <3.8.0 || >3.7.0-dev.0", typescript@^3.7.0-dev.20191018:
7719+
version "3.7.0-dev.20191018"
7720+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.0-dev.20191018.tgz#6b98a655b124ca697364e2d7977c469a2bfede3d"
7721+
integrity sha512-Z8KpsytbY5lBMp5cc08VFoO8CgHC6IcbgyiA5vjh7fitkoG0qcem9C354YuiWV4O2+i2gdC7vF8tNUYqO/vUkQ==
77227722

77237723
uglify-js@^3.1.4:
77247724
version "3.6.0"

0 commit comments

Comments
 (0)