Skip to content

Commit f71b2f2

Browse files
security: disable yarn postinstall scripts (#317)
Disable yarn's postinstall scripts to improve security by setting enableScripts: false in .yarnrc.yml
1 parent 7c74ece commit f71b2f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend-demo/.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
nodeLinker: node-modules
22

33
yarnPath: .yarn/releases/yarn-4.5.1.cjs
4+
enableScripts: false

0 commit comments

Comments
 (0)