@fluidframework/map 2.32.0 → 2.33.0
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/CHANGELOG.md +4 -0
- package/api-report/map.legacy.alpha.api.md +18 -18
- package/api-report/map.legacy.public.api.md +4 -4
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +19 -21
- package/src/packageVersion.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
// @alpha @sealed
|
|
7
|
+
// @alpha @sealed @legacy
|
|
8
8
|
export class DirectoryFactory implements IChannelFactory<ISharedDirectory> {
|
|
9
9
|
static readonly Attributes: IChannelAttributes;
|
|
10
10
|
get attributes(): IChannelAttributes;
|
|
@@ -14,13 +14,13 @@ export class DirectoryFactory implements IChannelFactory<ISharedDirectory> {
|
|
|
14
14
|
get type(): string;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
// @alpha @deprecated
|
|
17
|
+
// @alpha @deprecated @legacy
|
|
18
18
|
export interface ICreateInfo {
|
|
19
19
|
ccIds: string[];
|
|
20
20
|
csn: number;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
// @public @sealed
|
|
23
|
+
// @public @sealed @legacy
|
|
24
24
|
export interface IDirectory extends Map<string, any>, IEventProvider<IDirectoryEvents>, Partial<IDisposable> {
|
|
25
25
|
readonly absolutePath: string;
|
|
26
26
|
countSubDirectory?(): number;
|
|
@@ -34,14 +34,14 @@ export interface IDirectory extends Map<string, any>, IEventProvider<IDirectoryE
|
|
|
34
34
|
subdirectories(): IterableIterator<[string, IDirectory]>;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
// @alpha @deprecated
|
|
37
|
+
// @alpha @deprecated @legacy
|
|
38
38
|
export interface IDirectoryDataObject {
|
|
39
39
|
ci?: ICreateInfo;
|
|
40
40
|
storage?: Record<string, ISerializableValue>;
|
|
41
41
|
subdirectories?: Record<string, IDirectoryDataObject>;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
// @public @sealed
|
|
44
|
+
// @public @sealed @legacy
|
|
45
45
|
export interface IDirectoryEvents extends IEvent {
|
|
46
46
|
(event: "containedValueChanged", listener: (changed: IValueChanged, local: boolean, target: IEventThisPlaceHolder) => void): any;
|
|
47
47
|
(event: "subDirectoryCreated", listener: (path: string, local: boolean, target: IEventThisPlaceHolder) => void): any;
|
|
@@ -50,24 +50,24 @@ export interface IDirectoryEvents extends IEvent {
|
|
|
50
50
|
(event: "undisposed", listener: (target: IEventThisPlaceHolder) => void): any;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
// @alpha @deprecated
|
|
53
|
+
// @alpha @deprecated @legacy
|
|
54
54
|
export interface IDirectoryNewStorageFormat {
|
|
55
55
|
blobs: string[];
|
|
56
56
|
content: IDirectoryDataObject;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
// @public @sealed
|
|
59
|
+
// @public @sealed @legacy
|
|
60
60
|
export interface IDirectoryValueChanged extends IValueChanged {
|
|
61
61
|
path: string;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
// @alpha @deprecated
|
|
64
|
+
// @alpha @deprecated @legacy
|
|
65
65
|
export interface ISerializableValue {
|
|
66
66
|
type: string;
|
|
67
67
|
value: any;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
// @alpha @sealed
|
|
70
|
+
// @alpha @sealed @legacy
|
|
71
71
|
export interface ISharedDirectory extends ISharedObject<ISharedDirectoryEvents & IDirectoryEvents>, Omit<IDirectory, "on" | "once" | "off"> {
|
|
72
72
|
// (undocumented)
|
|
73
73
|
[Symbol.iterator](): IterableIterator<[string, any]>;
|
|
@@ -75,7 +75,7 @@ export interface ISharedDirectory extends ISharedObject<ISharedDirectoryEvents &
|
|
|
75
75
|
readonly [Symbol.toStringTag]: string;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
// @alpha @sealed
|
|
78
|
+
// @alpha @sealed @legacy
|
|
79
79
|
export interface ISharedDirectoryEvents extends ISharedObjectEvents {
|
|
80
80
|
(event: "valueChanged", listener: (changed: IDirectoryValueChanged, local: boolean, target: IEventThisPlaceHolder) => void): any;
|
|
81
81
|
(event: "clear", listener: (local: boolean, target: IEventThisPlaceHolder) => void): any;
|
|
@@ -83,25 +83,25 @@ export interface ISharedDirectoryEvents extends ISharedObjectEvents {
|
|
|
83
83
|
(event: "subDirectoryDeleted", listener: (path: string, local: boolean, target: IEventThisPlaceHolder) => void): any;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
// @alpha @sealed
|
|
86
|
+
// @alpha @sealed @legacy
|
|
87
87
|
export interface ISharedMap extends ISharedObject<ISharedMapEvents>, Map<string, any> {
|
|
88
88
|
get<T = any>(key: string): T | undefined;
|
|
89
89
|
set<T = unknown>(key: string, value: T): this;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
// @alpha @sealed
|
|
92
|
+
// @alpha @sealed @legacy
|
|
93
93
|
export interface ISharedMapEvents extends ISharedObjectEvents {
|
|
94
94
|
(event: "valueChanged", listener: (changed: IValueChanged, local: boolean, target: IEventThisPlaceHolder) => void): any;
|
|
95
95
|
(event: "clear", listener: (local: boolean, target: IEventThisPlaceHolder) => void): any;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
// @public @sealed
|
|
98
|
+
// @public @sealed @legacy
|
|
99
99
|
export interface IValueChanged {
|
|
100
100
|
readonly key: string;
|
|
101
101
|
readonly previousValue: any;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
// @alpha @sealed
|
|
104
|
+
// @alpha @sealed @legacy
|
|
105
105
|
export class MapFactory implements IChannelFactory<ISharedMap> {
|
|
106
106
|
static readonly Attributes: IChannelAttributes;
|
|
107
107
|
get attributes(): IChannelAttributes;
|
|
@@ -111,16 +111,16 @@ export class MapFactory implements IChannelFactory<ISharedMap> {
|
|
|
111
111
|
get type(): string;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
// @alpha
|
|
114
|
+
// @alpha @legacy
|
|
115
115
|
export const SharedDirectory: ISharedObjectKind<ISharedDirectory> & SharedObjectKind<ISharedDirectory>;
|
|
116
116
|
|
|
117
|
-
// @alpha
|
|
117
|
+
// @alpha @legacy
|
|
118
118
|
export type SharedDirectory = ISharedDirectory;
|
|
119
119
|
|
|
120
|
-
// @alpha
|
|
120
|
+
// @alpha @legacy
|
|
121
121
|
export const SharedMap: ISharedObjectKind<ISharedMap> & SharedObjectKind<ISharedMap>;
|
|
122
122
|
|
|
123
|
-
// @alpha
|
|
123
|
+
// @alpha @legacy
|
|
124
124
|
export type SharedMap = ISharedMap;
|
|
125
125
|
|
|
126
126
|
```
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
// @public @sealed
|
|
7
|
+
// @public @sealed @legacy
|
|
8
8
|
export interface IDirectory extends Map<string, any>, IEventProvider<IDirectoryEvents>, Partial<IDisposable> {
|
|
9
9
|
readonly absolutePath: string;
|
|
10
10
|
countSubDirectory?(): number;
|
|
@@ -18,7 +18,7 @@ export interface IDirectory extends Map<string, any>, IEventProvider<IDirectoryE
|
|
|
18
18
|
subdirectories(): IterableIterator<[string, IDirectory]>;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
// @public @sealed
|
|
21
|
+
// @public @sealed @legacy
|
|
22
22
|
export interface IDirectoryEvents extends IEvent {
|
|
23
23
|
(event: "containedValueChanged", listener: (changed: IValueChanged, local: boolean, target: IEventThisPlaceHolder) => void): any;
|
|
24
24
|
(event: "subDirectoryCreated", listener: (path: string, local: boolean, target: IEventThisPlaceHolder) => void): any;
|
|
@@ -27,12 +27,12 @@ export interface IDirectoryEvents extends IEvent {
|
|
|
27
27
|
(event: "undisposed", listener: (target: IEventThisPlaceHolder) => void): any;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// @public @sealed
|
|
30
|
+
// @public @sealed @legacy
|
|
31
31
|
export interface IDirectoryValueChanged extends IValueChanged {
|
|
32
32
|
path: string;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
// @public @sealed
|
|
35
|
+
// @public @sealed @legacy
|
|
36
36
|
export interface IValueChanged {
|
|
37
37
|
readonly key: string;
|
|
38
38
|
readonly previousValue: any;
|
package/dist/packageVersion.d.ts
CHANGED
package/dist/packageVersion.js
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.pkgVersion = exports.pkgName = void 0;
|
|
10
10
|
exports.pkgName = "@fluidframework/map";
|
|
11
|
-
exports.pkgVersion = "2.
|
|
11
|
+
exports.pkgVersion = "2.33.0";
|
|
12
12
|
//# sourceMappingURL=packageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,qBAAqB,CAAC;AAChC,QAAA,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/map\";\nexport const pkgVersion = \"2.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,qBAAqB,CAAC;AAChC,QAAA,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/map\";\nexport const pkgVersion = \"2.33.0\";\n"]}
|
package/lib/packageVersion.d.ts
CHANGED
package/lib/packageVersion.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAC7C,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/map\";\nexport const pkgVersion = \"2.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAC7C,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/map\";\nexport const pkgVersion = \"2.33.0\";\n"]}
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/map",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.33.0",
|
|
4
4
|
"description": "Distributed map",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -81,34 +81,34 @@
|
|
|
81
81
|
"temp-directory": "nyc/.nyc_output"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@fluid-internal/client-utils": "~2.
|
|
85
|
-
"@fluidframework/core-interfaces": "~2.
|
|
86
|
-
"@fluidframework/core-utils": "~2.
|
|
87
|
-
"@fluidframework/datastore-definitions": "~2.
|
|
88
|
-
"@fluidframework/driver-definitions": "~2.
|
|
89
|
-
"@fluidframework/driver-utils": "~2.
|
|
90
|
-
"@fluidframework/merge-tree": "~2.
|
|
91
|
-
"@fluidframework/runtime-definitions": "~2.
|
|
92
|
-
"@fluidframework/runtime-utils": "~2.
|
|
93
|
-
"@fluidframework/shared-object-base": "~2.
|
|
94
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
84
|
+
"@fluid-internal/client-utils": "~2.33.0",
|
|
85
|
+
"@fluidframework/core-interfaces": "~2.33.0",
|
|
86
|
+
"@fluidframework/core-utils": "~2.33.0",
|
|
87
|
+
"@fluidframework/datastore-definitions": "~2.33.0",
|
|
88
|
+
"@fluidframework/driver-definitions": "~2.33.0",
|
|
89
|
+
"@fluidframework/driver-utils": "~2.33.0",
|
|
90
|
+
"@fluidframework/merge-tree": "~2.33.0",
|
|
91
|
+
"@fluidframework/runtime-definitions": "~2.33.0",
|
|
92
|
+
"@fluidframework/runtime-utils": "~2.33.0",
|
|
93
|
+
"@fluidframework/shared-object-base": "~2.33.0",
|
|
94
|
+
"@fluidframework/telemetry-utils": "~2.33.0",
|
|
95
95
|
"path-browserify": "^1.0.1"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
99
99
|
"@biomejs/biome": "~1.9.3",
|
|
100
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
101
|
-
"@fluid-private/stochastic-test-utils": "~2.
|
|
102
|
-
"@fluid-private/test-dds-utils": "~2.
|
|
100
|
+
"@fluid-internal/mocha-test-setup": "~2.33.0",
|
|
101
|
+
"@fluid-private/stochastic-test-utils": "~2.33.0",
|
|
102
|
+
"@fluid-private/test-dds-utils": "~2.33.0",
|
|
103
103
|
"@fluid-tools/benchmark": "^0.50.0",
|
|
104
104
|
"@fluid-tools/build-cli": "^0.55.0",
|
|
105
105
|
"@fluidframework/build-common": "^2.0.3",
|
|
106
106
|
"@fluidframework/build-tools": "^0.55.0",
|
|
107
|
-
"@fluidframework/container-definitions": "~2.
|
|
107
|
+
"@fluidframework/container-definitions": "~2.33.0",
|
|
108
108
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
109
|
-
"@fluidframework/map-previous": "npm:@fluidframework/map@2.
|
|
110
|
-
"@fluidframework/test-runtime-utils": "~2.
|
|
111
|
-
"@microsoft/api-extractor": "7.
|
|
109
|
+
"@fluidframework/map-previous": "npm:@fluidframework/map@2.32.0",
|
|
110
|
+
"@fluidframework/test-runtime-utils": "~2.33.0",
|
|
111
|
+
"@microsoft/api-extractor": "7.52.5",
|
|
112
112
|
"@types/mocha": "^10.0.10",
|
|
113
113
|
"@types/node": "^18.19.0",
|
|
114
114
|
"@types/path-browserify": "^1.0.0",
|
|
@@ -119,8 +119,6 @@
|
|
|
119
119
|
"eslint": "~8.55.0",
|
|
120
120
|
"mocha": "^10.8.2",
|
|
121
121
|
"mocha-multi-reporters": "^1.5.1",
|
|
122
|
-
"moment": "^2.21.0",
|
|
123
|
-
"replace-in-file": "^6.3.5",
|
|
124
122
|
"rimraf": "^4.4.0",
|
|
125
123
|
"typescript": "~5.4.5"
|
|
126
124
|
},
|
package/src/packageVersion.ts
CHANGED