Skip to content

Commit 6a12a42

Browse files
committed
Release 1.6.0
1 parent b2cb22d commit 6a12a42

File tree

7 files changed

+19
-13
lines changed

7 files changed

+19
-13
lines changed

README.md

Lines changed: 10 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.9/dist/primality.js)
15-
* [Production build](https://raw.github.com/KenanY/primality/1.5.9/dist/primality.min.js)
14+
* [Development build](https://raw.github.com/KenanY/primality/1.6.0/dist/primality.js)
15+
* [Production build](https://raw.github.com/KenanY/primality/1.6.0/dist/primality.min.js)
1616

1717
## Features
1818

@@ -151,8 +151,14 @@ primality.isWilsonPrime(563);
151151

152152
## Release Notes
153153

154-
### 1.5.9
154+
### 1.6.0
155155

156-
- factorial@0.0
156+
- [#11](https://github.com/KenanY/primality/issues/11): Added
157+
`isWieferichPrime` function.
158+
- [#13](https://github.com/KenanY/primality/issues/13): Fixed component
159+
install issue.
160+
- Slight performance boost by using a `while` loop instead of a `for` loop
161+
when iterating through arrays.
162+
- [#14](https://github.com/KenanY/primality/issues/14): lodash@2.0.0
157163

158164
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.9",
3+
"version": "1.6.0",
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.9",
5+
"version": "1.6.0",
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.9
2+
* primality v1.6.0
33
* (c) 2012–2013 Kenan Yildirim
44
*
55
* Includes functions from Lo-Dash
@@ -201,7 +201,7 @@
201201
function isWieferichPrime(value) {
202202
return _.contains(WIEFERICH_PRIMES, value) ? true : (Math.pow(2, value - 1) - 1) % Math.pow(value, 2) === 0;
203203
}
204-
primality.VERSION = "1.5.9";
204+
primality.VERSION = "1.6.0";
205205
primality.areTwinPrimes = areTwinPrimes;
206206
primality.areCousinPrimes = areCousinPrimes;
207207
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.9",
3+
"version": "1.6.0",
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.9
2+
* primality v1.6.0
33
* (c) 2012–2013 Kenan Yildirim
44
*
55
* Includes functions from Lo-Dash
@@ -225,7 +225,7 @@ function isWieferichPrime(value) {
225225
* @memberOf primality
226226
* @type String
227227
*/
228-
primality.VERSION = '1.5.9';
228+
primality.VERSION = '1.6.0';
229229

230230
primality.areTwinPrimes = areTwinPrimes;
231231
primality.areCousinPrimes = areCousinPrimes;

0 commit comments

Comments
 (0)