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
Fixed bug in "npm show" #5011
Closed
Closed
Fixed bug in "npm show" #5011
Changes from 8 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
19e125e
Fixed bug in "npm show"
lukaskuhn-lku d8afc9f
Update lib/commands/view.js
lukaskuhn-lku ad11084
fixed linting errors
lukaskuhn-lku 2abbd4d
added check if versions exist
lukaskuhn-lku 66c4396
Merge branch 'latest' of https://github.com/lukaskuhn-lku/npm.cli int…
lukaskuhn-lku 8653b05
changed to check for latest
lukaskuhn-lku 39df374
Update lib/commands/view.js
lukaskuhn-lku 10fadbc
Changed double quotes to singles
lukaskuhn-lku 7674df2
Delete 2022-06-12T19_00_57_659Z-debug-0.log
lukaskuhn-lku 6739ae7
Delete 2022-06-12T19_00_57_809Z-debug-0.log
lukaskuhn-lku 3f42901
Delete package.json
lukaskuhn-lku 6754d60
Delete package.json
lukaskuhn-lku 367beb4
changed space for linting
lukaskuhn-lku 9ee8be7
added test coverage for the bug fix
lukaskuhn-lku File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
30 changes: 30 additions & 0 deletions
30
...ds/tap-testdir-config-completion-sandbox/cache/_logs/2022-06-12T19_00_57_659Z-debug-0.log
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
0 timing npm:load:whichnode Completed in 1ms | ||
1 timing config:load:defaults Completed in 0ms | ||
2 timing config:load:file:C:\Users\kuhn-\Documents\Github\npm.cli\npmrc Completed in 2ms | ||
3 timing config:load:builtin Completed in 2ms | ||
4 timing config:load:cli Completed in 2ms | ||
5 timing config:load:env Completed in 0ms | ||
6 timing config:load:file:C:\Users\kuhn-\Documents\Github\npm.cli\test\lib\commands\tap-testdir-config-completion-sandbox\project\.npmrc Completed in 0ms | ||
7 timing config:load:project Completed in 0ms | ||
8 timing config:load:file:C:\Users\kuhn-\Documents\Github\npm.cli\test\lib\commands\tap-testdir-config-completion-sandbox\home\.npmrc Completed in 0ms | ||
9 timing config:load:user Completed in 1ms | ||
10 timing config:load:file:C:\Users\kuhn-\Documents\Github\npm.cli\test\lib\commands\tap-testdir-config-completion-sandbox\global\npmrc Completed in 0ms | ||
11 timing config:load:global Completed in 1ms | ||
12 timing config:load:validate Completed in 0ms | ||
13 timing config:load:credentials Completed in 0ms | ||
14 timing config:load:setEnvs Completed in 0ms | ||
15 timing config:load Completed in 8ms | ||
16 timing npm:load:configload Completed in 8ms | ||
17 timing npm:load:mkdirpcache Completed in 1ms | ||
18 timing npm:load:mkdirplogs Completed in 2ms | ||
19 verbose title npm config | ||
20 verbose argv "--prefix" "C:\\Users\\kuhn-\\Documents\\Github\\npm.cli\\test\\lib\\commands\\tap-testdir-config-completion-sandbox\\project" "--userconfig" "C:\\Users\\kuhn-\\Documents\\Github\\npm.cli\\test\\lib\\commands\\tap-testdir-config-completion-sandbox\\home\\.npmrc" "--globalconfig" "C:\\Users\\kuhn-\\Documents\\Github\\npm.cli\\test\\lib\\commands\\tap-testdir-config-completion-sandbox\\global\\npmrc" "--cache" "C:\\Users\\kuhn-\\Documents\\Github\\npm.cli\\test\\lib\\commands\\tap-testdir-config-completion-sandbox\\cache" "config" | ||
21 timing npm:load:setTitle Completed in 1ms | ||
22 timing config:load:flatten Completed in 4ms | ||
23 timing npm:load:display Completed in 6ms | ||
24 verbose logfile logs-max:10 dir:C:\Users\kuhn-\Documents\Github\npm.cli\test\lib\commands\tap-testdir-config-completion-sandbox\cache\_logs | ||
25 verbose logfile C:\Users\kuhn-\Documents\Github\npm.cli\test\lib\commands\tap-testdir-config-completion-sandbox\cache\_logs\2022-06-12T19_00_57_659Z-debug-0.log | ||
26 timing npm:load:logFile Completed in 7ms | ||
27 timing npm:load:timers Completed in 0ms | ||
28 timing npm:load:configScope Completed in 0ms | ||
29 timing npm:load Completed in 27ms |
30 changes: 30 additions & 0 deletions
30
...ds/tap-testdir-config-completion-sandbox/cache/_logs/2022-06-12T19_00_57_809Z-debug-0.log
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
0 timing npm:load:whichnode Completed in 1ms | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @lukaskuhn-lku these debug files |
||
1 timing config:load:defaults Completed in 0ms | ||
2 timing config:load:file:C:\Users\kuhn-\Documents\Github\npm.cli\npmrc Completed in 2ms | ||
3 timing config:load:builtin Completed in 2ms | ||
4 timing config:load:cli Completed in 1ms | ||
5 timing config:load:env Completed in 0ms | ||
6 timing config:load:file:C:\Users\kuhn-\Documents\Github\npm.cli\test\lib\commands\tap-testdir-config-completion-sandbox\project\.npmrc Completed in 1ms | ||
7 timing config:load:project Completed in 1ms | ||
8 timing config:load:file:C:\Users\kuhn-\Documents\Github\npm.cli\test\lib\commands\tap-testdir-config-completion-sandbox\home\.npmrc Completed in 0ms | ||
9 timing config:load:user Completed in 0ms | ||
10 timing config:load:file:C:\Users\kuhn-\Documents\Github\npm.cli\test\lib\commands\tap-testdir-config-completion-sandbox\global\npmrc Completed in 0ms | ||
11 timing config:load:global Completed in 0ms | ||
12 timing config:load:validate Completed in 0ms | ||
13 timing config:load:credentials Completed in 0ms | ||
14 timing config:load:setEnvs Completed in 1ms | ||
15 timing config:load Completed in 6ms | ||
16 timing npm:load:configload Completed in 6ms | ||
17 timing npm:load:mkdirpcache Completed in 1ms | ||
18 timing npm:load:mkdirplogs Completed in 1ms | ||
19 verbose title npm config set foo | ||
20 verbose argv "--prefix" "C:\\Users\\kuhn-\\Documents\\Github\\npm.cli\\test\\lib\\commands\\tap-testdir-config-completion-sandbox\\project" "--userconfig" "C:\\Users\\kuhn-\\Documents\\Github\\npm.cli\\test\\lib\\commands\\tap-testdir-config-completion-sandbox\\home\\.npmrc" "--globalconfig" "C:\\Users\\kuhn-\\Documents\\Github\\npm.cli\\test\\lib\\commands\\tap-testdir-config-completion-sandbox\\global\\npmrc" "--cache" "C:\\Users\\kuhn-\\Documents\\Github\\npm.cli\\test\\lib\\commands\\tap-testdir-config-completion-sandbox\\cache" "config" "set" "foo" | ||
21 timing npm:load:setTitle Completed in 2ms | ||
22 timing config:load:flatten Completed in 3ms | ||
23 timing npm:load:display Completed in 4ms | ||
24 verbose logfile logs-max:10 dir:C:\Users\kuhn-\Documents\Github\npm.cli\test\lib\commands\tap-testdir-config-completion-sandbox\cache\_logs | ||
25 verbose logfile C:\Users\kuhn-\Documents\Github\npm.cli\test\lib\commands\tap-testdir-config-completion-sandbox\cache\_logs\2022-06-12T19_00_57_809Z-debug-0.log | ||
26 timing npm:load:logFile Completed in 4ms | ||
27 timing npm:load:timers Completed in 0ms | ||
28 timing npm:load:configScope Completed in 0ms | ||
29 timing npm:load Completed in 21ms |
1 change: 1 addition & 0 deletions
1
test/lib/tap-testdir-npm-implicit-workspace-accept/prefix/package.json
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":"root","version":"1.0.0","workspaces":["./packages/a"]} |
1 change: 1 addition & 0 deletions
1
test/lib/tap-testdir-npm-implicit-workspace-accept/prefix/packages/a/package.json
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":"a","version":"1.0.0","scripts":{"test":"echo test a"}} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lukaskuhn-lku these debug files