@cumulus/common 18.3.1 → 18.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cumulus/common",
3
- "version": "18.3.1",
3
+ "version": "18.3.3",
4
4
  "description": "Common utilities used across tasks",
5
5
  "keywords": [
6
6
  "GIBS",
@@ -46,9 +46,9 @@
46
46
  "dependencies": {
47
47
  "@aws-sdk/client-s3": "^3.447.0",
48
48
  "@aws-sdk/signature-v4-crt": "^3.447.0",
49
- "@cumulus/aws-client": "18.3.1",
50
- "@cumulus/errors": "18.3.1",
51
- "@cumulus/logger": "18.3.1",
49
+ "@cumulus/aws-client": "18.3.3",
50
+ "@cumulus/errors": "18.3.3",
51
+ "@cumulus/logger": "18.3.3",
52
52
  "ajv": "^6.12.3",
53
53
  "follow-redirects": "^1.2.4",
54
54
  "fs-extra": "^5.0.0",
@@ -70,5 +70,5 @@
70
70
  "@types/node-forge": "^0.9.5",
71
71
  "@types/url-join": "^4.0.0"
72
72
  },
73
- "gitHead": "0393f90c6401ef0c524068e4636c1dcc389020b8"
73
+ "gitHead": "2750792b9913f7bbad429d4b942ef4e59c5ef3d2"
74
74
  }
package/sleep.d.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  /**
2
2
  * Sleep for the given number of milliseconds
3
+ *
4
+ * @param {number} duration - The number of milliseconds to sleep.
5
+ * @returns {Promise} A `Promise` that resolves after the given duration.
3
6
  */
4
7
  export declare const sleep: (duration: number) => Promise<void>;
5
8
  //# sourceMappingURL=sleep.d.ts.map
package/sleep.js CHANGED
@@ -3,6 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sleep = void 0;
4
4
  /**
5
5
  * Sleep for the given number of milliseconds
6
+ *
7
+ * @param {number} duration - The number of milliseconds to sleep.
8
+ * @returns {Promise} A `Promise` that resolves after the given duration.
6
9
  */
7
10
  const sleep = (duration) => new Promise((resolve) => setTimeout(resolve, duration));
8
11
  exports.sleep = sleep;
package/test-utils.d.ts CHANGED
@@ -8,6 +8,7 @@ export { readJsonFile as readJsonFixture } from './FileUtils';
8
8
  export declare const inTestMode: (env?: NodeJS.ProcessEnv) => boolean;
9
9
  /**
10
10
  * Helper function to throw error for unit test exports
11
+ *
11
12
  * @throws {Error}
12
13
  */
13
14
  export declare const throwTestError: () => never;
package/test-utils.js CHANGED
@@ -16,6 +16,7 @@ const inTestMode = (env = process.env) => env.NODE_ENV === 'test';
16
16
  exports.inTestMode = inTestMode;
17
17
  /**
18
18
  * Helper function to throw error for unit test exports
19
+ *
19
20
  * @throws {Error}
20
21
  */
21
22
  const throwTestError = () => {