New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@logtail/node

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logtail/node - npm Package Compare versions

Comparing version
0.4.20
to
0.4.21
+1
-1
dist/cjs/context.js

@@ -41,3 +41,3 @@ "use strict";

const stack = stack_trace_1.default.get(fn);
if (stack.length > 0)
if ((stack === null || stack === void 0 ? void 0 : stack.length) > 0)
return getRelevantStackFrame(stack, stackContextHint);

@@ -44,0 +44,0 @@ }

@@ -34,3 +34,3 @@ import { dirname, relative } from "path";

const stack = stackTrace.get(fn);
if (stack.length > 0)
if ((stack === null || stack === void 0 ? void 0 : stack.length) > 0)
return getRelevantStackFrame(stack, stackContextHint);

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

{
"name": "@logtail/node",
"version": "0.4.20",
"version": "0.4.21",
"description": "Better Stack Node.js logger (formerly Logtail)",

@@ -49,3 +49,3 @@ "keywords": [

"dependencies": {
"@logtail/core": "^0.4.20",
"@logtail/core": "^0.4.21",
"@logtail/types": "^0.4.20",

@@ -59,3 +59,3 @@ "@msgpack/msgpack": "^2.5.1",

},
"gitHead": "c8aebe6acdebe52df65bfbfc1a27f919b82ac201"
"gitHead": "8631392d3c7a619a45911ba33ca7ca6b3038e878"
}

@@ -38,3 +38,3 @@ import { Context, StackContextHint } from "@logtail/types";

const stack = stackTrace.get(fn as any);
if (stack.length > 0) return getRelevantStackFrame(stack, stackContextHint);
if (stack?.length > 0) return getRelevantStackFrame(stack, stackContextHint);
}

@@ -41,0 +41,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet