@khanacademy/math-input 0.6.4 → 0.6.7
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 +18 -0
- package/dist/es/index.js +1 -1
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
- package/src/components/input/math-wrapper.js +1 -1
- package/src/demo.js +1 -0
- package/src/native-app.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @khanacademy/math-input
|
|
2
2
|
|
|
3
|
+
## 0.6.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a1b4ab3c: Update wonder-blocks and wonder-stuff deps to fix an issue with wonder-stuff's generated flow types
|
|
8
|
+
|
|
9
|
+
## 0.6.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 6a7f36be: Update wonder-stuff and wonder-blocks dependencies
|
|
14
|
+
|
|
15
|
+
## 0.6.5
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- c238d540: Wrap all ReactDOM.render() calls in `<RenderStateRoot>` to ensure it propagates properly
|
|
20
|
+
|
|
3
21
|
## 0.6.4
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/es/index.js
CHANGED
|
@@ -1530,7 +1530,7 @@ class MathWrapper {
|
|
|
1530
1530
|
|
|
1531
1531
|
var commandCharRegex = /^[a-z]$/;
|
|
1532
1532
|
var commandStartRegex = /^\\[a-z]$/;
|
|
1533
|
-
var commandEndSeq = "\\left("; // Note: We
|
|
1533
|
+
var commandEndSeq = "\\left("; // Note: We allowlist the set of valid commands, since relying solely on
|
|
1534
1534
|
// a command being prefixed with a backslash leads to undesired
|
|
1535
1535
|
// behavior. For example, Greek symbols, left parentheses, and square
|
|
1536
1536
|
// roots all get treated as commands.
|