Socket
Socket
Sign inDemoInstall

@contrast/library-analysis

Package Overview
Dependencies
17
Maintainers
14
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.0 to 1.9.0

10

lib/install/library-reporting/index.js

@@ -73,4 +73,4 @@ /*

if (!version) {
logger.info(
'package: %s is missing version in package.json or it might not have been installed; unable to report lib.',
logger.debug(
'package "%s" is missing the version field in its package.json or it might not have been installed; unable to report library.',
name,

@@ -89,3 +89,3 @@ deps

module.exports = function(core) {
module.exports = function (core) {
const {

@@ -116,3 +116,3 @@ config,

libraryReporting.install = async function() {
libraryReporting.install = async function () {
const nodeModulesPath = await getNodeModulesPath();

@@ -133,3 +133,3 @@ const npmData = await listInstalled(

} catch (err) {
logger.error('Unable to get file count for %s, %s', library.name, library.version);
logger.warn('Unable to get file count for package "%s@%s"', library.name, library.version);
}

@@ -136,0 +136,0 @@ messages.emit(Event.LIBRARY, serializedLib);

{
"name": "@contrast/library-analysis",
"version": "1.8.0",
"version": "1.9.0",
"description": "",

@@ -19,3 +19,3 @@ "author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",

"dependencies": {
"@contrast/common": "1.12.0",
"@contrast/common": "1.13.0",
"@contrast/fn-inspect": "^3.3.0",

@@ -22,0 +22,0 @@ "semver": "^7.3.8"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc