@fluidframework/container-loader 2.92.0 → 2.93.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/README.md +1 -1
- package/dist/container.d.ts.map +1 -1
- package/dist/container.js +5 -8
- package/dist/container.js.map +1 -1
- package/dist/loaderLayerCompatState.d.ts +2 -2
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/eslint.config.mts +1 -1
- package/lib/container.d.ts.map +1 -1
- package/lib/container.js +4 -4
- package/lib/container.js.map +1 -1
- package/lib/loaderLayerCompatState.d.ts +2 -2
- 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 +15 -18
- package/src/container.ts +4 -5
- package/src/packageVersion.ts +1 -1
|
@@ -13,11 +13,11 @@ export declare const loaderCoreCompatDetails: {
|
|
|
13
13
|
/**
|
|
14
14
|
* The package version of the Loader layer.
|
|
15
15
|
*/
|
|
16
|
-
readonly pkgVersion: "2.
|
|
16
|
+
readonly pkgVersion: "2.93.0";
|
|
17
17
|
/**
|
|
18
18
|
* The current generation of the Loader layer.
|
|
19
19
|
*/
|
|
20
|
-
readonly generation:
|
|
20
|
+
readonly generation: 6;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
23
|
* Loader's compatibility details that is exposed to the Runtime layer.
|
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/container-loader";
|
|
8
|
-
export declare const pkgVersion = "2.
|
|
8
|
+
export declare const pkgVersion = "2.93.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,kCAAkC,CAAC;AAC1D,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/container-loader\";\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,kCAAkC,CAAC;AAC1D,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/container-loader\";\nexport const pkgVersion = \"2.93.0\";\n"]}
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/container-loader",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.93.0",
|
|
4
4
|
"description": "Fluid container loader",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -129,14 +129,13 @@
|
|
|
129
129
|
"temp-directory": "nyc/.nyc_output"
|
|
130
130
|
},
|
|
131
131
|
"dependencies": {
|
|
132
|
-
"@fluid-internal/client-utils": "~2.
|
|
133
|
-
"@fluidframework/container-definitions": "~2.
|
|
134
|
-
"@fluidframework/core-interfaces": "~2.
|
|
135
|
-
"@fluidframework/core-utils": "~2.
|
|
136
|
-
"@fluidframework/driver-definitions": "~2.
|
|
137
|
-
"@fluidframework/driver-utils": "~2.
|
|
138
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
139
|
-
"@ungap/structured-clone": "^1.2.0",
|
|
132
|
+
"@fluid-internal/client-utils": "~2.93.0",
|
|
133
|
+
"@fluidframework/container-definitions": "~2.93.0",
|
|
134
|
+
"@fluidframework/core-interfaces": "~2.93.0",
|
|
135
|
+
"@fluidframework/core-utils": "~2.93.0",
|
|
136
|
+
"@fluidframework/driver-definitions": "~2.93.0",
|
|
137
|
+
"@fluidframework/driver-utils": "~2.93.0",
|
|
138
|
+
"@fluidframework/telemetry-utils": "~2.93.0",
|
|
140
139
|
"debug": "^4.3.4",
|
|
141
140
|
"double-ended-queue": "^2.1.0-0",
|
|
142
141
|
"events_pkg": "npm:events@^3.1.0",
|
|
@@ -145,22 +144,21 @@
|
|
|
145
144
|
"devDependencies": {
|
|
146
145
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
147
146
|
"@biomejs/biome": "~2.4.5",
|
|
148
|
-
"@fluid-internal/client-utils": "~2.
|
|
149
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
150
|
-
"@fluid-private/test-loader-utils": "~2.
|
|
147
|
+
"@fluid-internal/client-utils": "~2.93.0",
|
|
148
|
+
"@fluid-internal/mocha-test-setup": "~2.93.0",
|
|
149
|
+
"@fluid-private/test-loader-utils": "~2.93.0",
|
|
151
150
|
"@fluid-tools/build-cli": "^0.64.0",
|
|
152
151
|
"@fluidframework/build-common": "^2.0.3",
|
|
153
152
|
"@fluidframework/build-tools": "^0.64.0",
|
|
154
|
-
"@fluidframework/container-loader-previous": "npm:@fluidframework/container-loader@2.
|
|
153
|
+
"@fluidframework/container-loader-previous": "npm:@fluidframework/container-loader@2.92.0",
|
|
155
154
|
"@fluidframework/eslint-config-fluid": "^9.0.0",
|
|
156
|
-
"@microsoft/api-extractor": "7.
|
|
155
|
+
"@microsoft/api-extractor": "7.58.1",
|
|
157
156
|
"@types/debug": "^4.1.5",
|
|
158
157
|
"@types/double-ended-queue": "^2.1.0",
|
|
159
158
|
"@types/events_pkg": "npm:@types/events@^3.0.0",
|
|
160
159
|
"@types/mocha": "^10.0.10",
|
|
161
|
-
"@types/node": "~
|
|
160
|
+
"@types/node": "~22.19.17",
|
|
162
161
|
"@types/sinon": "^17.0.3",
|
|
163
|
-
"@types/ungap__structured-clone": "^1.2.0",
|
|
164
162
|
"c8": "^10.1.3",
|
|
165
163
|
"concurrently": "^9.2.1",
|
|
166
164
|
"copyfiles": "^2.4.1",
|
|
@@ -224,7 +222,6 @@
|
|
|
224
222
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
225
223
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && npm run place:cjs:package-stub",
|
|
226
224
|
"tsc:watch": "npm run place:cjs:package-stub && fluid-tsc commonjs --project ./tsconfig.cjs.json --watch",
|
|
227
|
-
"typetests:gen": "flub generate typetests --dir . -v"
|
|
228
|
-
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
225
|
+
"typetests:gen": "flub generate typetests --dir . -v"
|
|
229
226
|
}
|
|
230
227
|
}
|
package/src/container.ts
CHANGED
|
@@ -101,7 +101,6 @@ import {
|
|
|
101
101
|
loggerToMonitoringContext,
|
|
102
102
|
type ITelemetryErrorEventExt,
|
|
103
103
|
} from "@fluidframework/telemetry-utils/internal";
|
|
104
|
-
import structuredClone from "@ungap/structured-clone";
|
|
105
104
|
import { v4 as uuid } from "uuid";
|
|
106
105
|
|
|
107
106
|
import {
|
|
@@ -1048,13 +1047,13 @@ export class Container
|
|
|
1048
1047
|
try {
|
|
1049
1048
|
// Raise event first, to ensure we capture _lifecycleState before transition.
|
|
1050
1049
|
// This gives us a chance to know what errors happened on open vs. on fully loaded container.
|
|
1051
|
-
// Log
|
|
1052
|
-
//
|
|
1050
|
+
// Log as error whenever an error is present. Some unrelated errors might get caught during load
|
|
1051
|
+
// time (such as permission errors) and it's up to the client to decide what to do with the error.
|
|
1052
|
+
// so keep this in mind when interpreting this info in telemetry
|
|
1053
1053
|
this.mc.logger.sendTelemetryEvent(
|
|
1054
1054
|
{
|
|
1055
1055
|
eventName: "ContainerClose",
|
|
1056
|
-
category:
|
|
1057
|
-
this._lifecycleState !== "loading" && error !== undefined ? "error" : "generic",
|
|
1056
|
+
category: error === undefined ? "generic" : "error",
|
|
1058
1057
|
},
|
|
1059
1058
|
error,
|
|
1060
1059
|
);
|
package/src/packageVersion.ts
CHANGED