Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hmpo-logger

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hmpo-logger - npm Package Compare versions

Comparing version 7.0.2 to 8.0.0

.husky/pre-push

2

lib/formatters/json.js

@@ -5,3 +5,3 @@ module.exports = function (options = {}) {

return JSON.stringify(meta, null, options.indent || 2 );
} catch (e) {
} catch {
return;

@@ -8,0 +8,0 @@ }

@@ -34,3 +34,3 @@ const debug = require('debug')('hmpo:logger:interpolate');

return JSON.stringify(obj, replacer, indent);
} catch (e) {
} catch {
return;

@@ -37,0 +37,0 @@ }

@@ -15,3 +15,3 @@

stack = err.stack;
} catch (e) { /* eslint "no-empty":0 */ }
} catch { /* eslint "no-empty":0 */ }

@@ -62,3 +62,3 @@ Error.prepareStackTrace = prepareStackTrace;

return packageData.name;
} catch (e) {
} catch {
return UNKNOWN;

@@ -65,0 +65,0 @@ }

@@ -62,3 +62,3 @@ const debug = require('debug')('hmpo:logger:transport:file');

debug('Existing log file date', logfileDate);
} catch (e) {
} catch {
debug('No existing log file');

@@ -65,0 +65,0 @@ }

{
"name": "hmpo-logger",
"version": "7.0.2",
"version": "8.0.0",
"description": "Consistent logging for hmpo apps",

@@ -9,4 +9,5 @@ "main": "index.js",

"lint": "eslint .",
"unit": "nyc --reporter=lcov --reporter=text-summary _mocha test/spec/ --recursive --require test/helper",
"check-coverage": "nyc check-coverage"
"unit": "nyc --reporter=lcov --reporter=text-summary _mocha test/spec/ --recursive --require test/helper.js",
"check-coverage": "nyc check-coverage",
"prepare": "husky"
},

@@ -20,3 +21,3 @@ "repository": {

"engines": {
"node": ">=14"
"node": "20.x || 22.x"
},

@@ -29,5 +30,5 @@ "bugs": {

"chalk": "^4.1.2",
"debug": "^4.3.4",
"debug": "^4.3.7",
"deep-clone-merge": "^1.5.5",
"glob": "^10.4.5",
"glob": "^11.0.0",
"on-finished": "^2.4.1",

@@ -39,8 +40,10 @@ "on-headers": "^1.0.2",

"chai": "^4.5.0",
"eslint": "^8.57.0",
"mocha": "^10.7.0",
"nyc": "^17.0.0",
"sinon": "^18.0.0",
"eslint": "^9.12.0",
"husky": "^9.1.6",
"mocha": "^10.7.3",
"nyc": "^17.1.0",
"sinon": "^19.0.2",
"sinon-chai": "^3.7.0",
"sinon-test": "^3.1.6"
"sinon-test": "^3.1.6",
"globals": "^15.9.0"
},

@@ -52,3 +55,4 @@ "nyc": {

"index.js",
"test/**"
"test/**",
"eslint.config.js"
],

@@ -55,0 +59,0 @@ "lines": 100,

Sorry, the diff of this file is not supported yet

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