@idlebox/common 1.3.5 → 1.3.8

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 (81) hide show
  1. package/docs/package-public.d.ts +8 -0
  2. package/lib/typingHeler/deep.cjs +3 -0
  3. package/lib/typingHeler/deep.cjs.map +10 -0
  4. package/lib/typingHeler/deep.js +2 -0
  5. package/lib/typingHeler/deep.js.map +1 -0
  6. package/package.json +9 -9
  7. package/.rush/temp/8ffc60c66c29712a4b0392d78f8ceb08fd99cd43.log +0 -10
  8. package/.rush/temp/shrinkwrap-deps.json +0 -671
  9. package/Gulpfile.js +0 -4
  10. package/build-script.json +0 -55
  11. package/common.build.log +0 -42
  12. package/config/rush-project.json +0 -4
  13. package/docs/common.api.json +0 -21006
  14. package/docs/common.api.md +0 -1125
  15. package/docs/tsdoc-metadata.json +0 -11
  16. package/idlebox-common-v1.3.2.tgz +0 -0
  17. package/idlebox-common-v1.3.3.tgz +0 -0
  18. package/src/array/arrayDiff.ts +0 -31
  19. package/src/array/arraySame.ts +0 -15
  20. package/src/array/arrayUnique.ts +0 -50
  21. package/src/array/normalizeArray.ts +0 -13
  22. package/src/array/sortAlpha.ts +0 -15
  23. package/src/date/consts.ts +0 -5
  24. package/src/date/isInvalid.ts +0 -6
  25. package/src/date/sibling.ts +0 -28
  26. package/src/date/timeString.ts +0 -150
  27. package/src/date/unix.ts +0 -13
  28. package/src/debugging/tryInspect.ts +0 -37
  29. package/src/error/convertUnknown.ts +0 -10
  30. package/src/error/getFrame.ts +0 -13
  31. package/src/function/asyncCallbackList.ts +0 -75
  32. package/src/function/callbackList.ts +0 -84
  33. package/src/function/delayCallbackList.ts +0 -45
  34. package/src/function/functionName.ts +0 -39
  35. package/src/lifecycle/dispose/bridges/rxjs.ts +0 -6
  36. package/src/lifecycle/dispose/disposableEvent.ts +0 -117
  37. package/src/lifecycle/dispose/disposedError.ts +0 -16
  38. package/src/lifecycle/dispose/lifecycle.async.ts +0 -61
  39. package/src/lifecycle/dispose/lifecycle.global.ts +0 -61
  40. package/src/lifecycle/dispose/lifecycle.sync.ts +0 -79
  41. package/src/lifecycle/dispose/lifecycle.ts +0 -28
  42. package/src/lifecycle/event/event.ts +0 -63
  43. package/src/lifecycle/promise/cancel.ts +0 -16
  44. package/src/lifecycle/promise/cancellationToken/driver.browser.ts +0 -55
  45. package/src/lifecycle/promise/cancellationToken/driver.common.ts +0 -43
  46. package/src/lifecycle/promise/cancellationToken/source.ts +0 -48
  47. package/src/lifecycle/promise/deferredPromise.ts +0 -102
  48. package/src/lifecycle/timeout/timeout.ts +0 -48
  49. package/src/lifecycle/timeout/timeoutError.ts +0 -16
  50. package/src/log/logger.ts +0 -148
  51. package/src/mapSet/customSet.ts +0 -91
  52. package/src/mapSet/extendMap.ts +0 -40
  53. package/src/misc/assertNotNull.ts +0 -21
  54. package/src/object/definePublicConstant.ts +0 -10
  55. package/src/object/initOnRead.ts +0 -27
  56. package/src/object/objectPath.ts +0 -10
  57. package/src/object/objectSame.ts +0 -52
  58. package/src/path/isAbsolute.ts +0 -11
  59. package/src/path/normalizePath.ts +0 -8
  60. package/src/path/pathArray.ts +0 -42
  61. package/src/platform/globalObject.ts +0 -18
  62. package/src/platform/globalSingleton.ts +0 -82
  63. package/src/platform/globalSymbol.ts +0 -36
  64. package/src/platform/os.ts +0 -45
  65. package/src/promise/awaitIterator.ts +0 -19
  66. package/src/promise/finishAllPromise.ts +0 -50
  67. package/src/promise/promiseBool.ts +0 -10
  68. package/src/promise/promisePool.ts +0 -40
  69. package/src/promise/timeoutPromisePool.ts +0 -22
  70. package/src/reflection/classes/hookClass.ts +0 -47
  71. package/src/reflection/classes/singleton.ts +0 -33
  72. package/src/reflection/methods/bind.ts +0 -30
  73. package/src/reflection/methods/initOnRead.ts +0 -11
  74. package/src/reflection/methods/memorize.ts +0 -33
  75. package/src/string/castCase.ts +0 -44
  76. package/src/string/concatType.generated.ts +0 -255
  77. package/src/string/concatType.generator.ts +0 -31
  78. package/src/string/escapeRegexp.ts +0 -4
  79. package/src/string/pad2.ts +0 -11
  80. package/src/string/sizeString.ts +0 -52
  81. package/src/tsconfig.json +0 -13
@@ -230,6 +230,14 @@ export declare class CustomSet<Type = string> {
230
230
  toArray(): Type[];
231
231
  }
232
232
 
233
+ export declare type DeepPartial<T> = {
234
+ [P in keyof T]?: DeepPartial<T[P]>;
235
+ };
236
+
237
+ export declare type DeepReadonly<T> = {
238
+ readonly [P in keyof T]: DeepReadonly<T[P]>;
239
+ };
240
+
233
241
  /**
234
242
  * a promise can resolve or reject later
235
243
  * @public
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=deep.js.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "file": "deep.cjs",
4
+ "sourceRoot": "",
5
+ "sources": [
6
+ "../../src/typingHeler/deep.ts"
7
+ ],
8
+ "names": [],
9
+ "mappings": ""
10
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=deep.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deep.js","sourceRoot":"","sources":["../../src/typingHeler/deep.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "@idlebox/common",
4
4
  "type": "module",
5
5
  "typings": "docs/package-public.d.ts",
6
- "version": "1.3.5",
6
+ "version": "1.3.8",
7
7
  "license": "MIT",
8
8
  "main": "./lib/_export_all_in_one_index.cjs",
9
9
  "module": "./lib/_export_all_in_one_index.js",
@@ -26,18 +26,18 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "source-map-support": "^0.5.21",
29
- "ts-node": "^10.7.0",
30
- "tslib": "^2.3.1"
29
+ "tslib": "^2.4.0"
31
30
  },
32
31
  "devDependencies": {
33
- "@build-script/builder": "^3.2.3",
34
- "@build-script/export-all-in-one": "^3.1.1",
35
- "@build-script/single-dog-asset": "^1.0.16",
36
- "@build-script/typescript-transformer-dual-package": "^1.0.25",
37
- "@idlebox/itypes": "^1.0.0",
32
+ "@build-script/builder": "npm:@build-script/builder@^3.2.4",
33
+ "@build-script/export-all-in-one": "npm:@build-script/export-all-in-one@^3.1.2",
34
+ "@build-script/single-dog-asset": "workspace:^1.0.18",
35
+ "@build-script/typescript-transformer-dual-package": "workspace:^1.0.26",
36
+ "@idlebox/itypes": "workspace:^1.0.1",
38
37
  "gulp": "^4.0.2",
38
+ "ts-node": "^10.8.1",
39
39
  "ttypescript": "^1.5.13",
40
- "typescript": "^4.6.2"
40
+ "typescript": "^4.7.4"
41
41
  },
42
42
  "repository": "https://github.com/GongT/baobao"
43
43
  }
@@ -1,10 +0,0 @@
1
- Start time: Thu Mar 17 2022 16:33:15 GMT+0800 (China Standard Time)
2
- Invoking "/usr/bin/tar -x -m -f /data/Projects/songrenbo/baobao/common/temp/build-cache/8ffc60c66c29712a4b0392d78f8ceb08fd99cd43"
3
-
4
- ======= BEGIN PROCESS INPUT ======
5
-
6
- ======== END PROCESS INPUT =======
7
- ======= BEGIN PROCESS OUTPUT =======
8
- ======== END PROCESS OUTPUT ========
9
-
10
- Exited with code "0"