@fluidframework/map 2.0.0-internal.6.3.3 → 2.0.0-internal.6.4.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/dist/directory.d.ts +2 -1
- package/dist/directory.d.ts.map +1 -1
- package/dist/directory.js +5 -4
- package/dist/directory.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/directory.d.ts +2 -1
- package/lib/directory.d.ts.map +1 -1
- package/lib/directory.js +5 -4
- package/lib/directory.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/package.json +15 -15
- package/src/directory.ts +5 -4
- package/src/packageVersion.ts +1 -1
package/lib/packageVersion.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export declare const pkgName = "@fluidframework/map";
|
|
8
|
-
export declare const pkgVersion = "2.0.0-internal.6.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-internal.6.4.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
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,sBAAsB,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.0.0-internal.6.
|
|
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,sBAAsB,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.0.0-internal.6.4.0\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/map",
|
|
3
|
-
"version": "2.0.0-internal.6.
|
|
3
|
+
"version": "2.0.0-internal.6.4.0",
|
|
4
4
|
"description": "Distributed map",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -35,29 +35,29 @@
|
|
|
35
35
|
"temp-directory": "nyc/.nyc_output"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@fluid-internal/client-utils": ">=2.0.0-internal.6.
|
|
39
|
-
"@fluidframework/core-interfaces": ">=2.0.0-internal.6.
|
|
40
|
-
"@fluidframework/core-utils": ">=2.0.0-internal.6.
|
|
41
|
-
"@fluidframework/datastore-definitions": ">=2.0.0-internal.6.
|
|
42
|
-
"@fluidframework/driver-utils": ">=2.0.0-internal.6.
|
|
38
|
+
"@fluid-internal/client-utils": ">=2.0.0-internal.6.4.0 <2.0.0-internal.6.5.0",
|
|
39
|
+
"@fluidframework/core-interfaces": ">=2.0.0-internal.6.4.0 <2.0.0-internal.6.5.0",
|
|
40
|
+
"@fluidframework/core-utils": ">=2.0.0-internal.6.4.0 <2.0.0-internal.6.5.0",
|
|
41
|
+
"@fluidframework/datastore-definitions": ">=2.0.0-internal.6.4.0 <2.0.0-internal.6.5.0",
|
|
42
|
+
"@fluidframework/driver-utils": ">=2.0.0-internal.6.4.0 <2.0.0-internal.6.5.0",
|
|
43
43
|
"@fluidframework/protocol-definitions": "^1.1.0",
|
|
44
|
-
"@fluidframework/runtime-definitions": ">=2.0.0-internal.6.
|
|
45
|
-
"@fluidframework/runtime-utils": ">=2.0.0-internal.6.
|
|
46
|
-
"@fluidframework/shared-object-base": ">=2.0.0-internal.6.
|
|
47
|
-
"@fluidframework/telemetry-utils": ">=2.0.0-internal.6.
|
|
44
|
+
"@fluidframework/runtime-definitions": ">=2.0.0-internal.6.4.0 <2.0.0-internal.6.5.0",
|
|
45
|
+
"@fluidframework/runtime-utils": ">=2.0.0-internal.6.4.0 <2.0.0-internal.6.5.0",
|
|
46
|
+
"@fluidframework/shared-object-base": ">=2.0.0-internal.6.4.0 <2.0.0-internal.6.5.0",
|
|
47
|
+
"@fluidframework/telemetry-utils": ">=2.0.0-internal.6.4.0 <2.0.0-internal.6.5.0",
|
|
48
48
|
"path-browserify": "^1.0.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@fluid-internal/stochastic-test-utils": ">=2.0.0-internal.6.
|
|
52
|
-
"@fluid-internal/test-dds-utils": ">=2.0.0-internal.6.
|
|
51
|
+
"@fluid-internal/stochastic-test-utils": ">=2.0.0-internal.6.4.0 <2.0.0-internal.6.5.0",
|
|
52
|
+
"@fluid-internal/test-dds-utils": ">=2.0.0-internal.6.4.0 <2.0.0-internal.6.5.0",
|
|
53
53
|
"@fluid-tools/benchmark": "^0.48.0",
|
|
54
54
|
"@fluid-tools/build-cli": "^0.22.0",
|
|
55
55
|
"@fluidframework/build-common": "^2.0.0",
|
|
56
56
|
"@fluidframework/build-tools": "^0.22.0",
|
|
57
57
|
"@fluidframework/eslint-config-fluid": "^2.1.0",
|
|
58
|
-
"@fluidframework/map-previous": "npm:@fluidframework/map@2.0.0-internal.6.3.
|
|
59
|
-
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.6.
|
|
60
|
-
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.6.
|
|
58
|
+
"@fluidframework/map-previous": "npm:@fluidframework/map@2.0.0-internal.6.3.0",
|
|
59
|
+
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.6.4.0 <2.0.0-internal.6.5.0",
|
|
60
|
+
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.6.4.0 <2.0.0-internal.6.5.0",
|
|
61
61
|
"@microsoft/api-extractor": "^7.34.4",
|
|
62
62
|
"@types/mocha": "^9.1.1",
|
|
63
63
|
"@types/node": "^16.18.38",
|
package/src/directory.ts
CHANGED
|
@@ -317,6 +317,7 @@ export class DirectoryFactory implements IChannelFactory {
|
|
|
317
317
|
* {@inheritDoc ISharedDirectory}
|
|
318
318
|
*
|
|
319
319
|
* @example
|
|
320
|
+
*
|
|
320
321
|
* ```typescript
|
|
321
322
|
* mySharedDirectory.createSubDirectory("a").createSubDirectory("b").createSubDirectory("c").set("foo", val1);
|
|
322
323
|
* const mySubDir = mySharedDirectory.getWorkingDirectory("/a/b/c");
|
|
@@ -753,7 +754,7 @@ export class SharedDirectory
|
|
|
753
754
|
/**
|
|
754
755
|
* This checks if there is pending delete op for local delete for a any subdir in the relative path.
|
|
755
756
|
* @param relativePath - path of sub directory.
|
|
756
|
-
* @returns
|
|
757
|
+
* @returns `true` if there is pending delete, `false` otherwise.
|
|
757
758
|
*/
|
|
758
759
|
private isSubDirectoryDeletePending(relativePath: string): boolean {
|
|
759
760
|
const absolutePath = this.makeAbsolute(relativePath);
|
|
@@ -1282,7 +1283,7 @@ class SubDirectory extends TypedEventEmitter<IDirectoryEvents> implements IDirec
|
|
|
1282
1283
|
|
|
1283
1284
|
/**
|
|
1284
1285
|
* @returns A sequenceNumber which should be used for local changes.
|
|
1285
|
-
* @remarks
|
|
1286
|
+
* @remarks While detached, 0 is used rather than -1 to represent a change which should be universally known (as opposed to known
|
|
1286
1287
|
* only by the local client). This ensures that if the directory is later attached, none of its data needs to be updated (the values
|
|
1287
1288
|
* last set while detached will now be known to any new client, until they are changed).
|
|
1288
1289
|
* TODO: Convert these conventions to named constants. The semantics used here match those for merge-tree.
|
|
@@ -1352,7 +1353,7 @@ class SubDirectory extends TypedEventEmitter<IDirectoryEvents> implements IDirec
|
|
|
1352
1353
|
/**
|
|
1353
1354
|
* This checks if there is pending delete op for local delete for a given child subdirectory.
|
|
1354
1355
|
* @param subDirName - directory name.
|
|
1355
|
-
* @returns
|
|
1356
|
+
* @returns true if there is pending delete.
|
|
1356
1357
|
*/
|
|
1357
1358
|
public isSubDirectoryDeletePending(subDirName: string): boolean {
|
|
1358
1359
|
if (this.pendingDeleteSubDirectoriesTracker.has(subDirName)) {
|
|
@@ -2351,7 +2352,7 @@ class SubDirectory extends TypedEventEmitter<IDirectoryEvents> implements IDirec
|
|
|
2351
2352
|
* @param local - Whether the message originated from the local client
|
|
2352
2353
|
* @param seq - Sequence number at which this directory is created
|
|
2353
2354
|
* @param clientId - Id of client which created this directory.
|
|
2354
|
-
* @returns
|
|
2355
|
+
* @returns True if is newly created, false if it already existed.
|
|
2355
2356
|
*/
|
|
2356
2357
|
private createSubDirectoryCore(
|
|
2357
2358
|
subdirName: string,
|
package/src/packageVersion.ts
CHANGED