@khanacademy/perseus 59.0.0 → 59.0.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/dist/components/number-input.d.ts +0 -3
- package/dist/es/index.js +4 -5
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/util.d.ts +1 -2
- package/package.json +2 -2
package/dist/util.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as GraphieUtil from "./util.graphie";
|
|
2
|
-
import type { PerseusStrings } from "./strings";
|
|
3
2
|
import type { Range } from "@khanacademy/perseus-core";
|
|
4
3
|
import type * as React from "react";
|
|
5
4
|
type WordPosition = {
|
|
@@ -40,7 +39,7 @@ declare function inputPathsEqual(a?: ReadonlyArray<string> | null, b?: ReadonlyA
|
|
|
40
39
|
* Return the first valid interpretation of 'text' as a number, in the form
|
|
41
40
|
* {value: 2.3, exact: true}.
|
|
42
41
|
*/
|
|
43
|
-
declare function firstNumericalParse(text: string
|
|
42
|
+
declare function firstNumericalParse(text: string): ParsedValue | null | undefined;
|
|
44
43
|
declare function stringArrayOfSize(size: number): ReadonlyArray<string>;
|
|
45
44
|
/**
|
|
46
45
|
* For a graph's x or y dimension, given the tick step,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core Perseus API (includes renderers and widgets)",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "59.0.
|
|
6
|
+
"version": "59.0.1",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@khanacademy/math-input": "25.0.0",
|
|
47
47
|
"@khanacademy/perseus-core": "7.0.0",
|
|
48
48
|
"@khanacademy/perseus-linter": "3.0.0",
|
|
49
|
-
"@khanacademy/perseus-score": "4.0.
|
|
49
|
+
"@khanacademy/perseus-score": "4.0.1",
|
|
50
50
|
"@khanacademy/perseus-utils": "2.0.0",
|
|
51
51
|
"@khanacademy/pure-markdown": "2.0.0",
|
|
52
52
|
"@khanacademy/simple-markdown": "2.0.0"
|