k2hash 1.1.34 → 2.0.0
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/binding.gyp +106 -0
- package/build/cjs/index.js +296 -0
- package/build/esm/index.js +293 -0
- package/buildutils/make_node_prebuild_variables.sh +359 -0
- package/buildutils/node_prebuild.sh +371 -0
- package/buildutils/node_prebuild_install.sh +307 -0
- package/index.js +4 -1
- package/index.mjs +154 -0
- package/package.json +76 -20
- package/src/index.ts +378 -0
- package/src/k2h_cbs.cc +27 -41
- package/src/k2h_cbs.h +17 -13
- package/src/k2h_common.h +1 -1
- package/src/k2h_keyqueue.cc +513 -339
- package/src/k2h_keyqueue.h +38 -30
- package/src/k2h_keyqueue_async.h +222 -184
- package/src/k2h_queue.cc +483 -304
- package/src/k2h_queue.h +38 -30
- package/src/k2h_queue_async.h +218 -173
- package/src/k2h_shm.cc +1963 -1221
- package/src/k2h_shm.h +109 -104
- package/src/k2h_shm_async.h +722 -560
- package/src/k2hash.cc +22 -8
- package/src/k2hkeyqueue.cc +21 -8
- package/src/k2hqueue.cc +21 -8
- package/types/index.d.ts +570 -0
- package/ChangeLog +0 -137
- package/src/binding.gyp +0 -146
package/ChangeLog
DELETED
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
k2hash (1.1.34) unstable; urgency=low
|
|
2
|
-
|
|
3
|
-
* Updated a dependent package version(mocha) - #62
|
|
4
|
-
|
|
5
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Mon, 17 Feb 2025 09:35:29 +0900
|
|
6
|
-
|
|
7
|
-
k2hash (1.1.33) unstable; urgency=low
|
|
8
|
-
|
|
9
|
-
* Changed publish NodeJS versions to v22 and Fixed scripts, etc - #60
|
|
10
|
-
|
|
11
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Fri, 14 Feb 2025 08:44:57 +0900
|
|
12
|
-
|
|
13
|
-
k2hash (1.1.32) unstable; urgency=low
|
|
14
|
-
|
|
15
|
-
* Changed supported OS and NodeJS version - #58
|
|
16
|
-
|
|
17
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Thu, 21 Nov 2024 15:20:04 +0900
|
|
18
|
-
|
|
19
|
-
k2hash (1.1.31) unstable; urgency=low
|
|
20
|
-
|
|
21
|
-
* Updated dependencies - #56
|
|
22
|
-
* Updated github actions tools - #55
|
|
23
|
-
|
|
24
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Wed, 13 Mar 2024 17:23:01 +0900
|
|
25
|
-
|
|
26
|
-
k2hash (1.1.30) unstable; urgency=low
|
|
27
|
-
|
|
28
|
-
* Removed .auditignore file - #53
|
|
29
|
-
|
|
30
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Tue, 21 Nov 2023 14:52:40 +0900
|
|
31
|
-
|
|
32
|
-
k2hash (1.1.29) unstable; urgency=low
|
|
33
|
-
|
|
34
|
-
* Bumped up the version number
|
|
35
|
-
|
|
36
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Wed, 01 Nov 2023 09:17:01 +0900
|
|
37
|
-
|
|
38
|
-
k2hash (1.1.28) unstable; urgency=low
|
|
39
|
-
|
|
40
|
-
* Changed CI Runner OS and updated dependencies - #50
|
|
41
|
-
|
|
42
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Tue, 31 Oct 2023 17:01:39 +0900
|
|
43
|
-
|
|
44
|
-
k2hash (1.1.27) unstable; urgency=low
|
|
45
|
-
|
|
46
|
-
* Updated support NodeJS version - #47
|
|
47
|
-
|
|
48
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Mon, 04 Sep 2023 12:34:25 +0900
|
|
49
|
-
|
|
50
|
-
k2hash (1.1.26) unstable; urgency=low
|
|
51
|
-
|
|
52
|
-
* Updated building/packaging scripts - #44
|
|
53
|
-
|
|
54
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Mon, 06 Mar 2023 19:47:44 +0900
|
|
55
|
-
|
|
56
|
-
k2hash (1.1.25) unstable; urgency=low
|
|
57
|
-
|
|
58
|
-
* Fixed package.json for install command - #42
|
|
59
|
-
|
|
60
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Mon, 20 Feb 2023 11:13:16 +0900
|
|
61
|
-
|
|
62
|
-
k2hash (1.1.24) unstable; urgency=low
|
|
63
|
-
|
|
64
|
-
* Fixed scripts for package building and publishing - #40
|
|
65
|
-
* Re-fixed nodejs_helper.sh for npm publish - #38
|
|
66
|
-
* Fixed nodejs_helper.sh for npm publish - #36
|
|
67
|
-
|
|
68
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Fri, 17 Feb 2023 19:21:14 +0900
|
|
69
|
-
|
|
70
|
-
k2hash (1.1.23) unstable; urgency=low
|
|
71
|
-
|
|
72
|
-
* Added build flags and removed unnecessary files - #34
|
|
73
|
-
* Updated header and footer in comment lines - #33
|
|
74
|
-
* Updated issue/pullrequest templates and README.md - #31
|
|
75
|
-
* Reviewed ShellCheck processing again - #30
|
|
76
|
-
* Reviewed ShellCheck processing and fixed bugs - #29
|
|
77
|
-
* Eliminated unnecessary copies in nodejs_helper.sh - #28
|
|
78
|
-
* Updated packages - #27
|
|
79
|
-
* Fixed test.sh for not using jenkins mocha that is no longer used - #26
|
|
80
|
-
* Updated github actions and nodejs version, and fixed bugs - #25
|
|
81
|
-
* Renamed the test directory to tests and run_test.sh to test.sh - #24
|
|
82
|
-
* Removed install entry from scripts in package.json file - #23
|
|
83
|
-
* Cleaned up package.json and updated related package versions - #22
|
|
84
|
-
|
|
85
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Fri, 17 Feb 2023 13:03:40 +0900
|
|
86
|
-
|
|
87
|
-
k2hash (1.1.22) unstable; urgency=low
|
|
88
|
-
|
|
89
|
-
* Updated some npm packages, added .auditignore, etc - #20
|
|
90
|
-
|
|
91
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Wed, 25 Aug 2021 21:22:49 +0900
|
|
92
|
-
|
|
93
|
-
k2hash (1.1.21) unstable; urgency=low
|
|
94
|
-
|
|
95
|
-
* Updated README.md for badge - #17
|
|
96
|
-
|
|
97
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Fri, 20 Nov 2020 14:51:22 +0900
|
|
98
|
-
|
|
99
|
-
k2hash (1.1.20) unstable; urgency=low
|
|
100
|
-
|
|
101
|
-
* Fixed a bug in nodejs_helper.sh - #15
|
|
102
|
-
* Switched Travis CI to Github actions - #13
|
|
103
|
-
* Supported Node.js 12 and 14 - #12
|
|
104
|
-
* Fixed wrong package name in ChangeLog - #11
|
|
105
|
-
|
|
106
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Fri, 20 Nov 2020 11:44:29 +0900
|
|
107
|
-
|
|
108
|
-
k2hash (1.1.19) unstable; urgency=low
|
|
109
|
-
|
|
110
|
-
* Added k2hash nodejs addon overview image to README.md - #8
|
|
111
|
-
|
|
112
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Fri, 15 Mar 2019 11:18:54 +0900
|
|
113
|
-
|
|
114
|
-
k2hash (1.1.18) unstable; urgency=low
|
|
115
|
-
|
|
116
|
-
* Reflected the spelling check result for all sources - #2
|
|
117
|
-
|
|
118
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Thu, 17 Jan 2019 14:11:01 +0900
|
|
119
|
-
|
|
120
|
-
k2hash (1.1.17) unstable; urgency=low
|
|
121
|
-
|
|
122
|
-
* Fixed typo filename in package.json
|
|
123
|
-
* Updated .github/ISSUE_TEMPLATE.md
|
|
124
|
-
|
|
125
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Thu, 27 Dec 2018 08:48:53 +0900
|
|
126
|
-
|
|
127
|
-
k2hash (1.1.16) unstable; urgency=low
|
|
128
|
-
|
|
129
|
-
* Changed build base directory and comments in files
|
|
130
|
-
|
|
131
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Sat, 22 Dec 2018 16:19:15 +0900
|
|
132
|
-
|
|
133
|
-
k2hash (1.1.15) unstable; urgency=low
|
|
134
|
-
|
|
135
|
-
* First published version
|
|
136
|
-
|
|
137
|
-
-- Takeshi Nakatani <ggtakec@gmail.com> Fri, 21 Dec 2018 14:55:45 +0900
|
package/src/binding.gyp
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
#
|
|
2
|
-
# K2HASH
|
|
3
|
-
#
|
|
4
|
-
# Copyright 2015 Yahoo Japan Corporation.
|
|
5
|
-
#
|
|
6
|
-
# K2HASH is key-valuew store base libraries.
|
|
7
|
-
# K2HASH is made for the purpose of the construction of
|
|
8
|
-
# original KVS system and the offer of the library.
|
|
9
|
-
# The characteristic is this KVS library which Key can
|
|
10
|
-
# layer. And can support multi-processing and multi-thread,
|
|
11
|
-
# and is provided safely as available KVS.
|
|
12
|
-
#
|
|
13
|
-
# For the full copyright and license information, please view
|
|
14
|
-
# the license file that was distributed with this source code.
|
|
15
|
-
#
|
|
16
|
-
# AUTHOR: Taku Ishihara
|
|
17
|
-
# CREATE: Tue 10 Mar 2015
|
|
18
|
-
# REVISION:
|
|
19
|
-
#
|
|
20
|
-
|
|
21
|
-
{
|
|
22
|
-
"variables": {
|
|
23
|
-
"coverage": "false"
|
|
24
|
-
},
|
|
25
|
-
"targets": [
|
|
26
|
-
{
|
|
27
|
-
"target_name": "k2hash",
|
|
28
|
-
"sources": [
|
|
29
|
-
"k2hash.cc",
|
|
30
|
-
"k2h_shm.cc",
|
|
31
|
-
"k2h_queue.cc",
|
|
32
|
-
"k2h_keyqueue.cc",
|
|
33
|
-
"k2h_cbs.cc"
|
|
34
|
-
],
|
|
35
|
-
"cflags": [
|
|
36
|
-
#
|
|
37
|
-
# We get too many deprecated message building with nodejs 0.12.x.
|
|
38
|
-
# Those messages are depricated functions/methods, but we do not use those.
|
|
39
|
-
# So that we ignore these deprecated warning here.
|
|
40
|
-
#
|
|
41
|
-
"-Wno-deprecated",
|
|
42
|
-
#
|
|
43
|
-
# For nodejs 9.x/10.x, it puts about MakeCallback / CreateDataProperty / DefineOwnProperty
|
|
44
|
-
#
|
|
45
|
-
"-Wno-deprecated-declarations",
|
|
46
|
-
#
|
|
47
|
-
# For nodejs 12.x/..., it suppress warnings: "'deprecated' attribute directive ignored"
|
|
48
|
-
#
|
|
49
|
-
"-Wno-attributes",
|
|
50
|
-
#
|
|
51
|
-
# nodejs/nan#807(https://github.com/nodejs/nan/issues/807#issuecomment-455750192)
|
|
52
|
-
# recommends using the "-Wno-cast-function-type" to silence deprecations warnings
|
|
53
|
-
# that appear with GCC 8.
|
|
54
|
-
#
|
|
55
|
-
"-Wno-cast-function-type"
|
|
56
|
-
],
|
|
57
|
-
"include_dirs": [
|
|
58
|
-
"<!(node -e \"require('nan')\")"
|
|
59
|
-
],
|
|
60
|
-
"libraries": [
|
|
61
|
-
"-lk2hash"
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"target_name": "k2hqueue",
|
|
66
|
-
"sources": [
|
|
67
|
-
"k2hqueue.cc",
|
|
68
|
-
"k2h_queue.cc",
|
|
69
|
-
"k2h_cbs.cc"
|
|
70
|
-
],
|
|
71
|
-
"cflags": [
|
|
72
|
-
#
|
|
73
|
-
# We get too many deprecated message building with nodejs 0.12.x.
|
|
74
|
-
# Those messages are depricated functions/methods, but we do not use those.
|
|
75
|
-
# So that we ignore these deprecated warning here.
|
|
76
|
-
#
|
|
77
|
-
"-Wno-deprecated",
|
|
78
|
-
#
|
|
79
|
-
# For nodejs 9.x/10.x, it puts about MakeCallback / CreateDataProperty / DefineOwnProperty
|
|
80
|
-
#
|
|
81
|
-
"-Wno-deprecated-declarations",
|
|
82
|
-
#
|
|
83
|
-
# For nodejs 12.x/..., it suppress warnings: "'deprecated' attribute directive ignored"
|
|
84
|
-
#
|
|
85
|
-
"-Wno-attributes",
|
|
86
|
-
#
|
|
87
|
-
# nodejs/nan#807(https://github.com/nodejs/nan/issues/807#issuecomment-455750192)
|
|
88
|
-
# recommends using the "-Wno-cast-function-type" to silence deprecations warnings
|
|
89
|
-
# that appear with GCC 8.
|
|
90
|
-
#
|
|
91
|
-
"-Wno-cast-function-type"
|
|
92
|
-
],
|
|
93
|
-
"include_dirs": [
|
|
94
|
-
"<!(node -e \"require('nan')\")"
|
|
95
|
-
],
|
|
96
|
-
"libraries": [
|
|
97
|
-
"-lk2hash"
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"target_name": "k2hkeyqueue",
|
|
102
|
-
"sources": [
|
|
103
|
-
"k2hkeyqueue.cc",
|
|
104
|
-
"k2h_keyqueue.cc",
|
|
105
|
-
"k2h_cbs.cc"
|
|
106
|
-
],
|
|
107
|
-
"cflags": [
|
|
108
|
-
#
|
|
109
|
-
# We get too many deprecated message building with nodejs 0.12.x.
|
|
110
|
-
# Those messages are depricated functions/methods, but we do not use those.
|
|
111
|
-
# So that we ignore these deprecated warning here.
|
|
112
|
-
#
|
|
113
|
-
"-Wno-deprecated",
|
|
114
|
-
#
|
|
115
|
-
# For nodejs 9.x/10.x, it puts about MakeCallback / CreateDataProperty / DefineOwnProperty
|
|
116
|
-
#
|
|
117
|
-
"-Wno-deprecated-declarations",
|
|
118
|
-
#
|
|
119
|
-
# For nodejs 12.x/..., it suppress warnings: "'deprecated' attribute directive ignored"
|
|
120
|
-
#
|
|
121
|
-
"-Wno-attributes",
|
|
122
|
-
#
|
|
123
|
-
# nodejs/nan#807(https://github.com/nodejs/nan/issues/807#issuecomment-455750192)
|
|
124
|
-
# recommends using the "-Wno-cast-function-type" to silence deprecations warnings
|
|
125
|
-
# that appear with GCC 8.
|
|
126
|
-
#
|
|
127
|
-
"-Wno-cast-function-type"
|
|
128
|
-
],
|
|
129
|
-
"include_dirs": [
|
|
130
|
-
"<!(node -e \"require('nan')\")"
|
|
131
|
-
],
|
|
132
|
-
"libraries": [
|
|
133
|
-
"-lk2hash"
|
|
134
|
-
]
|
|
135
|
-
}
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
#
|
|
140
|
-
# Local variables:
|
|
141
|
-
# tab-width: 4
|
|
142
|
-
# c-basic-offset: 4
|
|
143
|
-
# End:
|
|
144
|
-
# vim600: noexpandtab sw=4 ts=4 fdm=marker
|
|
145
|
-
# vim<600: noexpandtab sw=4 ts=4
|
|
146
|
-
#
|