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

bug: polyfill will request unnecessary permissions #16848

Closed
idranme opened this issue Nov 28, 2022 · 2 comments
Closed

bug: polyfill will request unnecessary permissions #16848

idranme opened this issue Nov 28, 2022 · 2 comments

Comments

@idranme
Copy link
Contributor

idranme commented Nov 28, 2022

import sc from 'npm:supports-color@latest'

console.log(sc)

image
image
supports-color/9.2.3/index.js:8:24
image
supports-color/9.2.3/index.js:17:2
image

@bartlomieju
Copy link
Member

process.argv consists of path to the current binary and main module - both of them require read permissions. There seems nothing wrong

@idranme
Copy link
Contributor Author

idranme commented Nov 28, 2022

process.argv consists of path to the current binary and main module - both of them require read permissions. There seems nothing wrong

Okay, thank you for your answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants