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

testcheck

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testcheck - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

8

dist/testcheck.d.ts

@@ -212,3 +212,3 @@ declare module 'testcheck' {

*
* var alphabetSoup = gen.returnOneOf('a', 'b', 'c');
* var alphabetSoup = gen.returnOneOf(['a', 'b', 'c']);
*

@@ -222,3 +222,3 @@ */

*
* var numOrBool = gen.oneOf(gen.int, gen.boolean)
* var numOrBool = gen.oneOf([gen.int, gen.boolean])
*

@@ -232,6 +232,6 @@ */

*
* var numOrRarelyBool = gen.oneOf([99, gen.int], [1, gen.boolean])
* var numOrRarelyBool = gen.oneOf([[99, gen.int], [1, gen.boolean]])
*/
oneOfWeighted: <T>(
...generators: Array</*number, Generator<T>*/any>[]
generators: Array</*number, Generator<T>*/any>[]
) => Generator<T>;

@@ -238,0 +238,0 @@

{
"name": "testcheck",
"version": "0.1.2",
"version": "0.1.3",
"description": "Property testing for JavaScript",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/leebyron/testcheck-js",

@@ -64,3 +64,3 @@ Generative property testing for JavaScript

///<reference path='node_modules/testcheck/dist/testcheck.d.ts'/>
var testcheck = require('testcheck');
import testcheck = require('testcheck');
```

@@ -67,0 +67,0 @@

Sorry, the diff of this file is too big to display

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