Prevent command injection through arguments passed to getPath - the parameters of the getPath were not properly sanitized due to usage of execSync command, which allowed threat actor to pass undesired commands. Replaced the usage of execSync with spawnSync
Move CI to GitHub Actions and add some integration tests
Resolve dependabot detected vulnerabilities
NOTE: There's no breaking change in the API, but as the package now uses spawnSync instead of execSync, there might be a difference in the results of calling getPath method. So I've decided to bump the major version
v2.3.1
Fixed
Unable to find path to modules installed globally with yarn on Linux and macOS
v2.3.0
Implemented
Add support for locally installed packages with symlink in the NPM global node_modules folder that links to them
v2.2.0
Implemented
Add support for locally installed packages, added to PATH with path to .bin folder
Commits
14ebe02 Merge pull request #17 from rosen-vladimirov/vladimirov/fix-getting-path-on-win
7e039ae fix: get path on Windows from executable name
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/azgs/azlibrary_database/network/alerts).
Bumps global-modules-path from 2.1.0 to 3.0.0.
Release notes
Sourced from global-modules-path's releases.
Commits
14ebe02
Merge pull request #17 from rosen-vladimirov/vladimirov/fix-getting-path-on-win7e039ae
fix: get path on Windows from executable name1037fc0
release: prepare for 3.0.0 version8ed8d5d
Merge pull request #16 from rosen-vladimirov/vladimirov/replace-exec-with-spawnedbdaff
fix: do not allow command injection8c8ede0
Merge pull request #10 from rosen-vladimirov/dependabot/npm_and_yarn/shelljs-...898a5c4
build(deps): bump shelljs and eslintefdafef
Merge pull request #14 from rosen-vladimirov/dependabot/npm_and_yarn/minimist...64b4a14
build(deps): bump minimist and mocha916b937
Merge pull request #15 from rosen-vladimirov/vladimirov/add-integration-testsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/azgs/azlibrary_database/network/alerts).