@fluidframework/container-loader 2.0.0-dev.7.3.0.212138 → 2.0.0-dev.7.4.0.215366

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.
@@ -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/container-loader";
8
- export declare const pkgVersion = "2.0.0-dev.7.3.0.212138";
8
+ export declare const pkgVersion = "2.0.0-dev.7.4.0.215366";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/container-loader";
8
- export const pkgVersion = "2.0.0-dev.7.3.0.212138";
8
+ export const pkgVersion = "2.0.0-dev.7.4.0.215366";
9
9
  //# sourceMappingURL=packageVersion.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.mjs","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,kCAAkC,CAAC;AAC1D,MAAM,CAAC,MAAM,UAAU,GAAG,wBAAwB,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/container-loader\";\nexport const pkgVersion = \"2.0.0-dev.7.3.0.212138\";\n"]}
1
+ {"version":3,"file":"packageVersion.mjs","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,kCAAkC,CAAC;AAC1D,MAAM,CAAC,MAAM,UAAU,GAAG,wBAAwB,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/container-loader\";\nexport const pkgVersion = \"2.0.0-dev.7.4.0.215366\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/container-loader",
3
- "version": "2.0.0-dev.7.3.0.212138",
3
+ "version": "2.0.0-dev.7.4.0.215366",
4
4
  "description": "Fluid container loader",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -35,15 +35,15 @@
35
35
  "temp-directory": "nyc/.nyc_output"
36
36
  },
37
37
  "dependencies": {
38
- "@fluid-internal/client-utils": "2.0.0-dev.7.3.0.212138",
39
- "@fluidframework/container-definitions": "2.0.0-dev.7.3.0.212138",
40
- "@fluidframework/core-interfaces": "2.0.0-dev.7.3.0.212138",
41
- "@fluidframework/core-utils": "2.0.0-dev.7.3.0.212138",
42
- "@fluidframework/driver-definitions": "2.0.0-dev.7.3.0.212138",
43
- "@fluidframework/driver-utils": "2.0.0-dev.7.3.0.212138",
38
+ "@fluid-internal/client-utils": "2.0.0-dev.7.4.0.215366",
39
+ "@fluidframework/container-definitions": "2.0.0-dev.7.4.0.215366",
40
+ "@fluidframework/core-interfaces": "2.0.0-dev.7.4.0.215366",
41
+ "@fluidframework/core-utils": "2.0.0-dev.7.4.0.215366",
42
+ "@fluidframework/driver-definitions": "2.0.0-dev.7.4.0.215366",
43
+ "@fluidframework/driver-utils": "2.0.0-dev.7.4.0.215366",
44
44
  "@fluidframework/protocol-base": "^2.0.1",
45
45
  "@fluidframework/protocol-definitions": "^3.0.0",
46
- "@fluidframework/telemetry-utils": "2.0.0-dev.7.3.0.212138",
46
+ "@fluidframework/telemetry-utils": "2.0.0-dev.7.4.0.215366",
47
47
  "debug": "^4.3.4",
48
48
  "double-ended-queue": "^2.1.0-0",
49
49
  "events": "^3.1.0",
@@ -51,13 +51,13 @@
51
51
  "uuid": "^9.0.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@fluid-private/test-loader-utils": "2.0.0-dev.7.3.0.212138",
54
+ "@fluid-private/test-loader-utils": "2.0.0-dev.7.4.0.215366",
55
55
  "@fluid-tools/build-cli": "^0.28.0",
56
56
  "@fluidframework/build-common": "^2.0.3",
57
57
  "@fluidframework/build-tools": "^0.28.0",
58
58
  "@fluidframework/container-loader-previous": "npm:@fluidframework/container-loader@2.0.0-internal.7.2.0",
59
59
  "@fluidframework/eslint-config-fluid": "^3.1.0",
60
- "@fluidframework/mocha-test-setup": "2.0.0-dev.7.3.0.212138",
60
+ "@fluidframework/mocha-test-setup": "2.0.0-dev.7.4.0.215366",
61
61
  "@microsoft/api-extractor": "^7.38.3",
62
62
  "@types/debug": "^4.1.5",
63
63
  "@types/double-ended-queue": "^2.1.0",
@@ -66,6 +66,7 @@
66
66
  "@types/node": "^16.18.38",
67
67
  "@types/sinon": "^7.0.13",
68
68
  "c8": "^7.7.1",
69
+ "copyfiles": "^2.4.1",
69
70
  "cross-env": "^7.0.3",
70
71
  "eslint": "~8.50.0",
71
72
  "mocha": "^10.2.0",
@@ -78,14 +79,29 @@
78
79
  "tsc-multi": "^1.1.0",
79
80
  "typescript": "~5.1.6"
80
81
  },
82
+ "fluidBuild": {
83
+ "tasks": {
84
+ "build:docs": {
85
+ "dependsOn": [
86
+ "...",
87
+ "api-extractor:commonjs",
88
+ "api-extractor:esnext"
89
+ ],
90
+ "script": false
91
+ }
92
+ }
93
+ },
81
94
  "typeValidation": {
82
95
  "broken": {}
83
96
  },
84
97
  "scripts": {
98
+ "api": "fluid-build . --task api",
99
+ "api-extractor:commonjs": "api-extractor run --local",
100
+ "api-extractor:esnext": "copyfiles -u 1 \"dist/**/*-@(alpha|beta|public|untrimmed).d.ts\" lib",
85
101
  "build": "fluid-build . --task build",
86
102
  "build:commonjs": "fluid-build . --task commonjs",
87
103
  "build:compile": "fluid-build . --task compile",
88
- "build:docs": "api-extractor run --local",
104
+ "build:docs": "fluid-build . --task api",
89
105
  "build:esnext": "tsc-multi --config ../../../common/build/build-common/tsc-multi.esm.json",
90
106
  "build:genver": "gen-version",
91
107
  "build:test": "tsc-multi --config tsc-multi.test.json",
@@ -96,8 +112,8 @@
96
112
  "format": "npm run prettier:fix",
97
113
  "lint": "npm run prettier && npm run eslint",
98
114
  "lint:fix": "npm run prettier:fix && npm run eslint:fix",
99
- "prettier": "prettier --check . --ignore-path ../../../.prettierignore",
100
- "prettier:fix": "prettier --write . --ignore-path ../../../.prettierignore",
115
+ "prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
116
+ "prettier:fix": "prettier --write . --cache --ignore-path ../../../.prettierignore",
101
117
  "test": "npm run test:mocha",
102
118
  "test:coverage": "c8 npm test",
103
119
  "test:mocha": "mocha --ignore \"dist/test/types/*\" --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup",
package/src/container.ts CHANGED
@@ -1116,7 +1116,6 @@ export class Container
1116
1116
  // runtime matches pending ops to successful ones by clientId and client seq num, so we need to close the
1117
1117
  // container at the same time we get pending state, otherwise this container could reconnect and resubmit with
1118
1118
  // a new clientId and a future container using stale pending state without the new clientId would resubmit them
1119
- this.disconnectInternal({ text: "closeAndGetPendingLocalState" }); // TODO https://dev.azure.com/fluidframework/internal/_workitems/edit/5127
1120
1119
  const pendingState = await this.getPendingLocalStateCore({
1121
1120
  notifyImminentClosure: true,
1122
1121
  stopBlobAttachingSignal,
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/container-loader";
9
- export const pkgVersion = "2.0.0-dev.7.3.0.212138";
9
+ export const pkgVersion = "2.0.0-dev.7.4.0.215366";