Skip to content

Add nsp support to all packages & plugins. #187

Closed

Description

@marshallswain

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:

Activity

  1. ekryski commented on Dec 29, 2015

    @ekryski
    Contributor

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

  2. daffl commented on Dec 29, 2015

    @daffl
    Member

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

  3. daffl commented on Jan 5, 2016

    @daffl
    Member

    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.

  4. marshallswain commented on Jan 5, 2016

    @marshallswain
    MemberAuthor

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

  5. marshallswain commented on Jan 5, 2016

    @marshallswain
    MemberAuthor

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

  6. marshallswain commented on Jan 18, 2016

    @marshallswain
    MemberAuthor

    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

  7. daffl commented on Jan 18, 2016

    @daffl
    Member

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

  8. marshallswain commented on Jan 18, 2016

    @marshallswain
    MemberAuthor

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

  9. daffl commented on Jan 18, 2016

    @daffl
    Member

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

  10. marshallswain commented on Jan 18, 2016

    @marshallswain
    MemberAuthor

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

  11. marshallswain commented on Jan 18, 2016

    @marshallswain
    MemberAuthor

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

  12. marshallswain commented on Jan 18, 2016

    @marshallswain
    MemberAuthor

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

    It doesn't need the extra script.

  13. marshallswain commented on Jan 21, 2016

    @marshallswain
    MemberAuthor

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

  14. marshallswain commented on Jan 21, 2016

    @marshallswain
    MemberAuthor

    All plugins have a PR.

  15. ekryski commented on Jan 26, 2016

    @ekryski
    Contributor

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

  16. modified the milestone: 2.0.0 on Jan 26, 2016
  17. marshallswain commented on Jan 26, 2016

    @marshallswain
    MemberAuthor

    Looks like @daffl fixed it.

  18. ekryski commented on Jan 26, 2016

    @ekryski
    Contributor

    👍

  19. added a commit that references this issue on Aug 25, 2018
  20. lock commented on Feb 7, 2019

    @lock

    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.

  21. locked as resolved and limited conversation to collaborators on Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions