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

spex

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spex - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

10

package.json
{
"name": "spex",
"version": "2.1.0",
"version": "2.2.0",
"description": "Specialized Promise Extensions",

@@ -44,11 +44,11 @@ "main": "lib/index.js",

"devDependencies": {
"bluebird": "3.5.2",
"bluebird": "3.5.3",
"browserify": "16.2.3",
"coveralls": "3.0.2",
"eslint": "5.7.0",
"coveralls": "3.0.3",
"eslint": "5.15.1",
"istanbul": "0.4.5",
"jasmine-node": "1.16.2",
"jsdoc": "3.5.5",
"typescript": "3.1.3"
"typescript": "3.3.3333"
}
}

@@ -74,3 +74,3 @@ # Specialized Promise Extensions

Copyright © 2018 [Vitaly Tomilov](https://github.com/vitaly-t);
Copyright © 2019 [Vitaly Tomilov](https://github.com/vitaly-t);
Released under the MIT license.

@@ -77,0 +77,0 @@

@@ -16,3 +16,3 @@ ## TypeScript for SPEX

type BatchError = typeof spex.errors.BatchError;
type BatchError = spexLib.errors.BatchError;

@@ -19,0 +19,0 @@ spex.batch([1, 2, 3])

@@ -53,71 +53,69 @@ ////////////////////////////////////////

// API: http://vitaly-t.github.io/spex/errors.BatchError.html
interface IBatchError extends Error {
// Errors namespace
// API: http://vitaly-t.github.io/spex/errors.html
namespace errors {
// API: http://vitaly-t.github.io/spex/errors.BatchError.html
class BatchError extends Error {
// standard error properties:
name: string;
message: string;
stack: string;
// standard error properties:
name: string;
message: string;
stack: string;
// extended properties:
data: Array<TBatchData>;
// extended properties:
data: Array<TBatchData>;
stat: IBatchStat;
stat: IBatchStat;
first: any;
first: any;
// API: http://vitaly-t.github.io/spex/errors.BatchError.html#.getErrors
getErrors(): Array<any>;
// API: http://vitaly-t.github.io/spex/errors.BatchError.html#.getErrors
getErrors(): Array<any>;
// API: http://vitaly-t.github.io/spex/errors.BatchError.html#.toString
toString(): string;
}
// API: http://vitaly-t.github.io/spex/errors.BatchError.html#.toString
toString(): string;
}
// API: http://vitaly-t.github.io/spex/errors.PageError.html
interface IPageError extends Error {
// API: http://vitaly-t.github.io/spex/errors.PageError.html
class PageError extends Error {
// standard error properties:
name: string;
message: string;
stack: string;
// standard error properties:
name: string;
message: string;
stack: string;
// extended properties:
error: any;
index: number;
duration: number;
reason: string;
source: any;
dest: any;
// extended properties:
error: any;
index: number;
duration: number;
reason: string;
source: any;
dest: any;
// API: http://vitaly-t.github.io/spex/errors.PageError.html#.toString
toString(): string;
}
// API: http://vitaly-t.github.io/spex/errors.PageError.html#.toString
toString(): string;
}
// API: http://vitaly-t.github.io/spex/errors.SequenceError.html
interface ISequenceError extends Error {
// API: http://vitaly-t.github.io/spex/errors.SequenceError.html
class SequenceError extends Error {
// standard error properties:
name: string;
message: string;
stack: string;
// standard error properties:
name: string;
message: string;
stack: string;
// extended properties:
error: any;
index: number;
duration: number;
reason: string;
source: any;
dest: any;
// extended properties:
error: any;
index: number;
duration: number;
reason: string;
source: any;
dest: any;
// API: http://vitaly-t.github.io/spex/errors.SequenceError.html#.toString
toString(): string;
// API: http://vitaly-t.github.io/spex/errors.SequenceError.html#.toString
toString(): string;
}
}
interface IErrors {
BatchError: IBatchError;
PageError: IPageError;
SequenceError: ISequenceError;
}
// API: http://vitaly-t.github.io/spex/stream.html

@@ -154,3 +152,3 @@ interface IStream {

// API: http://vitaly-t.github.io/spex/errors.html
errors: IErrors;
errors: typeof errors;
}

@@ -157,0 +155,0 @@

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