Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nock/nock
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v13.3.1
Choose a base ref
...
head repository: nock/nock
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v13.3.2
Choose a head ref
  • 20 commits
  • 8 files changed
  • 4 contributors

Commits on Apr 27, 2023

  1. Add node 18 to test matrix (#2465)

    * Add node 18 to test matrix, to demonstrate node 18 bug.
    cspotcode authored Apr 27, 2023
    Configuration menu
    Copy the full SHA
    e6178b9 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2023

  1. chore(deps-dev): bump prettier from 2.7.1 to 2.8.8 (#2473)

    Bumps [prettier](https://github.com/prettier/prettier) from 2.7.1 to 2.8.8.
    - [Release notes](https://github.com/prettier/prettier/releases)
    - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
    - [Commits](prettier/prettier@2.7.1...2.8.8)
    
    ---
    updated-dependencies:
    - dependency-name: prettier
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 2, 2023
    Configuration menu
    Copy the full SHA
    c3614b9 View commit details
    Browse the repository at this point in the history
  2. chore(deps-dev): bump semantic-release from 19.0.5 to 21.0.2

    Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 19.0.5 to 21.0.2.
    - [Release notes](https://github.com/semantic-release/semantic-release/releases)
    - [Commits](semantic-release/semantic-release@v19.0.5...v21.0.2)
    
    ---
    updated-dependencies:
    - dependency-name: semantic-release
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 2, 2023
    Configuration menu
    Copy the full SHA
    9204d72 View commit details
    Browse the repository at this point in the history
  3. chore(deps-dev): bump eslint from 8.35.0 to 8.39.0

    Bumps [eslint](https://github.com/eslint/eslint) from 8.35.0 to 8.39.0.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](eslint/eslint@v8.35.0...v8.39.0)
    
    ---
    updated-dependencies:
    - dependency-name: eslint
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 2, 2023
    Configuration menu
    Copy the full SHA
    757923b View commit details
    Browse the repository at this point in the history
  4. chore(deps-dev): bump eslint-config-prettier from 8.6.0 to 8.8.0

    Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.6.0 to 8.8.0.
    - [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
    - [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
    - [Commits](prettier/eslint-config-prettier@v8.6.0...v8.8.0)
    
    ---
    updated-dependencies:
    - dependency-name: eslint-config-prettier
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 2, 2023
    Configuration menu
    Copy the full SHA
    9b553ac View commit details
    Browse the repository at this point in the history
  5. chore(deps-dev): bump typescript from 4.8.4 to 5.0.4

    Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.8.4 to 5.0.4.
    - [Release notes](https://github.com/Microsoft/TypeScript/releases)
    - [Commits](microsoft/TypeScript@v4.8.4...v5.0.4)
    
    ---
    updated-dependencies:
    - dependency-name: typescript
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 2, 2023
    Configuration menu
    Copy the full SHA
    76a8df2 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. chore(deps-dev): bump sinon from 15.0.4 to 15.1.0

    Bumps [sinon](https://github.com/sinonjs/sinon) from 15.0.4 to 15.1.0.
    - [Release notes](https://github.com/sinonjs/sinon/releases)
    - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
    - [Commits](sinonjs/sinon@v15.0.4...v15.1.0)
    
    ---
    updated-dependencies:
    - dependency-name: sinon
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    3d8a5ee View commit details
    Browse the repository at this point in the history
  2. chore(deps-dev): bump @sinonjs/fake-timers from 10.0.2 to 10.2.0

    Bumps [@sinonjs/fake-timers](https://github.com/sinonjs/fake-timers) from 10.0.2 to 10.2.0.
    - [Release notes](https://github.com/sinonjs/fake-timers/releases)
    - [Changelog](https://github.com/sinonjs/fake-timers/blob/main/CHANGELOG.md)
    - [Commits](sinonjs/fake-timers@v10.0.2...v10.2.0)
    
    ---
    updated-dependencies:
    - dependency-name: "@sinonjs/fake-timers"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    47ed4f5 View commit details
    Browse the repository at this point in the history
  3. chore(deps-dev): bump typescript from 5.0.4 to 5.1.3

    Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.4 to 5.1.3.
    - [Release notes](https://github.com/Microsoft/TypeScript/releases)
    - [Commits](microsoft/TypeScript@v5.0.4...v5.1.3)
    
    ---
    updated-dependencies:
    - dependency-name: typescript
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    063e8b1 View commit details
    Browse the repository at this point in the history
  4. chore(deps-dev): bump @definitelytyped/dtslint from 0.0.159 to 0.0.162

    Bumps [@definitelytyped/dtslint](https://github.com/microsoft/DefinitelyTyped-tools/tree/HEAD/packages/dtslint) from 0.0.159 to 0.0.162.
    - [Release notes](https://github.com/microsoft/DefinitelyTyped-tools/releases)
    - [Commits](https://github.com/microsoft/DefinitelyTyped-tools/commits/v0.0.162/packages/dtslint)
    
    ---
    updated-dependencies:
    - dependency-name: "@definitelytyped/dtslint"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    12ad0ad View commit details
    Browse the repository at this point in the history
  5. chore(deps-dev): bump eslint-config-standard from 17.0.0 to 17.1.0

    Bumps [eslint-config-standard](https://github.com/standard/eslint-config-standard) from 17.0.0 to 17.1.0.
    - [Changelog](https://github.com/standard/eslint-config-standard/blob/master/CHANGELOG.md)
    - [Commits](standard/eslint-config-standard@v17.0.0...v17.1.0)
    
    ---
    updated-dependencies:
    - dependency-name: eslint-config-standard
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    8a38f41 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2023

  1. Push persisted interceptors to the end instead of ignore on remove (#…

    …2350)
    
    Currently, if you do:
    
    ```
    nock(..).get('/').reply(200).persist();
    nock(..).get('/').reply(400); // this will never get called
    ```
    The second interceptor won't get called ever.
    
    But sometimes in tests (queue for examples), I want to do:
    ```
    beforeAll(() => {
      // some default behaviour
      nock(..).get('/').reply(200).persist();
    });
    test('should ...', () => {
      // test specific scenario for this same endpoint above
      nock(..).get('/').reply(400)
    })
    ```
    
    I find a workaround using the body matcher function:
    ```
    const createInterceptor = () => {
      nock(..).get('/', () => {
        createInterceptor();
        return true;
      })
      .reply(200)
    }
    ```
    Which mimics the wanted behavior but is slower and way less elegant.
    Michael Solomon authored Jun 25, 2023
    Configuration menu
    Copy the full SHA
    8aab603 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2023

  1. chore(deps-dev): bump @definitelytyped/dtslint from 0.0.162 to 0.0.163

    Bumps [@definitelytyped/dtslint](https://github.com/microsoft/DefinitelyTyped-tools/tree/HEAD/packages/dtslint) from 0.0.162 to 0.0.163.
    - [Release notes](https://github.com/microsoft/DefinitelyTyped-tools/releases)
    - [Commits](https://github.com/microsoft/DefinitelyTyped-tools/commits/v0.0.163/packages/dtslint)
    
    ---
    updated-dependencies:
    - dependency-name: "@definitelytyped/dtslint"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 2, 2023
    Configuration menu
    Copy the full SHA
    fa088a4 View commit details
    Browse the repository at this point in the history
  2. chore(deps-dev): bump sinon from 15.1.0 to 15.2.0

    Bumps [sinon](https://github.com/sinonjs/sinon) from 15.1.0 to 15.2.0.
    - [Release notes](https://github.com/sinonjs/sinon/releases)
    - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
    - [Commits](sinonjs/sinon@v15.1.0...v15.2.0)
    
    ---
    updated-dependencies:
    - dependency-name: sinon
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 2, 2023
    Configuration menu
    Copy the full SHA
    6ae6e98 View commit details
    Browse the repository at this point in the history
  3. chore(deps-dev): bump typescript from 5.1.3 to 5.1.6

    Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.3 to 5.1.6.
    - [Release notes](https://github.com/Microsoft/TypeScript/releases)
    - [Commits](https://github.com/Microsoft/TypeScript/commits)
    
    ---
    updated-dependencies:
    - dependency-name: typescript
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 2, 2023
    Configuration menu
    Copy the full SHA
    880efed View commit details
    Browse the repository at this point in the history
  4. chore(deps-dev): bump @sinonjs/fake-timers from 10.2.0 to 10.3.0

    Bumps [@sinonjs/fake-timers](https://github.com/sinonjs/fake-timers) from 10.2.0 to 10.3.0.
    - [Release notes](https://github.com/sinonjs/fake-timers/releases)
    - [Changelog](https://github.com/sinonjs/fake-timers/blob/v10.3.0/CHANGELOG.md)
    - [Commits](sinonjs/fake-timers@v10.2.0...v10.3.0)
    
    ---
    updated-dependencies:
    - dependency-name: "@sinonjs/fake-timers"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 2, 2023
    Configuration menu
    Copy the full SHA
    0c9186d View commit details
    Browse the repository at this point in the history
  5. chore(deps-dev): bump semantic-release from 21.0.2 to 21.0.6

    Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 21.0.2 to 21.0.6.
    - [Release notes](https://github.com/semantic-release/semantic-release/releases)
    - [Commits](semantic-release/semantic-release@v21.0.2...v21.0.6)
    
    ---
    updated-dependencies:
    - dependency-name: semantic-release
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 2, 2023
    Configuration menu
    Copy the full SHA
    ed91030 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Configuration menu
    Copy the full SHA
    dd15ba5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd4783b View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Configuration menu
    Copy the full SHA
    92de0de View commit details
    Browse the repository at this point in the history
Loading