mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
lib: refactor to avoid unsafe regex primordials
PR-URL: https://github.com/nodejs/node/pull/43475 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
This commit is contained in:
parent
411fb21723
commit
a055337a02
39 changed files with 206 additions and 208 deletions
|
@ -9,7 +9,7 @@ assert.throws(
|
|||
() => { new SystemError(); },
|
||||
{
|
||||
name: 'TypeError',
|
||||
message: 'String.prototype.match called on null or undefined'
|
||||
message: "Cannot read properties of undefined (reading 'syscall')",
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue