@alwatr/is-number 5.0.0 → 5.4.0
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/CHANGELOG.md +34 -0
- package/README.md +0 -2
- package/dist/main.cjs +2 -3
- package/dist/main.mjs +2 -3
- package/package.json +5 -5
- package/dist/main.cjs.LEGAL.txt +0 -0
- package/dist/main.mjs.LEGAL.txt +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,40 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.4.0](https://github.com/Alwatr/nanolib/compare/@alwatr/is-number@1.1.8...@alwatr/is-number@5.4.0) (2025-02-18)
|
|
7
|
+
|
|
8
|
+
## 5.3.0 (2025-02-03)
|
|
9
|
+
|
|
10
|
+
### Miscellaneous Chores
|
|
11
|
+
|
|
12
|
+
* edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @
|
|
13
|
+
|
|
14
|
+
### Dependencies update
|
|
15
|
+
|
|
16
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @
|
|
17
|
+
* update typescript and @types/node to version 5.7.3 and 22.13.0 respectively across multiple packages ([ddab05b](https://github.com/Alwatr/nanolib/commit/ddab05b5d767c30191f36a065e4bc88744e8e3fe)) by @
|
|
18
|
+
|
|
19
|
+
## 5.0.0 (2024-11-02)
|
|
20
|
+
|
|
21
|
+
### ⚠ BREAKING CHANGES
|
|
22
|
+
|
|
23
|
+
* To simplify version management and ensure consistency, all nanolib packages now use the same version as @alwatr/nanolib. This may require updates to your project's dependencies.
|
|
24
|
+
|
|
25
|
+
### Code Refactoring
|
|
26
|
+
|
|
27
|
+
* use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
|
|
28
|
+
|
|
29
|
+
## [5.3.0](https://github.com/Alwatr/nanolib/compare/v5.2.1...v5.3.0) (2025-02-03)
|
|
30
|
+
|
|
31
|
+
### Miscellaneous Chores
|
|
32
|
+
|
|
33
|
+
* edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @ArmanAsadian
|
|
34
|
+
|
|
35
|
+
### Dependencies update
|
|
36
|
+
|
|
37
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @dependabot[bot]
|
|
38
|
+
* update typescript and @types/node to version 5.7.3 and 22.13.0 respectively across multiple packages ([ddab05b](https://github.com/Alwatr/nanolib/commit/ddab05b5d767c30191f36a065e4bc88744e8e3fe)) by @alimd
|
|
39
|
+
|
|
6
40
|
## 5.0.0 (2024-11-02)
|
|
7
41
|
|
|
8
42
|
### ⚠ BREAKING CHANGES
|
package/README.md
CHANGED
|
@@ -69,8 +69,6 @@ isNumber({}); // false
|
|
|
69
69
|
|
|
70
70
|
The following companies, organizations, and individuals support Nanolib ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.
|
|
71
71
|
|
|
72
|
-
[](https://exirstudio.com)
|
|
73
|
-
|
|
74
72
|
### Contributing
|
|
75
73
|
|
|
76
74
|
Contributions are welcome! Please read our [contribution guidelines](https://github.com/Alwatr/.github/blob/next/CONTRIBUTING.md) before submitting a pull request.
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/is-number v5.
|
|
1
|
+
/* @alwatr/is-number v5.4.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,7 +25,7 @@ __export(main_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(main_exports);
|
|
27
27
|
var import_package_tracer = require("@alwatr/package-tracer");
|
|
28
|
-
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/is-number", "5.
|
|
28
|
+
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/is-number", "5.4.0");
|
|
29
29
|
function isNumber(value) {
|
|
30
30
|
if (typeof value === "number") {
|
|
31
31
|
return value - value === 0;
|
|
@@ -39,5 +39,4 @@ function isNumber(value) {
|
|
|
39
39
|
0 && (module.exports = {
|
|
40
40
|
isNumber
|
|
41
41
|
});
|
|
42
|
-
/*! For license information please see main.cjs.LEGAL.txt */
|
|
43
42
|
//# sourceMappingURL=main.cjs.map
|
package/dist/main.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* @alwatr/is-number v5.
|
|
1
|
+
/* @alwatr/is-number v5.4.0 */
|
|
2
2
|
|
|
3
3
|
// src/main.ts
|
|
4
4
|
import { packageTracer } from "@alwatr/package-tracer";
|
|
5
|
-
__dev_mode__: packageTracer.add("@alwatr/is-number", "5.
|
|
5
|
+
__dev_mode__: packageTracer.add("@alwatr/is-number", "5.4.0");
|
|
6
6
|
function isNumber(value) {
|
|
7
7
|
if (typeof value === "number") {
|
|
8
8
|
return value - value === 0;
|
|
@@ -15,5 +15,4 @@ function isNumber(value) {
|
|
|
15
15
|
export {
|
|
16
16
|
isNumber
|
|
17
17
|
};
|
|
18
|
-
/*! For license information please see main.mjs.LEGAL.txt */
|
|
19
18
|
//# sourceMappingURL=main.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/is-number",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"description": "A simple utility to Check the value is number or can convert to a number, for example string ' 123 ' can be converted to 123.",
|
|
5
5
|
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
|
|
6
6
|
"keywords": [
|
|
@@ -86,14 +86,14 @@
|
|
|
86
86
|
"clean": "rm -rfv dist *.tsbuildinfo"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@alwatr/package-tracer": "^5.
|
|
89
|
+
"@alwatr/package-tracer": "^5.4.0"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
|
-
"@alwatr/nano-build": "^5.
|
|
92
|
+
"@alwatr/nano-build": "^5.4.0",
|
|
93
93
|
"@alwatr/prettier-config": "^5.0.0",
|
|
94
94
|
"@alwatr/tsconfig-base": "^5.0.0",
|
|
95
95
|
"jest": "^29.7.0",
|
|
96
|
-
"typescript": "^5.
|
|
96
|
+
"typescript": "^5.7.3"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "074be0d0fe780bf929e163045f8f598cd2697636"
|
|
99
99
|
}
|
package/dist/main.cjs.LEGAL.txt
DELETED
|
File without changes
|
package/dist/main.mjs.LEGAL.txt
DELETED
|
File without changes
|