@alwatr/parse-duration 5.3.0 → 5.5.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 CHANGED
@@ -3,6 +3,39 @@
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.5.0](https://github.com/Alwatr/nanolib/compare/@alwatr/parse-duration@5.4.0...@alwatr/parse-duration@5.5.0) (2025-03-06)
7
+
8
+ ### Miscellaneous Chores
9
+
10
+ * update username casing in changelog entries ([9722ac9](https://github.com/Alwatr/nanolib/commit/9722ac9a078438a4e8ebfa5826ea70e0e3a52ca6)) by @
11
+
12
+ ### Dependencies update
13
+
14
+ * bump the development-dependencies group across 1 directory with 11 updates ([720c395](https://github.com/Alwatr/nanolib/commit/720c3954da55c929fe8fb16957121f4c51fb7f0c)) by @dependabot[bot]
15
+
16
+ ## [5.4.0](https://github.com/Alwatr/nanolib/compare/@alwatr/parse-duration@1.1.8...@alwatr/parse-duration@5.4.0) (2025-02-18)
17
+
18
+ ## 5.3.0 (2025-02-03)
19
+
20
+ ### Miscellaneous Chores
21
+
22
+ * edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @
23
+
24
+ ### Dependencies update
25
+
26
+ * bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @
27
+ * 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 @
28
+
29
+ ## 5.0.0 (2024-11-02)
30
+
31
+ ### ⚠ BREAKING CHANGES
32
+
33
+ * 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.
34
+
35
+ ### Code Refactoring
36
+
37
+ * use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
38
+
6
39
  ## [5.3.0](https://github.com/Alwatr/nanolib/compare/v5.2.1...v5.3.0) (2025-02-03)
7
40
 
8
41
  ### Miscellaneous Chores
@@ -87,7 +120,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
87
120
 
88
121
  ### Miscellaneous Chores
89
122
 
90
- - include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @AliMD
123
+ - include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @alimd
91
124
 
92
125
  ## [1.1.3](https://github.com/Alwatr/nanolib/compare/@alwatr/parse-duration@1.1.2...@alwatr/parse-duration@1.1.3) (2024-10-11)
93
126
 
@@ -107,7 +140,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
107
140
 
108
141
  ### Features
109
142
 
110
- - **parse-duration:** update parseDuration function to accept duration as number or string ([af413f5](https://github.com/Alwatr/nanolib/commit/af413f5399b7bb8c01d4e14ae1f9238e44368184)) by @AliMD
143
+ - **parse-duration:** update parseDuration function to accept duration as number or string ([af413f5](https://github.com/Alwatr/nanolib/commit/af413f5399b7bb8c01d4e14ae1f9238e44368184)) by @alimd
111
144
  - use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @mohammadhonarvar
112
145
 
113
146
  ### Bug Fixes
@@ -117,7 +150,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
117
150
  ### Miscellaneous Chores
118
151
 
119
152
  - **parse-duration:** change the license to AGPL-3.0 ([896df6f](https://github.com/Alwatr/nanolib/commit/896df6f64bb1df5954d6c46694e18bfb3e944f22)) by @ArmanAsadian
120
- - Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @AliMD
153
+ - Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @alimd
121
154
 
122
155
  ### Dependencies update
123
156
 
@@ -132,7 +165,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
132
165
  ### Dependencies update
133
166
 
134
167
  - bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
135
- - update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @AliMD
168
+ - update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @alimd
136
169
 
137
170
  ## [1.0.9](https://github.com/Alwatr/nanolib/compare/@alwatr/parse-duration@1.0.8...@alwatr/parse-duration@1.0.9) (2024-08-31)
138
171
 
@@ -144,7 +177,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
144
177
 
145
178
  ### Dependencies update
146
179
 
147
- - update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @AliMD
180
+ - update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @alimd
148
181
 
149
182
  ## [1.0.7](https://github.com/Alwatr/nanolib/compare/@alwatr/parse-duration@1.0.6...@alwatr/parse-duration@1.0.7) (2024-07-04)
150
183
 
@@ -156,7 +189,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
156
189
 
157
190
  ### Dependencies update
158
191
 
159
- - upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @AliMD
192
+ - upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @alimd
160
193
 
161
194
  ## [1.0.5](https://github.com/Alwatr/nanolib/compare/@alwatr/parse-duration@1.0.4...@alwatr/parse-duration@1.0.5) (2024-04-25)
162
195
 
@@ -170,7 +203,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
170
203
 
171
204
  ### Miscellaneous Chores
172
205
 
173
- - **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @AliMD
206
+ - **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @alimd
174
207
 
175
208
  ## [1.0.2](https://github.com/Alwatr/nanolib/compare/@alwatr/parse-duration@1.0.1...@alwatr/parse-duration@1.0.2) (2024-01-24)
176
209
 
@@ -188,6 +221,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
188
221
 
189
222
  ### Features
190
223
 
191
- - **parse-duration:** rewrite module 🤦🏻 ([be62163](https://github.com/Alwatr/nanolib/commit/be6216345cb3d4458307f55b8ae44f5ac60dda89)) by @AliMD
224
+ - **parse-duration:** rewrite module 🤦🏻 ([be62163](https://github.com/Alwatr/nanolib/commit/be6216345cb3d4458307f55b8ae44f5ac60dda89)) by @alimd
192
225
  - **parse-duration:** rewrite with document ([43ffecc](https://github.com/Alwatr/nanolib/commit/43ffeccbc4a859ad838938a63fd52c82654cc9bb)) by @njfamirm
193
226
  - **parse-duration:** seperate parseDuration from `@alwatr/math` ([f5e32d0](https://github.com/Alwatr/nanolib/commit/f5e32d080be1b5355463f77a2f23fbd0955b8b67)) by @adltalab
package/dist/main.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/parse-duration v5.3.0 */
1
+ /* @alwatr/parse-duration v5.5.0 */
2
2
  "use strict";
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -26,7 +26,7 @@ __export(main_exports, {
26
26
  module.exports = __toCommonJS(main_exports);
27
27
  var import_is_number = require("@alwatr/is-number");
28
28
  var import_package_tracer = require("@alwatr/package-tracer");
29
- __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/parse-duration", "5.3.0");
29
+ __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/parse-duration", "5.5.0");
30
30
  var unitConversion_ = {
31
31
  s: 1e3,
32
32
  m: 6e4,
@@ -66,5 +66,4 @@ var parseDuration = (duration, toUnit) => {
66
66
  0 && (module.exports = {
67
67
  parseDuration
68
68
  });
69
- /*! For license information please see main.cjs.LEGAL.txt */
70
69
  //# sourceMappingURL=main.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,QAAA,MAAM,eAAe;;;;;;;;CAQX,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,eAAe,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,GAAG,MAAM,GAAG,YAAY,EAAE,GAAG,MAAM,CAAC;AAE3D;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,aAAa,aAAc,QAAQ,WAAW,YAAY,KAAG,MA8BzE,CAAC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,QAAA,MAAM,eAAe;;;;;;;;CAQX,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,eAAe,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,GAAG,MAAM,GAAG,YAAY,EAAE,GAAG,MAAM,CAAC;AAE3D;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,aAAa,GAAI,UAAU,QAAQ,EAAE,SAAS,YAAY,KAAG,MA8BzE,CAAC"}
package/dist/main.mjs CHANGED
@@ -1,9 +1,9 @@
1
- /* @alwatr/parse-duration v5.3.0 */
1
+ /* @alwatr/parse-duration v5.5.0 */
2
2
 
3
3
  // src/main.ts
4
4
  import { isNumber } from "@alwatr/is-number";
5
5
  import { packageTracer } from "@alwatr/package-tracer";
6
- __dev_mode__: packageTracer.add("@alwatr/parse-duration", "5.3.0");
6
+ __dev_mode__: packageTracer.add("@alwatr/parse-duration", "5.5.0");
7
7
  var unitConversion_ = {
8
8
  s: 1e3,
9
9
  m: 6e4,
@@ -42,5 +42,4 @@ var parseDuration = (duration, toUnit) => {
42
42
  export {
43
43
  parseDuration
44
44
  };
45
- /*! For license information please see main.mjs.LEGAL.txt */
46
45
  //# sourceMappingURL=main.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/parse-duration",
3
- "version": "5.3.0",
3
+ "version": "5.5.0",
4
4
  "description": "A simple utility to parse a duration string into milliseconds number.",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
6
  "keywords": [
@@ -70,15 +70,15 @@
70
70
  "clean": "rm -rfv dist *.tsbuildinfo"
71
71
  },
72
72
  "dependencies": {
73
- "@alwatr/is-number": "^5.3.0",
74
- "@alwatr/package-tracer": "^5.3.0"
73
+ "@alwatr/is-number": "^5.5.0",
74
+ "@alwatr/package-tracer": "^5.5.0"
75
75
  },
76
76
  "devDependencies": {
77
- "@alwatr/nano-build": "^5.3.0",
77
+ "@alwatr/nano-build": "^5.5.0",
78
78
  "@alwatr/prettier-config": "^5.0.0",
79
79
  "@alwatr/tsconfig-base": "^5.0.0",
80
80
  "jest": "^29.7.0",
81
- "typescript": "^5.7.3"
81
+ "typescript": "^5.8.2"
82
82
  },
83
- "gitHead": "9cfb80ed0666355887d8e3865fc75311420ac371"
83
+ "gitHead": "fdf8e6de77cca359465110a75ff18faff0649a95"
84
84
  }
File without changes
File without changes