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.0 to 1.4.1

5

assert/index.d.ts
// Type definitions for commonjs-assert 1.4
// Project: https://github.com/browserify/commonjs-assert
// Definitions by: Nico Gallinal <https://github.com/nicoabie>
// Linus Unnebäck <https://github.com/LinusU>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -26,6 +27,6 @@

function throws(block: () => void, message?: string): void;
function throws(block: () => void, error: () => void | ((err: any) => boolean) | RegExp, message?: string): void;
function throws(block: () => void, error: (() => void) | ((err: any) => boolean) | RegExp, message?: string): void;
function doesNotThrow(block: () => void, message?: string): void;
function doesNotThrow(block: () => void, error: () => void | ((err: any) => boolean) | RegExp, message?: string): void;
function doesNotThrow(block: () => void, error: (() => void) | ((err: any) => boolean) | RegExp, message?: string): void;

@@ -32,0 +33,0 @@ function ifError(value: any): void;

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

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

"githubUsername": "nicoabie"
},
{
"name": "Linus Unnebäck",
"url": "https://github.com/LinusU",
"githubUsername": "LinusU"
}
],
"main": "",
"types": "index",
"repository": {

@@ -21,4 +27,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "b053597ad5371042f6ba084eff253fc3016501a13accfd87a449ed9e7f4b816e",
"typesPublisherContentHash": "bdd8ec45ecc40b483e319c59741b33f96b6980cc991565d2bdd1511463c2baed",
"typeScriptVersion": "2.0"
}

4

assert/README.md

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

Additional Details
* Last updated: Wed, 03 Oct 2018 00:53:25 GMT
* Last updated: Thu, 06 Dec 2018 18:51:02 GMT
* Dependencies: none

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

# Credits
These definitions were written by Nico Gallinal <https://github.com/nicoabie>.
These definitions were written by Nico Gallinal <https://github.com/nicoabie>, 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