Comments (5)
Added another work item for engines.
from yesno.
@ianwsperber @ryan-roemer Can this be done just through changing the target
in tsconfig.json from "ES2018" to "ES5"?
from yesno.
It technically could, but at least for babel, the generated code from async/await
is just a monstrosity of awful, so really would be better to have native, terse promises. Maybe we look at the TS generated output for that and see first if it's equally as bad?
... as another factor to consider node6 is EOL'ed April 2019
from yesno.
One other thing to keep in mind, we only need to do this for src
, not examples
or test
(we could just omit testing 6 in CI). Doing a quick search just yielded only a handful of async/await in actual src
.
Easiest path may just be to swap those out, leave CI as is and be done with it!
from yesno.
node 6 is no longer in LTS
from yesno.
Related Issues (20)
- Headers not being sent correctly for form-data?
- Tests fail for Node 10 HOT 1
- Include path in error message when method mismatch HOT 1
- Comparison to nock
- Allow intercepting only specified requests HOT 2
- First class support for browser testing
- Integration tests failing in node v12 HOT 2
- Support recording from selected hosts/urls
- Swap out request lib for Axios in Tests
- Update default branch to be called "main"
- Should mocks defined using `matching().respond()` clobber mocks from `yesno.mock`
- Questions on detailed behavior of matching().respond()
- Feature: Implement yesno.mockRule
- Feature: Implement yesno.mockRule().record
- Feature: Implement yesno.mockRule().live()
- Feature: Implement yesno.mockRule().respond()
- Feature: Implement yesno.mockRule().redact()
- Feature: Implement yesno.mockMatchingFunction()
- Feature: Change default to best matching mock instead of index based
- Feature: Implement yesno.mockMode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yesno.