Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Should the required NodeJS version be >=8.0.0? #983

Closed
michaelsbradleyjr opened this issue Apr 29, 2019 · 4 comments · Fixed by #996
Closed

Should the required NodeJS version be >=8.0.0? #983

michaelsbradleyjr opened this issue Apr 29, 2019 · 4 comments · Fixed by #996

Comments

@michaelsbradleyjr
Copy link
Contributor

See: #937 (comment).

@michaelsbradleyjr michaelsbradleyjr changed the title Should the required NodeJS version be >=8.0.0 Should the required NodeJS version be >=8.0.0? Apr 29, 2019
@michaelsbradleyjr
Copy link
Contributor Author

ping

1 similar comment
@michaelsbradleyjr
Copy link
Contributor Author

ping

@alanshaw
Copy link
Contributor

This is not a priority for us as we've decided our minimum supported version is Node.js 10. That said, I see no reason to deny Node.js 8 users from installing if it is still compatible, so if you're willing to help @andremedeiros with #937 (comment) that would be amazing.

@michaelsbradleyjr
Copy link
Contributor Author

Sounds great, thanks.

michaelsbradleyjr added a commit to michaelsbradleyjr/js-ipfs-http-client that referenced this issue May 14, 2019
Also adjust Travis CI config to perform builds and tests with node 8.

`npm install`, `npm run build`, and `npm run test` all succeeded locally with
node version `8.3.0`.

The reason for version `8.3.0` instead of `8.0.0` is that `8.3.0` introduced
support for object rest/spread, which is used by at least one of this package's
devDependencies (`go-ipfs-dep`). It may be the case that at runtime older
versions of node would work correctly with the built package, but it seems
simpler to settle on the minimum supported version being a version that can
build, test, and use the package.

Closes ipfs-inactive#983.
alanshaw pushed a commit that referenced this issue May 15, 2019
Also adjust Travis CI config to perform builds and tests with node 8.

`npm install`, `npm run build`, and `npm run test` all succeeded locally with
node version `8.3.0`.

The reason for version `8.3.0` instead of `8.0.0` is that `8.3.0` introduced
support for object rest/spread, which is used by at least one of this package's
devDependencies (`go-ipfs-dep`). It may be the case that at runtime older
versions of node would work correctly with the built package, but it seems
simpler to settle on the minimum supported version being a version that can
build, test, and use the package.

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

Successfully merging a pull request may close this issue.

2 participants