1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-02 20:00:05 +02:00

update node modules

This commit is contained in:
s2
2021-05-07 15:56:33 +02:00
parent d81e8e9fb8
commit 3ec373077c
550 changed files with 84712 additions and 15991 deletions

View File

@@ -1,3 +1,7 @@
#### 10.2.1
* 28/09/2020
* Correct `sqrt` initial estimate.
#### 10.2.0
* 08/05/2019
* #128 Workaround V8 `Math.pow` change.

2
node_modules/decimal.js/LICENCE.md generated vendored
View File

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

15
node_modules/decimal.js/README.md generated vendored
View File

@@ -2,6 +2,8 @@
An arbitrary-precision Decimal type for JavaScript.
[![npm version](https://img.shields.io/npm/v/decimal.js.svg)](https://www.npmjs.com/package/decimal.js)
[![npm downloads](https://img.shields.io/npm/dw/decimal.js)](https://www.npmjs.com/package/decimal.js)
[![Build Status](https://travis-ci.org/MikeMcl/decimal.js.svg)](https://travis-ci.org/MikeMcl/decimal.js)
[![CDNJS](https://img.shields.io/cdnjs/v/decimal.js.svg)](https://cdnjs.com/libraries/decimal.js)
@@ -34,7 +36,7 @@ For a lighter version of this library without the trigonometric functions see [d
## Load
The library is the single JavaScript file *decimal.js* (or minified, *decimal.min.js*).
The library is the single JavaScript file *decimal.js* or ES module *decimal.mjs*.
Browser:
@@ -42,17 +44,24 @@ Browser:
<script src='path/to/decimal.js'></script>
```
```html
<script type="module">
import Decimal from './path/to/decimal.mjs';
...
</script>
```
[Node.js](http://nodejs.org):
```bash
$ npm install --save decimal.js
$ npm install decimal.js
```
```js
var Decimal = require('decimal.js');
```
ES6 module (*decimal.mjs*):
ES module:
```js
//import Decimal from 'decimal.js';

6
node_modules/decimal.js/decimal.js generated vendored
View File

@@ -3,10 +3,10 @@
/*
* decimal.js v10.2.0
* decimal.js v10.2.1
* An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js
* Copyright (c) 2019 Michael Mclaughlin <M8ch88l@gmail.com>
* Copyright (c) 2020 Michael Mclaughlin <M8ch88l@gmail.com>
* MIT Licence
*/
@@ -1728,7 +1728,7 @@
e = mathfloor((e + 1) / 2) - (e < 0 || e % 2);
if (s == 1 / 0) {
n = '1e' + e;
n = '5e' + e;
} else {
n = s.toExponential();
n = n.slice(0, n.indexOf('e') + 1) + e;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +1,8 @@
/*
* decimal.js v10.2.0
* decimal.js v10.2.1
* An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js
* Copyright (c) 2019 Michael Mclaughlin <M8ch88l@gmail.com>
* Copyright (c) 2020 Michael Mclaughlin <M8ch88l@gmail.com>
* MIT Licence
*/
@@ -1724,7 +1724,7 @@ P.squareRoot = P.sqrt = function () {
e = mathfloor((e + 1) / 2) - (e < 0 || e % 2);
if (s == 1 / 0) {
n = '1e' + e;
n = '5e' + e;
} else {
n = s.toExponential();
n = n.slice(0, n.indexOf('e') + 1) + e;

12
node_modules/decimal.js/doc/API.html generated vendored
View File

@@ -1659,7 +1659,15 @@ y = new Decimal(2)
y.isNeg // false</pre>
<p>Note: <code>n &lt; 0</code> can be used if <code>n &lt;= -Number.MIN_VALUE</code>.</p>
<p>Also note that signed zeroes are implemented, following the IEEE Standard
for Floating-Point Arithmetic (IEEE 754).</p>
<pre>
Decimal(0).valueOf() // '0'
Decimal(0).isNegative() // false
Decimal(0).negated().valueOf() // '-0'
Decimal(0).negated().isNegative() // true
</pre>
<h5 id="isPos">isPositive<code class='inset'>.isPos() <i>&rArr; boolean</i></code></h5>
<p>
@@ -2388,8 +2396,8 @@ x.toPrecision() // '45.6'
y.toPrecision() // '45.6'
x.toPrecision(1) // '5e+1'
y.toPrecision(1) // '5e+1'
y.toPrecision(2, Decimal.ROUND_UP) // '4.6e+1'
y.toPrecision(2, Decimal.DOWN) // '4.5e+1'
y.toPrecision(2, Decimal.ROUND_UP) // '46'
y.toPrecision(2, Decimal.ROUND_DOWN) // '45'
x.toPrecision(5) // '45.600'
y.toPrecision(5) // '45.600'</pre>

20
node_modules/decimal.js/package.json generated vendored
View File

@@ -1,26 +1,26 @@
{
"_from": "decimal.js@^10.2.0",
"_id": "decimal.js@10.2.0",
"_from": "decimal.js@^10.2.1",
"_id": "decimal.js@10.2.1",
"_inBundle": false,
"_integrity": "sha512-vDPw+rDgn3bZe1+F/pyEwb1oMG2XTlRVgAa6B4KccTEpYgF8w6eQllVbQcfIJnZyvzFtFpxnpGtx8dd7DJp/Rw==",
"_integrity": "sha512-KaL7+6Fw6i5A2XSnsbhm/6B+NuEA7TZ4vqxnd5tXz9sbKtrN9Srj8ab4vKVdK8YAqZO9P1kg45Y6YLoduPf+kw==",
"_location": "/decimal.js",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "decimal.js@^10.2.0",
"raw": "decimal.js@^10.2.1",
"name": "decimal.js",
"escapedName": "decimal.js",
"rawSpec": "^10.2.0",
"rawSpec": "^10.2.1",
"saveSpec": null,
"fetchSpec": "^10.2.0"
"fetchSpec": "^10.2.1"
},
"_requiredBy": [
"/jsdom"
],
"_resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.2.0.tgz",
"_shasum": "39466113a9e036111d02f82489b5fd6b0b5ed231",
"_spec": "decimal.js@^10.2.0",
"_resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.2.1.tgz",
"_shasum": "238ae7b0f0c793d3e3cea410108b35a2c01426a3",
"_spec": "decimal.js@^10.2.1",
"_where": "D:\\Projects\\minifyfromhtml\\node_modules\\jsdom",
"author": {
"name": "Michael Mclaughlin",
@@ -61,5 +61,5 @@
"test": "node ./test/test.js"
},
"types": "decimal.d.ts",
"version": "10.2.0"
"version": "10.2.1"
}