-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(perf): do less work loading config (#7361)
This adds some lazy loading, inlines some single use functions, and also removes the "define" function in the definitions file. That was guarding against something that isn't worth the runtime to check for.
- Loading branch information
Showing
10 changed files
with
2,141 additions
and
2,294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -350,6 +350,10 @@ Array [ | |
] | ||
` | ||
|
||
exports[`test/lib/commands/publish.js TAP prioritize CLI flags over publishConfig > new package version 1`] = ` | ||
+ [email protected] | ||
` | ||
|
||
exports[`test/lib/commands/publish.js TAP public access > must match snapshot 1`] = ` | ||
Array [ | ||
Array [ | ||
|
@@ -452,10 +456,6 @@ exports[`test/lib/commands/publish.js TAP restricted access > new package versio | |
+ @npm/[email protected] | ||
` | ||
|
||
exports[`test/lib/commands/publish.js TAP prioritize CLI flags over publishConfig > new package version 1`] = ` | ||
+ [email protected] | ||
` | ||
|
||
exports[`test/lib/commands/publish.js TAP scoped _auth config scoped registry > new package version 1`] = ` | ||
+ @npm/[email protected] | ||
` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.