@alwatr/is-number 5.7.1 → 5.7.2

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
@@ -139,6 +139,4 @@ The following companies, organizations, and individuals support Nanolib ongoing
139
139
 
140
140
  Contributions are welcome! Please read our [contribution guidelines](https://github.com/Alwatr/.github/blob/next/CONTRIBUTING.md) before submitting a pull request.
141
141
 
142
- ### License
143
142
 
144
- This project is licensed under the [AGPL-3.0 License](LICENSE).
package/dist/main.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/is-number v5.7.1 */
1
+ /* @alwatr/is-number v5.7.2 */
2
2
  "use strict";
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -27,7 +27,7 @@ __export(main_exports, {
27
27
  });
28
28
  module.exports = __toCommonJS(main_exports);
29
29
  var import_package_tracer = require("@alwatr/package-tracer");
30
- __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/is-number", "5.7.1");
30
+ __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/is-number", "5.7.2");
31
31
  function isFiniteNumber(value) {
32
32
  if (typeof Number.isFinite === "function") {
33
33
  return Number.isFinite(value);
package/dist/main.mjs CHANGED
@@ -1,8 +1,8 @@
1
- /* @alwatr/is-number v5.7.1 */
1
+ /* @alwatr/is-number v5.7.2 */
2
2
 
3
3
  // src/main.ts
4
4
  import { packageTracer } from "@alwatr/package-tracer";
5
- __dev_mode__: packageTracer.add("@alwatr/is-number", "5.7.1");
5
+ __dev_mode__: packageTracer.add("@alwatr/is-number", "5.7.2");
6
6
  function isFiniteNumber(value) {
7
7
  if (typeof Number.isFinite === "function") {
8
8
  return Number.isFinite(value);
package/package.json CHANGED
@@ -1,21 +1,56 @@
1
1
  {
2
2
  "name": "@alwatr/is-number",
3
- "version": "5.7.1",
4
3
  "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.",
4
+ "version": "5.7.2",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
+ "bugs": "https://github.com/Alwatr/nanolib/issues",
7
+ "dependencies": {
8
+ "@alwatr/package-tracer": "5.5.5"
9
+ },
10
+ "devDependencies": {
11
+ "@alwatr/nano-build": "5.5.5",
12
+ "@alwatr/prettier-config": "5.0.1",
13
+ "@alwatr/tsconfig-base": "5.0.1",
14
+ "jest": "^30.0.5",
15
+ "typescript": "^5.9.2"
16
+ },
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/main.d.ts",
20
+ "import": "./dist/main.mjs",
21
+ "require": "./dist/main.cjs"
22
+ }
23
+ },
24
+ "files": [
25
+ "**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}",
26
+ "LICENSE",
27
+ "!demo/**/*"
28
+ ],
29
+ "homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/is-number#readme",
6
30
  "keywords": [
7
- "is-number",
8
- "isnumber",
9
- "isnan",
31
+ "alwatr",
32
+ "browser",
33
+ "cross-platform",
34
+ "ECMAScript",
35
+ "esm",
10
36
  "finite",
11
- "isfinite",
12
- "is-nan",
13
- "is-num",
14
37
  "integer",
15
38
  "is",
39
+ "is-nan",
40
+ "is-num",
41
+ "is-number",
42
+ "isfinite",
43
+ "isnan",
44
+ "isnumber",
45
+ "javascript",
16
46
  "kind",
17
47
  "math",
48
+ "mathematics",
49
+ "module",
18
50
  "nan",
51
+ "nanolib",
52
+ "node",
53
+ "nodejs",
19
54
  "num",
20
55
  "number",
21
56
  "numeric",
@@ -23,39 +58,15 @@
23
58
  "parseInt",
24
59
  "type",
25
60
  "typeof",
26
- "mathematics",
27
- "cross-platform",
28
- "ECMAScript",
29
61
  "typescript",
30
- "javascript",
31
- "node",
32
- "nodejs",
33
- "browser",
34
- "esm",
35
- "module",
36
- "utility",
37
62
  "util",
38
- "utils",
39
- "nanolib",
40
- "alwatr"
63
+ "utility",
64
+ "utils"
41
65
  ],
42
- "type": "module",
66
+ "license": "MPL-2.0",
43
67
  "main": "./dist/main.cjs",
44
68
  "module": "./dist/main.mjs",
45
- "types": "./dist/main.d.ts",
46
- "exports": {
47
- ".": {
48
- "types": "./dist/main.d.ts",
49
- "import": "./dist/main.mjs",
50
- "require": "./dist/main.cjs"
51
- }
52
- },
53
- "license": "AGPL-3.0-only",
54
- "files": [
55
- "**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}",
56
- "LICENSE",
57
- "!demo/**/*"
58
- ],
69
+ "prettier": "@alwatr/prettier-config",
59
70
  "publishConfig": {
60
71
  "access": "public"
61
72
  },
@@ -64,36 +75,23 @@
64
75
  "url": "https://github.com/Alwatr/nanolib",
65
76
  "directory": "packages/is-number"
66
77
  },
67
- "homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/is-number#readme",
68
- "bugs": {
69
- "url": "https://github.com/Alwatr/nanolib/issues"
70
- },
71
- "prettier": "@alwatr/prettier-config",
72
78
  "scripts": {
73
79
  "b": "yarn run build",
74
- "t": "yarn run test",
75
- "w": "yarn run watch",
76
- "c": "yarn run clean",
77
- "cb": "yarn run clean && yarn run build",
78
- "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
79
80
  "build": "yarn run build:ts && yarn run build:es",
80
81
  "build:es": "nano-build --preset=module",
81
82
  "build:ts": "tsc --build",
83
+ "c": "yarn run clean",
84
+ "cb": "yarn run clean && yarn run build",
85
+ "clean": "rm -rfv dist *.tsbuildinfo",
86
+ "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
87
+ "t": "yarn run test",
82
88
  "test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest",
89
+ "w": "yarn run watch",
83
90
  "watch": "yarn run watch:ts & yarn run watch:es",
84
91
  "watch:es": "yarn run build:es --watch",
85
- "watch:ts": "yarn run build:ts --watch --preserveWatchOutput",
86
- "clean": "rm -rfv dist *.tsbuildinfo"
87
- },
88
- "dependencies": {
89
- "@alwatr/package-tracer": "5.5.4"
90
- },
91
- "devDependencies": {
92
- "@alwatr/nano-build": "5.5.4",
93
- "@alwatr/prettier-config": "5.0.0",
94
- "@alwatr/tsconfig-base": "5.0.0",
95
- "jest": "^29.7.0",
96
- "typescript": "^5.8.3"
92
+ "watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
97
93
  },
98
- "gitHead": "dd749e0b9adecdefa8e906669858c014b53bdab0"
94
+ "type": "module",
95
+ "types": "./dist/main.d.ts",
96
+ "gitHead": "102cc505864da042258ffe18894dc5a9157b0040"
99
97
  }