sindresorhus / strip-bom

Strip UTF-8 byte order mark (BOM) from a string

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: 0.8 support?

jsdevel opened this issue Β· comments

I have a few libraries that currently support node 0.8. It would be great if I could use strip-bom. Thoughts? Thank you.

πŸ‘ as far as I can see there is no obvious reason why it's only for node >= 0.10 so I guess it's just minor tweaks in the package.json (one of them using ~ instead of ^ in the *dependencies section(s)) - please correct me if I'm wrong πŸ˜ƒ

Nope, 0.8 is ancient (more than a year old!). Time to upgrade people.

Though the version requirement isn't enforced by node, so you can easily use it on 0.8, but please don't.

@sindresorhus I see - thanks.

Also ^ only means you need a newer npm, not node.

Ah, ok! I just thought so because the travis-ci build failed druing the npm install command - so the npm version seems bundled to the node version run on travis-ci(?). Good to know πŸ‘

thanks a lot! πŸ‘