Skip to content

Commit

Permalink
v9.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcl committed Aug 8, 2022
1 parent 6cc9b88 commit d87c660
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
#### 9.1.0
* 08/08/22
* #329 Remove `import` example.
* #277 Resolve lint warnings and add number `toString` note.
* Correct `decimalPlaces()` return type in *bignumber.d.ts*.
* Add ES module global `crypto` example.
* #322 Add `exports` field to *package.json*.
* #251 (#308) Amend *bignumber.d.ts* to allow instantiating a BigNumber without `new`.

#### 9.0.2
* 12/12/21
* #250 [BUGFIX] Allow use of user-defined alphabet for base 10.
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
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import BigNumber from './path/to/bignumber.mjs';
> Get a minified version from a CDN:
```html
<script src='https://cdn.jsdelivr.net/npm/bignumber.js@9.0.2/bignumber.min.js'></script>
<script src='https://cdn.jsdelivr.net/npm/bignumber.js@9.1.0/bignumber.min.js'></script>
```

### [Node.js](http://nodejs.org)
Expand All @@ -65,14 +65,13 @@ const BigNumber = require('bignumber.js');
```javascript
import BigNumber from "bignumber.js";
// else
import { BigNumber } from "./node_modules/bignumber.js/bignumber.mjs";
```

### [Deno](https://deno.land/)

```javascript
import BigNumber from 'https://raw.githubusercontent.com/mikemcl/bignumber.js/v9.0.2/bignumber.mjs';
import BigNumber from 'https://raw.githubusercontent.com/mikemcl/bignumber.js/v9.1.0/bignumber.mjs';
import BigNumber from 'https://unpkg.com/bignumber.js@latest/bignumber.mjs';
```

Expand Down
4 changes: 2 additions & 2 deletions bignumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
'use strict';

/*
* bignumber.js v9.0.2
* bignumber.js v9.1.0
* A JavaScript library for arbitrary-precision arithmetic.
* https://github.com/MikeMcl/bignumber.js
* Copyright (c) 2021 Michael Mclaughlin <[email protected]>
* Copyright (c) 2022 Michael Mclaughlin <[email protected]>
* MIT Licensed.
*
* BigNumber.prototype methods | BigNumber methods
Expand Down
4 changes: 2 additions & 2 deletions bignumber.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* bignumber.js v9.0.2
* bignumber.js v9.1.0
* A JavaScript library for arbitrary-precision arithmetic.
* https://github.com/MikeMcl/bignumber.js
* Copyright (c) 2021 Michael Mclaughlin <[email protected]>
* Copyright (c) 2022 Michael Mclaughlin <[email protected]>
* MIT Licensed.
*
* BigNumber.prototype methods | BigNumber methods
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bignumber.js",
"description": "A library for arbitrary-precision decimal and non-decimal arithmetic",
"version": "9.0.2",
"version": "9.1.0",
"keywords": [
"arbitrary",
"precision",
Expand Down

0 comments on commit d87c660

Please sign in to comment.