k2hash 2.0.1 → 2.0.3
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.
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Utility helper tools for Github Actions by AntPickax
|
|
4
4
|
#
|
|
5
|
-
# Copyright
|
|
5
|
+
# Copyright 2025 Yahoo Japan Corporation.
|
|
6
6
|
#
|
|
7
|
-
#
|
|
8
|
-
# K2HASH is made for the purpose of the construction of
|
|
9
|
-
# original KVS system and the offer of the library.
|
|
10
|
-
# The characteristic is this KVS library which Key can
|
|
11
|
-
# layer. And can support multi-processing and multi-thread,
|
|
12
|
-
# and is provided safely as available KVS.
|
|
7
|
+
# AntPickax provides utility tools for supporting nodejs addon.
|
|
13
8
|
#
|
|
9
|
+
# These tools retrieve the necessary information from the
|
|
10
|
+
# repository and appropriately set the setting values of
|
|
11
|
+
# configure, Makefile, spec,etc file and so on.
|
|
12
|
+
# These tools were recreated to reduce the number of fixes and
|
|
13
|
+
# reduce the workload of developers when there is a change in
|
|
14
|
+
# the project configuration.
|
|
15
|
+
#
|
|
14
16
|
# For the full copyright and license information, please view
|
|
15
17
|
# the license file that was distributed with this source code.
|
|
16
18
|
#
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Utility helper tools for Github Actions by AntPickax
|
|
4
4
|
#
|
|
5
|
-
# Copyright
|
|
5
|
+
# Copyright 2025 Yahoo Japan Corporation.
|
|
6
6
|
#
|
|
7
|
-
#
|
|
8
|
-
# K2HASH is made for the purpose of the construction of
|
|
9
|
-
# original KVS system and the offer of the library.
|
|
10
|
-
# The characteristic is this KVS library which Key can
|
|
11
|
-
# layer. And can support multi-processing and multi-thread,
|
|
12
|
-
# and is provided safely as available KVS.
|
|
7
|
+
# AntPickax provides utility tools for supporting nodejs addon.
|
|
13
8
|
#
|
|
9
|
+
# These tools retrieve the necessary information from the
|
|
10
|
+
# repository and appropriately set the setting values of
|
|
11
|
+
# configure, Makefile, spec,etc file and so on.
|
|
12
|
+
# These tools were recreated to reduce the number of fixes and
|
|
13
|
+
# reduce the workload of developers when there is a change in
|
|
14
|
+
# the project configuration.
|
|
15
|
+
#
|
|
14
16
|
# For the full copyright and license information, please view
|
|
15
17
|
# the license file that was distributed with this source code.
|
|
16
18
|
#
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# Utility helper tools for Github Actions by AntPickax
|
|
4
4
|
#
|
|
5
|
-
# Copyright
|
|
5
|
+
# Copyright 2025 Yahoo Japan Corporation.
|
|
6
6
|
#
|
|
7
|
-
#
|
|
8
|
-
# K2HASH is made for the purpose of the construction of
|
|
9
|
-
# original KVS system and the offer of the library.
|
|
10
|
-
# The characteristic is this KVS library which Key can
|
|
11
|
-
# layer. And can support multi-processing and multi-thread,
|
|
12
|
-
# and is provided safely as available KVS.
|
|
7
|
+
# AntPickax provides utility tools for supporting nodejs addon.
|
|
13
8
|
#
|
|
9
|
+
# These tools retrieve the necessary information from the
|
|
10
|
+
# repository and appropriately set the setting values of
|
|
11
|
+
# configure, Makefile, spec,etc file and so on.
|
|
12
|
+
# These tools were recreated to reduce the number of fixes and
|
|
13
|
+
# reduce the workload of developers when there is a change in
|
|
14
|
+
# the project configuration.
|
|
15
|
+
#
|
|
14
16
|
# For the full copyright and license information, please view
|
|
15
17
|
# the license file that was distributed with this source code.
|
|
16
18
|
#
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "k2hash",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "K2HASH addon library for Node.js",
|
|
5
5
|
"os": "linux",
|
|
6
6
|
"main": "index.js",
|
|
@@ -104,6 +104,7 @@
|
|
|
104
104
|
"license": "MIT",
|
|
105
105
|
"exports": {
|
|
106
106
|
".": {
|
|
107
|
+
"types": "./types/index.d.ts",
|
|
107
108
|
"import": "./index.mjs",
|
|
108
109
|
"require": "./index.js"
|
|
109
110
|
}
|
package/src/k2hash.cc
CHANGED
|
@@ -38,7 +38,7 @@ Napi::Value CreateObject(const Napi::CallbackInfo& info)
|
|
|
38
38
|
Napi::Object InitAll(Napi::Env env, Napi::Object exports)
|
|
39
39
|
{
|
|
40
40
|
// Class registration (creating a constructor)
|
|
41
|
-
K2hNode::Init(env, exports);
|
|
41
|
+
K2hNode::Init(env, exports);
|
|
42
42
|
|
|
43
43
|
// Create a factory function that returns module.exports
|
|
44
44
|
Napi::Function createFn = Napi::Function::New(env, CreateObject, "k2hash");
|
package/types/index.d.ts
CHANGED
|
@@ -558,6 +558,9 @@ declare module 'k2hash'
|
|
|
558
558
|
export type K2hQueue = k2hash.K2hQueue;
|
|
559
559
|
export type K2hKeyQueue = k2hash.K2hKeyQueue;
|
|
560
560
|
export type K2hashFactoryType = k2hash.K2hashFactoryType;
|
|
561
|
+
|
|
562
|
+
// Add convenient alias (PascalCase)
|
|
563
|
+
export type K2hash = K2hNode;
|
|
561
564
|
}
|
|
562
565
|
|
|
563
566
|
/*
|