🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@harperfast/rocksdb-js

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harperfast/rocksdb-js - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+3
-1
dist/index.cjs

@@ -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;

@@ -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

@@ -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

@@ -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
{
"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": {

@@ -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