Title: socket package shallow command does not output npm namespaces · Issue #971 · SocketDev/socket-cli · GitHub
Open Graph Title: socket package shallow command does not output npm namespaces · Issue #971 · SocketDev/socket-cli
X Title: socket package shallow command does not output npm namespaces · Issue #971 · SocketDev/socket-cli
Description: Example: socket package shallow npm @axe-core/react _____ _ _ /--------------- | __|___ ___| |_ ___| |_ | CLI: v1.1.46 |__ | . | _| '_| -_| _| | token: ****** (config), org: **** (config) |_____|___|___|_,_|___|_|.dev | Command: `socket ...
Open Graph Description: Example: socket package shallow npm @axe-core/react _____ _ _ /--------------- | __|___ ___| |_ ___| |_ | CLI: v1.1.46 |__ | . | _| '_| -_| _| | token: ****** (config), org: **** (config) |_____|__...
X Description: Example: socket package shallow npm @axe-core/react _____ _ _ /--------------- | __|___ ___| |_ ___| |_ | CLI: v1.1.46 |__ | . | _| '_| -_| _| | token: ****** (config), org: **** (config) |____...
Opengraph URL: https://github.com/SocketDev/socket-cli/issues/971
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"socket package shallow command does not output npm namespaces","articleBody":"Example:\n\n```text\nsocket package shallow npm @axe-core/react \n _____ _ _ /---------------\n | __|___ ___| |_ ___| |_ | CLI: v1.1.46\n |__ | . | _| '_| -_| _| | token: ****** (config), org: **** (config)\n |_____|___|___|_,_|___|_|.dev | Command: `socket package shallow`, cwd: ~/work/xxxxxxx\n\nℹ Requesting shallow score data for 1 package urls (purl): pkg:npm/@axe-core/react\n✔ Received Socket API response (after requesting looking up package).\n\nShallow Package Score\n\nPlease note: The listed scores are ONLY for the package itself. It does NOT\n reflect the scores of any dependencies, transitive or otherwise.\n\n\nPackage: pkg:npm/react@4.11.0\n\n- Supply Chain Risk: 99\n- Maintenance: 95\n- Quality: 100\n- Vulnerabilities: 100\n- License: 70\n- Alerts (0/0/2): [low] copyleftLicense and [low] nonpermissiveLicense\n```\n\n-----\n\nInformative print includes correct purl but output does not. The root cause:\n\nhttps://github.com/SocketDev/socket-cli/blob/9cc003bf3e00113fe426016027f2fa3980d37816/packages/cli/src/commands/package/output-purls-shallow-score.mts#L81\n\n`socket package score` command seems to be working fine because it is using data directly and on markdown generation `data.purl` is used as package name.\n\n","author":{"url":"https://github.com/jikuja","@type":"Person","name":"jikuja"},"datePublished":"2025-12-14T11:34:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/971/socket-cli/issues/971"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:55bbfca6-040b-f74e-b318-e8b788ab6961 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E718:2A7CEE:89D6227:B5793DD:696DEB8E |
| html-safe-nonce | 9c5a167b8723c2e5769e3ca524993e80215a67e88707dbf396ec94d89fa5711b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzE4OjJBN0NFRTo4OUQ2MjI3OkI1NzkzREQ6Njk2REVCOEUiLCJ2aXNpdG9yX2lkIjoiNTE0MDEwMTA3Nzg5MzI0NTgzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8b34eb00aef2cc797d8f60d30a465f741492b62158613169ba34b0c97a4e5722 |
| hovercard-subject-tag | issue:3727174573 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SocketDev/socket-cli/971/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c997783f1ad8aa8155f09990ab7553fbd1af1d8dfa4c83f989b98732ac644152/SocketDev/socket-cli/issues/971 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c997783f1ad8aa8155f09990ab7553fbd1af1d8dfa4c83f989b98732ac644152/SocketDev/socket-cli/issues/971 |
| og:image:alt | Example: socket package shallow npm @axe-core/react _____ _ _ /--------------- | __|___ ___| |_ ___| |_ | CLI: v1.1.46 |__ | . | _| '_| -_| _| | token: ****** (config), org: **** (config) |_____|__... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jikuja |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/SocketDev/socket-cli git https://github.com/SocketDev/socket-cli.git |
| octolytics-dimension-user_id | 69326764 |
| octolytics-dimension-user_login | SocketDev |
| octolytics-dimension-repository_id | 554765897 |
| octolytics-dimension-repository_nwo | SocketDev/socket-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 554765897 |
| octolytics-dimension-repository_network_root_nwo | SocketDev/socket-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width