@furystack/utils 2.0.4 → 2.0.5

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/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./disposable"), exports);
5
- (0, tslib_1.__exportStar)(require("./deep-merge"), exports);
6
- (0, tslib_1.__exportStar)(require("./debounce"), exports);
7
- (0, tslib_1.__exportStar)(require("./observable-value"), exports);
8
- (0, tslib_1.__exportStar)(require("./value-observer"), exports);
9
- (0, tslib_1.__exportStar)(require("./path-helper"), exports);
10
- (0, tslib_1.__exportStar)(require("./sleep-async"), exports);
11
- (0, tslib_1.__exportStar)(require("./sort-by"), exports);
12
- (0, tslib_1.__exportStar)(require("./trace"), exports);
13
- (0, tslib_1.__exportStar)(require("./tuple"), exports);
4
+ tslib_1.__exportStar(require("./disposable"), exports);
5
+ tslib_1.__exportStar(require("./deep-merge"), exports);
6
+ tslib_1.__exportStar(require("./debounce"), exports);
7
+ tslib_1.__exportStar(require("./observable-value"), exports);
8
+ tslib_1.__exportStar(require("./value-observer"), exports);
9
+ tslib_1.__exportStar(require("./path-helper"), exports);
10
+ tslib_1.__exportStar(require("./sleep-async"), exports);
11
+ tslib_1.__exportStar(require("./sort-by"), exports);
12
+ tslib_1.__exportStar(require("./trace"), exports);
13
+ tslib_1.__exportStar(require("./tuple"), exports);
14
14
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,4DAA4B;AAC5B,4DAA4B;AAC5B,0DAA0B;AAC1B,kEAAkC;AAClC,gEAAgC;AAChC,6DAA6B;AAC7B,6DAA6B;AAC7B,yDAAyB;AACzB,uDAAuB;AACvB,uDAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA4B;AAC5B,uDAA4B;AAC5B,qDAA0B;AAC1B,6DAAkC;AAClC,2DAAgC;AAChC,wDAA6B;AAC7B,wDAA6B;AAC7B,oDAAyB;AACzB,kDAAuB;AACvB,kDAAuB"}
@@ -2,7 +2,6 @@
2
2
  * Returns a simple promise that will be resolved within a discrete timeout
3
3
  *
4
4
  * @param timeout The timeout in millisecs
5
- * @returns a promise that will be resolved after the timeout
6
5
  */
7
6
  export declare const sleepAsync: (timeout?: number) => Promise<void>;
8
7
  //# sourceMappingURL=sleep-async.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sleep-async.d.ts","sourceRoot":"","sources":["../src/sleep-async.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,UAAU,qCAKpB,CAAA"}
1
+ {"version":3,"file":"sleep-async.d.ts","sourceRoot":"","sources":["../src/sleep-async.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,UAAU,qCAKpB,CAAA"}
@@ -5,7 +5,6 @@ exports.sleepAsync = void 0;
5
5
  * Returns a simple promise that will be resolved within a discrete timeout
6
6
  *
7
7
  * @param timeout The timeout in millisecs
8
- * @returns a promise that will be resolved after the timeout
9
8
  */
10
9
  const sleepAsync = (timeout = 250) => new Promise((resolve) => setTimeout(() => {
11
10
  resolve();
@@ -1 +1 @@
1
- {"version":3,"file":"sleep-async.js","sourceRoot":"","sources":["../src/sleep-async.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACI,MAAM,UAAU,GAAG,CAAC,OAAO,GAAG,GAAG,EAAE,EAAE,CAC1C,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE,CAC5B,UAAU,CAAC,GAAG,EAAE;IACd,OAAO,EAAE,CAAA;AACX,CAAC,EAAE,OAAO,CAAC,CACZ,CAAA;AALU,QAAA,UAAU,cAKpB"}
1
+ {"version":3,"file":"sleep-async.js","sourceRoot":"","sources":["../src/sleep-async.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACI,MAAM,UAAU,GAAG,CAAC,OAAO,GAAG,GAAG,EAAE,EAAE,CAC1C,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE,CAC5B,UAAU,CAAC,GAAG,EAAE;IACd,OAAO,EAAE,CAAA;AACX,CAAC,EAAE,OAAO,CAAC,CACZ,CAAA;AALU,QAAA,UAAU,cAKpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@furystack/utils",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "General utilities",
5
5
  "main": "dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -34,6 +34,6 @@
34
34
  },
35
35
  "homepage": "https://github.com/furystack/furystack",
36
36
  "devDependencies": {
37
- "@types/jest": "^27.4.0"
37
+ "@types/jest": "^27.4.1"
38
38
  }
39
39
  }
@@ -2,7 +2,6 @@
2
2
  * Returns a simple promise that will be resolved within a discrete timeout
3
3
  *
4
4
  * @param timeout The timeout in millisecs
5
- * @returns a promise that will be resolved after the timeout
6
5
  */
7
6
  export const sleepAsync = (timeout = 250) =>
8
7
  new Promise<void>((resolve) =>