@onivoro/isomorphic-common 0.3.6 → 0.4.1
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/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/lib/functions/sleep.function.d.ts +1 -0
- package/dist/cjs/lib/functions/sleep.function.js +7 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/lib/functions/sleep.function.d.ts +1 -0
- package/dist/esm/lib/functions/sleep.function.js +7 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/lib/functions/sleep.function.d.ts +1 -0
- package/package.json +39 -34
package/dist/cjs/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './lib/functions/from-csv-string.function';
|
|
|
10
10
|
export * from './lib/functions/kebab-case.function';
|
|
11
11
|
export * from './lib/functions/parse-bool.function';
|
|
12
12
|
export * from './lib/functions/properties-to-array.function';
|
|
13
|
+
export * from './lib/functions/sleep.function';
|
|
13
14
|
export * from './lib/functions/sanitize-filename.function';
|
|
14
15
|
export * from './lib/functions/snake-case.function';
|
|
15
16
|
export * from './lib/functions/subtract-offset.function';
|
package/dist/cjs/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __exportStar(require("./lib/functions/from-csv-string.function"), exports);
|
|
|
26
26
|
__exportStar(require("./lib/functions/kebab-case.function"), exports);
|
|
27
27
|
__exportStar(require("./lib/functions/parse-bool.function"), exports);
|
|
28
28
|
__exportStar(require("./lib/functions/properties-to-array.function"), exports);
|
|
29
|
+
__exportStar(require("./lib/functions/sleep.function"), exports);
|
|
29
30
|
__exportStar(require("./lib/functions/sanitize-filename.function"), exports);
|
|
30
31
|
__exportStar(require("./lib/functions/snake-case.function"), exports);
|
|
31
32
|
__exportStar(require("./lib/functions/subtract-offset.function"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function sleep(milliseconds?: number): Promise<unknown>;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './lib/functions/from-csv-string.function';
|
|
|
10
10
|
export * from './lib/functions/kebab-case.function';
|
|
11
11
|
export * from './lib/functions/parse-bool.function';
|
|
12
12
|
export * from './lib/functions/properties-to-array.function';
|
|
13
|
+
export * from './lib/functions/sleep.function';
|
|
13
14
|
export * from './lib/functions/sanitize-filename.function';
|
|
14
15
|
export * from './lib/functions/snake-case.function';
|
|
15
16
|
export * from './lib/functions/subtract-offset.function';
|
package/dist/esm/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __exportStar(require("./lib/functions/from-csv-string.function"), exports);
|
|
|
26
26
|
__exportStar(require("./lib/functions/kebab-case.function"), exports);
|
|
27
27
|
__exportStar(require("./lib/functions/parse-bool.function"), exports);
|
|
28
28
|
__exportStar(require("./lib/functions/properties-to-array.function"), exports);
|
|
29
|
+
__exportStar(require("./lib/functions/sleep.function"), exports);
|
|
29
30
|
__exportStar(require("./lib/functions/sanitize-filename.function"), exports);
|
|
30
31
|
__exportStar(require("./lib/functions/snake-case.function"), exports);
|
|
31
32
|
__exportStar(require("./lib/functions/subtract-offset.function"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function sleep(milliseconds?: number): Promise<unknown>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './lib/functions/from-csv-string.function';
|
|
|
10
10
|
export * from './lib/functions/kebab-case.function';
|
|
11
11
|
export * from './lib/functions/parse-bool.function';
|
|
12
12
|
export * from './lib/functions/properties-to-array.function';
|
|
13
|
+
export * from './lib/functions/sleep.function';
|
|
13
14
|
export * from './lib/functions/sanitize-filename.function';
|
|
14
15
|
export * from './lib/functions/snake-case.function';
|
|
15
16
|
export * from './lib/functions/subtract-offset.function';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function sleep(milliseconds?: number): Promise<unknown>;
|
package/package.json
CHANGED
|
@@ -1,36 +1,41 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
2
|
+
"name": "@onivoro/isomorphic-common",
|
|
3
|
+
"version": "0.4.1",
|
|
4
|
+
"repository": {
|
|
5
|
+
"url": "git+https://github.com/onivoro/isomorphic-common.git"
|
|
6
|
+
},
|
|
7
|
+
"main": "dist/cjs/index.js",
|
|
8
|
+
"module": "dist/esm/index.js",
|
|
9
|
+
"types": "dist/types/index.d.ts",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist/*"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"onx": "onx",
|
|
15
|
+
"build": "onx Build",
|
|
16
|
+
"deploy": "onx Publish",
|
|
17
|
+
"test": "onx Test",
|
|
18
|
+
"update": "onx Update"
|
|
19
|
+
},
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/types/index.d.ts",
|
|
23
|
+
"require": "./dist/cjs/index.js",
|
|
24
|
+
"import": "./dist/esm/index.js",
|
|
25
|
+
"default": "./dist/esm/lib.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"onx": {
|
|
29
|
+
"platform": "isomorphic",
|
|
30
|
+
"module": "commonjs"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@onivoro/cli": "^0.0.32",
|
|
34
|
+
"@types/jest": "^29.5.12",
|
|
35
|
+
"typescript": "^5.3.3"
|
|
36
|
+
},
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": "18.19.1",
|
|
39
|
+
"npm": "10.2.4"
|
|
26
40
|
}
|
|
27
|
-
|
|
28
|
-
"onx": {
|
|
29
|
-
"platform": "isomorphic"
|
|
30
|
-
},
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@onivoro/cli": "^0.0.32",
|
|
33
|
-
"@types/jest": "^29.5.12",
|
|
34
|
-
"typescript": "^5.3.3"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
41
|
+
}
|