Socket
Socket
Sign inDemoInstall

nock

Package Overview
Dependencies
Maintainers
4
Versions
430
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nock - npm Package Compare versions

Comparing version 14.0.0-beta.5 to 14.0.0-beta.6

5

lib/match_body.js

@@ -66,6 +66,7 @@ 'use strict'

const keys = Object.keys(object)
const clonedObject = { ...object }
for (const key of keys) {
object[key] = cb(object[key], key, object)
clonedObject[key] = cb(clonedObject[key], key, clonedObject)
}
return object
return clonedObject
}

@@ -72,0 +73,0 @@

4

package.json

@@ -10,3 +10,3 @@ {

],
"version": "14.0.0-beta.5",
"version": "14.0.0-beta.6",
"author": "Pedro Teixeira <pedro.teixeira@gmail.com>",

@@ -52,3 +52,3 @@ "repository": {

"semantic-release": "^22.0.5",
"sinon": "^15.0.1",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0",

@@ -55,0 +55,0 @@ "typescript": "^5.0.4"

# Nock
[![npm](https://img.shields.io/npm/v/nock.svg)][npmjs]
[![Build Status](https://travis-ci.org/nock/nock.svg)][build]
![Coverage Status](http://img.shields.io/badge/coverage-100%25-brightgreen.svg)

@@ -10,3 +9,2 @@ [![Backers on Open Collective](https://opencollective.com/nock/backers/badge.svg)](#backers)

[npmjs]: https://www.npmjs.com/package/nock
[build]: https://travis-ci.org/nock/nock

@@ -13,0 +11,0 @@ > **Notice**

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc