Skip to content

Commit 464af85

Browse files
authored
chore: update dependencies and dependabot config (#5981)
* chore: update dependencies and dependabot config This skips the Node.js types, since we need to manually update those and pins most dependencies. The pinning is useful for security and we are able to update the dependencies weekly anyway with dependabot running. * chore: skip static analysis for dependabot PRs It requires secrets that we do not pass to dependabot PRs. We also have no code changes in these PRs, so checking for the source code should not matter. The same is done in other platforms. Java removed the job, dotnet also skips it DataDog/dd-trace-dotnet#7041
1 parent 398b78a commit 464af85

File tree

4 files changed

+241
-192
lines changed

4 files changed

+241
-192
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ updates:
2121
- "/"
2222
schedule:
2323
interval: "weekly"
24+
ignore:
25+
- dependency-name: "@types/node"
26+
# Update the types manually with new Node.js version support
27+
update-types: ["version-update:semver-major"]
28+
- dependency-name: "eslint-plugin-mocha"
29+
# ESM only from v11.0.0 onwards
30+
update-types: ["version-update:semver-major"]
2431
groups:
2532
dev-minor-and-patch-dependencies:
2633
dependency-type: "development"
@@ -36,3 +43,6 @@ updates:
3643
update-types:
3744
- "minor"
3845
- "patch"
46+
exclude-patterns:
47+
# Add entries that we should update manually.
48+
- "@opentelemetry/api"

.github/workflows/project.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
static-analysis:
6868
runs-on: ubuntu-latest
6969
name: Datadog Static Analyzer
70+
if: github.actor != 'dependabot[bot]'
7071
steps:
7172
- name: Checkout
7273
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -85,23 +85,23 @@
8585
},
8686
"dependencies": {
8787
"@datadog/libdatadog": "^0.7.0",
88-
"@datadog/native-appsec": "8.5.2",
89-
"@datadog/native-iast-taint-tracking": "4.0.0",
88+
"@datadog/native-appsec": "^8.5.2",
89+
"@datadog/native-iast-taint-tracking": "^4.0.0",
9090
"@datadog/native-metrics": "^3.1.1",
91-
"@datadog/pprof": "5.8.2",
91+
"@datadog/pprof": "^5.9.0",
9292
"@datadog/sketches-js": "^2.1.1",
93-
"@datadog/wasm-js-rewriter": "4.0.1",
93+
"@datadog/wasm-js-rewriter": "^4.0.1",
9494
"@isaacs/ttlcache": "^1.4.1",
95-
"@opentelemetry/api": ">=1.0.0 <1.9.0",
95+
"@opentelemetry/api": "1.8.0",
9696
"@opentelemetry/core": "^1.14.0",
9797
"crypto-randomuuid": "^1.0.0",
98-
"dc-polyfill": "0.1.9",
98+
"dc-polyfill": "^0.1.9",
9999
"ignore": "^5.2.4",
100-
"import-in-the-middle": "1.14.0",
101-
"istanbul-lib-coverage": "3.2.2",
100+
"import-in-the-middle": "^1.14.2",
101+
"istanbul-lib-coverage": "^3.2.2",
102102
"jest-docblock": "^29.7.0",
103103
"koalas": "^1.0.2",
104-
"limiter": "1.1.5",
104+
"limiter": "^1.1.5",
105105
"lodash.sortby": "^4.7.0",
106106
"lru-cache": "^7.18.3",
107107
"module-details-from-path": "^1.0.4",
@@ -119,28 +119,28 @@
119119
"ttl-set": "^1.0.0"
120120
},
121121
"devDependencies": {
122-
"@babel/helpers": "^7.27.3",
122+
"@babel/helpers": "^7.27.6",
123123
"@eslint/eslintrc": "^3.3.1",
124-
"@eslint/js": "^9.27.0",
124+
"@eslint/js": "^9.29.0",
125125
"@msgpack/msgpack": "^3.1.2",
126-
"@stylistic/eslint-plugin": "^4.4.0",
126+
"@stylistic/eslint-plugin": "^5.0.0",
127127
"@types/node": "^18.19.106",
128-
"axios": "^1.9.0",
128+
"axios": "^1.10.0",
129129
"benchmark": "^2.1.4",
130130
"body-parser": "^2.2.0",
131131
"chai": "^4.5.0",
132-
"eslint": "^9.27.0",
132+
"eslint": "^9.29.0",
133133
"eslint-config-standard": "^17.1.0",
134-
"eslint-plugin-import": "^2.31.0",
134+
"eslint-plugin-import": "^2.32.0",
135135
"eslint-plugin-mocha": "^10.5.0",
136-
"eslint-plugin-n": "^17.18.0",
136+
"eslint-plugin-n": "^17.20.0",
137137
"eslint-plugin-promise": "^7.2.1",
138138
"eslint-plugin-unicorn": "^57.0.0",
139139
"express": "^4.21.2",
140140
"get-port": "^5.1.1",
141141
"glob": "^7.2.3",
142142
"globals": "^15.15.0",
143-
"graphql": "0.13.2",
143+
"graphql": "*",
144144
"jszip": "^3.10.1",
145145
"mocha": "^11.6.0",
146146
"multer": "^2.0.1",

0 commit comments

Comments
 (0)