@khanacademy/kas 0.3.1 → 0.3.2

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @khanacademy/kas
2
2
 
3
+ ## 0.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 55d4cd00: Print package name and version when loaded in the page
8
+ - Updated dependencies [55d4cd00]
9
+ - @khanacademy/perseus-core@1.1.1
10
+
3
11
  ## 0.3.1
4
12
 
5
13
  ### Patch Changes
package/dist/es/index.js CHANGED
@@ -1,5 +1,11 @@
1
+ import { addLibraryVersionToPerseusDebug } from '@khanacademy/perseus-core';
1
2
  import _ from 'underscore';
2
3
 
4
+ // This file is processed by a Rollup plugin (replace) to inject the production
5
+ const libName = "@khanacademy/kas";
6
+ const libVersion = "0.3.2";
7
+ addLibraryVersionToPerseusDebug(libName, libVersion);
8
+
3
9
  // this is a @generated file
4
10
 
5
11
  /* parser generated by jison 0.4.15 */
@@ -5823,10 +5829,10 @@ const compare = function compare(expr1, expr2, options) {
5823
5829
  };
5824
5830
 
5825
5831
  /* Options that could be added in the future:
5826
- * - Allow ratios: e.g. 3/1 and 3 should both be accepted for something
5827
- * like slope
5828
- * - Allow student to choose their own variable names
5829
- */
5832
+ * - Allow ratios: e.g. 3/1 and 3 should both be accepted for something
5833
+ * like slope
5834
+ * - Allow student to choose their own variable names
5835
+ */
5830
5836
 
5831
5837
  if (options !== undefined) {
5832
5838
  // eslint-disable-next-line no-undef
@@ -5883,5 +5889,5 @@ const compare = function compare(expr1, expr2, options) {
5883
5889
  };
5884
5890
  };
5885
5891
 
5886
- export { Abs, Add, Const, Eq, Float, Func, Int, Log, Mul, One, Pow, Rational, Trig, Unit, Var, Zero, compare, parse, unitParse };
5892
+ export { Abs, Add, Const, Eq, Float, Func, Int, Log, Mul, One, Pow, Rational, Trig, Unit, Var, Zero, compare, libVersion, parse, unitParse };
5887
5893
  //# sourceMappingURL=index.js.map