node-priority
Advanced tools
+1
-1
| { | ||
| "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", |
+3
-6
@@ -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) |
7388
-1.52%