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.5.1 to 1.5.2

assert/ts3.6/index.d.ts

14

assert/index.d.ts

@@ -8,3 +8,3 @@ // Type definitions for commonjs-assert 1.5

declare function assert(value: any, message?: string): void;
declare function assert(value: any, message?: string): asserts value;

@@ -14,17 +14,21 @@ 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 notDeepStrictEqual(actual: any, expected: any, message?: string): void;
function strictEqual(actual: any, expected: any, message?: string): void;
function strictEqual<T>(actual: any, expected: T, message?: string): asserts actual is T;

@@ -43,3 +47,3 @@ function notStrictEqual(actual: any, expected: any, message?: string): void;

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

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

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

@@ -26,5 +26,5 @@ "license": "MIT",

"typesVersions": {
">=3.7.0-0": {
"<=3.6": {
"*": [
"ts3.7/*"
"ts3.6/*"
]

@@ -40,4 +40,4 @@ }

"dependencies": {},
"typesPublisherContentHash": "4f56198ff9414531c52daad23ada5c6af090d37a0013bedd74f36e76e28e9911",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "22e81543d29cedce99b156a9ed8dec1726dbd3ee8271b3f5247c7d1cb6d0a785",
"typeScriptVersion": "3.1"
}

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

### Additional Details
* Last updated: Tue, 23 Jun 2020 16:33:29 GMT
* Last updated: Tue, 01 Sep 2020 20:30:57 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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