@khanacademy/perseus-score 7.7.10 → 8.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.
@@ -1,4 +1,4 @@
1
- import type { PerseusCategorizerUserInput, PerseusCategorizerValidationData, ValidationResult } from "@khanacademy/perseus-core";
1
+ import { type PerseusCategorizerUserInput, type PerseusCategorizerValidationData, type ValidationResult } from "@khanacademy/perseus-core";
2
2
  /**
3
3
  * Checks userInput from the categorizer widget to see if the user has selected
4
4
  * a category for each item.
@@ -1,4 +1,4 @@
1
- import type { PerseusFreeResponseUserInput, PerseusFreeResponseWidgetOptions, ValidationResult } from "@khanacademy/perseus-core";
1
+ import { type PerseusFreeResponseUserInput, type PerseusFreeResponseWidgetOptions, type ValidationResult } from "@khanacademy/perseus-core";
2
2
  /**
3
3
  * Checks user input from the free response widget to see if it is scorable.
4
4
  * Since the input is free text, we only check that it is not empty.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Perseus score",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "7.7.10",
6
+ "version": "8.0.1",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -23,8 +23,8 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "@khanacademy/kas": "2.1.2",
26
- "@khanacademy/kmath": "2.2.10",
27
- "@khanacademy/perseus-core": "19.5.0",
26
+ "@khanacademy/kmath": "2.2.12",
27
+ "@khanacademy/perseus-core": "20.1.0",
28
28
  "@khanacademy/perseus-utils": "2.1.0"
29
29
  },
30
30
  "devDependencies": {
@@ -1,16 +0,0 @@
1
- declare const ErrorCodes: {
2
- APPROXIMATED_PI_ERROR: string;
3
- CHOOSE_CORRECT_NUM_ERROR: string;
4
- EXTRA_SYMBOLS_ERROR: string;
5
- FILL_ALL_CELLS_ERROR: string;
6
- INVALID_SELECTION_ERROR: string;
7
- MISSING_PERCENT_ERROR: string;
8
- MULTIPLICATION_SIGN_ERROR: string;
9
- NEEDS_TO_BE_SIMPLIFIED_ERROR: string;
10
- NOT_NONE_ABOVE_ERROR: string;
11
- USER_INPUT_EMPTY: string;
12
- USER_INPUT_TOO_LONG: string;
13
- WRONG_CASE_ERROR: string;
14
- WRONG_LETTER_ERROR: string;
15
- };
16
- export default ErrorCodes;