🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

@types/each

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/each - npm Package Compare versions

Comparing version
0.4.28
to
0.4.29
+39
each/index.d.ts
// Type definitions for NodeEach v0.4.9
// Project: http://www.adaltas.com/projects/node-each/
// Definitions by: Michael Zabka <https://github.com/misak113/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface Each {
paused: boolean;
readable: boolean;
started: number;
done: number;
total: number;
on(eventName: string, onCallback: Function): Each;
on(eventName: "item", onItem: (item: any, next: (error?: Error) => void) => void): Each;
on(eventName: "error", onError: (error: Error[]) => void): Each;
on(eventName: "error", onError: (error: Error) => void): Each;
on(eventName: "both", onBoth: (error?: Error[]) => void): Each;
on(eventName: "end", onEnd: () => void): Each;
parallel(mode: number): Each;
parallel(mode: boolean): Each;
shift(items: any[]): void;
write(items: any[]): void;
unshift(items: any[]): void;
end(): Each;
times(): Each;
repeat(): Each;
sync(): Each;
files(glob: any): void;
files(base: any, glob: any): void;
}
interface EachStatic {
(array: any[]): Each;
}
declare var each: EachStatic;
declare module "each" {
export = each;
}
{
"name": "@types/each",
"version": "0.4.29",
"description": "TypeScript definitions for NodeEach v0.4.9",
"license": "MIT",
"author": "Michael Zabka <https://github.com/misak113/>",
"main": "",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"scripts": {},
"dependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "bc6124ee8ada890399ec1d56a8bd4aa54a405eb949a22af34a0c54194f772169"
}
# Installation
> `npm install --save @types/each`
# Summary
This package contains type definitions for NodeEach v0.4.9 (http://www.adaltas.com/projects/node-each/).
# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/each
Additional Details
* Last updated: Mon, 19 Sep 2016 17:28:58 GMT
* File structure: Mixed
* Library Dependencies: none
* Module Dependencies: none
* Global values: each
# Credits
These definitions were written by Michael Zabka <https://github.com/misak113/>.
{
"authors": "Michael Zabka <https://github.com/misak113/>",
"definitionFilename": "index.d.ts",
"libraryDependencies": [],
"moduleDependencies": [],
"libraryMajorVersion": "0",
"libraryMinorVersion": "4",
"libraryName": "NodeEach v0.4.9",
"typingsPackageName": "each",
"projectName": "http://www.adaltas.com/projects/node-each/",
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
"sourceBranch": "types-2.0",
"kind": "Mixed",
"globals": [
"each"
],
"declaredModules": [
"each"
],
"files": [
"index.d.ts"
],
"hasPackageJson": false,
"contentHash": "bc6124ee8ada890399ec1d56a8bd4aa54a405eb949a22af34a0c54194f772169"
}
-39
// Type definitions for NodeEach v0.4.9
// Project: http://www.adaltas.com/projects/node-each/
// Definitions by: Michael Zabka <https://github.com/misak113/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface Each {
paused: boolean;
readable: boolean;
started: number;
done: number;
total: number;
on(eventName: string, onCallback: Function): Each;
on(eventName: "item", onItem: (item: any, next: (error?: Error) => void) => void): Each;
on(eventName: "error", onError: (error: Error[]) => void): Each;
on(eventName: "error", onError: (error: Error) => void): Each;
on(eventName: "both", onBoth: (error?: Error[]) => void): Each;
on(eventName: "end", onEnd: () => void): Each;
parallel(mode: number): Each;
parallel(mode: boolean): Each;
shift(items: any[]): void;
write(items: any[]): void;
unshift(items: any[]): void;
end(): Each;
times(): Each;
repeat(): Each;
sync(): Each;
files(glob: any): void;
files(base: any, glob: any): void;
}
interface EachStatic {
(array: any[]): Each;
}
declare var each: EachStatic;
declare module "each" {
export = each;
}
{
"name": "@types/each",
"version": "0.4.28",
"description": "TypeScript definitions for NodeEach v0.4.9",
"main": "",
"scripts": {},
"author": "Michael Zabka <https://github.com/misak113/>",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"license": "MIT",
"typings": "index.d.ts",
"dependencies": {}
}
# Installation
> `npm install --save @types/each`
# Summary
This package contains type definitions for NodeEach v0.4.9 (http://www.adaltas.com/projects/node-each/).
# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/each
Additional Details
* Last updated: Thu, 14 Jul 2016 13:52:39 GMT
* File structure: Mixed
* Library Dependencies: none
* Module Dependencies: none
* Global values: each
# Credits
These definitions were written by Michael Zabka <https://github.com/misak113/>.
{
"authors": "Michael Zabka <https://github.com/misak113/>",
"definitionFilename": "index.d.ts",
"libraryDependencies": [],
"moduleDependencies": [],
"libraryMajorVersion": "0",
"libraryMinorVersion": "4",
"libraryName": "NodeEach v0.4.9",
"typingsPackageName": "each",
"projectName": "http://www.adaltas.com/projects/node-each/",
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
"sourceBranch": "types-2.0",
"kind": "Mixed",
"globals": [
"each"
],
"declaredModules": [
"each"
],
"files": [
"index.d.ts"
],
"contentHash": "bc6124ee8ada890399ec1d56a8bd4aa54a405eb949a22af34a0c54194f772169"
}