Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - fix: remove required-from-url (PL-754) #732

Closed
wants to merge 1 commit into from

Conversation

DecathectZero
Copy link
Member

This will never work:
await jail.set('requireFromUrl', (url: string) => requireFromUrl(url));

It will simply crash whenever, you can not clone anything that is not a primative object between the runtime and the v8 isolate.
Screenshot 2024-03-23 at 5 55 17 PM

I think it is better to get into the motion of deprecating this.

Copy link

linear bot commented Mar 23, 2024

@DecathectZero
Copy link
Member Author

bors r+

bors-vf bot pushed a commit that referenced this pull request Mar 23, 2024
This will never work:
`await jail.set('requireFromUrl', (url: string) => requireFromUrl(url));`

It will simply crash whenever, you can not clone anything that is not a primative object between the runtime and the v8 isolate.
![Screenshot 2024-03-23 at 5 55 17 PM](https://github.com/voiceflow/general-runtime/assets/5643574/dd318cea-5d26-4095-b882-5b4c9961eb9d)

I think it is better to get into the motion of deprecating this.

Co-authored-by: Tyler Han <tylerhan97@gmail.com>
@bors-vf
Copy link

bors-vf bot commented Mar 23, 2024

Build failed:

Copy link

sonarcloud bot commented Mar 23, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@DecathectZero
Copy link
Member Author

bors r+

bors-vf bot pushed a commit that referenced this pull request Mar 23, 2024
This will never work:
`await jail.set('requireFromUrl', (url: string) => requireFromUrl(url));`

It will simply crash whenever, you can not clone anything that is not a primative object between the runtime and the v8 isolate.
![Screenshot 2024-03-23 at 5 55 17 PM](https://github.com/voiceflow/general-runtime/assets/5643574/dd318cea-5d26-4095-b882-5b4c9961eb9d)

I think it is better to get into the motion of deprecating this.

Co-authored-by: Tyler Han <tylerhan97@gmail.com>
@bors-vf
Copy link

bors-vf bot commented Mar 23, 2024

@bors-vf bors-vf bot changed the title fix: remove required-from-url (PL-754) [Merged by Bors] - fix: remove required-from-url (PL-754) Mar 23, 2024
@bors-vf bors-vf bot closed this Mar 23, 2024
@bors-vf bors-vf bot deleted the tyler/remove-required-from-url/PL-754 branch March 23, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants