@harperfast/rocksdb-js
Advanced tools
+3
-1
@@ -90,2 +90,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
| const shutdown = binding.shutdown; | ||
| const currentThreadId = binding.currentThreadId; | ||
| const stats = binding.stats; | ||
@@ -1912,3 +1913,3 @@ const version = binding.version; | ||
| rocksdb: version, | ||
| "rocksdb-js": "1.0.0" | ||
| "rocksdb-js": "1.0.1" | ||
| }; | ||
@@ -1924,2 +1925,3 @@ | ||
| exports.constants = constants; | ||
| exports.currentThreadId = currentThreadId; | ||
| exports.parseTransactionLog = parseTransactionLog; | ||
@@ -1926,0 +1928,0 @@ exports.registryStatus = registryStatus; |
+2
-1
@@ -531,2 +531,3 @@ import { ExtendedIterable } from "@harperfast/extended-iterable"; | ||
| declare const shutdown: () => void; | ||
| declare const currentThreadId: () => number; | ||
| declare const stats: { | ||
@@ -1249,3 +1250,3 @@ histograms: string[]; | ||
| //#endregion | ||
| export { DBI, DBIterator, type IteratorOptions, type Key, RocksDatabase, type RocksDatabaseOptions, type StatsHistogramData, Store, type StoreContext, type StoreGetOptions, type StoreIteratorOptions, type StorePutOptions, type StoreRangeOptions, type StoreRemoveOptions, Transaction, type TransactionEntry, TransactionLog, constants, parseTransactionLog, registryStatus, shutdown, stats, versions }; | ||
| export { DBI, DBIterator, type IteratorOptions, type Key, RocksDatabase, type RocksDatabaseOptions, type StatsHistogramData, Store, type StoreContext, type StoreGetOptions, type StoreIteratorOptions, type StorePutOptions, type StoreRangeOptions, type StoreRemoveOptions, Transaction, type TransactionEntry, TransactionLog, constants, currentThreadId, parseTransactionLog, registryStatus, shutdown, stats, versions }; | ||
| //# sourceMappingURL=index.d.cts.map |
+2
-1
@@ -531,2 +531,3 @@ import { ExtendedIterable } from "@harperfast/extended-iterable"; | ||
| declare const shutdown: () => void; | ||
| declare const currentThreadId: () => number; | ||
| declare const stats: { | ||
@@ -1249,3 +1250,3 @@ histograms: string[]; | ||
| //#endregion | ||
| export { DBI, DBIterator, type IteratorOptions, type Key, RocksDatabase, type RocksDatabaseOptions, type StatsHistogramData, Store, type StoreContext, type StoreGetOptions, type StoreIteratorOptions, type StorePutOptions, type StoreRangeOptions, type StoreRemoveOptions, Transaction, type TransactionEntry, TransactionLog, constants, parseTransactionLog, registryStatus, shutdown, stats, versions }; | ||
| export { DBI, DBIterator, type IteratorOptions, type Key, RocksDatabase, type RocksDatabaseOptions, type StatsHistogramData, Store, type StoreContext, type StoreGetOptions, type StoreIteratorOptions, type StorePutOptions, type StoreRangeOptions, type StoreRemoveOptions, Transaction, type TransactionEntry, TransactionLog, constants, currentThreadId, parseTransactionLog, registryStatus, shutdown, stats, versions }; | ||
| //# sourceMappingURL=index.d.mts.map |
+3
-2
@@ -65,2 +65,3 @@ import { createRequire } from "node:module"; | ||
| const shutdown = binding.shutdown; | ||
| const currentThreadId = binding.currentThreadId; | ||
| const stats = binding.stats; | ||
@@ -1887,7 +1888,7 @@ const version = binding.version; | ||
| rocksdb: version, | ||
| "rocksdb-js": "1.0.0" | ||
| "rocksdb-js": "1.0.1" | ||
| }; | ||
| //#endregion | ||
| export { DBI, DBIterator, RocksDatabase, Store, Transaction, TransactionLog, constants, parseTransactionLog, registryStatus, shutdown, stats, versions }; | ||
| export { DBI, DBIterator, RocksDatabase, Store, Transaction, TransactionLog, constants, currentThreadId, parseTransactionLog, registryStatus, shutdown, stats, versions }; | ||
| //# sourceMappingURL=index.mjs.map |
+9
-9
| { | ||
| "name": "@harperfast/rocksdb-js", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "description": "RocksDB binding for Node.js", | ||
@@ -55,10 +55,10 @@ "homepage": "https://github.com/HarperFast/rocksdb-js", | ||
| "optionalDependencies": { | ||
| "@harperfast/rocksdb-js-darwin-arm64": "1.0.0", | ||
| "@harperfast/rocksdb-js-darwin-x64": "1.0.0", | ||
| "@harperfast/rocksdb-js-linux-arm64-glibc": "1.0.0", | ||
| "@harperfast/rocksdb-js-linux-arm64-musl": "1.0.0", | ||
| "@harperfast/rocksdb-js-linux-x64-glibc": "1.0.0", | ||
| "@harperfast/rocksdb-js-linux-x64-musl": "1.0.0", | ||
| "@harperfast/rocksdb-js-win32-arm64": "1.0.0", | ||
| "@harperfast/rocksdb-js-win32-x64": "1.0.0" | ||
| "@harperfast/rocksdb-js-darwin-arm64": "1.0.1", | ||
| "@harperfast/rocksdb-js-darwin-x64": "1.0.1", | ||
| "@harperfast/rocksdb-js-linux-arm64-glibc": "1.0.1", | ||
| "@harperfast/rocksdb-js-linux-arm64-musl": "1.0.1", | ||
| "@harperfast/rocksdb-js-linux-x64-glibc": "1.0.1", | ||
| "@harperfast/rocksdb-js-linux-x64-musl": "1.0.1", | ||
| "@harperfast/rocksdb-js-win32-arm64": "1.0.1", | ||
| "@harperfast/rocksdb-js-win32-x64": "1.0.1" | ||
| }, | ||
@@ -65,0 +65,0 @@ "engines": { |
+9
-0
@@ -1028,2 +1028,11 @@ # rocksdb-js | ||
| ### `currentThreadId(): number` | ||
| Returns the current thread ID. | ||
| ```typescript | ||
| import { currentThreadId } from '@harperfast/rocksdb-js'; | ||
| console.log(currentThreadId()); | ||
| ``` | ||
| ### `registryStatus(): RegistryStatus` | ||
@@ -1030,0 +1039,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
487539
0.14%3793
0.08%1329
0.68%