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

@types/qunit

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/qunit - npm Package Compare versions

Comparing version 2.5.3 to 2.5.4

28

qunit/index.d.ts

@@ -240,2 +240,30 @@ // Type definitions for QUnit v2.5.0

/**
* Test if the provided promise rejects, and optionally compare the
* rejection value.
*
* When testing code that is expected to return a rejected promise based on
* a specific set of circumstances, use assert.rejects() for testing and
* comparison.
*
* The expectedMatcher argument can be:
* A function that returns true when the assertion should be considered passing.
* An Error object
* A base constructor to use ala rejectionValue instanceof expectedMatcher
* A RegExp that matches (or partially matches) rejectionValue.toString()
*
* Note: in order to avoid confusion between the message and the expectedMatcher,
* the expectedMatcher can not be a string.
*
* @param promise promise to test for rejection
* @param expectedMatcher Rejection value matcher
* @param message A short description of the assertion
*/
rejects(promise: Promise<any>, message?: string): void;
rejects(
promise: Promise<any>,
expectedMatcher?: any,
message?: string,
): void;
/**
* A marker for progress in a given test.

@@ -242,0 +270,0 @@ *

5

qunit/package.json
{
"name": "@types/qunit",
"version": "2.5.3",
"version": "2.5.4",
"description": "TypeScript definitions for QUnit",

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

"main": "",
"types": "index",
"repository": {

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

"dependencies": {},
"typesPublisherContentHash": "9cacab50e8c9c04b3cbbf8dffc6fa375d5d4a0585de9ef1264403e2205e0a654",
"typesPublisherContentHash": "ee87b966cff6fe941e1f11d28abd04d4f80f5e4f352545f32116efad0ebc44b1",
"typeScriptVersion": "2.0"
}

2

qunit/README.md

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

Additional Details
* Last updated: Tue, 04 Sep 2018 23:00:34 GMT
* Last updated: Fri, 18 Jan 2019 22:59:51 GMT
* Dependencies: none

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

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