-
Notifications
You must be signed in to change notification settings - Fork 103
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
Remove use of Array.prototype.includes to support older runtimes #73
Remove use of Array.prototype.includes to support older runtimes #73
Conversation
523c087
to
b6fbe6c
Compare
(BTW - you can use |
CHANGELOG.md
Outdated
@@ -2,6 +2,9 @@ | |||
|
|||
### vNEXT | |||
|
|||
### v0.8.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For future PRs, please don't set the version number here and in package.json - sometimes we publish several things in one version
test/index.js
Outdated
@@ -1,7 +1,9 @@ | |||
// This file cannot be written with ECMAScript 2015 because it has to load | |||
// the Babel require hook to enable ECMAScript 2015 features! | |||
require('babel-core/register'); | |||
require('babel-polyfill'); | |||
require("babel-core").transform("code", { | |||
plugins: ["transform-runtime"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this change do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh never mind just read the description :]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there's something I can do to clarify the intention of this in the code, I'm super happy to add it.
Also removes `babel-polyfill` in favor of `transform-runtime` to surface these runtime-specific issues in testing.
b6fbe6c
to
97de688
Compare
@stubailo Thanks for the feedback 💇♂️ |
LGTM, @jnwng I think it's up to you to merge! |
thank you @PepperTeasdale! |
…llographql#73) Also removes `babel-polyfill` in favor of `transform-runtime` to surface these runtime-specific issues in testing.
Also removes
babel-polyfill
in favor oftransform-runtime
to surface these runtime-specific issues in testing.@stubailo 👀 please
TODO:
;)