@fluid-experimental/property-common 2.92.0 → 2.100.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/.mocharc.cjs ADDED
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+
6
+ "use strict";
7
+
8
+ const getFluidTestMochaConfig = require("@fluid-internal/mocha-test-setup/mocharc-common");
9
+
10
+ const config = getFluidTestMochaConfig(__dirname);
11
+ module.exports = config;
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @fluid-experimental/property-common
2
2
 
3
+ ## 2.100.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Node 22 is now the minimum supported Node.js version ([#27116](https://github.com/microsoft/FluidFramework/pull/27116)) [e8214d29663](https://github.com/microsoft/FluidFramework/commit/e8214d29663f5ee98d737daed82506a25d8de8d0)
8
+
9
+ All Fluid Framework client packages now require Node.js 22 or later. This aligns with the standing Node upgrade policy as Node 20 reaches end-of-life on April 30, 2026.
10
+
11
+ ## 2.93.0
12
+
13
+ Dependency updates only.
14
+
3
15
  ## 2.92.0
4
16
 
5
17
  Dependency updates only.
package/eslint.config.mts CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import type { Linter } from "eslint";
7
- import { recommended } from "../../../../common/build/eslint-config-fluid/flat.mts";
7
+ import { recommended } from "@fluidframework/eslint-config-fluid/flat.mts";
8
8
 
9
9
  const config: Linter.Config[] = [
10
10
  ...recommended,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-experimental/property-common",
3
- "version": "2.92.0",
3
+ "version": "2.100.0",
4
4
  "description": "common functions used in properties",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -48,19 +48,19 @@
48
48
  },
49
49
  "devDependencies": {
50
50
  "@biomejs/biome": "~2.4.5",
51
- "@fluid-internal/mocha-test-setup": "~2.92.0",
51
+ "@fluid-internal/mocha-test-setup": "~2.100.0",
52
52
  "@fluidframework/build-common": "^2.0.3",
53
- "@fluidframework/build-tools": "^0.64.0",
54
- "@microsoft/api-extractor": "7.52.11",
53
+ "@fluidframework/build-tools": "^0.65.0",
54
+ "@microsoft/api-extractor": "7.58.1",
55
55
  "@types/chai": "^4.0.0",
56
56
  "@types/debug": "^4.1.5",
57
57
  "@types/lodash": "^4.14.118",
58
58
  "@types/mocha": "^10.0.10",
59
- "@types/node": "~20.19.30",
59
+ "@types/node": "~22.19.17",
60
60
  "@types/semver": "^7.7.0",
61
61
  "@types/sinon": "^17.0.3",
62
62
  "c8": "^10.1.3",
63
- "chai": "^4.2.0",
63
+ "chai": "^4.5.0",
64
64
  "cross-env": "^10.1.0",
65
65
  "eslint": "~9.39.1",
66
66
  "jiti": "^2.6.1",
@@ -79,7 +79,8 @@
79
79
  "build:commonjs": "fluid-build . --task commonjs",
80
80
  "build:compile": "fluid-build . --task compile",
81
81
  "build:esnext": "tsc --project ./tsconfig.esnext.json",
82
- "build:test": "tsc --project ./src/test/tsconfig.json",
82
+ "build:test": "npm run build:test:cjs",
83
+ "build:test:cjs": "tsc --project ./src/test/tsconfig.json",
83
84
  "check:biome": "biome check .",
84
85
  "check:format": "npm run check:biome",
85
86
  "clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" nyc",
@@ -91,7 +92,8 @@
91
92
  "lint:fix": "fluid-build . --task eslint:fix --task format",
92
93
  "test": "npm run test:mocha",
93
94
  "test:coverage": "c8 npm test",
94
- "test:mocha": "mocha --recursive dist/test -r node_modules/@fluid-internal/mocha-test-setup",
95
+ "test:mocha": "npm run test:mocha:cjs",
96
+ "test:mocha:cjs": "cross-env FLUID_TEST_MODULE_SYSTEM=CJS mocha",
95
97
  "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
96
98
  "tsc": "tsc"
97
99
  }
@@ -1,5 +1,17 @@
1
1
  # @fluid-internal/platform-dependent
2
2
 
3
+ ## 2.100.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Node 22 is now the minimum supported Node.js version ([#27116](https://github.com/microsoft/FluidFramework/pull/27116)) [e8214d29663](https://github.com/microsoft/FluidFramework/commit/e8214d29663f5ee98d737daed82506a25d8de8d0)
8
+
9
+ All Fluid Framework client packages now require Node.js 22 or later. This aligns with the standing Node upgrade policy as Node 20 reaches end-of-life on April 30, 2026.
10
+
11
+ ## 2.93.0
12
+
13
+ Dependency updates only.
14
+
3
15
  ## 2.92.0
4
16
 
5
17
  Dependency updates only.
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/@biomejs+biome@2.4.5/node_modules/@biomejs/biome/bin/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/@biomejs+biome@2.4.5/node_modules/@biomejs/biome/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/@biomejs+biome@2.4.5/node_modules/@biomejs/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/@biomejs+biome@2.4.5/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/@biomejs+biome@2.4.5/node_modules/@biomejs/biome/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/@biomejs+biome@2.4.5/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/@biomejs+biome@2.4.5/node_modules/@biomejs/biome/bin/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/@biomejs+biome@2.4.5/node_modules/@biomejs/biome/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/@biomejs+biome@2.4.5/node_modules/@biomejs/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/@biomejs+biome@2.4.5/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/@biomejs+biome@2.4.5/node_modules/@biomejs/biome/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/@biomejs+biome@2.4.5/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../@biomejs/biome/bin/biome" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/jiti@2.6.1/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/jiti@2.6.1/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/jiti@2.6.1/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/jiti@2.6.1/node_modules:/mnt/vss/_work/1/s/FluidFramework/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../jiti/lib/jiti-cli.mjs" "$@"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-internal/platform-dependent",
3
- "version": "2.92.0",
3
+ "version": "2.100.0",
4
4
  "private": true,
5
5
  "description": "Helper package that separates code for browser and server.",
6
6
  "homepage": "https://fluidframework.com",
package/.mocharc.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "R": "spec",
3
- "recursive": true,
4
- "timeout": "180s",
5
- "exit": true,
6
- "full-trace": true,
7
- "spec": ["test/setup.js", "test/**/*.spec.js"]
8
- }