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 language: node_js
node_js: node_js:
- "node"
- "4.1"
- "4.0"
- "0.12" - "0.12"
- "0.11" - "0.11"
- "0.10" - "0.10"
- "0.8" - "0.8"
- "0.6" - "0.6"
- iojs - "iojs"

View File

@ -244,6 +244,10 @@ See [LICENCE](https://github.com/MikeMcl/bignumber.js/blob/master/LICENCE).
## Change Log ## Change Log
####2.1.1
* 09/12/2015
* Prevent code bundler from adding `crypto` shim.
####2.1.0 ####2.1.0
* 26/10/2015 * 26/10/2015
* For `valueOf` and `toJSON`, include the minus sign with negative zero. * 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) { ;(function (global) {
'use strict'; 'use strict';
/* /*
bignumber.js v2.0.8 bignumber.js v2.1.1
A JavaScript library for arbitrary-precision arithmetic. A JavaScript library for arbitrary-precision arithmetic.
https://github.com/MikeMcl/bignumber.js https://github.com/MikeMcl/bignumber.js
Copyright (c) 2015 Michael Mclaughlin <M8ch88l@gmail.com> Copyright (c) 2015 Michael Mclaughlin <M8ch88l@gmail.com>
@ -2684,7 +2684,7 @@
// Node and other environments that support module.exports. // Node and other environments that support module.exports.
} else if ( typeof module != 'undefined' && module.exports ) { } else if ( typeof module != 'undefined' && module.exports ) {
module.exports = BigNumber; module.exports = BigNumber;
if ( !crypto ) try { crypto = require('crypto'); } catch (e) {} try { crypto = require('cry' + 'pto'); } catch (e) {}
// Browser. // Browser.
} else { } 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", "name": "bignumber.js",
"main": "bignumber.js", "main": "bignumber.js",
"version": "2.1.0", "version": "2.1.1",
"homepage": "https://github.com/MikeMcl/bignumber.js", "homepage": "https://github.com/MikeMcl/bignumber.js",
"authors": [ "authors": [
"Michael Mclaughlin <M8ch88l@gmail.com>" "Michael Mclaughlin <M8ch88l@gmail.com>"

View File

@ -1,7 +1,7 @@
{ {
"name": "bignumber.js", "name": "bignumber.js",
"description": "A library for arbitrary-precision decimal and non-decimal arithmetic", "description": "A library for arbitrary-precision decimal and non-decimal arithmetic",
"version": "2.1.0", "version": "2.1.1",
"keywords": [ "keywords": [
"arbitrary", "arbitrary",
"precision", "precision",
@ -31,6 +31,6 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"test": "node ./test/every-test.js", "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 */\""
} }
} }