Skip to content

fix: deny modifying the object prototype #1880

fix: deny modifying the object prototype

fix: deny modifying the object prototype #1880

Triggered via pull request October 25, 2023 07:59
Status Failure
Total duration 1m 5s
Artifacts

nodejs.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build (16.x): src/shared/object.ts#L17
Replace `(key)·=>·!["__proto__",·"constructor",·"prototype"].includes(key)·&&·assign(key,·target,·source)` with `⏎······(key)·=>⏎········!['__proto__',·'constructor',·'prototype'].includes(key)·&&·assign(key,·target,·source)⏎····`
build (16.x)
Process completed with exit code 1.
build (12.x)
The job was canceled because "_16_x" failed.
build (12.x): src/shared/object.ts#L17
Replace `(key)·=>·!["__proto__",·"constructor",·"prototype"].includes(key)·&&·assign(key,·target,·source)` with `⏎······(key)·=>⏎········!['__proto__',·'constructor',·'prototype'].includes(key)·&&·assign(key,·target,·source)⏎····`
build (12.x)
Process completed with exit code 1.
build (14.x)
The job was canceled because "_16_x" failed.
build (14.x): src/shared/object.ts#L17
Replace `(key)·=>·!["__proto__",·"constructor",·"prototype"].includes(key)·&&·assign(key,·target,·source)` with `⏎······(key)·=>⏎········!['__proto__',·'constructor',·'prototype'].includes(key)·&&·assign(key,·target,·source)⏎····`
build (14.x)
Process completed with exit code 1.
build (10.x)
The job was canceled because "_16_x" failed.
build (10.x)
The operation was canceled.