bump: [#4684] Update nock dependency to latest version (#4760)

* Upgrade nock in adaptive-testing library

* Upgrade nock package to latest version
This commit is contained in:
Cecilia Avila 2024-09-30 14:20:35 -03:00 коммит произвёл GitHub
Родитель 7112170fcf
Коммит 6a7f93ceba
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
6 изменённых файлов: 14 добавлений и 27 удалений

Просмотреть файл

@ -42,7 +42,7 @@
"devDependencies": {
"@types/node-fetch": "^2.6.11",
"fs-extra": "^11.2.0",
"nock": "^11.9.1"
"nock": "^13.5.5"
},
"scripts": {
"build": "tsc -b",

Просмотреть файл

@ -33,7 +33,7 @@
"botbuilder-dialogs-declarative": "4.1.6",
"botbuilder-stdlib": "4.1.6",
"murmurhash-js": "^1.0.0",
"nock": "^11.9.1",
"nock": "^13.5.5",
"url-parse": "^1.5.10",
"zod": "^3.23.8"
},

Просмотреть файл

@ -394,10 +394,15 @@ describe('ActionTests', function () {
nock('http://foo.com').post('/', 'Joe is 52').reply(200, 'string');
nock('http://foo.com').post('/', { text: 'Joe is 52', age: 52 }).reply(200, 'object');
nock('http://foo.com')
.post('/', [
{ text: 'Joe is 52', age: 52 },
{ text: 'text', age: 11 },
])
.post(
'/',
JSON.stringify(
Object.assign({}, [
{ text: 'Joe is 52', age: 52 },
{ text: 'text', age: 11 },
])
)
)
.reply(200, 'array');
nock('http://foo.com')
.post('/', 'Joe is 52')

Просмотреть файл

@ -45,7 +45,7 @@
"devDependencies": {
"chai": "^4.5.0",
"lodash": "^4.17.20",
"nock": "^11.9.1",
"nock": "^13.5.5",
"node-mocks-http": "^1.16.0"
},
"scripts": {

Просмотреть файл

@ -53,7 +53,7 @@
"botbuilder-test-utils": "0.0.0",
"dotenv": "^16.4.5",
"esbuild-plugin-polyfill-node": "^0.3.0",
"nock": "^11.9.1",
"nock": "^13.5.5",
"should": "^13.2.3",
"tsup": "^8.2.4"
},

Просмотреть файл

@ -8773,7 +8773,7 @@ lodash.tonumber@^4.0.3:
resolved "https://registry.yarnpkg.com/lodash.tonumber/-/lodash.tonumber-4.0.3.tgz#0b96b31b35672793eb7f5a63ee791f1b9e9025d9"
integrity sha1-C5azGzVnJ5Prf1pj7nkfG56QJdk=
lodash@^4.1.2, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@~4.17.15, lodash@~4.17.21:
lodash@^4.1.2, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@~4.17.15, lodash@~4.17.21:
version "4.17.21"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
@ -9211,13 +9211,6 @@ mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3:
resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113"
integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==
mkdirp@^0.5.0:
version "0.5.5"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==
dependencies:
minimist "^1.2.5"
mkdirp@^1.0.3, mkdirp@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
@ -9505,17 +9498,6 @@ nise@^4.0.4:
just-extend "^4.0.2"
path-to-regexp "^1.7.0"
nock@^11.9.1:
version "11.9.1"
resolved "https://registry.yarnpkg.com/nock/-/nock-11.9.1.tgz#2b026c5beb6d0dbcb41e7e4cefa671bc36db9c61"
integrity sha512-U5wPctaY4/ar2JJ5Jg4wJxlbBfayxgKbiAeGh+a1kk6Pwnc2ZEuKviLyDSG6t0uXl56q7AALIxoM6FJrBSsVXA==
dependencies:
debug "^4.1.0"
json-stringify-safe "^5.0.1"
lodash "^4.17.13"
mkdirp "^0.5.0"
propagate "^2.0.0"
nock@^13.5.5:
version "13.5.5"
resolved "https://registry.yarnpkg.com/nock/-/nock-13.5.5.tgz#cd1caaca281d42be17d51946367a3d53a6af3e78"