Release notes
*Sourced from [nock's releases](https://github.com/nock/nock/releases).*
> ## v11.3.5
> ## [11.3.5](https://github.com/nock/nock/compare/v11.3.4...v11.3.5) (2019-09-20)
>
>
> ### Bug Fixes
>
> * **types:** data matcher for body and query. ([#1725](https://github-redirect.dependabot.com/nock/nock/issues/1725)) ([59b345c](https://github.com/nock/nock/commit/59b345c)), closes [#1724](https://github-redirect.dependabot.com/nock/nock/issues/1724) [#1723](https://github-redirect.dependabot.com/nock/nock/issues/1723) [/github-redirect.dependabot.com/Microsoft/TypeScript/issues/1897#issuecomment-338650717](https://github.com//github-redirect.dependabot.com/Microsoft/TypeScript/issues/1897/issues/issuecomment-338650717) [#1723](https://github-redirect.dependabot.com/nock/nock/issues/1723) [#1724](https://github-redirect.dependabot.com/nock/nock/issues/1724)
>
> ## v11.3.4
> ## [11.3.4](https://github.com/nock/nock/compare/v11.3.3...v11.3.4) (2019-09-12)
>
>
> ### Bug Fixes
>
> * Fix crash when matching certain objects ([#1714](https://github-redirect.dependabot.com/nock/nock/issues/1714)) ([fa0a08a](https://github.com/nock/nock/commit/fa0a08a)), closes [#1713](https://github-redirect.dependabot.com/nock/nock/issues/1713)
>
> ## v11.3.3
> ## [11.3.3](https://github.com/nock/nock/compare/v11.3.2...v11.3.3) (2019-09-05)
>
>
> ### Bug Fixes
>
> * **types:** DataMatcher to allow valid JSON scalars. ([#1703](https://github-redirect.dependabot.com/nock/nock/issues/1703)) ([a700fa2](https://github.com/nock/nock/commit/a700fa2)), closes [#1702](https://github-redirect.dependabot.com/nock/nock/issues/1702)
>
> ## v11
> ## Upgrading from Nock 10 to Nock 11
>
> ### Bug fixes and internal improvements
>
> Nock 11 includes many under-the-hood improvements, including a fully offline
> test suite and 100% test coverage. The codebase was also converted to ES6
> syntax and formatted with Prettier. Leaning on the test coverage, some
> substantial refactors have begun.
>
> Many bug fixes are included. See the detailed changelog below or the
> [compare view][compare] for details.
>
> ### Fabulous new features for developers
>
> 1. The library ships with TypeScript definitions. (Added in v11.3)
> 1. Add support for the `http.request` signatures added in Node 10.9
> 1. Scopes can be filtered using the system environment or any external factor
> using e.g. `.conditionally(() => true)`
> 1. In-flight modifications to headers are preserved in mock requests.
> 1. Recorded mocks can be stringified using custom code in the `afterRecord()`
> post-processing hook. When `afterRecord()` returns a string, the
> recorder will no longer attempt to re-stringify it. (Added in v11.3)
> 1. Reply functions passed to `.reply()` can now be async/promise-returning.
> 1. Specifying reply headers, either via `.reply()` or `.defaultReplyHeaders()`,
> can now be done consistently using an object, Map, or flat array.
> ... (truncated)
Commits
- [`59b345c`](https://github.com/nock/nock/commit/59b345c6cb4c3968c7d76b3d38af62e0e8d2a2bc) fix(types): data matcher for body and query. ([#1725](https://github-redirect.dependabot.com/nock/nock/issues/1725))
- [`6b88dff`](https://github.com/nock/nock/commit/6b88dff97e3fc6e236835982a9d94b3686ae346c) Add TypeScript version to bug template ([#1709](https://github-redirect.dependabot.com/nock/nock/issues/1709))
- [`ed47e59`](https://github.com/nock/nock/commit/ed47e59ef37019fc8983b0ed5491ea36b952cc5c) refactor: Inline setHeader() function ([#1722](https://github-redirect.dependabot.com/nock/nock/issues/1722))
- [`e35b370`](https://github.com/nock/nock/commit/e35b370735f6035fe708b7988b2fb117f9b15203) refactor: Rename request_overrider -> intercepted_request_router ([#1716](https://github-redirect.dependabot.com/nock/nock/issues/1716))
- [`f6e319d`](https://github.com/nock/nock/commit/f6e319d0d17422a1d2a3cfe131b0c110c64b8afc) refactor: Avoid unnecessary call to setRequestHeaders after matching ([#1719](https://github-redirect.dependabot.com/nock/nock/issues/1719))
- [`96a6862`](https://github.com/nock/nock/commit/96a6862770f636ad0d358498c9d96e05bcf05ab5) refactor: Remove unnecessary getHeader() function ([#1717](https://github-redirect.dependabot.com/nock/nock/issues/1717))
- [`7dca510`](https://github.com/nock/nock/commit/7dca510e27d6b0ddf89dfe74eec0aa93b7f75e82) refactor: Split playbackInterceptor into its own module ([#1712](https://github-redirect.dependabot.com/nock/nock/issues/1712))
- [`fa0a08a`](https://github.com/nock/nock/commit/fa0a08aebe6172ca1cd2c2d69831132feb1a8e09) fix: Fix crash when matching certain objects ([#1714](https://github-redirect.dependabot.com/nock/nock/issues/1714))
- [`d7b2c92`](https://github.com/nock/nock/commit/d7b2c928e2cb0cc9e71155cb6d602eb3eac28796) refactor: Separate concerns of interceptor brokering and playback (+ other mi...
- [`edce256`](https://github.com/nock/nock/commit/edce256df58293dbfa02e47f71f3086b15c16078) refactor: Refactor exports to reduce indirection ([#1673](https://github-redirect.dependabot.com/nock/nock/issues/1673))
- Additional commits viewable in [compare view](https://github.com/nock/nock/compare/v10.0.6...v11.3.5)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
If all status checks pass Dependabot will automatically merge this pull request.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps nock from 10.0.6 to 11.3.5.
Release notes
*Sourced from [nock's releases](https://github.com/nock/nock/releases).* > ## v11.3.5 > ## [11.3.5](https://github.com/nock/nock/compare/v11.3.4...v11.3.5) (2019-09-20) > > > ### Bug Fixes > > * **types:** data matcher for body and query. ([#1725](https://github-redirect.dependabot.com/nock/nock/issues/1725)) ([59b345c](https://github.com/nock/nock/commit/59b345c)), closes [#1724](https://github-redirect.dependabot.com/nock/nock/issues/1724) [#1723](https://github-redirect.dependabot.com/nock/nock/issues/1723) [/github-redirect.dependabot.com/Microsoft/TypeScript/issues/1897#issuecomment-338650717](https://github.com//github-redirect.dependabot.com/Microsoft/TypeScript/issues/1897/issues/issuecomment-338650717) [#1723](https://github-redirect.dependabot.com/nock/nock/issues/1723) [#1724](https://github-redirect.dependabot.com/nock/nock/issues/1724) > > ## v11.3.4 > ## [11.3.4](https://github.com/nock/nock/compare/v11.3.3...v11.3.4) (2019-09-12) > > > ### Bug Fixes > > * Fix crash when matching certain objects ([#1714](https://github-redirect.dependabot.com/nock/nock/issues/1714)) ([fa0a08a](https://github.com/nock/nock/commit/fa0a08a)), closes [#1713](https://github-redirect.dependabot.com/nock/nock/issues/1713) > > ## v11.3.3 > ## [11.3.3](https://github.com/nock/nock/compare/v11.3.2...v11.3.3) (2019-09-05) > > > ### Bug Fixes > > * **types:** DataMatcher to allow valid JSON scalars. ([#1703](https://github-redirect.dependabot.com/nock/nock/issues/1703)) ([a700fa2](https://github.com/nock/nock/commit/a700fa2)), closes [#1702](https://github-redirect.dependabot.com/nock/nock/issues/1702) > > ## v11 > ## Upgrading from Nock 10 to Nock 11 > > ### Bug fixes and internal improvements > > Nock 11 includes many under-the-hood improvements, including a fully offline > test suite and 100% test coverage. The codebase was also converted to ES6 > syntax and formatted with Prettier. Leaning on the test coverage, some > substantial refactors have begun. > > Many bug fixes are included. See the detailed changelog below or the > [compare view][compare] for details. > > ### Fabulous new features for developers > > 1. The library ships with TypeScript definitions. (Added in v11.3) > 1. Add support for the `http.request` signatures added in Node 10.9 > 1. Scopes can be filtered using the system environment or any external factor > using e.g. `.conditionally(() => true)` > 1. In-flight modifications to headers are preserved in mock requests. > 1. Recorded mocks can be stringified using custom code in the `afterRecord()` > post-processing hook. When `afterRecord()` returns a string, the > recorder will no longer attempt to re-stringify it. (Added in v11.3) > 1. Reply functions passed to `.reply()` can now be async/promise-returning. > 1. Specifying reply headers, either via `.reply()` or `.defaultReplyHeaders()`, > can now be done consistently using an object, Map, or flat array. > ... (truncated)Commits
- [`59b345c`](https://github.com/nock/nock/commit/59b345c6cb4c3968c7d76b3d38af62e0e8d2a2bc) fix(types): data matcher for body and query. ([#1725](https://github-redirect.dependabot.com/nock/nock/issues/1725)) - [`6b88dff`](https://github.com/nock/nock/commit/6b88dff97e3fc6e236835982a9d94b3686ae346c) Add TypeScript version to bug template ([#1709](https://github-redirect.dependabot.com/nock/nock/issues/1709)) - [`ed47e59`](https://github.com/nock/nock/commit/ed47e59ef37019fc8983b0ed5491ea36b952cc5c) refactor: Inline setHeader() function ([#1722](https://github-redirect.dependabot.com/nock/nock/issues/1722)) - [`e35b370`](https://github.com/nock/nock/commit/e35b370735f6035fe708b7988b2fb117f9b15203) refactor: Rename request_overrider -> intercepted_request_router ([#1716](https://github-redirect.dependabot.com/nock/nock/issues/1716)) - [`f6e319d`](https://github.com/nock/nock/commit/f6e319d0d17422a1d2a3cfe131b0c110c64b8afc) refactor: Avoid unnecessary call to setRequestHeaders after matching ([#1719](https://github-redirect.dependabot.com/nock/nock/issues/1719)) - [`96a6862`](https://github.com/nock/nock/commit/96a6862770f636ad0d358498c9d96e05bcf05ab5) refactor: Remove unnecessary getHeader() function ([#1717](https://github-redirect.dependabot.com/nock/nock/issues/1717)) - [`7dca510`](https://github.com/nock/nock/commit/7dca510e27d6b0ddf89dfe74eec0aa93b7f75e82) refactor: Split playbackInterceptor into its own module ([#1712](https://github-redirect.dependabot.com/nock/nock/issues/1712)) - [`fa0a08a`](https://github.com/nock/nock/commit/fa0a08aebe6172ca1cd2c2d69831132feb1a8e09) fix: Fix crash when matching certain objects ([#1714](https://github-redirect.dependabot.com/nock/nock/issues/1714)) - [`d7b2c92`](https://github.com/nock/nock/commit/d7b2c928e2cb0cc9e71155cb6d602eb3eac28796) refactor: Separate concerns of interceptor brokering and playback (+ other mi... - [`edce256`](https://github.com/nock/nock/commit/edce256df58293dbfa02e47f71f3086b15c16078) refactor: Refactor exports to reduce indirection ([#1673](https://github-redirect.dependabot.com/nock/nock/issues/1673)) - Additional commits viewable in [compare view](https://github.com/nock/nock/compare/v10.0.6...v11.3.5)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.If all status checks pass Dependabot will automatically merge this pull request.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.