nice-registry / nice-package

📦 Clean up messy package metadata from the npm registry
35 stars 7 forks source link

'use strict' #5

Closed hemanth closed 8 years ago

hemanth commented 8 years ago
module.exports = class Package {
                 ^^^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

@zeke ^

hemanth commented 8 years ago

BTW https://github.com/hemanth/fetch-nice-package

zeke commented 8 years ago

https://github.com/hemanth/fetch-nice-package

I like the H1 in the readme 😎

Saw a typo:

info will all the

zeke commented 8 years ago

Sorry I keep closing all your pull requests, but I think standard is strict enough.

zeke commented 8 years ago

https://github.com/zeke/nice-package/commit/1466a6cd41d51d848d3a60cc169d7ebf4ad338dc

hemanth commented 8 years ago

info will all the

What was I trying to convey there! 😂

Will fix it.

But I noticed that error, so I am using strict-mode module to overcome.

zeke commented 8 years ago

Oh right that error.. sorry. What version of node are you using? Maybe we should add a minimum version to engines in package.json

hemanth commented 8 years ago

@zeke The error is on anything >=4 until 6 and nightly.

hemanth commented 8 years ago

BTW published fetch-nice-package@1.0.1

hemanth commented 8 years ago

tJeTfLOfl98Mo