Skip to content

Commit

Permalink
Merge pull request #153 from msridhar/obj-prototype-eval-bug
Browse files Browse the repository at this point in the history
Bump acorn to fix bug with eval
  • Loading branch information
msridhar committed May 9, 2020
2 parents 08f6f38 + b244c04 commit a1558b5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -3,7 +3,7 @@
"version": "0.2.5",
"description": "dynamic analysis framework for JavaScript",
"dependencies": {
"acorn": "3.1.0",
"acorn": "7.2.0",
"argparse": "0.1.6",
"codemirror": "5.1.0",
"cover": "0.2.9",
Expand Down
5 changes: 5 additions & 0 deletions tests/unit/obj_prototype_eval.js
@@ -0,0 +1,5 @@
function f(){
return eval("3");
}
Object.prototype.g=function(){ throw "should not be called!"; }
f();
1 change: 1 addition & 0 deletions tests/unit/unitTests.txt
@@ -1,3 +1,4 @@
obj_prototype_eval
shebang
cli_args fff
instrument-test
Expand Down

0 comments on commit a1558b5

Please sign in to comment.