question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Node 4 support dropped in latest patch version?

See original GitHub issue

I realize Node 4 is no longer supported, but for those of us who are stuck with it, the new 4.3.3 version is no longer usable. This seems to be like something warranting a major version bump, since anyone using Node 4 pointed to "gulp-inject": "~4.3.2" or "gulp-inject": "^4.3.2" will now get 4.3.3 and fail on a syntax error.

Here’s the error Node 4 users will see:

/src/node_modules/gulp-inject/node_modules/ansi-colors/index.js:17
  let { open, close, regex } = style;
      ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/src/node_modules/gulp-inject/src/inject/index.js:5:14)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rejascommented, Nov 15, 2018

thx for the hint @joakimbeng pushed a commit with some breaking changes 😉

1reaction
rejascommented, Nov 15, 2018

you’re right @theGrue @joakimbeng maybe we should re-release this new version as v5 and retract the 4.3.3 release?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.js 4 and 5 support dropped but no major version update?
I saw that 0.10.0 dropped Node.js 4 and 5 support ( 4d88e05 ) According to semver, this would be a breaking change (IMO)...
Read more >
Upgrading Node.js to latest version - Stack Overflow
If you just need to upgrade your old version of Node.js to the latest one and don't need multiple versions, simply over-write your...
Read more >
April 2018 Release Updates from the Node.js Project - Medium
If you are currently on Node.js 4.x Argon, we highly suggest that you migrate to the latest version of Node.js 8.x Carbon; You...
Read more >
Update the Node.js agent | New Relic Documentation
Node. js 4, 5, and 7 also no longer receive updates , but New Relic will continue to support these versions of Node....
Read more >
Announcing the end of support for Node.js 12.x in the AWS ...
mjs ... NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will no longer support Node.js v12.22.12 on November 1, 2022. To continue ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found