@idlebox/common 1.3.7 → 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.
@@ -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
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.concatStringType = void 0;
4
4
  /* copy */
5
- function concatStringType(...a) {
5
+ function concatStringType(a) {
6
6
  return a.join('');
7
7
  }
8
8
  exports.concatStringType = concatStringType;
@@ -6,5 +6,5 @@
6
6
  "../../src/string/concatType.generated.ts"
7
7
  ],
8
8
  "names": [],
9
- "mappings": ";;;AA2PA,UAAU;AACV,SAAgB,gBAAgB,CAAC,GAAG,CAAW;IAC9C,OAAO,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnB,CAAC;AAFD,4CAEC"
9
+ "mappings": ";;;AA2PA,UAAU;AACV,SAAgB,gBAAgB,CAAC,CAAW;IAC3C,OAAO,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnB,CAAC;AAFD,4CAEC"
10
10
  }
@@ -1,5 +1,5 @@
1
1
  /* copy */
2
- export function concatStringType(...a) {
2
+ export function concatStringType(a) {
3
3
  return a.join('');
4
4
  }
5
5
  //# sourceMappingURL=concatType.generated.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"concatType.generated.js","sourceRoot":"","sources":["../../src/string/concatType.generated.ts"],"names":[],"mappings":"AA2PA,UAAU;AACV,MAAM,UAAU,gBAAgB,CAAC,GAAG,CAAW;IAC9C,OAAO,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnB,CAAC"}
1
+ {"version":3,"file":"concatType.generated.js","sourceRoot":"","sources":["../../src/string/concatType.generated.ts"],"names":[],"mappings":"AA2PA,UAAU;AACV,MAAM,UAAU,gBAAgB,CAAC,CAAW;IAC3C,OAAO,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnB,CAAC"}
@@ -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.7",
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
- "tslib": "^2.3.1"
29
+ "tslib": "^2.4.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@build-script/builder": "^3.2.3",
33
- "@build-script/export-all-in-one": "^3.1.1",
34
- "@build-script/single-dog-asset": "^1.0.16",
35
- "@build-script/typescript-transformer-dual-package": "^1.0.25",
36
- "@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",
37
37
  "gulp": "^4.0.2",
38
- "ts-node": "^10.7.0",
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
  }