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

fix(permissions): implicit --allow-import when using --cached-only #27530

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Jan 2, 2025

--cached-only cannot communicate with a remote server

We can't do this for --frozen because --frozen still allows for exfiltrating data.

Closes #27498

Copy link
Member

@nathanwhit nathanwhit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dsherret dsherret merged commit 2092f0c into denoland:main Jan 2, 2025
17 checks passed
dsherret added a commit that referenced this pull request Jan 2, 2025
#27530)

`--cached-only` cannot communicate with a remote server

Closes #27498
@dsherret dsherret deleted the fix_implicit_allow_import_with_cached_only_and_frozen branch January 2, 2025 21:55
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

Successfully merging this pull request may close these issues.

If dependencies are frozen&locked, Deno shouldn't ask permission to import
2 participants