@tb-dev/utils 7.3.10 → 7.3.11

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -67,7 +67,9 @@ function flushPromises() {
67
67
  //#endregion
68
68
  //#region src/promise/promise-set.ts
69
69
  var PromiseSet = class PromiseSet {
70
- promises = /* @__PURE__ */ new Set();
70
+ constructor() {
71
+ this.promises = /* @__PURE__ */ new Set();
72
+ }
71
73
  chain(promise) {
72
74
  this.promises.add(promise);
73
75
  return this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/utils",
3
- "version": "7.3.10",
3
+ "version": "7.3.11",
4
4
  "description": "TypeScript utils",
5
5
  "license": "MIT",
6
6
  "type": "module",