Skip to content

Commit 8f76e5f

Browse files
committed
Release 1.5.7
1 parent 7a7120f commit 8f76e5f

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ numbers.
1111

1212
## Download
1313

14-
* [Development build](https://raw.github.com/KenanY/primality/1.5.6/dist/primality.js)
15-
* [Production build](https://raw.github.com/KenanY/primality/1.5.6/dist/primality.min.js)
14+
* [Development build](https://raw.github.com/KenanY/primality/1.5.7/dist/primality.js)
15+
* [Production build](https://raw.github.com/KenanY/primality/1.5.7/dist/primality.min.js)
1616

1717
## Features
1818

@@ -152,8 +152,8 @@ primality.isWilsonPrime(563);
152152

153153
## Release Notes
154154

155-
### 1.5.6
155+
### 1.5.7
156156

157-
- Halved file size by simplifying internal utility functions
157+
- `isWilsonPrime` now works with unknown Wilson primes
158158

159159
The full changelog is available [here](https://github.com/KenanY/primality/wiki/Changelog).

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "primality",
3-
"version": "1.5.6",
3+
"version": "1.5.7",
44
"main": "./dist/primality.js",
55
"ignore": [
66
".*",

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "primality",
33
"repo": "KenanY/primality",
44
"description": "JavaScript library for prime numbers.",
5-
"version": "1.5.6",
5+
"version": "1.5.7",
66
"keywords": [
77
"browser",
88
"client",

dist/primality.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* primality v1.5.6
2+
* primality v1.5.7
33
* (c) 2012–2013 Kenan Yildirim
44
*
55
* Includes functions from Lo-Dash
@@ -159,7 +159,7 @@
159159
function isWilsonPrime(value) {
160160
return _.contains(WILSON_PRIMES, value) ? true : 0 === (mod(factorial(value - 1) + 1, value) === 0);
161161
}
162-
primality.VERSION = "1.4.0";
162+
primality.VERSION = "1.5.7";
163163
primality.areTwinPrimes = areTwinPrimes;
164164
primality.areCousinPrimes = areCousinPrimes;
165165
primality.areSexyPrimes = areSexyPrimes;

dist/primality.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "primality",
3-
"version": "1.5.6",
3+
"version": "1.5.7",
44
"description": "A JavaScript library for prime numbers.",
55
"keywords": [
66
"browser",

primality.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* primality v1.5.6
2+
* primality v1.5.7
33
* (c) 2012–2013 Kenan Yildirim
44
*
55
* Includes functions from Lo-Dash
@@ -218,7 +218,7 @@ function isWilsonPrime(value) {
218218
* @memberOf primality
219219
* @type String
220220
*/
221-
primality.VERSION = '1.4.0';
221+
primality.VERSION = '1.5.7';
222222

223223
primality.areTwinPrimes = areTwinPrimes;
224224
primality.areCousinPrimes = areCousinPrimes;

0 commit comments

Comments
 (0)