@teambit/objects 0.0.584 → 0.0.585

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.
@@ -58,16 +58,16 @@ export default class Lane extends BitObject {
58
58
  refs(): Ref[];
59
59
  validateBeforePersisting(str: string): void;
60
60
  toObject(): import("lodash").Dictionary<string | boolean | string[] | {
61
- scope: string;
62
- name: string;
63
- } | {
64
- isDeleted?: true | undefined;
65
61
  id: {
66
62
  scope: string;
67
63
  name: string;
68
64
  };
69
65
  head: string;
66
+ isDeleted?: true | undefined;
70
67
  }[] | Log | {
68
+ scope: string;
69
+ name: string;
70
+ } | {
71
71
  id: {
72
72
  scope: string;
73
73
  name: string;
@@ -189,12 +189,7 @@ export default class Version extends BitObject {
189
189
  static depEdgeFromArray(depEdgeArr: string[]): DepEdge;
190
190
  static flattenedEdgeToSource(flattenedEdges?: DepEdge[]): Source | undefined;
191
191
  static dependenciesGraphToSource(dependenciesGraph?: DependenciesGraph): Source | undefined;
192
- toObject(): import("lodash").Dictionary<string | boolean | string[] | {
193
- file: any;
194
- relativePath: any;
195
- name: any;
196
- test: any;
197
- }[] | Doclet[] | Record<string, any> | Record<string, any>[] | import("@teambit/component-id").ComponentIdObj[] | {
192
+ toObject(): import("lodash").Dictionary<string | boolean | string[] | import("@teambit/component-id").ComponentIdObj[] | Doclet[] | Log[] | Record<string, any>[] | {
198
193
  extensionId: ComponentID | import("@teambit/component-id").ComponentIdObj | undefined;
199
194
  config: {
200
195
  [key: string]: any;
@@ -206,42 +201,47 @@ export default class Version extends BitObject {
206
201
  name: string | undefined;
207
202
  newExtensionId: ComponentID | undefined;
208
203
  }[] | {
204
+ file: any;
205
+ relativePath: any;
206
+ name: any;
207
+ test: any;
208
+ }[] | Record<string, any> | VersionOrigin | {
209
209
  [key: string]: string;
210
210
  } | {
211
211
  [key: string]: string;
212
212
  } | {
213
213
  [key: string]: string;
214
- } | ComponentOverridesData | Log[] | VersionOrigin | {
214
+ } | {
215
215
  message: string;
216
216
  date: string;
217
217
  username: string | undefined;
218
218
  email: string | undefined;
219
219
  previousParents?: undefined;
220
- laneId?: undefined;
221
220
  head?: undefined;
221
+ laneId?: undefined;
222
222
  } | {
223
+ message?: undefined;
224
+ date?: undefined;
225
+ username?: undefined;
226
+ email?: undefined;
223
227
  previousParents: string[];
224
228
  laneId: {
225
229
  scope: string;
226
230
  name: string;
227
231
  };
232
+ head?: undefined;
233
+ } | {
228
234
  message?: undefined;
229
235
  date?: undefined;
230
236
  username?: undefined;
231
237
  email?: undefined;
232
- head?: undefined;
233
- } | {
238
+ previousParents?: undefined;
234
239
  head: string;
235
240
  laneId: {
236
241
  scope: string;
237
242
  name: string;
238
243
  };
239
- message?: undefined;
240
- date?: undefined;
241
- username?: undefined;
242
- email?: undefined;
243
- previousParents?: undefined;
244
- } | null | undefined>;
244
+ } | ComponentOverridesData | null | undefined>;
245
245
  validateBeforePersisting(versionStr: string): void;
246
246
  toBuffer(pretty: boolean): Buffer;
247
247
  /**
package/package.json CHANGED
@@ -1,63 +1,63 @@
1
1
  {
2
2
  "name": "@teambit/objects",
3
- "version": "0.0.584",
3
+ "version": "0.0.585",
4
4
  "homepage": "https://bit.cloud/teambit/scope/objects",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.scope",
8
8
  "name": "objects",
9
- "version": "0.0.584"
9
+ "version": "0.0.585"
10
10
  },
11
11
  "dependencies": {
12
+ "@pnpm/dependency-path": "1001.1.10",
13
+ "@pnpm/lockfile.types": "^1002.1.0",
14
+ "semver": "7.7.1",
12
15
  "lodash": "4.17.21",
13
- "tar-stream": "2.2.0",
14
- "p-map-series": "2.1.0",
16
+ "uuid": "8.3.2",
15
17
  "async-mutex": "0.3.1",
18
+ "p-map-series": "2.1.0",
19
+ "tar-stream": "2.2.0",
16
20
  "fs-extra": "10.0.0",
17
21
  "glob": "13.0.0",
18
22
  "uid-number": "0.0.6",
19
- "@pnpm/dependency-path": "1001.1.10",
20
- "@pnpm/lockfile.types": "^1002.1.0",
21
- "semver": "7.7.1",
22
- "uuid": "8.3.2",
23
23
  "@teambit/harmony": "0.4.12",
24
24
  "@teambit/component-id": "1.2.4",
25
- "@teambit/component.snap-distance": "0.0.139",
26
- "@teambit/graph.cleargraph": "0.0.11",
27
- "@teambit/harmony.modules.concurrency": "0.0.36",
28
- "@teambit/legacy.logger": "0.0.50",
29
- "@teambit/legacy.scope": "0.0.138",
30
- "@teambit/toolbox.promise.map-pool": "0.0.17",
31
- "@teambit/legacy.constants": "0.0.35",
32
- "@teambit/legacy.utils": "0.0.43",
33
- "@teambit/toolbox.crypto.sha1": "0.0.18",
34
25
  "@teambit/bit-error": "0.0.404",
35
26
  "@teambit/component-version": "1.0.4",
36
- "@teambit/harmony.modules.in-memory-cache": "0.0.39",
37
- "@teambit/toolbox.fs.remove-empty-dir": "0.0.16",
38
27
  "@teambit/lane-id": "0.0.312",
39
- "@teambit/harmony.modules.get-basic-log": "0.0.139",
40
- "@teambit/legacy.cli.error": "0.0.50",
41
- "@teambit/component.sources": "0.0.190",
42
28
  "@teambit/legacy-bit-id": "1.1.3",
43
- "@teambit/legacy-component-log": "0.0.423",
44
- "@teambit/legacy.consumer-component": "0.0.139",
45
- "@teambit/legacy.consumer-config": "0.0.138",
46
- "@teambit/legacy.extension-data": "0.0.140",
47
- "@teambit/pkg.modules.semver-helper": "0.0.28",
48
- "@teambit/toolbox.array.duplications-finder": "0.0.8",
49
- "@teambit/bit.get-bit-version": "0.0.21",
50
- "@teambit/semantics.doc-parser": "0.0.146",
51
- "@teambit/cli": "0.0.1355",
52
- "@teambit/graph": "1.0.1077",
53
- "@teambit/config-store": "0.0.236"
29
+ "@teambit/graph.cleargraph": "0.0.11",
30
+ "@teambit/cli": "0.0.1356",
31
+ "@teambit/legacy.utils": "0.0.44",
32
+ "@teambit/harmony.modules.get-basic-log": "0.0.140",
33
+ "@teambit/component.snap-distance": "0.0.140",
34
+ "@teambit/config-store": "0.0.237",
35
+ "@teambit/legacy.cli.error": "0.0.51",
36
+ "@teambit/legacy.constants": "0.0.36",
37
+ "@teambit/legacy.logger": "0.0.51",
38
+ "@teambit/legacy.scope": "0.0.139",
39
+ "@teambit/toolbox.crypto.sha1": "0.0.19",
40
+ "@teambit/component.sources": "0.0.191",
41
+ "@teambit/harmony.modules.concurrency": "0.0.37",
42
+ "@teambit/legacy-component-log": "0.0.424",
43
+ "@teambit/legacy.consumer-component": "0.0.140",
44
+ "@teambit/legacy.consumer-config": "0.0.139",
45
+ "@teambit/legacy.extension-data": "0.0.141",
46
+ "@teambit/pkg.modules.semver-helper": "0.0.29",
47
+ "@teambit/toolbox.array.duplications-finder": "0.0.9",
48
+ "@teambit/toolbox.promise.map-pool": "0.0.18",
49
+ "@teambit/bit.get-bit-version": "0.0.22",
50
+ "@teambit/semantics.doc-parser": "0.0.147",
51
+ "@teambit/graph": "1.0.1078",
52
+ "@teambit/harmony.modules.in-memory-cache": "0.0.40",
53
+ "@teambit/toolbox.fs.remove-empty-dir": "0.0.17"
54
54
  },
55
55
  "devDependencies": {
56
- "@types/lodash": "4.14.165",
57
- "@types/fs-extra": "9.0.7",
58
56
  "@types/semver": "7.5.8",
57
+ "@types/lodash": "4.14.165",
59
58
  "@types/uuid": "8.3.4",
60
- "@teambit/harmony.envs.core-aspect-env": "1.0.2"
59
+ "@types/fs-extra": "9.0.7",
60
+ "@teambit/harmony.envs.core-aspect-env": "2.0.0"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "chai": "5.2.1"