New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-priority

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-priority - npm Package Compare versions

Comparing version
0.1.3
to
0.1.5
+1
-1
package.json
{
"name": "node-priority",
"version": "0.1.3",
"version": "0.1.5",
"description": "exposes the getpriority and setpriority system calls for adjusting priority",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/bpowers/node-priority",

@@ -99,10 +99,7 @@ // Copyright 2015 Bobby Powers. All rights reserved.

// constants
Nan::Set(target, Nan::New("Process").ToLocalChecked(),
v8::Integer::New(v8::Isolate::GetCurrent(), (int)PRIO_PROCESS));
Nan::Set(target, Nan::New("Pgrp").ToLocalChecked(),
v8::Integer::New(v8::Isolate::GetCurrent(), (int)PRIO_PGRP));
Nan::Set(target, Nan::New("User").ToLocalChecked(),
v8::Integer::New(v8::Isolate::GetCurrent(), (int)PRIO_USER));
Nan::Set(target, Nan::New("Process").ToLocalChecked(), Nan::New((int)PRIO_PROCESS));
Nan::Set(target, Nan::New("Pgrp").ToLocalChecked(), Nan::New((int)PRIO_PGRP));
Nan::Set(target, Nan::New("User").ToLocalChecked(), Nan::New((int)PRIO_USER));
}
NODE_MODULE(priority, Init)