Socket
Socket
Sign inDemoInstall

uid-number

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uid-number - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

LICENCE

5

package.json

@@ -5,3 +5,3 @@ {

"description": "Convert a username/group name to a uid/gid number",
"version": "0.0.2",
"version": "0.0.3",
"repository": {

@@ -17,3 +17,4 @@ "type": "git",

"node": "*"
}
},
"license": "BSD"
}

2

uid-number.js

@@ -28,3 +28,3 @@ module.exports = uidNumber

if (typeof gid === "number" && typeof uid === "number") {
return process.nextTick(cb.bind(null, uid, gid))
return process.nextTick(cb.bind(null, null, uid, gid))
}

@@ -31,0 +31,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc