Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change build target for backwards compat #25

Merged
merged 2 commits into from
Apr 12, 2021

Conversation

tbnritzdoge
Copy link
Member

No description provided.

@tbnritzdoge tbnritzdoge linked an issue Apr 12, 2021 that may be closed by this pull request
@coveralls
Copy link

coveralls commented Apr 12, 2021

Coverage Status

Coverage remained the same at 98.627% when pulling 1558856 on fix/work-on-older-node into f869666 on master.

@Nytelife26
Copy link
Collaborator

This is an unnecessary code quality sacrifice when we can simply adjust our build settings. You can set the target to either ES2018 or Node12 in our ESBuild config to resolve this more effectively without needing to sacrifice developer experience.

@tbnritzdoge tbnritzdoge changed the title fix: remove ?? in favor of ternary fix: change build target for backwards compat Apr 12, 2021
Copy link
Collaborator

@Nytelife26 Nytelife26 left a comment

Choose a reason for hiding this comment

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

LGTM.

@Nytelife26 Nytelife26 merged commit 87cbbd3 into master Apr 12, 2021
@tbnritzdoge tbnritzdoge deleted the fix/work-on-older-node branch April 12, 2021 13:18
github-actions bot pushed a commit that referenced this pull request Apr 13, 2021
# [1.2.0](v1.1.0...v1.2.0) (2021-04-13)

### Bug Fixes

* change build target for backwards compat ([#25](#25)) ([87cbbd3](87cbbd3))
* **ci:** make filepaths correct ([9299fc0](9299fc0))
* **PetitioResponse:** support non-ascii json responses ([#11](#11)) ([d8344e4](d8344e4))

### Features

* abort-controllers ([#23](#23)) ([1ad4a5d](1ad4a5d))
* add all http methods ([#17](#17)) ([f869666](f869666))
* **ci:** build on every commit ([443070b](443070b))
* add support for stream ([c706801](c706801))
* add text encoding option & tests ([7f6f5c6](7f6f5c6))

### Performance Improvements

* improve response buffer handling ([#20](#20)) ([26d84e2](26d84e2))
* optimize loops ([#24](#24)) ([01b8012](01b8012))
* remove spread operators and callback loops ([#12](#12)) ([3bf48cc](3bf48cc))
github-actions bot pushed a commit that referenced this pull request Apr 13, 2021
# [1.3.0](v1.2.1...v1.3.0) (2021-04-13)

### Bug Fixes

* change build target for backwards compat ([#25](#25)) ([87cbbd3](87cbbd3))
* **ci:** make filepaths correct ([9299fc0](9299fc0))

### Features

* abort-controllers ([#23](#23)) ([1ad4a5d](1ad4a5d))
* add all http methods ([#17](#17)) ([f869666](f869666))
* **ci:** build on every commit ([443070b](443070b))

### Performance Improvements

* improve response buffer handling ([#20](#20)) ([26d84e2](26d84e2))
* optimize loops ([#24](#24)) ([01b8012](01b8012))
@github-actions
Copy link

🎉 This PR is included in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SyntaxError: Unexpected token '?'
3 participants