Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

New: Support TypeScript 2.4 (fixes #321) #322

Merged
merged 1 commit into from
Jun 13, 2017
Merged

Conversation

azz
Copy link
Contributor

@azz azz commented Jun 13, 2017

Makes sense to keep support for 2.3 until 2.4 is stable upstream.

Fixes #321.

@eslintbot
Copy link

LGTM

@eslintbot
Copy link

LGTM

@eslintbot
Copy link

LGTM

@azz
Copy link
Contributor Author

azz commented Jun 13, 2017

Added a test for import().then() including replacing TSImportKeyword with Import as per estree experimental/import-expression.

@eslintbot
Copy link

LGTM

@JamesHenry
Copy link
Member

@azz I have created a branch called ts-2.4, please can you reopen the PR with that as the base?

@eslintbot
Copy link

LGTM

@azz azz changed the base branch from master to ts-2.4 June 13, 2017 12:25
@azz
Copy link
Contributor Author

azz commented Jun 13, 2017

Done

package.json Outdated
@@ -26,7 +26,7 @@
"npm-license": "0.3.3",
"shelljs": "0.7.7",
"shelljs-nodecli": "0.1.1",
"typescript": "~2.3.2"
"typescript": "~2.4 || ~2.3.2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, as per my comments on the issue I feel this should still just be one version for now. We can potentially look to change this philosophy before ts-2.4 is merged into master

README.md Outdated
@@ -8,7 +8,7 @@ A parser that converts TypeScript into an [ESTree](https://github.com/estree/est

We will always endeavor to support the latest stable version of TypeScript.

The version of TypeScript currently supported by this parser is `~2.3.2`. This is reflected in the `devDependency` requirement within the package.json file, and it is what the tests will be run against. We have an open `peerDependency` requirement in order to allow for experimentation on newer/beta versions of TypeScript.
The version of TypeScript currently supported by this parser is `~2.3.2 || ~2.4`. This is reflected in the `devDependency` requirement within the package.json file, and it is what the tests will be run against. We have an open `peerDependency` requirement in order to allow for experimentation on newer/beta versions of TypeScript.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See version comment

@soda0289
Copy link
Member

I'm ok with having a range of versions but it is often not possible to do so. This release might be one where no breaking changes occur in the AST and its possible to have a version range. I like the idea of having a separate branch for now just to ensure no surprises come up.

@eslintbot
Copy link

LGTM

@JamesHenry JamesHenry merged commit fcfc957 into eslint:ts-2.4 Jun 13, 2017
@JamesHenry
Copy link
Member

Thanks, @azz!

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants