Skip to content

Commit

Permalink
Add note about cachedData
Browse files Browse the repository at this point in the history
  • Loading branch information
laverdet committed Feb 17, 2022
1 parent 1fef844 commit 218e87a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -578,6 +578,9 @@ can even save this data to disk and use it in a different process. You can set b
`produceCachedData`, in which case new cached data will only be produced if the data supplied was
invalid.

*NOTE*: CachedData contains compiled machine code. That means you should not accept `cachedData`
payloads from a user, otherwise they may be able to run arbitrary code.

##### `ScriptOrigin`
* `filename` *[string]* - Filename of this source code
* `columnOffset` *[number]* - Column offset of this source code
Expand Down

0 comments on commit 218e87a

Please sign in to comment.