Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nsp support to all packages & plugins. #187

Closed
17 tasks done
marshallswain opened this issue Dec 29, 2015 · 18 comments
Closed
17 tasks done

Add nsp support to all packages & plugins. #187

marshallswain opened this issue Dec 29, 2015 · 18 comments
Labels
Milestone

Comments

@marshallswain
Copy link
Member

I think it's a good idea to add this into the build/publishing process so we get alerts of vulnerabilities that pop up. What do you guys think? @feathersjs/core-team
https://nodesecurity.io/tools

We need to do this to each of these:

@ekryski
Copy link
Contributor

ekryski commented Dec 29, 2015

👍 I haven't use nsp before but sounds like a good idea to me.

@daffl
Copy link
Member

daffl commented Dec 29, 2015

That sounds good. Can you run nsp against this repo and show how it looks?

@daffl
Copy link
Member

daffl commented Jan 5, 2016

Did you get a chance to test it out? I would figure that all we need to do is add it as an NPM script.

@marshallswain
Copy link
Member Author

Nope. I didn't try it out, yet. I'll try it now.

@marshallswain
Copy link
Member Author

screen shot 2016-01-05 at 8 53 19 am

@marshallswain
Copy link
Member Author

It looks like they currently only make it easy to use a command line utility, but the gulp-nsp project shows how we could create an npm script to run the nsp package: https://github.com/nodesecurity/gulp-nsp/blob/master/index.js

@daffl
Copy link
Member

daffl commented Jan 18, 2016

Why couldn't you just install the command line as a devDependency and run it from an NPM script?

@marshallswain
Copy link
Member Author

Oh yeah. Yep it works: ./node_modules/.bin/nsp check

@daffl
Copy link
Member

daffl commented Jan 18, 2016

As an npm script you won't even have to add node_modules/.bin.

@marshallswain
Copy link
Member Author

You're right. Where's the best place to integrate it? At the end of test?

@marshallswain
Copy link
Member Author

"test": "npm run compile && npm run jshint && npm run mocha && npm run nsp",

@marshallswain
Copy link
Member Author

Actually, running it directly works "test": "npm run compile && npm run jshint && npm run mocha && nsp check",

It doesn't need the extra script.

@marshallswain
Copy link
Member Author

I copied the list to the first comment. We've only updated feathers core, so far.

@marshallswain
Copy link
Member Author

All plugins have a PR.

@ekryski
Copy link
Contributor

ekryski commented Jan 26, 2016

@marshallswain what's the issue with nedb? Would be nice to close this issue out.

@ekryski ekryski modified the milestone: 2.0.0 Jan 26, 2016
@marshallswain
Copy link
Member Author

Looks like @daffl fixed it.

@ekryski
Copy link
Contributor

ekryski commented Jan 26, 2016

👍

daffl pushed a commit that referenced this issue Aug 25, 2018
@lock
Copy link

lock bot commented Feb 7, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue with a link to this issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Feb 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants