@types/nedb
Advanced tools
Comparing version 1.8.6 to 1.8.7
@@ -8,6 +8,10 @@ // Type definitions for NeDB 1.8 | ||
/// <reference types="node" /> | ||
import { EventEmitter } from 'events'; | ||
export = Nedb; | ||
export as namespace Nedb; | ||
declare class Nedb { | ||
declare class Nedb extends EventEmitter { | ||
constructor(pathOrOptions?: string | Nedb.DataStoreOptions); | ||
@@ -157,2 +161,13 @@ | ||
remove(query: any, cb?: (err: Error, n: number) => void): void; | ||
addListener(event: 'compaction.done', listener: () => void): this; | ||
on(event: 'compaction.done', listener: () => void): this; | ||
once(event: 'compaction.done', listener: () => void): this; | ||
prependListener(event: 'compaction.done', listener: () => void): this; | ||
prependOnceListener(event: 'compaction.done', listener: () => void): this; | ||
removeListener(event: 'compaction.done', listener: () => void): this; | ||
off(event: 'compaction.done', listener: () => void): this; | ||
listeners(event: 'compaction.done'): Array<() => void>; | ||
rawListeners(event: 'compaction.done'): Array<() => void>; | ||
listenerCount(type: 'compaction.done'): number; | ||
} | ||
@@ -159,0 +174,0 @@ |
{ | ||
"name": "@types/nedb", | ||
"version": "1.8.6", | ||
"version": "1.8.7", | ||
"description": "TypeScript definitions for NeDB", | ||
@@ -24,2 +24,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
@@ -30,5 +31,7 @@ "type": "git", | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "9dec5d7b2e67f420273f32ea259de7d3ff78ed1556585420bc25a0999d930093", | ||
"dependencies": { | ||
"@types/node": "*" | ||
}, | ||
"typesPublisherContentHash": "7571fb3365f1b5048f737734325c40d057dd1d5607bfc25ca67963d55674a7ac", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,4 +11,4 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 17 Sep 2018 17:19:24 GMT | ||
* Dependencies: none | ||
* Last updated: Mon, 31 Dec 2018 18:25:27 GMT | ||
* Dependencies: @types/node | ||
* Global values: Nedb | ||
@@ -15,0 +15,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13642
211
1
+ Added@types/node@*
+ Added@types/node@22.10.2(transitive)
+ Addedundici-types@6.20.0(transitive)