Latest release v2.18.5 is breaking change for node.js 0.12.9
See original GitHub issueIssue details
Hi all, not sure if a bug or a feature but your latest release seems to drop support for node.js 0.12.9. It was working fine until yesterday but now we get:
nothing/to/see/here/node_modules/browser-sync/node_modules/portscanner/node_modules/is-number-like/lib/index.js:2
const isNumber = require('lodash.isfinite')
^^^^^
SyntaxError: Use of const in strict mode.
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/nothing/to/see/here/node_modules/browser-sync/node_modules/portscanner/lib/portscanner.js:4:20)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
Perhaps you want to check your semver, or perhaps this was intentional (as LTS support has ended). We’ve had to downgrade until we can upgrade our nodejs.
Steps to reproduce/test case
Please provide necessary steps for reproduction of this issue, or better the reduced test case (without any external dependencies).
Please specify which version of Browsersync, node and npm you’re running
- Browsersync [ 2.18.5 ]
- Node [ 0.12.9 ]
- Npm [ 2.14.9 ]
Affected platforms
- linux
- windows
- OS X
- freebsd
- solaris
- other (please specify which)
Browsersync use-case
- API
- Gulp
- Grunt
- CLI
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:12 (4 by maintainers)
Top Results From Across the Web
node/CHANGELOG_V18.md at main · nodejs/node - GitHub
This release marks the transition of Node.js 18.x into Long Term Support (LTS) with the codename 'Hydrogen'. The 18.x release line now moves...
Read more >Previous Releases - Node.js
Version Date V8 npm NODE_MODULE_VERSION
Node.js 19.3.0 2022‑12‑14 10.8.168.21 9.2.0 111 Downloads C...
Node.js 19.2.0 2022‑11‑29 10.8.168.20 8.19.3 111 Downloads C...
Node.js 19.1.0 2022‑11‑14 10.7.193.20 8.19.3...
Read more >Download & Update Node.js to the Latest Version! Node v19 ...
Node.js 18 is the 'Current' release for the next 6 months and then promoted to Long-term Support (LTS) in October 2022. Node.
Read more >To v.1.0 - Sails.js
For more about the philosophy behind many of the breaking changes in 1.0, ... your Node version; Step 1: Install hooks & update...
Read more >Update the Node.js agent | New Relic Documentation
js 10 does not receive updates . Upgrade to a newer version of Node.js as soon as possible. Support for Node.js 10 has...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is a pull request on is-number-like which fixes root cause of the issue. https://github.com/vigour-io/is-number-like/pull/7
I merged it sorry for the pkg – been so long since io.js we sort of forgot about older versions 😕