@lexical/selection 0.11.0 → 0.11.2

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.
@@ -193,6 +193,11 @@ function getStyleObjectFromCSS(css) {
193
193
  CSS_TO_STYLES.set(css, value);
194
194
  }
195
195
 
196
+ {
197
+ // Freeze the value in DEV to prevent accidental mutations
198
+ Object.freeze(value);
199
+ }
200
+
196
201
  return value;
197
202
  }
198
203
  /**
package/package.json CHANGED
@@ -9,10 +9,10 @@
9
9
  "selection"
10
10
  ],
11
11
  "license": "MIT",
12
- "version": "0.11.0",
12
+ "version": "0.11.2",
13
13
  "main": "LexicalSelection.js",
14
14
  "peerDependencies": {
15
- "lexical": "0.11.0"
15
+ "lexical": "0.11.2"
16
16
  },
17
17
  "repository": {
18
18
  "type": "git",