native-is-elevated
Advanced tools
Comparing version 0.2.1 to 0.3.0
'use strict'; | ||
var lib = null; | ||
@@ -7,3 +8,3 @@ var tried = false; | ||
module.exports = function() { | ||
module.exports = function () { | ||
if (returned) { | ||
@@ -17,3 +18,3 @@ return retValue; | ||
try { | ||
lib = require('./build/Release/is-elevated'); | ||
lib = require('./build/Release/iselevated'); | ||
} catch (err) { | ||
@@ -20,0 +21,0 @@ console.error(err); |
{ | ||
"name": "native-is-elevated", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Native module for checking if the process is being run with elevated privileges", | ||
@@ -25,4 +25,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"ava": "^0.18.2" | ||
"ava": "^2.2.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4641