Release notes
*Sourced from [nock's releases](https://github.com/nock/nock/releases).*
> ## 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.
>
> ### Breaking changes
>
> For many developers no code changes will be needed. However, there are several
> minor changes to the API, and it's possible that you will need to update your
> code for Nock to keep working properly. It's unlikely that your tests will
> falsely pass; what's more probable is that your tests will fail until the
> necessary changes are made.
> ... (truncated)
Commits
- [`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))
- [`c107817`](https://github.com/nock/nock/commit/c1078175e4478100a83489b46aaaa23629b4a7ae) refactor: Refactor recorder stringification ([#1678](https://github-redirect.dependabot.com/nock/nock/issues/1678))
- [`588cd1f`](https://github.com/nock/nock/commit/588cd1f9e28715881488642df6dcb72803df6e7d) docs(README): Add axios example ([#1711](https://github-redirect.dependabot.com/nock/nock/issues/1711))
- [`805df19`](https://github.com/nock/nock/commit/805df19e85081462d6bce31e1ceb46ee7d137af6) Update eslint-plugin-node to the latest version 🚀 ([#1705](https://github-redirect.dependabot.com/nock/nock/issues/1705))
- [`a700fa2`](https://github.com/nock/nock/commit/a700fa2c507c2f621f7c0ff685062abe0668d8a6) fix(types): DataMatcher to allow valid JSON scalars. ([#1703](https://github-redirect.dependabot.com/nock/nock/issues/1703))
- [`9d5cda0`](https://github.com/nock/nock/commit/9d5cda02efac32967babc8264bb4ae61795ad88d) docs(README): adapt badges for [@latest](https://github.com/latest) release
- [`cfc129c`](https://github.com/nock/nock/commit/cfc129c6bb9e37e1f1067898cbf74d09ec6b2c2c) chore(deps): bump eslint-utils from 1.4.0 to 1.4.2 ([#1698](https://github-redirect.dependabot.com/nock/nock/issues/1698))
- [`21733b4`](https://github.com/nock/nock/commit/21733b4d9aecd1664d9f604cfee7231d52b8596b) refactor: Remove the last of the real hostnames ([#1691](https://github-redirect.dependabot.com/nock/nock/issues/1691))
- Additional commits viewable in [compare view](https://github.com/nock/nock/compare/v10.0.6...v11.3.4)
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.4.
Release notes
*Sourced from [nock's releases](https://github.com/nock/nock/releases).* > ## 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. > > ### Breaking changes > > For many developers no code changes will be needed. However, there are several > minor changes to the API, and it's possible that you will need to update your > code for Nock to keep working properly. It's unlikely that your tests will > falsely pass; what's more probable is that your tests will fail until the > necessary changes are made. > ... (truncated)Commits
- [`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)) - [`c107817`](https://github.com/nock/nock/commit/c1078175e4478100a83489b46aaaa23629b4a7ae) refactor: Refactor recorder stringification ([#1678](https://github-redirect.dependabot.com/nock/nock/issues/1678)) - [`588cd1f`](https://github.com/nock/nock/commit/588cd1f9e28715881488642df6dcb72803df6e7d) docs(README): Add axios example ([#1711](https://github-redirect.dependabot.com/nock/nock/issues/1711)) - [`805df19`](https://github.com/nock/nock/commit/805df19e85081462d6bce31e1ceb46ee7d137af6) Update eslint-plugin-node to the latest version 🚀 ([#1705](https://github-redirect.dependabot.com/nock/nock/issues/1705)) - [`a700fa2`](https://github.com/nock/nock/commit/a700fa2c507c2f621f7c0ff685062abe0668d8a6) fix(types): DataMatcher to allow valid JSON scalars. ([#1703](https://github-redirect.dependabot.com/nock/nock/issues/1703)) - [`9d5cda0`](https://github.com/nock/nock/commit/9d5cda02efac32967babc8264bb4ae61795ad88d) docs(README): adapt badges for [@latest](https://github.com/latest) release - [`cfc129c`](https://github.com/nock/nock/commit/cfc129c6bb9e37e1f1067898cbf74d09ec6b2c2c) chore(deps): bump eslint-utils from 1.4.0 to 1.4.2 ([#1698](https://github-redirect.dependabot.com/nock/nock/issues/1698)) - [`21733b4`](https://github.com/nock/nock/commit/21733b4d9aecd1664d9f604cfee7231d52b8596b) refactor: Remove the last of the real hostnames ([#1691](https://github-redirect.dependabot.com/nock/nock/issues/1691)) - Additional commits viewable in [compare view](https://github.com/nock/nock/compare/v10.0.6...v11.3.4)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.