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

@types/assert

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/assert - npm Package Compare versions

Comparing version 1.4.3 to 1.4.4

17

assert/index.d.ts

@@ -6,4 +6,5 @@ // Type definitions for commonjs-assert 1.4

// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7
declare function assert(value: any, message?: string): void;
declare function assert(value: any, message?: string): asserts value;

@@ -13,16 +14,22 @@ declare namespace assert {

function ok(value: any, message?: string): void;
function ok(value: any, message?: string): asserts value;
/** @deprecated Use `strictEqual` instead */
function equal(actual: any, expected: any, message?: string): void;
/** @deprecated Use `notStrictEqual` instead */
function notEqual(actual: any, expected: any, message?: string): void;
/** @deprecated Use `deepStrictEqual` instead */
function deepEqual(actual: any, expected: any, message?: string): void;
/** @deprecated Use `notDeepStrictEqual` instead */
function notDeepEqual(actual: any, expected: any, message?: string): void;
function deepStrictEqual(actual: any, expected: any, message?: string): void;
function deepStrictEqual<T>(actual: any, expected: T, message?: string): asserts actual is T;
function strictEqual(actual: any, expected: any, message?: string): void;
function notDeepStrictEqual(actual: any, expected: any, message?: string): void;
function strictEqual<T>(actual: any, expected: T, message?: string): asserts actual is T;
function notStrictEqual(actual: any, expected: any, message?: string): void;

@@ -36,3 +43,3 @@

function ifError(value: any): void;
function ifError(value: any): asserts value is null | undefined;

@@ -39,0 +46,0 @@ class AssertionError implements Error {

{
"name": "@types/assert",
"version": "1.4.3",
"version": "1.4.4",
"description": "TypeScript definitions for commonjs-assert",

@@ -19,3 +19,3 @@ "license": "MIT",

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

@@ -28,4 +28,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "d983916ba5bd8c25d68337e70af7f3cae4aac478101beecdead28b93a0a13549",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "e38dbbd31d215f8271c72142f97348be01e76ae8485fffd11b61c8cbfd852e93",
"typeScriptVersion": "3.7"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/assert
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/assert.
Additional Details
* Last updated: Thu, 25 Jul 2019 18:51:47 GMT
### Additional Details
* Last updated: Sat, 25 Jan 2020 01:11:25 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Nico Gallinal <https://github.com/nicoabie>, and Linus Unnebäck <https://github.com/LinusU>.
These definitions were written by Nico Gallinal (https://github.com/nicoabie), and Linus Unnebäck (https://github.com/LinusU).
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