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

laeh2

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laeh2 - npm Package Compare versions

Comparing version 0.3.1 to 0.3.3

3

lib/laeh2.js

@@ -67,3 +67,4 @@

if(e) {
if(typeof(e) === 'string' && e.indexOf('%') != -1 && typeof(meta) === 'string') {
// if(typeof(e) === 'string' && e.indexOf('%') != -1 && (typeof(meta) === 'string' || typeof(meta) === 'number')) {
if(typeof(e) === 'string' && (e.indexOf('%d') != -1 || e.indexOf('%s') != -1 || e.indexOf('%j') != -1)) {
e = util.format.apply(null, Array.prototype.slice.call(arguments, 0));

@@ -70,0 +71,0 @@ meta = null;

{
"author": "Juraj Vitko (@ypocat)",
"author": "Juraj Vitko (ypocat.com)",
"name": "laeh2",
"description": "Lightweight Asynchronous Error Handling v2",
"keywords": [ "error", "handling", "asynchronous" ],
"version": "0.3.1",
"version": "0.3.3",
"homepage": "http://github.com/ypocat/laeh2",

@@ -8,0 +8,0 @@ "repository": {

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