8000 Tags · sabrinaluo/nock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: sabrinaluo/nock

Tags

v11.0.0-beta.12@beta

Toggle v11.0.0-beta.12@beta's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
fix: Restore behavior of Interceptor.filteringPath (nock#1543)

Calling `filteringPath` on the intercept instance was broken as the transform fn set on the scope had the wrong name. Proxying to the Scope’s method allows for the regex version to work too. The bulk of the changed lines come from moving the tests to their appropriate file since the real logic acts on the Scope.

Found when looking at Uncovered lines in coveralls.

v11.0.0-beta.11@beta

Toggle v11.0.0-beta.11@beta's commit message
test(intercept): Reference the issue

v11.0.0-beta.10@beta

Toggle v11.0.0-beta.10@beta's commit message
feat: Add `conditionally()` (nock#1488)

I am building a test framework which depends on nock and to support concurrency, I need to be able shutoff certain scopes (to prevent cross-pollination) when running tests concurrently.

v11.0.0-beta.9@beta

Toggle v11.0.0-beta.9@beta's commit message
fix: Fix `.matchHeader()` with `allowUnmocked` (nock#1480)

- Move header checks into `match()`.
- Rename internal method `matchIndependentOfBody()` to `matchAddress()`

v11.0.0-beta.8@beta

Toggle v11.0.0-beta.8@beta's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(intercept): Better error message when options is falsy (nock#1440)

v11.0.0-beta.7@beta

Toggle v11.0.0-beta.7@beta's commit message
chore(package): update lockfile package-lock.json

v11.0.0-beta.6@beta

Toggle v11.0.0-beta.6@beta's commit message
fix(socket): When Socket#setTimeout gets a callback, should still emit

Ref nock#1404

v11.0.0-beta.5@beta

Toggle v11.0.0-beta.5@beta's commit message
fix: throw error when leading slash is not present in path (nock#1391)

Given nock#1391 (comment), we
decided to make nock raise an error whenever the user forgets to add a
leading slash into the intercepted path, instead of adding it itself.

v11.0.0-beta.4@beta

Toggle v11.0.0-beta.4@beta's commit message
refactor(request_overrider): Remove dead code

- `response.headers` was added in Node v0.1.5 and `response.rawHeaders` in v0.11.6. They are truthy.
- `_headers` was deprecated, and replaced with `getHeader()`, `getHeaders()`, and `setHeader()`: https://nodejs.org/api/deprecations.html#deprecations_dep0066_outgoingmessage_headers_outgoingmessage_headernames

v11.0.0-beta.3@beta

Toggle v11.0.0-beta.3@beta's commit message
fix: Mock responses should fire when timers are mocked (nock#1336)

Fix picked from nock#1335.

Revert nock#1270. Fix nock#1334.
0