apollographql / apollo-tooling

✏️ Apollo CLI for client tooling (Mostly replaced by Rover)
https://apollographql.com
MIT License
3.04k stars 468 forks source link

chore(deps): update dependency nock to v13 #2602

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nock 11.9.1 -> 13.2.4 age adoption passing confidence

Release Notes

nock/nock ### [`v13.2.4`](https://togithub.com/nock/nock/releases/v13.2.4) [Compare Source](https://togithub.com/nock/nock/compare/v13.2.3...v13.2.4) ##### Bug Fixes - looking up timeout on agent with no options ([#​2299](https://togithub.com/nock/nock/issues/2299)) ([1b2933d](https://togithub.com/nock/nock/commit/1b2933d7e3790dd88ae3deb09598c016d52c3ed8)) ### [`v13.2.3`](https://togithub.com/nock/nock/releases/v13.2.3) [Compare Source](https://togithub.com/nock/nock/compare/v13.2.2...v13.2.3) ##### Bug Fixes - delay when timeout is on the Agent ([#​2297](https://togithub.com/nock/nock/issues/2297)) ([616d903](https://togithub.com/nock/nock/commit/616d90358b37314d48c3985952bba1a4f8aa1319)), closes [#​2296](https://togithub.com/nock/nock/issues/2296) ### [`v13.2.2`](https://togithub.com/nock/nock/releases/v13.2.2) [Compare Source](https://togithub.com/nock/nock/compare/v13.2.1...v13.2.2) ##### Bug Fixes - `allowUnocked` not working with regex host + request body match ([#​2277](https://togithub.com/nock/nock/issues/2277)) ([ac7b4fd](https://togithub.com/nock/nock/commit/ac7b4fd5f7e4cbd8275a612c3ce5fa869a62fecf)) ### [`v13.2.1`](https://togithub.com/nock/nock/releases/v13.2.1) [Compare Source](https://togithub.com/nock/nock/compare/v13.2.0...v13.2.1) ##### Bug Fixes - **type:** add `update` type for record mode ([#​2250](https://togithub.com/nock/nock/issues/2250)) ([e8f23b1](https://togithub.com/nock/nock/commit/e8f23b1fc53ecfa7054de1bef2531b39c9218041)), closes [#​2241](https://togithub.com/nock/nock/issues/2241) ### [`v13.2.0`](https://togithub.com/nock/nock/releases/v13.2.0) [Compare Source](https://togithub.com/nock/nock/compare/v13.1.4...v13.2.0) ##### Features - **record:** `update` mode ([#​2241](https://togithub.com/nock/nock/issues/2241)) ([1cb4880](https://togithub.com/nock/nock/commit/1cb4880730621eabc918dbc0dac8713de894290a)) ### [`v13.1.4`](https://togithub.com/nock/nock/releases/v13.1.4) [Compare Source](https://togithub.com/nock/nock/compare/v13.1.3...v13.1.4) ##### Bug Fixes - send Buffer with length ([#​2232](https://togithub.com/nock/nock/issues/2232)) ([8fcc607](https://togithub.com/nock/nock/commit/8fcc607433590e1993d552a06a041e3061d1905b)) ### [`v13.1.3`](https://togithub.com/nock/nock/releases/v13.1.3) [Compare Source](https://togithub.com/nock/nock/compare/v13.1.2...v13.1.3) ##### Bug Fixes - **interceptor:** don't hang, don't leak resources ([#​2224](https://togithub.com/nock/nock/issues/2224)) ([ac8e33d](https://togithub.com/nock/nock/commit/ac8e33d014ec28dcc60a61d4fe5199759579c5c2)) ### [`v13.1.2`](https://togithub.com/nock/nock/releases/v13.1.2) [Compare Source](https://togithub.com/nock/nock/compare/v13.1.1...v13.1.2) ##### Bug Fixes - **types:** add missing argument to optionally() ([#​2223](https://togithub.com/nock/nock/issues/2223)) ([74e30de](https://togithub.com/nock/nock/commit/74e30de827e58bd5debe0c09f8066adf2f3de5ff)) ### [`v13.1.1`](https://togithub.com/nock/nock/releases/v13.1.1) [Compare Source](https://togithub.com/nock/nock/compare/v13.1.0...v13.1.1) ##### Bug Fixes - **types:** allow readonly arrays for data matcher in types ([#​2215](https://togithub.com/nock/nock/issues/2215)) ([940f4b7](https://togithub.com/nock/nock/commit/940f4b7912905523508ec15fadad8666e4b8c6cc)) ### [`v13.1.0`](https://togithub.com/nock/nock/releases/v13.1.0) [Compare Source](https://togithub.com/nock/nock/compare/v13.0.11...v13.1.0) ##### Features - node 16 compatibility ([#​2199](https://togithub.com/nock/nock/issues/2199)) ([af05502](https://togithub.com/nock/nock/commit/af055023930087411571eeccd0db0e56ab06db73)) ### [`v13.0.11`](https://togithub.com/nock/nock/releases/v13.0.11) [Compare Source](https://togithub.com/nock/nock/compare/v13.0.10...v13.0.11) ##### Bug Fixes - **interceptor:** don't require leading slash if Scope has a base pathname ([#​2168](https://togithub.com/nock/nock/issues/2168)) ([bfbbbb7](https://togithub.com/nock/nock/commit/bfbbbb740d42e8e75aecc332d432fa0b415237f7)) ### [`v13.0.10`](https://togithub.com/nock/nock/releases/v13.0.10) [Compare Source](https://togithub.com/nock/nock/compare/v13.0.9...v13.0.10) ##### Bug Fixes - **recorder:** don't automatically resume the response ([#​2160](https://togithub.com/nock/nock/issues/2160)) ([e22d734](https://togithub.com/nock/nock/commit/e22d734a29f6772f3617a84757e2fa824b796d13)) ### [`v13.0.9`](https://togithub.com/nock/nock/releases/v13.0.9) [Compare Source](https://togithub.com/nock/nock/compare/v13.0.8...v13.0.9) ##### Bug Fixes - **playback:** consistently check for `destroyed` attribute ([#​2152](https://togithub.com/nock/nock/issues/2152)) ([b9758c8](https://togithub.com/nock/nock/commit/b9758c8060b229563b1db8699b25757d1f5ab0d3)) ### [`v13.0.8`](https://togithub.com/nock/nock/releases/v13.0.8) [Compare Source](https://togithub.com/nock/nock/compare/v13.0.7...v13.0.8) ##### Bug Fixes - **socket:** add encrypted attribute for secure requests ([#​2149](https://togithub.com/nock/nock/issues/2149)) ([8de6b69](https://togithub.com/nock/nock/commit/8de6b69247d8b3492c3dfb9d2098b2211e2dfbfe)), closes [/github.com/nodejs/node/blob/295e766c2782d6d83e33004f7c2204c0a8d52655/lib/\_tls_wrap.js#L507-L509](https://togithub.com//github.com/nodejs/node/blob/295e766c2782d6d83e33004f7c2204c0a8d52655/lib/\_tls_wrap.js/issues/L507-L509) ### [`v13.0.7`](https://togithub.com/nock/nock/releases/v13.0.7) [Compare Source](https://togithub.com/nock/nock/compare/v13.0.6...v13.0.7) ##### Bug Fixes - **recorder:** escape single quotes in path of default output ([#​2137](https://togithub.com/nock/nock/issues/2137)) ([0f7b52e](https://togithub.com/nock/nock/commit/0f7b52e044eaf139c0a97613ef9035bb4dd13b80)) ### [`v13.0.6`](https://togithub.com/nock/nock/releases/v13.0.6) [Compare Source](https://togithub.com/nock/nock/compare/v13.0.5...v13.0.6) ##### Bug Fixes - **intercept:** handle global flags during regexp matching ([#​2135](https://togithub.com/nock/nock/issues/2135)) ([dc04694](https://togithub.com/nock/nock/commit/dc04694dcd3186a396e48567bdfabbdad2761f6a)), closes [#​2134](https://togithub.com/nock/nock/issues/2134) ### [`v13.0.5`](https://togithub.com/nock/nock/releases/v13.0.5) [Compare Source](https://togithub.com/nock/nock/compare/v13.0.4...v13.0.5) ##### Bug Fixes - **overrider:** allow calling empty `req.end` multiple times ([20e9f8a](https://togithub.com/nock/nock/commit/20e9f8a0661cc0ca12891fea35ebce21c222d85e)), closes [/github.com/nodejs/node/blob/39a7f7663e8f70fc774105d8fa41b8e4cc69149f/lib/\_http_outgoing.js#L816](https://togithub.com//github.com/nodejs/node/blob/39a7f7663e8f70fc774105d8fa41b8e4cc69149f/lib/\_http_outgoing.js/issues/L816) ### [`v13.0.4`](https://togithub.com/nock/nock/releases/v13.0.4) [Compare Source](https://togithub.com/nock/nock/compare/v13.0.3...v13.0.4) ##### Bug Fixes - Parallel requests on same Interceptor are exposed correctly in reply functions ([#​2056](https://togithub.com/nock/nock/issues/2056)) ([6260217](https://togithub.com/nock/nock/commit/626021770b9b2fa52860c19f6b7a6033d64125e3)) ### [`v13.0.3`](https://togithub.com/nock/nock/releases/v13.0.3) [Compare Source](https://togithub.com/nock/nock/compare/v13.0.2...v13.0.3) ##### Bug Fixes - data comparison with undefined object values ([#​2049](https://togithub.com/nock/nock/issues/2049)) ([ac6ebbb](https://togithub.com/nock/nock/commit/ac6ebbb1b7fac06fd160055505c1e784cdd5917b)) ### [`v13.0.2`](https://togithub.com/nock/nock/releases/v13.0.2) [Compare Source](https://togithub.com/nock/nock/compare/v13.0.1...v13.0.2) ##### Bug Fixes - **intercept:** mark Interceptors consumed immediately ([#​2033](https://togithub.com/nock/nock/issues/2033)) ([3b24821](https://togithub.com/nock/nock/commit/3b24821a05c32a6e9a70f69fdb29fdcd68d65076)) ### [`v13.0.1`](https://togithub.com/nock/nock/releases/v13.0.1) [Compare Source](https://togithub.com/nock/nock/compare/v13.0.0...v13.0.1) ##### Bug Fixes - allow Content-Type request introspection when header is an array ([#​2010](https://togithub.com/nock/nock/issues/2010)) ([e432ac5](https://togithub.com/nock/nock/commit/e432ac5cea6ff11cf5f456ac5e2dc07e6bcd622e)), closes [#​2009](https://togithub.com/nock/nock/issues/2009) ### [`v13.0.0`](https://togithub.com/nock/nock/releases/v13.0.0) [Compare Source](https://togithub.com/nock/nock/compare/v12.0.3...v13.0.0) See the [Migration Guide](https://togithub.com/nock/nock/blob/75507727cf09a0b7bf0aa7ebdf3621952921b82e/migration_guides/migrating_to\_13.md) ##### Breaking changes 1. `Scope.log` has been removed. Use the `debug` library when [debugging](https://togithub.com/nock/nock#debugging) failed matches. 2. `socketDelay` has been removed. Use [`delayConnection`](https://togithub.com/nock/nock#delay-the-connection) instead. 3. `delay`, `delayConnection`, and `delayBody` are now setters instead of additive. 4. [When recording](https://togithub.com/nock/nock#recording), skipping body matching using `*` is no longer supported by `nock.define`. Set the definition body to `undefined` instead. 5. `ClientRequest.abort()` has been updated to align with Node's native behavior. This could be considered a feature, however, it created some subtle differences that are not backwards compatible. Refer to the migration guide for details. 6. Playback of a mocked responses will now never happen until the 'socket' event is emitted. ### [`v12.0.3`](https://togithub.com/nock/nock/releases/v12.0.3) [Compare Source](https://togithub.com/nock/nock/compare/v12.0.2...v12.0.3) ##### Bug Fixes - **router:** stall finish event to avoid dup ([#​1954](https://togithub.com/nock/nock/issues/1954)) ([d81c260](https://togithub.com/nock/nock/commit/d81c26011e0b893891956e0939ddb33083a66948)), closes [#​1832](https://togithub.com/nock/nock/issues/1832) ### [`v12.0.2`](https://togithub.com/nock/nock/releases/v12.0.2) [Compare Source](https://togithub.com/nock/nock/compare/v12.0.1...v12.0.2) ##### Bug Fixes - **types:** remove inaccurate Scope.restore method ([#​1940](https://togithub.com/nock/nock/issues/1940)) ([fa3c237](https://togithub.com/nock/nock/commit/fa3c237b75847f9589684c5c48c4b2f0bba54f0a)) ### [`v12.0.1`](https://togithub.com/nock/nock/releases/v12.0.1) [Compare Source](https://togithub.com/nock/nock/compare/v12.0.0...v12.0.1) ##### Bug Fixes - Replace a few more uses of lodash ([#​1916](https://togithub.com/nock/nock/issues/1916)) ([1f47f1a](https://togithub.com/nock/nock/commit/1f47f1a1ee977df0414a9865d6f329247cb7398f)), closes [#​1285](https://togithub.com/nock/nock/issues/1285) ### [`v12.0.0`](https://togithub.com/nock/nock/releases/v12.0.0) [Compare Source](https://togithub.com/nock/nock/compare/v11.9.1...v12.0.0) ##### BREAKING CHANGES - Require Node 10+ ([#​1895](https://togithub.com/nock/nock/issues/1895)) ([123832e](https://togithub.com/nock/nock/commit/123832ebad65c70bc501cce2b656403382e234c5)), closes [#​1895](https://togithub.com/nock/nock/issues/1895) - Do not return the `nock` global from `cleanAll()` ([#​1872](https://togithub.com/nock/nock/issues/1872)) ([0a4a944](https://togithub.com/nock/nock/commit/0a4a944566116618bf8897d7dc6dcf943ba89fe6)), closes [#​1872](https://togithub.com/nock/nock/issues/1872) - Drop support for String constructor ([#​1873](https://togithub.com/nock/nock/issues/1873)) ([e33b3e8](https://togithub.com/nock/nock/commit/e33b3e86d047362d359f88f9df698f4f103a80ad)), closes [#​1873](https://togithub.com/nock/nock/issues/1873) When checking types of strings, Nock will no longer recognize the String constructor, only string primitives. ##### Features - Allow passing a function to `enableNetConnect()` ([#​1889](https://togithub.com/nock/nock/issues/1889)) ([7f9e26c](https://togithub.com/nock/nock/commit/7f9e26c0e9e853feeabd6819827cc9c069994542))

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.