@fluidframework/undo-redo 2.70.0 → 2.72.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/.eslintrc.cjs CHANGED
@@ -31,7 +31,7 @@ module.exports = {
31
31
  files: ["*.spec.ts", "src/test/**"],
32
32
  rules: {
33
33
  // Test files are run in node only so additional node libraries can be used.
34
- "import/no-nodejs-modules": ["error", { allow: ["node:assert"] }],
34
+ "import-x/no-nodejs-modules": ["error", { allow: ["node:assert"] }],
35
35
  },
36
36
  },
37
37
  ],
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @fluidframework/undo-redo
2
2
 
3
+ ## 2.72.0
4
+
5
+ Dependency updates only.
6
+
7
+ ## 2.71.0
8
+
9
+ Dependency updates only.
10
+
3
11
  ## 2.70.0
4
12
 
5
13
  Dependency updates only.
@@ -107,7 +115,6 @@ Dependency updates only.
107
115
  An adjustment is a modification applied to a property value within a specified range. Adjustments can be used to increment or decrement property values dynamically. They are particularly useful in scenarios where property values need to be updated based on user interactions or other events. For example, in a rich text editor, adjustments can be used for modifying indentation levels or font sizes, where multiple users could apply differing numerical adjustments.
108
116
 
109
117
  ### Key Features and Use Cases:
110
-
111
118
  - **Adjustments with Constraints**: Adjustments can include optional minimum and maximum constraints to ensure the final value falls within specified bounds. This is particularly useful for maintaining consistent formatting in rich text editors.
112
119
  - **Consistent Property Changes**: The feature ensures that property changes are consistent, managing both local and remote changes effectively. This is essential for collaborative rich text editing where multiple users may be making adjustments simultaneously.
113
120
  - **Rich Text Formatting**: Adjustments can be used to modify text properties such as font size, indentation, or other formatting attributes dynamically based on user actions.
@@ -167,7 +174,6 @@ Dependency updates only.
167
174
  TypeScript types and implementation code.
168
175
 
169
176
  This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
170
-
171
177
  - `"moduleResolution": "Node16"` with `"module": "Node16"`
172
178
  - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
173
179
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/undo-redo",
3
- "version": "2.70.0",
3
+ "version": "2.72.0",
4
4
  "description": "Undo Redo",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -59,22 +59,22 @@
59
59
  "temp-directory": "nyc/.nyc_output"
60
60
  },
61
61
  "dependencies": {
62
- "@fluid-internal/client-utils": "~2.70.0",
63
- "@fluidframework/map": "~2.70.0",
64
- "@fluidframework/matrix": "~2.70.0",
65
- "@fluidframework/merge-tree": "~2.70.0",
66
- "@fluidframework/sequence": "~2.70.0"
62
+ "@fluid-internal/client-utils": "~2.72.0",
63
+ "@fluidframework/map": "~2.72.0",
64
+ "@fluidframework/matrix": "~2.72.0",
65
+ "@fluidframework/merge-tree": "~2.72.0",
66
+ "@fluidframework/sequence": "~2.72.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@arethetypeswrong/cli": "^0.17.1",
70
70
  "@biomejs/biome": "~1.9.3",
71
- "@fluid-internal/mocha-test-setup": "~2.70.0",
72
- "@fluid-tools/build-cli": "^0.58.3",
71
+ "@fluid-internal/mocha-test-setup": "~2.72.0",
72
+ "@fluid-tools/build-cli": "^0.60.0",
73
73
  "@fluidframework/build-common": "^2.0.3",
74
- "@fluidframework/build-tools": "^0.58.3",
75
- "@fluidframework/eslint-config-fluid": "^6.1.0",
76
- "@fluidframework/test-runtime-utils": "~2.70.0",
77
- "@fluidframework/undo-redo-previous": "npm:@fluidframework/undo-redo@2.63.0",
74
+ "@fluidframework/build-tools": "^0.60.0",
75
+ "@fluidframework/eslint-config-fluid": "~2.72.0",
76
+ "@fluidframework/test-runtime-utils": "~2.72.0",
77
+ "@fluidframework/undo-redo-previous": "npm:@fluidframework/undo-redo@2.71.0",
78
78
  "@microsoft/api-extractor": "7.52.11",
79
79
  "@types/diff": "^3.5.1",
80
80
  "@types/mocha": "^10.0.10",
@@ -115,8 +115,8 @@
115
115
  "check:format": "npm run check:biome",
116
116
  "ci:build:docs": "api-extractor run",
117
117
  "clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
118
- "eslint": "eslint --format stylish src",
119
- "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
118
+ "eslint": "eslint --quiet --format stylish src",
119
+ "eslint:fix": "eslint --quiet --format stylish src --fix --fix-type problem,suggestion,layout",
120
120
  "format": "npm run format:biome",
121
121
  "format:biome": "biome check . --write",
122
122
  "lint": "fluid-build . --task lint",