@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/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.4",
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.2.6",
25
+ "@khanacademy/wonder-blocks-clickable": "^2.4.4",
26
26
  "@khanacademy/wonder-blocks-color": "^1.1.20",
27
- "@khanacademy/wonder-blocks-core": "^4.3.0",
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.2.6",
44
+ "@khanacademy/wonder-blocks-clickable": "^2.4.4",
45
45
  "@khanacademy/wonder-blocks-color": "^1.1.20",
46
- "@khanacademy/wonder-blocks-core": "^4.3.0",
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 whitelist the set of valid commands, since relying solely on
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
@@ -5,4 +5,5 @@ import App from "./components/app.js";
5
5
 
6
6
  import "../less/main.less";
7
7
 
8
+ // eslint-disable-next-line no-restricted-syntax
8
9
  ReactDOM.render(<App />, document.getElementById("root"));
package/src/native-app.js CHANGED
@@ -81,4 +81,5 @@ class App extends React.Component {
81
81
  }
82
82
  }
83
83
 
84
+ // eslint-disable-next-line no-restricted-syntax
84
85
  ReactDOM.render(<App />, document.getElementById("root"));