Skip to content

Commit

Permalink
v6.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcl committed Jun 4, 2022
1 parent 4418329 commit f842264
Show file tree
Hide file tree
Showing 9 changed files with 1,399 additions and 11 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
#### 6.2.0

* 04/06/22
* Add note that a Big number is created from a numbers `toString` value.
* #173 Add `Symbol.for('nodejs.util.inspect.custom')`.
* Allow `BigInt` when `Big.strict` is `true`.
* #177 Add `neg` method to negate a Big number.
* Add to *package.json* exports.

#### 6.1.1

* 03/05/21
Expand Down
2 changes: 1 addition & 1 deletion LICENCE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The MIT License (MIT)
=====================

Copyright © `<2021>` `Michael Mclaughlin`
Copyright © `<2022>` `Michael Mclaughlin`

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import Big from './path/to/big.mjs';
Get a minified version from a CDN:
```html
<script src='https://cdn.jsdelivr.net/npm/big.js@6.0.0/big.min.js'></script>
<script src='https://cdn.jsdelivr.net/npm/big.js@6.2.0/big.min.js'></script>
```

### [Node.js](http://nodejs.org)
Expand All @@ -64,8 +64,8 @@ import Big from 'big.js';
### [Deno](https://deno.land/)

```javascript
import Big from 'https://raw.githubusercontent.com/mikemcl/big.js/v6.0.0/big.mjs';
import Big from 'https://unpkg.com/big.js@6.0.0/big.mjs';
import Big from 'https://raw.githubusercontent.com/mikemcl/big.js/v6.2.0/big.mjs';
import Big from 'https://unpkg.com/big.js@6.2.0/big.mjs';
```

## Use
Expand Down
4 changes: 2 additions & 2 deletions big.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* big.js v6.1.1
* big.js v6.2.0
* A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic.
* Copyright (c) 2021 Michael Mclaughlin
* Copyright (c) 2022 Michael Mclaughlin
* https://github.com/MikeMcl/big.js/LICENCE.md
*/
;(function (GLOBAL) {
Expand Down
4 changes: 2 additions & 2 deletions big.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* big.js v6.1.1
* big.js v6.2.0
* A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic.
* Copyright (c) 2021 Michael Mclaughlin
* Copyright (c) 2022 Michael Mclaughlin
* https://github.com/MikeMcl/big.js/LICENCE.md
*/

Expand Down
3 changes: 2 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@

<a class='nav-title' href="#">API</a>
<select id="version" name="version" onchange="location.href=this.value;this.selectedIndex=0">
<option value="" selected>v6.1.x</option>
<option value="" selected>v6.2.x</option>
<option value="legacy/v6.1.x.html">v6.1.x</option>
<option value="legacy/v6.0.x.html">v6.0.x</option>
<option value="legacy/v5.2.x.html">v5.2.x</option>
<option value="legacy/v5.1.x.html">v5.1.x</option>
Expand Down
Loading

0 comments on commit f842264

Please sign in to comment.