Comparing version 14.0.0-beta.5 to 14.0.0-beta.6
@@ -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 @@ |
@@ -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** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3741
191234
1736