Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

encoding-down

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

encoding-down - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

45

index.d.ts

@@ -1,31 +0,22 @@

import * as Abstract from 'abstract-leveldown';
import { CodecOptions as _CodecOptions, CodecEncoder as _CodecEncoder } from 'level-codec';
import { AbstractLevelDOWN } from 'abstract-leveldown';
declare namespace encoding {
export type CodecOptions = _CodecOptions;
export type CodecEncoder = _CodecEncoder;
import { CodecOptions } from 'level-codec';
export { CodecOptions, CodecEncoder } from 'level-codec';
export interface EncodingDOWN<K=any, V=any, O={}, PO={}, GO={}, DO={}, IO={}, BO={}> extends AbstractLevelDOWN<
K, V, O, PO & CodecOptions, GO & CodecOptions, DO & CodecOptions, IO & CodecOptions, BO & CodecOptions> {
}
declare function encoding<
TKey=any,
TValue=any,
TOptions=any,
TPutOptions=any,
TGetOptions=any,
TDeleteOptions=any,
TIteratorOptions=any,
TBatchOptions=any
>(
db: Abstract.LevelDOWN<TKey, TValue, TOptions, TPutOptions, TGetOptions, TDeleteOptions, TIteratorOptions, TBatchOptions>,
options?: encoding.CodecOptions
): Abstract.LevelDOWN<
TKey,
TValue,
TOptions,
TPutOptions & encoding.CodecOptions,
TGetOptions & encoding.CodecOptions,
TDeleteOptions & encoding.CodecOptions,
TIteratorOptions & encoding.CodecOptions,
TBatchOptions & encoding.CodecOptions>;
interface EncodingDOWNConstructor {
<K=any, V=any, O={}, PO={}, GO={}, DO={}, IO={}, BO={}>(
db: AbstractLevelDOWN<any, any, O, PO, GO, DO, IO, BO>,
options?: CodecOptions
): EncodingDOWN<K, V, O, PO, GO, DO, IO, BO>
new <K=any, V=any, O={}, PO={}, GO={}, DO={}, IO={}, BO={}>(
db: AbstractLevelDOWN<any, any, O, PO, GO, DO, IO, BO>,
options?: CodecOptions
): EncodingDOWN<K, V, O, PO, GO, DO, IO, BO>
}
export = encoding;
declare const EncodingDOWN: EncodingDOWNConstructor;
export default EncodingDOWN;

4

package.json
{
"name": "encoding-down",
"version": "2.3.0",
"version": "2.3.1",
"license": "MIT",

@@ -19,3 +19,3 @@ "repository": "level/encoding-down",

"dependencies": {
"abstract-leveldown": "^2.7.0",
"abstract-leveldown": "^2.7.1",
"level-codec": "^7.0.0",

@@ -22,0 +22,0 @@ "level-errors": "^1.0.4"

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