@codemirror/view 6.25.0 → 6.25.1

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 CHANGED
@@ -1,3 +1,9 @@
1
+ ## 6.25.1 (2024-03-06)
2
+
3
+ ### Bug fixes
4
+
5
+ Fix accidental non-optional field in layer config objects.
6
+
1
7
  ## 6.25.0 (2024-03-04)
2
8
 
3
9
  ### Bug fixes
package/dist/index.d.cts CHANGED
@@ -1649,7 +1649,7 @@ interface LayerConfig {
1649
1649
  Whether to update this layer every time the document view
1650
1650
  changes. Defaults to true.
1651
1651
  */
1652
- updateOnDocViewUpdate: boolean;
1652
+ updateOnDocViewUpdate?: boolean;
1653
1653
  /**
1654
1654
  Build a set of markers for this layer, and measure their
1655
1655
  dimensions.
package/dist/index.d.ts CHANGED
@@ -1649,7 +1649,7 @@ interface LayerConfig {
1649
1649
  Whether to update this layer every time the document view
1650
1650
  changes. Defaults to true.
1651
1651
  */
1652
- updateOnDocViewUpdate: boolean;
1652
+ updateOnDocViewUpdate?: boolean;
1653
1653
  /**
1654
1654
  Build a set of markers for this layer, and measure their
1655
1655
  dimensions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemirror/view",
3
- "version": "6.25.0",
3
+ "version": "6.25.1",
4
4
  "description": "DOM view component for the CodeMirror code editor",
5
5
  "scripts": {
6
6
  "test": "cm-runtests",