Git Product home page Git Product logo

npm-audit-haphap's People

Contributors

akapa avatar mkls avatar

Watchers

 avatar  avatar

npm-audit-haphap's Issues

package does not work with npm 7

Hi,

After updating npm from 6.14.6 to 7.5.4 I received the following error

> npm-audit-haphap --validate-with-filter

[PROJECT_DIR]/node_modules/npm-audit-haphap/index.js:28
  const filteredAdvisories = Object.values(auditReport.advisories).filter(
                                    ^

TypeError: Cannot convert undefined or null to object
    at Function.values (<anonymous>)
    at handleValidation ([PROJECT_DIR]/node_modules/npm-audit-haphap/index.js:28:37)
    at [PROJECT_DIR]/node_modules/npm-audit-haphap/index.js:20:21
    at ChildProcess.exithandler (child_process.js:294:7)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:443:11)
    at Socket.emit (events.js:315:20)
    at Pipe.<anonymous> (net.js:674:12)
npm ERR! code 1
npm ERR! path [PROJECT_DIR]
npm ERR! command failed
npm ERR! command sh -c npm-audit-haphap --validate-with-filter

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/[USER_NAME]/.npm/_logs/2021-02-15T12_14_43_751Z-debug.log
npm ERR! code 1
npm ERR! path [PROJECT_DIR]
npm ERR! command failed
npm ERR! command sh -c npm run audit && npm run lint && npm run test:once

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/[USER_NAME]/.npm/_logs/2021-02-15T12_14_43_792Z-debug.log

Can you look into it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.