New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@types/level-js

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

@types/level-js - npm Package Compare versions

Comparing version
4.0.1
to
4.0.2
+2
-2
level-js/index.d.ts

@@ -18,4 +18,4 @@ // Type definitions for level-js 4.0

interface LevelOptions {
readonly prefix?: string;
readonly version?: string | number;
readonly prefix?: string | undefined;
readonly version?: string | number | undefined;
}

@@ -22,0 +22,0 @@

MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "@types/level-js",
"version": "4.0.1",
"version": "4.0.2",
"description": "TypeScript definitions for level-js",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/level-js",
"license": "MIT",

@@ -14,3 +15,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -25,4 +26,4 @@ "type": "git",

},
"typesPublisherContentHash": "29ba2776ae1ef1c05382450399d05bc0c2512b3983411042ac145adb0c1381c5",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "320af8076ec76e146bc51cb59376b4154b98c54b6df2bca669fd9a121f943728",
"typeScriptVersion": "3.6"
}

@@ -8,10 +8,42 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/level-js
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/level-js.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/level-js/index.d.ts)
````ts
// Type definitions for level-js 4.0
// Project: https://github.com/Level/level-js
// Definitions by: Daniel Byrne <https://github.com/danwbyrne>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
Additional Details
* Last updated: Wed, 19 Jun 2019 23:09:37 GMT
* Dependencies: @types/abstract-leveldown
import { AbstractLevelDOWN, AbstractOptions } from 'abstract-leveldown';
interface Level extends AbstractLevelDOWN {
readonly location: string;
readonly prefix: string;
readonly version: string | number;
destroy(location: string, cb: (err: Error | undefined) => void): void;
destroy(location: string, prefix: string, cb: (err: Error | undefined) => void): void;
}
interface LevelOptions {
readonly prefix?: string | undefined;
readonly version?: string | number | undefined;
}
interface LevelConstructor {
new (location: string, options?: LevelOptions): Level;
(location: string, options?: LevelOptions): Level;
}
declare const Level: LevelConstructor;
export = Level;
````
### Additional Details
* Last updated: Thu, 08 Jul 2021 16:23:42 GMT
* Dependencies: [@types/abstract-leveldown](https://npmjs.com/package/@types/abstract-leveldown)
* Global values: none
# Credits
These definitions were written by Daniel Byrne <https://github.com/danwbyrne>.
These definitions were written by [Daniel Byrne](https://github.com/danwbyrne).