mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 21:24:48 +00:00
chore: move test files to testdata directory (#11601)
This commit is contained in:
parent
a0285e2eb8
commit
15a763152f
1089 changed files with 1150 additions and 1160 deletions
5
cli/tests/testdata/proto_exploit.js
vendored
Normal file
5
cli/tests/testdata/proto_exploit.js
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
const payload = `{ "__proto__": null }`;
|
||||
const obj = {};
|
||||
console.log("Before: " + obj);
|
||||
Object.assign(obj, JSON.parse(payload));
|
||||
console.log("After: " + obj);
|
Loading…
Add table
Add a link
Reference in a new issue