Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Update dependencies with security issues #211

Open
wants to merge 9 commits into
base: latest
Choose a base branch
from

Conversation

hlovdal
Copy link

@hlovdal hlovdal commented Nov 10, 2018

Running npm audit on the branch latest as of writing this gives

found 72 vulnerabilities (29 low, 27 moderate, 16 high) in 6893 scanned packages

This pull request fixes those by updating the applicable dependencies.

To help understanding why tests fail. Will be visible when run as

    env TAP_DEBUG=1 npm run test
"en" is not a universal locale, while "C" is present on absolutely any
unix related operating system because it is mandated by POSIX
(http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html,
http://pubs.opengroup.org/onlinepubs/7908799/xbd/locale.html).

With "en" three of the tests fail on my machine

..stderr:  /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en): No such file or directory
..stderr:  /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en): No such file or directory
..stderr:  /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en): No such file or directory

The locales/C.json file was generated automatically by something while
running tests so I assume it is required. The generated file had the
same content but slightly different order of the lines, so I rather
overwrote with en.json.
Suggested command from npm audit

    npm install --save-dev nyc@13.1.0

Relevant breaking changes mentioned at
https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md:

12.0.0 - Drops Node.js 4 support

https://nodesecurity.io/advisories/157
https://nodesecurity.io/advisories/577
@hlovdal
Copy link
Author

hlovdal commented Nov 10, 2018

The build failure with node.js version 6 is unrelated, I created an issue for that.

@hlovdal
Copy link
Author

hlovdal commented Dec 9, 2018

Is there anything that stops this from being merged?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant