@fluid-experimental/property-common 2.91.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/.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,13 @@
1
1
  # @fluid-experimental/property-common
2
2
 
3
+ ## 2.93.0
4
+
5
+ Dependency updates only.
6
+
7
+ ## 2.92.0
8
+
9
+ Dependency updates only.
10
+
3
11
  ## 2.91.0
4
12
 
5
13
  Dependency updates only.
package/eslint.config.mts CHANGED
@@ -4,22 +4,47 @@
4
4
  */
5
5
 
6
6
  import type { Linter } from "eslint";
7
- import { minimalDeprecated } 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
- ...minimalDeprecated,
10
+ ...recommended,
11
11
  {
12
12
  rules: {
13
- "@typescript-eslint/explicit-function-return-type": "warn",
14
13
  "@fluid-internal/fluid/no-unchecked-record-access": "warn",
15
- "prefer-arrow-callback": "off",
16
- "tsdoc/syntax": "off",
14
+ "@rushstack/no-new-null": "off",
15
+ "@typescript-eslint/explicit-function-return-type": "warn",
16
+ "@typescript-eslint/explicit-module-boundary-types": "off",
17
+ "@typescript-eslint/no-explicit-any": "off",
18
+ "@typescript-eslint/no-unsafe-argument": "off",
19
+ "@typescript-eslint/no-unsafe-assignment": "off",
20
+ "@typescript-eslint/no-unsafe-call": "off",
21
+ "@typescript-eslint/no-unsafe-member-access": "off",
17
22
  "depend/ban-dependencies": [
18
23
  "error",
19
24
  {
20
25
  "allowed": ["lodash"],
21
26
  },
22
27
  ],
28
+ "jsdoc/require-description": "off",
29
+ "prefer-arrow-callback": "off",
30
+ "tsdoc/syntax": "off",
31
+ "unicorn/catch-error-name": "off",
32
+ "unicorn/error-message": "off",
33
+ "unicorn/new-for-builtins": "off",
34
+ "unicorn/no-array-for-each": "off",
35
+ "unicorn/no-console-spaces": "off",
36
+ "unicorn/no-instanceof-array": "off",
37
+ "unicorn/no-negated-condition": "off",
38
+ "unicorn/no-new-array": "off",
39
+ "unicorn/no-null": "off",
40
+ "unicorn/no-static-only-class": "off",
41
+ "unicorn/no-thenable": "off",
42
+ "unicorn/no-typeof-undefined": "off",
43
+ "unicorn/no-zero-fractions": "off",
44
+ "unicorn/prefer-number-properties": "off",
45
+ "unicorn/prefer-spread": "off",
46
+ "unicorn/prefer-string-slice": "off",
47
+ "unicorn/throw-new-error": "off",
23
48
  },
24
49
  },
25
50
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-experimental/property-common",
3
- "version": "2.91.0",
3
+ "version": "2.93.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.91.0",
51
+ "@fluid-internal/mocha-test-setup": "~2.93.0",
52
52
  "@fluidframework/build-common": "^2.0.3",
53
- "@fluidframework/build-tools": "^0.63.0",
54
- "@microsoft/api-extractor": "7.52.11",
53
+ "@fluidframework/build-tools": "^0.64.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,13 @@
1
1
  # @fluid-internal/platform-dependent
2
2
 
3
+ ## 2.93.0
4
+
5
+ Dependency updates only.
6
+
7
+ ## 2.92.0
8
+
9
+ Dependency updates only.
10
+
3
11
  ## 2.91.0
4
12
 
5
13
  Dependency updates only.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-internal/platform-dependent",
3
- "version": "2.91.0",
3
+ "version": "2.93.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
- }