mazey 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -38,12 +38,10 @@ Import from [npm](https://www.npmjs.com/package/mazey).
38
38
  import { isNumber } from 'mazey';
39
39
 
40
40
  const x = 123;
41
- isNumber(x); // <=> typeof x === 'number' && !isNaN(x) && isFinite(x)
42
- // Output: true
43
-
44
41
  const y = Infinity;
45
- isNumber(y);
46
- // Output: false
42
+ // <=> typeof x === 'number' && !isNaN(x) && isFinite(x)
43
+ isNumber(x); // Output: true
44
+ isNumber(y); // Output: false
47
45
  ```
48
46
 
49
47
  Import from CDN.
@@ -52,8 +50,8 @@ Import from CDN.
52
50
  <script type="text/javascript" src="//i.mazey.net/mazey/lib/mazey.min.js"></script>
53
51
  <script>
54
52
  const x = Infinity;
55
- mazey.isNumber(x, { isInfinityAsNumber: true }); // <=> typeof x === 'string' && !isNaN(x)
56
- // Output: true
53
+ // <=> typeof x === 'string' && !isNaN(x)
54
+ mazey.isNumber(x, { isInfinityAsNumber: true }); // Output: true
57
55
  </script>
58
56
  ```
59
57
 
package/lib/index.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Mazey v4.0.0 https://github.com/mazeyqian/mazey
2
+ * Mazey v4.0.1 https://github.com/mazeyqian/mazey
3
3
  * (c) 2018-2023 Cheng
4
4
  * Released under the MIT License.
5
5
  */
package/lib/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Mazey v4.0.0 https://github.com/mazeyqian/mazey
2
+ * Mazey v4.0.1 https://github.com/mazeyqian/mazey
3
3
  * (c) 2018-2023 Cheng
4
4
  * Released under the MIT License.
5
5
  */
package/lib/mazey.min.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Mazey v4.0.0 https://github.com/mazeyqian/mazey
2
+ * Mazey v4.0.1 https://github.com/mazeyqian/mazey
3
3
  * (c) 2018-2023 Cheng
4
4
  * Released under the MIT License.
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mazey",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "A functional library for daily front-end work.",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",