You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is similar to #1836 but with an emphasis on making most anything work inside a sandbox with only the needed permissions.
There are a bunch of libraries on npm that attempt to read the filesystem, environment variables, and system info for no good reason. One is the AWS APIs for S3. You can pass all the info and it will still try to read the configuration from all three of these sources.
I would like to be able to use S3 with just accessing the configuration that's passed into it and the network.
With node:fs it would be hard to fake it. I would need to set up an import map and then import it from npm.
It would be nice if I could run it in a worker and just give it a plain object for environment variables like {HOME: '/home/anonymous'} and an empty filesystem to look at.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is similar to #1836 but with an emphasis on making most anything work inside a sandbox with only the needed permissions.
There are a bunch of libraries on npm that attempt to read the filesystem, environment variables, and system info for no good reason. One is the AWS APIs for S3. You can pass all the info and it will still try to read the configuration from all three of these sources.
I would like to be able to use S3 with just accessing the configuration that's passed into it and the network.
With
node:fs
it would be hard to fake it. I would need to set up an import map and then import it from npm.It would be nice if I could run it in a worker and just give it a plain object for environment variables like
{HOME: '/home/anonymous'}
and an empty filesystem to look at.Beta Was this translation helpful? Give feedback.
All reactions