1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00
This commit is contained in:
Michael Mclaughlin 2022-08-14 18:25:23 +01:00
parent f03f8686b6
commit f8b93e0bfa
6 changed files with 21 additions and 11 deletions

View File

@ -1,6 +1,9 @@
language: node_js language: node_js
node_js: node_js:
- "node" - "node"
- "18"
- "17"
- "16"
- "15" - "15"
- "14" - "14"
- "13" - "13"

View File

@ -1,3 +1,9 @@
#### 10.4.0
* 14/08/2022
* #201 Add `exports` field to *package.json*.
* #203 Preserve license comment after bundling.
* #198 Use type predicate on `isDecimal`.
#### 10.3.1 #### 10.3.1
* 25/06/2021 * 25/06/2021
* Remove minified versions. Refresh *README*. * Remove minified versions. Refresh *README*.

View File

@ -1,6 +1,6 @@
The MIT Licence. The MIT Licence.
Copyright (c) 2021 Michael Mclaughlin Copyright (c) 2022 Michael Mclaughlin
Permission is hereby granted, free of charge, to any person obtaining Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the a copy of this software and associated documentation files (the

View File

@ -3,10 +3,10 @@
/*! /*!
* decimal.js v10.3.1 * decimal.js v10.4.0
* An arbitrary-precision Decimal type for JavaScript. * An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js * https://github.com/MikeMcl/decimal.js
* Copyright (c) 2021 Michael Mclaughlin <M8ch88l@gmail.com> * Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
* MIT Licence * MIT Licence
*/ */

View File

@ -1,8 +1,8 @@
/*! /*!
* decimal.js v10.3.1 * decimal.js v10.4.0
* An arbitrary-precision Decimal type for JavaScript. * An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js * https://github.com/MikeMcl/decimal.js
* Copyright (c) 2021 Michael Mclaughlin <M8ch88l@gmail.com> * Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
* MIT Licence * MIT Licence
*/ */

View File

@ -1,7 +1,7 @@
{ {
"name": "decimal.js", "name": "decimal.js",
"description": "An arbitrary-precision Decimal type for JavaScript.", "description": "An arbitrary-precision Decimal type for JavaScript.",
"version": "10.3.1", "version": "10.4.0",
"keywords": [ "keywords": [
"arbitrary", "arbitrary",
"precision", "precision",
@ -25,12 +25,13 @@
"browser": "decimal.js", "browser": "decimal.js",
"exports": { "exports": {
".": { ".": {
"import": {
"types": "./decimal.d.ts", "types": "./decimal.d.ts",
"default": "./decimal.mjs" "import": "./decimal.mjs",
},
"require": "./decimal.js" "require": "./decimal.js"
} },
"./decimal.mjs": "./decimal.mjs",
"./decimal.js": "./decimal.js",
"./package.json": "./package.json"
}, },
"author": { "author": {
"name": "Michael Mclaughlin", "name": "Michael Mclaughlin",