-
Notifications
You must be signed in to change notification settings - Fork 101
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
Convert to ES6 #49
Open
jantimon
wants to merge
1
commit into
gtanner:master
Choose a base branch
from
jantimon:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Convert to ES6 #49
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Looks ok to me as well @mwbrooks ! |
Awesome @gtanner! @jantimon I'm running into 2 failed tests on my end and I'm curious if you can help me through it. $ node --version
v12.19.0
$ npm test
...
6 passing (92ms)
2 failing
1) in the main module
the generate method
when not providing a callback
"after each" hook for "logs to the console":
TypeError: Cannot read property 'restore' of undefined
at Context.<anonymous> (test/main.js:13:31)
at processImmediate (internal/timers.js:461:21)
2) in the main module
the generate method
when providing a callback
will not call the console.log method:
Error: expected true to equal false
at Assertion.assert (node_modules/expect.js/index.js:96:13)
at Assertion.be.Assertion.equal (node_modules/expect.js/index.js:216:10)
at Assertion.<computed> [as be] (node_modules/expect.js/index.js:69:24)
at Context.<anonymous> (test/main.js:32:47)
at processImmediate (internal/timers.js:461:21) The first error is that cat node_modules/sinon/package.json | grep version
"postversion": "./scripts/postversion.sh",
"preversion": "./scripts/preversion.sh",
"version": "./scripts/version.sh"
"version": "13.0.1" |
Hope this pr gets merged |
Any idea on when this will be merged? |
Would love to see ES6 support and the updates. |
can someone merge this asap? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
hey :)
this PR is a major upgrade for qrcode-terminal:
ES6 and ESModules require Node12.
I hope that is fine - now that Node14 is the current long term support version: https://nodejs.org/en/about/releases/