b94f7ac669
Update cmd/pypi/pip.go
...
Co-authored-by: Omkar Phansopkar <omkarphansopkar@gmail.com >
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
2025-06-08 22:19:34 +05:30
ebb4f59963
Update cmd/npm/pnpm.go
...
Co-authored-by: Omkar Phansopkar <omkarphansopkar@gmail.com >
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
2025-06-08 22:19:22 +05:30
5c44e5d446
Update cmd/npm/npm.go
...
Co-authored-by: Omkar Phansopkar <omkarphansopkar@gmail.com >
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
2025-06-08 22:19:13 +05:30
Sahilb315
43771df70e
chore: remove extra code
2025-06-07 23:52:44 +05:30
Sahilb315
e19894e73d
resolve merge conflict
2025-06-07 23:50:44 +05:30
Sahilb315
9793d977fb
refactor: enhance code readability & remove extra code
2025-06-07 23:49:13 +05:30
Sahilb315
65113d0646
fix: remove overwritten of parsedCmd
2025-06-02 20:56:01 +05:30
Sahilb315
93bb32bef6
test: add test for pypi dependency parse function
2025-06-02 20:56:01 +05:30
Sahilb315
6e2dc34f74
feat: support PyPi package extras
2025-06-02 20:56:01 +05:30
Sahilb315
30c914d07e
chore: typo fix
2025-06-02 20:56:01 +05:30
Sahilb315
bb52730199
chore: remove extra print statement
2025-06-02 20:56:01 +05:30
Sahilb315
3063bc8c58
fix: remove overwritten of parsedCmd
2025-06-02 20:21:21 +05:30
Sahilb315
770a0ea683
test: add test for pypi dependency parse function
2025-06-02 20:13:54 +05:30
Sahilb315
a38af3abb1
feat: support PyPi package extras
2025-06-02 02:42:55 +05:30
Sahilb315
2dd62d6a42
chore: typo fix
2025-05-29 00:52:38 +05:30
Sahilb315
ca3c602462
chore: remove extra print statement
2025-05-29 00:49:50 +05:30
Sahilb315
b6b53ac1bf
Merge branch 'feat/#27-pip-support' of github.com:safedep/pmg into feat/#27-pip-support
2025-05-29 00:43:53 +05:30
Sahilb315
04e7b97785
fix: improve dependency resolution and package deduplication
2025-05-29 00:39:10 +05:30
Sahilb315
dad32fd6d1
chore: remove extra file
2025-05-28 22:22:03 +05:30
Sahilb315
dd6c4f1213
refactor(deps): Improve PyPI dependency resolution and add custom resolver support
2025-05-27 22:19:48 +05:30
Sahilb315
216657afef
feat: add Python dependency parsing with extras support
2025-05-22 02:05:34 +05:30
Sahil Bansal and GitHub
949b1a2b6a
chore: remove unused file
...
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
2025-05-22 00:32:28 +05:30
Sahilb315
0b4729f18b
refactor: unify package dependency resolution and improve PyPI version handling using registry adapter
2025-05-20 21:23:48 +05:30
Sahilb315
722ee05376
test: Add tests for pypi and pypi_resolver
2025-05-17 22:14:38 +05:30
Sahilb315
fc9fddb324
feat: Add PyPi resolver
2025-05-17 22:14:38 +05:30
Sahilb315
e509f21d2e
feat/init-pip-cmd
2025-05-17 22:14:26 +05:30
4031219375
fix: Show error messages on fatal failures #32 ( #34 )
...
* fix: Show error messages on fatal failures #32
* test: Add E2E test
* test: fix E2E scripts
* test: fix E2E scripts
* fix: Race condition in concurrent analyzer
* fix: update formatting to ensure docs URL is clickable
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
* fix: E2E test
---------
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
Co-authored-by: Sahil Bansal <bansalsahil315@gmail.com >
v0.0.4
2025-05-17 21:54:47 +05:30
Abhisek Datta and GitHub
b85f77cfbc
feat: Add support for active scanning in paranoid mode ( #31 )
...
* feat: Add support for active scanning in paranoid mode
* docs: Fix README
2025-05-16 19:38:06 +05:30
Hanshal Mehta and GitHub
81d4875b8d
feat: add version command ( #26 )
v0.0.3
2025-05-16 09:41:48 +05:30
Kunal Singh and GitHub
d8d7bda8ca
docs: add brew installation setup in readme ( #25 )
...
* docs: add brew installation setup in readme
Signed-off-by: Kunal Singh <kunalsin9h@gmail.com >
* updated TOC
Signed-off-by: Kunal Singh <kunalsin9h@gmail.com >
* removed also for 1st install option
Signed-off-by: Kunal Singh <kunalsin9h@gmail.com >
---------
Signed-off-by: Kunal Singh <kunalsin9h@gmail.com >
2025-05-15 22:24:02 +05:30
Abhisek Datta and GitHub
7c9681ef00
Multiple Misc Updates ( #23 )
...
* docs: Update README
* docs: Add badges
2025-05-15 21:34:41 +05:30
Sudhanshu Dasgupta and GitHub
6c7e3b875a
Add new intro image ( #24 )
...
* add new into image
Signed-off-by: Sudhanshu Dasgupta <dasguptashivam23@gmail.com >
* replace image
Signed-off-by: Sudhanshu Dasgupta <dasguptashivam23@gmail.com >
---------
Signed-off-by: Sudhanshu Dasgupta <dasguptashivam23@gmail.com >
2025-05-15 20:16:03 +05:30
Abhisek Datta and GitHub
5022d64ce4
chore: Improve UX ( #22 )
v0.0.2
2025-05-15 18:03:46 +05:30
Abhisek Datta and GitHub
cfde1d7632
ci: Add CodeQL and OpenSSF Scorecard action ( #21 )
v0.0.1
2025-05-15 16:59:13 +05:30
Abhisek Datta and GitHub
e86b6ef056
feat: Refactor PMG to Maintain Separation of Concerns and Clean Architecture ( #19 )
...
* feat: Add separate package manager and resolver
* fix: Npm dependency resolver
* feat: Add analyzer for malysis query
* feat: Add package manager guard as the orchestrator
* feat: Add PMG to orchestrate installation
* Add concurrent scan execution
* Introduce package manager interaction abstraction
* feat: Add UI port for guard
* Remove refactored source files
* Update README
* fix: CI script for multi-arch build
* ci: goreleaser CI fix
* fix: npm command parser to extract package names
* feat: Introduce global config primitive
* fix: Close results channel for clean goroutine exit
* ci: Add container image releaser
* test: Improve test for npm resolver
* refactor: Analyzer to generalise
* Improve UI with additional info
* fix: Goreleaser config
* fix: npm resolver bug
* fix: Fail when command exec workflow fails
* fix: Bug with transitive dependency resolution
* fix: Synchronize common data update in dependency resolver
* chore: Improve log handling
* docs: Update README
* fix: UI text wrapping
* fix: UI handling bugs
* feat: Use concurrent dependency resolver
2025-05-15 16:50:59 +05:30
8b46964c7a
fix(npm): handle multiple packages and flag parsing correctly ( #17 )
...
* fix(npm): handle multiple packages and flag parsing correctly
- Fixes issue where only the first package was scanned; now all packages in install command are parsed and processed.
- Correctly separates flags (e.g., --save-dev) from package names to avoid treating them as packages.
- Applies same fixes to both npm and pnpm flows.
- Updated wrapper to scan all packages before installing, maintaining original CLI behavior.
* refactor: fixed the registry type
* feat: continue installing other packages if one is denied
* Update pkg/wrapper/npm_base.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
* fix(wrapper): exit gracefully for user-rejected packages
* fix: remove env validation
---------
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-12 09:23:08 +05:30
Sahil Bansal and GitHub
f7855e99a2
docs: add CONTRIBUTORS and MAINTAINERS files, update README ( #18 )
...
* docs: README update
* docs: introduce CONTRIBUTING.md
* docs: introduce MAINTAINERS.txt
2025-05-11 22:42:27 +05:30
Sahil Bansal and GitHub
86f8bd42b7
replace AnalysePackage with QueryPackageAnalysis API & use community API ( #15 )
2025-05-11 22:41:34 +05:30
6a28fb16a1
refactor: improve progress bar logic and update display ( #14 )
...
* fix: Revise progress tracking mechanism
* chore: remove unused getDependencies func
* chore: removed unused property & add fetcher check
* Update pkg/wrapper/npm_base.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
* refactor: make SetProgressTracker common for all fetchers
---------
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-06 16:35:59 +05:30
df754ccc82
Add colorful outputs & remove md text ( #13 )
...
* fix: parsePackageInfo to handle pkg names with special character
* Enhance pmg outputs by adding colors and removing markdown notions
* Update pkg/wrapper/npm_base.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
* Update npm_base.go
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
* test: add tests for removeMarkdown
* chore: remove duplicate code
* refactor: convert TerminalColors to global var and split markdown utils
---------
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-05 23:32:34 +05:30
Sahil Bansal and GitHub
88f39b56ff
fix: parsePackageInfo to handle pkg names with special character ( #11 )
...
* fix: parsePackageInfo to handle pkg names with special character
* test: add tests for CleanVersion and ParsePackageInfo util functions
2025-05-04 18:50:13 +05:30
Sahil Bansal and GitHub
5a6b842360
add goreleaser & goreleaser workflow ( #8 )
2025-05-02 12:37:27 +05:30
Sahil Bansal and GitHub
1aa4b06f41
Pnpm suppport ( #6 )
...
* fix: resolves issues #3 and #4
* feat: add pnpm support & introduce pkg manager wrap for npm
2025-04-30 14:26:38 +05:30
Abhisek Datta and GitHub
ec010c7d6b
Merge pull request #1 from safedep/feat/npm-support
...
project initialisation & added npm cmd support
2025-04-29 09:06:05 +05:30
Sahilb315
4f13dfbb40
chore: clean unused deps
2025-04-29 01:52:35 +05:30
Sahilb315
d4a31b14c0
ci: add vet ci
2025-04-29 01:41:50 +05:30
Sahilb315
8b31fd458b
feat: add progress bar and add debug & silent flags
2025-04-29 01:33:27 +05:30
5ea85fa1f3
Update pkg/common/utils/utils.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com >
2025-04-28 20:48:07 +05:30
Sahilb315
6ae594a896
readme installation update
2025-04-28 20:02:20 +05:30
Sahilb315
1abcc28259
refactor: introduce PackageAnalyser struct and remove unused arborist files
2025-04-28 19:23:36 +05:30