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 Node.js 4.x compatibility #19

Merged
merged 1 commit into from
Feb 8, 2018

Conversation

kevinansfield
Copy link
Contributor

no issue

  • files in lib/ are imported within index.js which runs directly in Node.js, they were using let without specifying strict mode which throws an error in Node 4.x
  • added 'use strict'; to lib/difference.js and lib/intersection.js so that the addon works again when using Node 4.x

no issue
- files in `lib/` are imported within `index.js` which runs directly in Node.js, they were using `let` without specifying strict mode which throws an error in Node 4.x
- added `'use strict';` to `lib/difference.js` and `lib/intersection.js` so that the addon works again when using Node 4.x
kevinansfield added a commit to TryGhost/Admin that referenced this pull request Jan 29, 2018
no issue
- linked directly to compatibility fix commit
- PR opened at romulomachado/ember-cli-string-helpers#19
@jacobq
Copy link

jacobq commented Feb 7, 2018

@romulomachado please consider merging & re-releasing. This is causing CI to fail for downstream projects (like ember-cli-notifications) despite semver implying that it should work fine.

@romulomachado
Copy link
Owner

@kevinansfield Thank you for the PR!

@jacobq 1.7.0 is now available on NPM.

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

Successfully merging this pull request may close these issues.

None yet

3 participants