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 9.113.0 to 9.114.0

dist/utils/dd_tags.d.ts

2

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

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

const { logDebug } = require("../utils");
const { logDebug, updateDDTags } = require("../utils");

@@ -15,7 +15,5 @@ // Currently no way to prevent typescript from auto-transpiling import into require,

// tslint:disable-next-line:no-var-requires
const tracer = require(path).init({
tags: {
"_dd.origin": "lambda",
},
});
// add lambda tags to DD_TAGS environment variable
const ddtags = updateDDTags({"_dd.origin": "lambda"})
const tracer = require(path).init({tags: ddtags});
logDebug("automatically initialized dd-trace");

@@ -22,0 +20,0 @@

@@ -6,3 +6,4 @@ export { didFunctionColdStart, getSandboxInitTags, setSandboxInit, isProactiveInitialization } from "./cold-start";

export { tagObject } from "./tag-object";
export { updateDDTags } from "./dd_tags";
export { batchItemFailureCount, isBatchItemFailure } from "./batch-item-failures";
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isBatchItemFailure = exports.batchItemFailureCount = exports.tagObject = exports.LogLevel = exports.setLogger = exports.setLogLevel = exports.logDebug = exports.logError = exports.logWarning = exports.Timer = exports.promisifiedHandler = exports.wrap = exports.isProactiveInitialization = exports.setSandboxInit = exports.getSandboxInitTags = exports.didFunctionColdStart = void 0;
exports.isBatchItemFailure = exports.batchItemFailureCount = exports.updateDDTags = exports.tagObject = exports.LogLevel = exports.setLogger = exports.setLogLevel = exports.logDebug = exports.logError = exports.logWarning = exports.Timer = exports.promisifiedHandler = exports.wrap = exports.isProactiveInitialization = exports.setSandboxInit = exports.getSandboxInitTags = exports.didFunctionColdStart = void 0;
var cold_start_1 = require("./cold-start");

@@ -23,2 +23,4 @@ Object.defineProperty(exports, "didFunctionColdStart", { enumerable: true, get: function () { return cold_start_1.didFunctionColdStart; } });

Object.defineProperty(exports, "tagObject", { enumerable: true, get: function () { return tag_object_1.tagObject; } });
var dd_tags_1 = require("./dd_tags");
Object.defineProperty(exports, "updateDDTags", { enumerable: true, get: function () { return dd_tags_1.updateDDTags; } });
var batch_item_failures_1 = require("./batch-item-failures");

@@ -25,0 +27,0 @@ Object.defineProperty(exports, "batchItemFailureCount", { enumerable: true, get: function () { return batch_item_failures_1.batchItemFailureCount; } });

{
"name": "datadog-lambda-js",
"version": "9.113.0",
"version": "9.114.0",
"description": "Lambda client library that supports hybrid tracing in node js",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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