@alwatr/parse-duration 1.1.8 → 5.3.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,68 @@
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.3.0](https://github.com/Alwatr/nanolib/compare/v5.2.1...v5.3.0) (2025-02-03)
7
+
8
+ ### Miscellaneous Chores
9
+
10
+ * edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @ArmanAsadian
11
+
12
+ ### Dependencies update
13
+
14
+ * bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @dependabot[bot]
15
+ * 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
16
+
17
+ ## 5.0.0 (2024-11-02)
18
+
19
+ ### ⚠ BREAKING CHANGES
20
+
21
+ * 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.
22
+
23
+ ### Features
24
+
25
+ * **parse-duration:** rewrite module 🤦🏻 ([be62163](https://github.com/Alwatr/nanolib/commit/be6216345cb3d4458307f55b8ae44f5ac60dda89)) by @
26
+ * **parse-duration:** rewrite with document ([43ffecc](https://github.com/Alwatr/nanolib/commit/43ffeccbc4a859ad838938a63fd52c82654cc9bb)) by @
27
+ * **parse-duration:** seperate parseDuration from `@alwatr/math` ([f5e32d0](https://github.com/Alwatr/nanolib/commit/f5e32d080be1b5355463f77a2f23fbd0955b8b67)) by @
28
+ * **parse-duration:** update parseDuration function to accept duration as number or string ([af413f5](https://github.com/Alwatr/nanolib/commit/af413f5399b7bb8c01d4e14ae1f9238e44368184)) by @
29
+ * use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @
30
+
31
+ ### Bug Fixes
32
+
33
+ * all dependeny topology ([1c17f34](https://github.com/Alwatr/nanolib/commit/1c17f349adf3e98e2a80ab2da4f0f81028dc9c5f)) by @
34
+ * **parse-duration:** remove unused variables ([500f272](https://github.com/Alwatr/nanolib/commit/500f2727373daf12b6b8b84032244a88f197948e)) by @
35
+
36
+ ### Code Refactoring
37
+
38
+ * prevent side-effects ([01e00e1](https://github.com/Alwatr/nanolib/commit/01e00e191385cc92b28677df0c01a085916ae677)) by @
39
+ * use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
40
+
41
+ ### Miscellaneous Chores
42
+
43
+ * **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @
44
+ * **deps:** update ([8e70dff](https://github.com/Alwatr/nanolib/commit/8e70dffb1e751496ef2e72d6cffd685f1fea44e3)) by @
45
+ * include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @
46
+ * **parse-duration:** add tsconfig.json ([e799038](https://github.com/Alwatr/nanolib/commit/e7990381f8820a3f6a449b908c0fc5da4e475abd)) by @
47
+ * **parse-duration:** change the license to AGPL-3.0 ([896df6f](https://github.com/Alwatr/nanolib/commit/896df6f64bb1df5954d6c46694e18bfb3e944f22)) by @
48
+ * **parse-duration:** deps ([1898f2e](https://github.com/Alwatr/nanolib/commit/1898f2ee41bb5561949d758a62754fd5086eb0c7)) by @
49
+ * **parse-duration:** package.json ([97f970d](https://github.com/Alwatr/nanolib/commit/97f970dfeb4a84ad66050cc5dd2611a013853c15)) by @
50
+ * **parse-duration:** rename main file ([be0d2fc](https://github.com/Alwatr/nanolib/commit/be0d2fc3d37f298936c9a85f7e095d670c805970)) by @
51
+ * Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @
52
+ * Update package.json exports for [@alwatr](https://github.com/alwatr) packages ([dacb362](https://github.com/Alwatr/nanolib/commit/dacb362b145e3c51b4aba00ff643687a3fac11d2)) by @
53
+ * Update test scripts and dependencies ([93d2fe6](https://github.com/Alwatr/nanolib/commit/93d2fe6d7ce9c38a300e0c7ed75874916767a14b)) by @
54
+
55
+ ### Dependencies update
56
+
57
+ * bump @types/node ([3d80fed](https://github.com/Alwatr/nanolib/commit/3d80fedaf720af792feb060c2f81c737ebb84e11)) by @
58
+ * bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @
59
+ * bump the development-dependencies group with 10 updates ([fa4aaf0](https://github.com/Alwatr/nanolib/commit/fa4aaf04c907ecae06aa14000ce35216170c15ad)) by @
60
+ * bump the development-dependencies group with 2 updates ([be5d6c2](https://github.com/Alwatr/nanolib/commit/be5d6c2d86b937f32cebc6848aaff85af07055dd)) by @
61
+ * upd ([451d025](https://github.com/Alwatr/nanolib/commit/451d0255ba96ed55f897a6f44f62cf4e6d2b12be)) by @
62
+ * update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @
63
+ * update all ([53342f6](https://github.com/Alwatr/nanolib/commit/53342f67a8a013127f073540bc11929f1813c05c)) by @
64
+ * update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @
65
+ * update all dependencies ([0e908b4](https://github.com/Alwatr/nanolib/commit/0e908b476a6b976ec2447f864c8cafcbb8a0f099)) by @
66
+ * upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @
67
+
6
68
  ## [1.1.8](https://github.com/Alwatr/nanolib/compare/@alwatr/parse-duration@1.1.7...@alwatr/parse-duration@1.1.8) (2024-11-02)
7
69
 
8
70
  **Note:** Version bump only for package @alwatr/parse-duration
package/README.md CHANGED
@@ -39,8 +39,6 @@ parseDuration('10d', 'h'); // 240
39
39
 
40
40
  The following companies, organizations, and individuals support Nanolib ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.
41
41
 
42
- [![Exir Studio](https://avatars.githubusercontent.com/u/181194967?s=200&v=4)](https://exirstudio.com)
43
-
44
42
  ### Contributing
45
43
 
46
44
  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/parse-duration v1.1.8 */
1
+ /* @alwatr/parse-duration v5.3.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", "1.1.8");
29
+ __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/parse-duration", "5.3.0");
30
30
  var unitConversion_ = {
31
31
  s: 1e3,
32
32
  m: 6e4,
package/dist/main.mjs CHANGED
@@ -1,9 +1,9 @@
1
- /* @alwatr/parse-duration v1.1.8 */
1
+ /* @alwatr/parse-duration v5.3.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", "1.1.8");
6
+ __dev_mode__: packageTracer.add("@alwatr/parse-duration", "5.3.0");
7
7
  var unitConversion_ = {
8
8
  s: 1e3,
9
9
  m: 6e4,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/parse-duration",
3
- "version": "1.1.8",
3
+ "version": "5.3.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": "^1.1.8",
74
- "@alwatr/package-tracer": "^1.0.8"
73
+ "@alwatr/is-number": "^5.3.0",
74
+ "@alwatr/package-tracer": "^5.3.0"
75
75
  },
76
76
  "devDependencies": {
77
- "@alwatr/nano-build": "^2.0.4",
78
- "@alwatr/prettier-config": "^1.0.6",
79
- "@alwatr/tsconfig-base": "^1.3.3",
77
+ "@alwatr/nano-build": "^5.3.0",
78
+ "@alwatr/prettier-config": "^5.0.0",
79
+ "@alwatr/tsconfig-base": "^5.0.0",
80
80
  "jest": "^29.7.0",
81
- "typescript": "^5.6.3"
81
+ "typescript": "^5.7.3"
82
82
  },
83
- "gitHead": "5aecc962a161034aa9213dcc5fb3c1cece9eaca2"
83
+ "gitHead": "9cfb80ed0666355887d8e3865fc75311420ac371"
84
84
  }