@alwatr/is-number 1.0.2 → 1.0.4

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 CHANGED
@@ -3,6 +3,16 @@
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
+ ## [1.0.4](https://github.com/Alwatr/nanolib/compare/@alwatr/is-number@1.0.3...@alwatr/is-number@1.0.4) (2024-03-28)
7
+
8
+ **Note:** Version bump only for package @alwatr/is-number
9
+
10
+ ## [1.0.3](https://github.com/Alwatr/nanolib/compare/@alwatr/is-number@1.0.2...@alwatr/is-number@1.0.3) (2024-01-31)
11
+
12
+ ### Miscellaneous Chores
13
+
14
+ * **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @AliMD
15
+
6
16
  ## [1.0.2](https://github.com/Alwatr/nanolib/compare/@alwatr/is-number@1.0.1...@alwatr/is-number@1.0.2) (2024-01-24)
7
17
 
8
18
  **Note:** Version bump only for package @alwatr/is-number
@@ -15,9 +25,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
15
25
 
16
26
  ### Bug Fixes
17
27
 
18
- * **is-number:** Remove Number.isFinite polyfill ([aa149f3](https://github.com/Alwatr/nanolib/commit/aa149f302f96d961b058fc3a9d70399c1023cbe3)) by @AliMD
28
+ - **is-number:** Remove Number.isFinite polyfill ([aa149f3](https://github.com/Alwatr/nanolib/commit/aa149f302f96d961b058fc3a9d70399c1023cbe3)) by @AliMD
19
29
 
20
30
  ### Features
21
31
 
22
- * **is-number:** extract from @alwatr/util ([1c8a676](https://github.com/Alwatr/nanolib/commit/1c8a676ccefcad12436f41b96eeb39c60cc09040)) by @njfamirm
23
- * **is-number:** Update is-number package description and add Number.isFinite polyfill ([a7c8e38](https://github.com/Alwatr/nanolib/commit/a7c8e38eb3e939199cf5637feaf08ac0ed98e2e6)) by @AliMD
32
+ - **is-number:** extract from @alwatr/util ([1c8a676](https://github.com/Alwatr/nanolib/commit/1c8a676ccefcad12436f41b96eeb39c60cc09040)) by @njfamirm
33
+ - **is-number:** Update is-number package description and add Number.isFinite polyfill ([a7c8e38](https://github.com/Alwatr/nanolib/commit/a7c8e38eb3e939199cf5637feaf08ac0ed98e2e6)) by @AliMD
package/dist/main.cjs CHANGED
@@ -1,3 +1,3 @@
1
- /* @alwatr/is-number v1.0.2 */
1
+ /* @alwatr/is-number v1.0.4 */
2
2
  "use strict";var e=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var m=(i,n)=>{for(var t in n)e(i,t,{get:n[t],enumerable:!0})},p=(i,n,t,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of s(n))!b.call(i,r)&&r!==t&&e(i,r,{get:()=>n[r],enumerable:!(o=f(n,r))||o.enumerable});return i};var u=i=>p(e({},"__esModule",{value:!0}),i);var N={};m(N,{isNumber:()=>F});module.exports=u(N);function F(i){return typeof i=="number"?i-i===0:typeof i=="string"&&i.trim()!==""?Number.isFinite?Number.isFinite(+i):isFinite(+i):!1}0&&(module.exports={isNumber});
3
3
  //# sourceMappingURL=main.cjs.map
package/dist/main.mjs CHANGED
@@ -1,3 +1,3 @@
1
- /* @alwatr/is-number v1.0.2 */
1
+ /* @alwatr/is-number v1.0.4 */
2
2
  function n(i){return typeof i=="number"?i-i===0:typeof i=="string"&&i.trim()!==""?Number.isFinite?Number.isFinite(+i):isFinite(+i):!1}export{n as isNumber};
3
3
  //# sourceMappingURL=main.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/is-number",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
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": [
@@ -85,12 +85,12 @@
85
85
  "clean": "rm -rfv dist *.tsbuildinfo"
86
86
  },
87
87
  "devDependencies": {
88
- "@alwatr/nano-build": "^1.3.2",
88
+ "@alwatr/nano-build": "^1.3.4",
89
89
  "@alwatr/prettier-config": "^1.0.4",
90
- "@alwatr/tsconfig-base": "^1.1.1",
91
- "@types/node": "^20.11.6",
90
+ "@alwatr/tsconfig-base": "^1.1.2",
91
+ "@types/node": "^20.11.30",
92
92
  "jest": "^29.7.0",
93
- "typescript": "^5.3.3"
93
+ "typescript": "^5.4.3"
94
94
  },
95
- "gitHead": "3486060abc5f331a3b8c78da7f1d671ba1139b5d"
95
+ "gitHead": "df149736d1e85335aaeb9c547ff3bdd1161f9b33"
96
96
  }
package/src/main.test.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isNumber } from '@alwatr/is-number';
1
+ import {isNumber} from '@alwatr/is-number';
2
2
 
3
3
  describe('isNumber', () => {
4
4
  it('should return true for numbers', () => {