Socket
Socket
Sign inDemoInstall

abstract-level

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-level - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

9

CHANGELOG.md
# Changelog
## [1.0.2] - 2022-03-06
### Fixed
- Fix TypeScript declaration of chained batch `write()` options ([`392b7f7`](https://github.com/Level/abstract-level/commit/392b7f7)) (Vincent Weevers)
- Document the return type of `db.batch()` and add example ([`9739bba`](https://github.com/Level/abstract-level/commit/9739bba)) (Vincent Weevers)
## [1.0.1] - 2022-02-06

@@ -15,4 +22,6 @@

[1.0.2]: https://github.com/Level/abstract-level/releases/tag/v1.0.2
[1.0.1]: https://github.com/Level/abstract-level/releases/tag/v1.0.1
[1.0.0]: https://github.com/Level/abstract-level/releases/tag/v1.0.0

3

index.d.ts

@@ -29,3 +29,4 @@ export {

AbstractChainedBatchPutOptions,
AbstractChainedBatchDelOptions
AbstractChainedBatchDelOptions,
AbstractChainedBatchWriteOptions
} from './types/abstract-chained-batch'

@@ -32,0 +33,0 @@

{
"name": "abstract-level",
"version": "1.0.1",
"version": "1.0.2",
"description": "Abstract class for a lexicographically sorted key-value database",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -48,5 +48,5 @@ import * as Transcoder from 'level-transcoder'

write (): Promise<void>
write (options: {}): Promise<void>
write (options: AbstractChainedBatchWriteOptions): Promise<void>
write (callback: NodeCallback<void>): void
write (options: {}, callback: NodeCallback<void>): void
write (options: AbstractChainedBatchWriteOptions, callback: NodeCallback<void>): void

@@ -117,1 +117,9 @@ /**

}
/**
* Options for the {@link AbstractChainedBatch.write} method.
*/
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface AbstractChainedBatchWriteOptions {
// There are no abstract options but implementations may add theirs.
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc