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

metric-logger

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metric-logger - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

package-lock.json

2

index.js

@@ -14,3 +14,3 @@ module.exports = {

var string = JSON.stringify(val)
if (string.indexOf('{') == 0) {
if (string && string.indexOf('{') == 0) {
string = string.replace(/"/g,'\\"');

@@ -17,0 +17,0 @@ string = '"'+string+'"';

{
"name": "metric-logger",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -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