We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de04cea commit aac1b6cCopy full SHA for aac1b6c
.changeset/hungry-suits-brake.md
@@ -0,0 +1,5 @@
1
+---
2
+"@workflow/core": patch
3
4
+
5
+Make process.env in workflow context a readonly clone
packages/core/src/vm/index.ts
@@ -86,7 +86,7 @@ export function createContext(options: CreateContextOptions) {
86
87
// Propagate environment variables
88
(g as any).process = {
89
- env: process.env,
+ env: Object.freeze({ ...process.env }),
90
};
91
92
// Stateless + synchronous Web APIs that are made available inside the sandbox
0 commit comments