diff options
author | James M Snell <jasnell@gmail.com> | 2021-04-06 09:54:49 -0700 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2021-04-08 11:21:29 -0700 |
commit | 944a956087d4a3379f1fc68b3efc1bc6ea6c2f55 (patch) | |
tree | 19081383a6739e36c9e4279d8b7da12ea3746a36 /doc/api/assert.md | |
parent | bc531d1860e822db4e12ef424073ce438234fbe5 (diff) | |
download | node-new-944a956087d4a3379f1fc68b3efc1bc6ea6c2f55.tar.gz |
assert: graduate assert.match and assert.doesNotMatch
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/38111
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Diffstat (limited to 'doc/api/assert.md')
-rw-r--r-- | doc/api/assert.md | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/doc/api/assert.md b/doc/api/assert.md index 5c73e1085e..bfdd7cdd08 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -876,19 +876,18 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the added: - v13.6.0 - v12.16.0 +changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/38111 + description: This API is no longer experimental. --> * `string` {string} * `regexp` {RegExp} * `message` {string|Error} -> Stability: 1 - Experimental - Expects the `string` input not to match the regular expression. -This feature is currently experimental and the name might change or it might be -completely removed again. - ```mjs import assert from 'assert/strict'; @@ -1398,19 +1397,18 @@ let err; added: - v13.6.0 - v12.16.0 +changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/38111 + description: This API is no longer experimental. --> * `string` {string} * `regexp` {RegExp} * `message` {string|Error} -> Stability: 1 - Experimental - Expects the `string` input to match the regular expression. -This feature is currently experimental and the name might change or it might be -completely removed again. - ```mjs import assert from 'assert/strict'; |