Skip to content

fix(security): CWE-1333#25

Open
NathanWalker wants to merge 1 commit intomasterfrom
fix/remove-vuln-glob
Open

fix(security): CWE-1333#25
NathanWalker wants to merge 1 commit intomasterfrom
fix/remove-vuln-glob

Conversation

@NathanWalker
Copy link
Contributor

  • replacing vulnerable third-party dependency with native Node.js methods for improved maintainability
  • Removed the use of the mkdirp and glob packages, simplifying dependency management (index.js).
  • Replaced mkdirp.sync with the native fs.mkdirSync method using the { recursive: true } option to create directories recursively (index.js).
  • Replaced glob.sync with fs.readdirSync and a simple string matching to check for installed hooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant