1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/tests/specs/npm/lifecycle_scripts
David Sherret 74fc66da11
fix: lock down allow-run permissions more (#25370)
`--allow-run` even with an allow list has essentially been
`--allow-all`... this locks it down more.

1. Resolves allow list for `--allow-run=` on startup to an absolute
path, then uses these paths when evaluating if a command can execute.
Also, adds these paths to `--deny-write`
1. Resolves the environment (cwd and env vars) before evaluating
permissions and before executing a command. Then uses this environment
to evaluate the permissions and then evaluate the command.
2024-09-04 14:51:24 +02:00
..
__test__.jsonc chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
all_lifecycles.js feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
all_lifecycles.out feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
all_lifecycles_not_run.out fix: make some warnings more standard (#25324) 2024-09-03 10:45:01 +02:00
conflicting_bin.js feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
conflicting_bin.out feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
deno.json refactor: remove DENO_FUTURE (#25314) 2024-08-30 21:58:24 +00:00
fsevents.js fix(node): Ignore broken default install scripts (#24534) 2024-07-11 18:39:45 +00:00
fsevents.out fix(node): Ignore broken default install scripts (#24534) 2024-07-11 18:39:45 +00:00
future_install_all_lifecycles.out fix(future): Emit deno install warning less often, suggest deno install in error message (#24706) 2024-07-24 23:37:13 +00:00
future_install_all_lifecycles_not_run.out fix: make some warnings more standard (#25324) 2024-09-03 10:45:01 +02:00
implicit_node_gyp.js feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
main.js feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
no_deno_json.js fix(node): Fix --allow-scripts with no deno.json (#24533) 2024-07-15 12:11:09 -07:00
no_deno_json.out chore: fix ci (#24633) 2024-07-18 04:21:57 +00:00
node_gyp_not_found.out fix: lock down allow-run permissions more (#25370) 2024-09-04 14:51:24 +02:00
node_gyp_not_run.out fix: make some warnings more standard (#25324) 2024-09-03 10:45:01 +02:00
only_warns_first1.out fix: make some warnings more standard (#25324) 2024-09-03 10:45:01 +02:00
only_warns_first2.out fix(npm): only warn about lifecycle scripts not being run when setting up directory (#24530) 2024-07-11 16:41:42 +00:00