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

serverless-plugin-datadog

Package Overview
Dependencies
Maintainers
1
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-plugin-datadog - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

5

dist/env.js

@@ -10,2 +10,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getConfig = exports.setEnvConfiguration = exports.defaultConfiguration = void 0;
const apiKeyEnvVar = "DD_API_KEY";

@@ -16,2 +17,3 @@ const apiKeyKMSEnvVar = "DD_KMS_API_KEY";

const logForwardingEnvVar = "DD_FLUSH_TO_LOG";
const ddTracingEnabledEnvVar = "DD_TRACE_ENABLED";
exports.defaultConfiguration = {

@@ -47,2 +49,5 @@ addLayers: true,

}
if (config.enableDDTracing !== undefined && environment[ddTracingEnabledEnvVar] === undefined) {
environment[ddTracingEnabledEnvVar] = config.enableDDTracing;
}
}

@@ -49,0 +54,0 @@ exports.setEnvConfiguration = setEnvConfiguration;

1

dist/forwarder.js

@@ -12,2 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.describeSubscriptionFilters = exports.canSubscribeLogGroup = exports.addCloudWatchForwarderSubscriptions = void 0;
const logGroupKey = "AWS::Logs::LogGroup";

@@ -14,0 +15,0 @@ const logGroupSubscriptionKey = "AWS::Logs::SubscriptionFilter";

26

dist/index.js

@@ -9,2 +9,21 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -19,9 +38,2 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

};
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -28,0 +40,0 @@ const layers = __importStar(require("./layers.json"));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.applyLayers = exports.findHandlers = exports.runtimeLookup = exports.RuntimeType = void 0;
var RuntimeType;

@@ -4,0 +5,0 @@ (function (RuntimeType) {

@@ -10,2 +10,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.enableTracing = exports.TracingMode = void 0;
const ddTraceEnabledEnvVar = "DD_TRACE_ENABLED";

@@ -12,0 +13,0 @@ const ddMergeXrayTracesEnvVar = "DD_MERGE_XRAY_TRACES";

@@ -10,2 +10,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.redirectHandlers = exports.jsHandler = exports.jsHandlerWithLayers = exports.pythonHandler = exports.datadogHandlerEnvVar = void 0;
const layer_1 = require("./layer");

@@ -12,0 +13,0 @@ exports.datadogHandlerEnvVar = "DD_LAMBDA_HANDLER";

{
"name": "serverless-plugin-datadog",
"version": "2.2.0",
"version": "2.2.1",
"description": "Serverless plugin to automatically instrument python and node functions with datadog tracing",

@@ -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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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