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

refactor(node/npm): separate out permission check from npm resolvers #27511

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Dec 31, 2024

Decouples permissions from the npm resolvers (towards moving the resolvers out of the cli crate)

@dsherret dsherret requested a review from bartlomieju December 31, 2024 17:53
}

match &self.mode {
NpmRegistryReadPermissionCheckerMode::Byonm => {
Copy link
Member Author

Choose a reason for hiding this comment

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

Change here was to also have the byonm check here, but other than that the code is the same.

@@ -76,7 +76,7 @@ async function createDenoDtsFile() {

file.insertStatements(
0,
"// Copyright 2018-2024 the Deno authors. MIT license.\n\n",
"// Copyright 2018-2025 the Deno authors. MIT license.\n\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: seems unrelated to this PR in particular.

@dsherret dsherret merged commit 9215aa6 into denoland:main Jan 2, 2025
17 checks passed
@dsherret dsherret deleted the refactor_separate_permission_checks_npm_resolvers branch January 2, 2025 15:05
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.

2 participants