mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
assert: mark partialDeepStrictEqual() as stable
The current implementation is well tested, fast and handles all known edge cases properly. PR-URL: https://github.com/nodejs/node/pull/57370 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
This commit is contained in:
parent
ebbc5f7017
commit
d23b8a0cc4
5 changed files with 6 additions and 10 deletions
|
@ -54,7 +54,7 @@ const {
|
|||
isPromise,
|
||||
isRegExp,
|
||||
} = require('internal/util/types');
|
||||
const { isError, deprecate, emitExperimentalWarning } = require('internal/util');
|
||||
const { isError, deprecate } = require('internal/util');
|
||||
const { innerOk } = require('internal/assert/utils');
|
||||
|
||||
const CallTracker = require('internal/assert/calltracker');
|
||||
|
@ -358,7 +358,6 @@ assert.partialDeepStrictEqual = function partialDeepStrictEqual(
|
|||
expected,
|
||||
message,
|
||||
) {
|
||||
emitExperimentalWarning('assert.partialDeepStrictEqual');
|
||||
if (arguments.length < 2) {
|
||||
throw new ERR_MISSING_ARGS('actual', 'expected');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue