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:
Ruben Bridgewater 2025-03-11 01:48:58 +01:00 committed by Node.js GitHub Bot
parent ebbc5f7017
commit d23b8a0cc4
5 changed files with 6 additions and 10 deletions

View file

@ -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');
}