-
Notifications
You must be signed in to change notification settings - Fork 383
Expand file tree
/
Copy pathpackage.json
More file actions
210 lines (210 loc) · 10.5 KB
/
package.json
File metadata and controls
210 lines (210 loc) · 10.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{
"name": "dd-trace",
"version": "6.0.0-pre",
"description": "Datadog APM tracing client for JavaScript",
"main": "index.js",
"typings": "index.d.ts",
"scripts": {
"env": "bash ./plugin-env",
"prepare": "cd vendor && npm ci --include=dev",
"preinstall": "node scripts/preinstall.js",
"bench": "node benchmark/index.js",
"bench:e2e:test-optimization": "node benchmark/e2e-test-optimization/benchmark-run.js",
"dependencies:dedupe": "yarn-deduplicate yarn.lock",
"generate:config:types": "node scripts/generate-config-types.js",
"verify:config:types": "node scripts/generate-config-types.js --check",
"type:check": "tsc --noEmit -p tsconfig.dev.json",
"type:doc:build": "cd docs && yarn && yarn build",
"type:doc:test": "cd docs && yarn && yarn test",
"lint": "node scripts/check_licenses.js && node scripts/check-no-coverage-artifacts.js && eslint . --concurrency=auto --max-warnings 0",
"lint:fix": "node scripts/check_licenses.js && node scripts/check-no-coverage-artifacts.js && eslint . --concurrency=auto --max-warnings 0 --fix",
"lint:inspect": "npx @eslint/config-inspector@latest",
"lint:codeowners": "codeowners-audit",
"lint:codeowners:ci": "codeowners-audit --glob='**/*.spec.js'",
"release:proposal": "node scripts/release/proposal",
"services": "node ./scripts/install_plugin_modules && node packages/dd-trace/test/setup/services",
"test": "echo '\nError: The root \"npm test\" command is intentionally disabled.\n\nInstead, run specific test suites:\n - npm run test:trace:core\n - npm run test:appsec\n - etc.\n\nOr run individual test files:\n npx mocha path/to/test.spec.js\n\nSee CONTRIBUTING.md (Testing section) for more details.\n' && exit 1",
"test:aiguard": "mocha packages/dd-trace/test/aiguard/**/*.spec.js",
"test:aiguard:ci": "nyc -- npm run test:aiguard",
"test:appsec": "mocha --exclude \"packages/dd-trace/test/appsec/**/*.plugin.spec.js\" \"packages/dd-trace/test/appsec/**/*.spec.js\"",
"test:appsec:ci": "nyc -- npm run test:appsec",
"test:appsec:plugins": "mocha \"packages/dd-trace/test/appsec/**/*.@(${PLUGINS}).plugin.spec.js\"",
"test:appsec:plugins:ci": "yarn services && nyc -- npm run test:appsec:plugins",
"test:debugger": "mocha packages/dd-trace/test/debugger/**/*.spec.js",
"test:debugger:ci": "nyc -- npm run test:debugger",
"test:eslint-rules": "node eslint-rules/*.test.mjs",
"test:trace:core": "node scripts/mocha-parallel-files.js --expose-gc --timeout 30000 -- \"packages/dd-trace/test/*.spec.js\" \"packages/dd-trace/test/{agent,ci-visibility,config,crashtracking,datastreams,encode,exporters,msgpack,opentelemetry,opentracing,payload-tagging,plugins,remote_config,service-naming,standalone,telemetry,external-logger}/**/*.spec.js\"",
"test:trace:core:ci": "nyc -- npm run test:trace:core",
"test:trace:guardrails": "mocha packages/dd-trace/test/guardrails/**/*.spec.js",
"test:trace:guardrails:ci": "nyc -- npm run test:trace:guardrails",
"test:esbuild": "mocha packages/datadog-esbuild/test/**/*.spec.js",
"test:esbuild:ci": "nyc -- npm run test:esbuild",
"test:webpack": "mocha packages/datadog-webpack/test/**/*.spec.js",
"test:webpack:ci": "nyc -- npm run test:webpack",
"test:instrumentations": "mocha \"packages/datadog-instrumentations/test/@(${PLUGINS}).spec.js\"",
"test:instrumentations:ci": "yarn services && nyc -- npm run test:instrumentations",
"test:instrumentations:misc": "mocha packages/datadog-instrumentations/test/*/**/*.spec.js",
"test:instrumentations:misc:ci": "nyc -- npm run test:instrumentations:misc",
"test:core": "node scripts/mocha-parallel-files.js --expose-gc --timeout 30000 -- packages/datadog-core/test/**/*.spec.js",
"test:core:ci": "nyc -- npm run test:core",
"test:code-origin": "mocha packages/datadog-code-origin/test/**/*.spec.js",
"test:code-origin:ci": "nyc -- npm run test:code-origin",
"test:lambda": "mocha packages/dd-trace/test/lambda/**/*.spec.js",
"test:lambda:ci": "nyc -- npm run test:lambda",
"test:llmobs:sdk": "mocha --exclude \"packages/dd-trace/test/llmobs/plugins/**/*.spec.js\" \"packages/dd-trace/test/llmobs/**/*.spec.js\"",
"test:llmobs:sdk:ci": "nyc -- npm run test:llmobs:sdk",
"test:llmobs:plugins": "mocha \"packages/dd-trace/test/llmobs/plugins/@(${PLUGINS})/*.spec.js\"",
"test:llmobs:plugins:ci": "yarn services && nyc -- npm run test:llmobs:plugins",
"test:openfeature": "mocha packages/dd-trace/test/openfeature/**/*.spec.js",
"test:openfeature:ci": "nyc -- npm run test:openfeature",
"test:plugins": "node --expose-gc ./node_modules/mocha/bin/mocha.js \"packages/datadog-plugin-@(${PLUGINS})/test/**/${SPEC:-*}*.spec.js\"",
"test:plugins:ci": "yarn services && nyc -- npm run test:plugins",
"test:plugins:ci:flaky": "yarn services && nyc -- npm run test:plugins -- --bail --retries 2",
"test:plugins:upstream": "node ./packages/dd-trace/test/plugins/suite.js",
"test:profiler": "node scripts/mocha-parallel-files.js --expose-gc --timeout 30000 -- packages/dd-trace/test/profiling/**/*.spec.js",
"test:profiler:ci": "nyc -- npm run test:profiler",
"test:integration": "mocha --timeout 60000 \"integration-tests/*.spec.js\"",
"test:integration:aiguard": "mocha --timeout 60000 \"integration-tests/aiguard/*.spec.js\"",
"test:integration:appsec": "mocha --timeout 60000 \"integration-tests/appsec/*.spec.js\"",
"test:integration:bun": "mocha --timeout 60000 \"integration-tests/bun/*.spec.js\"",
"test:integration:cucumber": "mocha --timeout 60000 \"integration-tests/cucumber/*.spec.js\"",
"test:integration:cypress": "mocha --timeout 60000 \"integration-tests/cypress/*.spec.js\"",
"test:integration:debugger": "mocha --timeout 60000 \"integration-tests/debugger/*.spec.js\"",
"test:integration:esbuild": "mocha --timeout 60000 \"integration-tests/esbuild/*.spec.js\"",
"test:integration:webpack": "mocha --timeout 60000 \"integration-tests/webpack/*.spec.js\"",
"test:integration:openfeature": "mocha --timeout 60000 \"integration-tests/openfeature/*.spec.js\"",
"test:integration:jest": "mocha --timeout 60000 \"integration-tests/jest/*.spec.js\"",
"test:integration:mocha": "mocha --timeout 60000 \"integration-tests/mocha/*.spec.js\"",
"test:integration:playwright": "mocha --timeout 60000 \"integration-tests/playwright/*.spec.js\"",
"test:integration:selenium": "mocha --timeout 60000 \"integration-tests/selenium/*.spec.js\"",
"test:integration:vitest": "mocha --timeout 60000 \"integration-tests/vitest/*.spec.js\"",
"test:integration:testopt": "mocha --timeout 120000 \"integration-tests/ci-visibility/*.spec.js\"",
"test:integration:profiler": "mocha --timeout 180000 \"integration-tests/profiler/*.spec.js\"",
"test:integration:plugins": "mocha \"packages/datadog-plugin-@(${PLUGINS})/test/integration-test/**/*.spec.js\"",
"test:unit:plugins": "mocha \"packages/datadog-instrumentations/test/@(${PLUGINS}).spec.js\" \"packages/datadog-plugin-@(${PLUGINS})/test/**/*.spec.js\" --exclude \"packages/datadog-plugin-@(${PLUGINS})/test/integration-test/**/*.spec.js\"",
"test:shimmer": "mocha \"packages/datadog-shimmer/test/**/*.spec.js\"",
"test:shimmer:ci": "nyc -- npm run test:shimmer",
"verify:workflow-job-names": "node scripts/verify-workflow-job-names.js",
"verify-exercised-tests": "node scripts/verify-exercised-tests.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DataDog/dd-trace-js.git"
},
"keywords": [
"datadog",
"trace",
"tracing",
"profile",
"profiler",
"profiling",
"opentracing",
"apm"
],
"author": "Datadog Inc. <info@datadoghq.com>",
"license": "(Apache-2.0 OR BSD-3-Clause)",
"bugs": {
"url": "https://github.com/DataDog/dd-trace-js/issues"
},
"homepage": "https://github.com/DataDog/dd-trace-js#readme",
"engines": {
"node": ">=18 <26"
},
"files": [
"/package.json",
"ci/**/*",
"cypress/**/*",
"esbuild.js",
"webpack.js",
"ext/**/*",
"index.d.ts",
"index.js",
"init.js",
"initialize.mjs",
"LICENSE-3rdparty.csv",
"LICENSE",
"LICENSE.Apache",
"LICENSE.BSD3",
"loader-hook.mjs",
"packages/*/index.js",
"packages/*/lib/**/*",
"packages/*/src/**/*",
"packages/datadog-instrumentations/orchestrion.yml",
"README.md",
"register.js",
"scripts/preinstall.js",
"vendor/dist/**/*.d.ts",
"vendor/dist/**/*.js",
"vendor/dist/**/*.wasm",
"vendor/dist/**/LICENSE",
"version.js"
],
"dependencies": {
"dc-polyfill": "^0.1.10",
"import-in-the-middle": "^3.0.1"
},
"optionalDependencies": {
"@datadog/libdatadog": "0.9.2",
"@datadog/native-appsec": "11.0.1",
"@datadog/native-iast-taint-tracking": "4.1.0",
"@datadog/native-metrics": "3.1.1",
"@datadog/openfeature-node-server": "^1.1.1",
"@datadog/pprof": "5.14.1",
"@datadog/wasm-js-rewriter": "5.0.1",
"@opentelemetry/api": ">=1.0.0 <1.10.0",
"@opentelemetry/api-logs": "<1.0.0",
"oxc-parser": "^0.121.0"
},
"devDependencies": {
"@actions/core": "^3.0.0",
"@actions/github": "^9.0.0",
"@babel/helpers": "^7.29.2",
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^9.39.2",
"@msgpack/msgpack": "^3.1.3",
"@openfeature/core": "^1.8.1",
"@openfeature/server-sdk": "~1.20.0",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/mocha": "^10.0.10",
"@types/node": "^18.19.106",
"@types/sinon": "^21.0.0",
"axios": "^1.14.0",
"benchmark": "^2.1.4",
"body-parser": "^2.2.2",
"bun": "1.3.11",
"codeowners-audit": "^2.9.0",
"eslint": "^9.39.2",
"eslint-plugin-cypress": "^6.2.2",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsdoc": "^62.9.0",
"eslint-plugin-mocha": "^11.2.0",
"eslint-plugin-n": "^17.23.2",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-unicorn": "^64.0.0",
"express": "^5.1.0",
"glob": "^10.4.5",
"globals": "^17.2.0",
"graphql": "*",
"husky": "^9.1.7",
"jszip": "^3.10.1",
"mocha": "^11.6.0",
"mocha-junit-reporter": "^2.2.1",
"mocha-multi-reporters": "^1.5.1",
"multer": "^2.1.1",
"nock": "^13.5.6",
"nyc": "^18.0.0",
"octokit": "^5.0.3",
"opentracing": ">=0.14.7",
"p-limit": "^7.2.0",
"proxyquire": "^2.1.3",
"retry": "^0.13.1",
"semifies": "^1.0.0",
"semver": "^7.7.2",
"sinon": "^21.0.3",
"tiktoken": "^1.0.21",
"typescript": "^6.0.2",
"workerpool": "^10.0.0",
"yaml": "^2.8.3",
"yarn-deduplicate": "^6.0.2"
}
}