@fluidframework/driver-utils 2.60.0 → 2.61.0-355054

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/.mocharc.cjs CHANGED
@@ -7,6 +7,5 @@
7
7
 
8
8
  const getFluidTestMochaConfig = require("@fluid-internal/mocha-test-setup/mocharc-common");
9
9
 
10
- const packageDir = __dirname;
11
- const config = getFluidTestMochaConfig(packageDir);
10
+ const config = getFluidTestMochaConfig(__dirname);
12
11
  module.exports = config;
package/dist/legacy.d.ts CHANGED
@@ -9,10 +9,12 @@
9
9
  */
10
10
 
11
11
  export {
12
- // @public APIs
12
+ // #region @public APIs
13
13
  ICompressionStorageConfig,
14
14
  SummaryCompressionAlgorithm,
15
+ // #endregion
15
16
 
16
- // @legacy APIs
17
+ // #region @legacyBeta APIs
17
18
  RateLimiter
19
+ // #endregion
18
20
  } from "./index.js";
@@ -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/driver-utils";
8
- export declare const pkgVersion = "2.60.0";
8
+ export declare const pkgVersion = "2.61.0-355054";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,iCAAiC,CAAC;AACtD,eAAO,MAAM,UAAU,WAAW,CAAC"}
1
+ {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,iCAAiC,CAAC;AACtD,eAAO,MAAM,UAAU,kBAAkB,CAAC"}
@@ -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/driver-utils";
11
- exports.pkgVersion = "2.60.0";
11
+ exports.pkgVersion = "2.61.0-355054";
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,8BAA8B,CAAC;AACzC,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/driver-utils\";\nexport const pkgVersion = \"2.60.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,8BAA8B,CAAC;AACzC,QAAA,UAAU,GAAG,eAAe,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/driver-utils\";\nexport const pkgVersion = \"2.61.0-355054\";\n"]}
package/dist/public.d.ts CHANGED
@@ -9,7 +9,8 @@
9
9
  */
10
10
 
11
11
  export {
12
- // @public APIs
12
+ // #region @public APIs
13
13
  ICompressionStorageConfig,
14
14
  SummaryCompressionAlgorithm
15
+ // #endregion
15
16
  } from "./index.js";
package/internal.d.ts CHANGED
@@ -8,4 +8,4 @@
8
8
  * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
- export * from "./lib/index.js";
11
+ export * from "lib/index.js";
package/legacy.d.ts CHANGED
@@ -8,4 +8,4 @@
8
8
  * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
- export * from "./lib/legacy.js";
11
+ export * from "lib/legacy.js";
package/lib/legacy.d.ts CHANGED
@@ -9,10 +9,12 @@
9
9
  */
10
10
 
11
11
  export {
12
- // @public APIs
12
+ // #region @public APIs
13
13
  ICompressionStorageConfig,
14
14
  SummaryCompressionAlgorithm,
15
+ // #endregion
15
16
 
16
- // @legacy APIs
17
+ // #region @legacyBeta APIs
17
18
  RateLimiter
19
+ // #endregion
18
20
  } from "./index.js";
@@ -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/driver-utils";
8
- export declare const pkgVersion = "2.60.0";
8
+ export declare const pkgVersion = "2.61.0-355054";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,iCAAiC,CAAC;AACtD,eAAO,MAAM,UAAU,WAAW,CAAC"}
1
+ {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,iCAAiC,CAAC;AACtD,eAAO,MAAM,UAAU,kBAAkB,CAAC"}
@@ -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/driver-utils";
8
- export const pkgVersion = "2.60.0";
8
+ export const pkgVersion = "2.61.0-355054";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,8BAA8B,CAAC;AACtD,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/driver-utils\";\nexport const pkgVersion = \"2.60.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,8BAA8B,CAAC;AACtD,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,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/driver-utils\";\nexport const pkgVersion = \"2.61.0-355054\";\n"]}
package/lib/public.d.ts CHANGED
@@ -9,7 +9,8 @@
9
9
  */
10
10
 
11
11
  export {
12
- // @public APIs
12
+ // #region @public APIs
13
13
  ICompressionStorageConfig,
14
14
  SummaryCompressionAlgorithm
15
+ // #endregion
15
16
  } from "./index.js";
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.8"
8
+ "packageVersion": "7.52.11"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/driver-utils",
3
- "version": "2.60.0",
3
+ "version": "2.61.0-355054",
4
4
  "description": "Collection of utility functions for Fluid drivers",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -69,11 +69,11 @@
69
69
  "temp-directory": "nyc/.nyc_output"
70
70
  },
71
71
  "dependencies": {
72
- "@fluid-internal/client-utils": "~2.60.0",
73
- "@fluidframework/core-interfaces": "~2.60.0",
74
- "@fluidframework/core-utils": "~2.60.0",
75
- "@fluidframework/driver-definitions": "~2.60.0",
76
- "@fluidframework/telemetry-utils": "~2.60.0",
72
+ "@fluid-internal/client-utils": "2.61.0-355054",
73
+ "@fluidframework/core-interfaces": "2.61.0-355054",
74
+ "@fluidframework/core-utils": "2.61.0-355054",
75
+ "@fluidframework/driver-definitions": "2.61.0-355054",
76
+ "@fluidframework/telemetry-utils": "2.61.0-355054",
77
77
  "axios": "^1.8.4",
78
78
  "lz4js": "^0.2.0",
79
79
  "uuid": "^11.1.0"
@@ -81,17 +81,17 @@
81
81
  "devDependencies": {
82
82
  "@arethetypeswrong/cli": "^0.17.1",
83
83
  "@biomejs/biome": "~1.9.3",
84
- "@fluid-internal/mocha-test-setup": "~2.60.0",
85
- "@fluid-tools/build-cli": "^0.57.0",
84
+ "@fluid-internal/mocha-test-setup": "2.61.0-355054",
85
+ "@fluid-tools/build-cli": "^0.58.2",
86
86
  "@fluidframework/build-common": "^2.0.3",
87
- "@fluidframework/build-tools": "^0.57.0",
88
- "@fluidframework/driver-utils-previous": "npm:@fluidframework/driver-utils@2.53.0",
87
+ "@fluidframework/build-tools": "^0.58.2",
88
+ "@fluidframework/driver-utils-previous": "npm:@fluidframework/driver-utils@2.60.0",
89
89
  "@fluidframework/eslint-config-fluid": "^6.0.0",
90
- "@microsoft/api-extractor": "7.52.8",
90
+ "@microsoft/api-extractor": "7.52.11",
91
91
  "@types/mocha": "^10.0.10",
92
92
  "@types/node": "^18.19.0",
93
93
  "@types/sinon": "^17.0.3",
94
- "c8": "^8.0.1",
94
+ "c8": "^10.1.3",
95
95
  "concurrently": "^8.2.1",
96
96
  "copyfiles": "^2.4.1",
97
97
  "cross-env": "^7.0.3",
@@ -108,8 +108,8 @@
108
108
  },
109
109
  "scripts": {
110
110
  "api": "fluid-build . --task api",
111
- "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
112
- "api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
111
+ "api-extractor:commonjs": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./dist",
112
+ "api-extractor:esnext": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
113
113
  "build": "fluid-build . --task build",
114
114
  "build:api-reports": "concurrently \"npm:build:api-reports:*\"",
115
115
  "build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
@@ -145,8 +145,8 @@
145
145
  "test": "npm run test:mocha",
146
146
  "test:coverage": "c8 npm test",
147
147
  "test:mocha": "npm run test:mocha:esm && echo skipping cjs to avoid overhead - npm run test:mocha:cjs",
148
- "test:mocha:cjs": "mocha --recursive \"dist/test/**/*.spec.*js\"",
149
- "test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\"",
148
+ "test:mocha:cjs": "cross-env MOCHA_SPEC=dist/test mocha",
149
+ "test:mocha:esm": "mocha",
150
150
  "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
151
151
  "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
152
152
  "typetests:gen": "flub generate typetests --dir . -v",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/driver-utils";
9
- export const pkgVersion = "2.60.0";
9
+ export const pkgVersion = "2.61.0-355054";