@khanacademy/kas 0.4.1 → 0.4.3
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/es/index.js +2 -2
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/nodes.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
|
11
11
|
|
|
12
12
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
13
13
|
const libName = "@khanacademy/kas";
|
|
14
|
-
const libVersion = "0.4.
|
|
14
|
+
const libVersion = "0.4.3";
|
|
15
15
|
perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
16
16
|
|
|
17
17
|
// this is a @generated file
|
|
@@ -2764,7 +2764,7 @@ class Expr {
|
|
|
2764
2764
|
// @ts-expect-error: TypeScript doesn't want to unify
|
|
2765
2765
|
// `Function` with the `compile`'s return type.
|
|
2766
2766
|
return new Function("vars", "return " + code + ";");
|
|
2767
|
-
} catch
|
|
2767
|
+
} catch {
|
|
2768
2768
|
throw new Error("Function did not compile: " + code);
|
|
2769
2769
|
}
|
|
2770
2770
|
}
|