New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sparc-commons

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sparc-commons - npm Package Compare versions

Comparing version 0.2.27 to 0.2.28

7

libs/resources.js

@@ -109,6 +109,11 @@ /*jshint multistr: true */

if(logStrategy === 'ALWAYS'){
log.info(`Got response ${JSON.stringify(_.get(resp, 'body'), null, 2)}`)
log.info(`REQUEST: ${JSON.stringify(data, null, 2)}`)
log.info(`RESPONSE: ${JSON.stringify(_.get(resp, 'body'), null, 2)}`)
}
res(resp.body);
} else {
if(_.contains(['ALWAYS', 'ON_ERROR'], logStrategy)){
log.error(`REQUEST: ${JSON.stringify(data, null, 2)}`)
}
if(logStrategy !== 'NEVER'){

@@ -115,0 +120,0 @@ log.error(_.get(resp, 'body'))

2

package.json
{
"name": "sparc-commons",
"version": "0.2.27",
"version": "0.2.28",
"description": "Library with all small time common stuff used across the SPARC echosystem",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc