Skip to content

Commit 4d3ce15

Browse files
watsontlhunter
authored andcommitted
chore: upgrade nock dev-dependency from v11 to v13 (#6311)
1 parent 145b25d commit 4d3ce15

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
"jszip": "^3.10.1",
175175
"mocha": "^11.6.0",
176176
"multer": "^2.0.2",
177-
"nock": "^11.9.1",
177+
"nock": "^13.5.6",
178178
"nyc": "^15.1.0",
179179
"octokit": "^5.0.3",
180180
"proxyquire": "^1.8.0",

packages/dd-trace/test/ci-visibility/exporters/agent-proxy/agent-proxy.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('AgentProxyCiVisibilityExporter', () => {
1616
const queryDelay = 50
1717
const tags = {}
1818

19-
it('should query /info right when it is instantiated', (done) => {
19+
it('should query /info right when it is instantiated', async () => {
2020
const scope = nock('http://localhost:8126')
2121
.get('/info')
2222
.reply(200, JSON.stringify({
@@ -26,8 +26,8 @@ describe('AgentProxyCiVisibilityExporter', () => {
2626
const agentProxyCiVisibilityExporter = new AgentProxyCiVisibilityExporter({ port, tags })
2727

2828
expect(agentProxyCiVisibilityExporter).not.to.be.null
29+
await agentProxyCiVisibilityExporter._canUseCiVisProtocolPromise
2930
expect(scope.isDone()).to.be.true
30-
done()
3131
})
3232

3333
it('should store traces and coverages as is until the query to /info is resolved', async () => {

yarn.lock

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3178,7 +3178,7 @@ lodash.sortby@^4.7.0:
31783178
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
31793179
integrity sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==
31803180

3181-
lodash@^4.17.13, lodash@^4.17.20, lodash@^4.17.4:
3181+
lodash@^4.17.20, lodash@^4.17.4:
31823182
version "4.17.21"
31833183
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
31843184
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
@@ -3331,7 +3331,7 @@ minipass@^3.1.5, minipass@^3.1.6, minipass@^3.3.4:
33313331
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707"
33323332
integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==
33333333

3334-
mkdirp@^0.5.0, mkdirp@^0.5.6:
3334+
mkdirp@^0.5.6:
33353335
version "0.5.6"
33363336
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6"
33373337
integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==
@@ -3425,15 +3425,13 @@ nise@^6.0.0:
34253425
just-extend "^6.2.0"
34263426
path-to-regexp "^8.1.0"
34273427

3428-
nock@^11.9.1:
3429-
version "11.9.1"
3430-
resolved "https://registry.yarnpkg.com/nock/-/nock-11.9.1.tgz#2b026c5beb6d0dbcb41e7e4cefa671bc36db9c61"
3431-
integrity sha512-U5wPctaY4/ar2JJ5Jg4wJxlbBfayxgKbiAeGh+a1kk6Pwnc2ZEuKviLyDSG6t0uXl56q7AALIxoM6FJrBSsVXA==
3428+
nock@^13.5.6:
3429+
version "13.5.6"
3430+
resolved "https://registry.yarnpkg.com/nock/-/nock-13.5.6.tgz#5e693ec2300bbf603b61dae6df0225673e6c4997"
3431+
integrity sha512-o2zOYiCpzRqSzPj0Zt/dQ/DqZeYoaQ7TUonc/xUPjCGl9WeHpNbxgVvOquXYAaJzI0M9BXV3HTzG0p8IUAbBTQ==
34323432
dependencies:
34333433
debug "^4.1.0"
34343434
json-stringify-safe "^5.0.1"
3435-
lodash "^4.17.13"
3436-
mkdirp "^0.5.0"
34373435
propagate "^2.0.0"
34383436

34393437
node-addon-api@^6.1.0:

0 commit comments

Comments
 (0)