k2hash 1.1.26 → 1.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ChangeLog +12 -0
- package/package.json +3 -3
- package/src/k2h_cbs.cc +2 -2
package/ChangeLog
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
k2hash (1.1.28) unstable; urgency=low
|
|
2
|
+
|
|
3
|
+
* Changed CI Runner OS and updated dependencies - #50
|
|
4
|
+
|
|
5
|
+
-- Takeshi Nakatani <ggtakec@gmail.com> Tue, 31 Oct 2023 17:01:39 +0900
|
|
6
|
+
|
|
7
|
+
k2hash (1.1.27) unstable; urgency=low
|
|
8
|
+
|
|
9
|
+
* Updated support NodeJS version - #47
|
|
10
|
+
|
|
11
|
+
-- Takeshi Nakatani <ggtakec@gmail.com> Mon, 04 Sep 2023 12:34:25 +0900
|
|
12
|
+
|
|
1
13
|
k2hash (1.1.26) unstable; urgency=low
|
|
2
14
|
|
|
3
15
|
* Updated building/packaging scripts - #44
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "k2hash",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.28",
|
|
4
4
|
"description": "K2HASH addon library for Node.js",
|
|
5
5
|
"os": "linux",
|
|
6
6
|
"main": "index.js",
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"bindings": "^1.5.0",
|
|
12
|
-
"nan": "^2.
|
|
12
|
+
"nan": "^2.18.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"chai": "^4.3.
|
|
15
|
+
"chai": "^4.3.10",
|
|
16
16
|
"mocha": "^10.2.0"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
package/src/k2h_cbs.cc
CHANGED
|
@@ -74,7 +74,7 @@ bool StackEmitCB::Set(const char* pemitname, Nan::Callback* cbfunc)
|
|
|
74
74
|
|
|
75
75
|
while(!flck_trylock_noshared_mutex(&lockval)); // LOCK
|
|
76
76
|
|
|
77
|
-
Nan::Callback* oldcbfunc = RawFind(pemitname);
|
|
77
|
+
const Nan::Callback* oldcbfunc = RawFind(pemitname);
|
|
78
78
|
if(oldcbfunc){
|
|
79
79
|
EmitCbsMap.erase(stremit);
|
|
80
80
|
}
|
|
@@ -95,7 +95,7 @@ bool StackEmitCB::Unset(const char* pemitname)
|
|
|
95
95
|
|
|
96
96
|
while(!flck_trylock_noshared_mutex(&lockval)); // LOCK
|
|
97
97
|
|
|
98
|
-
Nan::Callback* oldcbfunc = RawFind(pemitname);
|
|
98
|
+
const Nan::Callback* oldcbfunc = RawFind(pemitname);
|
|
99
99
|
if(oldcbfunc){
|
|
100
100
|
EmitCbsMap.erase(stremit);
|
|
101
101
|
}
|