serverless-plugin-datadog 5.134.1 → 5.135.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +8 -6
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -3
- package/dist/src/index.js.map +1 -1
- package/dist/src/layer.d.ts.map +1 -1
- package/dist/src/layer.js +10 -63
- package/dist/src/layer.js.map +1 -1
- package/dist/src/layers-gov.json +72 -70
- package/dist/src/layers.json +1171 -1138
- package/dist/src/runtime-catalog.json +62 -0
- package/package.json +8 -6
- package/dist/src/git.d.ts +0 -3
- package/dist/src/git.d.ts.map +0 -1
- package/dist/src/git.js +0 -67
- package/dist/src/git.js.map +0 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"generated": "This file is generated. Do not edit manually.",
|
|
3
|
+
"normalizationPrefixes": {
|
|
4
|
+
"dotnet": "dotnet",
|
|
5
|
+
"java": "java"
|
|
6
|
+
},
|
|
7
|
+
"runtimeLookup": {
|
|
8
|
+
"nodejs16.x": "node",
|
|
9
|
+
"nodejs18.x": "node",
|
|
10
|
+
"nodejs20.x": "node",
|
|
11
|
+
"nodejs22.x": "node",
|
|
12
|
+
"nodejs24.x": "node",
|
|
13
|
+
"nodejs26.x": "node",
|
|
14
|
+
"python3.7": "python",
|
|
15
|
+
"python3.8": "python",
|
|
16
|
+
"python3.9": "python",
|
|
17
|
+
"python3.10": "python",
|
|
18
|
+
"python3.11": "python",
|
|
19
|
+
"python3.12": "python",
|
|
20
|
+
"python3.13": "python",
|
|
21
|
+
"python3.14": "python",
|
|
22
|
+
"dotnet6": "dotnet",
|
|
23
|
+
"dotnet8": "dotnet",
|
|
24
|
+
"dotnet10": "dotnet",
|
|
25
|
+
"java11": "java",
|
|
26
|
+
"java17": "java",
|
|
27
|
+
"java21": "java",
|
|
28
|
+
"java25": "java",
|
|
29
|
+
"java8.al2": "java",
|
|
30
|
+
"java8": "java",
|
|
31
|
+
"provided.al2": "custom",
|
|
32
|
+
"provided.al2023": "custom",
|
|
33
|
+
"provided": "custom",
|
|
34
|
+
"ruby3.2": "ruby",
|
|
35
|
+
"ruby3.3": "ruby",
|
|
36
|
+
"ruby3.4": "ruby",
|
|
37
|
+
"ruby4.0": "ruby",
|
|
38
|
+
"go1.x": "go"
|
|
39
|
+
},
|
|
40
|
+
"armRuntimeKeys": {
|
|
41
|
+
"nodejs16.x": "nodejs16.x",
|
|
42
|
+
"nodejs18.x": "nodejs18.x",
|
|
43
|
+
"nodejs20.x": "nodejs20.x",
|
|
44
|
+
"nodejs22.x": "nodejs22.x",
|
|
45
|
+
"nodejs24.x": "nodejs24.x",
|
|
46
|
+
"nodejs26.x": "nodejs26.x",
|
|
47
|
+
"python3.8": "python3.8-arm",
|
|
48
|
+
"python3.9": "python3.9-arm",
|
|
49
|
+
"python3.10": "python3.10-arm",
|
|
50
|
+
"python3.11": "python3.11-arm",
|
|
51
|
+
"python3.12": "python3.12-arm",
|
|
52
|
+
"python3.13": "python3.13-arm",
|
|
53
|
+
"python3.14": "python3.14-arm",
|
|
54
|
+
"dotnet": "dotnet-arm",
|
|
55
|
+
"java": "java",
|
|
56
|
+
"ruby3.2": "ruby3.2-arm",
|
|
57
|
+
"ruby3.3": "ruby3.3-arm",
|
|
58
|
+
"ruby3.4": "ruby3.4-arm",
|
|
59
|
+
"ruby4.0": "ruby4.0-arm",
|
|
60
|
+
"extension": "extension-arm"
|
|
61
|
+
}
|
|
62
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "serverless-plugin-datadog",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.135.0",
|
|
4
4
|
"description": "Serverless plugin to automatically instrument python and node functions with datadog tracing",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"repository": "https://github.com/DataDog/serverless-plugin-datadog",
|
|
@@ -27,23 +27,25 @@
|
|
|
27
27
|
"oxlint-tsgolint": "^7.0.2001",
|
|
28
28
|
"serverless-step-functions": "^3.31.2",
|
|
29
29
|
"typescript": "^7.0.2",
|
|
30
|
-
"vitest": "^4.1.
|
|
30
|
+
"vitest": "^4.1.11"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@aws-sdk/client-cloudformation": "^3.1107.0",
|
|
34
34
|
"@aws-sdk/client-cloudwatch-logs": "^3.1107.0",
|
|
35
35
|
"@aws-sdk/client-lambda": "^3.1107.0",
|
|
36
|
-
"@datadog/datadog-ci-base": "^5.
|
|
37
|
-
"simple-git": "^3.36.0"
|
|
36
|
+
"@datadog/datadog-ci-base": "^5.26.1"
|
|
38
37
|
},
|
|
39
38
|
"peerDependencies": {
|
|
40
39
|
"serverless": "4.x || 3.x || 2.x || 1.x"
|
|
41
40
|
},
|
|
42
41
|
"packageManager": "yarn@4.17.1",
|
|
43
42
|
"resolutions": {
|
|
44
|
-
"js-yaml": "^4.2
|
|
43
|
+
"js-yaml": "^4.3.2",
|
|
45
44
|
"lodash": "^4.18.1",
|
|
46
45
|
"brace-expansion": "^5.0.9",
|
|
47
|
-
"undici": "^7.
|
|
46
|
+
"undici": "^7.30.1",
|
|
47
|
+
"basic-ftp": "^6.2.2",
|
|
48
|
+
"tinypool@npm:2.1.0": "npm:^2.1.2",
|
|
49
|
+
"@vitest/mocker@npm:4.1.11": "npm:^4.1.12"
|
|
48
50
|
}
|
|
49
51
|
}
|
package/dist/src/git.d.ts
DELETED
package/dist/src/git.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../../src/git.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,YAAY,CAAC;AAGxC,eAAO,MAAM,YAAY,QAAa,OAAO,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,CAiB5E,CAAC"}
|
package/dist/src/git.js
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
38
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
39
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
40
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
41
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45
|
-
exports.newSimpleGit = void 0;
|
|
46
|
-
const simpleGit = __importStar(require("simple-git"));
|
|
47
|
-
// Returns a configured SimpleGit.
|
|
48
|
-
const newSimpleGit = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
49
|
-
const options = {
|
|
50
|
-
baseDir: process.cwd(),
|
|
51
|
-
binary: "git",
|
|
52
|
-
maxConcurrentProcesses: 1,
|
|
53
|
-
};
|
|
54
|
-
try {
|
|
55
|
-
// Attempt to set the baseDir to the root of the repository so the 'git ls-files' command
|
|
56
|
-
// returns the tracked files paths relative to the root of the repository.
|
|
57
|
-
const git = simpleGit.gitP(options);
|
|
58
|
-
const root = yield git.revparse("--show-toplevel");
|
|
59
|
-
options.baseDir = root;
|
|
60
|
-
}
|
|
61
|
-
catch (_a) {
|
|
62
|
-
return undefined;
|
|
63
|
-
}
|
|
64
|
-
return simpleGit.gitP(options);
|
|
65
|
-
});
|
|
66
|
-
exports.newSimpleGit = newSimpleGit;
|
|
67
|
-
//# sourceMappingURL=git.js.map
|
package/dist/src/git.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"git.js","sourceRoot":"","sources":["../../src/git.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,SAAS,uCAAmB;AAExC,kCAAkC;AAC3B,MAAM,YAAY,GAAG,GAAmD,EAAE;IAC/E,MAAM,OAAO,GAAG;QACd,OAAO,EAAE,OAAO,CAAC,GAAG,EAAE;QACtB,MAAM,EAAE,KAAK;QACb,sBAAsB,EAAE,CAAC;KAC1B,CAAC;IACF,IAAI,CAAC;QACH,yFAAyF;QACzF,0EAA0E;QAC1E,MAAM,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpC,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC;QACnD,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IACzB,CAAC;eAAO,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AACjC,CAAC,CAAA,CAAC;AAjBW,QAAA,YAAY,GAAZ,YAAY,CAiBvB"}
|