permission: add unique warning codes · nodejs/node@eb61b7e · GitHub
Skip to content

Commit eb61b7e

Browse files
davidje13aduh95
authored andcommitted
permission: add unique warning codes
Adds unique warning codes of the form PERM0000 for all permissions related SecurityWarnings, so that they can be individually silenced if required. Fixes: #59818 Signed-off-by: David Evans <davidje13@users.noreply.github.com> PR-URL: #64414 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 8d3ae08 commit eb61b7e

2 files changed

Lines changed: 24 additions & 12 deletions

File tree

lib/internal/process/pre_execution.js

Lines changed: 9 additions & 11 deletions

test/parallel/test-permission-warning-flags.js

Lines changed: 15 additions & 1 deletion

0 commit comments

Comments
 (0)