@khanacademy/math-input 0.6.4 → 0.6.6
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 +12 -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 +6 -6
- package/src/components/input/math-wrapper.js +1 -1
- package/src/demo.js +1 -0
- package/src/native-app.js +1 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Khan Academy's new expression editor for the mobile web.",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "0.6.
|
|
6
|
+
"version": "0.6.6",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"performance-now": "^0.2.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@khanacademy/wonder-blocks-clickable": "^2.
|
|
25
|
+
"@khanacademy/wonder-blocks-clickable": "^2.4.4",
|
|
26
26
|
"@khanacademy/wonder-blocks-color": "^1.1.20",
|
|
27
|
-
"@khanacademy/wonder-blocks-core": "^4.
|
|
27
|
+
"@khanacademy/wonder-blocks-core": "^4.6.2",
|
|
28
28
|
"@khanacademy/wonder-blocks-i18n": "^1.2.3",
|
|
29
29
|
"aphrodite": "^1.1.0",
|
|
30
30
|
"jquery": "^2.1.1",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"redux": "^4.0.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@khanacademy/wonder-blocks-clickable": "^2.
|
|
44
|
+
"@khanacademy/wonder-blocks-clickable": "^2.4.4",
|
|
45
45
|
"@khanacademy/wonder-blocks-color": "^1.1.20",
|
|
46
|
-
"@khanacademy/wonder-blocks-core": "^4.
|
|
46
|
+
"@khanacademy/wonder-blocks-core": "^4.6.2",
|
|
47
47
|
"@khanacademy/wonder-blocks-i18n": "^1.2.3",
|
|
48
48
|
"aphrodite": "^1.1.0",
|
|
49
49
|
"jquery": "^2.1.1",
|
|
@@ -59,4 +59,4 @@
|
|
|
59
59
|
"redux": "^4.0.0"
|
|
60
60
|
},
|
|
61
61
|
"keywords": []
|
|
62
|
-
}
|
|
62
|
+
}
|
|
@@ -575,7 +575,7 @@ class MathWrapper {
|
|
|
575
575
|
const commandStartRegex = /^\\[a-z]$/;
|
|
576
576
|
const commandEndSeq = "\\left(";
|
|
577
577
|
|
|
578
|
-
// Note: We
|
|
578
|
+
// Note: We allowlist the set of valid commands, since relying solely on
|
|
579
579
|
// a command being prefixed with a backslash leads to undesired
|
|
580
580
|
// behavior. For example, Greek symbols, left parentheses, and square
|
|
581
581
|
// roots all get treated as commands.
|
package/src/demo.js
CHANGED