mozilla / scanjs

[DEPRECATED] Static analysis tool for javascript code.
Other
429 stars 39 forks source link

package missing from npm registry #166

Closed codesmax closed 2 years ago

codesmax commented 9 years ago

Up until a few days ago, the module was available on the public npm registry under the name 'mozilla/scanjs'. Now it's gone. Was this pulled intentionally? Will this be republished to the registry?

Thanks, Max

zombie commented 9 years ago

hey @cathartic, i just tested this, and it seems to work for me:

npm install mozilla/scanjs

can you try again maybe, and this time possibly with the --verbose flag (warning, long console spew)?

the only thing that changed recently is that we removed instruction on how to install scanjs using npm from README. that's because we are in a bit of a flux currently, re-organizing how this stuff should work/be used in #158, so for more info on that, check back in a week or two..

mozfreddyb commented 9 years ago

@cathartic: Thanks for raising this. It is indeed striking: I do not know how issued the "unpublish" here.

But as @zombie said, we will change the repo structure to move the web app as well as the nodejs bits out of here. That way, scanjs will be a library people can easily consume in their project. After this work has concluded, we will likely republish on npm.

cphoton commented 9 years ago

Hi, I noticed that there is a module on npm for the library, is that the official one? if not, is it reasonable to expect an official one in the short term?

pauljt commented 9 years ago

I don’t know who slalom digital but is not related to us afaik. To be honest, I hadn’t really considered making an npm module since the tool was intended to be run in the browser, but we could do I suppose.

@freddyb thoughts?

On 12 Mar 2015, at 6:18 am, Héctor Quartino notifications@github.com wrote:

Hi, I noticed that there is a module on npm for the library, is that the official one? if not, is it reasonable to expect an official one in the short term?

— Reply to this email directly or view it on GitHub.

cphoton commented 9 years ago

If the module were to be available on npm, it would make it easier to integrate it into build tools, for instance one could make something similar as gulp-jshint.

mozfreddyb commented 9 years ago

Well the scanning bits could surely run in nodejs, without all the browser stuff. I'll try to get #158 done soonish and will submit an official package afterwards.

(Sorry for the late response, was out of office last week)

cphoton commented 9 years ago

Thank you Frederick, no problem!