🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ist

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ist - npm Package Compare versions

Comparing version

to
1.0.2

4

ist.js

@@ -58,5 +58,6 @@ var opNames = [

ist.throws = function throws(f, expected) {
let threw = true
try {
f()
throw new ist.Failure("Did not throw", "throws")
threw = false
} catch(e) {

@@ -69,2 +70,3 @@ var matches = !expected ? true

}
if (!threw) throw new ist.Failure("Did not throw", "throws")
}
{
"name": "ist",
"version": "1.0.1",
"version": "1.0.2",
"description": "Mini assertion library",

@@ -5,0 +5,0 @@ "main": "ist.js",