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

datadog-lambda-js

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datadog-lambda-js - npm Package Compare versions

Comparing version 7.104.0 to 7.105.0

2

dist/constants.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.STREAM_RESPONSE = exports.HANDLER_STREAMING = exports.datadogLambdaVersion = void 0;
exports.datadogLambdaVersion = "7.104.0";
exports.datadogLambdaVersion = "7.105.0";
// Response streaming functions

@@ -6,0 +6,0 @@ exports.HANDLER_STREAMING = Symbol.for("aws.lambda.runtime.handler.streaming");

@@ -36,8 +36,12 @@ "use strict";

if (maxDepth === void 0) { maxDepth = 10; }
if (depth >= maxDepth) {
return currentSpan.setTag(key, redactVal(key, JSON.stringify(obj).substring(0, 5000)));
}
if (obj === null) {
// when val is null, unlike undefined, it will be stringified into '{"key":null}'
return currentSpan.setTag(key, obj);
}
if (depth >= maxDepth) {
var strOrUndefined = JSON.stringify(obj);
if (typeof strOrUndefined === "undefined")
return;
return currentSpan.setTag(key, redactVal(key, strOrUndefined.substring(0, 5000)));
}
depth += 1;

@@ -44,0 +48,0 @@ if (typeof obj === "string") {

{
"name": "datadog-lambda-js",
"version": "7.104.0",
"version": "7.105.0",
"description": "Lambda client library that supports hybrid tracing in node js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "github.com/DataDog/datadog-lambda-js",
"repository": {
"type": "git",
"url": "github.com/DataDog/datadog-lambda-js"
},
"author": "Datadog",

@@ -9,0 +12,0 @@ "license": "Apache-2.0",

Sorry, the diff of this file is not supported yet

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