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

@types/power-assert

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/power-assert - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

2

power-assert/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for power-assert 1.5.1
// Type definitions for power-assert 1.5.2
// Project: https://github.com/twada/power-assert

@@ -3,0 +3,0 @@ // Definitions by: vvakame <https://github.com/vvakame>

{
"name": "@types/power-assert",
"version": "1.5.1",
"version": "1.5.2",
"description": "TypeScript definitions for power-assert",

@@ -32,4 +32,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "6d12ed3b461491199a5fbba9331bbf53cf7fa68051187d0def9b98eb654a3d4c",
"typesPublisherContentHash": "45449d7f5c71886728f1d09fd4bfb22d106f66920f4916cc3ce9b142f2e3ecd4",
"typeScriptVersion": "2.8"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sat, 07 Dec 2019 22:30:34 GMT
* Last updated: Sun, 08 Dec 2019 03:02:34 GMT
* Dependencies: [@types/empower](https://npmjs.com/package/@types/empower), [@types/power-assert-formatter](https://npmjs.com/package/@types/power-assert-formatter), [@types/empower](https://npmjs.com/package/@types/empower), [@types/power-assert-formatter](https://npmjs.com/package/@types/power-assert-formatter)

@@ -14,0 +14,0 @@ * Global values: `assert`

@@ -1,2 +0,2 @@

// Type definitions for power-assert 1.5.1
// Type definitions for power-assert 1.5.2
// Project: https://github.com/twada/power-assert

@@ -8,4 +8,7 @@ // Definitions by: vvakame <https://github.com/vvakame>

import * as module from "../index";
/// <reference types="empower" />
/// <reference types="power-assert-formatter" />
import * as empower from "empower";
export = assert;

@@ -16,23 +19,45 @@ export as namespace assert;

declare namespace assert {
export import AssertionError = module.AssertionError;
export class AssertionError implements Error {
name: string;
message: string;
actual: any;
expected: any;
operator: string;
generatedMessage: boolean;
export import fail = module.fail;
constructor(options?: { message?: string; actual?: any; expected?: any; operator?: string; stackStartFunction?: Function });
}
export function fail(actual?: any, expected?: any, message?: string, operator?: string): never;
export function ok(value: any, message?: string): asserts value;
export import equal = module.equal;
export import notEqual = module.notEqual;
export import deepEqual = module.deepEqual;
export import notDeepEqual = module.notDeepEqual;
export import strictEqual = module.strictEqual;
export import notStrictEqual = module.notStrictEqual;
export import deepStrictEqual = module.deepStrictEqual;
export import notDeepStrictEqual = module.notDeepStrictEqual;
export import throws = module.throws;
export import doesNotThrow = module.doesNotThrow;
export import ifError = module.ifError;
export function equal(actual: any, expected: any, message?: string): void;
export function notEqual(actual: any, expected: any, message?: string): void;
export function deepEqual(actual: any, expected: any, message?: string): void;
export function notDeepEqual(acutal: any, expected: any, message?: string): void;
export function strictEqual(actual: any, expected: any, message?: string): void;
export function notStrictEqual(actual: any, expected: any, message?: string): void;
export function deepStrictEqual(actual: any, expected: any, message?: string): void;
export function notDeepStrictEqual(actual: any, expected: any, message?: string): void;
export var throws: {
(block: Function, message?: string): void;
(block: Function, error: Function, message?: string): void;
(block: Function, error: RegExp, message?: string): void;
(block: Function, error: (err: any) => boolean, message?: string): void;
};
export var doesNotThrow: {
(block: Function, message?: string): void;
(block: Function, error: Function, message?: string): void;
(block: Function, error: RegExp, message?: string): void;
(block: Function, error: (err: any) => boolean, message?: string): void;
};
export function ifError(value: any): void;
export import strict = assert;
export const strict: typeof assert;
export import Options = module.Options;
export interface Options {
assertion?: empower.Options;
output?: powerAssertFormatter.Options;
}
export import customize = module.customize;
export function customize(options: Options): typeof assert;
}
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