diff --git a/CHANGELOG.md b/CHANGELOG.md index 970c229..d77e854 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/LICENCE.md b/LICENCE.md index b7d89e3..83b6c7c 100644 --- a/LICENCE.md +++ b/LICENCE.md @@ -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 diff --git a/README.md b/README.md index ae546c8..6344aea 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ import BigNumber from './path/to/bignumber.mjs'; > Get a minified version from a CDN: ```html - + ``` ### [Node.js](http://nodejs.org) @@ -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'; ``` diff --git a/bignumber.js b/bignumber.js index a581a12..c4a96c3 100644 --- a/bignumber.js +++ b/bignumber.js @@ -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 + * Copyright (c) 2022 Michael Mclaughlin * MIT Licensed. * * BigNumber.prototype methods | BigNumber methods diff --git a/bignumber.mjs b/bignumber.mjs index f1ce7ee..445bc70 100644 --- a/bignumber.mjs +++ b/bignumber.mjs @@ -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 + * Copyright (c) 2022 Michael Mclaughlin * MIT Licensed. * * BigNumber.prototype methods | BigNumber methods diff --git a/package.json b/package.json index 9fe3531..cd8a2aa 100644 --- a/package.json +++ b/package.json @@ -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",