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

jsverify

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsverify - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

3

CHANGELOG.md
## Release History
- **0.6.3** — *2015-07-27* — Bug fixes
- `jsc.utils.isEqual` doesn't care about key ordering [#123](https://github.com/jsverify/jsverify/issues/123)
- tuple's shrink is blessed [#124](https://github.com/jsverify/jsverify/issues/124)
- **0.6.2** &madsh; *2015-07-13* — Trampolines

@@ -4,0 +7,0 @@ - **0.6.1** — *2015-07-13* — Bug fixes

4

lib/shrink.js

@@ -158,6 +158,6 @@ /* @flow weak */

var shrink = flattenShrink(shrinksLL);
var result = function (tuple) {
var result = shrinkBless(function (tuple) {
var ll = toLinkedList(tuple);
return shrink(ll).map(fromLinkedList);
};
});

@@ -164,0 +164,0 @@ return utils.curried2(result, arguments);

@@ -20,2 +20,9 @@ /* @flow weak */

/* Simple sort */
function sort(arr) {
var res = arr.slice();
res.sort();
return res;
}
/**

@@ -41,3 +48,3 @@ - `utils.isEqual(x: json, y: json): bool`

var bkeys = Object.keys(b);
if (!isEqual(akeys, bkeys)) {
if (!isEqual(sort(akeys), sort(bkeys))) {
return false;

@@ -114,3 +121,3 @@ }

var bkeys = Object.keys(b);
if (!loop(akeys, bkeys, n + 1)) {
if (!loop(sort(akeys), sort(bkeys), n + 1)) {
return false;

@@ -117,0 +124,0 @@ }

{
"name": "jsverify",
"description": "Property-based testing for JavaScript.",
"version": "0.6.2",
"version": "0.6.3",
"homepage": "http://jsverify.github.io/",

@@ -28,3 +28,3 @@ "author": {

"bluebird": "^2.9.14",
"browserify": "^10.0.0",
"browserify": "^11.0.0",
"chai": "^3.0.0",

@@ -37,3 +37,3 @@ "david": "^6.0.1",

"jshint": "^2.7.0",
"karma": "~0.12.1",
"karma": "^0.13.3",
"karma-chrome-launcher": "^0.2.0",

@@ -65,4 +65,4 @@ "karma-cli": "^0.1.0",

"trampa": "^1.0.0",
"typify-parser": "0.0.1"
"typify-parser": "^1.0.0"
}
}

@@ -582,2 +582,5 @@ # JSVerify

- **0.6.3** — *2015-07-27* — Bug fixes
- `jsc.utils.isEqual` doesn't care about key ordering [#123](https://github.com/jsverify/jsverify/issues/123)
- tuple's shrink is blessed [#124](https://github.com/jsverify/jsverify/issues/124)
- **0.6.2** &madsh; *2015-07-13* — Trampolines

@@ -584,0 +587,0 @@ - **0.6.1** — *2015-07-13* — Bug fixes

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