This commit is contained in:
Michael Mclaughlin 2015-12-09 19:49:56 +00:00
parent 94501c0b28
commit 003231086e
7 changed files with 18 additions and 10 deletions

View File

@ -1,8 +1,12 @@
language: node_js
node_js:
- "node"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"
- iojs
- "iojs"

View File

@ -244,6 +244,10 @@ See [LICENCE](https://github.com/MikeMcl/bignumber.js/blob/master/LICENCE).
## Change Log
####2.1.1
* 09/12/2015
* Prevent code bundler from adding `crypto` shim.
####2.1.0
* 26/10/2015
* For `valueOf` and `toJSON`, include the minus sign with negative zero.

View File

@ -1,10 +1,10 @@
/*! bignumber.js v2.0.8 https://github.com/MikeMcl/bignumber.js/LICENCE */
/*! bignumber.js v2.1.1 https://github.com/MikeMcl/bignumber.js/LICENCE */
;(function (global) {
'use strict';
/*
bignumber.js v2.0.8
bignumber.js v2.1.1
A JavaScript library for arbitrary-precision arithmetic.
https://github.com/MikeMcl/bignumber.js
Copyright (c) 2015 Michael Mclaughlin <M8ch88l@gmail.com>
@ -2684,7 +2684,7 @@
// Node and other environments that support module.exports.
} else if ( typeof module != 'undefined' && module.exports ) {
module.exports = BigNumber;
if ( !crypto ) try { crypto = require('crypto'); } catch (e) {}
try { crypto = require('cry' + 'pto'); } catch (e) {}
// Browser.
} else {

File diff suppressed because one or more lines are too long

4
bignumber.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{
"name": "bignumber.js",
"main": "bignumber.js",
"version": "2.1.0",
"version": "2.1.1",
"homepage": "https://github.com/MikeMcl/bignumber.js",
"authors": [
"Michael Mclaughlin <M8ch88l@gmail.com>"

View File

@ -1,7 +1,7 @@
{
"name": "bignumber.js",
"description": "A library for arbitrary-precision decimal and non-decimal arithmetic",
"version": "2.1.0",
"version": "2.1.1",
"keywords": [
"arbitrary",
"precision",
@ -31,6 +31,6 @@
"license": "MIT",
"scripts": {
"test": "node ./test/every-test.js",
"build": "uglifyjs bignumber.js --source-map bignumber.js.map -c -m -o bignumber.min.js --preamble \"/* bignumber.js v2.1.0 https://github.com/MikeMcl/bignumber.js/LICENCE */\""
"build": "uglifyjs bignumber.js --source-map bignumber.js.map -c -m -o bignumber.min.js --preamble \"/* bignumber.js v2.1.1 https://github.com/MikeMcl/bignumber.js/LICENCE */\""
}
}