github-current-user
Advanced tools
+2
-2
| { | ||
| "name": "github-current-user", | ||
| "description": "Verify the current GitHub user via their private keys", | ||
| "version": "2.4.0", | ||
| "version": "2.4.1", | ||
| "author": "Beau Gunderson <beau@beaugunderson.com>", | ||
@@ -17,3 +17,3 @@ "bin": { | ||
| "github-username": "^1.1.1", | ||
| "parse-git-config": "^0.3.0", | ||
| "parse-git-config": "^0.3.1", | ||
| "request": "^2.55.0" | ||
@@ -20,0 +20,0 @@ }, |
-7
| var user = require('./github-current-user'); | ||
| user.verify(function (err, verified, username) { | ||
| // if verified === true, the user has the correct private key or ssh-agent | ||
| // for the username in the `username` | ||
| console.log(err, verified, username); | ||
| }); |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3995
-6.02%5
-16.67%57
-9.52%1
Infinity%Updated