@alwatr/delay 1.0.7 → 5.0.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,50 @@
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.0.0 (2024-11-02)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * 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.
11
+
12
+ ### Features
13
+
14
+ * use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @
15
+
16
+ ### Bug Fixes
17
+
18
+ * use new `global-this` package & remove global type & prevent sidee-ffects ([092d448](https://github.com/Alwatr/nanolib/commit/092d44885738ed58215698917ae97c13958f7c7d)) by @
19
+
20
+ ### Code Refactoring
21
+
22
+ * **delay:** prevent side-effects ([f92eeed](https://github.com/Alwatr/nanolib/commit/f92eeed7d917f6eb3ca9a407fab0b1ea77adc1d4)) by @
23
+ * **delay:** update delay package to use @alwatr/parse-duration for duration delays ([cca1be2](https://github.com/Alwatr/nanolib/commit/cca1be2dcfeec6dce388562ef867b81af1823b62)) by @
24
+ * **delay:** update untilIdle function to accept Duration instead of DurationString ([b3a5c32](https://github.com/Alwatr/nanolib/commit/b3a5c322a1b59833693149da644c7d2eddd6a374)) by @
25
+ * prevent side-effects ([01e00e1](https://github.com/Alwatr/nanolib/commit/01e00e191385cc92b28677df0c01a085916ae677)) by @
26
+ * update Dictionary type definitions ([c94cbc4](https://github.com/Alwatr/nanolib/commit/c94cbc4523864e2cc47828ccf5508b68945ac2b8)) by @
27
+ * use new `global-this` package ([42510b9](https://github.com/Alwatr/nanolib/commit/42510b9ae0e385206a902db093d188949f1cb84e)) by @
28
+ * use new type-helper global types and remove all import types ([08b5d08](https://github.com/Alwatr/nanolib/commit/08b5d08c03c7c315382337239de0426462f384b8)) by @
29
+ * use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
30
+ * **wait:** rename package to delay ([cf8c45c](https://github.com/Alwatr/nanolib/commit/cf8c45cf3f5b61fdd4b1b1c7f744c4eb3e230016)) by @
31
+
32
+ ### Miscellaneous Chores
33
+
34
+ * fix versions ([497a6d8](https://github.com/Alwatr/nanolib/commit/497a6d81ae5989e566e96d498fc5f1b6c80193ae)) by @
35
+ * include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @
36
+
37
+ ### Dependencies update
38
+
39
+ * bump the development-dependencies group across 1 directory with 2 updates ([2dfda9e](https://github.com/Alwatr/nanolib/commit/2dfda9ec38a595f1fd961490d1a2fbf060f20a66)) by @
40
+ * bump the development-dependencies group with 10 updates ([fa4aaf0](https://github.com/Alwatr/nanolib/commit/fa4aaf04c907ecae06aa14000ce35216170c15ad)) by @
41
+ * bump the development-dependencies group with 8 updates ([16847ac](https://github.com/Alwatr/nanolib/commit/16847acba91da027c422e3910d0f2dcc1f084e93)) by @
42
+ * update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @
43
+
44
+ ## [1.0.8](https://github.com/Alwatr/nanolib/compare/@alwatr/delay@1.0.7...@alwatr/delay@1.0.8) (2024-11-02)
45
+
46
+ ### Dependencies update
47
+
48
+ * update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @AliMD
49
+
6
50
  ## [1.0.7](https://github.com/Alwatr/nanolib/compare/@alwatr/delay@1.0.6...@alwatr/delay@1.0.7) (2024-10-25)
7
51
 
8
52
  ### Dependencies update
package/dist/main.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/delay v1.0.7 */
1
+ /* @alwatr/delay v5.0.0 */
2
2
  "use strict";
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -36,7 +36,7 @@ var requestIdleCallbackFallback = (callback, options) => setTimeout(callback, op
36
36
  var requestIdleCallback = /* @__PURE__ */ (() => win.requestIdleCallback || win.webkitRequestIdleCallback || win.mozRequestIdleCallback || requestIdleCallbackFallback)();
37
37
 
38
38
  // src/main.ts
39
- __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/delay", "1.0.7");
39
+ __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/delay", "5.0.0");
40
40
  var delay = {
41
41
  /**
42
42
  * Delays execution for a specified duration (in milliseconds).
package/dist/main.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/delay v1.0.7 */
1
+ /* @alwatr/delay v5.0.0 */
2
2
 
3
3
  // src/main.ts
4
4
  import { packageTracer } from "@alwatr/package-tracer";
@@ -13,7 +13,7 @@ var requestIdleCallbackFallback = (callback, options) => setTimeout(callback, op
13
13
  var requestIdleCallback = /* @__PURE__ */ (() => win.requestIdleCallback || win.webkitRequestIdleCallback || win.mozRequestIdleCallback || requestIdleCallbackFallback)();
14
14
 
15
15
  // src/main.ts
16
- __dev_mode__: packageTracer.add("@alwatr/delay", "1.0.7");
16
+ __dev_mode__: packageTracer.add("@alwatr/delay", "5.0.0");
17
17
  var delay = {
18
18
  /**
19
19
  * Delays execution for a specified duration (in milliseconds).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/delay",
3
- "version": "1.0.7",
3
+ "version": "5.0.0",
4
4
  "description": "Comprehensive toolkit for managing asynchronous operations.",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
6
  "keywords": [
@@ -67,17 +67,17 @@
67
67
  "clean": "rm -rfv dist *.tsbuildinfo"
68
68
  },
69
69
  "dependencies": {
70
- "@alwatr/global-this": "^1.0.2",
71
- "@alwatr/package-tracer": "^1.0.7",
72
- "@alwatr/parse-duration": "^1.1.7"
70
+ "@alwatr/global-this": "^5.0.0",
71
+ "@alwatr/package-tracer": "^5.0.0",
72
+ "@alwatr/parse-duration": "^5.0.0"
73
73
  },
74
74
  "devDependencies": {
75
- "@alwatr/nano-build": "^2.0.3",
76
- "@alwatr/prettier-config": "^1.0.6",
77
- "@alwatr/tsconfig-base": "^1.3.3",
78
- "@alwatr/type-helper": "^2.0.3",
79
- "@types/node": "^22.8.0",
75
+ "@alwatr/nano-build": "^5.0.0",
76
+ "@alwatr/prettier-config": "^5.0.0",
77
+ "@alwatr/tsconfig-base": "^5.0.0",
78
+ "@alwatr/type-helper": "^5.0.0",
79
+ "@types/node": "^22.8.6",
80
80
  "typescript": "^5.6.3"
81
81
  },
82
- "gitHead": "a1e430a02f9a5711fc43f19012091bcd8806c4f9"
82
+ "gitHead": "7d12943fafa8ef50636346e66ff56c50e2fd0c72"
83
83
  }