Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

native-is-elevated

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

native-is-elevated - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

src/iselevated.cc

5

index.js
'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);

4

package.json
{
"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

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