New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/http-assert

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/http-assert - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

25

http-assert/index.d.ts

@@ -5,2 +5,3 @@ // Type definitions for http-assert 1.4

// Peter Squicciarini <https://github.com/stripedpajamas>
// Alex Bulanov <https://github.com/sapfear>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -25,11 +26,25 @@ // TypeScript Version: 2.2

/**
* @param status the status code
* @param msg the message of the error, defaulting to node's text for that status code
* @param opts custom properties to attach to the error object
*/
type AssertOK = (a: any, status?: number, msg?: string, opts?: {}) => void;
/**
* @param status the status code
* @param msg the message of the error, defaulting to node's text for that status code
* @param opts custom properties to attach to the error object
*/
type AssertEqual = (a: any, b: any, status?: number, msg?: string, opts?: {}) => void;
const equal: Assert;
const notEqual: Assert;
const ok: Assert;
const strictEqual: Assert;
const notStrictEqual: Assert;
const deepEqual: Assert;
const notDeepEqual: Assert;
const ok: AssertOK;
const strictEqual: AssertEqual;
const notStrictEqual: AssertEqual;
const deepEqual: AssertEqual;
const notDeepEqual: AssertEqual;
}
export = assert;

12

http-assert/package.json
{
"name": "@types/http-assert",
"version": "1.4.0",
"version": "1.4.1",
"description": "TypeScript definitions for http-assert",

@@ -16,2 +16,7 @@ "license": "MIT",

"githubUsername": "stripedpajamas"
},
{
"name": "Alex Bulanov",
"url": "https://github.com/sapfear",
"githubUsername": "sapfear"
}

@@ -23,8 +28,9 @@ ],

"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/http-assert"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "bd293e86613226f20b533c9e8ce79cfe05e896dc88e722923a05e61295cd77c3",
"typesPublisherContentHash": "2396544404736718a9581a0c2353b00ecf4935a020c6eced75ab8e8cb54dea01",
"typeScriptVersion": "2.2"
}

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

Additional Details
* Last updated: Wed, 26 Dec 2018 06:43:30 GMT
* Last updated: Tue, 02 Jul 2019 16:35:58 GMT
* Dependencies: none

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

# Credits
These definitions were written by jKey Lu <https://github.com/jkeylu>, Peter Squicciarini <https://github.com/stripedpajamas>.
These definitions were written by jKey Lu <https://github.com/jkeylu>, Peter Squicciarini <https://github.com/stripedpajamas>, and Alex Bulanov <https://github.com/sapfear>.
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