Skip to content

Commit

Permalink
fixup! fixup! tools: add ArrayPrototypeConcat to the list of primor…
Browse files Browse the repository at this point in the history
…dials to avoid
  • Loading branch information
aduh95 committed Aug 30, 2022
1 parent 353bece commit a60b429
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/internal/main/print_help.js
Expand Up @@ -31,7 +31,7 @@ for (const key of ObjectKeys(types))
// Environment variables are parsed ad-hoc throughout the code base,
// so we gather the documentation here.
const { hasIntl, hasSmallICU, hasNodeOptions } = internalBinding('config');
// eslint-disable-next-line node-code/avoid-prototype-pollution
// eslint-disable-next-line node-core/avoid-prototype-pollution
const envVars = new SafeMap(ArrayPrototypeConcat([
['FORCE_COLOR', { helpText: "when set to 'true', 1, 2, 3, or an empty " +
'string causes NO_COLOR and NODE_DISABLE_COLORS to be ignored.' }],
Expand Down
1 change: 0 additions & 1 deletion lib/internal/modules/cjs/loader.js
Expand Up @@ -23,7 +23,6 @@

const {
ArrayIsArray,
ArrayPrototypeConcat,
ArrayPrototypeFilter,
ArrayPrototypeIncludes,
ArrayPrototypeIndexOf,
Expand Down
1 change: 0 additions & 1 deletion lib/internal/perf/observe.js
Expand Up @@ -9,7 +9,6 @@ const {
ArrayPrototypePushApply,
ArrayPrototypeSlice,
ArrayPrototypeSort,
ArrayPrototypeConcat,
Error,
MathMax,
MathMin,
Expand Down

0 comments on commit a60b429

Please sign in to comment.