![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Temporarily overrides the command line arguments. This is useful for testing.
Temporarily overrides the command line arguments. This is useful for testing.
# npm
$ npm install mock-argv
# Yarn
$ yarn add mock-argv
const mockArgv = require('mock-argv')
test('works', async () => {
mockArgv(['foo', 'bar'], () => {
//> process.argv = [
//> 'path-to-node',
//> 'path-to-current-script',
//> 'foo',
//> 'bar',
//> ]
})
//> process.argv = ['path-to-node', 'path-to-current-script', '...other-params']
// Also works for async functions
})
Are you missing something or want to contribute? Feel free to file an issue or a pull request! ⚙️
Hey, I am Sebastian Landwehr, a freelance web developer, and I love developing web apps and open source packages. If you want to support me so that I can keep packages up to date and build more helpful tools, you can donate here:
If you want to send me a one time donation. The coffee is pretty good 😊.
Also for one time donations if you like PayPal.
Here you can support me regularly, which is great so I can steadily work on projects.
Thanks a lot for your support! ❤️
FAQs
Temporarily overrides the command line arguments. This is useful for testing.
The npm package mock-argv receives a total of 29 weekly downloads. As such, mock-argv popularity was classified as not popular.
We found that mock-argv demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.